input
stringlengths
32
47.6k
output
stringclasses
657 values
pragma solidity ^0.6.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; } /** * @dev Returns the subtraction of two unsigned integers, reverting on *...
No vulnerabilities found
pragma solidity ^0.4.24; interface PlayerBookInterface { function getPlayerID(address _addr) external returns (uint256); function getPlayerName(uint256 _pID) external view returns (bytes32); function getPlayerLAff(uint256 _pID) external view returns (uint256); function getPlayerAddr(uint256 _pID) exter...
These are the vulnerabilities found 1) uninitialized-local with Medium impact 2) constant-function-asm with Medium impact 3) unchecked-send with Medium impact 4) arbitrary-send with High impact
// Created using Token Wizard https://github.com/poanetwork/token-wizard by POA Network pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownab...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2021-05-13 */ pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; 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, ui...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2021-02-14 */ pragma solidity 0.5.17; 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); ...
No vulnerabilities found
pragma solidity ^0.4.18; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-06-15 */ 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...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-04-11 */ // File: contracts/IMultisigCarrier.sol pragma solidity ^0.5.0; /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract IMultisigCarrier { function vaultParties( address vaultAddress ) public...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-05-01 */ pragma solidity ^0.8.10; // SPDX-License-Identifier: Unlicensed interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOn...
No vulnerabilities found
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.11;//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKOkOKWMMMMMM // // MMMMWKkk0KNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKOkOKWMMMMMM // // MMMMXl.....,cdOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOo:,.....dNMMMM // // MMMWd. .&#39;cxKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0d:&#39;. ...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-28 */ 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 (ui...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; 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) { // assert(b > 0); // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-12-03 */ // SPDX-License-Identifier: MIT /* Telegram https://t.me/InterstellarInu Website https://www.interstellarinu.com/ */ pragma solidity ^0.6.12; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) 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
/** *Submitted for verification at Etherscan.io on 2021-06-27 */ pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : WNT // Name : WANTED // Total supply : 99999999000000000000000000 // Decimals : 18 //...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-01-06 */ 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; } } int...
These are the vulnerabilities found 1) shadowing-state with High impact
pragma solidity ^0.4.16; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } i...
These are the vulnerabilities found 1) erc20-interface with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-09-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It ...
No vulnerabilities found
pragma solidity 0.4.23; /** * @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); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.15; /// @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.19; /* @title Address Handle Service aka AHS @author Ghilia Weldesselasie, founder of D-OZ and genius extraordinaire @twitter: @ghiliweld, my DMs are open so slide through if you trynna chat ;) This is a simple alternative to ENS I made cause ENS was too complicated for me to understand which see...
No vulnerabilities found
pragma solidity ^0.4.16; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != addr...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-02-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; contract Proxy { // Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7" constructor(bytes memory constructData, addre...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'One Night Stand' token contract // // Deployed to : 0x138563D234AAdfD97dD897f23CaD2d6Bc02b18ad // Symbol : NITE // Name : One Night Stand // Total supply: 69000 // Decimals : 3 // // Enjoy. // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; require(c >= a); } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { require(b <= a); c = a - b; } function mul(uint256 a...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // &#39;DIGTREX Token&#39; token contract // // Deployed to : 0x97c47782c7918eD78a247F2CE7A476A22A41Cd19 // Symbol : DGT // Name : DIGTREX Token // Total supply: 250,000,000.000000000000000000 // Decima...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity >=0.4.24 <0.7.0; // ---------------------------------------------------------------------------- // 'EURO' token contract // // Deployed from: 0x900a297C4883a392B731f552B18f14eb4fBC510d // Deployed to : 0x25fD87D79a9fbE31b40A04728e00406311CCc369 // Symbol : EURO // Name : Open Euro // To...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-02-10 */ pragma solidity 0.6.6; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2020-10-20 */ pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-05-02 */ 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; ret...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) incorrect-equality with Medium impact 3) locked-ether with Medium impact
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
pragma solidity ^0.4.10; // Inspiration from other ICO&#39;s are used in this contract! // Please contact me when there are critical errors, thanks! contract ForeignToken { function balanceOf(address _owner) constant returns (uint256); function transfer(address _to, uint256 _value) returns (bool); } contract...
No vulnerabilities found
// File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant ...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2021-07-04 */ /* About Beethoven Beethoven Finance is a multi-chain yield optimizer and DEX aggregator based on Ethereum. It aims to build a vault to maximize the earnings of users by locating and participating in the most profitable project. Yield Farming Yield p...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-02-13 */ 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) publ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-04-26 */ pragma solidity ^0.8.13; // SPDX-License-Identifier: Unlicensed interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOn...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2022-05-01 */ 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...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.16; /** * DNA Coin * * Powering a next generation DNA Data Matching Platform * * Copyright DNA TEMPLE International Limited. All rights reserved. */ /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ER...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-10-11 */ // The MIT License (MIT) // Copyright (c) 2016-2019 zOS Global Limited // Copyright (c) 2019-2021 ABC Hosting Ltd. pragma solidity ^0.4.18; contract EternalStorage { mapping(bytes32 => uint256) internal uintStorage; mapping(bytes32 => string) ...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; contract Lottery{ /*================================= = MODIFIERS = =================================*/ // Only owner allowed. modifier onlyOwner() { require(msg.sender == owner); _; } // The tokens can never be stolen....
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) weak-prng with High impact 3) unused-return with Medium impact 4) arbitrary-send with High impact
pragma solidity ^0.4.16; contract SafeMath { function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeSub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) reentrancy-no-eth with Medium impact 3) tautology with Medium impact 4) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // &#39;LuJiaZuiToken&#39; token contract // // Deployed to : 0x1a892eB799a6f33d8aa6654f5fDa026C7Db62Abc // Symbol : LUJZ // Name : Lujiazui Token // Total supply: 100000000000 // Decimals : 8 // // ...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) constant-function-state with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; re...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.4.19; pragma solidity ^0.4.18; /** * @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) { if (a == 0) { ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-02-18 */ pragma solidity ^0.4.25; 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) constant-function-asm with Medium impact 2) unchecked-transfer with High impact 3) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-03-08 */ pragma solidity 0.8.1; // SPDX-License-Identifier: MIT /* * @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, th...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-27 */ pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'OwlDoge' token contract // // Deployed to : 0xfa46459930574466D40cFbd55BB7AB128496a571 // Symbol : ODOGE // Name : OwlDoge // Total...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-03-23 */ pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : TECH // Name : TECH Token // Total supply : 2000000000 // Decimals : 2 // Owner Accou...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'AEX' token contract // // Deployed to : 0x8202e0c9AD0eB52E48a0129B574071435CcbB570 // Symbol : aex // Name : Arye // Total supply: 7000000 // Decimals : 18 // // Enjoy. // // (c) by Moritz Neto w...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.19; // ERC Token Standard #20 Interface // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md contract ERC20Interface { function totalSupply() public constant returns (uint); function balanceOf(address tokenOwner) public constant returns (uint balance); functio...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // ___________ ___. .__ // \_ _____/ _____\_ |__ | | ____ _____ // | __)_ / \| __ \| | _/ __ \ / \ // | \ Y Y \ \_\ \ |_\ ___/| Y Y \ // /_______ /__|_| /___ /____/\___ >__|_| / // \/ \/ \/ ...
These are the vulnerabilities found 1) erc20-interface with Medium impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-27 */ // 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 * usi...
No vulnerabilities found
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 OwnershipT...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-24 */ pragma solidity >=0.8.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external retur...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) msg-value-loop with High impact
/** *Submitted for verification at Etherscan.io on 2021-06-09 */ 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...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-17 */ pragma solidity =0.5.16; interface IAtlasSwapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns ...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
pragma solidity ^0.4.18; 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.6.12; //SPDX-License-Identifier: MIT /* 8 8888 88 `8.`8888. ,8' 8888888 8888888888 8 8888 88 `8.`8888. ,8' 8 8888 8 8888 88 `8.`8888. ,8' 8 8888 8 8888 88 `8.`8888.,8' 8 8888 8 8888 88 `8.`88888' 8 8...
No vulnerabilities found
/** * Note for the truffle testversion: * DragonKingTest inherits from DragonKing and adds one more function for testing the volcano from truffle. * For deployment on ropsten or mainnet, just deploy the DragonKing contract and remove this comment before verifying on * etherscan. * */ /** * Dragonking is a bloc...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) constant-function-asm with Medium impact 4) incorrect-equality with Medium impact 5) uninitialized-local with Medium impact 6) weak-prng with High impact 7) controlled-array-length with Hig...
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e....
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-11-27 */ 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 canno...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // LETSCOIN Token contract // // Deployed to : 0x38dD8bFDD8872a612B8a885520f71449c2212e9E // Symbol : $C // Name : LETSCOIN Token // Total supply: 25000000000000000000000000000 // Decimals : 18 // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // &#39;CPF&#39; &#39;Crypto Property Fund Coin&#39; // // Symbol : CPF // Name : Crypto Property Fund Coin // Total supply: 900,000,000 // Decimals : 18 // // // (c) BokkyPooBah / Bok Consulting Pty...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-08-10 */ // Should be compiled with v0.5.16+commit.9c3226ce and no optimizations to match Etherscan verification. // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, in...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-11-01 */ /** *Submitted for verification at Etherscan.io on 2020-10-28 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); fu...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-06-03 */ pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'HotDoge' token contract // // Deployed to : 0x747b799ff4592dC61DDea754C02afe3d8060E2af // Symbol : HOGE // Name : HotDoge // Total ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-09-25 */ 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, ...
No vulnerabilities found
// File: @openzeppelin/contracts/utils/Address.sol // SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsaf...
These are the vulnerabilities found 1) locked-ether with Medium impact
// 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
/** *Submitted for verification at Etherscan.io on 2021-06-29 */ 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...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-01-07 */ /** *Submitted for verification at Etherscan.io on 2020-12-17 */ // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic op...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-04-17 */ pragma solidity ^0.4.25; 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; } ...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High impact
/** *Submitted for verification at Etherscan.io on 2021-11-15 */ // SPDX-License-Identifier: BSD-3-Clause // File: contracts/interfaces/IOwner.sol pragma solidity 0.8.4; /** * @title BiFi-Bifrost-Extension IOwner Interface * @notice Interface for Owner Contract * @author BiFi-Bifrost-Extension(seinmyung25, Miller-kk...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-30 */ /** 50% Burn No presale CoinGecko apllication pending Pool will be locked */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { ...
No vulnerabilities found
pragma solidity ^0.4.11; /** * @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...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) unused-return with Medium impact 3) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-04-20 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be *...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) unused-return with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // &#39;FMWL&#39; token contract // // Deployed to : // Symbol : FMWL // Name : from Menton with Love – the worlds 1st Ethereum funded Documentary // Total supply: 1’000’000,00 // Decimals : 2 // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @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) unchecked-transfer with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.11; contract Dispenser { function dispense(address payable[] memory recipients) external payable { assembly { let len := mload(recipients) let amount_per := div(callvalue(), len) let data := add(reci...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ‘Finteka’ token contract // // Deployed to : 0xB4E2AE7F70820C4B651E207b603D4903f7D92311 // Symbol : FNA // Name : Finteka Token // Total supply: 1000000000000000000 // Decimals : 18 // // Enjoy. /...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-06-09 */ pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Myoshiba' token contract // // Deployed to : 0xB6C3138C9f13D31689ECeDc3623cf8A738d08Ec0 // Symbol : MYOSHIB // Name : Myoshiba // T...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-26 */ pragma solidity ^0.4.24; 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 <=...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'DeFiCoin' token contract // // Deployed to : 0xFd7A09ca82601fb3a5CB355dE8812177a5BD6597 // Symbol : DFC // Name : DeFiCoin // Total supply: 100000000 // Decimals : 18 // // // // // ------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; /* * XYZethroll. * * Adapted from PHXRoll, written in March 2018 by TechnicalRise: * https://www.reddit.com/user/TechnicalRise/ * */ contract ZTHReceivingContract { /** * @dev Standard ERC223 function that will handle incoming token transfers. * * @param _from Token sender addre...
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) uninitialized-local with Medium impact 5) weak-prng with High impact 6) unused-return with Medium impact
// ---------------------------------------------------------------------------------------------- // Developer Nechesov Andrey & ObjectMicro, Inc // ---------------------------------------------------------------------------------------------- // ERC Token Standard #20 Interface // https://github.com/ethereum/EIPs/iss...
These are the vulnerabilities found 1) unchecked-send with Medium impact 2) divide-before-multiply with Medium impact 3) controlled-array-length with High impact
/** *Submitted for verification at Etherscan.io on 2022-02-12 */ // SPDX-License-Identifier: MIT pragma solidity =0.8.10; abstract contract IComptroller { struct CompMarketState { uint224 index; uint32 block; } mapping(address => uint) public compSpeeds; mapping(address => uint...
These are the vulnerabilities found 1) erc20-interface with Medium impact 2) unused-return with Medium impact 3) arbitrary-send with High impact 4) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-04-30 */ pragma solidity ^0.7.0; contract transferThroughContract { function transferTo(address payable _to) public payable { _to.send(msg.value); } }
These are the vulnerabilities found 1) unchecked-send with Medium impact
pragma solidity ^0.4.23; // 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.24; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /** * @title SIT代币合约 */ contract SmartIdeaTokenERC20 { /* 公共变量 */ string public name; //代币名称 string public symbol; //代币符号比如&#39;$&#39; uint8 publi...
These are the vulnerabilities found 1) erc20-interface with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-07-22 */ // Sources flattened with hardhat v2.0.11 https://hardhat.org // File @boringcrypto/boring-solidity/contracts/interfaces/[email protected] // SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IERC20 { function totalSupply() external ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) uninitialized-local with Medium impact 3) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-10 */ /** Johnny Cash Doge Brother ($CASHDOGE) - Community Token */ pragma solidity >=0.5.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c ...
No vulnerabilities found
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 x, uint256 y) internal pure returns (uint256) { if (x == 0) { return 0; } uint256 z = x * y; assert(z / x == y); return z; } function div(uint256...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) shadowing-abstract with Medium impact 3) uninitialized-local with Medium impact 4) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-04-10 */ // SPDX-License-Identifier: MIT pragma solidity =0.7.6; pragma experimental ABIEncoderV2; abstract contract IManager { function last(address) virtual public returns (uint); function cdpCan(address, uint, address) virtual public view retur...
These are the vulnerabilities found 1) erc20-interface with Medium impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-08-02 */ pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { ...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2021-02-14 */ pragma solidity ^0.5.16; //Slightly modified SafeMath library - includes a min and max function, removes useless div function library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; ...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact 3) controlled-array-length with High impact
// 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...
No vulnerabilities found
pragma solidity 0.4.19; /** * @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
pragma solidity ^0.4.24; contract ERC20 { function totalSupply() public constant returns (uint); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); function allowance(address owner, address spender) public view returns (uint256); ...
No vulnerabilities found