input
stringlengths
32
47.6k
output
stringclasses
657 values
pragma solidity ^0.5.0; /** * @title Proxy * @dev Gives the possibility to delegate any call to a foreign implementation. */ contract Proxy { /** * @dev Fallback function allowing to perform a delegatecall to the given implementation. * This function will return whatever the implementation call returns...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // (c) by Juan Cruz Martinez 2020. MIT Licence. // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // L...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@boringcrypto/boring-solidity/contracts/libraries/BoringMath.sol"; import "@boringcrypto/boring-solidity/contracts/BoringBatchable.sol"; import "@boringcrypto/boring-solidity/contracts/BoringOwnable.sol"; import "./lib/S...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) delegatecall-loop with High impact
pragma solidity ^0.4.24; contract Ownable {} contract AddressesFilterFeature is Ownable {} contract ERC20Basic {} contract BasicToken is ERC20Basic {} contract ERC20 {} contract StandardToken is ERC20, BasicToken {} contract MintableToken is AddressesFilterFeature, StandardToken {} contract Token is MintableToken { ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) reentrancy-no-eth with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: NONE pragma solidity 0.6.12; // Part: OpenZeppelin/openzeppelin-contracts@3.2.0/Address /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is u...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : PIZZA // Name : Sc00bySnack // Total supply : 100000 // Decimals : 2 // Owner Account : 0x09E19C6c41BAb7Dea4C168206CD116438C524F3B // // Enjoy. // // (c...
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
///////////////////////////////////////////////////////////////////////////////////// // // SPDX-License-Identifier: MIT // // ███  ███  ██████  ███  ██ ███████ ██  ██ ██████  ██ ██████  ███████ // ████  ████ ██    ██ ████  ██ ██       ██  ██  ██   ██ ██ ██   ██ ██      // ██ ████ ██ ██  ██ ██ ██  ██ █████...
These are the vulnerabilities found 1) msg-value-loop with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.6; import {ITreasuryConfig} from "../interface/ITreasuryConfig.sol"; import {Governable} from "../lib/Governable.sol"; contract TreasuryConfig is ITreasuryConfig, Governable { // ============ Mutable Storage ============ address payable public ...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : vbr // Name : vbro-one // Total supply : 100000000 // Decimals : 2 // Owner Account : 0xc8372CDDCE4083415E9Be63A30b697580D4cfFF8 // // Enjoy. // // (c) ...
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); return c; } funct...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; // By Bassam Helwani // // ---------------------------------------------------------------------------- // Lib: Safe Math // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity =0.5.16; interface IEliteswapV2Factory { 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 tokenA, address tokenB) ex...
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.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) weak-prng with High impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; pragma experimental ABIEncoderV2; abstract contract IDFSRegistry { function getAddr(bytes4 _id) public view virtual returns (address); function addNewContract( bytes32 _id, address _contractAddr, uint256 _waitPeriod )...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { 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; } functio...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) 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); return c; } functi...
These are the vulnerabilities found 1) tautology with Medium impact 2) locked-ether with Medium impact
// // __ __ _____ ______ // /__/\/__/\ /_____/\ /_____/\ // \ \ \: \ \__\:::_:\ \\:::_ \ \ // \::\_\::\/_/\ _\:\| \:\ \ \ \ // \_::: __\/ /::_/__ \:\ \ \ \ // \::\ \ \:\____/\\:\_\ \ \ // \__\/ \_____\/ \_____\/ // // 420.game Reveal Buds // // by LOOK LABS // // SPDX-License-I...
No vulnerabilities found
pragma solidity ^0.7.1; import "./PProxyStorage.sol"; contract PProxy is PProxyStorage { bytes32 constant IMPLEMENTATION_SLOT = keccak256(abi.encodePacked("IMPLEMENTATION_SLOT")); bytes32 constant OWNER_SLOT = keccak256(abi.encodePacked("OWNER_SLOT")); modifier onlyProxyOwner() { require(msg.sen...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.11; contract QatarCoin{ uint public constant _totalsupply = 95000000; string public constant symbol = "QTA"; string public constant name = "Qatar Coin"; uint8 public constant decimls = 18; mapping(address => uint256) balances; mapping(address => mapping(addr...
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
pragma solidity "0.4.24"; interface Icollectible { function timeofcontract() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view retur...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @title Helps contracts guard agains rentrancy attacks. * @author Remco Bloemen <remco@2π.com> * @notice If you mark a function `nonReentrant`, you should also * mark it `external`. */ contract ReentrancyGuard { /** * @dev We use a single lock for the whole contract.37487895 ...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; requi...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.23; contract owned { address owner; /*this function is executed at initialization and sets the owner of the contract */ constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } } contract mortal is owned { /...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
// File: openzeppelin-solidity/contracts/GSN/Context.sol pragma solidity ^0.5.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 direc...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at snowtrace.io on 2022-04-13 */ /** *Submitted for verification at Arbiscan on 2022-04-01 */ /** *Submitted for verification at Arbiscan on 2022-04-01 */ /** *Submitted for verification at Arbiscan on 2022-03-24 */ /** *Submitted for verification at BscScan.com on 2022-03-22 */...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Shard' token contract // // Deployed to : 0x232db1aAFDCEA86a9b6655773D49D9DF040eF2C7 // Symbol : SHARD // Name : SHARD // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by Moritz...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.6.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 dealing with GSN meta-transactions...
No vulnerabilities found
/** Contract by 0xfoobar in collab with Josh Hart and Tally Labs ####### ##### ##### # # # #### # # # # ## #### # # # # ##### ## ##### #### # # # # # # # # # # # # # # # # # #...
These are the vulnerabilities found 1) unused-return with Medium impact 2) locked-ether with Medium impact
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 pur...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT877666' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT877666 // Name : ADZbuzz Latestrelease.info Community Token // Total supply: 2000000 // Decima...
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
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract TaiwanRepublic { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is...
These are the vulnerabilities found 1) erc20-interface with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-08-13 */ // File: contracts\math\ABDKMath.sol /* * ABDK Math 64.64 Smart Contract Library. Copyright © 2019 by ABDK Consulting. * Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com> */ pragma solidity ^0.6.0; /** * Smart contract library of mathema...
These are the vulnerabilities found 1) weak-prng with High impact
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; pragma abicoder v2; /** * @title Aave Protection. * @dev Protect DSA against Liquidation risk on Aave with Gelato. */ import {Events} from "./events.sol"; import {Helpers} from "./helpers.sol"; abstract contract GAaveProtectionResolver is Events, Helpers { ...
These are the vulnerabilities found 1) unused-return with Medium impact 2) locked-ether with Medium impact
// CryptoRabbit Source code pragma solidity ^0.4.20; /** * * @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens * @author cuilichen */ contract ERC721 { // Required methods function totalSupply() public view returns (uint total); function balanceOf(address _owner) public view ...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) weak-prng with High impact
pragma solidity ^0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spende...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Tree of Life ERC20 // // Symbol : TOFL // Name : Tree of Life // Total supply : 65361361300 // Decimals : 2 // Owner Account : 0x6e0e97B494a9eA4b11196C3A9a01aA9B69A20436 // // // // TOFL -...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; //Safe Math Interface contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } fun...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IOracle { function getRate(IERC20 srcToken, IERC20 dstToken, IERC20 connector) external view returns (uint256 rate, uint256 weight); } // SPDX-License-Identifier: UNLICENSED pragma solidit...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev I...
These are the vulnerabilities found 1) unused-return with Medium impact 2) weak-prng with High impact 3) divide-before-multiply with Medium impact 4) arbitrary-send with High impact
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.6; import './UintStrings.sol'; import './AnimalDescriptors.sol'; import 'base64-sol/base64.sol'; // import './AnimalColoringBook.sol'; interface IAnimalColoringBook{ function animalInfo(uint256 tokenId) external view returns (uint8, uint8); function tran...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-shift with High impact 3) divide-before-multiply with Medium impact 4) uninitialized-local 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 _t...
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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally avail...
These are the vulnerabilities found 1) weak-prng with High impact 2) arbitrary-send with High impact
pragma solidity ^0.4.18; contract SafeMath { function SafeMath() { } function safeAdd(uint256 _x, uint256 _y) internal returns (uint256) { uint256 z = _x + _y; assert(z >= _x); return z; } function safeSub(uint256 _x, uint256 _y) internal returns (uint256) { asser...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'MYRO' token contract // // Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E // Symbol : MYRO // Name : MYR_Omnidollar // Total supply: 100000000000.000000000000000000 // Decimals : 18 // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on */ /** * @dev Intended to update the TWAP for a token based on accepting an update call from that token. * expectation is to have this happen in the _beforeTokenTransfer function of ERC20. * Provides a method for a token to register its price sourve adaptor. *...
No vulnerabilities found
pragma solidity =0.6.6; import './OneDayWindowOracle.sol'; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IBackedPriceProvider.sol"; interface IERC20Extented is IERC20 { function decimals() external view returns (uint8); } contract BackedPriceProvider is IBackedPriceProvider { ...
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.22; contract Game1002 { struct GameInfo { uint funderNum; mapping(uint => address) funder; mapping(uint => address) winner; } GameInfo[] public games; uint public gameNum = 0; mapping(address => uint) public lastGame; mapping(address => uint) public funderBalance; mapping(address ...
These are the vulnerabilities found 1) weak-prng with High impact
// SPDX-License-Identifier: MIT // 13 February 2021 pragma solidity ^0.7.0; /// @notice An upgradable proxy that delegate calls to the underlying `implementation` contract UpgradableProxy { /// @notice The implementation to delegate call to address public implementation; constructor(address _implementati...
These are the vulnerabilities found 1) locked-ether with Medium impact
// ---------------------------------------------------------------------------- // (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
/** *Submitted for verification at Etherscan.io on 2019-02-11 */ pragma solidity ^0.5.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256)...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* /\ /\ / \---._ / / ` `\ \ \ `'<@)@) /` ~ ~._ / ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) incorrect-equality with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : LULI // Name : LULI PROTOCOL // Total supply : 10000000000000000000000 // Decimals : 18 // Owner Account : 0xCFD06e726557B4F7D98cc1A6a4746E2B2Cf4c758 //...
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 mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c =...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT470337' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT470337 // Name : ADZbuzz Antaranews.com Community Token // Total supply: 2000000 // Decimals ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; requi...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; contract Owned { address public owner; function Owned() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function setOwner(address _owner) onlyOwner public { owner = _owner; } } contract Saf...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT238650' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT238650 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.21; // This is my best contract so far! Send 69 wei to a random address Wow! // If you send you get even added to the random pool! Wow! // If you pay too much Wei it even refunds you the excess Wei! Wow! contract Send69Wei{ uint256 constant HowMuchWei = 69; mapping(uint256=>address) targe...
These are the vulnerabilities found 1) weak-prng with High impact 2) arbitrary-send with High impact
pragma solidity ^0.4.24; contract BREBuy { struct ContractParam { uint32 totalSize ; uint256 singlePrice; uint8 pumpRate; bool hasChange; } address owner = 0x0; uint32 gameIndex = 0; uint256 totalPrice= 0; bool isLock = false; ContractParam publi...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) weak-prng with High impact
pragma solidity ^0.4.21; contract ERC20_Interface { 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 ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity =0.5.16; import './interfaces/IRabBITSWAPFactory.sol'; import './RabBITSWAPPair.sol'; contract RabBITSWAPFactory is IRabBITSWAPFactory { bytes32 public constant INIT_CODE_PAIR_HASH = keccak256(abi.encodePacked(type(RabBITSWAPPair).creationCode)); address public feeTo; address public feeTo...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
// RFIMAX: basically RFI with 10% tax :/ // SPDX-License-Identifier: MIT pragma solidity ^0.6.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 accesse...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'HEARTS' token contract // // Deployed to : 0x575140E5cF058A49dA8F55908eb06A287B468889 // Symbol : HEARTS // Name : HEARTS // Total supply: 20000000 // Decimals : 18 // // Enjoy. // // (c) by Mori...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this i...
No vulnerabilities found
pragma solidity ^0.4.24; /* * Zlots. * * Written August 2018 by the Zethr team for zethr.io. * * Initial code framework written by Norsefire. * * Rolling Odds: * 52.33% Lose * 35.64% Two Matching Icons * - 5.09% : 2x Multiplier [Two White Pyramids] * - 5.09% : 2.5x Multiplier [Two Gold Pyramids] ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) unchecked-transfer with High impact 4) uninitialized-local with Medium impact 5) weak-prng with High impact 6) unused-return with Medium impact
// File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) msg-value-loop with High impact 3) erc20-interface with Medium impact
/** 乁[ ◕ ᴥ ◕ ]ㄏ KUROI INU 黒い犬 **/ // SPDX-License-Identifier: MIT pragma solidity >=0.5.17; contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) publi...
No vulnerabilities found
pragma solidity ^0.6.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 dealing with GSN meta-transactions...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT237748' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT237748 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.6.10; pragma experimental ABIEncoderV2; interface CErc20 { function underlying() external view returns (address); } interface ERC20 { function balanceOf(address account) external view returns (uint); } contract UniswapConfig { enum PriceSource { FIXED_ETH, /// implies the fixed...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.6; import {ERC721} from "../../../external/ERC721.sol"; import {ICrowdfundWithEditions} from "./interface/ICrowdfundWithEditions.sol"; /** * @title CrowdfundWithEditions * @author MirrorXYZ */ contract CrowdfundWithEditions is ERC721, ICrowdfundWithE...
These are the vulnerabilities found 1) unused-return with Medium impact 2) name-reused with High impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "./ERC20.sol"; import "./Ownable.sol"; contract WOOL is ERC20, Ownable { // a mapping from an address to whether or not it can mint / burn mapping(address => bool) controllers; constructor() ERC20("WOOL", "WOOL") { } /** * mints $W...
These are the vulnerabilities found 1) tx-origin with Medium impact 2) divide-before-multiply with Medium impact 3) reentrancy-no-eth with Medium impact 4) incorrect-shift with High impact 5) incorrect-equality with Medium impact 6) uninitialized-local with Medium impact 7) weak-prng with High impact 8) unused-...
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; contract BaseToken { string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; requi...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.0; // File: contracts/Ownable.sol /// @title Ownable /// @author Brecht Devos - <brecht@loopring.org> /// @dev The Ownable contract has an owner address, and provides basic /// authorization control functions, this simplifies the implementation of /// ...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT232493' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT232493 // Name : ADZbuzz 24ur.com Community Token // Total supply: 2000000 // Decimals : 8 ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.5.16; contract Storage { address public governance; address public controller; constructor() public { governance = msg.sender; } modifier onlyGovernance() { require(isGovernance(msg.sender), "Not governance"); _; } function setGovernance(address ...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; abstract contract IDFSRegistry { function getAddr(bytes4 _id) public view virtual returns (address); function addNewContract( bytes32 _id, address _contractAddr, uint256 _waitPeriod ) public virtual; function star...
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.16; import './interfaces/IRabBITSWAPPair.sol'; import './RabBITSWAPERC20.sol'; import './libraries/Math.sol'; import './libraries/UQ112x112.sol'; import './interfaces/IERC20.sol'; import './interfaces/IRabBITSWAPFactory.sol'; import './interfaces/IRabBITSWAPCallee.sol'; contract RabBITSWAPPair is...
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.23; /** * Math operations with safety checks */ contract SafeMath { function safeMul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint a, uint b) internal pure returns (uint...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'MammadToken' token contract // // Deployed to : 0x0769e46946B97C05D60D2B4A796Aa6992C73dad8 // Symbol : Mammad // Name : Mammad Token // Total supply: 100000 // Decimals : 18 // ------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.9.0; pragma experimental ABIEncoderV2; // File: ado-contracts\contracts\interfaces\IERC2362.sol /** * @dev EIP2362 Interface for pull oracles * https://github.com/adoracles/EIPs/blob/erc-2362/EIPS/eip-2362.md */ interface IERC2362 { /** * @dev Exposed fun...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT /* ____ _____ _ / ___| ___ _ __ __ _ _ __ _ __ _ _| ____| | ___ _ __ \___ \ / __| '__/ _` | '_ \| '_ \| | | | _| | |/ _ \| '_ \ ___) | (__| | | (_| | |_) | |_) | |_| | |___| | (_) | | | | |____/ \___|_| \__,_| .__/| .__/ ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* ## AVENGERS NFT ## */ 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); function allowance(address owner, address...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
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 existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.11; /** * @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(add...
No vulnerabilities found
pragma solidity ^0.8.6; contract SillyContract { address private owner; event Block(address indexed _from, uint indexed blockNumber, uint blockDifficulty, uint blockTimestamp); constructor() public { owner = msg.sender; } function getBlock() public payable { emit Block(msg.se...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'UglyShiba' token contract // // Deployed to : 0xF2447cD1be20e204516f03117455ab78dC2B4d49 // Symbol : UGLYSHIB // Name : UglyShiba // Total supply: 1000000000000000 // Decimals : 18 // // PLEASE R...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at BscScan.com on 2021-04-23 */ /** *Submitted for verification at BscScan.com on 2021-04-22 */ /** *Submitted for verification at BscScan.com on 2021-04-22 */ /** *Submitted for verification at BscScan.com on 2020-09-19 */ pragma solidity =0.5.16; interface IDEXFactory { 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
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT300552' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT300552 // Name : ADZbuzz Web-strategist.com Community Token //...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** https://medium.com/@saiyoshihope/4-20-f4149d43726d */ pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see `ERC20Detailed`. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : QUID // Name : Siftware Trading Token // Total supply : 1000000000 // Decimals : 2 // Owner Account : 0x1f811a633F53d92751B955681f2A3114C92FA69F // // E...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT221399' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT221399 // Name : ADZbuzz Designsponge.com Community Token // T...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "../Ownable.sol" ; //@title SEPA Token contract interface interface SEPA_token { function balanceOf(address owner) external returns (uint256); function transfer(address to, uint256 amount) external returns (boo...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : ZON // Name : Zion Coin // Total supply : 50000000000000000 // Decimals : 8 // Owner Account : 0xd2c4DeB03e34435838e1C9f32E32639725B86F6B // // Enjo...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'HolographicViewUniverse contract // // Deployed to : 0x8CD4a9a5b174F99aF0E55F677DD01385A2D2950C // Symbol : HVU // Name : HolographicViewUniverse // Total supply: 100000000 // Decimals : 18 // //...
These are the vulnerabilities found 1) locked-ether with Medium impact