input
stringlengths
32
47.6k
output
stringclasses
657 values
pragma solidity ^0.4.24; library SafeMath { 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; } function div(uint256 _a, uint256 _b) internal pure returns (uint256) { re...
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 acc...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin\upgrades\contracts\Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer...
These are the vulnerabilities found 1) weak-prng with High impact 2) shadowing-state with High impact
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import {Ownable} from "../lib/Ownable.sol"; interface IMirrorFeeRegistry { function maxFee() external returns (uint256); function updateMaxFee(uint256 newFee) external; } /** * @title MirrorFeeRegistry * @author MirrorXYZ */ contract Mi...
No vulnerabilities found
/* * * ------------------------------------------------ * symbol: Advanced Token * supply: 3000 * utility: 3.5% burn + 3.5% daily reward * ------------------------------------------------ * website: https://adv-token.finance * twitter: twitter.com/AdvToken * telegram: t.me/advtokenchat * * */ pragma solidit...
These are the vulnerabilities found 1) locked-ether 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) uninitialized-local with Medium impact 6) 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) unused-return with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-12-29 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in o...
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) msg-value-loop with High impact 3) arbitrary-send with High impact
pragma solidity ^0.4.18; /// @title Provides possibility manage holders? country limits and limits for holders. contract DataControllerInterface { /// @notice Checks user is holder. /// @param _address - checking address. /// @return `true` if _address is registered holder, `false` otherwise. functio...
These are the vulnerabilities found 1) mapping-deletion with Medium impact 2) unchecked-transfer with High impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; interface UniswapLens { function quoteExactInputSingle( address tokenIn, address tokenOut, uint24 fee, uint256 amountIn, uint160 sqrtPriceLimitX96 ) external returns (uint256 amoun...
These are the vulnerabilities found 1) arbitrary-send with High impact 2) incorrect-equality with Medium impact 3) uninitialized-local with Medium impact 4) unchecked-transfer with High impact 5) unused-return with Medium impact 6) locked-ether with Medium impact
pragma solidity ^0.4.18; // File: contracts\Auction.sol /** * @title 竞拍接口 */ contract Auction { function bid() public payable returns (bool); function end() public returns (bool); event AuctionBid(address indexed from, uint256 value); } // File: contracts\Base.sol library Base { struct NTVUConfig...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) weak-prng with High impact 3) divide-before-multiply with Medium impact 4) tautology with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-07-17 */ pragma solidity ^0.5.0; library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requi...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Capital Match' token contract // // Symbol : CMT // Name : Capital Match Token // Total supply: 21000000 // Decimals : 18 // // -------------------------------------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
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 spender) external view r...
These are the vulnerabilities found 1) locked-ether with Medium impact
// 🐕 INTRODUCING PORNSTAR FLOKI 🐕 // Telegram: t.me/PornstarFloki // Website: www.pornstarfloki.com // Twitter: twitter.com/pornstarfloki pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------...
No vulnerabilities found
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...
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) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) unchecked-send with Medium impact 3) incorrect-equality with Medium impact 4) uninitialized-local with Medium impact 5) weak-prng with High impact 6) locked-ether with Medium impact
pragma solidity ^0.4.16; // copyright contact@Etheremon.com contract SafeMath { /* function assert(bool assertion) internal { */ /* if (!assertion) { */ /* throw; */ /* } */ /* } // assert no longer needed once solidity is on 0.4.10 */ function safeAdd(uint256 x, uint256 y) pure...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) unchecked-transfer with High impact 3) uninitialized-local with Medium impact 4) weak-prng with High impact 5) unused-return with Medium impact
// SPDX-License-Identifier: GPL-3.0 pragma solidity =0.6.12; import './interfaces/IUniswapV2Factory.sol'; import './UniswapV2Pair.sol'; contract UniswapV2Factory is IUniswapV2Factory { address public override feeTo; address public override feeToSetter; address public override migrator; mapping(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
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 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
pragma solidity ^0.5.17; 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
pragma solidity 0.7.5; interface IOwnable { function owner() external view returns (address); } pragma solidity 0.7.5; /** * @title Proxy * @dev Gives the possibility to delegate any call to a foreign implementation. */ abstract contract Proxy { /** * @dev Tells the address of the implementation wher...
These are the vulnerabilities found 1) locked-ether with Medium impact
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 ERC20Interface { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view retur...
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.13; contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ mo...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'AIX' token contract // // Deployed to : 0x5B376c999d7E281a032B104A7892BD36B1d62051 // Symbol : AIT // Name : AI Travel Token // Total supply: 100000000000 // Decimals : 18 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) unchecked-transfer with High impact 3) locked-ether with Medium impact
pragma solidity ^0.6.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, ...
No vulnerabilities found
pragma solidity 0.4.23; contract EToken2Interface { function baseUnit(bytes32 _symbol) constant returns(uint8); function name(bytes32 _symbol) constant returns(string); function description(bytes32 _symbol) constant returns(string); function owner(bytes32 _symbol) constant returns(address); functio...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.5.0; library SafeMath { function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { if (_a == 0) { return 0; } uint256 c = _a * _b; require(c / _a == _b); return c; } function div(uint256 _a, uint256 _b) internal pure returns (uint256) { require(...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.14; /* ___ _ _ _____ _____ ______ ___ _ __ _____ / _ \ | \ | |_ _|_ _| | ___ \/ _ \ | | / /| ___| / /_\ \| \| | | | | |______| |_/ / /_\ \| |/ / | |__ | _ || . ` | | | | |______| /| _ || \ | __| | | | || |\ | | | _| |_ | |\ \| | | || |\ \| |___...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin/contracts/GSN/Context.sol // 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...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "../lib/ownable.sol"; import "./AdminUpgradeabilityProxy.sol"; /** * @title ProxyAdmin * @dev This contract is the admin of a proxy, and is in charge * of upgrading it as well as transferring it to another admin. */ contract ProxyAdmin is Ownable { ...
No vulnerabilities found
pragma solidity ^0.4.22; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) unchecked-transfer with High impact 3) divide-before-multiply with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: NONE pragma solidity 0.7.6; // Part: Address /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which t...
No vulnerabilities found
// SPDX-License-Identifier: GNU GPLv3 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. */ funct...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface INamelessTemplateLibrary { function getTemplate(uint256 templateIndex) external view returns (bytes32[] memory dataSection, bytes32[] memory codeSection); function getContentApis() external view returns (string memory arweaveContentApi, string memo...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2020-10-18 */ pragma solidity ^0.5.17; /* VIPSwap */ interface IERC20 { function totalSupply() extern...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "./Ownable.sol"; import "./Pausable.sol"; import "./ERC721Enumerable.sol"; import "./IWoolf.sol"; import "./IBarn.sol"; import "./ITraits.sol"; import "./WOOL.sol"; contract Woolf is IWoolf, ERC721Enumerable, Ownable, Pausable { // mint price ...
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.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
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); function allowance(address owner, address spender) external view r...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT220991' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT220991 // Name : ADZbuzz Binarytoday.com Community Token // Total supply: 2000000 // Decimals ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.2; /** * @HydraDX * CROSS-CHAIN LIQUIDITY PROTOCOL BUILT ON SUBSTRATE * * @HydraDX-media * @Official website: https://hydradx.io * @Twitter: https://twitter.com/hydra_dx * @Telegram: https://t.me/hydradx * @Github: https://github.com/galacticcouncil?tab=repositories */ /** * @title S...
No vulnerabilities found
// SPDX-License-Identifier: MIT // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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 tr...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Modifiled from Sample token contract by Juan Cruz // // Symbol : wIOTA // Name : Wrapped IOTA (Centralized) // Total supply : Infinity? // Decimals : 18 // Owner Account : watertim.eth // /...
These are the vulnerabilities found 1) locked-ether with Medium impact
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) divide-before-multiply with Medium impact 2) locked-ether with Medium impact 3) 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
/** _________ _________ \_ ___ \_____ ____ ____ \_ ___ \ ___________ __________ / \ \/\__ \ / \_/ __ \ / \ \/ / _ \_ __ \/ ___/ _ \ \ \____/ __ \| | \ ___/ \ \___( <_> ) | \/\___ ( <_> ) \______ (____ /___|...
No vulnerabilities found
pragma solidity 0.5.17; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./PYLONTokenInterface.sol"; contract PYLONReserves { // Token that serves as a reserve for PYLON address public reserveToken; address public gov; address public pendingGov; address public rebaser; address pub...
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) boolean-cst with Medium impact 5) name-reused with High impact 6) controlled-delegatecall with High impact 7) arbitrary-send with High impact 8) unc...
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.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) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT /* * Token has been generated 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 need to v...
No vulnerabilities found
pragma solidity 0.6.12; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgra...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) unused-return with Medium impact 4) unchecked-send with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'CIRCLE COIN' token contract // // Deployed to : 0xFe347DDC005B9FB002c6A87aF1393d3298555a56 // Symbol : XCC // Name : CIRCLE COIN // Total supply: 100000000 // Decimals : 16 // // Enjoy. // // (c)...
These are the vulnerabilities found 1) locked-ether with Medium impact
// 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 be * queried by others ({ERC165Checker}). * * For an implementation, ...
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.7.0; import "./IERC165.sol"; import "./ERC165.sol"; import "./Address.sol"; import "./EnumerableMap.sol"; import "./EnumerableSet.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./Context.sol"; import "./Ownable.sol"; import "./ISFT.sol"; import "./IFaces.sol"; import "./IERC721Enumer...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) unchecked-transfer with High impact 3) incorrect-equality with Medium impact 4) uninitialized-local with Medium impact 5) weak-prng with High impact 6) unused-return with Medium impact
pragma solidity >=0.7.0; // SPDX-License-Identifier: BSD-3-Clause contract Owned { modifier onlyOwner() { require(msg.sender==owner); _; } address payable owner; address payable newOwner; function changeOwner(address payable _newOwner) public onlyOwner { require(_ne...
No vulnerabilities found
// SPDX-License-Identifier: MIT // PayPal Token // https://paypal.com // https://twitter.com/PayPal pragma solidity ^0.7.0; contract Owned { modifier onlyOwner() { require(msg.sender == owner); _; } address owner; address newOwner; function changeOwner(address payable _newOwner) p...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../infiniteProxy/proxy.sol"; contract InstaVault is Proxy { constructor(address admin_, address dummyImplementation_) Proxy(admin_, dummyImplementation_) {} } // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./events.s...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: GNU GPLv3 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. */ funct...
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 acc...
These are the vulnerabilities found 1) locked-ether with Medium impact
// 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) unchecked-transfer with High impact 2) reentrancy-no-eth with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'KIUS' 'KIUS' token contract // // Symbol : KIUS // Name : KIUS // Total supply: 950,000,000.00000000 // Decimals : 8 // // Enjoy. // // -----------------------------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin/contracts/GSN/Context.sol // 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...
No vulnerabilities found
pragma solidity 0.4.21; 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); _; } ///////////// NEW OWNER FUNCTIONALITY funct...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /// ============ Imports ============ import { ERC20 } from "./lib/ERC20.sol"; // Solmate: ERC20 import { MerkleProof } from "./lib/MerkleProof.sol"; // OZ: MerkleProof /// @title FuckPutin /// @notice ERC20 claimable by members of a merkle tree /// @author Ani...
No vulnerabilities found
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.8.4; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC165, IERC165, ERC1155, ERC1155Pausable} from "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol"; import {ERC1155Holder, ERC1155Receiver} from "@openze...
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
/* ___ ___ ___ ___ ___ ___ ___ /\ \ /\__\ /\ \ /\__\ /\__\ ___ /\__\ /\__\ /::\ \ /:/ / /::\ \ /:/ / /:/ / ...
No vulnerabilities found
pragma solidity ^0.4.24; contract IERC20Token { function name() public view returns (string) ; function symbol() public view returns (string); function decimals() public view returns (uint8); function totalSupply() public view returns (uint256); function balanceOf(address _owner) public view ret...
These are the vulnerabilities found 1) tx-origin with Medium impact 2) weak-prng with High impact 3) reentrancy-no-eth with Medium impact 4) arbitrary-send with High impact 5) unchecked-transfer with High impact 6) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 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
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------------------------- // Nginx by NGX Limited. // An ERC20 standard // // author: Nginx Team contract ERC20Interface { function totalSupply() public constant returns (uint256 _totalSupply); function balanceOf(...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) tautology with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // solhint-disable const-name-snakecase pragma solidity 0.6.10; /** * @title OwnedUpgradeabilityProxy * @dev This contract combines an upgradeability proxy with basic authorization control functionalities */ contract OwnedUpgradeabilityProxy { /** * @dev Event to show owners...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT /** * KP2R.NETWORK * A standard implementation of kp3rv1 protocol * Optimized Dapp * Scalability * Clean & tested code */ pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1...
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
// File: contracts/SHDVote.sol 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(addre...
No vulnerabilities found
// 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
pragma solidity ^0.5.11; 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) unchecked-transfer with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; contract Owned { address public owner; address public proposedOwner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the i...
No vulnerabilities found
pragma solidity ^0.6.0; 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 warning without generating bytecode - see ht...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'GemCoin' token contract // // Deployed to : 0x1df6fC0743712B1Ee73e9C7A1A3eA82f07757721 // Symbol : GemCoin // Name : GemCoin // Total supply: 100000000000 // Decimals : 18 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity 0.6.12; interface IERC20Token { function allowance(address _owner, address _spender) external view returns (uint256); function transferFrom(address _from, address _to, uint256 _value) external returns (bool); } contract DefendersZeppelin{ ...
No vulnerabilities found
pragma solidity ^0.6.0; import "../Initializable.sol"; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dea...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; contract BattleDroidsNFT is ERC721 { event Mint(address indexed from, uint256 indexed tokenId); modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } modifier ...
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) uninitialized-local with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : SVS // Name : svscoin // Total supply : 10000000000000000 // Decimals : 18 // Owner Account : 0x878A5b39999E32323D57Af5450D3527272E8EfF4 // // Enjoy. //...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; /* Follows the ERC20 token standard */ contract EthereumPepe { string public tokenName; string public tokenSymbol; uint256 public totalSupply; uint8 public decimals = 18; mapping (address => uint256) public balances; mapping (address => mapping(address => uint256)) p...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Yiha' contract // Mineable ERC20 Token using Proof Of Work // // Symbol : YIHA // Name : Yiha // Total supply: 250,000,000.00 // Decimals : 8 // // ------------------------------------...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
// Sources flattened with hardhat v2.0.5 https://hardhat.org // File deps/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Retu...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./lib/openzeppelin-contracts/token/ERC20/ERC20.sol"; /// @notice `MultiSend` is a contract for sending ERC20 Tokens to multiple addresses. contract MultiSend { event MultiERC20Transfer( address indexed _from, address _to, ui...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
/* * Contracts' names: * 1) UserfeedsClaim - prefix * 2a) WithoutValueTransfer - simplest case, no transfer * 2b) With - continuation * 3) Configurable - optional, means there is function parameter to decide how much to send to each recipient * 4) Value or Token - value means ether, token means ERC20 or ERC721 *...
These are the vulnerabilities found 1) erc20-interface with Medium impact 2) arbitrary-send with High impact 3) unchecked-send with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'TrackerInu' token contract // // Deployed to : 0x581C0c17c4d18f2888374DdF442a8E60EcE14e13 // Symbol : TINU // Name : TrackerInu // Total supply: 1000000000000000 // Decimals : 18 // // // // //...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-11 */ pragma solidity ^0.5.0; contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) public vi...
No vulnerabilities found
pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract ERC20WrapIou is ERC20, Own...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ISB' token contract // // Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30 // Symbol : GS // Name : The Goldman Sachs Group, Inc. Coin // Total supply: 1000000000000000000000000000 // Decima...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; pragma experimental ABIEncoderV2; /** * @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); /*...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) incorrect-equality with Medium impact 3) uninitialized-local with Medium impact 4) weak-prng with High impact 5) unused-return with Medium impact
// SPDX-License-Identifier: MIT /* * Token has been generated 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 need to v...
No vulnerabilities found
pragma solidity ^0.4.21 ; contract CAC_2400_20180920 { mapping (address => uint256) public balanceOf; string public name = " CAC_2400_20180920 " ; string public symbol = " CACADT " ; uint8 public decimals = 18 ; uint256 public totalSupply = 12...
No vulnerabilities found
pragma solidity 0.7.6; pragma abicoder v2; 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; require(c / a == b); ...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : {{Token Symbol}} // Name : {{Token Name}} // Total supply : {{Total Supply}} // Decimals : {{Decimals}} // Owner Account : {{Owner Account}} // // Enjoy....
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier:Unlicensed pragma solidity ^0.8.2; //echoes echo echoes /* .::. .---- :====: ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) incorrect-shift with High impact 3) uninitialized-local with Medium impact 4) write-after-write with Medium impact 5) weak-prng with High impact 6) unused-return with Medium impact
pragma solidity ^0.5.11; 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) unchecked-transfer with High impact 2) locked-ether with Medium impact