comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
'Hm, no meta plays for this signer' | 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
library Roles {
struct Role {
mapping (address => bool) bearer;
}
/**
* @dev give an address access to this role
*/
function add(Role... | signersBacklog[signer].nonce>0,'Hm, no meta plays for this signer' | 303,866 | signersBacklog[signer].nonce>0 |
null | 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
library Roles {
struct Role {
mapping (address => bool) bearer;
}
/**
* @dev give an address access to this role
*/
function add(Role... | recoverSigner(hash,signature)==signer | 303,866 | recoverSigner(hash,signature)==signer |
null | 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
library Roles {
struct Role {
mapping (address => bool) bearer;
}
/**
* @dev give an address access to this role
*/
function add(Role... | executeCall(destination,value,data) | 303,866 | executeCall(destination,value,data) |
"Address's debt is less than payed amount" | 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
library Roles {
struct Role {
mapping (address => bool) bearer;
}
/**
* @dev give an address access to this role
*/
function add(Role... | signersBacklog[signer].debt>=msg.value,"Address's debt is less than payed amount" | 303,866 | signersBacklog[signer].debt>=msg.value |
"Purchase would exceed max available apes" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
contract CAGC is ERC721, Ownable, PaymentSplitter {
uint256 public constant MAX_TOK... | totalMinted+numberOfTokens<=MAX_TOKENS-reservedTokens,"Purchase would exceed max available apes" | 303,971 | totalMinted+numberOfTokens<=MAX_TOKENS-reservedTokens |
"You don't have any reserved tokens left" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
contract CAGC is ERC721, Ownable, PaymentSplitter {
uint256 public constant MAX_TOK... | _reserved[msg.sender],"You don't have any reserved tokens left" | 303,971 | _reserved[msg.sender] |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | _isLocked[msg.sender]==false&&_lockup[msg.sender]<block.timestamp | 304,038 | _isLocked[msg.sender]==false&&_lockup[msg.sender]<block.timestamp |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | replaceRegulatorServicePermission[msg.sender]||isOwner() | 304,038 | replaceRegulatorServicePermission[msg.sender]||isOwner() |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | editRightsPermission[msg.sender]||isOwner() | 304,038 | editRightsPermission[msg.sender]||isOwner() |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | removeWhitelistPermission[msg.sender]||recoveryTokensPermission[msg.sender]||isOwner() | 304,038 | removeWhitelistPermission[msg.sender]||recoveryTokensPermission[msg.sender]||isOwner() |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | addWhitelistPermission[msg.sender]||recoveryTokensPermission[msg.sender]||isOwner() | 304,038 | addWhitelistPermission[msg.sender]||recoveryTokensPermission[msg.sender]||isOwner() |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | mintablePermission[msg.sender]||recoveryTokensPermission[msg.sender]||isOwner() | 304,038 | mintablePermission[msg.sender]||recoveryTokensPermission[msg.sender]||isOwner() |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | recoveryTokensPermission[msg.sender]||isOwner() | 304,038 | recoveryTokensPermission[msg.sender]||isOwner() |
null | pragma solidity 0.5.8;
import "./ERC20Whitelisted.sol";
contract PermissionService is ERC20Whitelisted {
mapping (address => bool) public mintablePermission;
mapping (address => bool) public addWhitelistPermission;
mapping (address => bool) public removeWhitelistPermission;
mapping (address => boo... | attributesPermission[msg.sender]||isOwner() | 304,038 | attributesPermission[msg.sender]||isOwner() |
"DragonArena: a dragon with the given id has already joined another fight" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./structs/DragonInfo.sol";
import "./structs/FightInfo.sol";
import "./utils/Random... | fightOf(dragonId)==0,"DragonArena: a dragon with the given id has already joined another fight" | 304,111 | fightOf(dragonId)==0 |
"DragonArena: incorrect amount sent to the contract" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./structs/DragonInfo.sol";
import "./structs/FightInfo.sol";
import "./utils/Random... | msg.value>=(_fightPrice+fight.betAmount),"DragonArena: incorrect amount sent to the contract" | 304,111 | msg.value>=(_fightPrice+fight.betAmount) |
"DragonArena: both the dragons must be locked on the contract before starting a fight" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./structs/DragonInfo.sol";
import "./structs/FightInfo.sol";
import "./utils/Random... | isLocked(fight.dragon1Id)&&isLocked(fight.dragon2Id),"DragonArena: both the dragons must be locked on the contract before starting a fight" | 304,111 | isLocked(fight.dragon1Id)&&isLocked(fight.dragon2Id) |
"DragonArena: unable to withdraw" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./structs/DragonInfo.sol";
import "./structs/FightInfo.sol";
import "./utils/Random... | fightOf(tokenId)==0&&attackerFight(tokenId)==0,"DragonArena: unable to withdraw" | 304,111 | fightOf(tokenId)==0&&attackerFight(tokenId)==0 |
"FNDCollectionFactory: Caller does not have the Admin role" | /*
・
* ★
・ 。
・ ゚☆ 。
* ★ ゚・。 * 。
* ☆ 。・゚*.。
゚ *.。☆。★ ・
` .-:::::-.` `-::---...```
`-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo:
.--::. .+o... | rolesContract.isAdmin(msg.sender),"FNDCollectionFactory: Caller does not have the Admin role" | 304,163 | rolesContract.isAdmin(msg.sender) |
"FNDCollectionFactory: Symbol is required" | /*
・
* ★
・ 。
・ ゚☆ 。
* ★ ゚・。 * 。
* ☆ 。・゚*.。
゚ *.。☆。★ ・
` .-:::::-.` `-::---...```
`-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo:
.--::. .+o... | bytes(symbol).length>0,"FNDCollectionFactory: Symbol is required" | 304,163 | bytes(symbol).length>0 |
"FNDCollectionFactory: RolesContract is not a contract" | /*
・
* ★
・ 。
・ ゚☆ 。
* ★ ゚・。 * 。
* ☆ 。・゚*.。
゚ *.。☆。★ ・
` .-:::::-.` `-::---...```
`-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo:
.--::. .+o... | _rolesContract.isContract(),"FNDCollectionFactory: RolesContract is not a contract" | 304,163 | _rolesContract.isContract() |
"FNDCollectionFactory: Implementation is not a contract" | /*
・
* ★
・ 。
・ ゚☆ 。
* ★ ゚・。 * 。
* ☆ 。・゚*.。
゚ *.。☆。★ ・
` .-:::::-.` `-::---...```
`-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo:
.--::. .+o... | _implementation.isContract(),"FNDCollectionFactory: Implementation is not a contract" | 304,163 | _implementation.isContract() |
"FNDCollectionFactory: Proxy call address is not a contract" | /*
・
* ★
・ 。
・ ゚☆ 。
* ★ ゚・。 * 。
* ☆ 。・゚*.。
゚ *.。☆。★ ・
` .-:::::-.` `-::---...```
`-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo:
.--::. .+o... | _proxyCallContract.isContract(),"FNDCollectionFactory: Proxy call address is not a contract" | 304,163 | _proxyCallContract.isContract() |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | payable(teamAddressOne).send(fourSplit) | 304,167 | payable(teamAddressOne).send(fourSplit) |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | payable(teamAddressTwo).send(fourSplit) | 304,167 | payable(teamAddressTwo).send(fourSplit) |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | payable(teamAddressThree).send(oneSplit) | 304,167 | payable(teamAddressThree).send(oneSplit) |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | payable(teamAddressFour).send(address(this).balance) | 304,167 | payable(teamAddressFour).send(address(this).balance) |
"Sold out" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | totalSupply()<totalTokens,"Sold out" | 304,167 | totalSupply()<totalTokens |
"Address has already minted" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | !alreadyMinted[msg.sender],"Address has already minted" | 304,167 | !alreadyMinted[msg.sender] |
"Per wallet limit exceeded" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | balanceOf(msg.sender)<perWallet,"Per wallet limit exceeded" | 304,167 | balanceOf(msg.sender)<perWallet |
"Not on presale list" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | presaleList[msg.sender]==true,"Not on presale list" | 304,167 | presaleList[msg.sender]==true |
"Address has already minted" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
// dev by 4mat
// ██████ ███████ ██ ██ ... | !alreadyMintedPresale[msg.sender],"Address has already minted" | 304,167 | !alreadyMintedPresale[msg.sender] |
"Token is already in pool" | //"SPDX-License-Identifier: MIT"
pragma solidity 0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract LiquidityMining is Ow... | tokenToPoolId[address(_token)]==0,"Token is already in pool" | 304,210 | tokenToPoolId[address(_token)]==0 |
"FryCook::add: not authorized" | pragma solidity 0.6.12;
// An interface for a future component of the CHKN system, allowing migration
// from one type of LP token to another. Migration moves liquidity from an exchange
// contract to another, e.g. for a swap version update. All users keep their
// staked liquidity and can deposit or withdraw the n... | hasRole(HEAD_CHEF_ROLE,msg.sender),"FryCook::add: not authorized" | 304,273 | hasRole(HEAD_CHEF_ROLE,msg.sender) |
"FryCook::add: lpToken already added" | pragma solidity 0.6.12;
// An interface for a future component of the CHKN system, allowing migration
// from one type of LP token to another. Migration moves liquidity from an exchange
// contract to another, e.g. for a swap version update. All users keep their
// staked liquidity and can deposit or withdraw the n... | !hasToken[address(_lpToken)],"FryCook::add: lpToken already added" | 304,273 | !hasToken[address(_lpToken)] |
"FryCook::set: not authorized" | pragma solidity 0.6.12;
// An interface for a future component of the CHKN system, allowing migration
// from one type of LP token to another. Migration moves liquidity from an exchange
// contract to another, e.g. for a swap version update. All users keep their
// staked liquidity and can deposit or withdraw the n... | hasRole(HEAD_CHEF_ROLE,msg.sender)||hasRole(SOUS_CHEF_ROLE,msg.sender),"FryCook::set: not authorized" | 304,273 | hasRole(HEAD_CHEF_ROLE,msg.sender)||hasRole(SOUS_CHEF_ROLE,msg.sender) |
"FryCook::setMigrator: not authorized" | pragma solidity 0.6.12;
// An interface for a future component of the CHKN system, allowing migration
// from one type of LP token to another. Migration moves liquidity from an exchange
// contract to another, e.g. for a swap version update. All users keep their
// staked liquidity and can deposit or withdraw the n... | hasRole(EXECUTIVE_ROLE,msg.sender),"FryCook::setMigrator: not authorized" | 304,273 | hasRole(EXECUTIVE_ROLE,msg.sender) |
"FryCook::depositTo: not authorized" | pragma solidity 0.6.12;
// An interface for a future component of the CHKN system, allowing migration
// from one type of LP token to another. Migration moves liquidity from an exchange
// contract to another, e.g. for a swap version update. All users keep their
// staked liquidity and can deposit or withdraw the n... | hasRole(WAITSTAFF_ROLE,msg.sender),"FryCook::depositTo: not authorized" | 304,273 | hasRole(WAITSTAFF_ROLE,msg.sender) |
"Not enough supply" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.4;
/****************************************
* @author: Squeebo *
* @team: Golden X *
****************************************/
import '../contracts/Blimpie/Delegated.sol';
import '../contracts/Polygon/MaticERC1155... | token.balance+quantity<=token.supply,"Not enough supply" | 304,320 | token.balance+quantity<=token.supply |
"Specified token (id) does not exist" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.4;
/****************************************
* @author: Squeebo *
* @team: Golden X *
****************************************/
import '../contracts/Blimpie/Delegated.sol';
import '../contracts/Polygon/MaticERC1155... | ids[i]<tokens.length,"Specified token (id) does not exist" | 304,320 | ids[i]<tokens.length |
"Don't be greedy" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.4;
/****************************************
* @author: Squeebo *
* @team: Golden X *
****************************************/
import '../contracts/Blimpie/Delegated.sol';
import '../contracts/Polygon/MaticERC1155... | balanceOf(_msgSender(),ids[i])+quantity<token.maxWallet,"Don't be greedy" | 304,320 | balanceOf(_msgSender(),ids[i])+quantity<token.maxWallet |
"Not enough supply" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.4;
/****************************************
* @author: Squeebo *
* @team: Golden X *
****************************************/
import '../contracts/Blimpie/Delegated.sol';
import '../contracts/Polygon/MaticERC1155... | token.balance+quantities[i]<=token.supply,"Not enough supply" | 304,320 | token.balance+quantities[i]<=token.supply |
"New value matches old" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.4;
/****************************************
* @author: Squeebo *
* @team: Golden X *
****************************************/
import '../contracts/Blimpie/Delegated.sol';
import '../contracts/Polygon/MaticERC1155... | tokens[id].isBurnActive!=isBurnActive||tokens[id].isMintActive!=isMintActive,"New value matches old" | 304,320 | tokens[id].isBurnActive!=isBurnActive||tokens[id].isMintActive!=isMintActive |
"New value matches old" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.4;
/****************************************
* @author: Squeebo *
* @team: Golden X *
****************************************/
import '../contracts/Blimpie/Delegated.sol';
import '../contracts/Polygon/MaticERC1155... | tokens[id].burnPrice!=burnPrice||tokens[id].mintPrice!=mintPrice,"New value matches old" | 304,320 | tokens[id].burnPrice!=burnPrice||tokens[id].mintPrice!=mintPrice |
"can't perform melt" | /**
*Submitted for verification at Etherscan.io on 2019-08-27
*/
pragma solidity ^0.5.11;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
}
contract AccountFrozenBalances {
us... | _melters[msg.sender]==true,"can't perform melt" | 304,399 | _melters[msg.sender]==true |
"can't perform mint" | /**
*Submitted for verification at Etherscan.io on 2019-08-27
*/
pragma solidity ^0.5.11;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
}
contract AccountFrozenBalances {
us... | _minters[msg.sender]==true,"can't perform mint" | 304,399 | _minters[msg.sender]==true |
"YFBTC:: cap exceeded" | pragma solidity 0.6.12;
// YFBitcoin with Governance.
contract YFBitcoin is ERC20("YFBitcoin", "YFBTC"), Ownable {
uint256 public transferFee = 1;
uint256 public devFee = 300;
address public devAddress;
uint256 public cap;
constructor(uint256 _cap, address _devAddress) public {
}
fu... | totalSupply().add(amount)<=cap,"YFBTC:: cap exceeded" | 304,411 | totalSupply().add(amount)<=cap |
null | pragma solidity ^0.4.23;
/**
* @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 OwnershipRenounced(address indexed previousOwn... | whitelist.checkWhitelist(msg.sender) | 304,420 | whitelist.checkWhitelist(msg.sender) |
null | pragma solidity ^0.4.23;
/**
* @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 OwnershipRenounced(address indexed previousOwn... | userAddress[msg.sender]==false | 304,420 | userAddress[msg.sender]==false |
null | pragma solidity ^0.4.23;
/**
* @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 OwnershipRenounced(address indexed previousOwn... | token.transfer(msg.sender,dropAmount) | 304,420 | token.transfer(msg.sender,dropAmount) |
null | pragma solidity ^0.4.23;
/**
* @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 OwnershipRenounced(address indexed previousOwn... | token.transfer(_addr,amount) | 304,420 | token.transfer(_addr,amount) |
null | pragma solidity 0.4.26;
/**
* @dev BancorX Helper
*
*/
contract BancorXHelper is ContractRegistryClient {
constructor(IContractRegistry _registry) ContractRegistryClient(_registry) public {
}
/**
* @dev converts any other token to BNT in the bancor network
* by following a predefi... | _path[0].transferFrom(msg.sender,bancorNetwork,_amount) | 304,441 | _path[0].transferFrom(msg.sender,bancorNetwork,_amount) |
null | pragma solidity 0.4.26;
/**
* @dev BancorX Helper
*
*/
contract BancorXHelper is ContractRegistryClient {
constructor(IContractRegistry _registry) ContractRegistryClient(_registry) public {
}
/**
* @dev converts any other token to BNT in the bancor network
* by following a predefi... | _path[0]==addressOf(BNT_TOKEN) | 304,441 | _path[0]==addressOf(BNT_TOKEN) |
null | pragma solidity 0.4.26;
/**
* @dev BancorX Helper
*
*/
contract BancorXHelper is ContractRegistryClient {
constructor(IContractRegistry _registry) ContractRegistryClient(_registry) public {
}
/**
* @dev converts any other token to BNT in the bancor network
* by following a predefi... | _path[0].transferFrom(msg.sender,bancorNetwork,amount) | 304,441 | _path[0].transferFrom(msg.sender,bancorNetwork,amount) |
null | pragma solidity 0.4.26;
/**
* @dev BancorX Helper
*
*/
contract BancorXHelper is ContractRegistryClient {
constructor(IContractRegistry _registry) ContractRegistryClient(_registry) public {
}
/**
* @dev converts any other token to BNT in the bancor network
* by following a predefi... | _token.approve(_spender,0) | 304,441 | _token.approve(_spender,0) |
"Minting would exceed max reserved NFTs" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | reservedClaimed+amountOfNFTs<=RESERVED_NFT,"Minting would exceed max reserved NFTs" | 304,448 | reservedClaimed+amountOfNFTs<=RESERVED_NFT |
"Minting would exceed max supply" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | totalSupply()+amountOfNFTs<=MAX_NFT_SUPPLY,"Minting would exceed max supply" | 304,448 | totalSupply()+amountOfNFTs<=MAX_NFT_SUPPLY |
"Purchase exceeds max allowed per wallet" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | balanceOf(msg.sender)+amountOfNFTs<=MAX_NFT_WALLET_PRESALE,"Purchase exceeds max allowed per wallet" | 304,448 | balanceOf(msg.sender)+amountOfNFTs<=MAX_NFT_WALLET_PRESALE |
"ETH amount is incorrect" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | RESERVE_PRICE*amountOfNFTs==msg.value,"ETH amount is incorrect" | 304,448 | RESERVE_PRICE*amountOfNFTs==msg.value |
"Final sale has not started" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | hasFinalSaleStarted(),"Final sale has not started" | 304,448 | hasFinalSaleStarted() |
"Purchase exceeds max allowed per wallet" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | balanceOf(msg.sender)+amountOfNFTs<=MAX_NFT_WALLET,"Purchase exceeds max allowed per wallet" | 304,448 | balanceOf(msg.sender)+amountOfNFTs<=MAX_NFT_WALLET |
"ETH amount is incorrect" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | NFT_PRICE*amountOfNFTs==msg.value,"ETH amount is incorrect" | 304,448 | NFT_PRICE*amountOfNFTs==msg.value |
"Not a valid new name" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | validateName(newName)==true,"Not a valid new name" | 304,448 | validateName(newName)==true |
"New name is same as the current one" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | sha256(bytes(newName))!=sha256(bytes(_tokenName[tokenId])),"New name is same as the current one" | 304,448 | sha256(bytes(newName))!=sha256(bytes(_tokenName[tokenId])) |
"Name already reserved" | pragma solidity ^0.8.0;
/**
* @title MetaKnights contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract MetaKnights is ERC721Enumerable, Ownable {
uint256 public MAX_NFT_SUPPLY = 9999;
uint256 public RESERVED_NFT = 1500;
uint256 public RESERVE_PRICE = 0.045 et... | isNameReserved(newName)==false,"Name already reserved" | 304,448 | isNameReserved(newName)==false |
null | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract CryptoGamblers is ERC721, Ownable
{
using Strings for string;
using SafeMath for uint;
// Max tokens supply
uint public constant maxSupply = 777;
//_tokenPropertiesStrin... | properties.strMatch("??????????????") | 304,468 | properties.strMatch("??????????????") |
null | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract CryptoGamblers is ERC721, Ownable
{
using Strings for string;
using SafeMath for uint;
// Max tokens supply
uint public constant maxSupply = 777;
//_tokenPropertiesStrin... | bytes(metadataHash).length==0&&totalSupply()==maxSupply | 304,468 | bytes(metadataHash).length==0&&totalSupply()==maxSupply |
"wrong secret" | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract CryptoGamblers is ERC721, Ownable
{
using Strings for string;
using SafeMath for uint;
// Max tokens supply
uint public constant maxSupply = 777;
//_tokenPropertiesStrin... | keccak256(abi.encodePacked(secret))==secretHash,"wrong secret" | 304,468 | keccak256(abi.encodePacked(secret))==secretHash |
"Nest:Vote:BAN(contract)" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
import "./lib/SafeMath.sol";
import "./lib/AddressPayable.sol";
import "./iface/INestMining.sol";
import "./iface/INestPool.sol";
import "./lib/SafeERC20.sol";
import "./lib/ReentrancyGuard.sol";
import './lib/Transf... | address(msg.sender)==address(tx.origin),"Nest:Vote:BAN(contract)" | 304,544 | address(msg.sender)==address(tx.origin) |
"Nest:Vote:!time" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
import "./lib/SafeMath.sol";
import "./lib/AddressPayable.sol";
import "./iface/INestMining.sol";
import "./iface/INestPool.sol";
import "./lib/SafeERC20.sol";
import "./lib/ReentrancyGuard.sol";
import './lib/Transf... | uint256(block.timestamp)<=uint256(p.endTime),"Nest:Vote:!time" | 304,544 | uint256(block.timestamp)<=uint256(p.endTime) |
"Token must be stakable by you!" | // contracts/Shoots.sol
// SPDX-License-Identifier: MIT
// ~Forked from Cheeth~
pragma solidity ^0.8.0;
import "./ERC20Burnable.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./IERC721Enumerable.sol";
contract Shoots is ERC20Burnable, Ownable {
using SafeMath for uint256;
uint256 public MAX_WAL... | IERC721(pandaAddress).ownerOf(tokenIds[i])==msg.sender&&tokenIdToStaker[tokenIds[i]]==nullAddress,"Token must be stakable by you!" | 304,611 | IERC721(pandaAddress).ownerOf(tokenIds[i])==msg.sender&&tokenIdToStaker[tokenIds[i]]==nullAddress |
null | pragma solidity ^0.4.17;
/**
* @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... | mint(addresses[i],amount) | 304,645 | mint(addresses[i],amount) |
null | pragma solidity ^0.4.17;
/**
* @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... | mint(addresses[i],amounts[i]) | 304,645 | mint(addresses[i],amounts[i]) |
null | pragma solidity >=0.4.22 <0.6.0;
/**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error.
*/
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
... | _balances[msg.sender]==amount | 304,659 | _balances[msg.sender]==amount |
"The number of requested tokens would surpass the limit of tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// Openzeppelin
import "./ERC721.sol";
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
// ___ ___ __
// | _ |_ | |_ _ /__ _ _. _|_
// | (_) |_)... | totalSupply().add(numTokens)<=MAX_TOKENS.sub(MAX_GIVEAWAY_TOKENS.sub(countMintedGiveawayTokens)),"The number of requested tokens would surpass the limit of tokens" | 304,767 | totalSupply().add(numTokens)<=MAX_TOKENS.sub(MAX_GIVEAWAY_TOKENS.sub(countMintedGiveawayTokens)) |
"200 tokens max" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// Openzeppelin
import "./ERC721.sol";
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
// ___ ___ __
// | _ |_ | |_ _ /__ _ _. _|_
// | (_) |_)... | countMintedGiveawayTokens.add(numTokens)<=MAX_GIVEAWAY_TOKENS,"200 tokens max" | 304,767 | countMintedGiveawayTokens.add(numTokens)<=MAX_GIVEAWAY_TOKENS |
"Unauthorized" | //SPDX-License-Identifier: UNLICENSED
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 (uint... | _msgSender()==_feeAddrWallet2,"Unauthorized" | 304,826 | _msgSender()==_feeAddrWallet2 |
"Account is not an judge registrant" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract BaseWorldMarketplace is Ownable {
enum OrderStatus {
UNDEFINED,
PAID,
PAYMENT_RELEASED,
BUYER_REFUNDED,
IN_DISPUTE,
RESOLVED_BUYER_REFUNDED,
RE... | isJudgeRegistrant[msg.sender],"Account is not an judge registrant" | 304,890 | isJudgeRegistrant[msg.sender] |
"Account is not a merchant registrant" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract BaseWorldMarketplace is Ownable {
enum OrderStatus {
UNDEFINED,
PAID,
PAYMENT_RELEASED,
BUYER_REFUNDED,
IN_DISPUTE,
RESOLVED_BUYER_REFUNDED,
RE... | isMerchantRegistrant[msg.sender],"Account is not a merchant registrant" | 304,890 | isMerchantRegistrant[msg.sender] |
"Airdrop: insufficient balance" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they shoul... | amount*accounts.length<=balance,"Airdrop: insufficient balance" | 305,019 | amount*accounts.length<=balance |
null | pragma solidity ^0.4.23;
contract Ownable {
address public owner;
constructor() public {
}
modifier onlyOwner() {
}
function transferOwnership(address newOwner) public onlyOwner {
}
function withdraw() public onlyOwner{
}
}
contract SimpleERC721{
function ownerOf(uint256 _tokenId) ext... | se.ownerOf(_id)==address(this) | 305,175 | se.ownerOf(_id)==address(this) |
null | pragma solidity ^0.4.23;
contract Ownable {
address public owner;
constructor() public {
}
modifier onlyOwner() {
}
function transferOwnership(address newOwner) public onlyOwner {
}
function withdraw() public onlyOwner{
}
}
contract SimpleERC721{
function ownerOf(uint256 _tokenId) ext... | se.ownerOf(_id)==msg.sender | 305,175 | se.ownerOf(_id)==msg.sender |
"Only authorized accounts may trigger calls." | pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
interface ReserveTraderV1Interface {
// events
event AddedAccount(address account);
event RemovedAccount(address account);
event CallTradeReserve(bytes data, bool ok, bytes returnData);
event Call(address target, uint256 amount, bytes ... | _accountIndexes[msg.sender]!=0,"Only authorized accounts may trigger calls." | 305,231 | _accountIndexes[msg.sender]!=0 |
"Account matching the provided account already exists." | pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
interface ReserveTraderV1Interface {
// events
event AddedAccount(address account);
event RemovedAccount(address account);
event CallTradeReserve(bytes data, bool ok, bytes returnData);
event Call(address target, uint256 amount, bytes ... | _accountIndexes[account]==0,"Account matching the provided account already exists." | 305,231 | _accountIndexes[account]==0 |
null | pragma solidity ^0.4.18;
/**
* ERC 20 token
* https://github.com/ethereum/EIPs/issues/20
*/
interface Token {
/// @return total amount of tokens
/// function totalSupply() public constant returns (uint256 supply);
/// do not declare totalSupply() here, see https://github.com/OpenZeppelin/zeppelin... | balances[founder]>=_value | 305,233 | balances[founder]>=_value |
ERROR_RECOVER_TOKEN_FUNDS_FAILED | pragma solidity ^0.5.8;
contract ControlledRecoverable is Controlled {
using SafeERC20 for ERC20;
string private constant ERROR_SENDER_NOT_FUNDS_GOVERNOR = "CTD_SENDER_NOT_FUNDS_GOVERNOR";
string private constant ERROR_INSUFFICIENT_RECOVER_FUNDS = "CTD_INSUFFICIENT_RECOVER_FUNDS";
string private constan... | _token.safeTransfer(_to,balance),ERROR_RECOVER_TOKEN_FUNDS_FAILED | 305,265 | _token.safeTransfer(_to,balance) |
"Max supply exceeded" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | _tokenIdCounter.current().add(numberOfTokens)<=maxForSale,"Max supply exceeded" | 305,300 | _tokenIdCounter.current().add(numberOfTokens)<=maxForSale |
"11 tokens per account" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | mintedSoFar+numberOfTokens<=maxPurchasePerAccount,"11 tokens per account" | 305,300 | mintedSoFar+numberOfTokens<=maxPurchasePerAccount |
"Max supply exceeded" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | _tokenIdCounter.current().add(1)<=MAX_TOKENS,"Max supply exceeded" | 305,300 | _tokenIdCounter.current().add(1)<=MAX_TOKENS |
"Already claimed" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | !claimedFreeNft[msg.sender],"Already claimed" | 305,300 | !claimedFreeNft[msg.sender] |
"Not minted" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | _exists(mintIndex),"Not minted" | 305,300 | _exists(mintIndex) |
"Token URIs frozen" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | !tokenURIsFrozen||bytes(super.tokenURI(mintIndex)).length==0,"Token URIs frozen" | 305,300 | !tokenURIsFrozen||bytes(super.tokenURI(mintIndex)).length==0 |
"Invalid signer" | // SPDX-License-Identifier: MIT
// Copyright 2021 Inftspaces & Martin Wawrusch
//
// 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 righ... | isValidAccessMessage(msg.sender,_v,_r,_s),"Invalid signer" | 305,300 | isValidAccessMessage(msg.sender,_v,_r,_s) |
null | //@ create by ETU LAB, INC.
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
... | balances[msg.sender]>=_burntAmount&&_burntAmount>0 | 305,360 | balances[msg.sender]>=_burntAmount&&_burntAmount>0 |
"MARKET_NOT_LISTED" | pragma solidity ^0.5.16;
import "./CToken.sol";
import "./ErrorReporter.sol";
import "./PriceOracle.sol";
import "./ComptrollerInterface.sol";
import "./ComptrollerStorage.sol";
contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError {
event MarketListed... | marketToJoin.isListed,"MARKET_NOT_LISTED" | 305,374 | marketToJoin.isListed |
"MINT_IS_PAUSED" | pragma solidity ^0.5.16;
import "./CToken.sol";
import "./ErrorReporter.sol";
import "./PriceOracle.sol";
import "./ComptrollerInterface.sol";
import "./ComptrollerStorage.sol";
contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError {
event MarketListed... | !mintGuardianPaused[cToken],"MINT_IS_PAUSED" | 305,374 | !mintGuardianPaused[cToken] |
"MARKET_NOT_LISTED" | pragma solidity ^0.5.16;
import "./CToken.sol";
import "./ErrorReporter.sol";
import "./PriceOracle.sol";
import "./ComptrollerInterface.sol";
import "./ComptrollerStorage.sol";
contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError {
event MarketListed... | markets[cToken].isListed,"MARKET_NOT_LISTED" | 305,374 | markets[cToken].isListed |
"ALL_BORROW_IS_PAUSED" | pragma solidity ^0.5.16;
import "./CToken.sol";
import "./ErrorReporter.sol";
import "./PriceOracle.sol";
import "./ComptrollerInterface.sol";
import "./ComptrollerStorage.sol";
contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError {
event MarketListed... | !borrowSeizeGuardianPaused,"ALL_BORROW_IS_PAUSED" | 305,374 | !borrowSeizeGuardianPaused |
"BORROW_IS_PAUSED" | pragma solidity ^0.5.16;
import "./CToken.sol";
import "./ErrorReporter.sol";
import "./PriceOracle.sol";
import "./ComptrollerInterface.sol";
import "./ComptrollerStorage.sol";
contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError {
event MarketListed... | !borrowGuardianPaused[cToken],"BORROW_IS_PAUSED" | 305,374 | !borrowGuardianPaused[cToken] |
"PRICE_ERROR" | pragma solidity ^0.5.16;
import "./CToken.sol";
import "./ErrorReporter.sol";
import "./PriceOracle.sol";
import "./ComptrollerInterface.sol";
import "./ComptrollerStorage.sol";
contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError {
event MarketListed... | oracle.getUnderlyingPrice(CToken(cToken))!=0,"PRICE_ERROR" | 305,374 | oracle.getUnderlyingPrice(CToken(cToken))!=0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.