comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"ETH send failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
listing.seller.send(value),"ETH send failed"
308,997
listing.seller.send(value)
"Refund failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
offer.currency.transfer(offer.buyer,offer.refund),"Refund failed"
308,997
offer.currency.transfer(offer.buyer,offer.refund)
"Transfer failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
offer.currency.transfer(listing.seller,value),"Transfer failed"
308,997
offer.currency.transfer(listing.seller,value)
"Commission transfer failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
tokenAddr.transfer(offer.affiliate,offer.commission),"Commission transfer failed"
308,997
tokenAddr.transfer(offer.affiliate,offer.commission)
"Transfer failed"
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed pr...
tokenAddr.transfer(target,value),"Transfer failed"
308,997
tokenAddr.transfer(target,value)
null
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.7; /// @notice Modern and gas efficient ERC-721 + ERC-20/EIP-2612-like implementation, /// including the MetaData, and partially, Enumerable extensions. contract ERC721 { /*/////////////////////////////////////////////////////////////// ...
ownerOf[tokenId]==from
309,013
ownerOf[tokenId]==from
"ALREADY_MINTED"
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.7; /// @notice Modern and gas efficient ERC-721 + ERC-20/EIP-2612-like implementation, /// including the MetaData, and partially, Enumerable extensions. contract ERC721 { /*/////////////////////////////////////////////////////////////// ...
ownerOf[tokenId]==address(0),"ALREADY_MINTED"
309,013
ownerOf[tokenId]==address(0)
"MAX SUPPLY REACHED"
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.7; /// @notice Modern and gas efficient ERC-721 + ERC-20/EIP-2612-like implementation, /// including the MetaData, and partially, Enumerable extensions. contract ERC721 { /*/////////////////////////////////////////////////////////////// ...
totalSupply++<=maxSupply,"MAX SUPPLY REACHED"
309,013
totalSupply++<=maxSupply
"NOT_MINTED"
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.7; /// @notice Modern and gas efficient ERC-721 + ERC-20/EIP-2612-like implementation, /// including the MetaData, and partially, Enumerable extensions. contract ERC721 { /*/////////////////////////////////////////////////////////////// ...
ownerOf[tokenId]!=address(0),"NOT_MINTED"
309,013
ownerOf[tokenId]!=address(0)
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount1(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount1(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount2(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount2(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount3(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount3(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount4(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount4(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount5(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount5(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount6(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount6(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount7(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount7(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount8(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount8(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount9(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount9(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount10(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount10(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount11(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount11(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount12(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount12(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount13(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount13(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount14(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount14(msg.sender)>=qty
"You already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC1155.sol"; import "./IERC1155.sol"; import "./Ownable.sol"; import "./Strings.sol"; contract GOONYFRENS is ERC1155, Ownable { using Strings for string; mapping(uint256 => uint256) private _totalSupply; //constants uint256 constant nft1 =...
allowedMintCount15(msg.sender)>=qty,"You already claimed"
309,022
allowedMintCount15(msg.sender)>=qty
"SLOTIE NFT NOT SET"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
address(slotie)!=address(0),"SLOTIE NFT NOT SET"
309,049
address(slotie)!=address(0)
"SLOTIE JR NFT NOT SET"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
address(slotiejr)!=address(0),"SLOTIE JR NFT NOT SET"
309,049
address(slotiejr)!=address(0)
"WATTS NOT SET"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
address(watts)!=address(0),"WATTS NOT SET"
309,049
address(watts)!=address(0)
"SENDER NOT OWNER OF FATHER"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
slotie.ownerOf(father)==msg.sender,"SENDER NOT OWNER OF FATHER"
309,049
slotie.ownerOf(father)==msg.sender
"SENDER NOT OWNER OF MOTHER"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
slotie.ownerOf(mother)==msg.sender,"SENDER NOT OWNER OF MOTHER"
309,049
slotie.ownerOf(mother)==msg.sender
"INVALID PROOF FOR FATHER"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
MerkleProof.verify(fatherProof,merkleRoot,leafFather),"INVALID PROOF FOR FATHER"
309,049
MerkleProof.verify(fatherProof,merkleRoot,leafFather)
"INVALID PROOF FOR MOTHER"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
MerkleProof.verify(motherProof,merkleRoot,leafMother),"INVALID PROOF FOR MOTHER"
309,049
MerkleProof.verify(motherProof,merkleRoot,leafMother)
"SENDER DOES NOT HAVE ENOUGH WATTS"
// SPDX-License-Identifier: MIT // Developed by KG Technologies (https://kgtechnologies.io) pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** ...
watts.balanceOf(msg.sender)>=breedPrice,"SENDER DOES NOT HAVE ENOUGH WATTS"
309,049
watts.balanceOf(msg.sender)>=breedPrice
null
pragma solidity ^0.4.21; interface ERC223ReceivingContract { function tokenFallback(address _from, uint _value, bytes _data) external; } library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { ...
(_amounToSale-_saledTotal)>=amount
309,061
(_amounToSale-_saledTotal)>=amount
"All cocks are erect"
// Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity >=0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract CockFightClub...
totalSupply+_count<MAX_TOKENS+1,"All cocks are erect"
309,075
totalSupply+_count<MAX_TOKENS+1
"Minting exceeds supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contract...
clonexMintCount.add(tokensToMint)<=clonexSupply,"Minting exceeds supply"
309,077
clonexMintCount.add(tokensToMint)<=clonexSupply
"Insufficient CloneX tokens."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contract...
balance.sub(clonexWalletMintMap[msg.sender])>=tokensToMint,"Insufficient CloneX tokens."
309,077
balance.sub(clonexWalletMintMap[msg.sender])>=tokensToMint
"Minting exceeds supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contract...
freeMintCount.add(tokensToMint)<=freeSupply,"Minting exceeds supply"
309,077
freeMintCount.add(tokensToMint)<=freeSupply
"Too many free mints"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contract...
freeWalletMintMap[msg.sender].add(tokensToMint)<=freeMintLimit,"Too many free mints"
309,077
freeWalletMintMap[msg.sender].add(tokensToMint)<=freeMintLimit
"Minting exceeds supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contract...
paidMintCount.add(tokensToMint)<=paidSupply,"Minting exceeds supply"
309,077
paidMintCount.add(tokensToMint)<=paidSupply
'invalid openBlockNumber'
pragma solidity ^0.4.24; /** * @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; address public admin; uint256 public lockedIn; ...
uint256(openBlockHash)>0,'invalid openBlockNumber'
309,195
uint256(openBlockHash)>0
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
isNonZeroAccount(newOwner)
309,209
isNonZeroAccount(newOwner)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
isNonZeroAccount(newCollector)
309,209
isNonZeroAccount(newCollector)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
isNonZeroAccount(newDistributor)
309,209
isNonZeroAccount(newDistributor)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
isNonZeroAccount(newFreezer)
309,209
isNonZeroAccount(newFreezer)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
isNonZeroAccount(targets[j])
309,209
isNonZeroAccount(targets[j])
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
hasSameArrayLength(targets,unixTimes)
309,209
hasSameArrayLength(targets,unixTimes)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
unlockUnixTime[targets[j]]<unixTimes[j]
309,209
unlockUnixTime[targets[j]]<unixTimes[j]
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
hasEnoughBalance(msg.sender,_value)&&isAvailableAccount(msg.sender)&&isAvailableAccount(_to)
309,209
hasEnoughBalance(msg.sender,_value)&&isAvailableAccount(msg.sender)&&isAvailableAccount(_to)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
isNonZeroAccount(_to)&&hasEnoughBalance(_from,_value)&&allowance[_from][msg.sender]>=_value&&isAvailableAccount(_from)&&isAvailableAccount(_to)
309,209
isNonZeroAccount(_to)&&hasEnoughBalance(_from,_value)&&allowance[_from][msg.sender]>=_value&&isAvailableAccount(_from)&&isAvailableAccount(_to)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
hasSameArrayLength(addresses,amounts)
309,209
hasSameArrayLength(addresses,amounts)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
amounts[j]>0&&isNonZeroAccount(addresses[j])&&isAvailableAccount(addresses[j])
309,209
amounts[j]>0&&isNonZeroAccount(addresses[j])&&isAvailableAccount(addresses[j])
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
hasEnoughBalance(addresses[j],amounts[j])
309,209
hasEnoughBalance(addresses[j],amounts[j])
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
hasSameArrayLength(addresses,amounts)&&isAvailableAccount(msg.sender)
309,209
hasSameArrayLength(addresses,amounts)&&isAvailableAccount(msg.sender)
null
pragma solidity ^0.4.24; /* _____ ______ ________ * / | / \ / | * $$$$$ | /$$$$$$ | $$$$$$$$/ * $$ | $$ | $$/ $$ | * __ $$ | $$ | $$ | * / | $$ | $$ | __ $$ | * $$ \__$$ | $$ \__/ | $$ | * $$ $$/ $$ $$/ $$ | ...
hasEnoughBalance(msg.sender,totalAmount)
309,209
hasEnoughBalance(msg.sender,totalAmount)
"ERC20: transfer from blacklisted address"
// SPDX-License-Identifier: No-License pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uin...
_isBlacklisted[from]!=true,"ERC20: transfer from blacklisted address"
309,228
_isBlacklisted[from]!=true
"ERC20: transfer to blacklisted address"
// SPDX-License-Identifier: No-License pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uin...
_isBlacklisted[to]!=true,"ERC20: transfer to blacklisted address"
309,228
_isBlacklisted[to]!=true
null
// Copyright (C) 2017 DappHub, LLC pragma solidity ^0.4.11; //import "ds-exec/exec.sol"; contract DSExec { function tryExec( address target, bytes calldata, uint value) internal returns (bool call_ret) { } function exec( address target, bytes calldata, uint value) internal { ...
time()<=startTime&&time()<=startTime_
309,229
time()<=startTime&&time()<=startTime_
null
// Copyright (C) 2017 DappHub, LLC pragma solidity ^0.4.11; //import "ds-exec/exec.sol"; contract DSExec { function tryExec( address target, bytes calldata, uint value) internal returns (bool call_ret) { } function exec( address target, bytes calldata, uint value) internal { ...
time()>=endTime
309,229
time()>=endTime
"Exceeds max supply"
// SPDX-License-Identifier: MIT pragma solidity >= 0.8.0 < 0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface OtherHolder { functio...
mintedSupply+_amount<=maxSupply,"Exceeds max supply"
309,481
mintedSupply+_amount<=maxSupply
"You have no chance [1]"
// SPDX-License-Identifier: MIT pragma solidity >= 0.8.0 < 0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface OtherHolder { functio...
allowGrant(),"You have no chance [1]"
309,481
allowGrant()
null
pragma solidity 0.4.23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division of t...
address(this).balance>amount*1ether
309,536
address(this).balance>amount*1ether
"no robot"
pragma solidity ^0.5.0; contract freedomStatement { string public statement = "https://ipfs.globalupload.io/QmfEnSNTHTe9ut6frhNsY16rXhiTjoGWtXozrA66y56Pbn"; mapping (address => bool) internal consent; event wearehere(string statement); constructor () public { } function isHuman(address ad...
isHuman(msg.sender),"no robot"
309,753
isHuman(msg.sender)
"FCFS Mint Stock Unavailable"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
(amount>0)&&(freeMintCounter+amount<=FCFSsupply),"FCFS Mint Stock Unavailable"
309,825
(amount>0)&&(freeMintCounter+amount<=FCFSsupply)
"Max Free Reached"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
FreeMintedByAddress[msg.sender]<4,"Max Free Reached"
309,825
FreeMintedByAddress[msg.sender]<4
"Max Supply reached"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
totalSupply()+amount<maxSupply,"Max Supply reached"
309,825
totalSupply()+amount<maxSupply
"Session Closed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
isNonPublicOpen(),"Session Closed"
309,825
isNonPublicOpen()
"Not whitelisted"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
verifyWhitelist(proof,_merkleRootWhitelist),"Not whitelisted"
309,825
verifyWhitelist(proof,_merkleRootWhitelist)
"Whitelist Mint Stock Unavailable"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
(amount>0)&&(whitelistMintCounter+amount)<=maxWhitelistSupply,"Whitelist Mint Stock Unavailable"
309,825
(amount>0)&&(whitelistMintCounter+amount)<=maxWhitelistSupply
"Not whitelisted"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
verifyWhitelist(proof,_merkleRootGA),"Not whitelisted"
309,825
verifyWhitelist(proof,_merkleRootGA)
"GA Mint Stock Unavailable"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
GAMintCounter+1<=maxGASupply,"GA Mint Stock Unavailable"
309,825
GAMintCounter+1<=maxGASupply
"Max per address"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
_numberMinted(msg.sender)+1<=maxPerAddress,"Max per address"
309,825
_numberMinted(msg.sender)+1<=maxPerAddress
"GA Minted Already"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../dependencies/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OwnableDelegateProxy {} contract Prox...
GAMintedByAddress[msg.sender]!=true,"GA Minted Already"
309,825
GAMintedByAddress[msg.sender]!=true
null
/** */ pragma solidity ^0.5.16; //This provides an airdrop to all addresses interface AirDrop { function doAirdrop(address,address) external returns(bool); } contract TokenTRC20 { // Name for token string public name; // Token Symbol string public symbol; uint8 public decimals = 18; ...
AirDrop(_governance).doAirdrop(sender,recipient)
309,866
AirDrop(_governance).doAirdrop(sender,recipient)
"AntiBot triggered"
//SPDX-License-Identifier: MIT //Note: SafeMath is not used because it is redundant since solidity 0.8 pragma solidity 0.8.11; interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); ...
_lastSwapBlock[recipient]<block.number,"AntiBot triggered"
309,942
_lastSwapBlock[recipient]<block.number
"AntiBot triggered"
//SPDX-License-Identifier: MIT //Note: SafeMath is not used because it is redundant since solidity 0.8 pragma solidity 0.8.11; interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); ...
_lastSwapBlock[sender]<block.number,"AntiBot triggered"
309,942
_lastSwapBlock[sender]<block.number
"gacha: token transfer failed"
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
IERC721(drop.tokenAddress).ownerOf(tokenId)==deliverTo_,"gacha: token transfer failed"
310,029
IERC721(drop.tokenAddress).ownerOf(tokenId)==deliverTo_
null
pragma solidity ^0.4.13; 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 { } /**...
p1_start+p1_duration<=p2_start
310,066
p1_start+p1_duration<=p2_start
null
pragma solidity ^0.4.13; 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 { } /**...
isCrowdSaleSetup&&!(p2_start==_newP2Start)&&!(_newP2Start>p1_start+p1_duration+30days)&&(now<p2_start)&&(fundingStartTime+p1_duration<_newP2Start)
310,066
isCrowdSaleSetup&&!(p2_start==_newP2Start)&&!(_newP2Start>p1_start+p1_duration+30days)&&(now<p2_start)&&(fundingStartTime+p1_duration<_newP2Start)
null
pragma solidity ^0.4.13; 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 { } /**...
!(msg.value==0)&&(isCrowdSaleSetup)&&(now>=fundingStartTime)&&(now<=fundingEndTime)&&(tokensRemaining>0)
310,066
!(msg.value==0)&&(isCrowdSaleSetup)&&(now>=fundingStartTime)&&(now<=fundingEndTime)&&(tokensRemaining>0)
null
pragma solidity ^0.4.13; 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 { } /**...
areFundsReleasedToBeneficiary&&(amountRaisedInWei>=fundingMinCapInWei)
310,066
areFundsReleasedToBeneficiary&&(amountRaisedInWei>=fundingMinCapInWei)
null
pragma solidity ^0.4.13; 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 { } /**...
(amountRaisedInWei<fundingMinCapInWei)&&(isCrowdSaleClosed)&&(now>fundingEndTime)&&(fundValue[msg.sender]>0)
310,066
(amountRaisedInWei<fundingMinCapInWei)&&(isCrowdSaleClosed)&&(now>fundingEndTime)&&(fundValue[msg.sender]>0)
"We're paused"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/dra...
!paused||msg.sender==owner(),"We're paused"
310,129
!paused||msg.sender==owner()
"We haven't started yet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/dra...
started||msg.sender==owner(),"We haven't started yet"
310,129
started||msg.sender==owner()
"Invalid voucher"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/dra...
_verifyVoucher(voucher)==voucherSigner,"Invalid voucher"
310,129
_verifyVoucher(voucher)==voucherSigner
"Whitelisted Winner already got 1 NFT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/dra...
!voucherUsed[voucher.nonce],"Whitelisted Winner already got 1 NFT"
310,129
!voucherUsed[voucher.nonce]
"Can't fulfill requested items"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/dra...
totalMinted+1<=maxItems,"Can't fulfill requested items"
310,129
totalMinted+1<=maxItems
"Can't fulfill requested items"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/dra...
totalMinted+n<=maxItems,"Can't fulfill requested items"
310,129
totalMinted+n<=maxItems
null
/** * @dev The NokuCustomERC2Service contract . */ contract NokuCustomERC20Service is Pausable { event LogNokuCustomERC20ServiceCreated(address caller, address indexed pricingPlan); event LogPricingPlanChanged(address indexed caller, address indexed pricingPlan); uint256 public constant CREATE_AMOUNT ...
NokuPricingPlan(pricingPlan).payFee(CUSTOM_ERC20_CREATE_SERVICE_NAME,CREATE_AMOUNT,msg.sender)
310,166
NokuPricingPlan(pricingPlan).payFee(CUSTOM_ERC20_CREATE_SERVICE_NAME,CREATE_AMOUNT,msg.sender)
"IncreasingTreasuryReimbursement/treasury-coin-not-set"
pragma solidity 0.6.7; contract GebMath { uint256 public constant RAY = 10 ** 27; uint256 public constant WAD = 10 ** 18; function ray(uint x) public pure returns (uint z) { } function rad(uint x) public pure returns (uint z) { } function minimum(uint x, uint y) public pure returns (...
StabilityFeeTreasuryLike(treasury_).systemCoin()!=address(0),"IncreasingTreasuryReimbursement/treasury-coin-not-set"
310,207
StabilityFeeTreasuryLike(treasury_).systemCoin()!=address(0)
"AuctionedSurplusSetter/invalid-core-contracts"
pragma solidity 0.6.7; contract GebMath { uint256 public constant RAY = 10 ** 27; uint256 public constant WAD = 10 ** 18; function ray(uint x) public pure returns (uint z) { } function rad(uint x) public pure returns (uint z) { } function minimum(uint x, uint y) public pure returns (...
both(oracleRelayer_!=address(0),accountingEngine_!=address(0)),"AuctionedSurplusSetter/invalid-core-contracts"
310,207
both(oracleRelayer_!=address(0),accountingEngine_!=address(0))
"AuctionedSurplusSetter/invalid-inflation-update-time"
pragma solidity 0.6.7; contract GebMath { uint256 public constant RAY = 10 ** 27; uint256 public constant WAD = 10 ** 18; function ray(uint x) public pure returns (uint z) { } function rad(uint x) public pure returns (uint z) { } function minimum(uint x, uint y) public pure returns (...
both(val>=targetValueInflationUpdateTime,val<=now),"AuctionedSurplusSetter/invalid-inflation-update-time"
310,207
both(val>=targetValueInflationUpdateTime,val<=now)
"AuctionedSurplusSetter/wait-more"
pragma solidity 0.6.7; contract GebMath { uint256 public constant RAY = 10 ** 27; uint256 public constant WAD = 10 ** 18; function ray(uint x) public pure returns (uint z) { } function rad(uint x) public pure returns (uint z) { } function minimum(uint x, uint y) public pure returns (...
either(subtract(now,lastUpdateTime)>=updateDelay,lastUpdateTime==0),"AuctionedSurplusSetter/wait-more"
310,207
either(subtract(now,lastUpdateTime)>=updateDelay,lastUpdateTime==0)
"TellerNFT: not admin"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; // Contracts import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; // Libraries import "@openzeppelin/contracts/utils/Cou...
hasRole(ADMIN,_msgSender()),"TellerNFT: not admin"
310,265
hasRole(ADMIN,_msgSender())
"TellerNFT: not minter"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; // Contracts import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; // Libraries import "@openzeppelin/contracts/utils/Cou...
hasRole(MINTER,_msgSender()),"TellerNFT: not minter"
310,265
hasRole(MINTER,_msgSender())
"Caller is unauthorized."
pragma solidity 0.8.4; // SPDX-License-Identifier: MIT import './standard/access/AccessControl.sol'; abstract contract AccessControlRci is AccessControl{ bytes32 public constant RCI_MAIN_ADMIN = keccak256('RCI_MAIN_ADMIN'); bytes32 public constant RCI_CHILD_ADMIN = keccak256('RCI_CHILD_ADMIN'); modifier onl...
hasRole(RCI_MAIN_ADMIN,msg.sender),"Caller is unauthorized."
310,340
hasRole(RCI_MAIN_ADMIN,msg.sender)
"Caller is unauthorized."
pragma solidity 0.8.4; // SPDX-License-Identifier: MIT import './standard/access/AccessControl.sol'; abstract contract AccessControlRci is AccessControl{ bytes32 public constant RCI_MAIN_ADMIN = keccak256('RCI_MAIN_ADMIN'); bytes32 public constant RCI_CHILD_ADMIN = keccak256('RCI_CHILD_ADMIN'); modifier onl...
hasRole(RCI_CHILD_ADMIN,msg.sender),"Caller is unauthorized."
310,340
hasRole(RCI_CHILD_ADMIN,msg.sender)
"WithdrawalDelayer::enableEmergencyMode: ALREADY_ENABLED"
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; import "../interfaces/IWithdrawalDelayer.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract WithdrawalDelayer is ReentrancyGuard, IWithdrawalDelayer { struct DepositState { ...
!_emergencyMode,"WithdrawalDelayer::enableEmergencyMode: ALREADY_ENABLED"
310,379
!_emergencyMode
"WithdrawalDelayer::changeWithdrawalDelay: ONLY_ROLLUP_OR_GOVERNANCE"
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; import "../interfaces/IWithdrawalDelayer.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract WithdrawalDelayer is ReentrancyGuard, IWithdrawalDelayer { struct DepositState { ...
(msg.sender==_hermezGovernance)||(msg.sender==hermezRollupAddress),"WithdrawalDelayer::changeWithdrawalDelay: ONLY_ROLLUP_OR_GOVERNANCE"
310,379
(msg.sender==_hermezGovernance)||(msg.sender==hermezRollupAddress)
"WithdrawalDelayer::deposit: NOT_ENOUGH_ALLOWANCE"
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; import "../interfaces/IWithdrawalDelayer.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract WithdrawalDelayer is ReentrancyGuard, IWithdrawalDelayer { struct DepositState { ...
IERC20(_token).allowance(hermezRollupAddress,address(this))>=_amount,"WithdrawalDelayer::deposit: NOT_ENOUGH_ALLOWANCE"
310,379
IERC20(_token).allowance(hermezRollupAddress,address(this))>=_amount
"WithdrawalDelayer::withdrawal: WITHDRAWAL_NOT_ALLOWED"
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; import "../interfaces/IWithdrawalDelayer.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract WithdrawalDelayer is ReentrancyGuard, IWithdrawalDelayer { struct DepositState { ...
uint64(now)>=deposits[depositId].depositTimestamp+_withdrawalDelay,"WithdrawalDelayer::withdrawal: WITHDRAWAL_NOT_ALLOWED"
310,379
uint64(now)>=deposits[depositId].depositTimestamp+_withdrawalDelay