input
stringlengths
32
47.6k
output
stringclasses
657 values
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; contract StepVesting is Ownable { using Sa...
No vulnerabilities found
/* Picks your cotton and make you some yield on your farm! WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWNNNNWWWWWW...
No vulnerabilities found
pragma solidity 0.6.6; // ---------------------------------------------------------------------------- // 'DogeX' token contract // // Deployed to : 0x9cAf83eC9e34E0E2B359d3fa6CB8acd08fe27493 // Symbol : DOGEX // Name : DogeX // Total supply: 2000000000000000 // Decimals : 6 // // Enjoy. // // (c) by Ah...
No vulnerabilities found
/** Medium: https://astroinu.medium.com/ Telegram Group: https://t.me/AstroINUtoken Twitter: https://twitter.com/inu_astro */ // "SPDX-License-Identifier: UNLICENSED" pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return ms...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : MUSK // Name : MoonDoge // Total supply : 2 ** 256 - 1 // Decimals : 0 // Owner Account : 0x8026c1C4A0B767F7aD31cF558264b7cDB9C330fc // Ropstein network...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // 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
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT287517' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT287517 // Name : ADZbuzz Zinzino.com Community Token // Total ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // File: @openzeppelin/contracts/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 should not b...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) shadowing-state with High impact 4) locked-ether with Medium impact
pragma solidity ^0.4.10; contract SafeMath { function safeAdd(uint256 x, uint256 y) internal returns(uint256) { uint256 z = x + y; assert((z >= x) && (z >= y)); return z; } function safeSubtract(uint256 x, uint256 y) internal returns(uint256) { assert(x >= y); uint...
No vulnerabilities found
pragma solidity ^0.4.24; contract EGCSnakesAndLadders { using SafeMath for uint; struct User { uint position; uint points; uint rolls; mapping (uint => uint) history; } address public owner; uint public total_points; mapping (address => User) public users; ...
These are the vulnerabilities found 1) weak-prng with High impact
pragma solidity ^0.4.19; /* Game: CryptoPokemon Domain: CryptoPokemon.com Dev: CryptoPokemon Team */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) tautology with Medium impact 3) incorrect-equality with Medium impact 4) reentrancy-eth with High impact 5) weak-prng with High impact 6) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ORU' token contract // // Deployed to : 0xff60947022E9e3510974646C530445B51540292D // Symbol : ORU // Name : Overseas Returnees Union // Total supply: 100000000000 // Decimals : 18 // // Enjoy. /...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in exis...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT275261' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT275261 // Name : ADZbuzz Phdcomics.com Community Token // Tota...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; contract Oracle{ address admin; uint256 price; constructor() public { admin=msg.sender; price=1e19; } function setPrice(uint256 Price) public { require(msg.sender == admin); p...
No vulnerabilities found
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 decimals is the st...
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
pragma solidity 0.4.19; /** * @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 previousOwner, ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) arbitrary-send with High impact 3) incorrect-equality with Medium impact 4) uninitialized-local with Medium impact 5) reentrancy-eth with High impact 6) weak-prng with High impact
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // MarketingToken Smart Contract // // Symbol : XPM // Name : Marketing Token // Total Supply : 100,000,000 // Decimals : 18 // ---------------------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.0; contract Coinflip { uint public minWager = 10000000000000000; uint public joinDelta = 10; uint public fee = 1; //1% uint public cancelFee = 1; //1% uint public maxDuration = 86400; //24h bool public canCreateGames = true; address public owner = msg.sender; uin...
These are the vulnerabilities found 1) weak-prng with High impact 2) tautology with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'WrappedShibaInu' token contract // // Deployed to : 0xF282cFE98B4f80ea7697eD12A20Fac080a963271 // Symbol : WSINU // Name : WrappedShibaInu // Total supply: 100000000000000 // Decimals : 18 // // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.4; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ui...
No vulnerabilities found
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function add(uint256 a, uint256 b, string memory ...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /* * @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 should not be accessed in such a direct * manner, since when d...
No vulnerabilities found
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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; } functi...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // solhint-disable const-name-snakecase pragma solidity 0.6.10; /** * @title OwnedUpgradeabilityProxy * @dev This contract combines an upgradeability proxy with basic authorization control functionalities */ contract OwnedUpgradeabilityProxy { /** * @dev Event to show owners...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: Unlicense // ---------------------------------------------------------------------------- // 'EthereumCookie' token contract // // Symbol : ECOOK 🍪 // Name : Ethereum Cookie // Total supply: 100,000,000,000,000 // Decimals : 18 // Burned : 50% // ------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.0; /// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. /// @author Stefan George - <stefan.george@consensys.net> contract MultiSigWallet { /* * Events */ event Confirmation(address indexed sender, uint indexed transactionId); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; /* This is a token wallet contract Store your tokens in this contract to give them super powers Tokens can be spent from the contract with only an ecSignature from the owner - onchain approve is not needed */ library ECRecovery { /** * @dev Recover signer address from a message...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) unchecked-transfer with High impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; interface IndexInterface { function master() external view returns (address); } contract Setup { address public defaultImplementation; mapping (bytes4 => address) internal sigImplementations; mapping (address => bytes4[]) internal implementatio...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'yLink Finance' token contract // // Deployed to : 0x79B9fe3F0e52f43Ca02a7092509545fC169a2f0C // Symbol : YLF // Name : yLink Finance // Total supply: 80000 // Decimals : 8 // // // // // ------...
These are the vulnerabilities found 1) locked-ether with Medium impact
// pragma solidity >=0.4.21 <0.6.0; pragma solidity >=0.6.6; import "./interfaces/OracleInterface.sol"; import "./interfaces/IDEOR.sol"; import "./interfaces/IOracles.sol"; import "./interfaces/IPriceFeed.sol"; import "./interfaces/IDataQuery.sol"; import "./library/Selection.sol"; import "./library/SafeMathDEOR.sol";...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) unchecked-transfer with High impact
pragma solidity ^0.4.18; contract AccessControl { address public creatorAddress; uint16 public totalSeraphims = 0; mapping (address => bool) public seraphims; bool public isMaintenanceMode = true; modifier onlyCREATOR() { require(msg.sender == creatorAddress); _; } modi...
These are the vulnerabilities found 1) weak-prng with High impact 2) controlled-array-length with High impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 functio...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) incorrect-equality with Medium impact 3) uninitialized-local with Medium impact 4) 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 { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(addr...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
pragma solidity ^0.8.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 ac...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT151693' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT151693 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Omnes Coin' contract // Mineable ERC20 Token using Proof Of Work // // Symbol : OME // Name : Omnes Coin // Total supply: 7,000,000,000.00 // Decimals : 8 // // -----------------------...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
pragma solidity 0.4.25; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value)...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT237175' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT237175 // Name : ADZbuzz Ign.com Community Token // Total supp...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // MeetOne Community Bonus // // Deployed to : 0x110aa8bEb097cEF81e6AE7Fb3CF651F9AB9c0Ed3 // Symbol : ONE // Name : MeetOne Community Bonus // Total supply: 10000000 // Decimals : 0 // // Enjoy. // /...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT341432' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT341432 // Name : ADZbuzz Marksdailyapple.com Community Token /...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: contracts/lib/IOracle.sol pragma solidity 0.6.5; interface IOracle { function getData() external returns (uint256, bool); } // File: contracts/lib/FullMath.sol // SPDX-License-Identifier: CC-BY-4.0 pragma solidity 0.6.5; // taken from https://medium.com/coinmonks/math-in-solidity-part-3-percents-and-p...
These are the vulnerabilities found 1) write-after-write with Medium impact 2) weak-prng with High impact 3) divide-before-multiply with Medium impact 4) uninitialized-local with Medium impact
/** * @dev Cryptolotto referral system interface. */ contract iCryptolottoReferral { /** * @dev Get partner by referral. */ function getPartnerByReferral(address) public view returns (address) {} /** * @dev Get partner percent. */ function getPartnerPercent(address) public view retu...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) arbitrary-send with High impact 3) reentrancy-eth with High impact 4) weak-prng with High impact 5) controlled-array-length with High impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // //Symbol : HKC //Name : Hi Kiosk Coin //Total supply : 100000 //Decimals : 2 //Owner Account : 0xAd61C057eD2cE6BB81f10eeC0192e3a7DEC848dc // // Enjoy. // // (c) by ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'KFC' token contract // // Deployed to : 0x28117c6e52351d60a9188b65c1700184b42ea11b // Symbol : KFC // Name : Kungfu Token // Total supply: 1000000000 // Decimals : 18 // // Enjoy. // // (c) by Mo...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.6.12; contract Auth { mapping (address => uint256) public wards; event Rely(address indexed usr); event Deny(address indexed usr); function rely(address usr) external auth { wards[usr] = 1; emit Rely(usr); } fu...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact 4) erc20-interface with Medium impact
// Verified using https://dapp.tools // hevm: flattened sources of src/lender/assessor.sol // SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.15 >=0.6.12; ////// lib/tinlake-auth/src/auth.sol // Copyright (C) Centrifuge 2020, based on MakerDAO dss https://github.com/makerdao/dss /* pragma solidity >=0.5....
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact
pragma solidity 0.5.16; interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function getOwner() external view returns (...
No vulnerabilities found
pragma solidity ^0.4.19; /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Ethernauts contract ERC721 { // Required methods function totalSupply() public view returns (uint256 total); function balanceOf(address _owner) public view returns (uint256 balance); funct...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) locked-ether with Medium impact 3) incorrect-equality with Medium impact 4) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // '0Vilz' token contract // // Deployed to : 0x13c536BA3E45BE2bB79914D333b3fa95E9728E3A // Symbol : 0VILZ // Name : 0 Vilz Token // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by...
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 (uint256) { uint256 c = a / b;return c; } function...
These are the vulnerabilities found 1) unchecked-send with Medium impact
pragma solidity ^0.6.12; // SPDX-License-Identifier: Unlicensed interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Move...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; contract StepVesting is Ownable { using Sa...
No vulnerabilities found
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); function transfer(address to, uint256 value) external returns (...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: contracts/interfaces/IYFIoneV2Factory.sol // SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.0; interface IYFIoneV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() e...
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: MIT pragma solidity 0.8.4; contract Owned { address public owner; address public proposedOwner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the i...
No vulnerabilities found
pragma solidity 0.6.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, ...
No vulnerabilities found
/* Copyright 2019,2020 StarkWare Industries Ltd. 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 https://www.starkware.co/open-source-license/ Unless required by applicable law or agre...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence. // ---------------------------------------------------------------------------- // ----------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Token contract //Symbol // Symbol : HUMU // Name : Human Unity // Total supply : 10000000000000000000000000 // Decimals : 18 // Owner Account : 0xB6d395487F5ef6f9e61Bf2efCC02FA8B0576575c //...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; abstract contract ICoinJoin { uint256 public decimals; function join(address account, uint256 wad) external virtual; function exit(address account, uint256 wad) external virtual; } interface IERC20 { function name() external view retur...
These are the vulnerabilities found 1) unused-return with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
pragma solidity 0.5.10; interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address recipient, uint amount) external returns (bool); function allowance(address owner, address spender) external view ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) uninitialized-local with Medium impact 3) write-after-write with Medium impact 4) unchecked-transfer with High impact 5) msg-value-loop with High impact 6) controlled-array-length with High impact
pragma solidity ^0.4.17; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; assert(a ==...
No vulnerabilities found
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.24; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 ...
No vulnerabilities found
// SPDX-License-Identifier: GPL-3.0 /// @title The NounsToken pseudo-random seed generator /********************************* * ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ * * ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ * * ░░░░░░█████████░░█████████░░░ * * ░░░░░░██░░░████░░██░░░████░░░ * * ░░██████░░░████████░░░████░░░ * * ░░██░░██░░░███...
These are the vulnerabilities found 1) weak-prng with High impact
/** * * _______ ___ __ ___ ______ .___________. _______ .______ __ __ __ .___ ___. / _____| / \ | | / \ / || || ____|| _ \ | | | | | | | \/ | | | __ / ^ \ | | / ^ \ | ,----'`---| |----`| |__ ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
//SPDX-License-Identifier: Unlicense pragma solidity ^0.6.8; import "./ServiceInterface.sol"; import "./IERC1155Preset.sol"; import "./SafeMath.sol"; import "./Context.sol"; contract StrongNFTBonusDeprecated is Context { using SafeMath for uint256; event Staked(address indexed sender, uint256 tokenId, uint128 n...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) reentrancy-eth with High impact 5) unchecked-transfer with High impact 6) unused-return with Medium impact 7) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'imChat' token contract // // Symbol : IMC // Name : IMC // Total supply: 1000,000,000.000000000000000000 // Decimals : 8 // // imChat Technology Service Limited // -------------------------------...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.9; import '../interfaces/IShieldBadgeSVGs.sol'; import '../interfaces/IShields.sol'; /// @dev Generate Field SVG contract ShieldBadgeSVGs is IShieldBadgeSVGs { function generateShieldBadgeSVG(IShields.ShieldBadge shieldBadge) public pure override returns ...
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.7; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Mayweverse is ERC11...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) reentrancy-no-eth with Medium impact 3) uninitialized-local with Medium impact 4) weak-prng with High impact 5) unused-return with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; import "@chainlink/contracts/src/v0.8/interfaces/KeeperCompatibleInterface.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol"; import "./CryptoPunksInterface.sol"; im...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) arbitrary-send with High impact 4) uninitialized-local with Medium impact 5) reentrancy-eth with High impact 6) unused-return with Medium impact 7) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-11-19 */ 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; } ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact 3) controlled-array-length with High impact
/* Contract Security Audited by Certik : https://www.certik.org/projects/lepasa */ // SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.9; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface TransferLepa { function transfer(address recip...
These are the vulnerabilities found 1) tautology with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'BlockAdz' 'Fixed Supply Token' Token contract // // Symbol : BAZ // Name : BlockAdz Token // Total supply: 1,000,000,000 // Decimals : 0 // // Enjoy. // // Remix Compiler Version: 0.4.24+commit.e...
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
pragma solidity ^0.4.23; contract Token { mapping(address => uint) balances; mapping (address => mapping (address => uint256)) allowed; uint public totalSupply; event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _...
No vulnerabilities found
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity =0.6.6; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); func...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
pragma solidity ^0.4.26; library SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; ass...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'TrendNetworkToken' token contract // // Deployed to : 0xa6C755F45104aedD0Ec947759F11c999d77F222b // Symbol : TRD // Name : Tend Network // Total supply: 500000000 // Decimals : 4 // // Enjoy. // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2019-04-10 */ pragma solidity ^0.4.24; 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 ...
No vulnerabilities found
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.0; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IUniswapV2Pair.sol"; import "./interfaces/ITwapOraclePriceFeed.sol"; import "./libraries/FixedPoint.sol"; import "./libraries/UniswapV2OracleLibrary.sol"; import "./libraries/UniswapV2Library.s...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) uninitialized-local with Medium impact
pragma solidity ^0.4.24; library CCC { function addCCC(uint256 a, uint256 b) pure returns (uint256) { uint256 c = a - b; return c; } } contract AAA { function aa() constant returns (uint256) { uint256 x = 50; return CCC.addCCC(50, x); } }
No vulnerabilities found
pragma solidity ^0.4.18; contract AccessControl { address public creatorAddress; uint16 public totalSeraphims = 0; mapping (address => bool) public seraphims; bool public isMaintenanceMode = true; modifier onlyCREATOR() { require(msg.sender == creatorAddress); _; } modi...
These are the vulnerabilities found 1) weak-prng with High impact 2) controlled-array-length with High impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; contract TheHighestOffice is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; using Strings for uint256; // Set variables ...
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; /** * @title Owner * @dev Set & change owner */ contract Owner { address private owner; // event for EVM logging event OwnerSet(address indexed oldOwner, address indexed newOwner); // modifier to check if caller is owner...
No vulnerabilities found
pragma solidity 0.4.24; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a && c >= b); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.12; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 ...
No vulnerabilities found
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
No vulnerabilities found
pragma solidity ^0.6.0; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure r...
No vulnerabilities found
pragma solidity 0.5.15; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure r...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) msg-value-loop with High impact 3) unused-return with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* Interface Imports */ import { IBondManager } from "./IBondManager.sol"; /* Contract Imports */ import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; /** * @title BondManager * @dev This contract is, for now, a stub of the ...
No vulnerabilities found
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) { if (a == 0) { ret...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Chess Club Live ChessCoin' token contract // // Deployed to : 0x04Ede35B1D51c0e814833887b2DdBB5D553070b6 // Symbol : CHESSCCL // Name : Chess Club Live ChessCoin // Total supply: 6400000000000000000...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; 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; } function safeMul(uint a, uint b) pu...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-10-13 */ 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) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
/** Telegram - https://t.me/pokeshu WebSite - https://pokeshu.com */ // SPDX-License-Identifier: MIT pragma solidity =0.7.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual retu...
No vulnerabilities found
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; return msg.data; } } interface IDEXFactory { function createP...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) incorrect-equality with Medium impact 3) locked-ether with Medium impact