input
stringlengths
32
47.6k
output
stringclasses
657 values
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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 ava...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; contract CompoundLogger { event Repay( address indexed owner, uint256 collateralAmount, uint256 borrowAmount, address collAddr, address borrowAddr ); event Boost( address indexed owner, uint256 ...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT814134' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT814134 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at BscScan.com on 2021-10-17 */ pragma solidity ^0.5.6; // File: @openzeppelin/contracts/GSN/Context.sol /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sende...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; contract Execution { address public admin; constructor() public { admin = msg.sender; } function executeTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public payable returns (bytes memory)...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Bytecoin' CROWDSALE token contract // // Deployed to : 0xf1eabe0dcf085c9155b7e13c48b54c7662303a90 // Symbol : BCN // Name : Bytecoin tokens // Total supply: 10,000,000,000.000000000000000000 // Deci...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // File: openzeppelin-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 (...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: YUANRewards.sol * * Docs: https://docs.synthetix.io/ * * * MIT License * =========== * * Copyright (c) 2020 Syn...
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.5.10; interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address recipient, uint amount) external returns (bool); function allowance(address owner, address spender) external view ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) uninitialized-local with Medium impact 3) unchecked-transfer with High impact 4) msg-value-loop with High impact 5) controlled-array-length with High impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'FDC🐉' token contract // // Deployed to : 0x5088F5b699D7e987fce386E677cA92828e475dc3 // Symbol : FDC🐉 // Name : fdc.blogfa.com // Total supply: 1000000000000000 // Decimals : 18 // // // // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; library SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; ass...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.6.0; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure r...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Bullexi' token contract // // Deployed to : 0xC8c4e42BE4f933fc4BFBa1B6E51318947c7825e3 // Symbol : BGNO // Name : Bullexi // Total supply: 3000000000000000000000000 // Decimals : 18 // // Enjoy. ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // Crowley token contract // // Deployed to : 0x53Bde56381094D82975F966372470d282EA11756 // Symbol : CRL // Name : CROWLEY TOKEN // Total supply: 666666 // Decimals : 6 // // Enjoy. // // (c) by Mori...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-09-29 */ pragma solidity ^0.5.16; 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.21; /* Owned contract interface */ contract IOwned { // this function isn't abstract since the compiler emits automatically generated getter functions as external function owner() public view returns (address) {} function transferOwnership(address _newOwner) public; function a...
These are the vulnerabilities found 1) uninitialized-local with Medium impact 2) msg-value-loop with High impact 3) arbitrary-send with High impact 4) locked-ether with Medium impact
pragma solidity ^0.4.17; /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete) contract ERC721 { // Required methods function implementsERC721() public pure returns (bool); function totalSupply() public view ret...
These are the vulnerabilities found 1) weak-prng with High impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // ebox - https://ebox.io // // ebox Liquidity Locker // // Purpose: // Enables users to lock LP tokens acquired by providing l...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Karma' token contract // // Deployed to : 0xDD59Db170547dDBAe06C0b081713b29855937b72 // Symbol : KARMA // Name : Karma Token // Total supply: 100000000 // Decimals : 18 // // Have a good Karma. /...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @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(ad...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) incorrect-equality with Medium impact 3) unchecked-transfer with High impact 4) unused-return with Medium impact 5) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // '0Fucks' token contract // // Deployed to : 0xb95690Ed0000fcA7C1B38Eb0dA1E045858Db08f3 // Symbol : _IST6 // Name : _IST6 Token // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: Unlicense pragma solidity 0.8.7; import "./ERC20.sol"; import "./ERC721.sol"; // ___ _ _ ___ // | __| |_| |_ ___ _ _ / _ \ _ _ __ ___ // | _|| _| ' \/ -_) '_| | (_) | '_/ _(_-< // |___|\__|_||_\___|_| \___/|_| \__/__/ // interface MetadataHandlerL...
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) weak-prng with High 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
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "./utils/ReentrancyGuard.sol"; import "./markets/MarketRegistry.sol"; import "./SpecialTransferHelper.sol"; import "../../interfaces/markets/tokens/IERC20.sol"; import "../../interfaces/markets/tokens/...
These are the vulnerabilities found 1) controlled-delegatecall with High impact 2) arbitrary-send with High impact 3) unchecked-lowlevel with Medium impact 4) delegatecall-loop with High impact 5) unchecked-transfer with High impact 6) unused-return with Medium impact
// SPDX-License-Identifier: UNLICENSED // DELTA-BUG-BOUNTY pragma abicoder v2; import "../libs/SafeMath.sol"; import "../../interfaces/IUniswapV2Pair.sol"; import "../../interfaces/IDeltaToken.sol"; import "../../interfaces/IDeepFarmingVault.sol"; interface ICORE_VAULT { function addPendingRewards(uint256) externa...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) reentrancy-no-eth with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
/* * website: __ __________ ___ __ _ \ \ / / ___| \/ | / _(_) \ V /| |_ | . . | ___ _ __ ___ _ _ | |_ _ _ __ __ _ _ __ ___ ___ \ / | _| | |\/| |/ _ \| '_ \ / _ \ | | | ...
These are the vulnerabilities found 1) locked-ether with Medium impact
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 = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the qu...
No vulnerabilities found
pragma solidity 0.5.16; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ ...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
// DEV :x20.finance // Telegram: t.me/x20_finance // X20 (x20.finance) is a deflationary and gambling token // See https://github.com/IshikawaTravis/X10 for more info // // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * send...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
pragma solidity ^0.4.18; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract Token { /// total amount of tokens uint256 public totalSupply; /// @param _owner The address from which the balance will be retrieved /// ...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) 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.18; // ---------------------------------------------------------------------------- // 'DollaryDan' token contract // // Deployed to : 0xaf0ceCC88327E64fFFF513f2FC4971CD67b0D1a8 // Symbol : DD // Name : DollaryDan // Total supply: 100000000 // Decimals : 3 // // Enjoy. // // // ---...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by ov...
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
// Copyright (C) 2021 Argent Labs Ltd. <https://argent.xyz> // 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 License, or // (at your option) any later version. // Th...
No vulnerabilities found
pragma solidity =0.5.16; 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 tokenA, address tokenB) exte...
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.24; // ---------------------------------------------------------------------------- // 'DYF Token' Smart Contract // // OwnerAddress : // Symbol : // Name : // Total Supply : // Decimals : 18 // Copyrights of 'DYFToken' With 'DYF' Symbol October 25, 2020. // The MIT Licence. //...
No vulnerabilities found
pragma solidity 0.4.19; // File: node_modules/zeppelin-solidity/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 pub...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) unused-return with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } funct...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : TRA // Name : Travel_coin // Total supply : 100000000000000000000 // Decimals : 5 // Owner Account : 0x1E7bC59a092536392Bc38f3a567e1c93597db71...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul(uint a, uint b) pu...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-03-28 */ 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 ov...
No vulnerabilities found
// 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) erc20-interface with Medium impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.7.6; pragma abicoder v2; contract Torch2 { address public immutable TARGET = 0x881D40237659C251811CEC9c364ef91dC08D300C; function swap( string calldata aggregatorId, address tokenFrom, uint256 amount, bytes calldata data ) external payabl...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /* * @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...
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; // File: contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event Ownership...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) unchecked-transfer with High impact 4) unused-return with Medium impact 5) locked-ether with Medium impact
// File: contracts/Proxy.sol pragma solidity 0.6.12; contract Proxy { // Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7" uint256 constant PROXIABLE_MEM_SLOT = 0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7; // co...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT300187' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT300187 // Name : ADZbuzz Howtogeek.com Community Token // Tota...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // File: contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event Ownership...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) unchecked-transfer with High impact 4) unused-return with Medium impact 5) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'name' token contract // // Deployed to : your address // Symbol : stock market term // Name : Name // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by Moritz Neto with BokkyPooB...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'XITC' token contract // // Deployed to : 0x8f2117470c93c025E0D547e42329BA321E485401 // Symbol : NONEC // Name : NONE Coin // Total supply: 2000000 // Decimals : 0 // // Enjoy. // // (c) by Moritz...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Cow Token' 'I LOVE COWS' token contract // // Symbol : COW // Name : COW COIN // Total supply: 21,000,000.000000000000000000 // Decimals : 18 // // ----------------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; contract ERC20Interface { function totalSupply() public constant returns (uint256 _totalSupply); function balanceOf(address _owner) public constant returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(ad...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) tautology with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'THE EXTRAORDINARY SPACEMEN' token contract // // Deployed to : 0xee8c4f0B02b1eC8DBE5C8cDD5B41d7D8f660c84c // Symbol : EXSP // Name : THE EXTRAORDINARY SPACEMEN // Total supply: 8 // Decimals : 8 ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Disclosure' token contract // // Deployed to : 0x385C03042276635b92a347D666d7A2e19862Bb98 // Symbol : DISC // Name : Disc Token // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity =0.5.16; import './IArchiSwapPair.sol'; import './ArchiSwapERC20.sol'; import './Math.sol'; import './UQ112x112.sol'; import './IERC20.sol'; import './IArchiSwapFactory.sol'; import './IArchiSwapCallee.sol'; contract ArchiSwapPair is IArchiSwapPair, ArchiSwapERC20 { using SafeMath for uint; u...
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.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; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : KITTY // Name : KITTY Token // Total supply : 200000000000000 // Decimals : 2 // Owner Account : 0x82Fef8aD436627B7512f14e7742835Ac862f3720 // // Enjoy....
These are the vulnerabilities found 1) locked-ether with Medium impact
// Sources flattened with hardhat v2.6.0 https://hardhat.org // File @openzeppelin/contracts/math/SafeMath.sol@v3.4.1-solc-0.7-2 // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in So...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'HopiumToken' token contract // // Deployed to : 0x9872139a96bEC17409656De5CbE53e33eaD93f35 // Symbol : HOPI // Name : HOPIUMTOKEN // Total supply: 50000000000000000000000000 // Decimals : 18 // /...
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 pure returns (ui...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.7.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // interface IBullswapPair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symb...
These are the vulnerabilities found 1) write-after-write with Medium impact 2) weak-prng with High impact 3) reentrancy-no-eth with Medium impact 4) incorrect-equality with Medium impact
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/i...
These are the vulnerabilities found 1) unchecked-send with Medium impact 2) arbitrary-send with High impact 3) unchecked-lowlevel with Medium impact 4) incorrect-equality with Medium impact 5) reentrancy-eth with High impact 6) unused-return with Medium impact
pragma solidity ^0.5.00; // ---------------------------------------------------------------------------- // 'AmogusCoin' token contract // // Deployed to : 0x874f0698Bf4585Dd56d17a092b23084De8DD435C // Symbol : SUS // Name : AmogusCoin // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) b...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(addr...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
pragma solidity ^0.6.0; /// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. /// @author Stefan George - <[email protected]> contract MultisigWithTimelock { /* * Events */ event Confirmation(address indexed sender, uint256 indexed transactionId); ...
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.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/State.sol"; contract GenesisSupply is Ownable, State { enum TokenType { NONE, GOD, DEMI_GOD, ELEMENTAL } enum TokenSubtype { NONE, ...
These are the vulnerabilities found 1) weak-prng with High impact
// "SPDX-License-Identifier: MIT" pragma solidity 0.7.3; abstract contract Context { function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating ...
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: BUSL-1.1 pragma solidity 0.7.6; pragma experimental ABIEncoderV2; import "./BaseSwap.sol"; import "../interfaces/IDMMRouter.sol"; import "../libraries/BytesLib.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Bitsonalite' contract // // Deployed to : 0x91a0008AfF6877578Cf0B62ca84257aCDA477f53 // Symbol : BSL // Name : Bitsonalite // Total supply: 3000000000 // Decimals : 18 // // Enjoy. // // (c) by ...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; 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); /** ...
No vulnerabilities found
pragma solidity ^0.4.24; /** * @title Proxy * @dev Implements delegation of calls to other contracts, with proper * forwarding of return values and bubbling of failures. * It defines a fallback function that delegates all calls to the address * returned by the abstract _implementation() internal function. */ con...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) locked-ether with Medium impact 3) tautology with Medium impact 4) controlled-array-length with High impact
pragma solidity ^0.4.24; // SPDX-License-Identifier: Unlicensed //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...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* A rōnin was a samurai warrior in feudal Japan without a master or lord — known as a daimyo. A samurai could become a ronin in several different ways: his master might die or fall from power or the samurai might lose his master's favor or patronage and be cast off. $SHONIN serves no one and has no master. It is the ...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the on...
These are the vulnerabilities found 1) msg-value-loop with High impact 2) uninitialized-local with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ISB' token contract // // Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30 // Symbol : ICBC // Name : 中国工商银行 ICBC Coin // Total supply: 1000000000000000000000000000 // Decimals : 18 // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; /** * @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 private _owner; event OwnershipTran...
These are the vulnerabilities found 1) tautology with Medium impact 2) locked-ether with Medium impact
//HEXMONEY.sol // // pragma solidity 0.6.4; import "./SafeMath.sol"; import "./IERC20.sol"; import "./HEX.sol"; import "./Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or...
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
pragma solidity ^0.4.24; // $$$$$$\ $$$$$$$$\ $$\ //$$ __$$\ $$ _____|\__| //$$ / \__| $$$$$$\ $$$$$$$\ $$$$$$\ $$ | $$\ $$$$$$...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High 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
// 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) uninitialized-local with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
// Sources flattened with hardhat v2.3.0 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of token...
No vulnerabilities found
pragma solidity ^0.4.20; contract owned { address public owner; event Log(string s); constructor() public payable{ owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public {...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import { iL1ChugSplashDeployer } from "./interfaces/iL1ChugSplashDeployer.sol"; /** * @title L1ChugSplashProxy * @dev Basic ChugSplash proxy contract for L1. Very close to being a normal proxy but has added * functions `setCode` and `setStorage` for changing ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.6.4; import "./SafeMath.sol"; interface Token { function symbol() external view returns (string memory); function totalSupply() external view returns (uint256); function balanceOf (address account) external view returns (uint256); funct...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* Implements EIP20 token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md .*/ pragma solidity ^0.4.21; import "./EIP20Interface.sol"; contract BbqCoin is EIP20Interface { uint256 constant private MAX_UINT256 = 2**256 - 1; mapping (address => uint256) public balances; mapping (add...
No vulnerabilities found
pragma solidity ^0.5.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./IYieldOraclelizable.sol"; import "./IYieldOracle.sol"; // a modified version of https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleSlidin...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact
pragma solidity ^0.5.0; contract Context { constructor () internal {} function _msgSender() internal view returns (address payable) { return msg.sender; } } pragma solidity ^0.5.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a +...
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT107287' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT107287 // Name : ADZbuzz Autoweek.com Community Token // Total...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.7.3; pragma experimental ABIEncoderV2; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) unused-return with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'dCHF' token contract // // Deployed to : 0x0000F70bC78af03f14132c68b59153E4788bAb20 on march 20th 2018 somewhere after Block 52911611 // Symbol : dCH // Name : private digitale Schweizer Franken - ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : STNK // Name : StonkCoin // Total supply : 1000000 // Decimals : 18 // Owner Account : 0x02Eb938C9F264c5BE600dB173F1C3a95dbC05dC6 // // Enjoy. // // (c)...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin/contracts@4.1.0/access/Ownable.sol // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts@4.1.0/utils/Context.sol 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 ...
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact
// SPDX-License-Identifier: MIT // Author: Pagzi Tech Inc | 2022 // Pagzi Pass - Exclusive | 2022 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata....
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact 3) uninitialized-local with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT129137' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT129137 // Name : ADZbuzz Digg.com Community Token // Total supply: 2000000 // Decimals : 8 ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; 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 asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // ...
No vulnerabilities found
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.0; contract Proxy { address immutable creator; constructor() { creator = msg.sender; } // External interface fallback() external { address creator_ = creator; if (msg.sender == creator_) { ass...
No vulnerabilities found