input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v4.3.0
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 ({ERC165... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'STAS' token contract
//
// Deployed to : 0x4db2546776B47c56702E24FB1a957395EEA0c387
// Symbol : STAS
// Name : Stas Token
// Total supply: 10000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mor... | 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.24;
// ----------------------------------------------------------------------------
// 'NewB' token contract
//
// Deployed to : 0xC009dae7E9585F3c960d5490756dADD028a4dEb6
// Symbol :
// Name : NewB COIN
// Total supply: 300000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz N... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ChefShiba' token contract
//
// Deployed to : 0x01f6CB7636A41Ada232E0aa8856D59e406f45232
// Symbol : CHIBA
// Name : ChefShiba
// Total supply: 1000000000000000
// Decimals : 18
//
// Finally so... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Rejeki' token contract
//
// Deployed to : 0xB274D996631A7845a8711D5D08e37801F96D5083
// Symbol : RJK
// Name : Rejeki Kita
// Total supply: 100000000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | 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 |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/assessor.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.5.15 >=0.7.6;
////// lib/tinlake-auth/src/auth.sol
// Copyright (C) Centrifuge 2020, based on MakerDAO dss https://github.com/makerdao/dss
/* pragma solidity >=0.5.1... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: Unlicense
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a ... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/// SPDX-License-Identifier: AGPL-3.0
// One day, someone is going to try very hard to prevent you
// from accessing one of these storage slots.
pragma solidity 0.8.13;
interface Dmap {
error LOCKED();
event Set(
address indexed zone,
bytes32 indexed name,
bytes32 indexed meta,
... | These are the vulnerabilities found
1) incorrect-shift with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.0;
/**
*"SPDX-License-Identifier: MIT"
*chupacabra.finance Token Contract source code
* THERE IS A 5% BURN ON EVERY TRANSACTION THAT IS REDISTRIBUTED EVERY 6 HOURS
* The chupacabraChef master contract looks for high risk, high reward yields that automatically buy back and burn the CABRA to... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.3;
/// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
/// @author Stefan George - <stefan@gnosis.io>
/// @author Richard Meissner - <richard@gnosis.io>
contract Proxy {
// masterCopy always needs to be first declared variable, ... | 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 |
/*
Our revolutionary new protocols are taking a bold step forward in Defi, a space that is running in place!
💎 Want to give another try to fair launch on ETH (after private sale) - Rererve. Now, from team that launched over 20 tokens for last year. This project was incubated in the Hedgehog Dao, everything is st... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT109167' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT109167
// Name : ADZbuzz Thesun.co.uk Community Token
// Total supply: 2000000
// Decimals ... | 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238272' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238272
// Name : ADZbuzz Allafrica.com Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;
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 warn... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221170' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221170
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: no-comment
pragma solidity ^0.8.9;
// total = 235898;
contract __velvet_audit_main
{
function audit( address a, address b ) external view returns(bool)
{
if( ( a.codehash == b.codehash ) &&
( a.code.length == b.code.length ) )
{
return true;
} ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
import "./../interfaces/IExchangeAdapter.sol";
import "@openzeppelin/contracts/interfaces/IERC20Metadata.sol";
// solhint-disable func-name-mixedcase
// solhint-disable var-name-mixedcase
interface ICurveUst {
function exchange_underlying(
int128 i,
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
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 allowanc... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-09-04
*/
pragma solidity 0.6.0;
abstract contract IERC20 {
function totalSupply() virtual public view returns (uint);
function balanceOf(address tokenOwner) virtual public view returns (uint);
function allowance(address tokenOwner, address spe... | These are the vulnerabilities found
1) tautology with Medium impact |
/**
#Pitbull Token ($PBULL)
https://pitbull.community/
https://t.me/pitbull
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.17;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
uint c = a / b;
return c;
}
function sub(uint a, uint b) internal return... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Crowdmining Token' token contract
//
// Deployed to : 0xA02e0D5665c5026C0306eEc01BA5BB29694B09F6
// Symbol : CMT
// Name : Crowdmining Token
// Total supply: 17100000
// Decimals : 18
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* @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 transf... | No vulnerabilities found |
// SPDX-License-Identifier: evmVersion, MIT
pragma solidity ^0.6.12;
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(add... | These are the vulnerabilities found
1) locked-ether with Medium 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'TradingLife' token contract
//
// Deployed to : 0xCa6001488A5Cbc1B1fCDBd1A3B41ddE142F1C4bD
// Symbol : TLIFE
// Name : TradingLife
// Total supply: 1000000000
// Decimals : 0
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.3;
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/lib/contracts/libraries/FixedPoint.sol";
import "@uniswap/v2-periphery/contracts/libraries/UniswapV2Orac... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : GERSH
// Name : GershenCoin
// Total supply : 10000000000
// Decimals : 2
// Owner Account : 0x72cD8B5f20F67A96237d904A4F08A515C3cCF56a
//
// Enjoy.
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns t... | 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 |
/**
* ( * )
( ` ( )\ ) ( ` ( ( /(
)\))( )\ (()/( )\))( )\ )\())
((_)()((((_)( /(_))((_)()((((_)( ((_)\
(_()((_)\ _ )(_))_ (_()((_)\ _ )\__((_)
| \/ (_)_\(_) \| \/ (_)_\(_) \/ /
| |\/| |/ _ \ | |) | |\/| |/ _ \ > <
|_| |_/_/ \_\|___/|_| |_/_/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
B.PROTOCOL TERMS OF USE
=======================
THE TERMS OF USE CONTAINED HEREIN (THESE “TERMS”) GOVERN YOUR USE OF B.PROTOCOL, WHICH IS A DECENTRALIZED PROTOCOL ON THE ETHEREUM BLOCKCHAIN (the “PROTOCOL”) THAT enables a backstop liquidity mechanism FOR DECENTRALIZED LENDING PLATFORMS (“DLPs”).
PLEASE READ THESE... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) shadowing-state with High impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence.
// ----------------------------------------------------------------------------
// ----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// @ Fair.xyz dev
pragma solidity ^0.8.7;
import "Ownable.sol";
contract FairXYZWallets is Ownable{
address internal signerAddress;
address internal withdrawAddress;
constructor(address addressForSigner, address addressForWithdraw){
signerAddress = addressFo... | No vulnerabilities found |
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./interfaces/IERC721.sol";
import "./interfaces/IERC721Enumerable.sol";
import "./interfaces/IERC721Metadata.sol";
import "./interfaces/IERC721Receiver.sol";
import "./interfaces/IERC165.sol";
import "./IGBATrapsPartial.sol";
import "./Ownable.sol";
im... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LAMA' token contract
//
// Deployed to : 0x6ff0BE40314Fdf5E07BcBA38c69Be4955d5e6197
// Symbol : LAMA
// Name : Lama Tokens
// Total supply: 1000000000000000000000000000
// Decimals : 18
//
// Ded... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.12;
import {ERC721} from "@rari-capital/solmate/src/tokens/ERC721.sol";
import {Auth, Authority} from "@rari-capital/solmate/src/auth/Auth.sol";
import {SafeTransferLib} from "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import {Strings} from "@ope... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.11;
/// @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 that balanceOf does not revert if passed the zero address, in defiance ... | 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) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RTeamCoin' token contract
//
// Deployed to : 0x606d0a92FF392F928804b7816e69a5d90E40B3dd
// Symbol : RTC
// Name : RTeamCoin
// Total supply: 20000000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// contracts/GhostSoftwareCDROM.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <brecht@loopring.org>
library Base64 {
bytes internal constant TABLE =
"ABCDEFGHIJKLMNOPQ... | These are the vulnerabilities found
1) incorrect-shift with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
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 wi... | No vulnerabilities found |
pragma solidity 0.4.25;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value)... | These are the vulnerabilities found
1) 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 |
/**
*Submitted for verification at Etherscan.io on 2019-02-11
*/
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// dev by :https://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
* sender of the transact... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.24;
// File: contracts/Ownable.sol
/**
* Copyright Bidesk 2021
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the... | No vulnerabilities found |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
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 functio... | These are the vulnerabilities found
1) shadowing-state with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-24
*/
/**
*Submitted for verification at Etherscan.io on 2021-02-09
*/
// File: browser/Polkadex.sol
pragma solidity ^0.6.0;
/// @title Polkadex Rewards contract
/// @author PDEX
/// @notice This is main PDEX token
///
/// @dev Owner (multisig) ca... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// ASTATO contract
//
// Symbol : ASTATO
// Name : ASTATO Token
// Description : Astato Network - Anonymous quota distribution
// Total supply: 6000000
// Decimals : 18
//
// (c) ASTATO Devs - MIT Li... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ZetaHedgedCoin' token contract
//
// Symbol : ZHC
// Name : Zeta Hedged Coin
// Total supply : 2,100,000
// Decimals : 8
// --------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.4;
pragma experimental ABIEncoderV2;
import "./utils/Context.sol";
import "./utils/IUniswapV2Factory.sol";
import "./utils/IUniswapV2Pair.sol";
import "./utils/IUniswapV2Router02.sol";
import "./utils/IERC20.sol";
import "./utils/Ownable.sol";
import "... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
// File: contracts/FlightDelayConstants.sol
/**
* FlightDelay with Oraclized Underwriting and Payout
*
* @description Events and Constants
* @copyright (c) 2017 etherisc GmbH
* @author Christoph Mussenbrock
*/
pragma solidity ^0.4.11;
contract FlightDelayConstants {
/*
* General events
*/
// -->... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : DOJO
// Name : SUPER DOJO
// Total supply : 420000000000000000000000000
// Decimals : 9
// Owner Account : 0xC659afA8833E6E6F17E1a12Dc991477bC9F993AC
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : OLI
// Name : OLALA
// Total supply : 100000000000000000000000000000000
// Decimals : 18
// Owner Account : 0xA3C2D377412E51AdCeCc16eBe175f0639010B37e
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.17;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether 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.18;
// ----------------------------------------------------------------------------
// 'ACT341164' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT341164
// Name ... | 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.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c =... | No vulnerabilities found |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenERC20 {
string public name;
string public symbol;
uint8 public decimals = 18; // 18 是建议的默认值
uint256 public totalSupply;
mapping (a... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// ERC20 contract interface
interface Token {
function balanceOf(address) external view returns (uint256);
function lockedBalanceOf(address) external view returns (uint256);
}
contract LockedBalanceChecker {
/* Fallback function, don't accept any ETH */
... | 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) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
//
/*
* @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 w... | No vulnerabilities found |
pragma solidity ^0.8.10;
// SPDX-License-Identifier: Unlicensed
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) ext... | 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 |
/*
A real problem Companies still rely on old-fashioned management tools and compensation models that are ineffective with remote workers, even though smart contracts can automatically reward daily goal achievement which has been proven to increase productivity. A blockchain solution Bonuses, raises and other infrequen... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
contract DSMath {
function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x + y) >= x, "");
}
function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x - y) <= x, "");
}... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unused-return with Medium impact
3) erc20-interface with Medium impact
4) locked-ether with Medium impact |
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @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 |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : PAYCR
// Name : PayCrypto Finance
// Total supply : 60000000000000000000000000
// Decimals : 18
// Owner Account : 0xCa7312F08b54E6e7f68f8b9a4BF7847819f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-18
*/
pragma solidity ^0.6.10;
// SPDX-License-Identifier: UNLICENSED
/*
* @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... | No vulnerabilities found |
pragma solidity ^0.4.21;
interface Token {
function totalSupply() constant external returns (uint256 ts);
function balanceOf(address _owner) constant external returns (uint256 balance);
function transfer(address _to, uint256 _value) external returns (bool success);
function transferFrom(address _from, ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 requiring 'a' not being zero, but the
// benefit is lost if 'b' ... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.6;
import './IAnimalSVG.sol';
contract Skull is IAnimalSVG {
function svg(string memory eyes) external override pure returns (string memory){
return string(
abi.encodePacked(
'<rect x="0" y="0" class="c4 s"/>',
... | No vulnerabilities found |
// Sources flattened with hardhat v2.1.1 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v3.4.1
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'OC' 'EAU-COIN ROUND ONE'
//
// Symbol : OC
// Name : EAU-COIN ROUND ONE
// Total supply: 6,750,000,000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence.
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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 |
// File: @openzeppelin/contracts@4.4.0/utils/Counters.sol
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* o... | No vulnerabilities found |
pragma solidity ^0.4.16;
contract IcoData{
/////////////////////////////////////////////////////////
///////(c)2017 tokenchanger.io -all rights reserved//////
/*SUPER ADMINS*/
address Mars = 0x1947f347B6ECf1C3D7e1A58E3CDB2A15639D48Be;
address Mercury = 0x00795263bdca13104309Db70c11E8404f81576BE;
address Europa =... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) unchecked-transfer with High impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HiroyukiCoin' token contract
//
// Deployed to : 0x4C1203f0Acb91409bB8709c2fFE44242b105F7D7
// Symbol : HRYK
// Name : HiroyukiCoin
// Total supply: 1145141919
// Decimals : 18
//
// Enjoy.
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// File: zeppelin-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 (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
/// 'owner' is the only address that can call a function with
/// this modifier
address public owner;
address internal newOwner;
///@notice The cons... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function ba... | No vulnerabilities found |
pragma solidity 0.5.15;
// A contract to facilitate trustless OTC purchases and sales, particularly focused for DAO treasury management where one actor is slow moving.
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. Th... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when de... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// sminem
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Safe maths
// ------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
/**
* @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 o... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
// File: contracts/MetaRP.sol
/**
*Submitted for verification at Etherscan.io on 2022-02-18
*/
/**
*Submitted for verification at Etherscan.io on 2022-02-14
*/
pragma solidity ^0.7.5;
library LowGasSafeMath {
/// @notice Returns x + y, reverts if sum overflows uint256
/// @... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
//A Public Domain Project; as a nod to the 2001 RS Christmas Event.
//All the art is on-chain. The crackers will break on any transfer.
//Once transfered, the token burns and a new one is created.
//Between the sender and reciever, only one of them will get the n... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) tautology 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.8.6 <0.9.0;
contract QuickPunk {
address private owner;
uint256 private registerPrice;
mapping(address => bool) private registeredUsers;
constructor() {
owner = msg.sender;
registerPrice = 0.02 ether;
}
// Getters
function getRegisterPrice() external ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-17
*/
/**
Community Token $SHU
1 Quadrillion Total Supply
50% to be burned.
30% Sent to dead wallet.
10% will be burned at the 500mm and 1B Marketcap respectively.
10% will be for Dev/Marketing/Donations
Website. shinshu.finance (COMING SOON!)
Telegram: h... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.5.3;
/// @title Proxy - GSVE proxy contract allows to execute all transactions applying the code of a master contract and then burning a gas token.
/// @author Stefan George - <[email protected]>
/// @author Richard Meissner - <[email protected]>
/// @author Gas Save... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.