input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PGE01NY' token contract
//
// Deployed to : 0xc78008472f34cB052438C75b859A2528e1c1D507
// Symbol : PGE01NY
// Name : Porini Global Event 01 New York
// Total supply: 99
// Decimals : 0
//
// base... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Hedget' token contract
//
// Deployed to : 0xD3E379C82745BC7a7E4467EB6Eb862D7B8d0509d
// Symbol : HGET
// Name : Hedget
// Total supply: 10000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Moritz ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* For more information: https://xfi.money
*/
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint25... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity 0.6.6;
// ----------------------------------------------------------------------------
// 'MANGAToken' token contract
//
// Deployed to : 0x4eb28E0a00FdD2BE1E02b175F6Ec22769E2151F9
// Symbol : MANGA
// Name : MANGAToken
// Total supply: 32000000000000000
// Decimals : 18
//
// Enjoy.
//
... | No vulnerabilities found |
pragma solidity ^0.8.0;
import "./IERC1538.sol";
import "./ProxyBaseStorage.sol";
import './BlindboxStorage.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
///////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @title ProxyReceiver Contract
* @dev Handle... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
// forked from x10 with fixed bug
// DEV :x20.finance
// X20 (x20.finance) is a deflationary and gambling token
// See https://github.com/IshikawaTravis/X10 for more info
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* se... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity 0.7.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract LaunchPadShoeFy is Ownable {
using SafeMath for uint256;
// 4 rounds : 0 = not ope... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Carer' token contract
//
// Deployed to : 0x2687D979C9B82c3C14558d8F61A9545a8F23A970
// Symbol : CAE
// Name : Carer
// Total supply: 66000000000
// Decimals : 18
//
//
//
// (c) by Carer 2021. ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/interfaces/IERC20.sol@v1.2.2
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) ex... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MemoLand' token contract
//
// Deployed to : 0x859FfAA045424384657Edf37DCF52828292F6476
// Symbol : MML
// Name : Memo Land Coin
// Total supply: 1170000000
// Decimals : 5
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT572767' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT572767
// Name : ADZbuzz Foodandwine.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-21
*/
pragma solidity ^0.5.8;
// Homunculus - A homunculus is a representation of a small human being.
contract Homunculus {
string public constant name = "Homunculus";
string public constant symbol = "HOM";
uint8 public constant decim... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
SAFEKONG
Safekong.com
https://t.me/SafeKongOfficial
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
func... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.14;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function transfer(address to, uint tokens) public returns (bool success);
}
// ------------------------------------------... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the on... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.6.12;
import "../OpenZeppelin/access/AccessControl.sol";
import "./ERC20/ERC20Burnable.sol";
import "./ERC20/ERC20Pausable.sol";
import "../interfaces/IMisoToken.sol";
// ---------------------------------------------------------------------
//
// From the MISO Token Factory
//
// Made for Sushi.com ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**
* Issued by
* _ __ _ _
* | | / _| | (_)
* __| | __ _ _ __ _ __ ___ ___ | |_| |_ _ ___
* / _` |/ _` | '_ \| '_ \/ __|/ _ \| _| __| | |/ _ \
* | (_| | (_| | |_) | |_) \__ \ (_) | | | |_ _| | (_) |
* \__,_... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact
6) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// ⚙️ ALL BEST ICO DeFi (ALLBI)!
//
// Deployed to : 0xed0b26224D4629264B02f994Dcc4375DA3e6F9e4
// Symbol : ALLBI
// Name : ALL BEST ICO
// Total supply: 243000000.000000000000000000
// Decimals : 18... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^ 0.4.24;
library ECRecovery {
function recover(bytes32 hash, bytes sig) internal pure returns (address) {
bytes32 r;
bytes32 s;
uint8 v;
if (sig.length != 65) {
return (address(0));
}
assembly {
r := mload(add(sig, 32))
s := mload(add(sig, 64))
v... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
// File: @chainlink/contracts/src/v0.8/VRFRequestIDBase.sol
pragma solidity ^0.8.0;
contract VRFRequestIDBase {
/**
* @notice returns the seed which is actually input to the VRF coordinator
*
* @dev To prevent repetition of VRF output due to repetition of the
* @dev user-supplied seed, that seed is com... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) arbitrary-send with High impact
3) unchecked-transfer with High impact
4) msg-value-loop with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DataOracleShib' token contract
//
// Deployed to : 0x9943598e1b55547F5f9273F951cEe740a03Eff97
// Symbol : DOTSHIB
// Name : DataOracleShib
// Total supply: 1000000000000000
// Decimals : 18
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/*
* -PlayerBook - v0.3.14
* ┌┬┐┌─┐┌─┐┌┬┐ ╦╦ ╦╔═╗╔╦╗ ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐
* │ ├┤ ├─┤│││ ║║ ║╚═╗ ║ ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐
* ┴ └─┘┴ ┴┴ ┴ ╚╝╚═╝╚═╝ ╩ ┴ ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘
* _____ _____
* ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : HPY
// Name : HyperLink Token
// Total supply : 9000000000
// Decimals : 2
// Owner Account : 0x82BF15E96e29e3e50532cc1F1B09fC8AC7a480F6
//
// Enjoy.
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
/*______/\\\\__/\_______/\__/\\\\\__/\\\\\\___
_____/\////////__///\___/\/__/////\///__/\/////////\_
___/\/_____________///\\\/________/\_____/\_______/\_
__/\_________________//\\__________/\_____/\\\\\\/__
_/\__________________/\\__________/\_... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.6;
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-periphery/contracts/libraries/UniswapV2Library.sol";
import "@uniswap/v2-periphery/contracts/libraries/UniswapV2OracleLibrary.sol";
import ... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.5.0;
// http://t.me/ONECOREFINANCE
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, ui... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
contract Migrations {
address public owner;
uint public last_completed_migration;
modifier restricted() {
if (msg.sender == owner) _;
}
function Migrations() public {
owner = msg.sender;
}
function setCompleted(uint completed) public restricted {
last_completed_mig... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0xfeb53a79008aff53C8AE7b80e001446C0Fa1b5b2
// Symbol : SPSC
// Name : SuperSportCoin
// Total supply: 10000000000
// Decimals : 8
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
contract Ownable is Context {
address internal _owner;
constructor() {
address msgSender = _msgSender();
... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'HELPUKRAİNE' token contract
//
// Deployed to : 0x3605F11d48AE301F4FaAf45FA674eA1301ec4cD0
// Symbol : HELPUKRAİNE
// Name : HELPUKRAİNE
// Total supply: 10000000000000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EUROCASH' token contract
//
// Deployed to : 0x963E4B5619f495716F3AfF67f0bab4A6aF3d6D1C
// Symbol : €
// Name : EUROCASH
// Total supply: 5000000000
// Decimals : 18
//
//
// --------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is t... | No vulnerabilities found |
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
abstract contract ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() virtual public view returns (uint);
/**
* @... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ALT' token contract
//
// Deployed to : 0xfD56158622fbb4a12c14d5D01688C545042E7A16
// Symbol : ALT
// Name : AlexaCoin
// Total supply: 7000000
// Decimals : 18
//
// (c) BSTRD 2018. The MIT Lice... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
interface ManagementList {
function isManager(address accountAddress) external returns (bool);
}
contract Manageable {
ManagementList public managementList;
constructor(address _managementListAddress) {
managementList = ManagementList(_mana... | No vulnerabilities found |
// File: @openzeppelin\contracts\math\SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./utils/ReentrancyGuard.sol";
import "./markets/MarketRegistry.sol";
import "./SpecialTransferHelper.sol";
import "../../interfaces/markets/tokens/IERC20.sol";
import "../../interfaces/markets/tokens/... | These are the vulnerabilities found
1) controlled-delegatecall with High impact
2) arbitrary-send with High impact
3) unchecked-lowlevel with Medium impact
4) delegatecall-loop with High impact
5) unchecked-transfer with High impact
6) unused-return with Medium impact |
// Skyship - New Ethereum Gem!
// SkyShip is a community driven, fair launch token which is made to make everone's dream come true with 100x you've been waiting for. To make sure everyone will be a part of this dream, we are making this a fair launch with Anti-Bot measures. Holders will be rewarded and Sellers will be ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SuperCoinViewToken' token contract
//
// Deployed to : 0x37efd6a702e171218380cf6b1f898a07632a7d60
// Symbol : SCV
// Name : Super CoinView Token
// Total supply: 10000000000
// Decimals : 18
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.7.6;
contract UpkeepPerformCounterRestrictive {
event PerformingUpkeep (
bool eligible,
address from,
uint256 initialCall,
uint256 nextEligible,
uint256 blockNumber
);
uint256 public initialCall = 0;
uint256 public nextEligible = 0;
uint256 public... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
/*
ISTARDUST is a tokenized social platform that enables anyone to become Influencer through a block chain-based platform and services to create diverse content and provide new business opportunities.
Influencer Rank System
Influencer Rank System is not based on measurement items based on existing SNS subscribers, but... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicense
// ----------------------------------------------------------------------------
// 'ShibaInuDino' token contract
//
// Symbol : INUD 🦖
// Name : Shiba Inu Dino
// Total supply: 100000000000000
// Decimals : 18
// Burned : 50%
// --------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//
// R2F.Finance: Next Evolution of the RFI experiment
//
// ██████╗ ██████╗ ███████╗
// ██╔══██╗╚════██╗██╔════╝
// ██████╔╝ █████╔╝█████╗
// ██╔══██╗██╔═══╝ ██╔══╝
// ██║ ██║███████╗██║
// ╚═╝ ╚═╝╚══════╝╚═╝
//
// https://t.me/r2finance
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721.sol";
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./Address.sol";
import "./Strings.sol";
interface CryptoMonkeyKing {
function balanceOf(address _owner) external view returns (uint256);
}
contract PunkMonkey is Own... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) tautology with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Zugacoin' token contract
//
// Deployed to : 0x4Cd3Ca15A32F52362c5A048259850B4C2B14aB94
// Symbol : SZC
// Name : Zuga coin
// Total supply: 1000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/** ----------------------------------------------------------------------------------------------
* ZJLTTokenVaultTest by ZJLT Distributed Factoring Network Limited.
* An ERC20 standard
*
* author: ZJLT Distributed Factoring Network Team
*/
/**
* @title SafeMath
* @dev Math operations ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract IOXInterface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfer(addr... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.7.5;
import "./libraries/SafeMath.sol";
import "./interfaces/IERC20.sol";
import "./interfaces/IFLOOR.sol";
import "./interfaces/IERC20Permit.sol";
import "./types/ERC20Permit.sol";
import "./types/FloorAccessControlled.sol";
contract FloorERC20Token ... | No vulnerabilities found |
pragma solidity ^0.4.16;
// ----------------------------------------------------------------------------
// contract WhiteListAccess
// ----------------------------------------------------------------------------
contract WhiteListAccess {
function WhiteListAccess() public {
owner = msg.sender;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract GenesisAccessories {
function G_Accessory(uint32 traitId_) public pure returns (string[2] memory) {
if (traitId_ == 0) return ["AirPods","iVBORw0KGgoAAAANSUhEUgAAACIAAAAiAgMAAABHKeNRAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAZdEVYdFNvZnR3YXJ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
/*
* Token has been generated using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't need to v... | No vulnerabilities found |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
/*
.
":"
___:____ |"\/"|
,' `. \ /
| O \___/ |
~^~^~^~^~^~^~^~^~^~^~^~^~
Whales Game | Generative Yield NFTs
Mint tokens and earn KRILL with this new blockchain based game! Battle it out to see who can generate the ... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) unchecked-transfer with High impact
5) incorrect-equality with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Lib: Safe Math
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./IYieldOraclelizable.sol";
import "./IYieldOracle.sol";
// a modified version of https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleSlidin... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact |
pragma solidity ^0.6.6;
/*
/$$ /$$ /$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$$$ /$$$$$$
| $$$ | $$ /$$__ $$| $$__ $$| $$ | $$|__ $$__//$$__ $$
| $$$$| $$| $$ \ $$| $$ \ $$| $$ | $$ | $$ | $$ \ $$
| $$ $$ $$| $$$$$$$$| $$$$$$$/| $$ | $$ | $$ | $$ | $$
| $$ $$$$| $$__ $$| $$__ $$| $$ | $$ | $$ | $... | No vulnerabilities found |
/*
Copyright 2017 Loopring Project Ltd (Loopring Foundation).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
INTERFACE ERC20
*/
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);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SPC' token contract
//
// Deployed to : 0x63f91cF1B5Dd18f05B38EF8F60c506179Fefd673
// Symbol : SPC
// Name : SuperPay.vip Token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.6.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// mock class using ERC20
contract ERC20Custom is ERC20 {
constructor(
string memory name,
string memory symbol,
uint8 decimals,
address initialAccount,
uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT867789' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT867789
// Name : ADZbuzz Startuplessonslearned.com Community Token... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import './interfaces/IUniswapV2Factory.sol';
import './UniswapV2Pair.sol';
contract UniswapV2Factory is IUniswapV2Factory {
// address public override feeTo;
address owner;
string public name = 'PolkaBridgeAMM: Factory';
address treasury;
map... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
contract PastelToadsSplitter is PaymentSplitter, Ownable {
using Sa... | No vulnerabilities found |
pragma solidity ^0.5.0;
/**
*"SPDX-License-Identifier: MIT"
*PumpCORE Token Contract source code
*PCORE is a CORE fork that has adopted some of the deflationary airdrop tokenomics of PRIA.
* Initial supply is 100,000 tokens.
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
fu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
*Owner address = 0x6BFAf995ffce7Be6e3073dC8AAf45E445cf234e2
*Parts of this code have been modified from code by BokkyPooBah:
*(c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence.
*/
contract SafeMath {
function safeAdd(uint a, uint b) public pure... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
contract Ownable {
address public owner;
function Ownable() public {
owner = 0x6a439dcba5cba1f440a209174f78f2664da9400b;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
event OwnershipTransferred(address indexed from, address in... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity >=0.6.7 <0.7.0;
// DssExecFactory v0.0.2
// https://github.com/makerdao/dss-exec-lib/releases/tag/v0.0.2
////// src/DssExec.sol
//
// DssExec.sol -- MakerDAO Executive Spell Template
//
// Copyright (C) 2020 Maker Ecosystem Growth Holdings, Inc.
//
// This... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
/*
Welcome To Goat Zombie.
💚 WEBSITE: https://goatzombie.com/
💚 TELEGRAM CHAT: https://t.me/zombiegoat/
:'######::::'#######:::::'###::::'########:
'##... ##::'##.... ##:::'## ##:::... ##..::
##:::..::: ##:::: ##::'##:. ##::::: ##::::
... | No vulnerabilities found |
// SPDX-License-Identifier: UNLICENSE
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning with... | No vulnerabilities found |
pragma solidity ^0.5.0;
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is che... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
pragma solidity ^0.4.19;
// File: zeppelin-solidity/contracts/math/SafeMath.sol
/**
* @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 (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// hevm: flattened sources of src/osm.sol
pragma solidity >0.4.13 >=0.4.23 >=0.5.10;
////// lib/ds-stop/lib/ds-auth/src/auth.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either versio... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.24;
contract TOPB {
string public name = 'TOPBTC TOKEN';
string public symbol = 'TOPB';
uint8 public decimals = 18;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
event Transfer(address indexed from, address indexed to, uint256 value);
ev... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BAQ' 'Bitstraq Token' token contract
//
// Symbol : BAQ
// Name : Bitstraq Token
// Total supply: 500000000.0000000000
// Decimals : 10
//
// Enjoy.
//
// ----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.9.2 https://hardhat.org
pragma solidity ^0.8.11;
// File contracts/interfaces/ITransmuterV1.sol
interface ITransmuterV1 {
function distribute(address origin, uint256 amount) external;
function migrateFunds(address migrateTo) external;
function setPause(bool val) external... | No vulnerabilities found |
// File: @openzeppelin\upgrades\contracts\Initializable.sol
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact |
pragma solidity ^0.4.18;
// File: contracts/ownership/Ownable.sol
/**
* @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 Ownership... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.5.0;
library SafeMath {
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a == _b);
return c;
}
function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
require(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) public vi... | No vulnerabilities found |
pragma solidity ^0.4.26;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a / b;
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221798' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221798
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-10
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
interface ISushiswap2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view ret... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
//https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'WorldwideGiftCode' token contract
//
// Deployed to : 0x3A88237E1a9129aB8e674C9EbCf01FeEEa1306F9
// Symbol : WGC
// Name : Worldwide Gift Code
// Total supply: 999999999999
// Decimals : 0
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BlueTitaniumClassic' token contract
//
// Deployed to : 0xFB73267c6a50fb8d118FeBF86926F4AfC1f42F68
// Symbol : BTC25
// Name : BlueTitaniumClassic
// Total supply: 25000000000
// Decimals : 18
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
* @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 c) {
// Gas optimization: this is cheaper th... | No vulnerabilities found |
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721Tradable.sol";
/**
* @title Pingu
* Pingu - a contract for my non-fungible pingu.
*/
contract Pingu is ERC721Tradable {
constructor(address _proxyRegistryAddress)
ERC721Tradable("Chilly Bits", "CHB", _proxyRegistryAddress)
{}
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.