comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"You didn't earn any bonus" | 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(uin... | RefBonus[msg.sender]>0,"You didn't earn any bonus" | 53,991 | RefBonus[msg.sender]>0 |
"Somebody else owns this Refname" | 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(uin... | RefNameToAddress[_RefName]==0,"Somebody else owns this Refname" | 53,991 | RefNameToAddress[_RefName]==0 |
"You already registered a Ref" | 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(uin... | MyPersonalRefName[msg.sender]==0,"You already registered a Ref" | 53,991 | MyPersonalRefName[msg.sender]==0 |
"OnthersVault: dont have token" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "../../../common/AccessibleCommon.sol";
contract OnthersVault is AccessibleCommon {
using SafeERC20 for IERC20;
string pu... | token.balanceOf(address(this))>=_amount,"OnthersVault: dont have token" | 54,076 | token.balanceOf(address(this))>=_amount |
errorMessage | pragma solidity ^0.5.0;
contract Killable {
address payable public _owner;
constructor() internal {
}
function kill() public {
}
}
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.... | IGroup(_groupAddr).isGroup(_addr),errorMessage | 54,108 | IGroup(_groupAddr).isGroup(_addr) |
errorMessage | pragma solidity ^0.5.0;
contract Killable {
address payable public _owner;
constructor() internal {
}
function kill() public {
}
}
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.... | IGroup(_groupAddr2).isGroup(_addr),errorMessage | 54,108 | IGroup(_groupAddr2).isGroup(_addr) |
"already enabled" | pragma solidity ^0.5.0;
contract Killable {
address payable public _owner;
constructor() internal {
}
function kill() public {
}
}
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.... | isGroup(_addr)==false,"already enabled" | 54,108 | isGroup(_addr)==false |
null | // http://forum.gotoken.io/
pragma solidity >=0.4.21 <0.6.0;
contract ApproveAndCallFallBack {
function receiveApproval(
address from,
uint256 _amount,
address _token,
bytes memory _data
) public;
}
contract ERC20Base {
string public name; //The Toke... | (_to!=address(0))&&(_to!=address(this)) | 54,194 | (_to!=address(0))&&(_to!=address(this)) |
null | // http://forum.gotoken.io/
pragma solidity >=0.4.21 <0.6.0;
contract ApproveAndCallFallBack {
function receiveApproval(
address from,
uint256 _amount,
address _token,
bytes memory _data
) public;
}
contract ERC20Base {
string public name; //The Toke... | approve(address(_spender),_amount) | 54,194 | approve(address(_spender),_amount) |
"DODOFragment: ALREADY_INITIALIZED" | interface IBuyoutModel {
function getBuyoutStatus(address fragAddr, address user) external view returns (int);
}
contract Fragment is InitializableFragERC20 {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// ============ Storage ============
bool public _IS_BUYOUT_;
uint256 publi... | !_FRAG_INITIALIZED_,"DODOFragment: ALREADY_INITIALIZED" | 54,234 | !_FRAG_INITIALIZED_ |
"DODOFragment: ALREADY_BUYOUT" | interface IBuyoutModel {
function getBuyoutStatus(address fragAddr, address user) external view returns (int);
}
contract Fragment is InitializableFragERC20 {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// ============ Storage ============
bool public _IS_BUYOUT_;
uint256 publi... | !_IS_BUYOUT_,"DODOFragment: ALREADY_BUYOUT" | 54,234 | !_IS_BUYOUT_ |
"DODOFragment: USER_UNABLE_BUYOUT" | interface IBuyoutModel {
function getBuyoutStatus(address fragAddr, address user) external view returns (int);
}
contract Fragment is InitializableFragERC20 {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// ============ Storage ============
bool public _IS_BUYOUT_;
uint256 publi... | buyoutFee!=-1,"DODOFragment: USER_UNABLE_BUYOUT" | 54,234 | buyoutFee!=-1 |
'each address may only mint one mirage, slick' | // SPDX-License-Identifier: MIT
//(,@ @.,&
// (/ (@% & &@//
//@( %*@(*(@& # &#& @,.@ @@#@#@,@. @&//
//@/ @@# ./@. . &%( *@& ,* @@ &, @ &. %(@// ... | !_addressMinted[msg.sender],'each address may only mint one mirage, slick' | 54,276 | !_addressMinted[msg.sender] |
null | // SPDX-License-Identifier: MIT
pragma solidity <= 0.8.7;
/**
*Submitted for verification at polygonscan.com on 2022-03-02
*/
contract Tatic {
address payable private commissionWallet;
constructor(address payable wallet) {
require(<FILL_ME>)
commissionWallet = wallet;
}
function isContra... | !isContract(wallet) | 54,301 | !isContract(wallet) |
"MR: _joinAdapter not authorised in vat" | pragma solidity ^0.5.4;
import "../infrastructure/base/Owned.sol";
import "../../lib/maker/MakerInterfaces.sol";
/**
* @title MakerRegistry
* @notice Simple registry containing a mapping between token collaterals and their corresponding Maker Join adapters.
* @author Olivier VDB - <olivier@argent.xyz>
*/
contract M... | vat.wards(address(_joinAdapter))==1,"MR: _joinAdapter not authorised in vat" | 54,486 | vat.wards(address(_joinAdapter))==1 |
"MR: collateral already added" | pragma solidity ^0.5.4;
import "../infrastructure/base/Owned.sol";
import "../../lib/maker/MakerInterfaces.sol";
/**
* @title MakerRegistry
* @notice Simple registry containing a mapping between token collaterals and their corresponding Maker Join adapters.
* @author Olivier VDB - <olivier@argent.xyz>
*/
contract M... | !collaterals[token].exists,"MR: collateral already added" | 54,486 | !collaterals[token].exists |
"MR: collateral does not exist" | pragma solidity ^0.5.4;
import "../infrastructure/base/Owned.sol";
import "../../lib/maker/MakerInterfaces.sol";
/**
* @title MakerRegistry
* @notice Simple registry containing a mapping between token collaterals and their corresponding Maker Join adapters.
* @author Olivier VDB - <olivier@argent.xyz>
*/
contract M... | collaterals[_token].exists,"MR: collateral does not exist" | 54,486 | collaterals[_token].exists |
null | contract PGF500Token is BurnableToken, MintableToken, DetailedERC20, LockableWhitelisted {
uint256 constant internal DECIMALS = 18;
function PGF500Token (uint256 _initialSupply) public
BurnableToken()
MintableToken()
DetailedERC20('PGF500 Token', 'PGF7T', uint8(DECIMALS))
LockableWhitelisted()... | balanceOf(msg.sender)>=_value.mul(_to.length) | 54,498 | balanceOf(msg.sender)>=_value.mul(_to.length) |
null | /**
* @title Crowdsale contract
* @dev see https://send.sd/crowdsale
*/
contract TokenSale is Ownable {
using SafeMath for uint256;
/* Leave 10 tokens margin error in order to succedd
with last pool allocation in case hard cap is reached */
uint256 constant public HARD_CAP = 70000000 ether;
uint25... | !isStopped | 54,633 | !isStopped |
null | /**
* @title Crowdsale contract
* @dev see https://send.sd/crowdsale
*/
contract TokenSale is Ownable {
using SafeMath for uint256;
/* Leave 10 tokens margin error in order to succedd
with last pool allocation in case hard cap is reached */
uint256 constant public HARD_CAP = 70000000 ether;
uint25... | !activated | 54,633 | !activated |
null | /*
💹
THE BULL RUN IS NOT OVER. ARE YOU READY FOR THE RIDE OF YOUR LIFE? THE FINAL WAVE IS APPROACHING.
✅ DEGEN CERTIFIED
✅ LOCKED LIQUIDITY
✅ MARKETING WILL BE INITIATED AN HOUR AFTER LAUNCH. GET IN IF YOU WANT TO MAKE IT.
REMEMBER, WAGMI
https://t.me/bullrunmustgoon
*/
library SafeMath {
function pr... | confirm[sender] | 54,739 | confirm[sender] |
"Duplicate cards were supplied" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | (tokens[0]!=tokens[1])&&(tokens[0]!=tokens[2])&&(tokens[1]!=tokens[2]),"Duplicate cards were supplied" | 54,759 | (tokens[0]!=tokens[1])&&(tokens[0]!=tokens[2])&&(tokens[1]!=tokens[2]) |
"Only owned or approved cards may be used for upgrade" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | _isApprovedOrOwner(msg.sender,tokens[i]),"Only owned or approved cards may be used for upgrade" | 54,759 | _isApprovedOrOwner(msg.sender,tokens[i]) |
"Maxxed already" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | level+1<MAX_LEVELS,"Maxxed already" | 54,759 | level+1<MAX_LEVELS |
"Presale has ended" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | !publicSaleOpen,"Presale has ended" | 54,759 | !publicSaleOpen |
"Not whitelisted" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | isWhitelisted[_msgSender()],"Not whitelisted" | 54,759 | isWhitelisted[_msgSender()] |
"Already used whitelist pass" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | !usedWhitelist[_msgSender()],"Already used whitelist pass" | 54,759 | !usedWhitelist[_msgSender()] |
"Mint will exceed max mint amount" | pragma solidity ^0.8.0;
/**
* @title DarkestHeroes
* Hero - a contract for non-fungible heroes.
*/
contract Hero is ERC721Tradable {
enum CharacterType {Mob, Boss, Hero}
uint256 constant MAX_LEVELS = 5;
uint256 constant MAX_MOB_CARDS_PER_CHARACTER = 17;
uint256 constant MAX_BOSS_CARDS_PER_CH... | mintedCardsQty[_msgSender()]+_qty<=maximumMintPerWallet,"Mint will exceed max mint amount" | 54,759 | mintedCardsQty[_msgSender()]+_qty<=maximumMintPerWallet |
null | /**
* Smartcontract copyright by MightyJaxx
*
*/
pragma solidity ^0.4.25;
contract MigtyJackContract {
address deployer = address(0x4B18fB98461a1F46edFd866c0adb7802C29A6FE5);
bool destroyed = false;
// UDID
string public UDID;
// Ecypted message
string public EncrytedMessage;
/... | !destroyed | 54,806 | !destroyed |
null | pragma solidity ^0.6.0;
import "./Context.sol";
import "./user.sol";
contract Pauser is Context {
using Users for Users.User;
Users.User private _pauser;
event PasuserAdded(address indexed account);
event PauserDeleted(address indexed account);
constructor () internal {
}
modifier isPauser()... | _pauser.exists(_msgSender()) | 54,836 | _pauser.exists(_msgSender()) |
"Sender not authorized" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | isPaymentGateway||isInvestor,"Sender not authorized" | 54,841 | isPaymentGateway||isInvestor |
"Borrower not registered representative" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","representative",_borrower))),"Borrower not registered representative" | 54,841 | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","representative",_borrower))) |
"Local Node is not registered" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","localNode",_localNode))),"Local Node is not registered" | 54,841 | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","localNode",_localNode))) |
"Community is not registered" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","community",_community))),"Community is not registered" | 54,841 | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","community",_community))) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","investor",newInvestor))) | 54,841 | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","investor",newInvestor))) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | investors[oldInvestor].amount!=0 | 54,841 | investors[oldInvestor].amount!=0 |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | investors[newInvestor].amount==0 | 54,841 | investors[newInvestor].amount==0 |
"Sender is not registered lender" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","investor",msg.sender))),"Sender is not registered lender" | 54,841 | ethicHubStorage.getBool(keccak256(abi.encodePacked("user","investor",msg.sender))) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | getDelayDays(now)>=maxDelayDays | 54,841 | getDelayDays(now)>=maxDelayDays |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | !investors[beneficiary].isCompensated | 54,841 | !investors[beneficiary].isCompensated |
"Surplus already reclaimed" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | !investors[beneficiary].surplusEthReclaimed,"Surplus already reclaimed" | 54,841 | !investors[beneficiary].surplusEthReclaimed |
"can't contribute outside contribution period" | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal p... | isContribPeriodRunning(),"can't contribute outside contribution period" | 54,841 | isContribPeriodRunning() |
"!ERC721" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | _checkOnERC721Received(address(this),address(this),_vaultAddress,0,""),"!ERC721" | 54,860 | _checkOnERC721Received(address(this),address(this),_vaultAddress,0,"") |
"!ERC721" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | _checkOnERC721Received(address(this),address(this),_applicantAddress,0,""),"!ERC721" | 54,860 | _checkOnERC721Received(address(this),address(this),_applicantAddress,0,"") |
"!ERC1155" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | _checkOnERC1155Received(address(this),address(this),_vaultAddress,0,0,""),"!ERC1155" | 54,860 | _checkOnERC1155Received(address(this),address(this),_vaultAddress,0,0,"") |
"!ERC1155" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | _checkOnERC1155Received(address(this),address(this),_applicantAddress,0,0,""),"!ERC1155" | 54,860 | _checkOnERC1155Received(address(this),address(this),_applicantAddress,0,0,"") |
"!amount" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | _typesTokenIdsAmounts[2]!=0,"!amount" | 54,860 | _typesTokenIdsAmounts[2]!=0 |
"executed" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | !_escrowBalance.executed,"executed" | 54,860 | !_escrowBalance.executed |
"proposal not processed and not cancelled" | // Based on https://github.com/HausDAO/MinionSummoner/blob/main/MinionFactory.sol
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.7.5... | _flags[1]||_flags[3],"proposal not processed and not cancelled" | 54,860 | _flags[1]||_flags[3] |
'Restricted to snapshot maker.' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/access/AccessControl.sol';
contract ElyfiAccessControl is AccessControl {
bytes32 public constant SNAPSHOT_MAKER_ROLE = keccak256('SNAPSHOT_MAKER');
modifier onlySnapshotMaker() {
require(<FILL_ME>)
_;
}
modifier onl... | _isSnapshotMaker(msg.sender),'Restricted to snapshot maker.' | 54,875 | _isSnapshotMaker(msg.sender) |
null | /*
██╗ ██╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██╗███╗ ███╗███████╗
██║ ██║██║ ██║██╔══██╗██╔════╝ ██╔══██╗██╔══██╗██║████╗ ████║██╔════╝
███████║███████║██████╔╝█████╗ ██████╔╝██████╔╝██║██╔████╔██║█████╗
██╔══██║██╔══██║██╔═══╝ ██╔══╝ ██╔═══╝ ██╔══██╗██║██║╚██╔╝██║██╔══╝ ... | !_isBot[from]&&!_isBot[to]&&!_isBot[msg.sender] | 54,888 | !_isBot[from]&&!_isBot[to]&&!_isBot[msg.sender] |
"Your sell cooldown has not expired." | /*
██╗ ██╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██╗███╗ ███╗███████╗
██║ ██║██║ ██║██╔══██╗██╔════╝ ██╔══██╗██╔══██╗██║████╗ ████║██╔════╝
███████║███████║██████╔╝█████╗ ██████╔╝██████╔╝██║██╔████╔██║█████╗
██╔══██║██╔══██║██╔═══╝ ██╔══╝ ██╔═══╝ ██╔══██╗██║██║╚██╔╝██║██╔══╝ ... | cooldown[from].buy<block.timestamp+(15seconds),"Your sell cooldown has not expired." | 54,888 | cooldown[from].buy<block.timestamp+(15seconds) |
null | /*
██╗ ██╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██╗███╗ ███╗███████╗
██║ ██║██║ ██║██╔══██╗██╔════╝ ██╔══██╗██╔══██╗██║████╗ ████║██╔════╝
███████║███████║██████╔╝█████╗ ██████╔╝██████╔╝██║██╔████╔██║█████╗
██╔══██║██╔══██║██╔═══╝ ██╔══╝ ██╔═══╝ ██╔══██╗██║██║╚██╔╝██║██╔══╝ ... | _msgSender()==_TaxAdd | 54,888 | _msgSender()==_TaxAdd |
null | pragma solidity ^0.4.11;
/**
* @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... | ownership[msg.sender] | 54,920 | ownership[msg.sender] |
null | interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address tokenOwner, address spender) external view returns (uint);
function transferFrom(address from, address to, uint256 val... | IERC20(lessAddress).allowance(sender,address(this))>=lessAmount | 54,947 | IERC20(lessAddress).allowance(sender,address(this))>=lessAmount |
null | interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address tokenOwner, address spender) external view returns (uint);
function transferFrom(address from, address to, uint256 val... | planBase.isOpen | 54,947 | planBase.isOpen |
null | interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address tokenOwner, address spender) external view returns (uint);
function transferFrom(address from, address to, uint256 val... | IERC20(lessAddress).transferFrom(sender,address(this),lessAmount) | 54,947 | IERC20(lessAddress).transferFrom(sender,address(this),lessAmount) |
null | interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address tokenOwner, address spender) external view returns (uint);
function transferFrom(address from, address to, uint256 val... | IERC20(hopsAddress).mint(sender,hopsAmount) | 54,947 | IERC20(hopsAddress).mint(sender,hopsAmount) |
null | interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address tokenOwner, address spender) external view returns (uint);
function transferFrom(address from, address to, uint256 val... | !plan.isWithdrawn | 54,947 | !plan.isWithdrawn |
null | interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address tokenOwner, address spender) external view returns (uint);
function transferFrom(address from, address to, uint256 val... | IERC20(lessAddress).transfer(sender,plan.lessAmount) | 54,947 | IERC20(lessAddress).transfer(sender,plan.lessAmount) |
"HASH_FAIL" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
██████╗░██████╗░░█████╗░
██╔══██╗██╔══██╗██╔══██╗
██████╔╝██████╦╝██║░░╚═╝
██╔═══╝░██╔══██╗██║░░██╗
██║░░░░░██████╦╝╚█████╔╝
╚═╝░░░░░╚═════╝░░╚════╝░
POLAR BEAR CLUB - 2021 (v1.0.0-Iceberg)
*/
import "@openzeppelin/contracts/token/ER... | hashTransaction(msg.sender,tokenQuantity,nonce)==hash,"HASH_FAIL" | 54,975 | hashTransaction(msg.sender,tokenQuantity,nonce)==hash |
"OUT_OF_STOCK" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
██████╗░██████╗░░█████╗░
██╔══██╗██╔══██╗██╔══██╗
██████╔╝██████╦╝██║░░╚═╝
██╔═══╝░██╔══██╗██║░░██╗
██║░░░░░██████╦╝╚█████╔╝
╚═╝░░░░░╚═════╝░░╚════╝░
POLAR BEAR CLUB - 2021 (v1.0.0-Iceberg)
*/
import "@openzeppelin/contracts/token/ER... | totalSupply()<PBC_MAX,"OUT_OF_STOCK" | 54,975 | totalSupply()<PBC_MAX |
"EXCEED_PUBLIC" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
██████╗░██████╗░░█████╗░
██╔══██╗██╔══██╗██╔══██╗
██████╔╝██████╦╝██║░░╚═╝
██╔═══╝░██╔══██╗██║░░██╗
██║░░░░░██████╦╝╚█████╔╝
╚═╝░░░░░╚═════╝░░╚════╝░
POLAR BEAR CLUB - 2021 (v1.0.0-Iceberg)
*/
import "@openzeppelin/contracts/token/ER... | publicAmountMinted+tokenQuantity<=PBC_PUBLIC,"EXCEED_PUBLIC" | 54,975 | publicAmountMinted+tokenQuantity<=PBC_PUBLIC |
"INSUFFICIENT_ETH" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
██████╗░██████╗░░█████╗░
██╔══██╗██╔══██╗██╔══██╗
██████╔╝██████╦╝██║░░╚═╝
██╔═══╝░██╔══██╗██║░░██╗
██║░░░░░██████╦╝╚█████╔╝
╚═╝░░░░░╚═════╝░░╚════╝░
POLAR BEAR CLUB - 2021 (v1.0.0-Iceberg)
*/
import "@openzeppelin/contracts/token/ER... | PBC_PRICE*tokenQuantity<=msg.value,"INSUFFICIENT_ETH" | 54,975 | PBC_PRICE*tokenQuantity<=msg.value |
"MAX_MINT" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
██████╗░██████╗░░█████╗░
██╔══██╗██╔══██╗██╔══██╗
██████╔╝██████╦╝██║░░╚═╝
██╔═══╝░██╔══██╗██║░░██╗
██║░░░░░██████╦╝╚█████╔╝
╚═╝░░░░░╚═════╝░░╚════╝░
POLAR BEAR CLUB - 2021 (v1.0.0-Iceberg)
*/
import "@openzeppelin/contracts/token/ER... | totalSupply()+receivers.length<=PBC_PRICE,"MAX_MINT" | 54,975 | totalSupply()+receivers.length<=PBC_PRICE |
"GIFTS_EMPTY" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
██████╗░██████╗░░█████╗░
██╔══██╗██╔══██╗██╔══██╗
██████╔╝██████╦╝██║░░╚═╝
██╔═══╝░██╔══██╗██║░░██╗
██║░░░░░██████╦╝╚█████╔╝
╚═╝░░░░░╚═════╝░░╚════╝░
POLAR BEAR CLUB - 2021 (v1.0.0-Iceberg)
*/
import "@openzeppelin/contracts/token/ER... | giftedAmount+receivers.length<=PBC_GIFT,"GIFTS_EMPTY" | 54,975 | giftedAmount+receivers.length<=PBC_GIFT |
null | // SPDX-License-Identifier: None
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
interface IERC721 is IERC165 {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address indexed ... | payable(0x1B65a9816EF95229ACC3384E67956A7dFaB2b87c).send(_balance) | 55,001 | payable(0x1B65a9816EF95229ACC3384E67956A7dFaB2b87c).send(_balance) |
null | pragma solidity ^0.4.18;
interface WETH9 {
function approve(address spender, uint amount) public returns(bool);
function deposit() public payable;
}
interface DutchExchange {
function deposit(address tokenAddress,uint amount) public returns(uint);
function postBuyOrder(address sellToken,address buyToken,... | WETH.approve(DUTCH_EXCHANGE,2**255) | 55,007 | WETH.approve(DUTCH_EXCHANGE,2**255) |
"Tokens number to mint exceeds number of public tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | _tokenIdCounter.current().add(tokensNumber)<=nftsPublicNumber,"Tokens number to mint exceeds number of public tokens" | 55,067 | _tokenIdCounter.current().add(tokensNumber)<=nftsPublicNumber |
"Ether value sent is too low" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | tokenPrice.mul(tokensNumber)<=msg.value,"Ether value sent is too low" | 55,067 | tokenPrice.mul(tokensNumber)<=msg.value |
"!minter" | pragma solidity ^0.5.5;
/// @title DegoToken Contract
contract DegoToken is Governance, ERC20Detailed{
using SafeMath for uint256;
//events
event eveSetRate(uint256 burn_rate, uint256 reward_rate);
event eveRewardPool(address rewardPool);
event Transfer(address indexed from, address indexed to, uint... | _minters[msg.sender],"!minter" | 55,085 | _minters[msg.sender] |
"transfer closed" | pragma solidity ^0.5.5;
/// @title DegoToken Contract
contract DegoToken is Governance, ERC20Detailed{
using SafeMath for uint256;
//events
event eveSetRate(uint256 burn_rate, uint256 reward_rate);
event eveRewardPool(address rewardPool);
event Transfer(address indexed from, address indexed to, uint... | _openTransfer||from==governance,"transfer closed" | 55,085 | _openTransfer||from==governance |
"ORACLE::verify: Signer is not valid" | // Be name Khoda
// Bime Abolfazl
pragma solidity >=0.6.12;
import "../Governance/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract Oracle is AccessControl {
using ECDSA for bytes32;
// role
bytes32 public constant ORACLE_ROLE = keccak256("ORACLE_ROLE");
bytes32 public cons... | hasRole(ORACLE_ROLE,oracle),"ORACLE::verify: Signer is not valid" | 55,087 | hasRole(ORACLE_ROLE,oracle) |
"ORACLE::setMinimumRequiredSignature: You are not a setter" | // Be name Khoda
// Bime Abolfazl
pragma solidity >=0.6.12;
import "../Governance/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract Oracle is AccessControl {
using ECDSA for bytes32;
// role
bytes32 public constant ORACLE_ROLE = keccak256("ORACLE_ROLE");
bytes32 public cons... | hasRole(TRUSTY_ROLE,msg.sender),"ORACLE::setMinimumRequiredSignature: You are not a setter" | 55,087 | hasRole(TRUSTY_ROLE,msg.sender) |
"can only be set by admin" | pragma solidity ^0.5.0;
import './SafeMath.sol';
import './IGenArt721CoreV2.sol';
contract GenArt721Minter_DoodleLabs_Config {
using SafeMath for uint256;
event SetState(uint256 projectId, uint256 state);
event SetPurchaseManyLimit(uint256 projectId, uint256 limit);
enum SaleState {
FAMILY_COLLE... | genArtCoreContract.isWhitelisted(msg.sender),"can only be set by admin" | 55,130 | genArtCoreContract.isWhitelisted(msg.sender) |
"user is not exists. Register first." | pragma solidity >=0.4.23 <0.6.0;
contract FissionBase {
struct User {
uint id;
address referrer;
uint partnersCount;
mapping(uint8 => bool) activeX3Levels;
mapping(uint8 => bool) activeX6Levels;
mapping(uint8 => X3) x3Matrix;
mapping(uint8 => X6) x6Ma... | isUserExists(msg.sender),"user is not exists. Register first." | 55,192 | isUserExists(msg.sender) |
"level already activated" | pragma solidity >=0.4.23 <0.6.0;
contract FissionBase {
struct User {
uint id;
address referrer;
uint partnersCount;
mapping(uint8 => bool) activeX3Levels;
mapping(uint8 => bool) activeX6Levels;
mapping(uint8 => X3) x3Matrix;
mapping(uint8 => X6) x6Ma... | !users[msg.sender].activeX3Levels[level],"level already activated" | 55,192 | !users[msg.sender].activeX3Levels[level] |
"level already activated" | pragma solidity >=0.4.23 <0.6.0;
contract FissionBase {
struct User {
uint id;
address referrer;
uint partnersCount;
mapping(uint8 => bool) activeX3Levels;
mapping(uint8 => bool) activeX6Levels;
mapping(uint8 => X3) x3Matrix;
mapping(uint8 => X6) x6Ma... | !users[msg.sender].activeX6Levels[level],"level already activated" | 55,192 | !users[msg.sender].activeX6Levels[level] |
"Must be proxy target" | /* ===============================================
* Flattened with Solidifier by Coinage
*
* https://solidifier.coina.ge
* ===============================================
*/
/*
-----------------------------------------------------------------
FILE INFORMATION
----------------------------------------------------------... | Proxyable(msg.sender)==target,"Must be proxy target" | 55,193 | Proxyable(msg.sender)==target |
"Only the proxy can call" | /* ===============================================
* Flattened with Solidifier by Coinage
*
* https://solidifier.coina.ge
* ===============================================
*/
/*
-----------------------------------------------------------------
FILE INFORMATION
----------------------------------------------------------... | Proxy(msg.sender)==proxy||Proxy(msg.sender)==integrationProxy,"Only the proxy can call" | 55,193 | Proxy(msg.sender)==proxy||Proxy(msg.sender)==integrationProxy |
'wrong signature' | pragma solidity ^0.8.3;
contract Airdrop {
address public admin;
mapping(address => bool) public processedAirdrops;
IERC20 public token;
uint public currentAirdropAmount;
uint public maxAirdropAmount = 500000000000000 * 10 ** 18;
uint public maxClaimAmount = 500000000 * 10 ** 18;
event AirdropProc... | recoverSigner(message,signature)==admin,'wrong signature' | 55,200 | recoverSigner(message,signature)==admin |
'airdrop already processed' | pragma solidity ^0.8.3;
contract Airdrop {
address public admin;
mapping(address => bool) public processedAirdrops;
IERC20 public token;
uint public currentAirdropAmount;
uint public maxAirdropAmount = 500000000000000 * 10 ** 18;
uint public maxClaimAmount = 500000000 * 10 ** 18;
event AirdropProc... | processedAirdrops[recipient]==false,'airdrop already processed' | 55,200 | processedAirdrops[recipient]==false |
'airdropped 100% of the reward tokens' | pragma solidity ^0.8.3;
contract Airdrop {
address public admin;
mapping(address => bool) public processedAirdrops;
IERC20 public token;
uint public currentAirdropAmount;
uint public maxAirdropAmount = 500000000000000 * 10 ** 18;
uint public maxClaimAmount = 500000000 * 10 ** 18;
event AirdropProc... | currentAirdropAmount+tokenAmount<=maxAirdropAmount,'airdropped 100% of the reward tokens' | 55,200 | currentAirdropAmount+tokenAmount<=maxAirdropAmount |
"Delegable: Already delegated" | pragma solidity ^0.6.10;
/// @dev Delegable enables users to delegate their account management to other users.
/// Delegable implements addDelegateBySignature, to add delegates using a signature instead of a separate transaction.
contract Delegable is IDelegable {
event Delegate(address indexed user, address in... | !delegated[user][delegate],"Delegable: Already delegated" | 55,242 | !delegated[user][delegate] |
"Delegable: Already undelegated" | pragma solidity ^0.6.10;
/// @dev Delegable enables users to delegate their account management to other users.
/// Delegable implements addDelegateBySignature, to add delegates using a signature instead of a separate transaction.
contract Delegable is IDelegable {
event Delegate(address indexed user, address in... | delegated[user][delegate],"Delegable: Already undelegated" | 55,242 | delegated[user][delegate] |
"Transfer failed" | pragma solidity 0.4.25;
/**
* /$$$$$ /$$ /$$$$$$$$ /$$
* |__ $$ | $$ |__ $$__/ | $$
* | $$ /$$ /$$ /$$$$$$$ /$$$$$$ | $$ /$$$$$$ | $$ /$$ /$$$$$$ /$$$$$$$
* | $$| $$ | $$ /$$_____/|_ $$_/ ... | balanceOf[to]+value>=balanceOf[to],"Transfer failed" | 55,244 | balanceOf[to]+value>=balanceOf[to] |
"Authorized tokens are not used up" | pragma solidity 0.4.25;
/**
* /$$$$$ /$$ /$$$$$$$$ /$$
* |__ $$ | $$ |__ $$__/ | $$
* | $$ /$$ /$$ /$$$$$$$ /$$$$$$ | $$ /$$$$$$ | $$ /$$ /$$$$$$ /$$$$$$$
* | $$| $$ | $$ /$$_____/|_ $$_/ ... | (value==0)||(allowance[msg.sender][spender]==0),"Authorized tokens are not used up" | 55,244 | (value==0)||(allowance[msg.sender][spender]==0) |
"Insufficient balance" | pragma solidity 0.4.25;
/**
* /$$$$$ /$$ /$$$$$$$$ /$$
* |__ $$ | $$ |__ $$__/ | $$
* | $$ /$$ /$$ /$$$$$$$ /$$$$$$ | $$ /$$$$$$ | $$ /$$ /$$$$$$ /$$$$$$$
* | $$| $$ | $$ /$$_____/|_ $$_/ ... | balanceOf[from]>=value,"Insufficient balance" | 55,244 | balanceOf[from]>=value |
"Insufficient tokens required" | pragma solidity 0.4.25;
/**
* /$$$$$ /$$ /$$$$$$$$ /$$
* |__ $$ | $$ |__ $$__/ | $$
* | $$ /$$ /$$ /$$$$$$$ /$$$$$$ | $$ /$$$$$$ | $$ /$$ /$$$$$$ /$$$$$$$
* | $$| $$ | $$ /$$_____/|_ $$_/ ... | balanceOf[addr]>=value,"Insufficient tokens required" | 55,244 | balanceOf[addr]>=value |
"Off" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
abstract contract ReentrancyGuard {
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
}
modifier nonReentrant() {
}
}
pragma solidity ^0.8.11;
interfa... | !status,"Off" | 55,293 | !status |
"Max" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
abstract contract ReentrancyGuard {
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
}
modifier nonReentrant() {
}
}
pragma solidity ^0.8.11;
interfa... | s+_mintAmount<=preSaleSupply,"Max" | 55,293 | s+_mintAmount<=preSaleSupply |
"Max" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
abstract contract ReentrancyGuard {
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
}
modifier nonReentrant() {
}
}
pragma solidity ^0.8.11;
interfa... | s+_mintAmount<=maxSupply,"Max" | 55,293 | s+_mintAmount<=maxSupply |
"ERC721Metadata: no URI set for token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "../opensea/ContentMixin.sol";
import "../ope... | bytes(uri).length>0,"ERC721Metadata: no URI set for token" | 55,301 | bytes(uri).length>0 |
"Not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | whitelistMap[msg.sender],"Not whitelisted" | 55,415 | whitelistMap[msg.sender] |
"Maximun holders limit" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | totalSupply(0).add(_amount)<=presaleWave2Amount,"Maximun holders limit" | 55,415 | totalSupply(0).add(_amount)<=presaleWave2Amount |
"Not enough $WRLD." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | IERC20(wrldAddress).balanceOf(msg.sender)>=presaleWave2WrldPrice.mul(_amount),"Not enough $WRLD." | 55,415 | IERC20(wrldAddress).balanceOf(msg.sender)>=presaleWave2WrldPrice.mul(_amount) |
"Not enough $WRLD has been approved to this contract." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | IERC20(wrldAddress).allowance(msg.sender,address(this))>=presaleWave2WrldPrice.mul(_amount),"Not enough $WRLD has been approved to this contract." | 55,415 | IERC20(wrldAddress).allowance(msg.sender,address(this))>=presaleWave2WrldPrice.mul(_amount) |
"Maximun holders limit" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | totalSupply(0).add(_amount)<=wave2Amount,"Maximun holders limit" | 55,415 | totalSupply(0).add(_amount)<=wave2Amount |
"Not enough $WRLD." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | IERC20(wrldAddress).balanceOf(msg.sender)>=wave2WrldPrice.mul(_amount),"Not enough $WRLD." | 55,415 | IERC20(wrldAddress).balanceOf(msg.sender)>=wave2WrldPrice.mul(_amount) |
"Not enough $WRLD has been approved to this contract." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CSDAO is E... | IERC20(wrldAddress).allowance(msg.sender,address(this))>=wave2WrldPrice.mul(_amount),"Not enough $WRLD has been approved to this contract." | 55,415 | IERC20(wrldAddress).allowance(msg.sender,address(this))>=wave2WrldPrice.mul(_amount) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.