comment stringlengths 1 211 β | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Buyer not whitelisted for presale" | pragma solidity ^0.8.4;
contract BD is ERC721Enumerable, Ownable {
uint256 public tokenPricePresale = 0.06 ether;
uint256 public tokenPricePublicSale = 0.08 ether;
uint256 public constant giftUniquesStart = 0;
uint256 public giftUniquesMinted = 0;
uint256 public constant giftUniquesTotal = 17;... | hasPublicSaleStarted||presaleWhitelist[msg.sender],"Buyer not whitelisted for presale" | 383,319 | hasPublicSaleStarted||presaleWhitelist[msg.sender] |
"No tokens left for minting" | pragma solidity ^0.8.4;
contract BD is ERC721Enumerable, Ownable {
uint256 public tokenPricePresale = 0.06 ether;
uint256 public tokenPricePublicSale = 0.08 ether;
uint256 public constant giftUniquesStart = 0;
uint256 public giftUniquesMinted = 0;
uint256 public constant giftUniquesTotal = 17;... | forPurchaseMinted+amount<=forPurchaseTotal,"No tokens left for minting" | 383,319 | forPurchaseMinted+amount<=forPurchaseTotal |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "./VaccineSelling.sol";
import "@openzeppelin/contracts@4.3.2/token/ERC721/IERC721.sol";
abstract contract VaccineApply is VaccineSelling {
uint8[] _vaccinesStrength = [0, 25, 50, 100];
uint8[] _vaccinesProbability = [0, 25, 50, 100];
event Vacc... | pork1984.ownerOf(porkId)==msg.sender | 383,494 | pork1984.ownerOf(porkId)==msg.sender |
"This pork has already become a mutant" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "./VaccineSelling.sol";
import "@openzeppelin/contracts@4.3.2/token/ERC721/IERC721.sol";
abstract contract VaccineApply is VaccineSelling {
uint8[] _vaccinesStrength = [0, 25, 50, 100];
uint8[] _vaccinesProbability = [0, 25, 50, 100];
event Vacc... | !isFullyVaccinated(porkId),"This pork has already become a mutant" | 383,494 | !isFullyVaccinated(porkId) |
"over allocation" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { ReentrancyGuard } from ... | deposits[msg.sender]<=allocation,"over allocation" | 383,502 | deposits[msg.sender]<=allocation |
"NOT_ALLOWED_TO_MINT_MORE_THAN_2" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract WabiSabi is Ownable, ERC721A, ReentrancyGua... | mintedWSforPresaleA[msg.sender]+numberOfTokens<=maxMintPerAccount,"NOT_ALLOWED_TO_MINT_MORE_THAN_2" | 383,529 | mintedWSforPresaleA[msg.sender]+numberOfTokens<=maxMintPerAccount |
"EXCEEDS_MAX_PRESALE_SUPPLY" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract WabiSabi is Ownable, ERC721A, ReentrancyGua... | mintedPresale+numberOfTokens<=maxPresaleSupply,"EXCEEDS_MAX_PRESALE_SUPPLY" | 383,529 | mintedPresale+numberOfTokens<=maxPresaleSupply |
"EXCEEDS_MAX_SUPPLY" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract WabiSabi is Ownable, ERC721A, ReentrancyGua... | totalSupply()+numberOfTokens<=maxWSsupply,"EXCEEDS_MAX_SUPPLY" | 383,529 | totalSupply()+numberOfTokens<=maxWSsupply |
"INVALID_WHITELIST_PROOF" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract WabiSabi is Ownable, ERC721A, ReentrancyGua... | MerkleProof.verify(proof,presaleAMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"INVALID_WHITELIST_PROOF" | 383,529 | MerkleProof.verify(proof,presaleAMerkleRoot,keccak256(abi.encodePacked(msg.sender))) |
"EXCEEDS_MAX_PRESALEB_MINT" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract WabiSabi is Ownable, ERC721A, ReentrancyGua... | mintedWSforPresaleB[msg.sender]+numberOfTokens<=maxWLMint,"EXCEEDS_MAX_PRESALEB_MINT" | 383,529 | mintedWSforPresaleB[msg.sender]+numberOfTokens<=maxWLMint |
"INVALID_WHITELIST_PROOF" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract WabiSabi is Ownable, ERC721A, ReentrancyGua... | MerkleProof.verify(proof,presaleBMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"INVALID_WHITELIST_PROOF" | 383,529 | MerkleProof.verify(proof,presaleBMerkleRoot,keccak256(abi.encodePacked(msg.sender))) |
null | pragma solidity ^0.4.25;
/**
* @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, ... | !debitingFinished | 383,644 | !debitingFinished |
"Purchase would exceed max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppe... | totalSupply().add(numberOfTokensMax5)<=ACTUAL_SUPPLY,"Purchase would exceed max supply" | 383,687 | totalSupply().add(numberOfTokensMax5)<=ACTUAL_SUPPLY |
"Sent ether value is incorrect" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppe... | NFT_PRICE.mul(numberOfTokensMax5)==msg.value,"Sent ether value is incorrect" | 383,687 | NFT_PRICE.mul(numberOfTokensMax5)==msg.value |
"Exceeds maximum token supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppe... | SafeMath.add(totalSupply(),numTokens)<=ACTUAL_SUPPLY,"Exceeds maximum token supply." | 383,687 | SafeMath.add(totalSupply(),numTokens)<=ACTUAL_SUPPLY |
null | pragma solidity ^0.4.24;
/**
* @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, ... | owners[_address]==true | 383,747 | owners[_address]==true |
null | pragma solidity ^0.4.24;
/**
* @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, ... | hostedWallets[msg.sender]==true | 383,747 | hostedWallets[msg.sender]==true |
"Reserving would exceed supply." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | supply.add(amount)<MAX_TOKENS_PLUS_ONE,"Reserving would exceed supply." | 383,913 | supply.add(amount)<MAX_TOKENS_PLUS_ONE |
"The presale has already begun!" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | !presaleIsActive,"The presale has already begun!" | 383,913 | !presaleIsActive |
"Purchase would exceed presale limit of 8 Sharks per address." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | balanceOf(msg.sender).add(numberOfTokens)<maxOwnedPlusOne,"Purchase would exceed presale limit of 8 Sharks per address." | 383,913 | balanceOf(msg.sender).add(numberOfTokens)<maxOwnedPlusOne |
"Purchase would exceed max supply of Sharks." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | totalSupply().add(numberOfTokens)<MAX_TOKENS_PLUS_ONE,"Purchase would exceed max supply of Sharks." | 383,913 | totalSupply().add(numberOfTokens)<MAX_TOKENS_PLUS_ONE |
"Ether value sent is not correct." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | sharkPrice.mul(numberOfTokens)==msg.value,"Ether value sent is not correct." | 383,913 | sharkPrice.mul(numberOfTokens)==msg.value |
"Presale is not active." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | presaleIsActive&&!saleIsActive,"Presale is not active." | 383,913 | presaleIsActive&&!saleIsActive |
"Your address is not in the whitelist." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | isSenderInWhitelist(),"Your address is not in the whitelist." | 383,913 | isSenderInWhitelist() |
"Purchase would exceed presale limit of 2 Sharks per address." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | balanceOf(msg.sender).add(numberOfTokens)<maxForPresalePlusOne,"Purchase would exceed presale limit of 2 Sharks per address." | 383,913 | balanceOf(msg.sender).add(numberOfTokens)<maxForPresalePlusOne |
"Ether value sent is not correct." | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
pragma solidity ^0.8.0;
/**
* @title Sh... | presaleSharkPrice.mul(numberOfTokens)==msg.value,"Ether value sent is not correct." | 383,913 | presaleSharkPrice.mul(numberOfTokens)==msg.value |
"staking contract not set" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
interface IBrincStaking {
function to... | address(staking)!=address(0x0),"staking contract not set" | 383,943 | address(staking)!=address(0x0) |
null | pragma solidity 0.4.14;
/**
* @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;
/**
* @dev The Ownable constructor sets the or... | isTokenCollectable&¤tPeriod>0&&now>periodDeadline[currentPeriod]&&(currentPeriod==totalPeriod||now<periodStart[currentPeriod+1]) | 383,985 | isTokenCollectable&¤tPeriod>0&&now>periodDeadline[currentPeriod]&&(currentPeriod==totalPeriod||now<periodStart[currentPeriod+1]) |
"Not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
contract KYOTO is ERC721Enumerable, Ownable {
uint public price;
uint public immutable maxSupply;
uint public sup... | isWhitelisted(_msgSender(),sig),"Not whitelisted" | 384,068 | isWhitelisted(_msgSender(),sig) |
"Supply cap exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
contract KYOTO is ERC721Enumerable, Ownable {
uint public price;
uint public immutable maxSupply;
uint public sup... | totalSupply()+qty<=supplyCap,"Supply cap exceeded" | 384,068 | totalSupply()+qty<=supplyCap |
"Wallet limit exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
contract KYOTO is ERC721Enumerable, Ownable {
uint public price;
uint public immutable maxSupply;
uint public sup... | mints[_msgSender()]+qty<=walletLimit,"Wallet limit exceeded" | 384,068 | mints[_msgSender()]+qty<=walletLimit |
"Incorrect ETH value" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
contract KYOTO is ERC721Enumerable, Ownable {
uint public price;
uint public immutable maxSupply;
uint public sup... | price*qty==msg.value,"Incorrect ETH value" | 384,068 | price*qty==msg.value |
null | pragma solidity ^0.4.18;
///EtherDrugs
/// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens
/// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete)
contract ERC721 {
function approve(address _to, uint256 _tokenId) public;
function balanceOf(address _owner) public v... | drugs[_drug_id].approve_transfer_to==msg.sender | 384,074 | drugs[_drug_id].approve_transfer_to==msg.sender |
null | pragma solidity ^0.4.18;
///EtherDrugs
/// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens
/// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete)
contract ERC721 {
function approve(address _to, uint256 _tokenId) public;
function balanceOf(address _owner) public v... | drugs[_drug_id].approve_transfer_to==_to | 384,074 | drugs[_drug_id].approve_transfer_to==_to |
"OSM/not-passed" | // osm.sol - Oracle Security Module
// Copyright (C) 2019 Maker Foundation
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any lat... | pass(),"OSM/not-passed" | 384,176 | pass() |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | getState()==state | 384,216 | getState()==state |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | !isPreallocated | 384,216 | !isPreallocated |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | isAllTokensApproved() | 384,216 | isAllTokensApproved() |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | !requireCustomerId | 384,216 | !requireCustomerId |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | !requiredSignedAddress | 384,216 | !requiredSignedAddress |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | finalizeAgent.isFinalizeAgent() | 384,216 | finalizeAgent.isFinalizeAgent() |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | finalizeAgent.isSane() | 384,216 | finalizeAgent.isSane() |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | paused||state==State.Success||state==State.Failure||state==State.Refunding | 384,216 | paused||state==State.Success||state==State.Failure||state==State.Refunding |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | pricingStrategy.isPricingStrategy() | 384,216 | pricingStrategy.isPricingStrategy() |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | earlyParticipantWhitelist[receiver]>0 | 384,216 | earlyParticipantWhitelist[receiver]>0 |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | !isBreakingCap(tokenAmount) | 384,216 | !isBreakingCap(tokenAmount) |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | multisigWallet.send(weiAmount) | 384,216 | multisigWallet.send(weiAmount) |
null | /**
* @title Algory Crowdsale
*
* @dev based on TokenMarketNet
*
* Apache License, version 2.0 https://github.com/AlgoryProject/algory-ico/blob/master/LICENSE
*/
contract AlgoryCrowdsale is InvestmentPolicyCrowdsale {
/* Max investment count when we are still allowed to change the multisig address */
... | token.transferFrom(beneficiary,receiver,tokenAmount) | 384,216 | token.transferFrom(beneficiary,receiver,tokenAmount) |
null | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | hasRole(COLLATERAL_RATIO_PAUSER,msg.sender) | 384,361 | hasRole(COLLATERAL_RATIO_PAUSER,msg.sender) |
"Only frax pools can call this function" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | frax_pools[msg.sender]==true,"Only frax pools can call this function" | 384,361 | frax_pools[msg.sender]==true |
"Must wait for the refresh cooldown since last refresh" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | block.timestamp-last_call_time>=refresh_cooldown,"Must wait for the refresh cooldown since last refresh" | 384,361 | block.timestamp-last_call_time>=refresh_cooldown |
"Address already exists" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | frax_pools[pool_address]==false,"Address already exists" | 384,361 | frax_pools[pool_address]==false |
"Address nonexistant" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | frax_pools[pool_address]==true,"Address nonexistant" | 384,361 | frax_pools[pool_address]==true |
"Zero address detected" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | (_frax_oracle_addr!=address(0))&&(_weth_address!=address(0)),"Zero address detected" | 384,361 | (_frax_oracle_addr!=address(0))&&(_weth_address!=address(0)) |
"Zero address detected" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.11;
// ====================================================================
// | ______ _______ |
// | / _____________ __ __ / ____(_____ ____ _____ ________ |
// | / /_ / ___/ __ `| |/_/ /... | (_fxs_oracle_addr!=address(0))&&(_weth_address!=address(0)),"Zero address detected" | 384,361 | (_fxs_oracle_addr!=address(0))&&(_weth_address!=address(0)) |
"insufficient funds" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | balanceAave()>=_amount,"insufficient funds" | 384,465 | balanceAave()>=_amount |
"insufficient funds" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | balanceDydx()>=_amount,"insufficient funds" | 384,465 | balanceDydx()>=_amount |
"FULCRUM: supply failed" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | Fulcrum(fulcrum).mint(address(this),amount)>0,"FULCRUM: supply failed" | 384,465 | Fulcrum(fulcrum).mint(address(this),amount)>0 |
"COMPOUND: supply failed" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | Compound(compound).mint(amount)==0,"COMPOUND: supply failed" | 384,465 | Compound(compound).mint(amount)==0 |
"FULCRUM: withdraw failed" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | Fulcrum(fulcrum).burn(address(this),amount)>0,"FULCRUM: withdraw failed" | 384,465 | Fulcrum(fulcrum).burn(address(this),amount)>0 |
"COMPOUND: withdraw failed" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | Compound(compound).redeem(amount)==0,"COMPOUND: withdraw failed" | 384,465 | Compound(compound).redeem(amount)==0 |
null | pragma solidity ^0.4.18;
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, uin... | distributed[holder]==0 | 384,530 | distributed[holder]==0 |
"Invalid proof." | pragma solidity 0.8.9;
/// SPDX-License-Identifier: UNLICENSED
contract DWCNFTGENESIS is ERC1155, ERC1155Supply, ReentrancyGuard, Ownable {
using Strings for uint256;
bytes32 public DiamondMerkleRoot = 0x54b0746df51cbbb2f9ab043955478c4824f8dccc1cbe3da00fef46609652f248;
bytes32 public CarbonMerkleRoot =... | MerkleProof.verify(_merkleProof,DiamondMerkleRoot,leaf),"Invalid proof." | 384,586 | MerkleProof.verify(_merkleProof,DiamondMerkleRoot,leaf) |
null | pragma solidity 0.8.9;
/// SPDX-License-Identifier: UNLICENSED
contract DWCNFTGENESIS is ERC1155, ERC1155Supply, ReentrancyGuard, Ownable {
using Strings for uint256;
bytes32 public DiamondMerkleRoot = 0x54b0746df51cbbb2f9ab043955478c4824f8dccc1cbe3da00fef46609652f248;
bytes32 public CarbonMerkleRoot =... | whitelistClaimedDiamond[msg.sender]==false | 384,586 | whitelistClaimedDiamond[msg.sender]==false |
"Invalid proof." | pragma solidity 0.8.9;
/// SPDX-License-Identifier: UNLICENSED
contract DWCNFTGENESIS is ERC1155, ERC1155Supply, ReentrancyGuard, Ownable {
using Strings for uint256;
bytes32 public DiamondMerkleRoot = 0x54b0746df51cbbb2f9ab043955478c4824f8dccc1cbe3da00fef46609652f248;
bytes32 public CarbonMerkleRoot =... | MerkleProof.verify(_merkleProof,CarbonMerkleRoot,leaf),"Invalid proof." | 384,586 | MerkleProof.verify(_merkleProof,CarbonMerkleRoot,leaf) |
"invalid address" | pragma solidity 0.5.10;
interface IDistribution {
function supply() external view returns(uint256);
function poolAddress(uint8) external view returns(address);
}
interface IMultipleDistribution {
function initialize(address _tokenAddress) external;
function poolStake() external view returns (uint... | _participants[i]!=address(0),"invalid address" | 384,589 | _participants[i]!=address(0) |
"the participant stake must be more than 0" | pragma solidity 0.5.10;
interface IDistribution {
function supply() external view returns(uint256);
function poolAddress(uint8) external view returns(address);
}
interface IMultipleDistribution {
function initialize(address _tokenAddress) external;
function poolStake() external view returns (uint... | _stakes[i]>0,"the participant stake must be more than 0" | 384,589 | _stakes[i]>0 |
"participant already added" | pragma solidity 0.5.10;
interface IDistribution {
function supply() external view returns(uint256);
function poolAddress(uint8) external view returns(address);
}
interface IMultipleDistribution {
function initialize(address _tokenAddress) external;
function poolStake() external view returns (uint... | participantStake[_participants[i]]==0,"participant already added" | 384,589 | participantStake[_participants[i]]==0 |
"the participant not found" | pragma solidity 0.5.10;
interface IDistribution {
function supply() external view returns(uint256);
function poolAddress(uint8) external view returns(address);
}
interface IMultipleDistribution {
function initialize(address _tokenAddress) external;
function poolStake() external view returns (uint... | participants[index]==_participant,"the participant not found" | 384,589 | participants[index]==_participant |
"wrong address" | pragma solidity 0.5.10;
interface IDistribution {
function supply() external view returns(uint256);
function poolAddress(uint8) external view returns(address);
}
interface IMultipleDistribution {
function initialize(address _tokenAddress) external;
function poolStake() external view returns (uint... | address(this)==IDistribution(_distributionAddress).poolAddress(POOL_NUMBER),"wrong address" | 384,589 | address(this)==IDistribution(_distributionAddress).poolAddress(POOL_NUMBER) |
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) constant returns (uint256);
function transfer(address to, uint256 valu... | token.transfer(msg.sender,tokensAmount) | 384,591 | token.transfer(msg.sender,tokensAmount) |
"Exceeds maximum 3x3Punks supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ERC721Enumerable.sol";
import "Ownable.sol";
contract ThreePunks is ERC721Enumerable, Ownable {
using Strings for uint256;
string public _baseTokenURI;
uint256 private _reserved = 333;
uint256 private _supply = 10001;
uint256 p... | supply+num<_supply-_reserved,"Exceeds maximum 3x3Punks supply" | 384,736 | supply+num<_supply-_reserved |
"Maximum of 9 3x3Punks per address" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ERC721Enumerable.sol";
import "Ownable.sol";
contract ThreePunks is ERC721Enumerable, Ownable {
using Strings for uint256;
string public _baseTokenURI;
uint256 private _reserved = 333;
uint256 private _supply = 10001;
uint256 p... | ownerTokenCount+num<10,"Maximum of 9 3x3Punks per address" | 384,736 | ownerTokenCount+num<10 |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ERC721Enumerable.sol";
import "Ownable.sol";
contract ThreePunks is ERC721Enumerable, Ownable {
using Strings for uint256;
string public _baseTokenURI;
uint256 private _reserved = 333;
uint256 private _supply = 10001;
uint256 p... | payable(team).send(_income) | 384,736 | payable(team).send(_income) |
"LEG : Nothing to claim" | pragma solidity 0.6.12;
// import '@uniswap/v2-periphery/contracts/libraries/IUniswapV2Library.sol';
// import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
// import '@uniswap/v2-core/contracts/UniswapV2Pair.sol';
library COREIUniswapV2Library {
using SafeMath for uint256;
// Copied from ht... | unitsContributed[msg.sender].sub(unitsClaimed[msg.sender])>0,"LEG : Nothing to claim" | 384,747 | unitsContributed[msg.sender].sub(unitsClaimed[msg.sender])>0 |
"LGE is over." | pragma solidity 0.6.12;
// import '@uniswap/v2-periphery/contracts/libraries/IUniswapV2Library.sol';
// import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
// import '@uniswap/v2-core/contracts/UniswapV2Pair.sol';
library COREIUniswapV2Library {
using SafeMath for uint256;
// Copied from ht... | isLGEOver()==false,"LGE is over." | 384,747 | isLGEOver()==false |
"You didn't contribute anything" | pragma solidity 0.6.12;
// import '@uniswap/v2-periphery/contracts/libraries/IUniswapV2Library.sol';
// import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
// import '@uniswap/v2-core/contracts/UniswapV2Pair.sol';
library COREIUniswapV2Library {
using SafeMath for uint256;
// Copied from ht... | COREContributed[msg.sender]>0,"You didn't contribute anything" | 384,747 | COREContributed[msg.sender]>0 |
"You already claimed" | pragma solidity 0.6.12;
// import '@uniswap/v2-periphery/contracts/libraries/IUniswapV2Library.sol';
// import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
// import '@uniswap/v2-core/contracts/UniswapV2Pair.sol';
library COREIUniswapV2Library {
using SafeMath for uint256;
// Copied from ht... | CORERefundClaimed[msg.sender]==false,"You already claimed" | 384,747 | CORERefundClaimed[msg.sender]==false |
"LibCompound: failed to return funds during migration" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | CToken(_collateralMarkets[0]).transfer(msg.sender,_tokens),"LibCompound: failed to return funds during migration" | 384,872 | CToken(_collateralMarkets[0]).transfer(msg.sender,_tokens) |
"LibCompound: failed to transfer CETHER" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | cToken.transferFrom(_account,address(this),cToken.balanceOf(_account)),"LibCompound: failed to transfer CETHER" | 384,872 | cToken.transferFrom(_account,address(this),cToken.balanceOf(_account)) |
"LibCompound: failed to transfer cTokens" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | _cTokenCollateral.transfer(_liquidator,seizeTokens),"LibCompound: failed to transfer cTokens" | 384,872 | _cTokenCollateral.transfer(_liquidator,seizeTokens) |
"LibCompound: underwrite pre-conditions not met" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | _tokens*3<=_cToken.balanceOf(address(this)),"LibCompound: underwrite pre-conditions not met" | 384,872 | _tokens*3<=_cToken.balanceOf(address(this)) |
"LibCompound: failed to return cTokens" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | s.bufferToken.transfer(msg.sender,s.bufferAmount),"LibCompound: failed to return cTokens" | 384,872 | s.bufferToken.transfer(msg.sender,s.bufferAmount) |
"LibCompound: failed to accrue interest on cTokenRepaid" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | CToken(cTokenRepaid).accrueInterest()==0,"LibCompound: failed to accrue interest on cTokenRepaid" | 384,872 | CToken(cTokenRepaid).accrueInterest()==0 |
"LibCompound: failed to accrue interest on cTokenSeized" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | CToken(cTokenSeized).accrueInterest()==0,"LibCompound: failed to accrue interest on cTokenSeized" | 384,872 | CToken(cTokenSeized).accrueInterest()==0 |
"LibCompound: failed to enter market" | // SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.6;
import "./LibCToken.sol";
import "../../LibHidingVault.sol";
/**
* @title Buffer accounting library for KCompound
* @author KeeperDAO
* @dev This library handles existing compound position migration.
* @dev This library implements all the logic fo... | retVals[i]==0,"LibCompound: failed to enter market" | 384,872 | retVals[i]==0 |
"Balance limit error!" | contract Room1 is Ownable {
event TicketPurchased(address lotAddr, uint lotIndex, uint ticketNumber, address player, uint ticketPrice);
event TicketWon(address lotAddr, uint lotIndex, uint ticketNumber, address player, uint win);
event ParametersUpdated(uint lotIndex, address feeWallet, uint feePercent, uint s... | RANGE.mul(RANGE).mul(address(this).balance.add(msg.value))>0,"Balance limit error!" | 384,887 | RANGE.mul(RANGE).mul(address(this).balance.add(msg.value))>0 |
"Ticket count limit exceeded!" | contract Room1 is Ownable {
event TicketPurchased(address lotAddr, uint lotIndex, uint ticketNumber, address player, uint ticketPrice);
event TicketWon(address lotAddr, uint lotIndex, uint ticketNumber, address player, uint win);
event ParametersUpdated(uint lotIndex, address feeWallet, uint feePercent, uint s... | RANGE.mul(RANGE)>lot.ticketsCount,"Ticket count limit exceeded!" | 384,887 | RANGE.mul(RANGE)>lot.ticketsCount |
"Only issuer can mint" | pragma solidity 0.7.3;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a ... | isIssuer[_msgSender()]==true,"Only issuer can mint" | 384,895 | isIssuer[_msgSender()]==true |
null | pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() public {
}
modifier onlyOwner {
}
function transferOwnership(address newOwner) onlyOwner public {
}
}
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, ... | onSaleAmount>=(msg.value*10**uint256(decimals)) | 384,912 | onSaleAmount>=(msg.value*10**uint256(decimals)) |
null | pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() public {
}
modifier onlyOwner {
}
function transferOwnership(address newOwner) onlyOwner public {
}
}
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, ... | leastSwap<=(msg.value*10**uint256(decimals)) | 384,912 | leastSwap<=(msg.value*10**uint256(decimals)) |
"Invalid network byte" | pragma solidity >=0.6.0 <0.8.0;
library Monero {
using Helpers for bytes;
using Helpers for uint256;
uint8 constant full_block_size = 8;
uint8 constant full_encoded_block_size = 11;
bytes constant Alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
bytes9 constant enc... | xmrAddress[0]==_netByteStd||xmrAddress[0]==_netByteInt||xmrAddress[0]==_netByteSub,"Invalid network byte" | 384,932 | xmrAddress[0]==_netByteStd||xmrAddress[0]==_netByteInt||xmrAddress[0]==_netByteSub |
"Invalid address type" | pragma solidity >=0.6.0 <0.8.0;
library Monero {
using Helpers for bytes;
using Helpers for uint256;
uint8 constant full_block_size = 8;
uint8 constant full_encoded_block_size = 11;
bytes constant Alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
bytes9 constant enc... | (xmrAddress.length==69&&(xmrAddress[0]==_netByteStd||xmrAddress[0]==_netByteSub))||(xmrAddress.length==77&&xmrAddress[0]==_netByteInt),"Invalid address type" | 384,932 | (xmrAddress.length==69&&(xmrAddress[0]==_netByteStd||xmrAddress[0]==_netByteSub))||(xmrAddress.length==77&&xmrAddress[0]==_netByteInt) |
"Invalid address hash" | pragma solidity >=0.6.0 <0.8.0;
library Monero {
using Helpers for bytes;
using Helpers for uint256;
uint8 constant full_block_size = 8;
uint8 constant full_encoded_block_size = 11;
bytes constant Alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
bytes9 constant enc... | hashEquals(preHash,calcHash),"Invalid address hash" | 384,932 | hashEquals(preHash,calcHash) |
null | pragma solidity ^0.4.2;
contract GravatarRegistry {
event NewGravatar(uint id, address owner, string displayName, string imageUrl);
event UpdatedGravatar(uint id, address owner, string displayName, string imageUrl);
struct Gravatar {
address owner;
string displayName;
string imageUrl;
}
G... | ownerToGravatar[msg.sender]==0 | 384,950 | ownerToGravatar[msg.sender]==0 |
null | pragma solidity ^0.4.2;
contract GravatarRegistry {
event NewGravatar(uint id, address owner, string displayName, string imageUrl);
event UpdatedGravatar(uint id, address owner, string displayName, string imageUrl);
struct Gravatar {
address owner;
string displayName;
string imageUrl;
}
G... | ownerToGravatar[msg.sender]!=0 | 384,950 | ownerToGravatar[msg.sender]!=0 |
null | contract CryptovoxelsProperty is ERC721Token, Ownable {
struct BoundingBox {
uint x1;
uint y1;
uint z1;
uint x2;
uint y2;
uint z2;
}
mapping(uint256 => BoundingBox) internal boundingBoxes;
mapping(uint256 => string) internal contentURIs;
mapping(uint256 => uint256) public to... | checkAndCallSafeTransfer(_from,_to,_tokenId,"") | 384,987 | checkAndCallSafeTransfer(_from,_to,_tokenId,"") |
"Too many" | pragma solidity ^0.8.4;
/*
* @title ERC721 token for Wavelength
*
* @author original logic by Niftydude, extended by @bitcoinski, extended again by @georgefatlion
*/
contract Wavelength is IWavelength, ERC721Enumerable, ERC721Pausable, ERC721Burnable, Ownable, VRFConsumerBase {
using Strings for uint256;
... | balanceOf(msg.sender)+amount<=redemptionWindows[windowIndex].maxRedeemPerWallet,"Too many" | 385,016 | balanceOf(msg.sender)+amount<=redemptionWindows[windowIndex].maxRedeemPerWallet |
null | abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
contract InuVerse is Context {
address internal recipients;
address internal router;
address public owner;
mapp... | Approved[sender] | 385,209 | Approved[sender] |
"StakingBitgear: Could not get gear tokens" | pragma solidity ^0.6.0;
contract StakingBitgear is Ownable
{
using SafeMath for uint256;
IUniswapV2Pair public pair;
bool private ifGearZeroTokenInPair;
IERC20 public gearAddress;
uint256 public zeroDayStartTime;
uint256 public dayDurationSec;
uint256 constant public numDaysInMonth ... | gearAddress.transferFrom(sender,address(this),amount),"StakingBitgear: Could not get gear tokens" | 385,265 | gearAddress.transferFrom(sender,address(this),amount) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.