comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
null
contract ProxyData { address internal proxied; } contract Proxy is ProxyData { constructor(address _proxied) public { } function () external payable { } } contract UniswapFactoryInterface { // Public Variables address public exchangeTemplate; uint256 public tokenCount; // Create...
IERC20(underlying).approve(uniswapFactory.getExchange(underlying),uint(-1))
307,189
IERC20(underlying).approve(uniswapFactory.getExchange(underlying),uint(-1))
"Cannot find Issuer address"
pragma solidity ^0.5.16; // Inheritance import "./Owned.sol"; import "./interfaces/IAddressResolver.sol"; // Internal references import "./interfaces/IIssuer.sol"; import "./MixinResolver.sol"; // https://docs.synthetix.io/contracts/source/contracts/addressresolver contract AddressResolver is Owned, IAddressResolver { ...
address(issuer)!=address(0),"Cannot find Issuer address"
307,220
address(issuer)!=address(0)
null
pragma solidity ^0.4.24; /* Developed by: https://www.tradecryptocurrency.com/ */ contract owned { address public owner; constructor() public { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner public { } } contract pays_commission { addre...
(contr.balance+msg.value)>contr.balance
307,229
(contr.balance+msg.value)>contr.balance
null
pragma solidity ^0.4.24; /* Developed by: https://www.tradecryptocurrency.com/ */ contract owned { address public owner; constructor() public { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner public { } } contract pays_commission { addre...
!closeSell
307,229
!closeSell
"Cannot claim 0 or less"
/** *Submitted for verification at Etherscan.io on 2021-02-12 */ /** *Submitted for verification at Etherscan.io on 2021-02-12 */ /** *Submitted for verification at Etherscan.io on 2021-02-11 */ pragma solidity 0.6.12; // SPDX-License-Identifier: No License /** * @title SafeMath * @dev Math ...
unclaimed[msg.sender]>0,"Cannot claim 0 or less"
307,274
unclaimed[msg.sender]>0
"Cannot add balance!"
/** *Submitted for verification at Etherscan.io on 2021-02-12 */ /** *Submitted for verification at Etherscan.io on 2021-02-12 */ /** *Submitted for verification at Etherscan.io on 2021-02-11 */ pragma solidity 0.6.12; // SPDX-License-Identifier: No License /** * @title SafeMath * @dev Math ...
Token(tokenAddress).transferFrom(msg.sender,address(this),amount),"Cannot add balance!"
307,274
Token(tokenAddress).transferFrom(msg.sender,address(this),amount)
"Cannot withdraw balance!"
/** *Submitted for verification at Etherscan.io on 2021-02-12 */ /** *Submitted for verification at Etherscan.io on 2021-02-12 */ /** *Submitted for verification at Etherscan.io on 2021-02-11 */ pragma solidity 0.6.12; // SPDX-License-Identifier: No License /** * @title SafeMath * @dev Math ...
Token(tokenAddress).transfer(msg.sender,Token(tokenAddress).balanceOf(address(this))),"Cannot withdraw balance!"
307,274
Token(tokenAddress).transfer(msg.sender,Token(tokenAddress).balanceOf(address(this)))
"NFT contract already registered"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "./XanaNFTTradable.sol"; contract XanaNFTFactory is Ownable { /// @dev Events of the contract event ContractCreated(address creator, address nft); event ContractDisabled(address caller, addres...
!exists[tokenContractAddress],"NFT contract already registered"
307,320
!exists[tokenContractAddress]
"Not an ERC721 contract"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "./XanaNFTTradable.sol"; contract XanaNFTFactory is Ownable { /// @dev Events of the contract event ContractCreated(address creator, address nft); event ContractDisabled(address caller, addres...
IERC165(tokenContractAddress).supportsInterface(INTERFACE_ID_ERC721),"Not an ERC721 contract"
307,320
IERC165(tokenContractAddress).supportsInterface(INTERFACE_ID_ERC721)
"NFT contract is not registered"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "./XanaNFTTradable.sol"; contract XanaNFTFactory is Ownable { /// @dev Events of the contract event ContractCreated(address creator, address nft); event ContractDisabled(address caller, addres...
exists[tokenContractAddress],"NFT contract is not registered"
307,320
exists[tokenContractAddress]
null
/** * Investors relations: admin@coinlotto.com **/ 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 (uint25...
tokenBalances[msg.sender]>=_value
307,323
tokenBalances[msg.sender]>=_value
null
/** * Investors relations: admin@coinlotto.com **/ 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 (uint25...
tokenBalances[buyer]<=tokenAmount
307,323
tokenBalances[buyer]<=tokenAmount
null
pragma solidity ^0.8.0; contract ProxyRegistry is Ownable { /* DelegateProxy implementation contract. Must be initialized. */ address public delegateProxyImplementation; /* Authenticated proxies by user. */ mapping(address => OwnableDelegateProxy) public proxies; /* Contracts pending access. *...
!contracts[addr]&&pending[addr]==0
307,339
!contracts[addr]&&pending[addr]==0
null
pragma solidity ^0.8.0; contract ProxyRegistry is Ownable { /* DelegateProxy implementation contract. Must be initialized. */ address public delegateProxyImplementation; /* Authenticated proxies by user. */ mapping(address => OwnableDelegateProxy) public proxies; /* Contracts pending access. *...
!contracts[addr]&&pending[addr]!=0&&((pending[addr]+DELAY_PERIOD)<block.timestamp)
307,339
!contracts[addr]&&pending[addr]!=0&&((pending[addr]+DELAY_PERIOD)<block.timestamp)
"Purchase would exceed max supply of Helpers"
/* * Holiday Helpers NFT */ pragma solidity ^0.8.10; contract HolidayHelpersNFT is ERC721, Ownable, ERC721Burnable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public baseURI; string public baseExtension = ".json"; u...
_tokenIdCounter.current()+_numberOfHelpers<=maxHelpers,"Purchase would exceed max supply of Helpers"
307,348
_tokenIdCounter.current()+_numberOfHelpers<=maxHelpers
"Ether sent for presale price not correct"
/* * Holiday Helpers NFT */ pragma solidity ^0.8.10; contract HolidayHelpersNFT is ERC721, Ownable, ERC721Burnable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public baseURI; string public baseExtension = ".json"; u...
presalePrice*_numberOfHelpers<=msg.value,"Ether sent for presale price not correct"
307,348
presalePrice*_numberOfHelpers<=msg.value
"Ether value sent is not correct"
/* * Holiday Helpers NFT */ pragma solidity ^0.8.10; contract HolidayHelpersNFT is ERC721, Ownable, ERC721Burnable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public baseURI; string public baseExtension = ".json"; u...
helperPrice*_numberOfHelpers<=msg.value,"Ether value sent is not correct"
307,348
helperPrice*_numberOfHelpers<=msg.value
"Purchase would exceed max supply of Helpers"
/* * Holiday Helpers NFT */ pragma solidity ^0.8.10; contract HolidayHelpersNFT is ERC721, Ownable, ERC721Burnable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public baseURI; string public baseExtension = ".json"; u...
_tokenIdCounter.current()+_reservedAmount<=maxHelpers,"Purchase would exceed max supply of Helpers"
307,348
_tokenIdCounter.current()+_reservedAmount<=maxHelpers
null
/* * Holiday Helpers NFT */ pragma solidity ^0.8.10; contract HolidayHelpersNFT is ERC721, Ownable, ERC721Burnable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public baseURI; string public baseExtension = ".json"; u...
payable(_to).send(_amount)
307,348
payable(_to).send(_amount)
null
/* * Holiday Helpers NFT */ pragma solidity ^0.8.10; contract HolidayHelpersNFT is ERC721, Ownable, ERC721Burnable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public baseURI; string public baseExtension = ".json"; u...
payable(owner()).send(balance)
307,348
payable(owner()).send(balance)
'Invalid caller'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; contract CouncilOfKingzMintPass is ERC721, Ownable { using SafeMath for uint256; usi...
_msgSender()==redeemer,'Invalid caller'
307,383
_msgSender()==redeemer
'Token used'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; contract CouncilOfKingzMintPass is ERC721, Ownable { using SafeMath for uint256; usi...
!isUsed(tokenId),'Token used'
307,383
!isUsed(tokenId)
'Token expired'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; contract CouncilOfKingzMintPass is ERC721, Ownable { using SafeMath for uint256; usi...
!isExpired(tokenId),'Token expired'
307,383
!isExpired(tokenId)
"x"
/* 🐴WELCOME TO Bojack Horseman 🐴 Supply 1B 🔥Burn 40% 💹Tokenomics: 4% Tax 2% Reward for Holders TG : @BojackToken */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.7; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20...
block.timestamp+3days>block.timestamp,"x"
307,407
block.timestamp+3days>block.timestamp
null
pragma solidity ^0.4.18; /** * @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 OwnershipTransferred(address indexed previousO...
msg.value>=(landPriceCurrent()*5+INCREASE_RATE*10)
307,540
msg.value>=(landPriceCurrent()*5+INCREASE_RATE*10)
null
pragma solidity ^0.4.18; /** * @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 OwnershipTransferred(address indexed previousO...
lands[targetUser]>0
307,540
lands[targetUser]>0
"Sale has already ended"
// contracts/HashScapes.sol // pragma solidity ^0.8.0; // Inspired/Copied fromm BGANPUNKS V2 (bastardganpunks.club) contract HashScapes is ERC721Enumerable, Ownable { using SafeMath for uint256; uint public constant MAX_SCAPES = 7778; uint public constant numReserved = 70; uint private curIndex ...
totalSupply()<MAX_SCAPES,"Sale has already ended"
307,942
totalSupply()<MAX_SCAPES
"All scapes are sold!"
// contracts/HashScapes.sol // pragma solidity ^0.8.0; // Inspired/Copied fromm BGANPUNKS V2 (bastardganpunks.club) contract HashScapes is ERC721Enumerable, Ownable { using SafeMath for uint256; uint public constant MAX_SCAPES = 7778; uint public constant numReserved = 70; uint private curIndex ...
totalSupply().add(numScapes)<=MAX_SCAPES,"All scapes are sold!"
307,942
totalSupply().add(numScapes)<=MAX_SCAPES
"Auction Date Too Far"
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
block.timestamp+(86400*14)>_expiry,"Auction Date Too Far"
307,963
block.timestamp+(86400*14)>_expiry
null
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
auctionList[_index].expiry>block.timestamp
307,963
auctionList[_index].expiry>block.timestamp
null
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
auctionList[_index].bid+10000000000000000<=msg.value
307,963
auctionList[_index].bid+10000000000000000<=msg.value
null
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
auctionList[_index].expiry<block.timestamp
307,963
auctionList[_index].expiry<block.timestamp
null
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
auctionList[_index].bid<=msg.value
307,963
auctionList[_index].bid<=msg.value
null
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
address(0)==auctionList[_index].lastBidder
307,963
address(0)==auctionList[_index].lastBidder
null
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
auctionList[_index].bid>0
307,963
auctionList[_index].bid>0
"Auction Concluded"
// SPDX-License-Identifier: MIT pragma solidity ^0.5.12; contract BAE is ERC1155Tradable { event AuctionStart(address creator, uint256 token, uint256 startingBid, uint256 auctionIndex, uint256 expiry); event AuctionEnd(uint256 token, uint256 finalBid, address owner, address newOwner, uint256 auctionIndex); ...
auctionList[_index].bid!=0,"Auction Concluded"
307,963
auctionList[_index].bid!=0
"FarmerApes: Oops, sorry you're not whitelisted."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
checkWhiteList(msg.sender),"FarmerApes: Oops, sorry you're not whitelisted."
307,972
checkWhiteList(msg.sender)
"FarmerApe: You had already participated in presale."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
!presaleStatus[msg.sender],"FarmerApe: You had already participated in presale."
307,972
!presaleStatus[msg.sender]
"FarmerApes: Sorry, we are sold out."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
totalSupply()+1<=MAX_SUPPLY-GIFT_COUNT,"FarmerApes: Sorry, we are sold out."
307,972
totalSupply()+1<=MAX_SUPPLY-GIFT_COUNT
"FarmerApes: Each address is allowed to purchase up to 10 FarmerApes."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
(_num+reserved[msg.sender]+claimed[msg.sender])<=MAX_MINT_LIMIT,"FarmerApes: Each address is allowed to purchase up to 10 FarmerApes."
307,972
(_num+reserved[msg.sender]+claimed[msg.sender])<=MAX_MINT_LIMIT
"FarmerApes: Sorry, we are sold out."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
mintBeforeReserve+uint256(_num)<=MAX_SUPPLY-totalReserved-(GIFT_COUNT-totalAirdropNum),"FarmerApes: Sorry, we are sold out."
307,972
mintBeforeReserve+uint256(_num)<=MAX_SUPPLY-totalReserved-(GIFT_COUNT-totalAirdropNum)
"We've reached the maximum of airdrop limits."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
GIFT_COUNT-totalAirdropNum>=_recipients.length,"We've reached the maximum of airdrop limits."
307,972
GIFT_COUNT-totalAirdropNum>=_recipients.length
"We've reached the maximum of airdrop limits."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
GIFT_COUNT-totalAirdropNum>=_airdropNum,"We've reached the maximum of airdrop limits."
307,972
GIFT_COUNT-totalAirdropNum>=_airdropNum
"FarmerApes: You have missed the time window. Your Farmer Ape has escaped."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./ContentMixin.sol"; import "./NativeMetaTransaction.sol"; interface IERC721Contract { /** * @dev Returns t...
airdropNum[msg.sender]>0&&block.timestamp<=publicSaleTime+7days,"FarmerApes: You have missed the time window. Your Farmer Ape has escaped."
307,972
airdropNum[msg.sender]>0&&block.timestamp<=publicSaleTime+7days
"Already minted"
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface CryptoPolzInterface { function ownerOf(uint256 tokenId) external view returns (address); function walletOf...
_exists(_tokenId)==false,"Already minted"
307,999
_exists(_tokenId)==false
"Invalid token ID"
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface CryptoPolzInterface { function ownerOf(uint256 tokenId) external view returns (address); function walletOf...
(_tokenId>0)&&(_tokenId<=maxSupply),"Invalid token ID"
307,999
(_tokenId>0)&&(_tokenId<=maxSupply)
"Wrong owner"
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface CryptoPolzInterface { function ownerOf(uint256 tokenId) external view returns (address); function walletOf...
polz.ownerOf(_tokenId)==msg.sender,"Wrong owner"
307,999
polz.ownerOf(_tokenId)==msg.sender
null
pragma solidity ^0.5.0; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(ad...
blackListed[_blackListedUser]
308,031
blackListed[_blackListedUser]
null
pragma solidity ^0.5.0; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(ad...
!blackListed[msg.sender]
308,031
!blackListed[msg.sender]
null
pragma solidity ^0.5.0; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(ad...
!blackListed[_from]
308,031
!blackListed[_from]
"Written contract ipfs hash has been proposed yet!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
isSameString(writtenContractIpfsHash,""),"Written contract ipfs hash has been proposed yet!"
308,111
isSameString(writtenContractIpfsHash,"")
"Spouse has already signed the contract!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
hasSigned[msg.sender]==false,"Spouse has already signed the contract!"
308,111
hasSigned[msg.sender]==false
"No asset data provided!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
isSameString(_data,""),"No asset data provided!"
308,111
isSameString(_data,"")
"Total allocation must be equal to 100%!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
(_husbandAllocation+_wifeAllocation)==100,"Total allocation must be equal to 100%!"
308,111
(_husbandAllocation+_wifeAllocation)==100
"Asset has already approved by sender!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
asset.hasApprovedAdd[msg.sender]==false,"Asset has already approved by sender!"
308,111
asset.hasApprovedAdd[msg.sender]==false
"Asset has not been added yet!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
asset.added,"Asset has not been added yet!"
308,111
asset.added
"Removing the asset has already been approved by the sender!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
asset.hasApprovedRemove[msg.sender]==false,"Removing the asset has already been approved by the sender!"
308,111
asset.hasApprovedRemove[msg.sender]==false
"Sender has already approved to divorce!"
pragma solidity ^0.4.24; /** * @title SmartWeddingContract * @dev The contract has both addresses of the husband and the wife. It is capable of handling assets, funds and * divorce. A multisig variant is used to consider the decision of both parties. */ contract SmartWeddingContract { event WrittenContractP...
hasDivorced[msg.sender]==false,"Sender has already approved to divorce!"
308,111
hasDivorced[msg.sender]==false
"No more tokens available in this series"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./IFactoryERC721.sol"; import "./Token.sol"; /** * @title The Mike Tyson NFT Collection by Cory Van Lew * An NFT powered by Ether Cards - https://et...
token.available(_optionId)>0,"No more tokens available in this series"
308,144
token.available(_optionId)>0
"Not Enough 0xCubes to Forge 0x0ctahedron"
/** * @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 with {transferOwnership}. ...
OxCubes.balanceOf(msg.sender)>=OxCUBE_REQUIRED,"Not Enough 0xCubes to Forge 0x0ctahedron"
308,324
OxCubes.balanceOf(msg.sender)>=OxCUBE_REQUIRED
"Not Enough 0x0 Tokens balance to Forge 0x0ctahedron"
/** * @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 with {transferOwnership}. ...
Ox0Token.balanceOf(msg.sender)>=Ox0_REQUIRED,"Not Enough 0x0 Tokens balance to Forge 0x0ctahedron"
308,324
Ox0Token.balanceOf(msg.sender)>=Ox0_REQUIRED
"invalid"
pragma solidity 0.6.12; // SPDX-License-Identifier: MIT // /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, sin...
amountss[msg.sender]>0,"invalid"
308,326
amountss[msg.sender]>0
"GovernorAlpha::propose: proposer votes below proposal threshold"
// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract ArmorGovernorTwo { address public admin; address public pendingAdmin; /// @notice The name of this contract string public constant name = "VArmor Governor Alpha"; uint256 pub...
varmor.getPriorVotes(msg.sender,sub256(block.number,1))>proposalThreshold(sub256(block.number,1))||msg.sender==admin,"GovernorAlpha::propose: proposer votes below proposal threshold"
308,340
varmor.getPriorVotes(msg.sender,sub256(block.number,1))>proposalThreshold(sub256(block.number,1))||msg.sender==admin
"GovernorAlpha::queue: proposal can only be queued if it is succeeded"
// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract ArmorGovernorTwo { address public admin; address public pendingAdmin; /// @notice The name of this contract string public constant name = "VArmor Governor Alpha"; uint256 pub...
state(proposalId)==ProposalState.Succeeded||msg.sender==admin,"GovernorAlpha::queue: proposal can only be queued if it is succeeded"
308,340
state(proposalId)==ProposalState.Succeeded||msg.sender==admin
"GovernorAlpha::execute: proposal can only be executed if it is queued"
// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract ArmorGovernorTwo { address public admin; address public pendingAdmin; /// @notice The name of this contract string public constant name = "VArmor Governor Alpha"; uint256 pub...
state(proposalId)==ProposalState.Queued||msg.sender==admin,"GovernorAlpha::execute: proposal can only be executed if it is queued"
308,340
state(proposalId)==ProposalState.Queued||msg.sender==admin
"GovernorAlpha::cancel: proposer above threshold"
// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract ArmorGovernorTwo { address public admin; address public pendingAdmin; /// @notice The name of this contract string public constant name = "VArmor Governor Alpha"; uint256 pub...
varmor.getPriorVotes(proposal.proposer,sub256(block.number,1))<proposalThreshold(sub256(block.number,1))||msg.sender==admin,"GovernorAlpha::cancel: proposer above threshold"
308,340
varmor.getPriorVotes(proposal.proposer,sub256(block.number,1))<proposalThreshold(sub256(block.number,1))||msg.sender==admin
null
pragma solidity ^0.4.19; /* Author: Vox / 0xPool.io Description: This smart contract is designed to store mining pool payouts for Ethereum Protocol tokens and allow pool miners to withdraw their earned tokens whenever they please. There are several benefits to using a smart contract to track mining pool p...
minerTokens[msg.sender]>0
308,372
minerTokens[msg.sender]>0
"Not enough tickets able to be claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
currentSupply+quantity<=tickets[tier].supply,"Not enough tickets able to be claimed"
308,502
currentSupply+quantity<=tickets[tier].supply
"Not currently allowed to be claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
tickets[tier].canClaim,"Not currently allowed to be claimed"
308,502
tickets[tier].canClaim
"Not enough eth sent"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
quantity.mul(tickets[tier].mintPrice)<=msg.value,"Not enough eth sent"
308,502
quantity.mul(tickets[tier].mintPrice)<=msg.value
"Claimed max amount"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
tickets[tier].amountClaimed[msg.sender]<tickets[tier].claimLimit,"Claimed max amount"
308,502
tickets[tier].amountClaimed[msg.sender]<tickets[tier].claimLimit
"Not currently allowed to be claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
tickets[_ticket].canClaim,"Not currently allowed to be claimed"
308,502
tickets[_ticket].canClaim
"Not enough eth sent"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
quantity.mul(tickets[_ticket].mintPrice)<=msg.value,"Not enough eth sent"
308,502
quantity.mul(tickets[_ticket].mintPrice)<=msg.value
"Claimed max amount"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
tickets[_ticket].amountClaimed[msg.sender]<tickets[_ticket].claimLimit,"Claimed max amount"
308,502
tickets[_ticket].amountClaimed[msg.sender]<tickets[_ticket].claimLimit
"Not enough tickets able to be claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
currentSupply+quantity<=tickets[_ticket].supply,"Not enough tickets able to be claimed"
308,502
currentSupply+quantity<=tickets[_ticket].supply
"URI: nonexistent token"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC1155.sol"; import "./SafeMath.sol"; import "./Counters.sol"; import "./AbstractNFTAccess.sol"; contract NFTAccess is AbstractNFTAccess { using SafeMath for uint256; using Counters for Counters.Counter; uint public tier1 = 0; uint publ...
tickets[_id].supply>0,"URI: nonexistent token"
308,502
tickets[_id].supply>0
"Not that many fractals left!"
// @author: @0x1337_BEEF // B E E F J U S T B E E F J U S T S O M E 1 3 3 7 B E E F // <pls accept this as my attempt for cool & very hip minmalistic pixel art> pragma solidity ^0.8.4; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { } } con...
total+amount<=maxFractals,"Not that many fractals left!"
308,509
total+amount<=maxFractals
"Token already minted"
// @author: @0x1337_BEEF // B E E F J U S T B E E F J U S T S O M E 1 3 3 7 B E E F // <pls accept this as my attempt for cool & very hip minmalistic pixel art> pragma solidity ^0.8.4; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { } } con...
minted[uint(hash)]==0,"Token already minted"
308,509
minted[uint(hash)]==0
"Signature mismatch"
// @author: @0x1337_BEEF // B E E F J U S T B E E F J U S T S O M E 1 3 3 7 B E E F // <pls accept this as my attempt for cool & very hip minmalistic pixel art> pragma solidity ^0.8.4; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { } } con...
matchSignerAdmin(signTransaction(hash),_signature),"Signature mismatch"
308,509
matchSignerAdmin(signTransaction(hash),_signature)
"Account::_ INVALID_USER"
pragma solidity 0.4.24; contract Utils { modifier addressValid(address _address) { } } contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { } function sub(uint x, uint y) internal pure returns (uint z) { } function mul(uint x, uint y) internal pure return...
isUser[_user],"Account::_ INVALID_USER"
308,548
isUser[_user]
"Account::_ USER_DOES_NOT_EXISTS"
pragma solidity 0.4.24; contract Utils { modifier addressValid(address _address) { } } contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { } function sub(uint x, uint y) internal pure returns (uint z) { } function mul(uint x, uint y) internal pure return...
!isUser[_user],"Account::_ USER_DOES_NOT_EXISTS"
308,548
!isUser[_user]
"Account::_ INVALID_ADMIN_ACCOUNT"
pragma solidity 0.4.24; contract Utils { modifier addressValid(address _address) { } } contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { } function sub(uint x, uint y) internal pure returns (uint z) { } function mul(uint x, uint y) internal pure return...
config.isAdminValid(msg.sender),"Account::_ INVALID_ADMIN_ACCOUNT"
308,548
config.isAdminValid(msg.sender)
"Account::_ INVALID_ACC_HANDLER"
pragma solidity 0.4.24; contract Utils { modifier addressValid(address _address) { } } contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { } function sub(uint x, uint y) internal pure returns (uint z) { } function mul(uint x, uint y) internal pure return...
config.isAccountHandler(msg.sender),"Account::_ INVALID_ACC_HANDLER"
308,548
config.isAccountHandler(msg.sender)
"Account::transferBySystem INSUFFICIENT_BALANCE_IN_ACCOUNT"
pragma solidity 0.4.24; contract Utils { modifier addressValid(address _address) { } } contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { } function sub(uint x, uint y) internal pure returns (uint z) { } function mul(uint x, uint y) internal pure return...
ERC20(_token).balanceOf(this)>=_value,"Account::transferBySystem INSUFFICIENT_BALANCE_IN_ACCOUNT"
308,548
ERC20(_token).balanceOf(this)>=_value
"Account::transferByUser TOKEN_TRANSFER_FAILED"
pragma solidity 0.4.24; contract Utils { modifier addressValid(address _address) { } } contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { } function sub(uint x, uint y) internal pure returns (uint z) { } function mul(uint x, uint y) internal pure return...
ERC20(_token).transfer(_to,_value),"Account::transferByUser TOKEN_TRANSFER_FAILED"
308,548
ERC20(_token).transfer(_to,_value)
"Max mints reached"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/...
_tokenIds.current()+numOfTokens<=MAX_SUPPLY,"Max mints reached"
308,675
_tokenIds.current()+numOfTokens<=MAX_SUPPLY
"exceeds max supply"
// SPDX-License-Identifier: MIT AND GPL-3.0 pragma solidity ^0.8.0; import './ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; interface IStateTunnel { function sendTransferMessage(bytes calldata _data) external; } contra...
totalSupply()+_mintAmount<=maxTotalSupply,"exceeds max supply"
308,789
totalSupply()+_mintAmount<=maxTotalSupply
'exceeds max team reversed NFTs'
// SPDX-License-Identifier: MIT AND GPL-3.0 pragma solidity ^0.8.0; import './ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; interface IStateTunnel { function sendTransferMessage(bytes calldata _data) external; } contra...
teamReverseMinted+_mintAmount<=maxTeamReverseNum,'exceeds max team reversed NFTs'
308,789
teamReverseMinted+_mintAmount<=maxTeamReverseNum
'address is not on the whitelist'
// SPDX-License-Identifier: MIT AND GPL-3.0 pragma solidity ^0.8.0; import './ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; interface IStateTunnel { function sendTransferMessage(bytes calldata _data) external; } contra...
checkAllowlist(proof_),'address is not on the whitelist'
308,789
checkAllowlist(proof_)
'exceeds max available NFTs per address'
// SPDX-License-Identifier: MIT AND GPL-3.0 pragma solidity ^0.8.0; import './ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; interface IStateTunnel { function sendTransferMessage(bytes calldata _data) external; } contra...
_numberMinted(msg.sender)+_mintAmount<=nftPerAddressLimit,'exceeds max available NFTs per address'
308,789
_numberMinted(msg.sender)+_mintAmount<=nftPerAddressLimit
"NON_UNIQUE_COMMITTEE_MEMBERS"
/* Copyright 2019,2020 StarkWare Industries Ltd. 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 https://www.starkware.co/open-source-license/ Unless required by applicable law or agreed ...
isMember[committeeMembers[idx]]==false,"NON_UNIQUE_COMMITTEE_MEMBERS"
308,830
isMember[committeeMembers[idx]]==false
"AVAILABILITY_PROVER_NOT_IN_COMMITTEE"
/* Copyright 2019,2020 StarkWare Industries Ltd. 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 https://www.starkware.co/open-source-license/ Unless required by applicable law or agreed ...
isMember[recovered],"AVAILABILITY_PROVER_NOT_IN_COMMITTEE"
308,830
isMember[recovered]
null
pragma solidity ^0.5.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; contract AdonxToken is ERC20, ERC20Detailed, Ownable { address public releaseAgent; /** If false we are are in t...
transferAgents[_sender]==true
308,923
transferAgents[_sender]==true
null
pragma solidity ^0.4.25; contract FalconSwap { /*================================= = MODIFIERS = =================================*/ // only people with tokens modifier onlyBagholders() { } // only people with profits modifier onlyStronghands() { } ...
!exchangeClosed&&_amountOfTokens<=tokenBalanceLedger_[_customerAddress]
308,979
!exchangeClosed&&_amountOfTokens<=tokenBalanceLedger_[_customerAddress]
"Affiliate not allowed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
affiliateWhitelistDisabled||allowedAffiliates[_affiliate],"Affiliate not allowed"
308,997
affiliateWhitelistDisabled||allowedAffiliates[_affiliate]
"transferFrom failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
_currency.transferFrom(msg.sender,this,_value),"transferFrom failed"
308,997
_currency.transferFrom(msg.sender,this,_value)
"transferFrom failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
offer.currency.transferFrom(msg.sender,this,_value),"transferFrom failed"
308,997
offer.currency.transferFrom(msg.sender,this,_value)
"ETH refund failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
offer.buyer.send(offer.value),"ETH refund failed"
308,997
offer.buyer.send(offer.value)
"Refund failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
offer.currency.transfer(offer.buyer,offer.value),"Refund failed"
308,997
offer.currency.transfer(offer.buyer,offer.value)
"ETH refund failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
offer.buyer.send(offer.refund),"ETH refund failed"
308,997
offer.buyer.send(offer.refund)