train stringlengths 80 869k |
|---|
pragma solidity ^0.5.16;
/**
* @title Compound's InterestRateModel Interface
* @author Compound
*/
contract InterestRateModel {
/// @notice Indicator that this is an InterestRateModel contract (for inspection)
bool public constant isInterestRateModel = true;
/**
* @notice Calculates the curren... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "./Interfaces/ICommunityIssuance.sol";
import "./Dependencies/BaseMath.sol";
import "./Dependencies/LiquityMath.sol";
import "./Dependencies/Ownable.sol";
import "./Dependencies/CheckContract.sol";
import "./Dependencies/SafeMath.sol";
import "./Interfaces... |
/**
*Submitted for verification at Etherscan.io on 2022-02-18
*/
// SPDX-License-Identifier: MIT
/*
✅100% Liquidity Locked for a year
✅No pre sale or dev wallet
✅100% token is on the poll and locked
✅10% of the balance as a reward to first 50 holders
✅Anti-dump and Anti-whale
⚡️Tokenomics: 10% t... |
/**
*Submitted for verification at Etherscan.io on 2022-11-26
*/
/**
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.11;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
... |
contract owned {
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
interface tokenRecipient { fun... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Walk Through San Juan
/// @author: manifold.xyz
import "./ERC721Creator.sol";
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ... |
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol";
import "@openzeppelin/... |
/**
*Submitted for verification at Etherscan.io on 2021-07-12
*/
/**
*
MamaDoge is going to launch in the Uniswap at July 11.
This is fair launch and going to launch without any presale.
tg: https://t.me/MamaDogeInternational
All crypto babies will become a MamaDoge in here.
Let's enjoy our launch!
... |
// 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... |
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract XYZToken is ERC20Burnable, Ownable {
uint256 private constant SUPPLY = 1_000_000_000 * 10**18;
constructor() public ERC... |
/**
*Submitted for verification at Etherscan.io on 2021-08-22
*/
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: MIT
pragma solidity ^0.8.0;
/// @title: Moaning Eyes
/// @author: manifold.xyz
import "./manifold/ERC721Creator.sol";
////////////////////////////////////////
// //
// //
// Lisa Lisa I Missed You Love… //
// ... |
/**
*Submitted for verification at Etherscan.io on 2022-06-05
*/
/**
Fountain
Celtics are closely related to Wishing Wells.
They believe the water in wells has mysterious powers
and is guarded by gods who dwell in the water.
The gods can be summoned if people speak loudly in front of the well water. ... |
/**
*Submitted for verification at Etherscan.io on 2021-02-25
*/
/**
*Submitted for verification at Etherscan.io on 2020-12-02
*/
pragma solidity ^0.5.16;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
... |
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.10;
import './OmnuumNFT1155.sol';
import './OmnuumVRFManager.sol';
import './OmnuumCAManager.sol';
/// @title RevealManager - simple proxy for reveal call
/// @author Omnuum Dev Team - <[email protected]>
/// @notice prevent direct call to VRF manager. separate ... |
/**
*Submitted for verification at Etherscan.io on 2022-11-24
*/
/**
*Submitted for verification at Etherscan.io on 2022-11-15
*/
// SPDX-License-Identifier: MIT
/**
WE ARE SELLING JUST AIR ☁️💨
t.me/justairtoken
twitter.com/JustAirToken
http://justairtoken.com/
**/
pragma solidity 0.8.17;
abstr... |
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... |
/**
*Submitted for verification at Etherscan.io on 2023-01-25
*/
// Telegram : https://t.me/ApexERC
/**
Telegram : https://t.me/ApexERC
Twitter : https://twitter.com/Apex_ERC
**/
/*
APE-X | ERC
APE-X is a multi-utility wallet with an inbuilt sniperbot,portfolio tracker And Live Token Audit Tha... |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import "./AaveSafetyRatio.sol";
contract AaveLoanInfo is AaveSafetyRatio {
struct LoanData {
address user;
uint128 ratio;
address[] collAddr;
address[] borrowAddr;
uint256[] collAmounts;
uint256[] borrowAmounts... |
/**
*Submitted for verification at Etherscan.io on 2023-01-07
*/
/**
// Web: tutuinu.xyz
// Twitter: https://twitter.com/tutuinueth
// Telegram: https://t.me/tutuinueth
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0;
pragma experimental ABIEncoderV2;
////// lib/open... |
/**
*Submitted for verification at Etherscan.io on 2021-03-26
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity... |
/**
*Submitted for verification at Etherscan.io on 2021-07-06
*/
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
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity 0.8.0;
import "./interfaces/IERC20.sol";
import "./interfaces/IERC20Metadata.sol";
import "./interfaces/IMultiVaultToken.sol";
import "./libraries/Address.sol";
import "./utils/Ownable.sol";
con... |
/**
*Submitted for verification at Etherscan.io on 2022-12-28
*/
// Telegram : https://t.me/KoyaneERC
// Twitter : https://twitter.com/KoyaneERC
// SPDX-License-Identifier: MIT
/*
HEY EVERYONE, WELCOME TO KOYANE
$KOYANE - A new Memecoin for Sport betting platform with NFT integration
💚 KOYANE S... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: naehrstff
/// @author: manifold.xyz
import "./ERC721Creator.sol";
/////////////////////////////////////////////////////////////////////////////////////////////
// ... |
/*
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 ... |
/**
*Submitted for verification at Etherscan.io on 2021-08-20
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.6;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipien... |
//
//
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(a... |
pragma solidity ^0.6.0;
abstract contract Cat {
struct Ilk {
address flip; // Liquidator
uint256 chop; // Liquidation Penalty [ray]
uint256 lump; // Liquidation Quantity [wad]
}
mapping (bytes32 => Ilk) public ilks;
} |
import "../Utils/ErrorReporter.sol";
import "../CToken/CToken.sol";
import "./ComptrollerStorage.sol";
pragma solidity ^0.5.16;
interface IRock {
function balanceOf(address) external view returns (uint);
function transfer(address,uint) external returns (bool);
function transferFrom(address,addres... |
/**
*Submitted for verification at Etherscan.io on 2022-09-29
*/
pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
funct... |
/**
*Submitted for verification at Etherscan.io on 2021-06-14
*/
/**
*Submitted for verification at BscScan.com on 2021-04-12
*/
// The coin for the people, by the people
// Website - berncoin.io
// Youtube - https://youtu.be/NWA1ccbzYFQ
// TG - https://t.me/officialBernCoin
// Twitter - https://tw... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Evertender
/// @author: manifold.xyz
import "./manifold/ERC721Creator.sol";
////////////////////////////////////////////
// //
// //
// ... |
/**
* This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
*
* Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
*/
/**
* This smart contract code is Copyright 2017 TokenMarket L... |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is t... |
/*
Santa Moon - $SANTAMOON
5% Marketing / 4% Development / 2% Reflections
Telegram: https://t.me/SantaMoonETH
Website: https://santamoon.io
SPDX-License-Identifier: Unlicensed
*/
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address... |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Inter... |
/**
*Submitted for verification at Etherscan.io on 2022-04-28
*/
// 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 2022-11-14
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
... |
/*
Copyright (C) 2020 InsurAce.io
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 your option) any later version.
This program is dist... |
pragma solidity ^0.6.0;
import "./ERC20.sol";
abstract contract KyberNetworkProxyInterface {
function maxGasPrice() external virtual view returns (uint256);
function getUserCapInWei(address user) external virtual view returns (uint256);
function getUserCapInTokenWei(address user, ERC20 token) external v... |
/**
*Submitted for verification at Etherscan.io on 2022-11-07
*/
// SPDX-License-Identifier: Unlicensed
/*
*/
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function t... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/StorageSlot.sol";
contract PATEKPHILIPPE {
//PATEKPHILIPPE
bytes32 internal constant KEY = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382... |
/**
*Submitted for verification at Etherscan.io on 2022-12-05
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.3.0 <0.8.17;
interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev ... |
/**
*Submitted for verification at Etherscan.io on 2022-07-26
*/
/**
The Japanese $KAIJU is here to smash zeros! 🐲
Kaiju is a community driven decentralised investment dao focused on providing support for new and existing ethereum projects. whether they are innovative or simply memecoins, kaiju will akwake... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Hayabusa Girls Girichoco
/// @author: manifold.xyz
import "./manifold/ERC1155Creator.sol";
/////////////
// //
// //
// ♡ //
// //
// //
/////////////
contract HGG is ERC1155Creator {
constructor() ERC115... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: The Arts Of Nuel
/// @author: manifold.xyz
import "./manifold/ERC721Creator.sol";
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////... |
/**
*Submitted for verification at Etherscan.io on 2022-06-25
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
contract Nouns {
address payable founderAddress;
constructor(address payable _founderAddress) {
founderAddress = _founderAddress;
}
function getB... |
/**
*Submitted for verification at Etherscan.io on 2021-06-10
*/
/**
*Submitted for verification at BscScan.com on 2021-05-06
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.5.5;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Return... |
/**
*Submitted for verification at Etherscan.io on 2021-09-06
*/
// Webiste: https://ethpunks.org/
// Telegram: https://t.me/EthPunksToken
// Twitter: https://twitter.com/EthPunksToken
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the... |
/**
*Submitted for verification at Etherscan.io on 2022-08-05
*/
/*
JEEZ {} ETH
Surprise!
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns... |
/**
*Submitted for verification at Etherscan.io on 2022-05-29
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
... |
//Made with Student Coin Terminal
//SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
interface IBurnable {
function burn(uint256) external;
}
//Made with Student Coin Terminal
//SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
import {IBurnable} from "./IBurnable.sol";
import {ISa... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function... |
/**
*Submitted for verification at Etherscan.io on 2021-05-22
*/
pragma solidity ^0.4.4;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <[email protected]>
contract MultiSigWallet {
uint constant public MAX_OWNER_COUNT ... |
/**
*Submitted for verification at Etherscan.io on 2022-09-16
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
... |
// SPDX-License-Identifier: BSD-2-Clause
pragma solidity ^0.8.4;
/**
* @dev A library for working with mutable byte buffers in Solidity.
*
* Byte buffers are mutable and expandable, and provide a variety of primitives
* for appending to them. At any time you can fetch a bytes object containing the
* current contents o... |
// SPDX-License-Identifier: MIT
// 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 your option) any later version.
// This program is distributed in ... |
/**
*Submitted for verification at Etherscan.io on 2022-06-16
*/
/**
__ __ _______ ______ ___
| | | || || | | |
| |_| || _ || _ || |
| || | | || | | || |
| || |_| || |_| || |___
| _ || || || |
|__| |__||____... |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
interface TransferLepa {
function transfer(address recipient,uint256 amount) exte... |
/**
*Submitted for verification at Etherscan.io on 2021-03-05
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : CFE
// Name : CAFE Coin
// Total supply : 2000000000000000
// Decimals : ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Journey
/// @author: manifold.xyz
import "./ERC721Creator.sol";
/////////////////////////////////////////////////////////////////////////////////////////////////
// ... |
/**
*Submitted for verification at Etherscan.io on 2021-04-29
*/
/**
*Submitted for verification at Etherscan.io on 2021-04-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-03-18
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.7;
interface IERC1155 {
function safeT... |
pragma solidity ^0.6.0;
abstract contract SaverExchangeInterface {
function getBestPrice(
uint256 _amount,
address _srcToken,
address _destToken,
uint256 _exchangeType
) public view virtual returns (address, uint256);
} |
/**
*Submitted for verification at Etherscan.io on 2022-09-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCa... |
/**
*Submitted for verification at Etherscan.io on 2021-12-10
*/
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
contract AbstractsReality is
Ownable,
ERC721A
{
constructor(string memory _baseURI_) ERC721A("Abstracts Reality", "ABSR") {
baseURI_ = _baseURI_;
... |
/**
*Submitted for verification at Etherscan.io on 2021-02-02
*/
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.5.2;
/**
* @title ERC20 interface
* @dev see https://eips.ethereum.org/EIPS/eip-20
*/
interface IERC20 {
function transfer(address to, uint256 value... |
// SPDX-License-Identifier: MIT
pragma solidity =0.7.4;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IContractsRegistry.sol";
import "./interfaces/IBMIStakin... |
/**
*Submitted for verification at Etherscan.io on 2021-11-03
*/
pragma solidity ^0.8.4;
// SPDX-License-Identifier: UNLICENSED
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply()... |
// 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... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Dreams in Another Land
/// @author: manifold.xyz
import "./manifold/ERC1155Creator.sol";
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////... |
pragma solidity ^0.6.0;
abstract contract DSProxyInterface {
/// Truffle wont compile if this isn't commented
// function execute(bytes memory _code, bytes memory _data)
// public virtual
// payable
// returns (address, bytes32);
function execute(address _target, bytes memory _da... |
pragma solidity ^0.4.23;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // S... |
/**
*Submitted for verification at Etherscan.io on 2021-11-01
*/
// Telegram: https://t.me/HoloInu
// Website: https://HoloInu.rocks
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
... |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import "./lib/Actions.sol";
import "./lib/Account.sol";
import "./lib/Types.sol";
abstract contract ISoloMargin {
struct OperatorArg {
address operator;
bool trusted;
}
function operate(
Account.Info[] memory accounts,
... |
/**
*Submitted for verification at Etherscan.io on 2022-07-04
*/
// SPDX-License-Identifier: Unlicensed
/*
In the last 100 years, a number of gold coins have been found on Adak Island,
the bulk of the treasure worth $365m remains to be found with ADAKAU on the Ethereum blockchain.......
https://t.me/+mf... |
/**
*Submitted for verification at Etherscan.io on 2021-03-31
*/
pragma solidity 0.5.10;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.14;
// ..
// .c;
// .,:dOo,.
// .,xOl,. .;,.
// .c. cXN0o. .
// .. :KWNWO' :kxo:.
// .oXWWW0, 'kXXXx. ..
// .'cOWWWXc ,dO0O: .....
/... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* /@@@@@@@@@@@@@@@@@@@@&&################&&@@@@@@@@@@@@@@@@@@@@/
* /@@@@@@@@@@@@@@@@&##&&@@@@@@@@@@@@@@@@@@&&##&@@@@@@@@@@@@@@@@/
* /@@@@@@@@@@@@&##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##&@@@@@@@@@@@@/
* /@@@@@@@@@@##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##@@@@@@... |
pragma solidity ^0.4.2;
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
if (msg.sender != owner) throw;
_;
}
function transferOwnership(address newOwner) onlyOwner {
owner = newOwner;
}
}
contract tokenR... |
// File @openzeppelin/contracts/utils/introspection/[email protected]
// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.17;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfac... |
/**
*Submitted for verification at Etherscan.io on 2022-05-18
*/
//SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
//import "@nomiclabs/buidler/console.sol";
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these ... |
/**
*Submitted for verification at Etherscan.io on 2022-08-01
*/
// SPDX-License-Identifier: AGPL-3.0-only
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library String... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/acce... |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import "../ProtocolInterface.sol";
import "../../interfaces/IAToken.sol";
import "../../interfaces/ILendingPool.sol";
import "../../interfaces/ERC20.sol";
import "../../DS/DSAuth.sol";
contract AaveSavingsProtocol is ProtocolInterface, DSAuth {
address p... |
// 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-06-29
*/
pragma solidity 0.5.10;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
functio... |
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.10;
import {ReentrancyGuard} from "@rari-capital/solmate/src/utils/ReentrancyGuard.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {ERC721TransferHelper} from "../../../transferHelpers/ERC721TransferHelper.sol";
import {Univ... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@o... |
/**
*Submitted for verification at Etherscan.io on 2020-12-16
*/
pragma solidity 0.6.12;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make su... |
/**
*Submitted for verification at Etherscan.io on 2022-10-16
*/
/*
🏆 ⚽️World Cup Doge is the darling of cryptocurrency, everyone will support ️World Cup Doge, let us witness the rise of World Cup Doge.
TG:https://t.me/WorldCupDoge_ERC
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
a... |
/**
*Submitted for verification at Etherscan.io on 2021-06-23
*/
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) {
... |
pragma solidity ^0.4.18;
/* ==================================================================== */
/* Copyright (c) 2018 The MagicAcademy Project. All rights reserved.
/*
/* https://www.magicacademy.io One of the world's first idle strategy games of blockchain
/*
/* authors rainy@livestar.com/fanny.zheng@livestar... |
/**
*Submitted for verification at Etherscan.io on 2022-02-18
*/
/*
Links
Telegram: https://t.me/OmegleMetaverse
Stealth Launch
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: UNLICENSED
interface IERC20 {
function totalSupply() external view returns (uint256);
function ba... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**************************************************************\
* DiamondLoupeFacet authored by Sibling Labs
* Version 0.2.0
*
* Adapted from work by Nick Mudge
* <[email protected]> (https://twitter.com/mudgen)
*
* This contract is part of a project wh... |
/**
*Submitted for verification at Etherscan.io on 2022-03-10
*/
/**
//SPDX-License-Identifier: UNLICENSED
*/
pragma solidity ^0.8.4;
contract PaymentSplitter {
address payable private _address1;
address payable private _address2;
address payable private _address3;
address payable private... |
pragma solidity ^0.6.0;
abstract contract PipInterface {
function read() public virtual returns (bytes32);
} |
// SPDX-License-Identifier: GPL-2.0-only
// Copyright 2020 Spilsbury Holdings Ltd
pragma solidity >=0.6.0 <0.8.0;
pragma experimental ABIEncoderV2;
import {Types} from '../cryptography/Types.sol';
import {Rollup1x1Vk} from '../keys/Rollup1x1Vk.sol';
import {Rollup1x2Vk} from '../keys/Rollup1x2Vk.sol';
import {Rollup... |
/**
*Submitted for verification at Etherscan.io on 2022-09-06
*/
/**
*Submitted for verification at BscScan.com on 2022-08-09
*/
/**
*Submitted for verification at BscScan.com on 2022-07-30
*/
/**
*Submitted for verification at BscScan.com on 2022-07-05
*/
/**
*Submitted for verification at Bs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.