comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
null
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; pragma abicoder v2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libraries/LibPart.sol"; import "../royalties/RoyaltiesV2.sol"; import "../libraries/ArrayUtils.sol"; import "../libraries/SaleKin...
validateOrderParameters(buy)
32,882
validateOrderParameters(buy)
null
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; pragma abicoder v2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libraries/LibPart.sol"; import "../royalties/RoyaltiesV2.sol"; import "../libraries/ArrayUtils.sol"; import "../libraries/SaleKin...
validateOrderParameters(sell)
32,882
validateOrderParameters(sell)
"PaceArtExchange:: Order not matched"
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; pragma abicoder v2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libraries/LibPart.sol"; import "../royalties/RoyaltiesV2.sol"; import "../libraries/ArrayUtils.sol"; import "../libraries/SaleKin...
ordersCanMatch(buy,sell),"PaceArtExchange:: Order not matched"
32,882
ordersCanMatch(buy,sell)
null
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; pragma abicoder v2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libraries/LibPart.sol"; import "../royalties/RoyaltiesV2.sol"; import "../libraries/ArrayUtils.sol"; import "../libraries/SaleKin...
ArrayUtils.arrayEq(buy.callData,sell.callData)
32,882
ArrayUtils.arrayEq(buy.callData,sell.callData)
"Ownable: caller is not the administrator"
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_isAdmin[_msgSender()]==true,"Ownable: caller is not the administrator"
32,892
_isAdmin[_msgSender()]==true
"Ownable: address is already admin"
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_isAdmin[newAdmin]==false,"Ownable: address is already admin"
32,892
_isAdmin[newAdmin]==false
"Ownable: address is not admin"
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_isAdmin[oldAdmin]==true,"Ownable: address is not admin"
32,892
_isAdmin[oldAdmin]==true
"ERC20: sender address "
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_blacklist[sender]==false,"ERC20: sender address "
32,892
_blacklist[sender]==false
"ERC20: You can't lock more than account balances"
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_balances[account]>=sys.amountToken.add(amountLock),"ERC20: You can't lock more than account balances"
32,892
_balances[account]>=sys.amountToken.add(amountLock)
"ERC20: Address already in blacklist"
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_blacklist[account]==false,"ERC20: Address already in blacklist"
32,892
_blacklist[account]==false
"ERC20: Address not blacklisted"
/* Akita Cookies ( AOOKIES🍪 ) mmmmhhh t.me/aookies //CMC and CG application done. //Marketing paid. //Liqudity Locked //No Devwallets */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable)...
_blacklist[account]==true,"ERC20: Address not blacklisted"
32,892
_blacklist[account]==true
"Already minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/...
!_exists(requestedDay),"Already minted"
33,007
!_exists(requestedDay)
"not exists"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/...
_exists(_ts),"not exists"
33,007
_exists(_ts)
"LockStakingRewardSameTokenFixedAPY: This stake nonce was withdrawn"
pragma solidity =0.8.0; 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(address owner, address spender) ex...
stakeAmounts[msg.sender][nonce]>0,"LockStakingRewardSameTokenFixedAPY: This stake nonce was withdrawn"
33,024
stakeAmounts[msg.sender][nonce]>0
"LockStakingRewardSameTokenFixedAPY: Locked"
pragma solidity =0.8.0; 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(address owner, address spender) ex...
stakeLocks[msg.sender][nonce]<block.timestamp,"LockStakingRewardSameTokenFixedAPY: Locked"
33,024
stakeLocks[msg.sender][nonce]<block.timestamp
"tokenXferFail"
pragma solidity ^0.6.7; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } f...
ERC20Token(REWARD_TOKEN).transferFrom(address(msg.sender),address(this),amount),"tokenXferFail"
33,030
ERC20Token(REWARD_TOKEN).transferFrom(address(msg.sender),address(this),amount)
"tokenXferFail"
pragma solidity ^0.6.7; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } f...
ERC20Token(LIQUIDITY_TOKEN).transferFrom(address(msg.sender),address(this),stakeTokens),"tokenXferFail"
33,030
ERC20Token(LIQUIDITY_TOKEN).transferFrom(address(msg.sender),address(this),stakeTokens)
"previousLiquidityInSlot"
pragma solidity ^0.6.7; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } f...
(liquidityRewardData[msg.sender][idx].quantity==0),"previousLiquidityInSlot"
33,030
(liquidityRewardData[msg.sender][idx].quantity==0)
"RewardClaimedAlready"
pragma solidity ^0.6.7; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } f...
liquidityRewardData[msg.sender][idx].rewardClaimed==false,"RewardClaimedAlready"
33,030
liquidityRewardData[msg.sender][idx].rewardClaimed==false
"LiquidityAlreadyClaimed"
pragma solidity ^0.6.7; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } f...
liquidityRewardData[msg.sender][idx].liquidityClaimed==false,"LiquidityAlreadyClaimed"
33,030
liquidityRewardData[msg.sender][idx].liquidityClaimed==false
"TempleTeamPayments: Member not found"
//SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./TempleERC20Token.sol"; contract TempleTeamPayments is Ownable { uint256 public immutable roundStartDate; uint256 p...
allocation[_address]>0,"TempleTeamPayments: Member not found"
33,099
allocation[_address]>0
"TempleTeamPayments: Address cannot be 0x0"
//SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./TempleERC20Token.sol"; contract TempleTeamPayments is Ownable { uint256 public immutable roundStartDate; uint256 p...
_addresses[i]!=addressZero,"TempleTeamPayments: Address cannot be 0x0"
33,099
_addresses[i]!=addressZero
"Caller is not a setter"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./interfaces/IBPD.sol"; contract BPD is IBPD, AccessControl { using SafeMath for uint25...
hasRole(SETTER_ROLE,_msgSender()),"Caller is not a setter"
33,106
hasRole(SETTER_ROLE,_msgSender())
"Caller is not a swap role"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./interfaces/IBPD.sol"; contract BPD is IBPD, AccessControl { using SafeMath for uint25...
hasRole(SWAP_ROLE,_msgSender()),"Caller is not a swap role"
33,106
hasRole(SWAP_ROLE,_msgSender())
"Caller is not a subbalance role"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./interfaces/IBPD.sol"; contract BPD is IBPD, AccessControl { using SafeMath for uint25...
hasRole(SUBBALANCE_ROLE,_msgSender()),"Caller is not a subbalance role"
33,106
hasRole(SUBBALANCE_ROLE,_msgSender())
"Already transferred"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./interfaces/IBPD.sol"; contract BPD is IBPD, AccessControl { using SafeMath for uint25...
!poolTransferred[i],"Already transferred"
33,106
!poolTransferred[i]
"check ticket fail"
pragma solidity 0.5.7; import "./SafeMath.sol"; import "./AddrMInterface.sol"; interface TickectInerface{ function calDeductionADC(uint256 _value,bool isIn_) external returns(uint256 disADC_); } interface ERC20 { function balanceOf(address) external view returns (uint256); function distroy(address _owner,uint25...
checkTicket(msg.sender,msg.value),"check ticket fail"
33,186
checkTicket(msg.sender,msg.value)
"ply not active"
pragma solidity 0.5.7; import "./SafeMath.sol"; import "./AddrMInterface.sol"; interface TickectInerface{ function calDeductionADC(uint256 _value,bool isIn_) external returns(uint256 disADC_); } interface ERC20 { function balanceOf(address) external view returns (uint256); function distroy(address _owner,uint25...
plyr[RID][pid].isActive,"ply not active"
33,186
plyr[RID][pid].isActive
"pool not withdraw balance"
pragma solidity 0.5.7; import "./SafeMath.sol"; import "./AddrMInterface.sol"; interface TickectInerface{ function calDeductionADC(uint256 _value,bool isIn_) external returns(uint256 disADC_); } interface ERC20 { function balanceOf(address) external view returns (uint256); function distroy(address _owner,uint25...
mainPoolWithdrawBalance[RID]>0,"pool not withdraw balance"
33,186
mainPoolWithdrawBalance[RID]>0
"not adc to buy out tikcet"
pragma solidity 0.5.7; import "./SafeMath.sol"; import "./AddrMInterface.sol"; interface TickectInerface{ function calDeductionADC(uint256 _value,bool isIn_) external returns(uint256 disADC_); } interface ERC20 { function balanceOf(address) external view returns (uint256); function distroy(address _owner,uint25...
adcERC20.balanceOf(msg.sender)>disAmount,"not adc to buy out tikcet"
33,186
adcERC20.balanceOf(msg.sender)>disAmount
"not active"
pragma solidity 0.5.7; import "./SafeMath.sol"; import "./AddrMInterface.sol"; interface TickectInerface{ function calDeductionADC(uint256 _value,bool isIn_) external returns(uint256 disADC_); } interface ERC20 { function balanceOf(address) external view returns (uint256); function distroy(address _owner,uint25...
rPlyer.isActive,"not active"
33,186
rPlyer.isActive
"not enought one day"
pragma solidity 0.5.7; import "./SafeMath.sol"; import "./AddrMInterface.sol"; interface TickectInerface{ function calDeductionADC(uint256 _value,bool isIn_) external returns(uint256 disADC_); } interface ERC20 { function balanceOf(address) external view returns (uint256); function distroy(address _owner,uint25...
now-rPlyer.lastCalcSITime>oneDay,"not enought one day"
33,186
now-rPlyer.lastCalcSITime>oneDay
null
pragma solidity ^0.4.13; library ECRecovery { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. * @param sig bytes signature, the signature is generated using web3.eth....
multisigs[msigId].owner==msg.sender
33,201
multisigs[msigId].owner==msg.sender
null
pragma solidity ^0.4.13; library ECRecovery { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. * @param sig bytes signature, the signature is generated using web3.eth....
multisigs[msigId].owner==msg.sender||multisigs[msigId].authority==msg.sender
33,201
multisigs[msigId].owner==msg.sender||multisigs[msigId].authority==msg.sender
null
pragma solidity ^0.4.13; library ECRecovery { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. * @param sig bytes signature, the signature is generated using web3.eth....
multisigs[msigId].deposit>=amount+fee
33,201
multisigs[msigId].deposit>=amount+fee
null
pragma solidity ^0.4.13; library ECRecovery { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. * @param sig bytes signature, the signature is generated using web3.eth....
!isAntecedentHashedSecret[hashedSecret]
33,201
!isAntecedentHashedSecret[hashedSecret]
null
pragma solidity ^0.4.13; library ECRecovery { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. * @param sig bytes signature, the signature is generated using web3.eth....
sha256(secret)==atomicswaps[swapId].hashedSecret
33,201
sha256(secret)==atomicswaps[swapId].hashedSecret
"Invalid NFT"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; /** * @notice Airdrop contract for Refinable NFT M...
address(_token)!=address(0),"Invalid NFT"
33,244
address(_token)!=address(0)
"Invalid NFT"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; /** * @notice Airdrop contract for Refinable NFT M...
address(_tokenV2)!=address(0),"Invalid NFT"
33,244
address(_tokenV2)!=address(0)
"ERC1155Airdrop: Caller does not have amount of tokens"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; /** * @notice Airdrop contract for Refinable NFT M...
_token.balanceOf(_msgSender(),_tokenId)>=_recipients.length,"ERC1155Airdrop: Caller does not have amount of tokens"
33,244
_token.balanceOf(_msgSender(),_tokenId)>=_recipients.length
"ERC1155Airdrop: Owner has not approved"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; /** * @notice Airdrop contract for Refinable NFT M...
_token.isApprovedForAll(_msgSender(),address(this)),"ERC1155Airdrop: Owner has not approved"
33,244
_token.isApprovedForAll(_msgSender(),address(this))
"TradeTokenManager: Token is not added"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; import "../interfaces/ITokenManager.sol"; import "../roles/AdminRole.sol"; import "../tge/interfaces/IBEP20.sol"; contract TradeTokenManager is ITokenManager, AdminRole { struct TradeToken { string symbol; bool created; bool act...
tokens[_token].created!=false,"TradeTokenManager: Token is not added"
33,251
tokens[_token].created!=false
"TradeTokenManager: Token already exist"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; import "../interfaces/ITokenManager.sol"; import "../roles/AdminRole.sol"; import "../tge/interfaces/IBEP20.sol"; contract TradeTokenManager is ITokenManager, AdminRole { struct TradeToken { string symbol; bool created; bool act...
tokens[_erc20Token].created==false,"TradeTokenManager: Token already exist"
33,251
tokens[_erc20Token].created==false
"TradeTokenManager: Token is not ERC20 standard"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; import "../interfaces/ITokenManager.sol"; import "../roles/AdminRole.sol"; import "../tge/interfaces/IBEP20.sol"; contract TradeTokenManager is ITokenManager, AdminRole { struct TradeToken { string symbol; bool created; bool act...
IBEP20(_erc20Token).totalSupply()!=0,"TradeTokenManager: Token is not ERC20 standard"
33,251
IBEP20(_erc20Token).totalSupply()!=0
"invalid signature"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "../ERC1155BaseV3.sol"; contract RefinableERC1155WhiteListedTokenV3 is ERC1155BaseV3 { using ECDSA for bytes32; address payable public defaultRoyaltyR...
hasRole(SIGNER_ROLE,keccak256(abi.encodePacked(address(this),_tokenId,_msgSender())).toEthSignedMessageHash().recover(_signature)),"invalid signature"
33,285
hasRole(SIGNER_ROLE,keccak256(abi.encodePacked(address(this),_tokenId,_msgSender())).toEthSignedMessageHash().recover(_signature))
null
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; import './tge/interfaces/IBEP20.sol'; contract Disperse { function disperseBNB( address payable[] calldata recipients, uint256[] calldata values ) external payable { } function disperseToken( IBEP20 token, address[] calldata recipie...
token.transferFrom(msg.sender,address(this),total)
33,303
token.transferFrom(msg.sender,address(this),total)
null
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; import './tge/interfaces/IBEP20.sol'; contract Disperse { function disperseBNB( address payable[] calldata recipients, uint256[] calldata values ) external payable { } function disperseToken( IBEP20 token, address[] calldata recipie...
token.transfer(recipients[i],values[i])
33,303
token.transfer(recipients[i],values[i])
null
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; import './tge/interfaces/IBEP20.sol'; contract Disperse { function disperseBNB( address payable[] calldata recipients, uint256[] calldata values ) external payable { } function disperseToken( IBEP20 token, address[] calldata recipie...
token.transferFrom(msg.sender,recipients[i],values[i])
33,303
token.transferFrom(msg.sender,recipients[i],values[i])
"Ownable: caller is not the proxy"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "../interfaces/IRefinableToken.sol"; import "../interfaces/IServiceFee.sol"; /** * @notice Service Fee ...
hasRole(PROXY_ROLE,_msgSender()),"Ownable: caller is not the proxy"
33,308
hasRole(PROXY_ROLE,_msgSender())
"ServiceFee.addProxy: address is not a contract address"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "../interfaces/IRefinableToken.sol"; import "../interfaces/IServiceFee.sol"; /** * @notice Service Fee ...
_proxyAddr.isContract(),"ServiceFee.addProxy: address is not a contract address"
33,308
_proxyAddr.isContract()
"Adding a claim needs to happen with the same claimer as before"
pragma solidity 0.4.24; /// @dev `Owned` is a base level contract that assigns an `owner` that can be /// later changed contract Owned { /// @dev `owner` is the only address that can call a function with this /// modifier modifier onlyOwner { } address public owner; /// @notice The Con...
db.getAddress(keccak256(abi.encodePacked("claims.solver_address",_platform,_platformId)))==_solverAddress,"Adding a claim needs to happen with the same claimer as before"
33,322
db.getAddress(keccak256(abi.encodePacked("claims.solver_address",_platform,_platformId)))==_solverAddress
"Synth already exists"
/* / | __ / ____| / | |__) | | | / / | _ / | | / ____ | | | |____ /_/ _ |_| _ _____| * ARC: global/SynthRegistry.sol * * Latest source (may be newer): https://github.com/arcxgame/contracts/blob/master/contracts/global/SynthRegistry.sol * * Contract Dependencies: * - Co...
synths[symbolKey]==address(0),"Synth already exists"
33,346
synths[symbolKey]==address(0)
"Synth address already exists"
/* / | __ / ____| / | |__) | | | / / | _ / | | / ____ | | | |____ /_/ _ |_| _ _____| * ARC: global/SynthRegistry.sol * * Latest source (may be newer): https://github.com/arcxgame/contracts/blob/master/contracts/global/SynthRegistry.sol * * Contract Dependencies: * - Co...
synthsByAddress[address(synth)].symbolKey==bytes32(0),"Synth address already exists"
33,346
synthsByAddress[address(synth)].symbolKey==bytes32(0)
"Synth does not exist"
/* / | __ / ____| / | |__) | | | / / | _ / | | / ____ | | | |____ /_/ _ |_| _ _____| * ARC: global/SynthRegistry.sol * * Latest source (may be newer): https://github.com/arcxgame/contracts/blob/master/contracts/global/SynthRegistry.sol * * Contract Dependencies: * - Co...
address(synths[symbolKey])!=address(0),"Synth does not exist"
33,346
address(synths[symbolKey])!=address(0)
"Synth supply exists"
/* / | __ / ____| / | |__) | | | / / | _ / | | / ____ | | | |____ /_/ _ |_| _ _____| * ARC: global/SynthRegistry.sol * * Latest source (may be newer): https://github.com/arcxgame/contracts/blob/master/contracts/global/SynthRegistry.sol * * Contract Dependencies: * - Co...
IERC20(address(synths[symbolKey])).totalSupply()==0,"Synth supply exists"
33,346
IERC20(address(synths[symbolKey])).totalSupply()==0
"Not enough funds."
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
jackpotSize+lockedInBets+increaseAmount<=address(this).balance,"Not enough funds."
33,348
jackpotSize+lockedInBets+increaseAmount<=address(this).balance
"Not enough funds."
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
jackpotSize+lockedInBets+withdrawAmount<=address(this).balance,"Not enough funds."
33,348
jackpotSize+lockedInBets+withdrawAmount<=address(this).balance
"Cannot afford to lose this bet."
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
jackpotSize+lockedInBets<=address(this).balance,"Cannot afford to lose this bet."
33,348
jackpotSize+lockedInBets<=address(this).balance
null
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
blockhash(placeBlockNumber)==blockHash
33,348
blockhash(placeBlockNumber)==blockHash
null
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
orrectReceipt(4+32+32+4
33,348
4+32+32+4
null
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
blockhash(canonicalBlockNumber)==canonicalHash
33,348
blockhash(canonicalBlockNumber)==canonicalHash
"Bet doesn't even cover house edge."
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
houseEdge+jackpotFee<=amount,"Bet doesn't even cover house edge."
33,348
houseEdge+jackpotFee<=amount
"Shift bounds check."
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
shift+32<=blobLength,"Shift bounds check."
33,348
shift+32<=blobLength
"Shift bounds check."
pragma solidity ^0.4.24; // * bet.fomofeast.top - fair games that pay Ether. // // * Uses hybrid commit-reveal + block hash random number generation that is immune // to tampering by players, house and miners. Apart from being fully transparent, // this also allows arbitrarily high bets. contract FomoFeastBet...
unclesShift+uncleHeaderLength<=unclesLength,"Shift bounds check."
33,348
unclesShift+uncleHeaderLength<=unclesLength
"The amount of mints would exceed the supply!"
contract DIEDED is DIEDED_BASE, ERC721Enumerable { string constant INVALID_INDEX = "005007"; uint256[] internal tokens; mapping(uint256 => uint256) internal idToIndex; mapping(address => uint256[]) internal ownerToIds; mapping(uint256 => uint256) internal idToOwnerIndex; mapping(address => uint...
mint_num+nextMintID<MAX_MINT_NR+1,"The amount of mints would exceed the supply!"
33,416
mint_num+nextMintID<MAX_MINT_NR+1
"Claiming too many assets per address"
contract DIEDED is DIEDED_BASE, ERC721Enumerable { string constant INVALID_INDEX = "005007"; uint256[] internal tokens; mapping(uint256 => uint256) internal idToIndex; mapping(address => uint256[]) internal ownerToIds; mapping(uint256 => uint256) internal idToOwnerIndex; mapping(address => uint...
_getOwnerNFTCount(msg.sender)+mint_num<=5,"Claiming too many assets per address"
33,416
_getOwnerNFTCount(msg.sender)+mint_num<=5
"003006"
contract DIEDED is DIEDED_BASE, ERC721Enumerable { string constant INVALID_INDEX = "005007"; uint256[] internal tokens; mapping(uint256 => uint256) internal idToIndex; mapping(address => uint256[]) internal ownerToIds; mapping(uint256 => uint256) internal idToOwnerIndex; mapping(address => uint...
idToOwner[_tokenId]==_from,"003006"
33,416
idToOwner[_tokenId]==_from
"003007"
contract DIEDED is DIEDED_BASE, ERC721Enumerable { string constant INVALID_INDEX = "005007"; uint256[] internal tokens; mapping(uint256 => uint256) internal idToIndex; mapping(address => uint256[]) internal ownerToIds; mapping(uint256 => uint256) internal idToOwnerIndex; mapping(address => uint...
idToOwner[_tokenId]==address(0),"003007"
33,416
idToOwner[_tokenId]==address(0)
"Insufficient funds"
// produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev In...
token.transferFrom(msg.sender,this,amount),"Insufficient funds"
33,451
token.transferFrom(msg.sender,this,amount)
"Sold out"
// produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev In...
token.balanceOf(this)>=amount,"Sold out"
33,451
token.balanceOf(this)>=amount
"DIRECT_MINT_DISALLOWED"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /* ▄█▀▀▀█▄█ ▀███▀▀▀██▄ ▄█▀▀▀█▄█ ▄██ ▀█ ██ ██ ▄██ ▀█ ▀███▄ ██ ██ ▀███▄ ▀█████▄ ██▀▀▀█▄▄ ▀█████▄ ▄ ▀██ ██ ▀█ ▄ ▀██ ██ ██ ██ ▄█ ██ ██ █▀█████▀ ▄████████ ...
matchAddresSigner(hash,signature),"DIRECT_MINT_DISALLOWED"
33,482
matchAddresSigner(hash,signature)
"HASH_USED"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /* ▄█▀▀▀█▄█ ▀███▀▀▀██▄ ▄█▀▀▀█▄█ ▄██ ▀█ ██ ██ ▄██ ▀█ ▀███▄ ██ ██ ▀███▄ ▀█████▄ ██▀▀▀█▄▄ ▀█████▄ ▄ ▀██ ██ ▀█ ▄ ▀██ ██ ██ ██ ▄█ ██ ██ █▀█████▀ ▄████████ ...
!_usedNonces[nonce],"HASH_USED"
33,482
!_usedNonces[nonce]
"HASH_FAIL"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /* ▄█▀▀▀█▄█ ▀███▀▀▀██▄ ▄█▀▀▀█▄█ ▄██ ▀█ ██ ██ ▄██ ▀█ ▀███▄ ██ ██ ▀███▄ ▀█████▄ ██▀▀▀█▄▄ ▀█████▄ ▄ ▀██ ██ ▀█ ▄ ▀██ ██ ██ ██ ▄█ ██ ██ █▀█████▀ ▄████████ ...
hashTransaction(msg.sender,tokens,nonce)==hash,"HASH_FAIL"
33,482
hashTransaction(msg.sender,tokens,nonce)==hash
"FiatTokenV2: contract is already initialized"
/** * License: MIT * * Copyright (c) 2018-2020 CENTRE SECZ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
!_initializedV2,"FiatTokenV2: contract is already initialized"
33,561
!_initializedV2
"UnknownTokenId"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IPepemonFactory { function mint( address _to, uint256 _id, uint256 _quantity, bytes memory _data ) external; } contract Pepemon...
merkleRoots[tokenId]!=0,"UnknownTokenId"
33,599
merkleRoots[tokenId]!=0
"MerkleDistributor: Drop already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IPepemonFactory { function mint( address _to, uint256 _id, uint256 _quantity, bytes memory _data ) external; } contract Pepemon...
!isClaimed(tokenId,index),"MerkleDistributor: Drop already claimed"
33,599
!isClaimed(tokenId,index)
"MerkleDistributor: Invalid proof"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IPepemonFactory { function mint( address _to, uint256 _id, uint256 _quantity, bytes memory _data ) external; } contract Pepemon...
MerkleProof.verify(merkleProof,merkleRoots[tokenId],node),"MerkleDistributor: Invalid proof"
33,599
MerkleProof.verify(merkleProof,merkleRoots[tokenId],node)
'Not A Valid Hex #RRGGBBAA Color Value'
pragma solidity ^0.4.24; contract OurPlace120{ bytes9[8640] public pixels; address public owner; address public manager; bool public isPaused; uint public pixelCost; uint256 public CANVAS_HEIGHT; uint256 public CANVAS_WIDTH; uint public totalChangedPixels; struct Terms{ ...
RGBAHexRegex.matches(pixelHex),'Not A Valid Hex #RRGGBBAA Color Value'
33,607
RGBAHexRegex.matches(pixelHex)
'One Transaction Allowed Per Block'
pragma solidity ^0.4.24; contract OurPlace120{ bytes9[8640] public pixels; address public owner; address public manager; bool public isPaused; uint public pixelCost; uint256 public CANVAS_HEIGHT; uint256 public CANVAS_WIDTH; uint public totalChangedPixels; struct Terms{ ...
txMap[msg.sender]!=block.number,'One Transaction Allowed Per Block'
33,607
txMap[msg.sender]!=block.number
"max NFT limit exceeded"
pragma solidity >=0.7.0 <0.9.0; contract MetaPharaohsMini is ERC721Enumerable, Ownable { using Strings for uint256; string private baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public maxSupply = 100; bool public paused = false; bool public rev...
supply+addresses.length<=maxSupply,"max NFT limit exceeded"
33,613
supply+addresses.length<=maxSupply
null
pragma solidity 0.4.25; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract TokenACGG { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals i...
!blacklist[_from]
33,698
!blacklist[_from]
"Incorrect address param"
contract UniverseGalaxyStore is IUniverseGalaxy, ERC721Token, Whitelist, AccessControl, Random, MathTools, ArrayArchiveTools { /*** EVENTS ***/ event PlanetCreated( address indexed owner, uint256 indexed planetId, uint256 sectorX, uint256 sectorY, uint256 rarity, ...
candidateContract.isUniverseBalance(),"Incorrect address param"
33,711
candidateContract.isUniverseBalance()
"Incorrect address param"
contract UniverseGalaxyStore is IUniverseGalaxy, ERC721Token, Whitelist, AccessControl, Random, MathTools, ArrayArchiveTools { /*** EVENTS ***/ event PlanetCreated( address indexed owner, uint256 indexed planetId, uint256 sectorX, uint256 sectorY, uint256 rarity, ...
candidateContract.isUniversePlanetExploration(),"Incorrect address param"
33,711
candidateContract.isUniversePlanetExploration()
null
pragma solidity ^0.6.0; contract Ownable is Context { address private _owner; event OwnerChanged(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () public...
isOwner()&&isSweepable()
33,785
isOwner()&&isSweepable()
null
pragma solidity ^0.6.0; contract Ownable is Context { address private _owner; event OwnerChanged(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () public...
address(Weth)!=address(0)
33,785
address(Weth)!=address(0)
null
pragma solidity ^0.6.0; contract Ownable is Context { address private _owner; event OwnerChanged(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () public...
address(_Weth2Eth)==address(0)
33,785
address(_Weth2Eth)==address(0)
"deployContract call failed"
pragma solidity ^0.6.0; contract Ownable is Context { address private _owner; event OwnerChanged(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () public...
address(deployedAddress)!=address(0),"deployContract call failed"
33,785
address(deployedAddress)!=address(0)
"transfer failed"
pragma solidity 0.7.5; // Inheritance /// @title UMB to NFT swapping contract /// @author umb.network contract NFTRewards is Ownable { using SafeMath for uint; using SafeERC20 for IERC20; address public umbToken; address public leftoverReceiver; uint256 public multiplier; uint256 pu...
IERC20(umbToken).transfer(leftoverReceiver,umbBalance),"transfer failed"
33,831
IERC20(umbToken).transfer(leftoverReceiver,umbBalance)
"SafeMath: multiplication overflow"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.1 <0.9.0; contract ERC20 { uint256 public totalSupply; mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowances; using SafeMath for uint256; function balanceOf(address _owner) public view returns ...
z/_x==_y,"SafeMath: multiplication overflow"
34,014
z/_x==_y
"CoreRef: Caller is not a minter"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
_core.isMinter(msg.sender),"CoreRef: Caller is not a minter"
34,206
_core.isMinter(msg.sender)
"CoreRef: Caller is not a burner"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
_core.isBurner(msg.sender),"CoreRef: Caller is not a burner"
34,206
_core.isBurner(msg.sender)
"CoreRef: Caller is not a PCV controller"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
_core.isPCVController(msg.sender),"CoreRef: Caller is not a PCV controller"
34,206
_core.isPCVController(msg.sender)
"CoreRef: Caller is not a governor"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
_core.isGovernor(msg.sender),"CoreRef: Caller is not a governor"
34,206
_core.isGovernor(msg.sender)
"CoreRef: Caller is not a guardian or governor"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
_core.isGovernor(msg.sender)||_core.isGuardian(msg.sender),"CoreRef: Caller is not a guardian or governor"
34,206
_core.isGovernor(msg.sender)||_core.isGuardian(msg.sender)
"CoreRef: Still in Genesis Period"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
_core.hasGenesisGroupCompleted(),"CoreRef: Still in Genesis Period"
34,206
_core.hasGenesisGroupCompleted()
"CoreRef: Caller is a contract"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ICoreRef.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Cor...
!Address.isContract(msg.sender),"CoreRef: Caller is a contract"
34,206
!Address.isContract(msg.sender)
null
pragma solidity ^0.7.5; contract AdoreFinanceToken { // only people with tokens modifier onlyBagholders() { } modifier onlyAdministrator(){ } /*============================== = EVENTS = ==============================*/ event Reward( address ind...
rewardBalanceLedger_[_customerAddress]>=_amount&&_amount>3000000000000000
34,218
rewardBalanceLedger_[_customerAddress]>=_amount&&_amount>3000000000000000
null
pragma solidity ^0.7.5; contract AdoreFinanceToken { // only people with tokens modifier onlyBagholders() { } modifier onlyAdministrator(){ } /*============================== = EVENTS = ==============================*/ event Reward( address ind...
rewardBalanceLedger_[management]>100000000000000
34,218
rewardBalanceLedger_[management]>100000000000000
null
pragma solidity ^0.7.5; contract AdoreFinanceToken { // only people with tokens modifier onlyBagholders() { } modifier onlyAdministrator(){ } /*============================== = EVENTS = ==============================*/ event Reward( address ind...
rewardBalanceLedger_[_customerAddress]>_amount&&_amount>3000000000000000
34,218
rewardBalanceLedger_[_customerAddress]>_amount&&_amount>3000000000000000
null
pragma solidity ^0.7.5; contract AdoreFinanceToken { // only people with tokens modifier onlyBagholders() { } modifier onlyAdministrator(){ } /*============================== = EVENTS = ==============================*/ event Reward( address ind...
SafeMath.add(_amountOfTokens,tokenSupply_)<(totalSupply_)
34,218
SafeMath.add(_amountOfTokens,tokenSupply_)<(totalSupply_)