input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
function mul(uint256 a, u... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
/* Description:
* Transfering totally 10,000,000 BUIDL to specified addresses
*/
pragma solidity ^0.7.1;
contract DFOHubGeneratedProposal {
function callOneTime(address proposal) public {
IMVDProxy proxy = IMVDProxy(msg.sender);
proxy.transfer(0xB0220a5A294F69ba3EDEd32D7f16B2EbECB4DbfE, 10000000... | No vulnerabilities found |
/*
Copyright 2017 Loopring Project Ltd (Loopring Foundation).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-21
*/
// Sources flattened with hardhat v2.6.2 https://hardhat.org
// File @openzeppelin/upgrades/contracts/[email protected]
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) shadowing-state with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// File: contracts/interfaces/IOwned.sol
/*
Owned Contract Interface
*/
contract IOwned {
function transferOwnership(address _newOwner) public;
function acceptOwnership() public;
function transferOwnershipNow(address newContractOwner) public;
}
// File: contracts/utility/Owne... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-29
*/
// 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);
func... | 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;
// ----------------------------------------------------------------------------
// 'Bitcoin1' token contract
//
// Deployed to : 0xff3b1d46351D3feb6d2B3703B7d990a706953222
// Symbol : BTC1
// Name : Bitcoin1
// Total supply: 21000000
// Decimals : 8
//
//
//
//
// ----... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-05
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-04
*/
pragma solidity =0.5.16;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view ret... | 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.0;
pragma experimental ABIEncoderV2;
interface TokenInterface {
function balanceOf(address) external view returns (uint);
}
contract Resolver {
struct Balances {
address owner;
uint[] balance;
}
function getBalances(address[] memory owners, address[] memory tknAdd... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-11
*/
/*
Pomer Token
Community-focused, decentralized cryptocurrency with yieldfarming rewards for holders.
Pomeranian harnesses the power of Blockchain to evolve cryptocurrency. Our ecosystem consists of decentralized finance-based apps such as Decentraliz... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// File: 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 public owner;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-17
*/
pragma solidity ^0.8.0;
/*
This contract allows anyone to atomically mutate ERC20 tokens to a new token and back at a 1:1 ratio.
This contract is atomic, decentralized, and has no owner.
*/
abstract contract ERC20Basic {
function totalSupply() ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-04
*/
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (ui... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
contract Proxy {
function implementation() public view returns (address);
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
* This functi... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-09
*/
// contracts/IdolToken.sol
// 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 tokens in existence.
*/
func... | No vulnerabilities found |
// 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 |
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(uint a, uint b) internal pure returns(uint) {
if (a == 0) {
return 0;
... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) weak-prng with High impact
3) arbitrary-send with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-29
*/
pragma solidity ^0.4.26;
// File: contracts/SafeMath.sol
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-14
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BIG2
// Name : BIG2 Token
// Total supply : 1000000000000000
// Decimals : 6
// Owner... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
pragma solidity >=0.4.22 <0.6.0;
interface tokenRecipient {
function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external;
}
contract Tinkoff {
// Public variables of the token
string public name;
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-24
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
abstract contract Token {
/// @return supply - total amount of tokens
function totalSupply() external virtual returns (uint256 supply);
/// @param _owner The address from which ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-12
*/
pragma solidity ^0.6.12;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an o... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-11-04
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of toke... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* 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(address ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-24
*/
/**
Stealth Launch - April 24, 2022
Telegram : @GenosETH
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed 0x7b527bd019E9f745497F2cB51C658cb10E2C914F
interface IERC20 {
function totalSupply() external view returns (uint256);
... | 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.18;
// ----------------------------------------------------------------------------
// 'OPRAH' token contract
//
// Deployed to : 0x432a39e0884a0bAA16e2b304b344E47f8CCe8B87
// Symbol : OPRAH
// Name : OPRAH
// Total supply: 50000000000000
// Decimals : 18
//
// Enjoy.
//
// ... | 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 |
/**
*Submitted for verification at Etherscan.io on 2021-06-18
*/
pragma solidity ^0.8.0;
/*
XAdspace - Dutch auction digital advertisement spaces
v0.15.4
*/
interface IERC20 {
/**
* @dev Returns the amount of tok... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-12
*/
/**
*Submitted for verification at Etherscan.io on 2020-10-06
*/
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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ISB' token contract
//
// Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30
// Symbol : UBS
// Name : UBS Group AG Coin
// Total supply: 1000000000000000000000000000
// Decimals : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-29
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed 0x7b527bd019E9f745497F2cB51C658cb10E2C914F
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | 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;
contract FoMo3Dlong {
using SafeMath for *;
string constant public name = "FoMo3D Long Official";
string constant public symbol = "F3D";
uint256 public airDropPot_;
uint256 public airDropTracker_ = 0;
mapping (address => uint256) public pIDxAddr_;
mapping (bytes32... | These are the vulnerabilities found
1) weak-prng with High impact
2) constant-function-state with Medium impact |
// File: original_contracts/routers/IRouter.sol
pragma solidity 0.7.5;
interface IRouter {
/**
* @dev Certain routers/exchanges needs to be initialized.
* This method will be called from Augustus
*/
function initialize(bytes calldata data) external;
/**
* @dev Returns unique identifier f... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) controlled-delegatecall with High impact
4) arbitrary-send with High impact
5) delegatecall-loop with High impact |
pragma solidity ^0.4.11;
/* Ethart unindexed Factory Contract:
Ethart ARCHITECTURE
-------------------
_________________________________________
V V
Controller --> Registrar <--> Factory Contract1 --> Artwork Contract1
Factory Contract2 Artwork Contract2
... ...
... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) tautology 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 B... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-01-31
*/
// SPDX-License-Identifier: UNLICENSED
//openzeppelin-contracts/contracts/access/roles
pragma solidity ^0.5.0;
/**
* @title Roles
* @dev Library for managing addresses assigned to a Role.
*/
library Roles {
struct Role {
mapping (... | No vulnerabilities found |
pragma solidity^0.4.24;
/**
*
*
* Contacts: support (at) bankofeth.app
* https://twitter.com/bankofeth
* https://discord.gg/d5c7pfn
* https://t.me/bankofeth
* https://reddit.com/r/bankofeth
*
* PLAY NOW: https://heist.bankofeth.app/heist.htm
*
* --- BANK OF ETH - BANK HEIST! -... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) constant-function-asm with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-15
*/
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-31
*/
/*
* The HODL FLOKI rule: 1) feel free to sell in a month after you buy, and if you sell before that, don't complain; 2) Maximum buy, sell, and transfer: 1B.
*/
pragma solidity ^0.5.17;
contract ERC20Interface {
function totalSupply() publ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-02
*/
/**
██████ █████ ██████ ████████ ██ ██ ████████ ██████ ██ ██ ███████ ███ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
██████ ███████ ██████ ██ ██ ██ ██ ██ ██ █████ ███... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-15
*/
/**
Doggy Style ($DSTYLE) is here to bring a part of the Kamasutra culture to the Crypto Space.
We are a decentralized community driven cryptocurrency with built-in automated rewards for its holders.
Keep holding $DSTYLE in your wallet, and watch the... | No vulnerabilities found |
pragma solidity ^0.4.24;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
i... | These are the vulnerabilities found
1) tautology 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(add... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-24
*/
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
/**
* @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.da... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-23
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) i... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-05-16
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;
interface OrFeed {
function getTokenAddress (string calldata symbol) external view returns (address);
function arb (address fundsReturnToAddress, address liq... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-15
*/
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
/// @dev Note th... | These are the vulnerabilities found
1) unused-return with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
Double%
Earn 10% per hour, double your %ROI every hour you HODL!
First hour: 10%
Second hour: 20%
Third hour: 40%
...etc...
*/
contract DoubleROI {
using SafeMath for uint256;
mapping(address => uint256) investments;
mapping(address => uint256) joined;
mapping(address ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-06
*/
pragma solidity ^0.5.16;
// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
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 al... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CASHBACK' Token Contract
//
// Deployed To : 0x0449Ce9fEaA8b6C36D20b86064fF4620B04fd8DB
// Name : CASHBACK Token
// Symbol : CASHBACK
// Total Supply: 90,000,000
// Decimals : 18
//
// (c) By ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
/// @title Splitter
/// @author 0xcaff (Martin Charles)
/// @notice An ethereum smart contract to split received funds between a number
/// of outputs.
contract Splitter {
// Mapping between addresses and how much money they have withdrawn. This is
// used to calculate the balance of e... | These are the vulnerabilities found
1) tautology 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) weak-prng with High impact |
pragma solidity ^0.4.24;
library NameFilter {
/**
* @dev filters name strings
* -converts uppercase to lower case.
* -makes sure it does not start/end with a space
* -makes sure it does not contain multiple spaces in a row
* -cannot be only numbers
* -cannot start with 0x
* ... | These are the vulnerabilities found
1) tautology with Medium impact
2) constant-function-asm with Medium 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
7) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
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(addr... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-05-22
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-11
*/
pragma solidity ^0.6.8;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
asse... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/*
* Traveler Token Contract
* =======================
*
* ROUGHLY BASED on the OpenZeppelin Library (https://github.com/OpenZeppelin/zeppelin-solidity).
* ASSEMBLED, MODIFIED & COMPLETED by Codemelt.
* FOR Traveler (https://traveler.com).
*/
library SafeMath {
function mul(uin... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-29
*/
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 i... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-23
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
/**
* @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 _im... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract owned {
address public owner;
address public candidate;
function owned() payable public {
owner = msg.sender;
}
modifier onlyOwner {
require(owner == msg.sender);
_;
}
function changeOwner(address _owner) onlyOwner public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-10
*/
/**
*Submitted for verification at Etherscan.io on 2019-07-10
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'B333' token contract
//
// Deployed to : 0x2faDe3DBD09803D65Be506bCd... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Venuscoins' token contract
// Deployed to :
// Symbol : VNS
// Name : Venuscoins
// Total supply: 1000000000000000
// Decimals : 8
//
// Official VNS
//
// (c) by Venuscoins.
// --------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//dapp: https://etherscan.io/dapp/0x1603557c3f7197df2ecded659ad04fa72b1e1114#readContract
//
pragma solidity >=0.4.26;
contract UniswapExchangeInterface {
// Address of ERC20 token sold on this exchange
function tokenAddress() external view returns (address token);
// Address of Uniswap Factory
functi... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) unchecked-send with Medium impact |
pragma solidity ^0.4.21;
/**
* @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) divide-before-multiply with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-20
*/
/**
#Goose Token ($EGG)
https://goosedefi.finance/
https://t.me/goosedefi
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.17;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-01
*/
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.
*... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
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.4.25;
contract invest{
mapping (address => uint256) invested;
mapping (address => uint256) dateInvest;
uint constant public FEE = 3;
uint constant public ADMIN_FEE = 1;
uint constant public REFERRER_FEE = 1;
address private owner;
address private adminAddr;
bool priva... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-send with Medium impact
3) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-17
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ---------------------------------------------------------------------------... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-02
*/
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external return... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-20
*/
/**
* Rising Inu $RISINU
* (c) 2021
* A token with automatic
* buyback mechanisms
* https://t.me/RisingInu
* This is the only official channel
*/
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existenc... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.6.2;
// SPDX-License-Identifier: MIT
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when d... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-16
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requiremen... | 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 IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-27
*/
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-31
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Counters.sol
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// (c) by Epay Inc 2018. The MIT Licence.
// ----------------------------------------------------------------------------
//
// ----------------------------------------------------------------------------
// Safe m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-10
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LUCI
// Name : Luci Token
// Total supply : 6666666600
// Decimals : 2
// Owner Accou... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-18
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Lib: Safe Math
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'REAL' token contract
//
// Deployed to : 0xca059be0f73280f6218792c9220875b1caaf5c8a
// Symbol : REAL
// Name : REAL
// Total supply: 100000000
// Decimals : 18
//
//
// ------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// File: 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 public owner;
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-02-15
*/
/*
Meta Souls
META SOULS Online -META WORLD- is the new GameFi of Elemental Knights Online that won the "Gold Award of Game of the year" in Taiwan in 2012 with a total downloads of over 8 million. Incorporates UGC and Play to Earn to realize a metaver... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-27
*/
pragma solidity ^0.8.12;
// SPDX-License-Identifier: Unlicensed
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
retur... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-05
*/
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.6.9;
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... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : MUGGL
// Name : MuggleCoin
// Total supply : 700000000
// Decimals : 2
// Owner Account : 0x7a0275eb1e35F67D7e... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-14
*/
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
/**
*Submitted for verification at Etherscan.io on 2019-08-02
*/
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the opti... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0xBitcoincash Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : 0xBCH
// Name : 0xBitcoincash Token
// Total supply: 21,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 buidler v1.4.3 https://buidler.dev
// File contracts/interfaces/IMiniMeLike.sol
pragma solidity ^0.5.0;
/**
* @dev A sparse MiniMe-like interface containing just `generateTokens()`.
*/
interface IMiniMeLike {
/**
* @notice Generates `_amount` tokens that are assigned to `_owner`... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 |
pragma solidity ^0.4.11;
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 {
uint256 public totalSupply;
function balanceOf(address _owner) constant returns (uint256);
function transfer(address _to, uint256 _value) returns (bool);
function transferFrom(ad... | 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 {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact
5) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-27
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
// CATE $Catecoin
// Telegram: https://t.me/catecoins
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-03
*/
/**
Hey, guys! Meet Elon and Bunny! Our Elon is still very young, so you don't know him yet, but when he grows up, everyone will know about him!
So... Our Elon was born on the ERC-20 network and has already become very friendly with the rabbit $ELONBUN... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FSHN' token contract
//
// Deployed to : 0x0efcEe011a87CC59392C7666dFA34bC3b159e292
// Symbol : FSHN
// Name : FSHN
// Total supply: 1000000000
// Decimals : 18
//
//
// -----------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
contract Token {
string public symbol = "";
string public name = "";
uint8 public constant decimals = 18;
uint256 _totalSupply = 0;
address owner = 0;
bool setupDone = false;
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Ap... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.