train stringlengths 80 869k |
|---|
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.15;
import { Executable } from "../common/Executable.sol";
import { Write, UseStore } from "../common/UseStore.sol";
import { OperationStorage } from "../../core/OperationStorage.sol";
import { IVariableDebtToken } from "../../interfaces/aave/IVariable... |
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
/**
* @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 this function returns
* fa... |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) in... |
pragma solidity ^0.6.0;
import "../auth/Auth.sol";
import "../interfaces/DSProxyInterface.sol";
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at yo... |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import { LibDiamond } from "../libraries/LibDiamond.sol";
import '@solidstate/contracts/token/ERC721/enumerable/ERC721Enumerable.sol';
import "../libraries/MyNFTTokenLibrary.sol";
import { AppStorage } from "../libraries/LibAppStorage.sol";
import { ERC72... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @author: manifold.xyz
import "@openzeppelin/contracts/proxy/Proxy.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/StorageSlot.sol";
contract ERC721Creator is Proxy {
constructor(string memory name, s... |
/**
*Submitted for verification at Etherscan.io on 2021-12-03
*/
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
/**
* @title ERC165
* @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
*/
interface IERC165 {
/**
* @notice Query if a contract implements an interface... |
/**
*Submitted for verification at Etherscan.io on 2023-01-17
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo... |
/**
*Submitted for verification at Etherscan.io on 2022-11-19
*/
// File: contracts\open-zeppelin-contracts\token\ERC20\IERC20.sol
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`.
*/... |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contr... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Adventure Times
/// @author: manifold.xyz
import "./manifold/ERC1155Creator.sol";
///////////////////////////
// //
// //
// Adventure Times //
// //
// /... |
/**
*Submitted for verification at Etherscan.io on 2022-12-04
*/
/**
The Black Gates $GATES
The mysterious black gates appear in front of you. Will you open them? Read more in our medium post...
Tg: https://t.me/TheBlackGates
Twitter: https://twitter.com/BlackGatesEth?t=MkKvYgngiPl05cEMkJQnMA&s=09
Medi... |
/**
*Submitted for verification at Etherscan.io on 2022-04-09
*/
// SPDX-License-Identifier: Unlicensed
/**
ELONCULT
Tax 10% Buy/Sell
3% LP
2% + 5% DEV AND MARKETING
1% MAX TX
2% MAX WALLET
*/
pragma solidity 0.8.9;
... |
/**
*Submitted for verification at Etherscan.io on 2022-08-22
*/
pragma solidity ^0.8.9;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanc... |
/**
*Submitted for verification at Etherscan.io on 2022-07-20
*/
/**
CyberDragon (CDragon)
https://twitter.com/CyberDragonERC
http://t.me/cyberdragonerc/
cyberdragonerc.space/
*/
pragma solidity ^0.8.7;
// SPDX-License-Identifier: UNLICENSED
abstract contract Context {
function _msgSen... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT465883' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT465883
// Name : ADZbuzz Gamespot.com Community Token
// Total... |
/**
*Submitted for verification at Etherscan.io on 2022-08-09
*/
/**
D0G3
3% Tax
TG : @D0G33RC
*/
pragma solidity 0.8.7;
// SPDX-License-Identifier: UNLICENSED
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
i... |
/**
*Submitted for verification at Etherscan.io on 2023-01-17
*/
//TG - https://t.me/nianthedragon
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
c... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Black Nexus
/// @author: manifold.xyz
import "./ERC1155Creator.sol";
///////////////////////////////////////////////////////////////////////////////////////////////
// ... |
/**
*Submitted for verification at Etherscan.io on 2022-10-18
*/
/**
// SPDX-License-Identifier: MIT
โโโโโฆโโโโฆโโโโฆโโโโ
โโโโโโโโโฃโโโโฃโโโโ
โโโโโฃโโโโฃโโโโฃโโโ
โโโโโโโโโฃโโโโฃโโโ
โโโโโโโโโฃโโโโฃโโโโ
โโโโโฉโโโโฉโโโโฉโโโโ
* ... |
/**
*Submitted for verification at Etherscan.io on 2022-06-02
*/
//*********************************************************************//
//*********************************************************************//
//
// __ __ ___ _____ ____ __ ____ __ _ ___ _
// / //_// /__ / ... |
/**
*Submitted for verification at Etherscan.io on 2021-11-07
*/
/**
_____ _ _____ _ __ _____
/ ____| | | / ____| | | \ \ / /__ \
| | _ __ _ _ _ __ | |_ ___ | | __ _ _ __| |_ \ \ / / ) |
| | | '__| | ... |
/**
*Submitted for verification at Etherscan.io on 2023-02-07
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.9;
/*
OnChain Data + Offchain AI + Oracle = [promise: Manipulation]
https://t.me/MarketManipulateAI
*/
abstract contract C... |
pragma solidity ^0.6.0;
import "./CarefulMath.sol";
contract Exponential is CarefulMath {
uint constant expScale = 1e18;
uint constant halfExpScale = expScale/2;
uint constant mantissaOne = expScale;
struct Exp {
uint mantissa;
}
/**
* @dev Creates an exponential from numerator ... |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity =0.5.16;
import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20Detailed.sol";
import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20Mintable.sol";
import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20Pausable.sol";
contract TestE... |
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9
pragma solidity 0.7.6;
pragma abicoder v2;
import '../interfaces/ITwapPair.sol';
import '../interfaces/IWETH.sol';
import './Orders.sol';
library WithdrawHelper {
using SafeMath for uint256;
function _transferToken(
... |
/**
*Submitted for verification at Etherscan.io on 2021-07-12
*/
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.5;
/**
* @title TieredCrowdfundStorage
* @author MirrorXYZ
*/
contract TieredCrowdfundStorage {
// The two states that this contract can exist in. "FUNDING" allows
... |
pragma solidity ^0.6.0;
import "../../auth/ProxyPermission.sol";
import "../../interfaces/IAaveSubscription.sol";
/// @title SubscriptionsProxy handles authorization and interaction with the Subscriptions contract
contract AaveSubscriptionsProxy is ProxyPermission {
address public constant AAVE_SUBSCRIPTION_ADDR... |
/**
*Submitted for verification at Etherscan.io on 2021-08-18
*/
/*
Hello everyone! Welcome to the coin featuring Eevee, the cutest Pokemon around!
https://t.me/BabyEeveeOfficial
https://www.babyeevee.com/
www.twitter.com/babyeevee_token
*/
/*
SPDX-License-Identifier: None
*/
pragma solidity... |
pragma solidity ^0.6.0;
import "../../utils/FlashLoanReceiverBase.sol";
import "../../interfaces/ProxyRegistryInterface.sol";
import "../../interfaces/CTokenInterface.sol";
import "../../utils/SafeERC20.sol";
/// @title Receives FL from Aave and imports the position to DSProxy
contract CompoundImportFlashLoan is Flas... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
interface IERC20 {
function balanceOf(address account) external vi... |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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
* s... |
/**
*Submitted for verification at Etherscan.io on 2022-05-17
*/
/**
// SPDX-License-Identifier: Unlicensed
You miss LINU, CLUNA, and others?
Don't miss Community ETH, we will build the strongest community ever! It's the key !
We don't need bad vibes, only organcis growth with strong holders !
Le... |
// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.6;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import {OwnableUpgradeable as Ownable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import {EnumerableSetUpgradeable as EnumerableSet} from "@openzep... |
/**
*Submitted for verification at Etherscan.io on 2021-09-17
*/
/**
Floki at Night! Join the Dark Side.
*/
// 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 t... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Zhang ruochen couldn't sleep
/// @author: manifold.xyz
import "./ERC721Creator.sol";
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////... |
/**
*Submitted for verification at Etherscan.io on 2021-07-02
*/
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(b... |
/**
*Submitted for verification at Etherscan.io on 2022-03-07
*/
/**
https://t.me/shibionicETH
*/
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function t... |
/**
*Submitted for verification at Etherscan.io on 2021-12-18
*/
/**
โโโโโโโ โโ โโโโโโ โโ โโ โโ โโโโโโ โโโโโโ โโโโโโ โโโโโโโ โโโโโโโ
โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ
โโโโโ โโ โโ โโ โโโโโ โโ โโ โโโ โโ โโ โโ โโ โโโโโโโ... |
pragma solidity ^0.4.21;
library SafeMath {
function mul(uint256 a, uint256 b) internal returns(uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal returns(uint256) {
uint256 c = a / b;
return c;
}
function sub(uint256 ... |
/**
*Submitted for verification at Etherscan.io on 2022-04-14
*/
// SPDX-License-Identifier: MIT
/**
*/
pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0;
pragma experimental ABIEncoderV2;
////// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)
... |
pragma solidity ^0.6.0;
import "../../utils/SafeERC20.sol";
import "../../interfaces/KyberNetworkProxyInterface.sol";
import "../../interfaces/ExchangeInterfaceV2.sol";
import "../../DS/DSMath.sol";
contract KyberWrapper is DSMath, ExchangeInterfaceV2 {
address public constant KYBER_ETH_ADDRESS = 0xEeeeeEeeeEeEe... |
/**
*Submitted for verification at Etherscan.io on 2022-12-16
*/
// ETHWIZ (Wizard of ETH)
// The Great & Powerful ETHWIZ has spoken.
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defin... |
pragma solidity ^0.6.0;
import "../../DS/DSGuard.sol";
import "../../DS/DSAuth.sol";
contract SubscriptionsInterfaceV2 {
function subscribe(uint _cdpId, uint128 _minRatio, uint128 _maxRatio, uint128 _optimalBoost, uint128 _optimalRepay, bool _boostEnabled, bool _nextPriceEnabled) external {}
function unsubscr... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo() external view returns (address);
function feeToSetter() external view ret... |
/**
*Submitted for verification at Etherscan.io on 2021-10-05
*/
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
// Global Enums and Structs
struct StrategyParams {
uint256 performanceFee;
uint256 activation;
uint256 debtRatio;
uint2... |
/**
*Submitted for verification at Etherscan.io on 2022-04-02
*/
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual re... |
/*
* SPDX-License-Identifier: GPL-3.0
*/
pragma solidity ^0.6.8;
import './Initializable.sol';
import './SafeMath.sol';
// Copied and modified from https://github.com/aragon/govern/blob/develop/packages/govern-token/contracts/GovernToken.sol
// Token to be used on subDAOs for the AN DAO.
// Changes:
// - Rena... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Steve Walasavage Editions
/// @author: manifold.xyz
import "./ERC1155Creator.sol";
////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ... |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `token... |
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
//โโโโโฌโโโฌโโโฌโโโฌโโโโโโโโโโโโโโโฌโโโผโโโผโโโโโโโโโโโโโโ
//โโโโโโโโโโโโโโคโโโคโโโโโโโโโโโโคโโโโโโโโโคโโโโโโโโโโโ
//โโโโโโโโโโโโโโคโโโคโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโ
//โโโโโคโโโดโโโดโโโดโโโโโโโโดโโโดโโโดโดโโโโโโดโโโโโโโโโโโโโโ
//โโโโโโ... |
pragma solidity ^0.6.0;
abstract contract Manager {
function last(address) virtual public returns (uint);
function cdpCan(address, uint, address) virtual public view returns (uint);
function ilks(uint) virtual public view returns (bytes32);
function owns(uint) virtual public view returns (address);
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Book of Gorr
/// @author: manifold.xyz
import "./manifold/ERC1155Creator.sol";
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppel... |
/**
*Submitted for verification at Etherscan.io on 2022-10-07
*/
/*
Telegram- https://t.me/TheAlchemyOfSoulsPortal
Website- https://www.thealchemyofsouls.com
Medium- https://thealchemyofsouls.medium.com/the-components-of-essence-97139a56c151
*/
// SPDX-License-Identifier: MIT ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol';
contract ShackersMintPass is ERC1155, ERC1155Supply, Ownable {
strin... |
// https://t.me/SafemoonAiToken
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (add... |
/**
*Submitted for verification at Etherscan.io on 2022-07-11
*/
/**
The trident is associated with the sea god Poseidon. This divine instrument is said to have been forged by the cyclopes.
Poseidon struck a rock with his trident, causing a sea to appear nearby on the Acropolis in Athens. And according to Rom... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: LMBO by: Kahncept
/// @author: manifold.xyz
import "./ERC721Creator.sol";
////////////////////////////////////////////////////////////////////////////////////////////
// ... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./Interfaces.sol";
import "@openzeppelin/contracts-0.6/math/SafeMath.sol";
import "@openzeppelin/contracts-0.6/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts-0.6/utils/Address.sol";
import "@openzeppelin/contracts-0.6/token/ERC20/SafeERC20.sol";... |
/**
*Submitted for verification at Etherscan.io on 2023-01-19
*/
/*
โโโโโโโโโโโ โโโโโโโโโโโ โ โ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ
โโโโโโโโโโโโ โโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโโโโโ... |
/**
*Submitted for verification at Etherscan.io on 2022-04-07
*/
/**
*Submitted for verification at Etherscan.io on 2022-04-07
*/
// File: @openzeppelin/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version... |
// File: @openzeppelin\contracts\token\ERC20\IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted wh... |
/**
*Submitted for verification at Etherscan.io on 2021-11-29
*/
/*
_______ _ _________ _______ _______ _ ______ _______ _______
( ___ )( ( /|\__ __/( )( ___ )( \ ( __ \ ( ___ )( ___ )
| ( ) || \ ( | ) ( | () () || ( ) || ( | ( \ )| ( ) || ( )... |
pragma solidity = 0.6.6;
import './UniswapV2Library.sol';
import './interfaces/IUniswapV2Router02.sol';
import './interfaces/IUniswapV2Pair.sol';
import './interfaces/IERC20.sol';
contract FlashLoaner {
address immutable factory;
uint constant deadline = 10 days;
IUniswapV2Router02 immutable sushiRouter;
con... |
/**
*Submitted for verification at Etherscan.io on 2022-11-26
*/
// 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.
*/
function totalS... |
// SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.10;
import {IERC20} from "../../openzeppelin/contracts/IERC20.sol";
/// @title Gnosis Protocol v2 Safe ERC20 Transfer Library
/// @author Gnosis Developers
/// @dev Gas-efficient version of Openzeppelin's SafeERC20 contract.
library GPv2SafeERC20 {
... |
/**
*Submitted for verification at Etherscan.io on 2022-01-05
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* I... |
/**
*Submitted for verification at Etherscan.io on 2021-04-24
*/
// 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 vie... |
pragma solidity ^0.4.16;
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... |
/**
*Submitted for verification at Etherscan.io on 2022-03-09
*/
// 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 m... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
interface IERC20 {
function approve(address spender, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint25... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... |
// SPDX-License-Identifier: Apache-2.0
pragma solidity >=0.8.0;
import "openzeppelin-contracts-4.8/token/ERC20/IERC20.sol";
import "openzeppelin-contracts-4.8/token/ERC20/utils/SafeERC20.sol";
import "openzeppelin-contracts-4.8/access/Ownable.sol";
import "openzeppelin-contracts-4.8/security/Pausable.sol";
/**
* @t... |
/**
*Submitted for verification at Etherscan.io on 2021-06-17
*/
/**
*Submitted for verification at Etherscan.io on 2021-06-16
*/
//Zero To Millionaire ($ZTM)
//60% Initial Burn
//No presale, no team token
//Let's Make This Fly!
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.5.17;
... |
/**
*Submitted for verification at Etherscan.io on 2021-12-26
*/
/**
* SPDX-License-Identifier: Unlicensed
*/
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
functio... |
/**
*Submitted for verification at Etherscan.io on 2022-10-19
*/
/**
*Submitted for verification at Etherscan.io on 2022-07-02
*/
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, a... |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "../external/compound/PriceOracle.sol";
import "../external/compound/CErc20.sol";
import "../... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./ShitSwapToken.sol";
/**
* @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 t... |
/**
*Submitted for verification at Etherscan.io on 2022-09-30
*/
// SPDX-License-Identifier: MIT
/**
https://tfnlab.com
https://play.tfnlab.com/game
*/
// File: contracts/Strings.sol
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBO... |
/**
*Submitted for verification at Etherscan.io on 2022-07-18
*/
// File: @openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library StringsUpgradeable {
... |
//SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol"... |
/**
*Submitted for verification at Etherscan.io on 2023-01-10
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual ... |
/**
*Submitted for verification at Etherscan.io on 2022-01-11
*/
/**
*Submitted for verification at Etherscan.io on 2021-12-06
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Strings.sol
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
by... |
/**
*Submitted for verification at Etherscan.io on 2020-03-30
*/
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 access... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: LMG Racing Club
/// @author: manifold.xyz
import "./manifold/ERC721Creator.sol";
///////////////////////////////////////////////////
// //
// //
// ___ ... |
/*
Copyright 2020 Yam Finance
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 or agree... |
/**
*Submitted for verification at Etherscan.io on 2022-01-12
*/
// File: base/Context.sol
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.... |
pragma solidity ^0.7.3;
pragma experimental ABIEncoderV2;
import "../library/LibSafeMath.sol";
import "../HashV2.sol";
import "../mixin/MixinOwnable.sol";
import "../mixin/MixinPausable.sol";
import "../library/ReentrancyGuard.sol";
contract FlatPriceMinter is Ownable, MixinPausable, ReentrancyGuard {
using LibSafe... |
/**
*Submitted for verification at Etherscan.io on 2022-08-25
*/
// SPDX-License-Identifier: UNLICENSED
/*
PULSEBITCOIN ($PLSB)
1% sell burn
LP tokens burned
Ownership renounced
*/
pragma solidity 0.8.16;
abstract contract Context {
function _msgSender() internal view virtual ... |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './IClaimer.sol';
import './WithDiamondHands.sol';
contract Claimer is IClaimer, Ownable, GeneralClaimer, WithDiamondHands {
struct... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: SNUFFERZ
/// @author: manifold.xyz
import "./manifold/ERC1155Creator.sol";
/////////////////////////////////////////////////////////////////////////////////////////
// ... |
/**
*Submitted for verification at Etherscan.io on 2023-03-16
*/
// SPDX-License-Identifier: Apache-2.0
/// @title Dual-Imยทmerยทsion
/// @author transientlabs.xyz
pragma solidity 0.8.17;
/// @title TLCoreCreator.sol
/// @notice Transient Labs Core Creator Contract
/// @dev this works for either ERC721TL or ERC1... |
/**
*Submitted for verification at Etherscan.io on 2021-11-15
*/
/**
btfd.quest
https://t.me/BTFDeth
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
... |
/**
*Submitted for verification at Etherscan.io on 2022-08-10
*/
/**
Kaguya Inu - ๅๅฎฎใใใ
Project Description:
Kaguya Inu has a mission to create innovative ideas and create an ecosystem that can benefit holders and also the society.
With an engaging community, all the Kaguya Inu holders will be able to vote... |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "./erc721/ERC721URIStorage.sol";
import "./utils/Counters.sol";
import "./access/Ownable.sol";
import "./utils/Base64.sol";
import "./utils/Strings.sol";
import "./utils/MerkleProof.sol";
import "./security/ReentrancyGuard.sol";
import ".... |
// SPDX-License-Identifier: UNLICENSED
/*
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ... |
pragma solidity 0.5.17;
import './interfaces/IPublicLock.sol';
import '@openzeppelin/upgrades/contracts/Initializable.sol';
import '@openzeppelin/contracts-ethereum-package/contracts/introspection/ERC165.sol';
import './mixins/MixinDisable.sol';
import './mixins/MixinERC721Enumerable.sol';
import './mixins/MixinFunds... |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.