input
stringlengths
32
47.6k
output
stringclasses
657 values
pragma solidity 0.4.24; /** * https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/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(u...
These are the vulnerabilities found 1) locked-ether with Medium impact
// Created on 2020-09-20 // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
/* Copyright 2020 CrossRollupsERC20. SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.6.9; /** * @title SafeMath * @author CrossRollupsERC20 * * @notice Math operations with safety checks that revert on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (u...
No vulnerabilities found
// File: @uniswap/lib/contracts/libraries/FullMath.sol // SPDX-License-Identifier: CC-BY-4.0 pragma solidity >=0.4.0; // taken from https://medium.com/coinmonks/math-in-solidity-part-3-percents-and-proportions-4db014e080b1 // license is CC-BY-4.0 library FullMath { function fullMul(uint256 x, uint256 y) internal ...
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) uninitialized-local with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Stakefast' token contract // // Deployed to : 0x7660B6Fd6929BCbCFC2406080bCb2Ae80dcDeEbC // Symbol : SFT // Name : Stakefast Token // Total supply: 1000000 // Decimals : 18 // // Enjoy. // // (c)...
These are the vulnerabilities found 1) locked-ether with Medium impact
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
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // RealEstate Hospitality Investment Token contract // // Deployed to : 0x8C2B6D974B63992cFfd75746f49B80F229833721 // Symbol : AHA // Name : Advanced Healthcare Analytics // Total supply: 36000000000000...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (ad...
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.16; /** * BMI Coin * * Invest into the future. * * BMI Coin is a ERC20 compatible token with the following properties: * - 3.000.000 coins max supply * - 1.500.000 coins mined for the company wallet * * Visit https://www.bmi-coin.io for more information and tokenholder benefits. * *...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'maascoin' token contract // // Deployed to : 0x7acEC84e351223AC0758AD5174cE8B3e5312D539 // Symbol : MAAS // Name : maascash // Total supply: 100000000 // Decimals : 8 // // Enjoy. // // (c) by Mo...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
No vulnerabilities found
// SPDX-License-Identifier: Unlicense pragma solidity 0.8.7; import { EtherOrcs } from "./EtherOrcs.sol"; import { ERC20 } from "./ERC20.sol"; import {EtherTransition} from "./EtherTransition.sol"; contract MigratorV2 { address implementation_; address public admin; EtherOrcs public oldOrcs; EtherOr...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) divide-before-multiply with Medium impact 3) reentrancy-no-eth with Medium impact 4) incorrect-equality with Medium impact 5) uninitialized-local with Medium impact 6) weak-prng with High impact
// 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
// 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.25; // ---------------------------------------------------------------------------- // 'FRKT' 'Fractal' // // Symbol : FRKT // Name : Fractal // Total supply: 300,000,000 // Decimals : 18 // // // (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence // --------------------...
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) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact
pragma solidity ^0.4.24; contract ERC20Token { /* 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 a getter function for the totalSupply. This is moved to the ba...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Goopy Token' token contract // // Deployed to : TBD // Symbol : GOP // Name : GOPERTOKEN // Total supply: 30000000 // Decimals : 18 // // THANKS. // // (c) by DANIEL K / DEC 2021 COPYRIGHT. // --...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function multiply(uint256 a, uint256 b) internal pure returns(uint256) { if (a == 0) { r...
No vulnerabilities found
pragma solidity 0.5.17; contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal v...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@rari-capital/solmate/src/tokens/ERC20.sol"; contract ConnextV0ERC20 is ERC20 { constructor(address _custodian) ERC20("Connext", "NEXT", 18) { _mint(_custodian, 1_000_000_000 ether); } } // SPDX-License-Identifier: AGPL-3.0-only pr...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2021-08-16 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: UNLICENSED pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in So...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-12-17 */ /** *Submitted for verification at Etherscan.io on 2018-07-23 */ pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'TZON' token contract // // Deployed to : 0xccd8a49cf8ab859272de086ba3f962027...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "../interfaces/IOperationsRegistry.sol"; import "../interfaces/IEurPriceFeed.sol"; /** * @title Authorization * @author Protofire * ...
No vulnerabilities found
// // Governor // // https://github.com/austintgriffith/scaffold-eth/tree/new-allocator // // File @openzeppelin/contracts/utils/Context.sol@v3.4.1 // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the tr...
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
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol"; import "@openzeppelin/...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) divide-before-multiply with Medium impact 3) reentrancy-no-eth with Medium impact 4) unchecked-transfer with High impact 5) weak-prng with High impact
pragma solidity ^0.4.18; contract AccessControl { /// @dev The addresses of the accounts (or contracts) that can execute actions within each roles address public ceoAddress; address public cooAddress; /// @dev Keeps track whether the contract is paused. When that is true, most actions are blocked bool publi...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) controlled-array-length with High impact
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
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'OnliCoinToken' token contract // // Deployed to : 0x9455680b53FbF52f59Cc199122ad8a586878186E // Symbol : OCT // Name : OnliCoin Token // Total supply: 88888888 // Decimals : 18 // // Enjoy. // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
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 <= a); c = a - b; } function safeMul(uint a, uint b) p...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.19; // ---------------------------------------------------------------------------- // 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.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) arbitrary-send with High impact 2) incorrect-equality with Medium impact 3) reentrancy-eth with High impact 4) weak-prng with High impact 5) unused-return 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) p...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.23; /******************************************************************************* * * Copyright (c) 2018 Taboo University MDAO. * Released under the MIT License. * * TABOO - Taboo Gold * Version 18.4.29 * * https://taboou.com * support@taboou.com */ /*******************************...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event Owner...
These are the vulnerabilities found 1) locked-ether with Medium impact
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
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/token/IERC20.sol"; import "../libraries/math/SafeMath.sol"; import "../interfaces/IGmxIou.sol"; contract GmxIou is IERC20, IGmxIou { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address ...
No vulnerabilities found
pragma solidity ^0.4.18; contract AttributaOwners { address public owner; address private newOwner; event OwnershipTransferred(address indexed _from, address indexed _to); function AttributaOwners() public { owner = msg.sender; } modifier isOwner { require(msg.sender == owner...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'APC' token contract // // Deployed to : 0x87055738f93863fEAC372c3b98A23883Af1ab5e5 // Symbol : APC // Name : Asia Property Coin // Total supply: 310000000 // Decimals : 18 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.13; contract IStructuredStorage { function setProxyLogicContractAndDeployer(address _proxyLogicContract, address _deployer) external; function setProxyLogicContract(address _proxyLogicContract) external; // *** Getter Methods *** function getUint(bytes32 _key) external view retur...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) divide-before-multiply with Medium impact 3) 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.5.0; /** * @title Tellor Oracle Storage Library * @dev Contains all the variables/structs used by Tellor */ library TellorStorage { //Internal struct for use in proof-of-work submission struct Details { uint256 value; address miner; } struct Dispute { byt...
These are the vulnerabilities found 1) locked-ether with Medium impact
//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 acce...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.23; contract SafeMath { function safeToAdd(uint a, uint b) pure internal returns (bool) { return (a + b >= a); } function safeAdd(uint a, uint b) pure internal returns (uint) { require(safeToAdd(a, b)); return a + b; } function safeToSubtract(uint a, ui...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact 3) arbitrary-send with High impact
pragma solidity ^0.4.16; 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 bala...
No vulnerabilities found
// File: @openzeppelin/contracts@4.1.0/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 ...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'SCPS1' token contract // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // Safe maths // ---------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.4.23; /** * @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) { return 0; } c =...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function ad...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-01-13 */ pragma solidity ^0.5.3; /// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract. /// @author Stefan George - <stefan@gnosis.io> /// @author Richard Meissner - <richard@gnosis.io> contract Prox...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.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 ...
No vulnerabilities found
//SPDX-License-Identifier: Cool kids only pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./interfaces/IERC165.sol"; import "./interfaces/IERC721.sol"; import "./interfaces/IERC721Metadata.sol"; import "./interfaces/IERC721TokenReceiver.sol"; contract Doomsday is I...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) unchecked-send with Medium impact 3) arbitrary-send with High impact 4) incorrect-equality with Medium impact 5) weak-prng with High impact
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability wa...
No vulnerabilities found
pragma solidity ^0.5.0; // This is a test token for Tornado Currency, please do not buy or interact with this token. // REAL TORNADO token goes by ticker TORN and will be listed after the presale. Join our Telegram to participate in the presale. // TORNADO TELEGRAM: https://t.me/TornadoCurrency // TORNADO WEBSITE: htt...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; 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 = 9; // 18 decimals is th...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT300669' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT300669 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./Random.sol"; contract PowerUpMembershipPass1155Merkle is ERC1155, Rand...
These are the vulnerabilities found 1) unused-return with Medium impact 2) weak-prng with High impact 3) reentrancy-no-eth with Medium impact 4) uninitialized-local with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; // The ATTRToken is the Attrace utility token. // More info: https://attrace.com // // We keep the contrac...
No vulnerabilities found
pragma solidity ^0.4.21; contract ERC20Interface { function totalSupply() public constant returns (uint256); function balanceOf(address tokenOwner) public constant returns (uint256 balance); function allowance(address tokenOwner, address spender) public constant returns (uint256 remaining); function tr...
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) divide-before-multiply with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
// File: contracts/external/govblocks-protocol/interfaces/IProposalCategory.sol /* Copyright (C) 2017 GovBlocks.io 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 version 3 of the Li...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @title Safe Math contract * * @dev prevents overflow when working with uint256 addition ans substraction */ contract SafeMath { function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) { c = a + b; require(c >= a); } function safeSub(uint25...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT470070' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT470070 // Name : ADZbuzz Funnyordie.com Community Token // Tot...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT496626' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT496626 // Name : ADZbuzz Dailycaller.com Community Token // To...
These are the vulnerabilities found 1) locked-ether with Medium impact
// ---------------------------------------------------------------------------- // _ _ _ _ // /\ | | | | | | (_) // / \ | |_| | __ _ _ __ | |_ _ ___ // / /\ \| __| |/ _` | '_ \| __| / __| // / ____ \ |_| | (_| | | | | |_| \__ \ // /_/ \_\__|_|\__,...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.23; /** * @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 than a...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Symbol : AKQA // Name : AKQA Coin // Total supply: 999,999,000.000000000000000000 // Decimals : 18 // // ---------------------------------------------------------------------------- // ---------...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; contract Migrations { address public owner = msg.sender; uint public last_completed_migration; modifier restricted() { require( msg.sender == owner, "This function is restricted to the contract's owner" ); _; } functio...
No vulnerabilities found
pragma solidity ^0.4.21; contract Etherwow{ function userRollDice(uint, address) payable {uint;address;} } /** * @title FixBet31 * @dev fix bet num = 31, bet size = 1 eth. */ contract FixBet31{ modifier onlyOwner{ require(msg.sender == owner); _; } address public owner; ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: Unlicense pragma solidity 0.8.9; //This contract only exist in order to run migration test. //It is a genric fgreely mintable ERC-721 standard. interface ERC721TokenReceiver { /// @notice Handle the receipt of an NFT /// @dev The ERC721 smart contract calls this function on the ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (addre...
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.6.12; // import './interfaces/IFeSwapFactory.sol'; interface IFeSwapFactory { event PairCreated(address indexed tokenA, address indexed tokenB, address pairAAB, address pairABB, uint); function feeTo() external view returns (address); function getFeeInfo...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) unused-return with Medium impact
pragma solidity ^0.4.8; contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); } contract GA_chain{ /* Public variables of the token */ string public standard = 'GA_chain 0.1'; string public name; string public symbol; uint8 public decim...
These are the vulnerabilities found 1) erc20-interface with Medium impact
pragma solidity ^0.4.23; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-11-15 */ 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(...
No vulnerabilities found
pragma solidity ^0.4.20; /** * TOKEN Contract * ERC-20 Token Standard Compliant */ /** * @title SafeMath by OpenZeppelin (partially) * @dev Math operations with safety checks that throw on error */ library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.17; /* PrestigeEthereum.com */ 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, a...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.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...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) tautology with Medium impact 3) arbitrary-send with High impact 4) incorrect-equality with Medium impact 5) weak-prng with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT883323' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT883323 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: orqubic.sol pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : orq // Name : orqubic // Total supply : 500000000000000000 // Decimals : 8 // Owner Account : 0x7C8a7012c9969482F01ab0A5b05270BBe5...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.6.6; /** _______ ______ _______ __ __ _______ _______ | \ / \ | \| \ / \| \ | \ | $$$$$$$\| $$$$$$\| $$$$$$$\\$$\ / $$| $$$$$$$\| $$$$$$$\ | $$__/ $$| $$__| $$| $$__/ $$ \$$\/ $$ | $$ | $$| $$__/ $$ | $$ $$| $$ $$| $$...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; interface IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint256 digits); function totalSupply() external view returns (uint...
These are the vulnerabilities found 1) unused-return with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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.26; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : TTT // Name : TakeTouch Token // Total supply : 100000000000000 // Decimals : 8 // Owner Account : 0x9D2C94C904cE8D29539e74A94c4d17bb37D2c87D // // Enjo...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; // Part: OpenZeppelin/openzeppelin-contracts@4.2.0/Context /* * @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 sh...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import './interfaces/IUniswapV2Factory.sol'; import './UniswapV2Pair.sol'; // import "@openzeppelin/contracts/access/Ownable.sol"; contract UniswapV2Factory is IUniswapV2Factory { // address public override feeTo; address owner; address treasury; ...
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: GPL-3.0 // Drop Name: Panther NFTs // Discord: http://discord.gg/panthernfts // Twitter: https://twitter.com/thepanthernfts // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; interface IERC165 { function supportsInterface(bytes4 interfaceId) externa...
These are the vulnerabilities found 1) uninitialized-local with Medium impact 2) weak-prng with High impact 3) unused-return with Medium impact 4) tautology with Medium impact
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.6.6; pragma solidity ^0.6.6; interface IOracleSimpleFactory { event OracleCreated(address indexed _sender, address indexed _newOracle); function ours(address a) external view returns (bool); function oracleCount() external view returns (uint); ...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT364959' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT364959 // Name : ADZbuzz Tasty.co Community Token // Total sup...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @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
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface ISale { function purchaseFor( address payable recipient, address token, bytes32 sku, uint256 quantity, ...
These are the vulnerabilities found 1) unused-return with Medium impact 2) uninitialized-local with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; /** * @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 ...
No vulnerabilities found
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract ClickRUB { // Public variables of the token string public name; string public symbol; uint8 public decimals = 8; // 18 decimals is the st...
These are the vulnerabilities found 1) erc20-interface with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {OperationCenterInterface} from "./interfaces/IOperationCenter.sol"; contract AccountProxy { // auth is shared storage with AccountProxy and any OpCode. mapping(address => bool) internal _auth; address internal immutable opCenterAddress; ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.13; 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); } con...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) arbitrary-send with High impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ALX' token contract // // Deployed to : 0xccf84aC1a9D4cEfA60779B2B7361cE2965ac8d52 // Symbol : ALX // Name : AlexaCoin // Total supply: 7000000 // Decimals : 18 // // (c) AMC 2018. The MIT Licenc...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // Create SafeMath Library 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) { uint256 c = a / b; ret...
No vulnerabilities found
pragma solidity ^0.6.12; // 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, they should not be accessed in such a direct * manner, since when de...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ZARO' token contract // // Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E // Symbol : ZARO // Name : ZAR_Omnidollar // Total supply: 100000000000.000000000000000000 // Decimals : 18 // ...
These are the vulnerabilities found 1) locked-ether with Medium impact