file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./partial_match/56/0xE62Db30C42Df37e7C6a2F1376899D26Ac9cf4eD8/sources/MasterChef.sol
MasterChef is the master of Egg. He can make Egg and he is a fair guy. Note that it's ownable and the owner wields tremendous power. The ownership will be transferred to a governance smart contract once EGG is sufficiently distributed and the community can show to govern itself. Have fun reading it. Hopefully it's bug...
contract MasterChef is Ownable { using SafeMath for uint256; using SafeBEP20 for IBEP20; struct UserInfo { } struct PoolInfo { } event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); e...
11,176,029
[ 1, 4625, 348, 7953, 560, 30, 225, 13453, 39, 580, 74, 353, 326, 4171, 434, 512, 14253, 18, 8264, 848, 1221, 512, 14253, 471, 3904, 353, 279, 284, 1826, 3058, 93, 18, 3609, 716, 518, 1807, 4953, 429, 471, 326, 3410, 341, 491, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 13453, 39, 580, 74, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 5948, 52, 3462, 364, 467, 5948, 52, 3462, 31, 203, 203, 565, 1958, 25003, 288, 203, 565, 289, 203, 203, ...
/* * PAT Token Smart Contract. Copyright © 2017 by ABDK Consulting. * Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com> */ pragma solidity ^0.4.16; import "./AbstractToken.sol"; /** * PAT Token Smart Contract. */ contract PATToken is AbstractToken { uint256 constant internal TOKENS_COUNT = 42000000000...
* Create PAT Token smart contract with given central bank address. @param _centralBank central bank address/
AbstractToken () { }
5,468,176
[ 1, 4625, 348, 7953, 560, 30, 380, 1788, 17988, 3155, 13706, 6835, 598, 864, 18291, 11218, 1758, 18, 632, 891, 389, 71, 12839, 16040, 18291, 11218, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 4115, 1345, 1832, 288, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/4/0x71aDb425cC2aC83319FFBE30664916Fddc106588/sources/kali.sol
this is reasonably safe from overflow because incrementing `proposalCount` beyond 'type(uint256).max' is exceedingly unlikely compared to optimization benefits
function propose( ProposalType proposalType, string calldata description, address[] calldata account, uint256[] calldata amount, bytes[] calldata payload ) public onlyTokenHolders virtual { require(account.length == amount.length && amount.length == payload.length...
693,325
[ 1, 4625, 348, 7953, 560, 30, 225, 333, 353, 3971, 6906, 4183, 628, 9391, 2724, 5504, 310, 1375, 685, 8016, 1380, 68, 17940, 296, 723, 12, 11890, 5034, 2934, 1896, 11, 353, 9943, 310, 715, 29372, 15843, 358, 14850, 27641, 18352, 2, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 450, 4150, 12, 203, 3639, 19945, 559, 14708, 559, 16, 203, 3639, 533, 745, 892, 2477, 16, 203, 3639, 1758, 8526, 745, 892, 2236, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 3844, 16, 203, 3639, 1731, 8526, 745, 892, 23...
/** *Submitted for verification at Etherscan.io on 2021-10-12 */ /* * Crypto stamp 2 Minter Delegate * Delegates minting calls from the bridge to the actual CS2 contract. * * Developed by Capacity Blockchain Solutions GmbH <capacity.at> * for Österreichische Post AG <post.at> * * Any usage of or interaction wi...
File: contracts/CS2MinterDelegate.sol Implements a minter delegate for CS2 that we can use for exiting unminted tokens./
contract CS2MinterDelegate { BridgeDataI public bridgeData; CS2MintI public CS2; event BridgeDataChanged(address indexed previousBridgeData, address indexed newBridgeData); constructor(address _bridgeDataAddress, address CS2Address) function getType(uint256 tokenId) external view returns (AssetTy...
10,935,929
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 19, 4596, 22, 49, 2761, 9586, 18, 18281, 29704, 279, 1131, 387, 7152, 364, 6761, 22, 716, 732, 848, 999, 364, 15702, 27701, 474, 329, 2430, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 6761, 22, 49, 2761, 9586, 288, 203, 203, 565, 24219, 751, 45, 1071, 10105, 751, 31, 203, 565, 6761, 22, 49, 474, 45, 1071, 6761, 22, 31, 203, 203, 565, 871, 24219, 751, 5033, 12, 2867, 8808, 2416, 13691, 751, 16, 1758, ...
./full_match/5/0xB88d0123CfEe9546dcb653E27d4403dcf6FE05d4/sources/contracts/MarketPlace.sol
is everything okay?
function createApartment(address _owner, string memory _title, string memory _nameL,string memory _description, uint256 _target, uint256 _deadline, string memory _image) public returns (uint256) { Apartment storage apartment = apartments[numberOfApartments]; require(apartment.deadline <block.timesta...
11,586,300
[ 1, 4625, 348, 7953, 560, 30, 225, 353, 7756, 21194, 35, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 1294, 24144, 12, 2867, 389, 8443, 16, 533, 3778, 389, 2649, 16, 533, 3778, 389, 529, 48, 16, 1080, 3778, 389, 3384, 16, 2254, 5034, 389, 3299, 16, 2254, 5034, 389, 22097, 1369, 16, 533, 3778, 389, 2730, 13, 1071,...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
ему легче исправлять , то , что замылилось в глазах предыдущего руководства (ЗАМЫЛИТЬСЯ В)
rus_verbs:ЗАМЫЛИТЬСЯ{},
5,480,992
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 118, 145, 125, 146, 230, 225, 145, 124, 145, 118, 145, 116, 146, 234, 145, 118, 225, 145, 121, 146, 228, 145, 128, 146, 227, 145, 113, 145, 115, 145, 124, 146, 242, 146, 229, 146, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 436, 407, 67, 502, 2038, 30, 145, 250, 145, 243, 145, 255, 145, 109, 145, 254, 145, 251, 145, 100, 145, 110, 145, 99, 145, 112, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/43113/0xeDD1B00AcD804299CdC8dEb52576E9FCF74B1c0d/sources/NFTs/ERC1155BaseAttentionSeeker.sol
* @dev Transfer the NFT of the caller at address(0). The caller will no longer hold the NFT this particular NFT. @param owner Owner of the NFT that is to be burned. @param value Amount of NFT to be burned. Emits {TransferSingle} after the token is burned./
function _burn(address owner, uint256 value) internal { uint256 id = _attentionSeekerIdOf(owner); require(m_balances[id][owner] > 0, "You don't posses attention seeker token"); require(value == 1, "Only 1 Token can be burned"); m_balances[id][owner] = 0; m_at...
13,154,320
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 326, 423, 4464, 434, 326, 4894, 622, 1758, 12, 20, 2934, 1021, 4894, 903, 1158, 7144, 6887, 326, 423, 4464, 333, 6826, 423, 4464, 18, 632, 891, 3410, 16837, 434, 326, 423, 4464, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 70, 321, 12, 2867, 3410, 16, 2254, 5034, 460, 13, 2713, 288, 203, 203, 3639, 2254, 5034, 612, 273, 225, 389, 17899, 31691, 548, 951, 12, 8443, 1769, 203, 3639, 2583, 12, 81, 67, 70, 26488, 63, 350, 6362, 8443, ...
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; contract Bank1 { struct User{ uint uid; string username; string password; } struct Kyc{ string[5] familyinfo; string[3] personaladd; string[3] personalinfo; string[5] identityin...
Section where we store the kyc of the customer in blockchain
function buildKyc(string[5] memory fi, string[3] memory pa, string[3] memory pi, string[5] memory ii) public { kycDetails[msg.sender] = Kyc(fi,pa,pi,ii); }
12,587,342
[ 1, 4625, 348, 7953, 560, 30, 225, 10092, 1625, 732, 1707, 326, 417, 93, 71, 434, 326, 6666, 316, 16766, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1361, 47, 93, 71, 12, 1080, 63, 25, 65, 3778, 7314, 16, 533, 63, 23, 65, 3778, 6790, 16, 533, 63, 23, 65, 3778, 4790, 16, 533, 63, 25, 65, 3778, 6072, 13, 1071, 288, 203, 203, 540, 203, 540, 417, 93, 71, 3790, ...
./full_match/1/0xB09631CB29B982BC7B064BaB1167C1531f263812/sources/contracts/ExhibitionConsumer.sol
* Returns true if the peer is whitelisted, otherwise false. /
function peerWhitelisted(address _peer) override view external returns(bool){ return _peer == exhibition && exhibition != address(0); }
2,971,451
[ 1, 4625, 348, 7953, 560, 30, 380, 2860, 638, 309, 326, 4261, 353, 26944, 16, 3541, 629, 18, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4261, 18927, 329, 12, 2867, 389, 12210, 13, 3849, 1476, 3903, 1135, 12, 6430, 15329, 203, 203, 3639, 327, 389, 12210, 422, 431, 15769, 608, 597, 431, 15769, 608, 480, 1758, 12, 20, 1769, 203, 565, 289, 203, 203, 2, -1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libraries/utils/Lib_MerkleTree.sol"; /* Int...
* @title Lib_RLPWriter @author Bakaoh (with modifications)/
library Lib_RLPWriter { pragma solidity ^0.8.9; function writeBytes(bytes memory _in) internal pure returns (bytes memory) { bytes memory encoded; if (_in.length == 1 && uint8(_in[0]) < 128) { encoded = _in; encoded = abi.encodePacked(_writeLength(_in.length, 128), _in); ...
1,221,570
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 10560, 67, 54, 14461, 2289, 632, 4161, 605, 581, 6033, 76, 261, 1918, 17953, 13176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 10560, 67, 54, 14461, 2289, 288, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 29, 31, 203, 565, 445, 29579, 12, 3890, 3778, 389, 267, 13, 2713, 16618, 1135, 261, 3890, 3778, 13, 288, 203, 3639, 1731, 3778, 3749...
./partial_match/1/0x6D20fA7A098D4FD5e7d8e17CdD079F38dc020A1a/sources/IronVestExtended.sol
/ (totalallocation-cliffalloc)
uint256 nonCliffAlloc;
2,677,968
[ 1, 4625, 348, 7953, 560, 30, 342, 261, 4963, 29299, 17, 830, 3048, 9853, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 1661, 2009, 3048, 8763, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.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 ...
to == msg.sender == _owner
require(to == msg.sender);
74,707
[ 1, 4625, 348, 7953, 560, 30, 358, 422, 1234, 18, 15330, 422, 389, 8443, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2583, 12, 869, 422, 1234, 18, 15330, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2020-02-27 */ pragma solidity 0.5.11; // optimization runs: 200, evm version: petersburg interface DharmaReserveManagerV2Interface { event RoleModified(Role indexed role, address account); event RolePaused(Role indexed role); event RoleUnpaused(Role indexed r...
* @notice Transfer `usdcAmount` USDC to `recipient`. Only the owner may call this function. @param recipient address The account to transfer USDC to. @param usdcAmount uint256 The amount of USDC to transfer./ Transfer the USDC to the specified recipient.
function withdrawUSDC( address recipient, uint256 usdcAmount ) external onlyOwner { require(_USDC.transfer(recipient, usdcAmount), "USDC transfer failed."); }
5,387,144
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 12279, 1375, 407, 7201, 6275, 68, 11836, 5528, 358, 1375, 20367, 8338, 5098, 326, 3410, 2026, 745, 333, 445, 18, 632, 891, 8027, 1758, 1021, 2236, 358, 7412, 11836, 5528, 358, 18, 632, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 598, 9446, 3378, 5528, 12, 203, 565, 1758, 8027, 16, 2254, 5034, 584, 7201, 6275, 203, 225, 262, 3903, 1338, 5541, 288, 203, 565, 2583, 24899, 3378, 5528, 18, 13866, 12, 20367, 16, 584, 7201, 6275, 3631, 315, 3378, 5528...
./partial_match/1/0x4e702de528848e4b26Cd79001FcEEEEa8d408216/sources/WETHpartyStarter.sol
PROPOSAL PASSED if the applicant is already a member, add to their existing shares & loot update member iTB and iVal update earningsPeg for membership proposals and spending proposals
if (didPass) { if (members[proposal.applicant].exists) { members[proposal.applicant].shares = members[proposal.applicant].shares.add(proposal.sharesRequested); members[proposal.applicant].loot = members[proposal.applicant].loot.add(proposal.lootRequested); ...
15,889,112
[ 1, 4625, 348, 7953, 560, 30, 225, 4629, 7057, 1013, 453, 3033, 18204, 309, 326, 513, 1780, 970, 353, 1818, 279, 3140, 16, 527, 358, 3675, 2062, 24123, 473, 437, 352, 1089, 3140, 277, 25730, 471, 277, 3053, 1089, 425, 1303, 899, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 261, 14044, 6433, 13, 288, 203, 203, 5411, 309, 261, 7640, 63, 685, 8016, 18, 438, 1780, 970, 8009, 1808, 13, 288, 203, 7734, 4833, 63, 685, 8016, 18, 438, 1780, 970, 8009, 30720, 273, 4833, 63, 685, 8016, 18, 438, ...
./full_match/1/0x74EA3B24817524Fe6203a05f94db19042d616671/sources/project_/contracts/omnium-token.sol
New stake FALTA CODIGO PARA ACTUALIZAR ARRAY DE STAKES update previous stake Update current stake
function onERC1155Received( address, address from, uint256 id, uint256 amount, bytes memory ) public returns (bytes4) { require(!_paused,"Contract Paused"); require( id > 0,"Invalid token"); require(_contractsEnabledToStake[msg.sender],"Inv...
3,150,559
[ 1, 4625, 348, 7953, 560, 30, 225, 1166, 384, 911, 478, 1013, 9833, 385, 1212, 3047, 51, 3939, 37, 14684, 14235, 6867, 985, 14884, 2030, 2347, 14607, 3991, 1089, 2416, 384, 911, 2315, 783, 384, 911, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 603, 654, 39, 2499, 2539, 8872, 12, 203, 3639, 1758, 16, 203, 3639, 1758, 628, 16, 203, 3639, 2254, 5034, 612, 16, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 1731, 3778, 203, 565, 262, 1071, 1135, 261, 3890, 24, 13, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./Request.sol"; import "vrf-solidity/contracts/VRF.sol"; import "./ActiveBridgeSetLib.sol"; import "witnet-ethereum-block-relay/contracts/BlockRelayProxy.sol"; import "./WitnetRequestsBoardInterface.sol...
@dev Posts a data request into the WRB in expectation that it will be relayed and resolved in Witnet with a total reward that equals to msg.value. @param _requestAddress The request contract address which includes the request bytecode. @param _inclusionReward The amount of value that will be detracted from the transac...
function postDataRequest(address _requestAddress, uint256 _inclusionReward, uint256 _tallyReward) external payable payingRewards(msg.value, _inclusionReward, _tallyReward) override returns(uint256) { uint256 blockReward = SafeMath.sub(msg.value, SafeMath.add(_inclusionReward, _tallyReward)); ...
12,899,799
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 5616, 87, 279, 501, 590, 1368, 326, 12984, 38, 316, 17733, 716, 518, 903, 506, 18874, 329, 471, 4640, 316, 678, 305, 2758, 598, 279, 2078, 19890, 716, 1606, 358, 1234, 18, 1132, 18, 632...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 18425, 691, 12, 2867, 389, 2293, 1887, 16, 2254, 5034, 389, 267, 15335, 17631, 1060, 16, 2254, 5034, 389, 88, 1230, 17631, 1060, 13, 203, 565, 3903, 203, 565, 8843, 429, 203, 565, 8843, 310, 17631, 14727, 12, 3576, 18, ...
./partial_match/1/0xEA7a773262C6ffDd9272d90764CA6C87B831F4DB/sources/Oasis.sol
系统提现 @param {Object} address/
function withdraw(address _to, uint money) public { require(msg.sender == owner); require(money <= address(this).balance); require(sysethnum[tags] >= money); sysethnum[tags] -= money; _to.transfer(money); }
16,018,999
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 168, 116, 124, 168, 124, 258, 167, 242, 243, 168, 241, 113, 632, 891, 288, 921, 97, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 598, 9446, 12, 2867, 389, 869, 16, 2254, 15601, 13, 1071, 288, 203, 202, 565, 2583, 12, 3576, 18, 15330, 422, 3410, 1769, 203, 202, 202, 6528, 12, 2586, 402, 1648, 1758, 12, 2211, 2934, 12296, 1769, 203, 202, 202, 652...
./full_match/1/0x700B276ac277BFBC04Ffb34E7aA1347C2cEb802a/sources/contracts/PhilanthropyToken.sol
* Function to show TOTAL_INVESTOR_CLAIMED value @return uint256/
function getTotalInitialAllocation() external view onlyAdmin returns (uint256) { return CHARITY_ALLOCATION; }
9,643,208
[ 1, 4625, 348, 7953, 560, 30, 380, 4284, 358, 2405, 399, 19851, 67, 706, 3412, 882, 916, 67, 15961, 3114, 40, 460, 632, 2463, 2254, 5034, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 12831, 4435, 17353, 1435, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1338, 4446, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 12090, 4107, 67, 1013, 15277, 31, 203, 565, 289, 203, 203, 2, -100...
./partial_match/1/0x5bCDC405Cb237996d29fe3Ec779209e65fF2d39C/sources/OperatorFilterRegistry.sol
* @notice Returns true if a codeHash is filtered by a given address or its subscription./
function isCodeHashFiltered(address registrant, bytes32 codeHash) external view returns (bool) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredCodeHashes[registration].contains(codeHash); } return _filteredCodeHashes[...
2,831,678
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 638, 309, 279, 981, 2310, 353, 5105, 635, 279, 864, 1758, 578, 2097, 4915, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 1085, 2310, 14478, 12, 2867, 17450, 970, 16, 1731, 1578, 981, 2310, 13, 3903, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 1758, 7914, 273, 389, 1574, 3337, 1012, 63, 1574, 3337, 970, 15533, 203, 3639, 309, 261, 1417...
// COMP6452 Assignment 1 // Ilia Chibaev, z3218424 // // I would improve this contract by allowing the participants to // put their money where their mouth is. I would allow the friends to // pledge ether along-side their vote and the votes would be weighted // by the amount of ether pledged. This total ether pledged...
List of keys maintained for output and to iterate over
bytes32[] choiceKeys;
2,554,911
[ 1, 4625, 348, 7953, 560, 30, 225, 987, 434, 1311, 11566, 8707, 364, 876, 471, 358, 7401, 1879, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1731, 1578, 8526, 6023, 2396, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; import "AuthenticationManager.sol"; import "OmniDividendFundToken.sol"; import "SafeMath.sol"; contract IcoPhaseManagement { using SafeMath for uint256; bool public icoPhase = true; /* Defines whether or not we are in the ICO phase */ bool public...
Close the ICO phase and transition to execution phase */ Forbid closing contract before the end of ICO Close the ICO Withdraw funds to the caller
function close() adminOnly onlyDuringIco public { if (now <= icoEndTime) revert(); icoPhase = false; emit IcoClosed(); if (!holdAddress.send(address(this).balance)) revert(); }
2,546,453
[ 1, 4625, 348, 7953, 560, 30, 225, 3527, 326, 467, 3865, 6855, 471, 6007, 358, 4588, 6855, 1195, 2457, 19773, 7647, 6835, 1865, 326, 679, 434, 467, 3865, 3527, 326, 467, 3865, 3423, 9446, 284, 19156, 358, 326, 4894, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1746, 1435, 3981, 3386, 1338, 26424, 45, 2894, 1071, 288, 203, 3639, 309, 261, 3338, 1648, 277, 2894, 25255, 13, 203, 5411, 15226, 5621, 203, 203, 3639, 277, 2894, 11406, 273, 629, 31, 203, 3639, 3626, 467, 2894, 7395, ...
./partial_match/84531/0x545B6DbBE966daA21bf13A36CBed62F4c261E503/sources/Implementation.sol
@dev parseAndVerifyVM serves to parse an encodedVM and wholy validate it for consumption
function parseAndVerifyVM(bytes calldata encodedVM) public view returns (Structs.VM memory vm, bool valid, string memory reason) { vm = parseVM(encodedVM); (valid, reason) = verifyVMInternal(vm, false);
16,686,509
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1109, 1876, 8097, 7397, 26255, 358, 1109, 392, 3749, 7397, 471, 600, 355, 93, 1954, 518, 364, 24550, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1109, 1876, 8097, 7397, 12, 3890, 745, 892, 3749, 7397, 13, 1071, 1476, 1135, 261, 3823, 87, 18, 7397, 3778, 4268, 16, 1426, 923, 16, 533, 3778, 3971, 13, 288, 203, 3639, 4268, 273, 1109, 7397, 12, 10787, 7397, 1769, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.8; // Create an enum which defines what states the contract can be in enum contractState{AWAITING_BUYER_PAYMENT,AWAITNG_SELLER_ACCEPTANCE,AWAITING_BUYER_SATISFACTION,COMPLETE,CANCELLED} contract Escrow_Factory { // Allows a notification to the user event n...
Gets unix timestamp when buyer is satisfied with sellers product Check a contract doesnt already exist with that ID Get contract Return address of contract
function getContractBuyerSatisfiedTimeStamp(uint256 _id) public view returns (uint256) { require(this.exists(_id), "Sorry a contract with that ID doesn't exist."); Escrow e = escrows[_id]; return e.getBuyerSatisfiedTimeStamp(); }
1,061,743
[ 1, 4625, 348, 7953, 560, 30, 225, 11881, 9753, 2858, 1347, 27037, 353, 18958, 598, 357, 3135, 3017, 2073, 279, 6835, 31272, 1818, 1005, 598, 716, 1599, 968, 6835, 2000, 1758, 434, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 8924, 38, 16213, 15163, 21501, 21536, 12, 11890, 5034, 389, 350, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 203, 3639, 2583, 12, 2211, 18, 1808, 24899, 350, 3631, 315, 28898, 279, 6835, 598, 716, 1599, 3...
./full_match/5/0x79628B5B4e4a9ae526C6205C93A1795C9a0784D6/sources/project_/contracts/ERC6147Upgradeable.sol
@notice Check the guard address @dev The zero address indicates there is no guard Throws if `tokenId` is not valid NFT @param tokenId The NFT to check the guard address for @return The guard address
function checkGuard(uint256 tokenId) internal view returns (address) { address guard = guardOf(tokenId); address sender = _msgSender(); if (guard != address(0)) { require(guard == sender, "sender is not guard of token"); return guard; return address(0); ...
1,861,552
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2073, 326, 11026, 1758, 632, 5206, 1021, 3634, 1758, 8527, 1915, 353, 1158, 11026, 22435, 309, 1375, 2316, 548, 68, 353, 486, 923, 423, 4464, 632, 891, 1147, 548, 1021, 423, 4464, 358, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 866, 16709, 12, 11890, 5034, 1147, 548, 13, 2713, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 1758, 11026, 273, 11026, 951, 12, 2316, 548, 1769, 203, 3639, 1758, 5793, 273, 389, 3576, 12021, 5621, 203, 3639, 309, 261, 24...
./full_match/1/0x5b9fB00A1FAf76aDd36ABfb9CCD62846c8E9ddEC/sources/https_/github.com/Dexaran/ERC223-token-standard/blob/development/utils/Address.sol
* @dev Collection of functions related to the address type/
library Address { function isContract(address account) internal view returns (bool) { uint256 size; return size > 0; } assembly { size := extcodesize(account) } function toPayable(address account) internal pure returns (address payable) { return payable(account); } }
16,500,216
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2200, 434, 4186, 3746, 358, 326, 1758, 618, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 5267, 288, 203, 565, 445, 353, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 3639, 2254, 5034, 963, 31, 203, 3639, 327, 963, 405, 374, 31, 203, 565, 289, 203, 203, 3639, 19931, 288, 963, 519, ...
pragma solidity >0.4.24 <0.5.0; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-so...
solium-disable-next-line arg-overflow
function safeTransferFrom(address from, address to, uint256 tokenId) public payable { safeTransferFrom(from, to, tokenId, ""); }
12,849,570
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 5077, 17, 8394, 17, 4285, 17, 1369, 1501, 17, 11512, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4183, 5912, 1265, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 1147, 548, 13, 1071, 8843, 429, 288, 203, 3639, 4183, 5912, 1265, 12, 2080, 16, 358, 16, 1147, 548, 16, 1408, 1769, 203, 565, 289, 203, 2, -100, -100, ...
./partial_match/1/0x175586ac3f8A7463499D1019A30120aa6fC67C5f/sources/Sett.sol
@notice Change guardian address @notice Can only be changed by governance
function setGuardian(address _guardian) external { _onlyGovernance(); guardian = _guardian; }
2,611,340
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 7576, 11026, 2779, 1758, 632, 20392, 4480, 1338, 506, 3550, 635, 314, 1643, 82, 1359, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 16709, 2779, 12, 2867, 389, 24594, 2779, 13, 3903, 288, 203, 3639, 389, 3700, 43, 1643, 82, 1359, 5621, 203, 3639, 11026, 2779, 273, 389, 24594, 2779, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, ...
pragma solidity ^0.5.4; // ---------------------------------------------------------------------------- // BokkyPooBah's Token Teleportation Service v1.10 // // https://github.com/bokkypoobah/BokkyPooBahsTokenTeleportationServiceSmartContract // // Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018. The MIT Licence...
------------------------------------------------------------------------ Token ------------------------------------------------------------------------
function symbol() public view returns (string memory) { return data.symbol; }
2,508,205
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 3155, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3273, 1435, 1071, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 501, 18, 7175, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; import "./interfaces/ICampaign.sol"; import "./interfaces/ICampaignFactory.sol"; import "./interfaces/IProposal.sol"; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; /** * @...
* @inheritdoc ICampaign/
function releaseProposalFunds(uint128 _amount) external override { require(msg.sender == proposal, "!Err: Access denied"); usdcToken.safeTransfer(manager, _amount); }
12,640,924
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 467, 13432, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3992, 14592, 42, 19156, 12, 11890, 10392, 389, 8949, 13, 3903, 3849, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 14708, 16, 17528, 2524, 30, 5016, 15338, 8863, 203, 3639, 584, 7201, 1345, 18, 4626, 5912, 12, 4181, 1...
./full_match/5/0x608f97c31a07Ad895bc10c83F6BBE7bfC64a9544/sources/contracts/UniqCollections/UniqCollections.sol
----- PRIVATE METHODS ----- REAL USERS address _addr1 = 0x553b6C7321bE6c7C8C6A9dC68E241F50c2eDec20; address _addr2 = 0x3DBE4C57da3919760dAB85Ff484d3a14B604f1F4; address _addr3 = 0xDAE6cA75bB2aFD213E5887513D8b1789122EaAea; UNIQLY TEST ACCOUNT
function _initialMint() internal onlyOwner { address _addr1 = 0x127Bd786aF0598Ba5Af58e4a9B2F18429F54f5eA; address _addr2 = 0x127Bd786aF0598Ba5Af58e4a9B2F18429F54f5eA; address _addr3 = 0x127Bd786aF0598Ba5Af58e4a9B2F18429F54f5eA; _isPrizeCollectedForAddress[_addr1] = true; _sa...
1,953,930
[ 1, 4625, 348, 7953, 560, 30, 225, 9135, 23685, 10152, 55, 9135, 225, 2438, 1013, 7443, 55, 1758, 389, 4793, 21, 273, 374, 92, 2539, 23, 70, 26, 39, 27, 1578, 21, 70, 41, 26, 71, 27, 39, 28, 39, 26, 37, 29, 72, 39, 9470, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 6769, 49, 474, 1435, 2713, 1338, 5541, 288, 203, 203, 3639, 1758, 389, 4793, 21, 273, 374, 92, 14260, 38, 72, 27, 5292, 69, 42, 20, 6162, 28, 38, 69, 25, 12664, 8204, 73, 24, 69, 29, 38, 22, 42, 29242, 5540, ...
./partial_match/1/0xCe3BF044e55Ce3B18221FeE745FF8c9cD49bf395/sources/RobotFactoryWar.sol
Anti-bot and anti-whale mappings and variables Seller Map Blacklist Map block number of opened trading exclude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract RobotFactoryWar is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0x000000000000000000000000000000000000dEaD); bool private swapping; address pu...
9,402,004
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 4352, 749, 1635, 22467, 1098, 1635, 1203, 1300, 434, 10191, 1284, 7459, 4433, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 19686, 352, 1733, 30634, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 7010, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, 22, 8...
/* * https://lightningshib.com/ * https://t.me/LightningShib * https://twitter.com/LightningShib/ * * ****USING FTPAntiBot**** * * Your contract must hold 5Bil $GOLD(ProjektGold) or 5Bil $GREEN(ProjektGreen) in order to make calls on mainnet * */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; ab...
Local logic for banning based on AntiBot results
require(m_Intialized, "Make sure all parties agree");
12,258,378
[ 1, 4625, 348, 7953, 560, 30, 225, 3566, 4058, 364, 324, 10903, 2511, 603, 18830, 77, 6522, 1686, 7010, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 81, 67, 1702, 649, 1235, 16, 315, 6464, 3071, 777, 1087, 606, 1737, 992, 8863, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.8.10; // Copyright BigchainDB GmbH and Ocean Protocol contributors // SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) // Code is Apache-2.0 and docs are CC-BY-4.0 import "./balancer/BFactory.sol"; import "../interfaces/IFactory.sol"; import "../interfaces/IERC20.sol"; import "../interfaces/IFixed...
* @dev updateOPCFee Updates OP Community Fees @param _newSwapOceanFee Amount charged for swapping with ocean approved tokens @param _newSwapNonOceanFee Amount charged for swapping with non ocean approved tokens @param _newConsumeFee Amount charged from consumeFees @param _newProviderFee Amount charged for provider...
function updateOPCFee(uint256 _newSwapOceanFee, uint256 _newSwapNonOceanFee, uint256 _newConsumeFee, uint256 _newProviderFee) external onlyRouterOwner { swapOceanFee = _newSwapOceanFee; swapNonOceanFee = _newSwapNonOceanFee; consumeFee = _newConsumeFee; providerFee = _newPro...
7,270,568
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1089, 51, 3513, 14667, 1377, 15419, 7247, 16854, 13352, 5782, 281, 632, 891, 389, 2704, 12521, 51, 31393, 14667, 16811, 1149, 2423, 364, 7720, 1382, 598, 320, 31393, 20412, 2430, 632, 891, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1089, 51, 3513, 14667, 12, 11890, 5034, 389, 2704, 12521, 51, 31393, 14667, 16, 2254, 5034, 389, 2704, 12521, 3989, 51, 31393, 14667, 16, 203, 3639, 2254, 5034, 389, 2704, 19253, 14667, 16, 2254, 5034, 389, 2704, 2249, 14...
./partial_match/1/0x0866FcBA276A07C2a7aA8Ff0AfA2629e78d07501/sources/Raffle.sol
increase ticketsBought in Player struct with _amountOfTickets
players[msg.sender].ticketsBought += _amountOfTickets;
4,345,597
[ 1, 4625, 348, 7953, 560, 30, 225, 10929, 24475, 13809, 9540, 316, 19185, 1958, 598, 389, 8949, 951, 6264, 2413, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 18115, 63, 3576, 18, 15330, 8009, 6470, 2413, 13809, 9540, 1011, 389, 8949, 951, 6264, 2413, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-10-03 */ // 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() externa...
* @dev Destroys `amount` tokens from the caller. See {ERC20-_burn}./
function burn(uint256 amount) public { require(hasRole(BURNER_ROLE, msg.sender), "Caller is not BURNER_ROLE"); _burn(_msgSender(), amount); }
7,812,119
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28510, 28599, 1375, 8949, 68, 2430, 628, 326, 4894, 18, 2164, 288, 654, 39, 3462, 17, 67, 70, 321, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18305, 12, 11890, 5034, 3844, 13, 1071, 288, 203, 3639, 2583, 12, 5332, 2996, 12, 38, 8521, 654, 67, 16256, 16, 1234, 18, 15330, 3631, 315, 11095, 353, 486, 605, 8521, 654, 67, 16256, 8863, 203, 203, 3639, 389, 70, 32...
//import solidity pragma solidity ^0.8.4; contract Inheritance { address owner; bool deceased; uint money; //building an instance of above variables inside constructor constructor() public payable { owner = msg.sender; money = msg.value; deceased = false; } //modifi...
checks if the person is really deceased
modifier isDeceased { require (deceased == true); _; }
5,451,117
[ 1, 4625, 348, 7953, 560, 30, 4271, 309, 326, 6175, 353, 8654, 443, 311, 8905, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 353, 758, 311, 8905, 288, 203, 3639, 2583, 261, 323, 311, 8905, 422, 638, 1769, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.4; // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] *...
* @notice returns a list of all guards/
function allGuards() external view override returns (address[] memory all) { all = new address[](guards.length()); for (uint256 i = 0; i < guards.length(); i++) { all[i] = guards.at(i); } return all; }
6,011,078
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1135, 279, 666, 434, 777, 11026, 87, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 777, 6099, 14727, 1435, 3903, 1476, 3849, 1135, 261, 2867, 8526, 3778, 777, 13, 288, 203, 3639, 777, 273, 394, 1758, 8526, 12, 6891, 14727, 18, 2469, 10663, 203, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277,...
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.4.16 <0.9.0; contract Ticketting { // Owner of the event address owner; // Name of the event string eventName; // Total number of places available in event uint totalSlots; // Totoal number of places already sold for the event uin...
Returns the number of purchased tickets for the user sending the transaction
function retrieveTicket() public view returns (uint) { return purchasedTickets[msg.sender]; }
13,072,345
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 326, 1300, 434, 5405, 343, 8905, 24475, 364, 326, 729, 5431, 326, 2492, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4614, 13614, 1435, 1071, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 5405, 343, 8905, 6264, 2413, 63, 3576, 18, 15330, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.21; /** * * * EPX/PHX Doubler * - Takes 50% of the ETH in it and buys tokens. * - Takes 50% of the ETH in it and pays back depositors. * - Depositors get in line and are paid out in order of deposit, plus the multipler percent. * - The tokens collect dividends, which in turn pay into the ...
* A trap door for when someone sends tokens other than the intended ones so the overseers can decide where to send them./
function transferAnyERC20Token(address tokenAddress, address tokenOwner, uint tokens) public onlyOwner notEthPyramid(tokenAddress) returns (bool success) { return ERC20Interface(tokenAddress).transfer(tokenOwner, tokens); }
10,552,658
[ 1, 4625, 348, 7953, 560, 30, 380, 432, 23034, 741, 280, 364, 1347, 18626, 9573, 2430, 1308, 2353, 326, 12613, 5945, 1427, 326, 1879, 307, 414, 848, 16288, 1625, 358, 1366, 2182, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 2961, 654, 39, 3462, 1345, 12, 2867, 1147, 1887, 16, 1758, 1147, 5541, 16, 2254, 2430, 13, 1071, 1338, 5541, 486, 41, 451, 9413, 23083, 12, 2316, 1887, 13, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 327, 4232, 3...
/** *Submitted for verification at Etherscan.io on 2020-06-08 */ pragma solidity ^0.5.17; // @notice SECURITY TOKEN CONTRACT // @dev ERC-1404 with ERC-20 with ERC-223 protection Token Standard Compliant // @author Geoffrey Tipton at AEN // ---------------------------------------------------------------------------- /...
require(b <= a, "Result can not be negative"); c = a - b; } ---------------------------------------------------------------------------- ERC Token Standard #20 Interface https:github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md ----------------------------------------------------------------------------...
function add(uint a, uint b) internal pure returns (uint c) { function sub(uint a, uint b) internal pure returns (uint c) { function mul(uint a, uint b) internal pure returns (uint c) { c = a * b; require(a == 0 || c / a == b,"Divide by zero protection"); } function div(uint a, uint b) internal ...
956,669
[ 1, 4625, 348, 7953, 560, 30, 2583, 12, 70, 1648, 279, 16, 315, 1253, 848, 486, 506, 6092, 8863, 276, 273, 279, 300, 324, 31, 225, 289, 8879, 13849, 4232, 39, 3155, 8263, 468, 3462, 6682, 2333, 30, 6662, 18, 832, 19, 546, 822, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 527, 12, 11890, 279, 16, 2254, 324, 13, 2713, 16618, 1135, 261, 11890, 276, 13, 288, 203, 565, 445, 720, 12, 11890, 279, 16, 2254, 324, 13, 2713, 16618, 1135, 261, 11890, 276, 13, 288, 203, 565, 445, 14064, 12, 11890,...
./partial_match/1/0x18B32bC20951b0eaE36247Aa5C8C22A77244d6cd/sources/contracts/ERC721X.sol
* @dev See {IEnumerableERC721-totalSupply}./
function _beforeTokenTransfer( address from, address to, uint256 tokenId function totalSupply() external view returns (uint256) { return nextId - 1; }
4,202,214
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 3572, 25121, 654, 39, 27, 5340, 17, 4963, 3088, 1283, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 5771, 1345, 5912, 12, 203, 565, 1758, 628, 16, 203, 565, 1758, 358, 16, 203, 565, 2254, 5034, 1147, 548, 203, 203, 225, 445, 2078, 3088, 1283, 1435, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 327, 102...
pragma solidity 0.5.8; import "./SafeMath.sol"; // interfaces contract GasScheduleInterface { function getSchedule() public view returns (uint32[39] memory); } contract BlockSizeInterface { function getBlockSize() public view returns (uint32[1] memory); } contract MinGasPriceInterface { function getMinGasP...
validate the proposed contract address returns the data as expected
function validateProposedContract( ProposalType proposalType, address proposalAddress ) private view returns (bool valid) { if (proposalType == ProposalType.GASSCHEDULE) { GasScheduleInterface contractInterface = GasScheduleInterface( proposalAddress ...
5,459,334
[ 1, 4625, 348, 7953, 560, 30, 225, 1954, 326, 20084, 6835, 1758, 1135, 326, 501, 487, 2665, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1954, 626, 7423, 8924, 12, 203, 3639, 19945, 559, 14708, 559, 16, 203, 3639, 1758, 14708, 1887, 203, 565, 262, 3238, 1476, 1135, 261, 6430, 923, 13, 288, 203, 3639, 309, 261, 685, 8016, 559, 422, 19945, 559, 18, 43, 8...
./partial_match/1/0x9d7BB476c40D1055771fCA982876b1E2A72B54F9/sources/BatonZapRouterV1.sol
timestamp in which the farm is shutdown
uint256 public periodFinish;
3,890,566
[ 1, 4625, 348, 7953, 560, 30, 225, 2858, 316, 1492, 326, 284, 4610, 353, 5731, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 3879, 11641, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/1/0x4E8F93140D8C707218ae8501dd03969da9083B72/sources/PZI.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("PAWZONE Inu", "PZI") { router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this), router.WETH()); _isExcludedMaxTransactionAmount[address(router)] = true; _isExcludedM...
4,414,261
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 3462, 2932, 4066, 59, 20725, 657, 89, 3113, 315, 52, 62, 45, 7923, 288, 203, 7010, 3639, 4633, 273, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 12, 20, 92, 27, 69, 26520, 72, 4313, 5082, 38, 24, 7...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openze...
* @notice Harvest proceeds msg.sender @param _pid id of the pool/
function allocClaimReward(uint256 _pid) public nonReentrant allocValidatePoolById(_pid) returns (uint256) { return _allocClaimReward(_pid); }
266,593
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 670, 297, 26923, 11247, 87, 1234, 18, 15330, 632, 891, 389, 6610, 612, 434, 326, 2845, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4767, 9762, 17631, 1060, 12, 11890, 5034, 389, 6610, 13, 203, 3639, 1071, 203, 3639, 1661, 426, 8230, 970, 203, 3639, 4767, 4270, 2864, 5132, 24899, 6610, 13, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; // BottlenoseToken w...
BottlenoseToken with Governance. Burn address Max transfer amount rate in basis points. (default is 1% of total supply) Min value of the max transfer amount rate. (0.5%) Addresses that excluded from antiWhale Is the transfer enabled? (False by default) Blacklisted addresses anti-bot end block The duration that the ant...
contract NarwhalToken is ERC20, Ownable, ERC20Burnable { using SafeMath for uint256; address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; uint256 private _cap; uint16 public maxTransferAmountRate = 100; uint16 public constant maxTransferMinRate = 50; mapping(address => bo...
12,787,086
[ 1, 4625, 348, 7953, 560, 30, 225, 15039, 27560, 2584, 1345, 598, 611, 1643, 82, 1359, 18, 605, 321, 1758, 4238, 7412, 3844, 4993, 316, 10853, 3143, 18, 261, 1886, 353, 404, 9, 434, 2078, 14467, 13, 5444, 460, 434, 326, 943, 7412, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 423, 297, 3350, 287, 1345, 353, 4232, 39, 3462, 16, 14223, 6914, 16, 4232, 39, 3462, 38, 321, 429, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 202, 2867, 1071, 5381, 605, 8521, 67, 15140, 273, 374, 92, 1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when d...
* @dev Initializes the contract setting the deployer as the initial owner./
constructor() { address msgSender = _msgSender(); _owner =msgSender; emit OwnershipTransferred(address(0), msgSender); }
13,709,939
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 3128, 326, 6835, 3637, 326, 7286, 264, 487, 326, 2172, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 288, 203, 3639, 1758, 1234, 12021, 273, 389, 3576, 12021, 5621, 203, 3639, 389, 8443, 273, 3576, 12021, 31, 203, 3639, 3626, 14223, 9646, 5310, 1429, 4193, 12, 2867, 12, 20, 3631, 1234, 12021, 1769, 203, 565, 289, ...
pragma solidity ^0.4.0; contract Registrar { address public owner; function Registrar() { owner = msg.sender; } modifier onlyowner { if (msg.sender != owner) throw; _; } function transferOwner(address newOwner) public onlyowner { owner = newOwner; } Regi...
Compute the fixed length key
function exists(string key) constant returns (bool) { bytes32 _key = sha3(key); return recordExists[_key]; }
7,310,226
[ 1, 4625, 348, 7953, 560, 30, 225, 8155, 326, 5499, 769, 498, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1704, 12, 1080, 498, 13, 5381, 1135, 261, 6430, 13, 288, 203, 3639, 1731, 1578, 389, 856, 273, 6056, 23, 12, 856, 1769, 203, 203, 3639, 327, 1409, 4002, 63, 67, 856, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -1...
// solium-disable linebreak-style pragma solidity ^0.4.15; /* Crypto Market Prices via Ethereum Smart Contract A community driven smart contract that lets your contracts use fiat amounts in USD, EURO, and GBP. Need to charge $10.50 for a contract call? With this contract, you can convert ETH and other crypto...
default function so this contract can accept ETH with low gas limits.
function() payable { }
12,573,737
[ 1, 4625, 348, 7953, 560, 30, 225, 805, 445, 1427, 333, 6835, 848, 2791, 512, 2455, 598, 4587, 16189, 8181, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1435, 8843, 429, 288, 203, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IVanillaV1MigrationState, IVanillaV1Converter} from "./interfaces/IVanillaV1Migration01.sol"; /// @title The contr...
@title Conversion functionality for migrating VNL v1 tokens to VNL v1.1
abstract contract VanillaV1Converter is IVanillaV1Converter { IVanillaV1MigrationState public override migrationState; IERC20 internal vnl; constructor(IVanillaV1MigrationState _state, IERC20 _VNLv1) { migrationState = _state; vnl = _VNLv1; } function mintConverted(address target, ...
490,859
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 16401, 14176, 364, 4196, 1776, 776, 24924, 331, 21, 2430, 358, 776, 24924, 331, 21, 18, 21, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 776, 26476, 58, 21, 5072, 353, 21602, 26476, 58, 21, 5072, 288, 203, 565, 21602, 26476, 58, 21, 10224, 1119, 1071, 3849, 6333, 1119, 31, 203, 565, 467, 654, 39, 3462, 2713, 331, 14039, 31, 203, 203, 565, 3885, 12, ...
pragma solidity ^0.4.18; /* ==================================================================== */ /* Copyright (c) 2018 The MagicAcademy Project. All rights reserved. /* /* https://www.magicacademy.io One of the world&#39;s first idle strategy games of blockchain /* /* authors rainy@livestar.com/Jony.Fu@livestar...
Adds to the coin per second
mapping(address => mapping(uint256 => uint256)) public unitCoinProductionIncreases;
2,184,764
[ 1, 4625, 348, 7953, 560, 30, 225, 15605, 358, 326, 13170, 1534, 2205, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 2874, 12, 11890, 5034, 516, 2254, 5034, 3719, 1071, 2836, 27055, 31590, 27597, 3304, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.5.3; /** * @title RStore v0.0.2 * @author 0age * @notice This contract uses metamorphic contracts in place of standard storage * in order to save gas for certain applications. Then, extcodecopy is used to * retrieve values from the runtime bytecode of a metamorphic contract, which * can be red...
* @dev Internal view function for calculating the primary metamorphic contract address that can hold data on behalf of a particular caller./ determine the address of the destroyable metamorphic contract.
function _getPrimaryMetamorphicContractAddress() internal view returns (address) { return address( ), ) ) ) ) ); }
946,280
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3186, 1476, 445, 364, 21046, 326, 3354, 5100, 301, 18435, 6835, 1758, 716, 848, 6887, 501, 603, 12433, 6186, 434, 279, 6826, 4894, 18, 19, 4199, 326, 1758, 434, 326, 5546, 429, 5100, 301,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 588, 6793, 12244, 301, 18435, 8924, 1887, 1435, 2713, 1476, 1135, 261, 2867, 13, 288, 203, 565, 327, 1758, 12, 203, 2868, 262, 16, 5375, 203, 5411, 262, 203, 1850, 262, 203, 3639, 262, 203, 1377, 262, 203, 565, 1...
pragma solidity ^0.4.15; contract OwnedToken { // TokenCreator is a contract type that is defined below. // It is fine to reference it as long as it is not used // to create a new contract. TokenCreator creator; address owner; bytes32 name; // This is the constructor which registers the ...
Any call to this function (even deeply nested) can be detected from the JavaScript API by filtering for `Deposit` to be called.
function deposit(bytes32 _id) payable { Deposit(msg.sender, _id, msg.value); }
12,743,192
[ 1, 4625, 348, 7953, 560, 30, 225, 5502, 745, 358, 333, 445, 261, 16728, 23229, 1283, 4764, 13, 848, 506, 8316, 628, 326, 11905, 1491, 635, 11346, 364, 1375, 758, 1724, 68, 358, 506, 2566, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 12, 3890, 1578, 389, 350, 13, 8843, 429, 288, 203, 3639, 4019, 538, 305, 12, 3576, 18, 15330, 16, 389, 350, 16, 1234, 18, 1132, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "../../Vault/Utils/Address.sol"; import "../../Vault/Utils/SafeBEP20.sol"; import "../../Vault/Utils/IBEP20.sol"; import "../../Vault/Utils/ReentrancyGuard.sol"; import "./XVSVaultStrategyProxy.sol"; import "./XVSVaultStrategyStorage.sol"; // This cont...
claim the pending rewards deposit the claimed rewards back to the XVS Vault
function compoundRewards() external nonReentrant onlyAdminVault { IXVSVault(xvsVault).deposit(xvs, pid, 0); IXVSVault(xvsVault).deposit(xvs, pid, IBEP20(xvs).balanceOf(address(this))); }
2,492,534
[ 1, 4625, 348, 7953, 560, 30, 225, 7516, 326, 4634, 283, 6397, 443, 1724, 326, 7516, 329, 283, 6397, 1473, 358, 326, 1139, 14640, 17329, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11360, 17631, 14727, 1435, 3903, 1661, 426, 8230, 970, 1338, 4446, 12003, 288, 203, 3639, 467, 60, 14640, 12003, 12, 92, 6904, 12003, 2934, 323, 1724, 12, 92, 6904, 16, 4231, 16, 374, 1769, 203, 203, 3639, 467, 60, 1464...
./partial_match/1/0x21b346622e607fcC936a320D3ab8224fb36B3C0c/sources/contracts/vault/VaultFactory.sol
* @notice Creates a new bundle token and vault contract for `to`. Its token ID will be automatically assigned (and available on the emitted {IERC721-Transfer} event) See {ERC721-_mint}. @param to The address that will own the new vault. @return tokenID The token ID of the bundle token, d...
function initializeBundle(address to) external override returns (uint256) { address vault = _create(); _mint(to, uint256(uint160(vault))); emit VaultCreated(vault, to); return uint256(uint160(vault)); }
9,283,481
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10210, 279, 394, 3440, 1147, 471, 9229, 6835, 364, 1375, 869, 8338, 29517, 1147, 1599, 903, 506, 6635, 6958, 261, 464, 2319, 603, 326, 17826, 288, 45, 654, 39, 27, 5340, 17, 5912, 97, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 4046, 3405, 12, 2867, 358, 13, 3903, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 1758, 9229, 273, 389, 2640, 5621, 203, 203, 3639, 389, 81, 474, 12, 869, 16, 2254, 5034, 12, 11890, 16874, 12, 26983, 3719, 1769, ...
./partial_match/42/0x1Dea112a84F50316fa8D4Dbfa3306A7f543352e6/sources/MasterChef.sol
0.25%->decayrate=25
uint256 _remainrate = 10000;
3,295,440
[ 1, 4625, 348, 7953, 560, 30, 374, 18, 2947, 9, 2122, 26039, 5141, 33, 2947, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 389, 2764, 530, 5141, 273, 12619, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/42/0xaf549135Bf8cd4673e2D1c9317DC5F92BF47aeBd/sources/dex/Main.sol
cuando el usuario quiere sacar todos lo tokens del pool 0x9230646A9ebC810cdC893c65aE7684286786A62D, 100,100 0x9230646A9ebC810cdC893c65aE7684286786A62D, 1, 1 actualizo balance del usuario actualizo balance de la pool envio de ETH y Token require(usertoken[_user].amount0>=_amount0,"_amount0!=msg.value"); bool sent = _u...
function withdrawTokenPool(address payable _user,uint256 _amount0, uint256 _amount1) external payable { require(usertoken[_user].amount0>=_amount0,"usertoken[_user].amount0 es menor_amount0"); require(usertoken[_user].amount1>=_amount1,"usertoken[_user].amount1 es menor _amount1"); usertoke...
16,294,763
[ 1, 4625, 348, 7953, 560, 30, 225, 15985, 28630, 415, 584, 89, 25124, 719, 77, 822, 20071, 297, 31754, 437, 2430, 1464, 2845, 374, 92, 29, 29157, 1105, 26, 37, 29, 24008, 39, 28, 2163, 4315, 39, 6675, 23, 71, 9222, 69, 41, 6669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 1345, 2864, 12, 2867, 8843, 429, 389, 1355, 16, 11890, 5034, 389, 8949, 20, 16, 2254, 5034, 389, 8949, 21, 13, 3903, 8843, 429, 288, 203, 3639, 2583, 12, 407, 1051, 969, 63, 67, 1355, 8009, 8949, 20, 34, ...
./partial_match/1/0x55f75C515A69ec09851Ff504a21551f403A3FB9A/sources/NyanV2.sol
* @notice Override ERC20 transferFrom function with transfer fee. @param _sender Owner of the tokens being transferred. @param _recipient Recepient of the transfer. @param _amount Amount of tokens being transferred./ require(userStake[msg.sender].nyanV2LPStaked == 0); Check if the recipient is an address that has stake...
function transferFrom(address _sender, address _recipient, uint256 _amount) delegatedOnly public override returns(bool) { uint256 transferFee = _amount.div(200); if((msg.sender == uniswapRouterV2) || (msg.sender == nyanV2LP)) { require(ERC20(nyanV2LP).balanceOf(_sender) == 0, "Recipient ...
2,793,956
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1439, 4232, 39, 3462, 7412, 1265, 445, 598, 7412, 14036, 18, 632, 891, 389, 15330, 16837, 434, 326, 2430, 3832, 906, 4193, 18, 632, 891, 389, 20367, 9797, 84, 1979, 434, 326, 7412, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 1265, 12, 2867, 389, 15330, 16, 1758, 389, 20367, 16, 2254, 5034, 389, 8949, 13, 30055, 3386, 1071, 3849, 1135, 12, 6430, 13, 288, 203, 3639, 2254, 5034, 7412, 14667, 273, 389, 8949, 18, 2892, 12, 6976, 1769, 203,...
./partial_match/1/0x7bDA6fC931a43Cd0D837E6efF4F9DD731eF11683/sources/MANDALORIAN.sol
when buywhen sell if any account belongs to _isExcludedFromFee account then remove the fee only take fees on buys/sells, do not take on wallet transfers on sell on buy
function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super...
2,697,484
[ 1, 4625, 348, 7953, 560, 30, 1347, 30143, 13723, 357, 80, 309, 1281, 2236, 11081, 358, 389, 291, 16461, 1265, 14667, 2236, 1508, 1206, 326, 14036, 1338, 4862, 1656, 281, 603, 25666, 1900, 19, 87, 1165, 87, 16, 741, 486, 4862, 603, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 3849, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./BeforeTransferERC20.sol"; import "../Validate.sol"; import "../roles/GluwaRole.sol"; /** * ...
* @dev Moves `amount` tokens from the `sender`'s account to `recipient` and moves `fee` tokens from the `sender`'s account to a relayer's address. Returns a boolean value indicating whether the operation succeeded. Emits two {Transfer} events. Requirements: - `recipient` cannot be the zero address. - the `sender` must ...
public onlyGluwa returns (bool success) { _useNonce(sender, nonce); bytes32 hash = keccak256(abi.encodePacked(address(this), sender, recipient, amount, fee, nonce)); Validate.validateSignature(hash, sender, sig); _collect(sender, fee); _transfer(sender, recipient, amount); ...
12,624,423
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 10829, 1375, 8949, 68, 2430, 628, 326, 1375, 15330, 11294, 87, 2236, 358, 1375, 20367, 68, 471, 13934, 1375, 21386, 68, 2430, 628, 326, 1375, 15330, 11294, 87, 2236, 358, 279, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 1071, 1338, 21308, 89, 91, 69, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 389, 1202, 13611, 12, 15330, 16, 7448, 1769, 203, 203, 3639, 1731, 1578, 1651, 273, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 12, 2867, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./access/AdminControl.sol"; import "./core/CreatorCore.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @d...
* Helper to get royalty receivers for a token/
function _getRoyaltyReceivers(uint256 tokenId) view internal returns (address payable[] storage) { uint256 creatorId; if(tokenId > MAX_TOKEN_ID) { creatorId = _creatorTokens[tokenId]; creatorId = tokenId / CREATOR_SCALE; } if (_tokenRoyaltyReceivers[...
15,844,310
[ 1, 4625, 348, 7953, 560, 30, 380, 9705, 358, 336, 721, 93, 15006, 22686, 364, 279, 1147, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 588, 54, 13372, 15006, 4779, 6760, 12, 11890, 5034, 1147, 548, 13, 1476, 2713, 1135, 261, 2867, 8843, 429, 8526, 2502, 13, 288, 203, 3639, 2254, 5034, 11784, 548, 31, 203, 3639, 309, 12, 2316, 548, 405, 4552, 67, ...
pragma solidity ^0.4.24; /** * Utility library of inline functions on addresses */ library AddressUtils { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until af...
* @dev 通用额度提取 @param _amount 提取 token 数量/ 仅允许在 2018/11/01 00:00:01 之后提取
function withdrawCommonCoin(uint256 _amount) public onlyOwner { require(block.timestamp >= TIMESTAMP_OF_20181101000001); require(transfer(ownerWallet, _amount)); emit TransferLog(owner, ownerWallet, bytes32("withdrawCommonCoin"), _amount); totalCommonReleased = totalCommonReleased.ad...
5,514,018
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 225, 170, 227, 253, 168, 247, 106, 170, 100, 256, 166, 123, 104, 167, 242, 243, 166, 242, 249, 632, 891, 389, 8949, 225, 167, 242, 243, 166, 242, 249, 1147, 225, 167, 248, 113, 170, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 6517, 27055, 12, 11890, 5034, 389, 8949, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 2629, 18, 5508, 1545, 22883, 67, 3932, 67, 21849, 2499, 1611, 2787, 1611, 1769, 203, 3639, 2583, 12, 13866, 12, 8443, 1...
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.9; // ____ _ _ ____ ____ __ ___ __ ____ ____ _ _ // (_ _)/ )( \( __) / ___) / \ / __)( )( __)(_ _)( \/ ) // )( ) __ ( ) _) \___ \( O )( (__ )( ) _) )( ) / // (__) \_)(_/(____) (____/ \__/ \___)(__)(____) (__) (__/ /...
This hooks into transfers to track gold balances. We only do the extra bookkeeping when a gold token is being transferred.
function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { if (tokenId > MAXIMUM_GOLD_MEMBER_COUNT) { return; } if (from != address(0)) { goldBalances[from] -= 1; } if (to != addre...
13,492,012
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 9153, 1368, 29375, 358, 3298, 20465, 324, 26488, 18, 1660, 1338, 741, 326, 2870, 6978, 10102, 310, 1347, 279, 20465, 1147, 353, 3832, 906, 4193, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 1147, 548, 203, 565, 262, 2713, 5024, 3849, 288, 203, 3639, 309, 261, 2316, 548, 405, 4552, 18605, 67, 43, 11846, 6...
pragma solidity ^0.5.1; import './OperationExecutor.sol'; import './PermissionRegistry.sol'; /// @title MultiSigOperations - Generalized multi signature operations contract for a Self Sovereign Identity approach /// @notice An identity can have multiple delegates with different permissions for each OperationExecutor ...
/ @dev asks the permission registry contract whether permission for the message sender are satisfied for the given identity and the given executor address
modifier needsPermission(address identity, address executorAddress){ require(executorAddress != address(0x0), "unknown executor address"); require(permissionRegistry.actorHasPermission(identity, executorAddress, msg.sender), "permission has not been granted"); _; }
6,392,610
[ 1, 4625, 348, 7953, 560, 30, 342, 632, 5206, 6827, 87, 326, 4132, 4023, 6835, 2856, 4132, 364, 326, 883, 5793, 854, 18958, 364, 326, 864, 4215, 471, 326, 864, 6601, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 9606, 4260, 5041, 12, 2867, 4215, 16, 1758, 6601, 1887, 15329, 203, 565, 2583, 12, 21097, 1887, 480, 1758, 12, 20, 92, 20, 3631, 315, 8172, 6601, 1758, 8863, 203, 565, 2583, 12, 9827, 4243, 18, 3362, 5582, 5041, 12, 10781, ...
./full_match/1/0x589C0c6eE1Fc820D7e236F499CD837e91058de68/sources/contracts/ERC721A.sol
* @dev Transfers tokenId from from to to. Requirements: - to cannot be the zero address. - tokenId token must be owned by from. Emits a {Transfer} event./require(to != address(0), "ERC721A: transfer to the zero address"); Clear approvals from the previous owner If the ownership slot of tokenId+1 is not explicitly set, ...
function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprove...
9,785,263
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2604, 18881, 1147, 548, 628, 628, 358, 358, 18, 29076, 30, 300, 358, 2780, 506, 326, 3634, 1758, 18, 300, 1147, 548, 1147, 1297, 506, 16199, 635, 628, 18, 7377, 1282, 279, 288, 5912, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 1147, 548, 203, 565, 262, 3238, 288, 203, 3639, 3155, 5460, 12565, 3778, 2807, 5460, 12565, 273, 23178, 951, 12, 2316, 548, 1769...
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0 <0.9.0; import "../../contracts/sales/LinearDutchAuction.sol"; /** @notice Exposes a buy() function to allow testing of DutchAuction and, by proxy, Seller. @dev Setting the price decreas...
@notice A malicious contract that attempts to reenter the buy() function. @dev Naming things is hard. Is Reenterer a word?
contract ReentrantProxyPurchaser { TestableDutchAuction public auction; constructor(address _auction) { auction = TestableDutchAuction(_auction); } function buy(address to, uint256 n) public payable { } auction.buy{value: msg.value}(to, n); receive() external payable { } ...
12,833,274
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 432, 27431, 28728, 6835, 716, 7531, 358, 283, 2328, 326, 30143, 1435, 445, 18, 632, 5206, 18884, 9198, 353, 7877, 18, 2585, 868, 2328, 264, 279, 2076, 35, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 868, 8230, 970, 3886, 10262, 343, 14558, 288, 203, 565, 7766, 429, 40, 322, 343, 37, 4062, 1071, 279, 4062, 31, 203, 203, 565, 3885, 12, 2867, 389, 69, 4062, 13, 288, 203, 3639, 279, 4062, 273, 7766, 429, 40, 322, 343, ...
./partial_match/42/0x7437364ad119bB7F540fD03001435E2B32Cd80B8/sources/BotGainsProtocolStorage.sol
assign wallet addresses
constructor (address payable _tradingWallet,address payable _adminFeeWallet,address payable _managementFeeWallet,address payable _divsFeeWallet, address payable _bonusWallet) public { botWallet = _tradingWallet; adminFeeWallet = _adminFeeWallet; managementFeeWallet = _managementFeeWallet; ...
8,933,878
[ 1, 4625, 348, 7953, 560, 30, 2683, 9230, 6138, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 261, 2867, 8843, 429, 389, 313, 14968, 16936, 16, 2867, 8843, 429, 389, 3666, 14667, 16936, 16, 2867, 8843, 429, 389, 17381, 14667, 16936, 16, 2867, 8843, 429, 389, 2892, 87, 14667, 16936, 16, 1758, 8843, 429, 389, 18688...
pragma solidity ^0.4.18; /** * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; as...
* @dev Transfer tokens from one address to another @param _from address The address which you want to send tokens from @param _to address The address which you want to transfer to @param _value uint256 the amount of tokens to be transferred/* @dev Approve the passed address to spend the specified amount of tokens on be...
function transfer(address _to, uint256 _value) public returns (bool); function balanceOf(address _owner) public view returns (uint256); } } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); ret...
8,042,311
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 2430, 628, 1245, 1758, 358, 4042, 632, 891, 389, 2080, 1758, 1021, 1758, 1492, 1846, 2545, 358, 1366, 2430, 628, 632, 891, 389, 869, 1758, 1021, 1758, 1492, 1846, 2545, 358, 7412, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 1769, 203, 203, 225, 445, 11013, 951, 12, 2867, 389, 8443, 13, 1071, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 97, 203, 203, 97, 203,...
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "hardhat/console.sol"; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import "./IMutagenToken.sol"; import "./ActiveAfterBlock.sol"; contract EVPool is ActiveAfterBlock { using Address for address payable; /********************...
* @dev Check if the user sent enough ether and record contract fees/
function _collectPoolFees(uint8 tokenCount) internal returns (uint256) { uint256 purchasePrice = tokenCount * getPoolPrice(); require(msg.value >= purchasePrice, "Payment too small"); return purchasePrice; }
10,203,961
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2073, 309, 326, 729, 3271, 7304, 225, 2437, 471, 1409, 6835, 1656, 281, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 14676, 2864, 2954, 281, 12, 11890, 28, 1147, 1380, 13, 2713, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 23701, 5147, 273, 1147, 1380, 380, 28575, 5147, 5621, 203, 3639, 2583, 12, 3576, 18, 1132, 1545, ...
./full_match/42/0x2da67b8444085fd7D9599B33cd46A41cb6950569/sources/dex/main.sol
transferencia segura de un token cuando hace SWAP 0x9230646A9ebC810cdC893c65aE7684286786A62D, 0x13512979ADE267AB5100878E2e0f485B568328a4, 1
function transferSecureSwap(address user, address _token, uint256 _amount) external { if (_token == Token0){ require(BalancePool[Token0].amount0>=_amount); token[Token0].transfer(user,_amount); } else if (_token == Token1){ require(BalancePool[Tok...
9,585,291
[ 1, 4625, 348, 7953, 560, 30, 225, 7412, 28115, 2291, 21401, 443, 640, 1147, 15985, 28630, 366, 623, 16392, 2203, 374, 92, 29, 29157, 1105, 26, 37, 29, 24008, 39, 28, 2163, 4315, 39, 6675, 23, 71, 9222, 69, 41, 6669, 5193, 22, 5292...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 12834, 12521, 12, 2867, 729, 16, 1758, 389, 2316, 16, 2254, 5034, 389, 8949, 13, 3903, 288, 203, 540, 203, 3639, 309, 261, 67, 2316, 422, 3155, 20, 15329, 203, 5411, 2583, 12, 13937, 2864, 63, 1345, 20, 8009, 89...
//Address: 0x398acb6594866bc7ac3a23e925b2fc3727c19828 //Contract name: Presale //Balance: 0 Ether //Verification Date: 1/19/2018 //Transacion Count: 1317 // CODE STARTS HERE pragma solidity ^0.4.18; // File: zeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety ch...
@dev baseRate will default to 0/
modifier whenRateSet() { require(discounts.baseRate != 0); _; }
1,785,718
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1026, 4727, 903, 805, 358, 374, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 9606, 1347, 4727, 694, 1435, 288, 203, 565, 2583, 12, 2251, 8008, 18, 1969, 4727, 480, 374, 1769, 203, 565, 389, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/5/0x5004A3451118625e52DC7aA4427152Dd38A2dD63/sources/GTCToken12.sol
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract GTCToken12 is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { symbol = "GTCT12"; ...
16,869,132
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 19688, 1268, 969, 2138, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, ...
/* Copyright 2021 Crosspoly ZOO. SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.6.9; pragma experimental ABIEncoderV2; import {SafeERC20} from "../../lib/SafeERC20.sol"; import {IERC20} from "../../intf/IERC20.sol"; import {SafeMath} from "../../lib/SafeMath.sol"; import {DecimalMath} from "../../l...
============ Storage ============
contract BaseMine is InitializableOwnable { using SafeERC20 for IERC20; using SafeMath for uint256; pragma solidity 0.6.9; import {SafeERC20} from "../../lib/SafeERC20.sol"; import {IERC20} from "../../intf/IERC20.sol"; import {SafeMath} from "../../lib/SafeMath.sol"; import {DecimalMath} from "../../lib/Dec...
12,541,484
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 631, 5235, 422, 1432, 631, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3360, 49, 558, 353, 10188, 6934, 5460, 429, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 203, 203, 683, 9454, 18035, 560, 374, 18, 2...
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // &#39;DUMPSACK&#39; token contract // // Deployed to : 0x146EE4140199d6859f05DBe37c02bc6f26Ecc6e9 // Symbol : DSACK // Name : DUMPSACK TOKEN // Total supply: 100000000 // Decimals : 18 // // Enjoy....
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract DUMPSACK is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; function DUMPSACK() public { symbol = "DSACK"...
2,314,757
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 463, 2799, 5857, 3649, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, ...
./full_match/1/0x081231339BcC4061e4511d73f1697C021B461aC2/sources/contracts/eslsd/esLSD.sol
* @dev Withdraw unlocked $LSD tokens if there are ongoing redeems/
function claim() external nonReentrant { VestingInfo storage vestingInfo = userVestings[_msgSender()]; require(vestingInfo.amount > 0, "No tokens to claim"); require(block.timestamp >= vestingInfo.startTime, "Vesting not started"); uint256 unlocked = 0; if (block.timestamp >= vestingInfo.endTime)...
8,406,414
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 25966, 271, 3045, 40, 2430, 309, 1915, 854, 30542, 283, 323, 7424, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 7516, 1435, 3903, 1661, 426, 8230, 970, 288, 203, 565, 776, 10100, 966, 2502, 331, 10100, 966, 273, 729, 58, 395, 899, 63, 67, 3576, 12021, 1435, 15533, 203, 565, 2583, 12, 90, 10100, 966, 18, 8949, 405, 374, 16, 315,...
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity 0.6.8; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external v...
* @notice generic function for handling USD deposits and transfer of wTokens as a result @param usdAmount amount of USD to deposit @param to address to receive the resulting wTokens @param usdType 1 for Dai, 2 for USDC, 3 for USDT @return true if success/ USDC and USDT both have 6 decimals, need...
function depositTo(uint256 usdAmount, address to, uint32 usdType) internal returns (bool) { require(usdAmount > 0, "USD amount must be greater than 0"); require(to != address(0), "Recipient cannot be zero address"); uint256 usdAmountInWad = usdAmount; if (usdType > 1) { ...
13,767,974
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 5210, 445, 364, 5057, 587, 9903, 443, 917, 1282, 471, 7412, 434, 341, 5157, 487, 279, 563, 632, 891, 584, 72, 6275, 1377, 3844, 434, 587, 9903, 358, 443, 1724, 632, 891, 358, 2398, 175...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 443, 1724, 774, 12, 11890, 5034, 584, 72, 6275, 16, 1758, 358, 16, 2254, 1578, 584, 72, 559, 13, 2713, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 407, 72, 6275, 405, 374, 16, 315, 3378, 40, 3844, 1297, 506, 6802...
./full_match/314/0x7b7f1f85F599b63432F5D782041c25Dad354f999/sources/node_modules/@openzeppelin/contracts/finance/VestingWallet.sol
* @dev Sets the sender as the initial owner, the beneficiary as the pending owner, the start timestamp and the vesting duration of the vesting wallet./
constructor(address beneficiary, uint64 startTimestamp, uint64 durationSeconds) payable Ownable(beneficiary) { _start = startTimestamp; _duration = durationSeconds; }
8,082,887
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 5793, 487, 326, 2172, 3410, 16, 326, 27641, 74, 14463, 814, 487, 326, 4634, 3410, 16, 326, 787, 2858, 471, 326, 331, 10100, 3734, 434, 326, 331, 10100, 9230, 18, 19, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 27641, 74, 14463, 814, 16, 2254, 1105, 787, 4921, 16, 2254, 1105, 3734, 6762, 13, 8843, 429, 14223, 6914, 12, 70, 4009, 74, 14463, 814, 13, 288, 203, 3639, 389, 1937, 273, 787, 4921, 31, 203, 3639, 389, 876...
./full_match/4/0xcf2E4778d5A14ed03462055D58E9ecE3611dFF40/sources/contracts/CryptoodleToken.sol
/ @notice Claim Adventure Gold for a given Loot ID @param tokenId The tokenId of the Loot NFT Follow the Checks-Effects-Interactions pattern to prevent reentrancy attacks Check that the msgSender owns the token that is being claimed Check that the msgSender owns the token that is being claimed Further Checks, Effects, ...
function claimByToodleLootIds(uint256[] memory tokenId) external { for(uint256 i = 0; i < tokenId.length; i++){ require( _msgSender() == lootContract.ownerOf(tokenId[i]), "MUST_OWN_TOKEN_ID" ); _claim(tokenId[i], _msgSender(), 1); } }
12,453,674
[ 1, 4625, 348, 7953, 560, 30, 342, 632, 20392, 18381, 4052, 616, 594, 611, 1673, 364, 279, 864, 511, 1632, 1599, 632, 891, 1147, 548, 1021, 1147, 548, 434, 326, 511, 1632, 423, 4464, 16093, 326, 13074, 17, 29013, 17, 2465, 4905, 1936...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7516, 858, 774, 369, 298, 1504, 352, 2673, 12, 11890, 5034, 8526, 3778, 1147, 548, 13, 3903, 288, 203, 203, 3639, 364, 12, 11890, 5034, 277, 273, 374, 31, 277, 411, 1147, 548, 18, 2469, 31, 277, 27245, 95, 203, 3639, ...
/** *Submitted for verification at Etherscan.io on 2020-06-08 */ pragma solidity 0.6.2; pragma experimental ABIEncoderV2; /* * @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, t...
@param _relayer New relayer address @dev Only the owner can install a new relayer
function installRelayer(address _relayer) onlyOwner public { require(!relayers[_relayer], "Relayer is already installed."); require(_relayer != address(this), "The relay contract cannot be installed as a relayer."); relayers[_relayer] = true; emit RelayerInstalled(_relayer); }
12,959,595
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 891, 389, 2878, 1773, 1166, 1279, 1773, 1758, 632, 5206, 5098, 326, 3410, 848, 3799, 279, 394, 1279, 1773, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3799, 1971, 1773, 12, 2867, 389, 2878, 1773, 13, 1338, 5541, 1071, 288, 203, 3639, 2583, 12, 5, 2878, 3907, 63, 67, 2878, 1773, 6487, 315, 1971, 1773, 353, 1818, 5876, 1199, 1769, 203, 3639, 2583, 24899, 2878, 1773, 480...
./full_match/43113/0x597b63C07b62629AF888E7cAc987cCbEF106135b/sources/LendingPool_flat.sol
Flash loan record how much user will have to pay back e.g. borrow 100, debt = 100.1 send borrower the tokens hand over control to borrwer repay the debt Distribute fee to token holders proportionally
function flashLoan(address flashLoanAddress, uint256 amount) external returns(bool){ EVRTFlashLoan flashLoanContract; flashLoanContract = EVRTFlashLoan(flashLoanAddress); uint256 debt = amount.mul(ONE.add(flashLoanFee)).div(ONE); require(poolToken.transfer(msg.sender, amou...
7,209,463
[ 1, 4625, 348, 7953, 560, 30, 225, 15014, 28183, 1409, 3661, 9816, 729, 903, 1240, 358, 8843, 1473, 425, 18, 75, 18, 29759, 2130, 16, 18202, 88, 273, 2130, 18, 21, 1366, 29759, 264, 326, 2430, 948, 1879, 3325, 358, 324, 280, 86, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 445, 9563, 1504, 304, 12, 2867, 9563, 1504, 304, 1887, 16, 2254, 5034, 3844, 13, 3903, 1135, 12, 6430, 15329, 7010, 3639, 512, 10986, 56, 11353, 1504, 304, 9563, 1504, 304, 8924, 31, 203, 3639, 9563, 1504, 304, 8924, 273, 51...
pragma solidity ^0.4.24; contract RSEvents { // fired whenever a player registers a name event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, ...
* @dev ends the round. manages paying out winner/splitting up pot/ grab our winning player and team id's grab our pot amount add airdrop pot into the final pot calculate our winner share, community rewards, gen share, p3d share, and amount reserved for next pot calculate ppt for round mask
function endRound(RSdatasets.EventReturns memory _eventData_) private returns (RSdatasets.EventReturns) { uint256 _winPID = round_.plyr; uint256 _pot = round_.pot + airDropPot_; uint256 _win = (_pot.mul(45)) / 100; uint256 _com = (_pot / ...
533,579
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3930, 326, 3643, 18, 20754, 281, 8843, 310, 596, 5657, 1224, 19, 4939, 1787, 731, 5974, 19, 11086, 3134, 5657, 2093, 7291, 471, 5927, 612, 1807, 11086, 3134, 5974, 3844, 527, 279, 6909, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 679, 11066, 12, 13225, 21125, 18, 1133, 1356, 3778, 389, 2575, 751, 67, 13, 203, 3639, 3238, 203, 3639, 1135, 261, 13225, 21125, 18, 1133, 1356, 13, 203, 565, 288, 540, 203, 3639, 2254, 5034, 389, 8082, 16522, 273, 3643...
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'CyborgDoge' token contract // // Deployed to : 0x8E6190C04121C42F04d3C958Bcb1285ff32e996B // Symbol : CYDOGE // Name : CyborgDoge // Total supply: 1000000000000000 // Decimals : 18 // // MIT code...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract CyborgDoge is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; function CyborgDoge() public { symbol = "CY...
5,710,486
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 22337, 70, 3341, 40, 717, 73, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 107...
./full_match/40/0x2AE991C66cE9D9Fd4318e67B0b94E2B4170faa5D/sources/contracts/ChainspotProxy.sol
Constructor @param _feeBase uint Fee base param @param _feeMul uint Fee multiply param
constructor(uint _feeBase, uint _feeMul) { setFeeParams(_feeBase, _feeMul); }
9,546,755
[ 1, 4625, 348, 7953, 560, 30, 225, 11417, 632, 891, 389, 21386, 2171, 2254, 225, 30174, 1026, 579, 632, 891, 389, 21386, 27860, 2254, 225, 30174, 10194, 579, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 11890, 389, 21386, 2171, 16, 2254, 389, 21386, 27860, 13, 288, 203, 3639, 444, 14667, 1370, 24899, 21386, 2171, 16, 389, 21386, 27860, 1769, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: AGPL-3.0-or-later //Developed by @crypt0xa pragma solidity >=0.7.5; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Sol...
exclude from paying fees or having max transaction amount
{ IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _setAutomatedMarketMakerPair(a...
10,448,454
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 12, 20, 92, 27, 69, 26520, 72, 4313, 5082, 38, 24, 71, 42, 25, ...
/** *Submitted for verification at Etherscan.io on 2022-04-11 */ /* _________ __ ________ ________ __ \_ ___ \_______ ___.__._______/ |_ ____ \_____ \ / _____/ ____ ____ ________________ _/ |_ ___________ / \...
@notice Informs callers that this contract supports ERC2981
function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); }
2,245,796
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 657, 9741, 19932, 716, 333, 6835, 6146, 4232, 39, 5540, 11861, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6146, 1358, 12, 3890, 24, 1560, 548, 13, 203, 565, 1071, 1476, 3849, 12, 654, 39, 27, 5340, 13, 203, 565, 1135, 261, 6430, 13, 288, 203, 3639, 327, 1560, 548, 422, 618, 12, 45, 654, 39, 5540, 11861, 2934, 5831, 548,...
./full_match/1/0x30Ce56e80aA96EbbA1E1a74bC5c0FEB5B0dB4216/sources/lib/Cooler/src/CoolerFactory.sol
@notice Emit a global event when a loan is repaid.
function logRepayLoan(uint256 loanID_, uint256 repayment_) external onlyFromFactory { emit RepayLoan(msg.sender, loanID_, repayment_); }
2,954,606
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 16008, 279, 2552, 871, 1347, 279, 28183, 353, 2071, 20736, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 613, 426, 10239, 1504, 304, 12, 11890, 5034, 28183, 734, 67, 16, 2254, 5034, 2071, 2955, 67, 13, 3903, 1338, 1265, 1733, 288, 203, 3639, 3626, 868, 10239, 1504, 304, 12, 3576, 18, 15330, 16, 28183, 734, 67, 16, 2071, ...
//Address: 0x4e55567c52cfde3a09441693a5a82a5c381226f9 //Contract name: HonestSweepStakes //Balance: 0.01 Ether //Verification Date: 2/7/2018 //Transacion Count: 2 // CODE STARTS HERE pragma solidity 0.4.19; // <ORACLIZE_API> /* Copyright (c) 2015-2016 Oraclize SRL Copyright (c) 2016 Oraclize LTD Permission is he...
tables used for various purposes
mapping (uint16 => RoundData) rounds;
6,441,552
[ 1, 4625, 348, 7953, 560, 30, 225, 4606, 1399, 364, 11191, 13694, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 11890, 2313, 516, 11370, 751, 13, 21196, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/8453/0xfcC0927F1662Bc5eF2667F76FE597fa306E4c9b3/sources/contracts/Presale.sol
all addresses eligible for presale
mapping(address => bool) public whitelistAddresses;
11,537,811
[ 1, 4625, 348, 7953, 560, 30, 225, 777, 6138, 21351, 364, 4075, 5349, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 1426, 13, 1071, 10734, 7148, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * fals...
========== STATE VARIABLES ========== */ ========== EVENTS ========== */ ========== MODIFIERS ========== */
modifier onlyGovernance() { require(msg.sender == governance, "!governance"); _; }
416,330
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 7442, 22965, 55, 422, 1432, 1195, 422, 1432, 9964, 55, 422, 1432, 1195, 422, 1432, 8663, 10591, 55, 422, 1432, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 20597, 1338, 43, 1643, 82, 1359, 1435, 288, 203, 202, 202, 6528, 12, 3576, 18, 15330, 422, 314, 1643, 82, 1359, 16, 17528, 75, 1643, 82, 1359, 8863, 203, 202, 202, 67, 31, 203, 202, 97, 203, 2, -100, -100, -100, -100, -1...
contract EtherAds { // define some events event BuyAd(address etherAddress, uint amount, string href, string anchor, string imgId, uint headerColor, uint8 countryId, address referral); event ResetContract(); event PayoutEarnings(address etherAddress, uint amount, uint8 referralLevel); struct Ad { ...
add sent value to balance
balance += value;
1,022,333
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 3271, 460, 358, 11013, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 11013, 1011, 460, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0x17B00548003683C423eecce4371b4bA56eEd962b/sources/contracts/access/DramAccessControl.sol
* @inheritdoc IDramAccessControl/
function hasRole( bytes32 role, address account ) public view virtual override returns (bool) { return _roles[role][account]; }
3,169,594
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 1599, 1940, 16541, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 28335, 12, 203, 3639, 1731, 1578, 2478, 16, 203, 3639, 1758, 2236, 203, 565, 262, 1071, 1476, 5024, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 7774, 63, 4615, 6362, 4631, 15533, 203, 565, 289, 203, 203, 2, -...
./full_match/4/0xe2304011e68d6A54ba2a917f241C3e6A2f3DC712/sources/all.sol
* @dev Allow a user to deposit underlying tokens and mint the corresponding number of wrapped tokens./
function depositFor(address account, uint256 amount) public virtual returns (bool) { SafeERC20.safeTransferFrom(underlying, _msgSender(), address(this), amount); _mint(account, amount); return true; }
645,693
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7852, 279, 729, 358, 443, 1724, 6808, 2430, 471, 312, 474, 326, 4656, 1300, 434, 5805, 2430, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 1290, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 1071, 5024, 1135, 261, 6430, 13, 288, 203, 3639, 14060, 654, 39, 3462, 18, 4626, 5912, 1265, 12, 9341, 6291, 16, 389, 3576, 12021, 9334, 1758, 12, 2211, 3631, ...
./full_match/1/0xbc5f420C1A0ABC1740d16A834C93F8AC9235A5cb/sources/contracts/protocol/PunkGateway.sol
DataTypes.LoanData memory loan = cachedPoolLoan.getLoan(loanId); refund remaining dust eth
function redeemETH( uint256 punkIndex, uint256 amount, uint256 bidFine ) external payable override nonReentrant returns (uint256) { ILendPoolLoan cachedPoolLoan = _getLendPoolLoan(); uint256 loanId = cachedPoolLoan.getCollateralLoanId(address(wrappedPunks), punkIndex); require(loanId != 0, ...
3,219,854
[ 1, 4625, 348, 7953, 560, 30, 1910, 2016, 18, 1504, 304, 751, 3778, 28183, 273, 3472, 2864, 1504, 304, 18, 588, 1504, 304, 12, 383, 304, 548, 1769, 16255, 4463, 302, 641, 13750, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 283, 24903, 1584, 44, 12, 203, 565, 2254, 5034, 293, 1683, 1016, 16, 203, 565, 2254, 5034, 3844, 16, 203, 565, 2254, 5034, 9949, 42, 558, 203, 225, 262, 3903, 8843, 429, 3849, 1661, 426, 8230, 970, 1135, 261, 11890, 5...
./full_match/3/0x46195bBF4e65e396FF7DbA3BB369Af554095d110/sources/dreamsbank.sol
create 2 state variables in constructor pass in the address for USDC token and your custom bank token that will be used to pay interest
contract DreamsBank { string public name = "DreamsBank"; address public usdc; address public bankToken; address[] public stakers; mapping(address => uint) public stakingBalance; mapping(address => bool) public hasStaked; mapping(address => bool) public isStaking; const...
8,240,719
[ 1, 4625, 348, 7953, 560, 30, 225, 752, 576, 919, 3152, 316, 3885, 1342, 316, 326, 1758, 364, 11836, 5528, 1147, 471, 3433, 1679, 11218, 1147, 716, 903, 506, 1399, 358, 8843, 16513, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 463, 793, 87, 16040, 288, 203, 377, 203, 377, 203, 565, 533, 1071, 508, 273, 315, 40, 793, 87, 16040, 14432, 203, 377, 203, 565, 1758, 1071, 584, 7201, 31, 203, 565, 1758, 1071, 11218, 1345, 31, 203, 203, 203, 565, 1758,...
./full_match/1/0xD4c8eAf4065886d050074E72b0a8eC5848bEe08c/sources/contracts/FYVM.sol
@notice Public mint
bool public isPublicOpen = false;
17,060,872
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 7224, 312, 474, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1426, 1071, 19620, 3678, 273, 629, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// File: contracts/lib/SafeMath.sol /* Copyright 2020 DODO ZOO. SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.6.9; /** * @title SafeMath * @author DODO Breeder * * @notice Math operations with safety checks that revert on error */ library SafeMath { function mul(uint256 a, uint256 b) i...
init local variables init FRAG meta data symbol = string(abi.encodePacked("d_", _symbol)); init FRAG distribution init DVM liquidity
) external { require(!_FRAG_INITIALIZED_, "DODOFragment: ALREADY_INITIALIZED"); _FRAG_INITIALIZED_ = true; _DVM_ = dvm; _QUOTE_ = IDVM(_DVM_)._QUOTE_TOKEN_(); _VAULT_PRE_OWNER_ = vaultPreOwner; _COLLATERAL_VAULT_ = collateralVault; _BUYOUT_TIMESTAMP_ = buyout...
309,030
[ 1, 4625, 348, 7953, 560, 30, 225, 1208, 1191, 3152, 1208, 14583, 1781, 2191, 501, 3273, 273, 533, 12, 21457, 18, 3015, 4420, 329, 2932, 72, 67, 3113, 389, 7175, 10019, 1208, 14583, 1781, 7006, 1208, 463, 7397, 4501, 372, 24237, 2, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 3903, 288, 203, 3639, 2583, 12, 5, 67, 9981, 1781, 67, 12919, 25991, 67, 16, 315, 40, 2311, 7456, 30, 7981, 20305, 67, 12919, 25991, 8863, 203, 3639, 389, 9981, 1781, 67, 12919, 25991, 67, 273, 638, 31, 203, 203, 3639...
/** * This smart contract code is Copyright 2018 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 */ pragma solidity ^0.4.18; /** * @dev Split ether between parties. * @author Token...
@dev Split the ethers, and send to parties according to slices. This can be intentionally invoked by anyone: if some random person wants to pay for the gas, that's good for us.
function split() external { uint256 totalBalance = this.balance; uint256 slice = totalBalance.div(totalSlices); for(uint i=0; i<parties.length; i++) { uint256 amount = slice.mul(parties[i].slices); parties[i].addr.send(amount); emit SplitTo(parties[i].addr, amount); } emit Spl...
1,771,770
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 5385, 326, 13750, 414, 16, 471, 1366, 358, 1087, 606, 4888, 358, 12390, 18, 1377, 1220, 848, 506, 509, 22918, 8187, 635, 1281, 476, 30, 309, 2690, 2744, 6175, 1377, 14805, 358, 8843, 364,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1416, 1435, 3903, 288, 203, 565, 2254, 5034, 2078, 13937, 273, 333, 18, 12296, 31, 203, 565, 2254, 5034, 2788, 273, 2078, 13937, 18, 2892, 12, 4963, 26613, 1769, 203, 203, 565, 364, 12, 11890, 277, 33, 20, 31, 277, 32...
./full_match/1/0x7e3C7C1869E515D2637Ea48eDaf198b186F2c79b/sources/contracts/TimelockController.sol
* @dev Execute an (ready) operation containing a single transaction. Emits a {CallExecuted} event. Requirements: - the caller must have the 'executor' role./
function execute(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt) public payable onlyRole(EXECUTOR_ROLE) { bytes32 id = hashOperation(target, value, data, predecessor, salt); _beforeCall(predecessor); _call(id, 0, target, value, data); _afterCall...
3,199,109
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7903, 392, 261, 1672, 13, 1674, 4191, 279, 2202, 2492, 18, 7377, 1282, 279, 288, 1477, 23839, 97, 871, 18, 29076, 30, 300, 326, 4894, 1297, 1240, 326, 296, 21097, 11, 2478, 18, 19, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1836, 12, 2867, 1018, 16, 2254, 5034, 460, 16, 1731, 745, 892, 501, 16, 1731, 1578, 24282, 16, 1731, 1578, 4286, 13, 1071, 8843, 429, 1338, 2996, 12, 15271, 1693, 916, 67, 16256, 13, 288, 203, 3639, 1731, 1578, 612, 2...
./partial_match/3/0xf74EBa3AEa852d5719Fba0B31dA2Bae2791208b0/sources/FakeComptroller.sol
* @notice Sets liquidationIncentive @dev Admin function to set liquidationIncentive @param newLiquidationIncentiveMantissa New liquidationIncentive scaled by 1e18 @return uint 0=success, otherwise a failure. (See ErrorReporter for details)/ Check caller is admin OR currently initialzing as new unitroller implementation
function _setLiquidationIncentive(uint newLiquidationIncentiveMantissa) external returns (uint) { if (!adminOrInitializing()) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_LIQUIDATION_INCENTIVE_OWNER_CHECK); } Exp memory newLiquidationIncentive = Exp({mantissa: newLiquidatio...
5,056,093
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11511, 4501, 26595, 367, 382, 2998, 688, 632, 5206, 7807, 445, 358, 444, 4501, 26595, 367, 382, 2998, 688, 632, 891, 394, 48, 18988, 350, 367, 382, 2998, 688, 49, 970, 21269, 1166, 4501,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 542, 48, 18988, 350, 367, 382, 2998, 688, 12, 11890, 394, 48, 18988, 350, 367, 382, 2998, 688, 49, 970, 21269, 13, 3903, 1135, 261, 11890, 13, 288, 203, 3639, 309, 16051, 3666, 1162, 29782, 10756, 288, 203, 5411, ...
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.8; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/math/SignedSafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./st...
modulate the opacity
return Shape(position, size, mod.opacity, radius, color);
1,810,918
[ 1, 4625, 348, 7953, 560, 30, 225, 681, 6243, 326, 12636, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 327, 12383, 12, 3276, 16, 963, 16, 681, 18, 19515, 16, 5725, 16, 2036, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...