comment stringlengths 1 211 β | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
'Sold out!' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
contract TipsyTiger is ERC721Enumerable, Ownable {
using Strings for uint256;
string public PROVENANCE = "";
string _ba... | supply+_mintNum<=presaleSupply,'Sold out!' | 347,314 | supply+_mintNum<=presaleSupply |
"own" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./IERC721.sol";
import "./Ownable.sol";
import "./Stats.sol";
import "./IRenderer.sol";
import "./IMGear.sol";
import "./IMineablePunks.sol";
import "./IMineableWords.sol";
contract MGear is ERC721Enumerable, Ow... | mineableWords.ownerOf(mineableWords.tokenByIndex(mwordIndex-1))==msg.sender,"own" | 347,364 | mineableWords.ownerOf(mineableWords.tokenByIndex(mwordIndex-1))==msg.sender |
"alr" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./IERC721.sol";
import "./Ownable.sol";
import "./Stats.sol";
import "./IRenderer.sol";
import "./IMGear.sol";
import "./IMineablePunks.sol";
import "./IMineableWords.sol";
contract MGear is ERC721Enumerable, Ow... | !inscribed[mwordIndex],"alr" | 347,364 | !inscribed[mwordIndex] |
"own" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./IERC721.sol";
import "./Ownable.sol";
import "./Stats.sol";
import "./IRenderer.sol";
import "./IMGear.sol";
import "./IMineablePunks.sol";
import "./IMineableWords.sol";
contract MGear is ERC721Enumerable, Ow... | mineablePunks.ownerOf(mpunk)==msg.sender,"own" | 347,364 | mineablePunks.ownerOf(mpunk)==msg.sender |
"alr" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./IERC721.sol";
import "./Ownable.sol";
import "./Stats.sol";
import "./IRenderer.sol";
import "./IMGear.sol";
import "./IMineablePunks.sol";
import "./IMineableWords.sol";
contract MGear is ERC721Enumerable, Ow... | !transmuted[mpunk],"alr" | 347,364 | !transmuted[mpunk] |
"Supply exceeded!" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | supply+_num<10001-_reserve,"Supply exceeded!" | 347,481 | supply+_num<10001-_reserve |
"address has not been added for a free mint" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | tama.getNFTGiveAwayForId(msg.sender),"address has not been added for a free mint" | 347,481 | tama.getNFTGiveAwayForId(msg.sender) |
"this address already claimed free mint" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | !mintedGiveaway[msg.sender],"this address already claimed free mint" | 347,481 | !mintedGiveaway[msg.sender] |
"LP allowance is less than nessecary" | pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "prb-math/contracts/PRBMathUD60x18.sol";
import "@... | pair.allowance(msg.sender,address(this))>=nessecaryLpAmount,"LP allowance is less than nessecary" | 347,515 | pair.allowance(msg.sender,address(this))>=nessecaryLpAmount |
"Already paid for" | pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "prb-math/contracts/PRBMathUD60x18.sol";
import "@... | walletToEscrow[msg.sender].pair==address(0),"Already paid for" | 347,515 | walletToEscrow[msg.sender].pair==address(0) |
"Escrow already fulfilled" | pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "prb-math/contracts/PRBMathUD60x18.sol";
import "@... | !escrowData.withdrawn,"Escrow already fulfilled" | 347,515 | !escrowData.withdrawn |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
/*
ββββ ββββββββββββββββββββ ββββββββ βββββββ
βββββ ... | totalSupply()+recipients.length<=MAX_SUPPLY,"Exceeds max supply" | 347,581 | totalSupply()+recipients.length<=MAX_SUPPLY |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
/*
ββββ ββββββββββββββββββββ ββββββββ βββββββ
βββββ ... | totalSupply()+tokenQuantity<=batchSupply&&totalSupply()+tokenQuantity<=MAX_SUPPLY,"Exceeds max supply" | 347,581 | totalSupply()+tokenQuantity<=batchSupply&&totalSupply()+tokenQuantity<=MAX_SUPPLY |
"No direct mint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
/*
ββββ ββββββββββββββββββββ ββββββββ βββββββ
βββββ ... | _matchSigner(hash,signature),"No direct mint" | 347,581 | _matchSigner(hash,signature) |
"Hash used" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
/*
ββββ ββββββββββββββββββββ ββββββββ βββββββ
βββββ ... | !_usedNonces[msg.sender][nonce],"Hash used" | 347,581 | !_usedNonces[msg.sender][nonce] |
"Hash fail" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
/*
ββββ ββββββββββββββββββββ ββββββββ βββββββ
βββββ ... | _hashTransaction(msg.sender,tokenQuantity,nonce)==hash,"Hash fail" | 347,581 | _hashTransaction(msg.sender,tokenQuantity,nonce)==hash |
null | pragma solidity 0.5.6;
contract Donut is ERC20, ERC20Detailed, ERC20Mintable, ERC20Pausable {
using SafeMath for uint256;
mapping (address => bool) _usedWithdrawalNonces;
event Deposit(
address from,
address depositId,
uint256 value);
event Withdraw(
address to,
uint256 v... | value.mod(1e18)==0 | 347,693 | value.mod(1e18)==0 |
null | pragma solidity 0.5.6;
contract Donut is ERC20, ERC20Detailed, ERC20Mintable, ERC20Pausable {
using SafeMath for uint256;
mapping (address => bool) _usedWithdrawalNonces;
event Deposit(
address from,
address depositId,
uint256 value);
event Withdraw(
address to,
uint256 v... | !_usedWithdrawalNonces[nonce] | 347,693 | !_usedWithdrawalNonces[nonce] |
null | pragma solidity 0.5.6;
contract Donut is ERC20, ERC20Detailed, ERC20Mintable, ERC20Pausable {
using SafeMath for uint256;
mapping (address => bool) _usedWithdrawalNonces;
event Deposit(
address from,
address depositId,
uint256 value);
event Withdraw(
address to,
uint256 v... | isMinter(signer) | 347,693 | isMinter(signer) |
"This node is already part of the trusted node DAO" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | rocketDAONode.getMemberIsValid(_nodeAddress)!=true,"This node is already part of the trusted node DAO" | 347,797 | rocketDAONode.getMemberIsValid(_nodeAddress)!=true |
"This node's invitation to join has expired, please apply again" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | memberInvitedTime.add(rocketDAONodeTrustedSettingsProposals.getActionTime())>block.timestamp,"This node's invitation to join has expired, please apply again" | 347,797 | memberInvitedTime.add(rocketDAONodeTrustedSettingsProposals.getActionTime())>block.timestamp |
"Not enough allowance given to RocketDAONodeTrusted contract for transfer of RPL bond tokens" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | rplInflationContract.allowance(_nodeAddress,address(this))>=rplBondAmount,"Not enough allowance given to RocketDAONodeTrusted contract for transfer of RPL bond tokens" | 347,797 | rplInflationContract.allowance(_nodeAddress,address(this))>=rplBondAmount |
"Token transfer to RocketDAONodeTrusted contract was not successful" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | rplInflationContract.transferFrom(_nodeAddress,address(this),rplBondAmount),"Token transfer to RocketDAONodeTrusted contract was not successful" | 347,797 | rplInflationContract.transferFrom(_nodeAddress,address(this),rplBondAmount) |
"Approval for RocketVault to spend RocketDAONodeTrusted RPL bond tokens was not successful" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | rplInflationContract.approve(rocketVaultAddress,rplBondAmount),"Approval for RocketVault to spend RocketDAONodeTrusted RPL bond tokens was not successful" | 347,797 | rplInflationContract.approve(rocketVaultAddress,rplBondAmount) |
"Member count will fall below min required" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | rocketDAONode.getMemberCount()>rocketDAONode.getMemberMinRequired(),"Member count will fall below min required" | 347,797 | rocketDAONode.getMemberCount()>rocketDAONode.getMemberMinRequired() |
"This member has not been approved to leave or request has expired, please apply to leave again" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | leaveAcceptedTime.add(rocketDAONodeTrustedSettingsProposals.getActionTime())>block.timestamp,"This member has not been approved to leave or request has expired, please apply to leave again" | 347,797 | leaveAcceptedTime.add(rocketDAONodeTrustedSettingsProposals.getActionTime())>block.timestamp |
"Member is already being challenged" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | !rocketDAONode.getMemberIsChallenged(_nodeAddress),"Member is already being challenged" | 347,797 | !rocketDAONode.getMemberIsChallenged(_nodeAddress) |
"You must wait for the challenge cooldown to pass before issuing another challenge" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | getUint(keccak256(abi.encodePacked(daoNameSpace,"node.challenge.created.time",msg.sender))).add(rocketDAONodeTrustedSettingsMembers.getChallengeCooldown())<block.timestamp,"You must wait for the challenge cooldown to pass before issuing another challenge" | 347,797 | getUint(keccak256(abi.encodePacked(daoNameSpace,"node.challenge.created.time",msg.sender))).add(rocketDAONodeTrustedSettingsMembers.getChallengeCooldown())<block.timestamp |
"Refute window has not yet passed" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | challengeTime.add(rocketDAONodeTrustedSettingsMembers.getChallengeWindow())<block.timestamp,"Refute window has not yet passed" | 347,797 | challengeTime.add(rocketDAONodeTrustedSettingsMembers.getChallengeWindow())<block.timestamp |
null | pragma solidity ^0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() public... | balances[_addressList[i]]==0 | 347,928 | balances[_addressList[i]]==0 |
"CollateralJoin1/failed-transfer" | /// AdvancedTokenAdapters.sol
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your... | collateral.transferFrom(msg.sender,address(this),wad),"CollateralJoin1/failed-transfer" | 347,937 | collateral.transferFrom(msg.sender,address(this),wad) |
"CollateralJoin1/failed-transfer" | /// AdvancedTokenAdapters.sol
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your... | collateral.transfer(usr,wad),"CollateralJoin1/failed-transfer" | 347,937 | collateral.transfer(usr,wad) |
null | /// @title The utility token used for paying fees in the Brickblock ecosystem
/** @dev Explanation of terms and patterns:
General:
* Units of account: All per-token balances are stored in wei (1e18), for the greatest possible accuracy
* ERC20 "balances":
* "balances" per default is not upda... | settleCurrentLockPeriod(msg.sender) | 348,105 | settleCurrentLockPeriod(msg.sender) |
null | /// @title The utility token used for paying fees in the Brickblock ecosystem
/** @dev Explanation of terms and patterns:
General:
* Units of account: All per-token balances are stored in wei (1e18), for the greatest possible accuracy
* ERC20 "balances":
* "balances" per default is not upda... | _bbk.transferFrom(msg.sender,this,_amount) | 348,105 | _bbk.transferFrom(msg.sender,this,_amount) |
null | /// @title The utility token used for paying fees in the Brickblock ecosystem
/** @dev Explanation of terms and patterns:
General:
* Units of account: All per-token balances are stored in wei (1e18), for the greatest possible accuracy
* ERC20 "balances":
* "balances" per default is not upda... | _bbk.transfer(msg.sender,_amount) | 348,105 | _bbk.transfer(msg.sender,_amount) |
"Message with offset is too long" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | offset+bytes(message).length<=MAX_LINE_LENGTH,"Message with offset is too long" | 348,123 | offset+bytes(message).length<=MAX_LINE_LENGTH |
"The color needs to be a valid HEX string like #012ABC" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | isValidColor(hexColor),"The color needs to be a valid HEX string like #012ABC" | 348,123 | isValidColor(hexColor) |
"The message contains an invalid character (&'\"#<>)" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | isValidMessage(message),"The message contains an invalid character (&'\"#<>)" | 348,123 | isValidMessage(message) |
"The supply has been exhausted." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | this.totalSupply()<MAX_TOKEN_COUNT,"The supply has been exhausted." | 348,123 | this.totalSupply()<MAX_TOKEN_COUNT |
"Not enough ETH!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | address(msg.sender).balance>TOKEN_COST,"Not enough ETH!" | 348,123 | address(msg.sender).balance>TOKEN_COST |
null | contract TokenRecipient {
function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public;
}
contract IERC20Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 totalSupply);
/// @param _owner The address from which the ... | !restrictedAddresses[_to] | 348,143 | !restrictedAddresses[_to] |
"Daily deposit limit reached! See you soon" | pragma solidity ^0.4.25;
contract Eth5iov_2 {
address public advertising;
address public admin;
address private owner;
uint constant public statusFreeEth = 10 finney;
uint constant public statusBasic = 50 finney;
uint constant public statusVIP = 5 ether;
uint constant public statusSV... | msg.value+dayDeposit<=dayDepositLimit,"Daily deposit limit reached! See you soon" | 348,153 | msg.value+dayDeposit<=dayDepositLimit |
"Wait at least 24 hours." | pragma solidity ^0.4.25;
contract Eth5iov_2 {
address public advertising;
address public admin;
address private owner;
uint constant public statusFreeEth = 10 finney;
uint constant public statusBasic = 50 finney;
uint constant public statusVIP = 5 ether;
uint constant public statusSV... | daysFrom(user.lastPaymentDate)>=1,"Wait at least 24 hours." | 348,153 | daysFrom(user.lastPaymentDate)>=1 |
"Failure to send Liquidity Tokens to User" | pragma solidity ^0.5.0;
// Interface for ETH_sETH_Addliquidity
interface UniSwap_Zap_Contract{
function LetsInvest() external payable;
}
// Objectives
// - ServiceProvider's users should be able to send ETH to the UniSwap_ZAP contracts and get the UniTokens and the residual ERC20 tokens
// - ServiceProvider ... | UniSwapsETHExchangeContractAddress.transfer(msg.sender,UserLiquidityTokens),"Failure to send Liquidity Tokens to User" | 348,177 | UniSwapsETHExchangeContractAddress.transfer(msg.sender,UserLiquidityTokens) |
"Failure to send residual sETH holdings" | pragma solidity ^0.5.0;
// Interface for ETH_sETH_Addliquidity
interface UniSwap_Zap_Contract{
function LetsInvest() external payable;
}
// Objectives
// - ServiceProvider's users should be able to send ETH to the UniSwap_ZAP contracts and get the UniTokens and the residual ERC20 tokens
// - ServiceProvider ... | sETH_TokenContractAddress.transfer(msg.sender,residualsETHHoldings),"Failure to send residual sETH holdings" | 348,177 | sETH_TokenContractAddress.transfer(msg.sender,residualsETHHoldings) |
"Failure to send ServiceChargeTokens" | pragma solidity ^0.5.0;
// Interface for ETH_sETH_Addliquidity
interface UniSwap_Zap_Contract{
function LetsInvest() external payable;
}
// Objectives
// - ServiceProvider's users should be able to send ETH to the UniSwap_ZAP contracts and get the UniTokens and the residual ERC20 tokens
// - ServiceProvider ... | UniSwapsETHExchangeContractAddress.transfer(ServiceProviderAddress,_amountInUnits),"Failure to send ServiceChargeTokens" | 348,177 | UniSwapsETHExchangeContractAddress.transfer(ServiceProviderAddress,_amountInUnits) |
"Whitelist: caller is not on the whitelist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
/*
___ _ _
| _ )_ _ _ _ _ _ _ _ | | | |
| _ \ || | ' \| ' \ || | |_| |_|
|___/\_,_|_||_|_||_\_, | (_) (_)
|__/
*
* MIT License
* ===========
*
* Copyright (c) 2020 BunnyFinance
*
* Permission is hereby granted, ... | _disable||_whitelist[msg.sender],"Whitelist: caller is not on the whitelist" | 348,190 | _disable||_whitelist[msg.sender] |
"RevokerRole: caller does not have the Revoker role" | pragma solidity 0.5.8;
contract RevokerRole is OwnerRole {
event RevokerAdded(address indexed addedRevoker, address indexed addedBy);
event RevokerRemoved(address indexed removedRevoker, address indexed removedBy);
Roles.Role private _revokers;
modifier onlyRevoker() {
require(<FILL_ME>)
... | isRevoker(msg.sender),"RevokerRole: caller does not have the Revoker role" | 348,204 | isRevoker(msg.sender) |
"failed to mint" | //HEXPLAY.sol
//
//
pragma solidity 0.6.4;
import "./SafeMath.sol";
import "./IERC20.sol";
import "./HEX.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead re... | mintFounderTokens(_maxSupply.mul(20).div(100)),"failed to mint" | 348,247 | mintFounderTokens(_maxSupply.mul(20).div(100)) |
"tokens cannot be unlocked yet" | //HEXPLAY.sol
//
//
pragma solidity 0.6.4;
import "./SafeMath.sol";
import "./IERC20.sol";
import "./HEX.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead re... | founderLockStartTimestamp.add(sixMonths.mul(daySeconds))<=now,"tokens cannot be unlocked yet" | 348,247 | founderLockStartTimestamp.add(sixMonths.mul(daySeconds))<=now |
null | //HEXPLAY.sol
//
//
pragma solidity 0.6.4;
import "./SafeMath.sol";
import "./IERC20.sol";
import "./HEX.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead re... | _token.transfer(_p1,share) | 348,247 | _token.transfer(_p1,share) |
null | //HEXPLAY.sol
//
//
pragma solidity 0.6.4;
import "./SafeMath.sol";
import "./IERC20.sol";
import "./HEX.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead re... | _token.transfer(_p2,share) | 348,247 | _token.transfer(_p2,share) |
null | //HEXPLAY.sol
//
//
pragma solidity 0.6.4;
import "./SafeMath.sol";
import "./IERC20.sol";
import "./HEX.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead re... | _token.transfer(_p3,share) | 348,247 | _token.transfer(_p3,share) |
null | //HEXPLAY.sol
//
//
pragma solidity 0.6.4;
import "./SafeMath.sol";
import "./IERC20.sol";
import "./HEX.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead re... | _token.transfer(_p4,share) | 348,247 | _token.transfer(_p4,share) |
'Settlement turns over' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/Reentranc... | _exists(tokenId)&&msg.sender==ownerOf(tokenId)&&attrIndex[tokenId].turns<5,'Settlement turns over' | 348,256 | _exists(tokenId)&&msg.sender==ownerOf(tokenId)&&attrIndex[tokenId].turns<5 |
"Settlement id is invalid" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/Reentranc... | !_exists(tokenId)&&tokenId>0&&tokenId<9901,"Settlement id is invalid" | 348,256 | !_exists(tokenId)&&tokenId>0&&tokenId<9901 |
"Settlement id is invalid" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/Reentranc... | !_exists(tokenId)&&tokenId>9900&&tokenId<10001,"Settlement id is invalid" | 348,256 | !_exists(tokenId)&&tokenId>9900&&tokenId<10001 |
"caller is not whitelisted" | //SPDX-License-Identifier: Unlicense
// Telegram: https://t.me/KenshinFloki
// Twiiter: https://twitter.com/KenShinFloki
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/access/O... | _isWhitelisted[_msgSender()],"caller is not whitelisted" | 348,289 | _isWhitelisted[_msgSender()] |
null | pragma solidity ^0.4.24;
contract Finnance_MM {
mapping (address => uint256) public balanceOf;
string public name = "Finnance_MM";
string public symbol = "FNM";
uint8 public decimals = 18;
uint256 public totalSupply = 560000 * (uint256(10) ** decimals);
event Transfer(address indexed from... | amount*uint256(10)**decimals<=balanceOf[msg.sender] | 348,362 | amount*uint256(10)**decimals<=balanceOf[msg.sender] |
'Already initiated' | pragma solidity 0.5.12;
pragma experimental ABIEncoderV2;
import "../Ownable.sol";
import "../MinterRole.sol";
import "../ERC1155.sol";
import "../WhitelistAdminRole.sol";
import "../ERC1155Metadata.sol";
import "../ERC1155MintBurn.sol";
import "../Strings.sol";
import "../ProxyRegistry.sol";
/**
* @title ERC1155Trada... | (bytes(name)).length==0,'Already initiated' | 348,369 | (bytes(name)).length==0 |
"Id already used" | pragma solidity 0.5.12;
pragma experimental ABIEncoderV2;
import "../Ownable.sol";
import "../MinterRole.sol";
import "../ERC1155.sol";
import "../WhitelistAdminRole.sol";
import "../ERC1155Metadata.sol";
import "../ERC1155MintBurn.sol";
import "../Strings.sol";
import "../ProxyRegistry.sol";
/**
* @title ERC1155Trada... | !_exists(_id),"Id already used" | 348,369 | !_exists(_id) |
"unsupported router" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./BaseSwap.sol";
import "../libraries/BytesLib.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.s... | uniRouters.contains(address(router)),"unsupported router" | 348,405 | uniRouters.contains(address(router)) |
"VGGENPASS: Can't mint more than 1" | // SPDX-License-Identifier: Unlicensed
// _ ________
// | | / / ____/
// | | / / / __
// | |/ / /_/ /
// |___/\____/
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/co... | amountPerWallets[msg.sender]+1<=1,"VGGENPASS: Can't mint more than 1" | 348,451 | amountPerWallets[msg.sender]+1<=1 |
"VGGENPASS: Suppy limit was hit" | // SPDX-License-Identifier: Unlicensed
// _ ________
// | | / / ____/
// | | / / / __
// | |/ / /_/ /
// |___/\____/
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/co... | supplies[uint8(id)]<supplyCaps[uint8(id)],"VGGENPASS: Suppy limit was hit" | 348,451 | supplies[uint8(id)]<supplyCaps[uint8(id)] |
"VGGENPASS: No vault" | // SPDX-License-Identifier: Unlicensed
// _ ________
// | | / / ____/
// | | / / / __
// | |/ / /_/ /
// |___/\____/
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/co... | address(VAULT)!=address(0),"VGGENPASS: No vault" | 348,451 | address(VAULT)!=address(0) |
"VGGENPASS: Withdraw failed" | // SPDX-License-Identifier: Unlicensed
// _ ________
// | | / / ____/
// | | / / / __
// | |/ / /_/ /
// |___/\____/
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/co... | payable(VAULT).send(_amount),"VGGENPASS: Withdraw failed" | 348,451 | payable(VAULT).send(_amount) |
null | // SPDX-License-Identifier: LicenseRef-Blockwell-Smart-License
pragma solidity ^0.6.10;
import "./_Pausable.sol";
import "./_Groups.sol";
/**
* @dev User groups for Prime Token.
*
* Blockwell Exclusive (Intellectual Property that lives on-chain via Smart License)
*/
contract TokenGroups is Pausable {
uint8 publ... | isAdmin(msg.sender)||isAttorney(msg.sender) | 348,495 | isAdmin(msg.sender)||isAttorney(msg.sender) |
null | // SPDX-License-Identifier: LicenseRef-Blockwell-Smart-License
pragma solidity ^0.6.10;
import "./_Pausable.sol";
import "./_Groups.sol";
/**
* @dev User groups for Prime Token.
*
* Blockwell Exclusive (Intellectual Property that lives on-chain via Smart License)
*/
contract TokenGroups is Pausable {
uint8 publ... | isBundler(msg.sender) | 348,495 | isBundler(msg.sender) |
null | // SPDX-License-Identifier: LicenseRef-Blockwell-Smart-License
pragma solidity ^0.6.10;
import "./_Pausable.sol";
import "./_Groups.sol";
/**
* @dev User groups for Prime Token.
*
* Blockwell Exclusive (Intellectual Property that lives on-chain via Smart License)
*/
contract TokenGroups is Pausable {
uint8 publ... | isSwapper(msg.sender) | 348,495 | isSwapper(msg.sender) |
null | // SPDX-License-Identifier: LicenseRef-Blockwell-Smart-License
pragma solidity ^0.6.10;
import "./_Pausable.sol";
import "./_Groups.sol";
/**
* @dev User groups for Prime Token.
*
* Blockwell Exclusive (Intellectual Property that lives on-chain via Smart License)
*/
contract TokenGroups is Pausable {
uint8 publ... | isBwAdmin(msg.sender) | 348,495 | isBwAdmin(msg.sender) |
null | pragma solidity ^0.4.19;
/**
* @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 (uint256) {
}
function sub(uint256 a, ... | _spender.call(bytes4(keccak256("receiveApproval(address,uint256,bytes)")),msg.sender,_value,_extraData) | 348,622 | _spender.call(bytes4(keccak256("receiveApproval(address,uint256,bytes)")),msg.sender,_value,_extraData) |
"ALREADY EXISTS" | pragma solidity 0.5.17;
contract MigrateLockup is LegacyLockup {
constructor(address _config) public LegacyLockup(_config) {}
function __initStakeOnProperty(
address _property,
address _user,
uint256 _cInterestPrice
) public onlyOwner {
require(<FILL_ME>)
setStorageLastStakedInterestPrice(_property... | getStorageLastStakedInterestPrice(_property,_user)!=_cInterestPrice,"ALREADY EXISTS" | 348,627 | getStorageLastStakedInterestPrice(_property,_user)!=_cInterestPrice |
"ALREADY EXISTS" | pragma solidity 0.5.17;
contract MigrateLockup is LegacyLockup {
constructor(address _config) public LegacyLockup(_config) {}
function __initStakeOnProperty(
address _property,
address _user,
uint256 _cInterestPrice
) public onlyOwner {
}
function __initLastStakeOnProperty(
address _property,
... | getStorageLastCumulativeHoldersRewardAmountPerProperty(_property)!=_cHoldersAmountPerProperty||getStorageLastCumulativeHoldersRewardPricePerProperty(_property)!=_cHoldersPrice,"ALREADY EXISTS" | 348,627 | getStorageLastCumulativeHoldersRewardAmountPerProperty(_property)!=_cHoldersAmountPerProperty||getStorageLastCumulativeHoldersRewardPricePerProperty(_property)!=_cHoldersPrice |
"ALREADY EXISTS" | pragma solidity 0.5.17;
contract MigrateLockup is LegacyLockup {
constructor(address _config) public LegacyLockup(_config) {}
function __initStakeOnProperty(
address _property,
address _user,
uint256 _cInterestPrice
) public onlyOwner {
}
function __initLastStakeOnProperty(
address _property,
... | getStorageLastStakesChangedCumulativeReward()!=_cReward||getStorageLastCumulativeHoldersRewardPrice()!=_cHoldersPrice||getStorageLastCumulativeInterestPrice()!=_cInterestPrice,"ALREADY EXISTS" | 348,627 | getStorageLastStakesChangedCumulativeReward()!=_cReward||getStorageLastCumulativeHoldersRewardPrice()!=_cHoldersPrice||getStorageLastCumulativeInterestPrice()!=_cInterestPrice |
null | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeS... | allowance(from,msg.sender)>=amount | 348,691 | allowance(from,msg.sender)>=amount |
null | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeS... | vaultAmount[msg.sender]>0 | 348,691 | vaultAmount[msg.sender]>0 |
null | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeS... | balances[address(this)]>=vaultAmount[msg.sender] | 348,691 | balances[address(this)]>=vaultAmount[msg.sender] |
null | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeS... | vaultAmount[to]>0 | 348,691 | vaultAmount[to]>0 |
null | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeS... | balances[address(this)]>=vaultAmount[to] | 348,691 | balances[address(this)]>=vaultAmount[to] |
"buy previous level first" | pragma solidity >=0.4.22 <0.6.0;
contract DonatePlan {
struct User {
uint id;
address referrer;
uint partnersCount;
mapping(uint8 => bool) activeLevels;
mapping(uint8 => Matrix) matrix;
}
struct Matrix {
address currentReferrer;
address[] re... | users[msg.sender].activeLevels[level-1],"buy previous level first" | 348,716 | users[msg.sender].activeLevels[level-1] |
"level already activated" | pragma solidity >=0.4.22 <0.6.0;
contract DonatePlan {
struct User {
uint id;
address referrer;
uint partnersCount;
mapping(uint8 => bool) activeLevels;
mapping(uint8 => Matrix) matrix;
}
struct Matrix {
address currentReferrer;
address[] re... | !users[msg.sender].activeLevels[level],"level already activated" | 348,716 | !users[msg.sender].activeLevels[level] |
"Redeem: insufficient amount of MintPasses" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol';... | mintPassContract.balanceOf(msg.sender,0)>=amount,"Redeem: insufficient amount of MintPasses" | 348,801 | mintPassContract.balanceOf(msg.sender,0)>=amount |
null | pragma solidity ^0.4.16;
library Math {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
}
function div(uint256 a, uint256 b) internal constant returns (uint256) {
}
function sub(uint256 a, uint256 b) internal constant returns (uint256) {
}
function add(uint256 a, uint256 b... | transferFrom(owner,employeeWallets[i],employeeTokenShare) | 348,806 | transferFrom(owner,employeeWallets[i],employeeTokenShare) |
null | pragma solidity ^0.4.16;
library Math {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
}
function div(uint256 a, uint256 b) internal constant returns (uint256) {
}
function sub(uint256 a, uint256 b) internal constant returns (uint256) {
}
function add(uint256 a, uint256 b... | transferFrom(owner,receiver,numTokens) | 348,806 | transferFrom(owner,receiver,numTokens) |
"Max supply exceeded!" | pragma solidity >=0.7.0 <0.9.0;
contract Zizis is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "";
string public uriSuffix = ".json";
string public hiddenMetadataUri;
uint256 public cost = 0.03 ether;
... | supply.current()+_mintAmount<=wlSupply,"Max supply exceeded!" | 348,863 | supply.current()+_mintAmount<=wlSupply |
"The contract is paused!" | pragma solidity >=0.7.0 <0.9.0;
contract Zizis is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "";
string public uriSuffix = ".json";
string public hiddenMetadataUri;
uint256 public cost = 0.03 ether;
... | !whitelistPaused,"The contract is paused!" | 348,863 | !whitelistPaused |
"The contract is paused!" | pragma solidity >=0.7.0 <0.9.0;
contract Zizis is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "";
string public uriSuffix = ".json";
string public hiddenMetadataUri;
uint256 public cost = 0.03 ether;
... | !artBlootPaused,"The contract is paused!" | 348,863 | !artBlootPaused |
"There is low token balance in contract" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
/**
* @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... | Token(tokenAddr).balanceOf(address(this))>=tokens,"There is low token balance in contract" | 348,872 | Token(tokenAddr).balanceOf(address(this))>=tokens |
"Transfer Failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
/**
* @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... | Token(tokenAddr).transfer(userAdd,tokens),"Transfer Failed" | 348,872 | Token(tokenAddr).transfer(userAdd,tokens) |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
/**
* @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... | Token(_tokenAddr).transfer(beneficiary,Token(_tokenAddr).balanceOf(address(this))) | 348,872 | Token(_tokenAddr).transfer(beneficiary,Token(_tokenAddr).balanceOf(address(this))) |
"Max limit exceeded" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract KillerKangarooz is ERC721, Ownable {
using Strings for uint256;
... | tokenCount+amount<=5000,"Max limit exceeded" | 348,873 | tokenCount+amount<=5000 |
"User has already minted" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract KillerKangarooz is ERC721, Ownable {
using Strings for uint256;
... | !hasMintedWhitelist[msg.sender],"User has already minted" | 348,873 | !hasMintedWhitelist[msg.sender] |
"Invalid proof" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract KillerKangarooz is ERC721, Ownable {
using Strings for uint256;
... | _verify(proof,whitelistMerkleRoot),"Invalid proof" | 348,873 | _verify(proof,whitelistMerkleRoot) |
"Max supply reached" | // SPDX-License-Identifier: MIT
// Creator: @jessefriedland
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
/**
* @dev Extension of ERC1155 that adds tracking of total and max supply per id.
*
* Useful for scenarios where Fungible and Non-fungible tokens have to be
* clearly iden... | totalMinted(id)+amount<=maxSupply(id),"Max supply reached" | 349,053 | totalMinted(id)+amount<=maxSupply(id) |
"Max supply reached" | // SPDX-License-Identifier: MIT
// Creator: @jessefriedland
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
/**
* @dev Extension of ERC1155 that adds tracking of total and max supply per id.
*
* Useful for scenarios where Fungible and Non-fungible tokens have to be
* clearly iden... | totalMinted(ids[i])+amounts[i]<=maxSupply(ids[i]),"Max supply reached" | 349,053 | totalMinted(ids[i])+amounts[i]<=maxSupply(ids[i]) |
"ERC1155: Cannot adjust the max supply" | // SPDX-License-Identifier: MIT
// Creator: @jessefriedland
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
/**
* @dev Extension of ERC1155 that adds tracking of total and max supply per id.
*
* Useful for scenarios where Fungible and Non-fungible tokens have to be
* clearly iden... | !exists(id)||!_supplyInfo[id].retired,"ERC1155: Cannot adjust the max supply" | 349,053 | !exists(id)||!_supplyInfo[id].retired |
"ERC1155: Cannot retire" | // SPDX-License-Identifier: MIT
// Creator: @jessefriedland
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
/**
* @dev Extension of ERC1155 that adds tracking of total and max supply per id.
*
* Useful for scenarios where Fungible and Non-fungible tokens have to be
* clearly iden... | _supplyInfo[id].maxSupply>0&&!_supplyInfo[id].retired,"ERC1155: Cannot retire" | 349,053 | _supplyInfo[id].maxSupply>0&&!_supplyInfo[id].retired |
null | pragma solidity ^0.4.21;
/* Functions from Kitten Coin main contract to be used by sale contract */
contract KittenCoin {
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
}
contract Token {
function balanceOf(addres... | participants[msg.sender]<dropNumber&&kittensRemainingToDrop>basicReward | 349,164 | participants[msg.sender]<dropNumber&&kittensRemainingToDrop>basicReward |
"OneSwapRouter: INSUFFICIENT_OUTPUT_AMOUNT" | pragma solidity 0.6.12;
contract OneSwapRouter is IOneSwapRouter {
using SafeMath256 for uint;
address public immutable override factory;
modifier ensure(uint deadline) {
}
constructor(address _factory) public {
}
function _addLiquidity(address pair, uint amountStockDesired, uint amo... | amounts[path.length]>=amountOutMin,"OneSwapRouter: INSUFFICIENT_OUTPUT_AMOUNT" | 349,198 | amounts[path.length]>=amountOutMin |
null | pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uin... | activeBalanceOf(_from)>=_value | 349,268 | activeBalanceOf(_from)>=_value |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.