train
stringlengths
80
869k
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; imp...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title: Laurie Simmons: Talking Objects /// @author: manifold.xyz import "./ERC721Creator.sol"; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
//SPDX-License-Identifier: Unlicense pragma solidity =0.6.2; import "hardhat/console.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; contract GLDToken is ERC20Upgradeable { function initialize() initializer external { require(msg.sender == address(0x65E0B1BF877e0175A76d1...
/** *Submitted for verification at Etherscan.io on 2021-10-18 */ pragma solidity ^0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount)...
/** *Submitted for verification at Etherscan.io on 2021-04-08 */ /** *Submitted for verification at Etherscan.io on 2020-06-05 */ pragma solidity =0.6.6; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() exter...
/** *Submitted for verification at Etherscan.io on 2021-09-07 */ // 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-10-17 */ /** https://t.me/FuturityERC https://futurityfinance.com/ Links for twitter, medium, and whitepaper, on the website! */ // SPDX-License-Identifier: NOLICENSE pragma solidity ^0.8.7; interface IERC20 { function totalSupply() e...
/** *Submitted for verification at Etherscan.io on 2022-11-24 */ // File: contracts/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address re...
pragma solidity ^0.8.0; import { RLPReader } from "./RLPReader.sol"; library ExitPayloadReader { using RLPReader for bytes; using RLPReader for RLPReader.RLPItem; uint8 constant WORD_SIZE = 32; struct ExitPayload { RLPReader.RLPItem[] data; } struct Receipt { RLPReader.RLPItem[] data; bytes...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; imp...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Ownable.sol"; import "./ERC721.sol"; contract SNOWFLAKE is Ownable, ERC721 { string public baseURI; uint16 public totalSupply = 0; // tokenId => # of remptions left // every tokenId starts with 0 // increment up with ev redempti...
/** *Submitted for verification at Etherscan.io on 2021-10-21 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Im...
/** *Submitted for verification at Etherscan.io on 2019-07-10 */ pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; interface IGST2 { function freeUpTo(uint256 value) external returns (uint256 freed); function freeFromUpTo(address from, uint256 value) external returns (uint256 freed); ...
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) i...
// SPDX-License-Identifier: MIT /** MEEE- Create, Laugh & Create MORE. BOT IS LIVE! Telegram https://t.me/MEEE_app Website https://meeeapp.com **/ pragma solidity 0.8.17; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } interface IER...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "./AllocationPool.sol"; import "./LinearPool.sol"; contract StakingPool is Initializable, Ownab...
/** *Submitted for verification at Etherscan.io on 2022-08-02 */ /** Vote is bringing up a unique concept where community is gonna decide and take action regarding Vote Coin For expample the community is gonna vote decide where is the liquidity gonna be locked and for how much period or if community want...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.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 ({ERC165Checker}). * * For an implementation, ...
/** *Submitted for verification at Etherscan.io on 2021-04-14 */ // File: contracts/interfaces/IVaultParameters.sol interface IVaultParameters { function canModifyVault ( address ) external view returns ( bool ); function foundation ( ) external view returns ( address ); function isManager ( ad...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./AnonymiceLibrary.sol"; /// @custom:security-contact [email protected] contract Nodes is ERC721A, ...
/** *Submitted for verification at Etherscan.io on 2022-10-11 */ /* n, _/ | _ /' `'/ <- .' .' | _/ | ...
// SPDX-License-Identifier: MIT /** * * * TBIRD Presale Contract * * * **/ pragma solidity ^0.7.4; import "./Context.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; abstract contract DateTimeAPI { /* * Abstract contract for interfacing with the DateTime contract. * */ functio...
/** *Submitted for verification at Etherscan.io on 2021-05-29 */ pragma solidity ^0.4.26; 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(...
/** *Submitted for verification at Etherscan.io on 2019-07-10 */ /** *Submitted for verification at Etherscan.io on 2018-02-03 */ pragma solidity ^0.4.18; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract VCF...
/** *Submitted for verification at Etherscan.io on 2022-04-11 */ /** Sakata Inu - https://t.me/sakatatoken */ pragma solidity ^0.8.9; // SPDX-License-Identifier: Unlicensed interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens...
pragma solidity 0.8.19; import "ISafeBox.sol"; import "IERC20.sol"; contract AlphaDepositorsVoting { // safebox addresses ISafeBox public constant SAFEBOX_ETH = ISafeBox(0xeEa3311250FE4c3268F8E684f7C87A82fF183Ec1); ISafeBox public constant SAFEBOX_USDT = ISafeBox(0x020eDC614187F9937A1EfEeE007656C6356Fb1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title: breathe /// @author: manifold.xyz import "./manifold/ERC721Creator.sol"; //////////////////////// // // // // // __ _ // // _( )_( )_ // // (_ _ _) // // (_) (__) // ...
/** *Submitted for verification at Etherscan.io on 2022-04-04 */ // SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; interface IRelayer { enum RelayerType { DiscountRate, SpotPrice, COUNT } function execute() external returns (bool); function executeWithRevert...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title: Signage6529 /// @author: manifold.xyz import "./ERC721Creator.sol"; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ...
/** *Submitted for verification at Etherscan.io on 2023-03-21 */ // SPDX-License-Identifier: MIT /** TICKSCAN $TICKS Introducing $TICKS - a revolutionary new cryptocurrency that offers a smart contract scam scanner as a utility service. $TICKS is designed to provide users with an added layer of secu...
/** *Submitted for verification at Etherscan.io on 2022-01-25 */ /* https://twitter.com/mcdonalds/status/1486115285983805444?s=21 */ pragma solidity ^0.8.9; // SPDX-License-Identifier: UNLICENSED abstract contract Context { function _msgSender() internal view virtual returns (address) { ...
pragma solidity ^0.6.12; // SPDX-License-Identifier: MIT /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since w...
/** *Submitted for verification at Etherscan.io on 2022-09-28 */ /** Unryu: Japanese; Lucky Dragon. Also known as one of the rarest Wyverns, granting yourself lucky if you find it, is one of the most sought after of the Dragon family. Max Buy, Sell, Wallet: 2% Buy / Sell Tax: 5% @UnryuPortal www.U...
/** *Submitted for verification at Etherscan.io on 2021-09-14 */ // SPDX-License-Identifier: NONE pragma solidity 0.6.12; // Part: OpenZeppelin/[email protected]/Address /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a co...
pragma solidity ^0.4.20; contract SafeMath { function safeMul(uint256 a, uint256 b) public pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b)public pure returns (uint256) { assert(b > 0); uint256 c = a / b; asser...
/** *Submitted for verification at Etherscan.io on 2023-01-12 */ //SPDX-License-Identifier: MIT pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } contract Ownable is Context { address p...