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
//! The dutch-auction contract. //! //! Copyright 2017 Gavin Wood, Parity Technologies Ltd. //! //! Licensed under the Apache License, Version 2.0 (the "License"); //! you may not use this file except in compliance with the License. //! You may obtain a copy of the License at //! //! http://www.apache.org/licenses/...
The treasury address; where all the Ether goes.
address public treasury;
951,156
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 9787, 345, 22498, 1758, 31, 1625, 777, 326, 512, 1136, 13998, 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, 202, 2867, 1071, 9787, 345, 22498, 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, ...
./full_match/3/0x9c7b99132aCA1247FfF55F726e3001401e0B787F/sources/contracts/SellNFT.sol
Calculating royalty
uint256 royalty = msg.value - cost;
14,170,036
[ 1, 4625, 348, 7953, 560, 30, 225, 15994, 1776, 721, 93, 15006, 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, 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, 3639, 2254, 5034, 721, 93, 15006, 273, 1234, 18, 1132, 300, 6991, 31, 282, 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, -10...
/** *Submitted for verification at Etherscan.io on 2021-12-18 */ // SPDX-License-Identifier: MIT // A WIGZWAXWORKS PARTNERSHIP CONTRACT / FOR BUSINESS ENQUIRIES SEND AN EMAIL TO - [email protected] // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.7.0 <0.8.0; /* * @dev Provides informatio...
THE IPFS URL WILL BE ADDED WHEN ALL OF THE CRYPTOKIWIS ARE SOLD OUT (THIS IS FOR LATE A REVEAL)
string public CRYPTOKIWIS_PROVENANCE = "";
2,064,480
[ 1, 4625, 348, 7953, 560, 30, 225, 12786, 2971, 4931, 1976, 678, 15125, 9722, 11738, 7660, 29707, 8061, 15932, 12786, 31557, 3141, 45, 59, 5127, 432, 862, 348, 11846, 8210, 261, 2455, 5127, 4437, 12108, 511, 1777, 432, 2438, 3412, 1013, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 533, 1071, 31557, 3141, 45, 59, 5127, 67, 3373, 58, 1157, 4722, 273, 1408, 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, ...
./partial_match/1/0xE0daEFcC3f48d1FCa1AF26cEcD4824B9bA2eAC2C/sources/GumToken.sol
* @dev Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero./* @dev Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance./
contract GumToken is ERC20('GumToken', 'GUM', 20e6 * 1e18, address(this)), Ownable { uint private constant teamAllocation = 3e6 * 1e18; uint private constant communityAllocation = 5e4 * 1e18; uint private constant adviserAllocation = 1e6 * 1e18; uint private constant farmingAllocation = 9950000 * 1e18; uint ...
2,803,468
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 512, 7948, 1347, 1375, 1132, 68, 2430, 854, 10456, 628, 1245, 2236, 21863, 2080, 24065, 358, 4042, 21863, 869, 68, 2934, 3609, 716, 1375, 1132, 68, 2026, 506, 3634, 18, 20308, 632, 5206, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 611, 379, 1345, 353, 4232, 39, 3462, 2668, 43, 379, 1345, 2187, 296, 43, 2799, 2187, 4200, 73, 26, 380, 404, 73, 2643, 16, 1758, 12, 2211, 13, 3631, 14223, 6914, 288, 203, 203, 225, 2254, 3238, 5381, 5927, 17353, 273, 89...
./full_match/1/0xfacd2eC4647df2Cb758F684C2aAAB56A93288f9e/sources/contracts/LpTokenFactory.sol
Set the caller as the LP Token's minter.
lpToken.addMinter(msg.sender);
4,938,298
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 4894, 487, 326, 511, 52, 3155, 1807, 1131, 387, 18, 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, ...
[ 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, 12423, 1345, 18, 1289, 49, 2761, 12, 3576, 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, -...
./full_match/5/0x7Dd32d83fDb32988F19Be85DEbf284DdFfA0991a/sources/browser/TMEHatchery.sol
function getTraitAtIndex(uint256 index) public view returns (string memory name, uint8 bitWidth, uint8 offset, bool active){ require(index < numTraits.current(), "invalid index"); return (traits[index].name, traits[index].bitWidth, traits[index].offset, traits[index].active ); }
function setTrait(uint256 index, string memory name, uint8 bitWidth, uint8 offset, bool active) public onlyOwner { require(index < numTraits.current(), "invalid index"); traits[index].name = name; traits[index].bitWidth = bitWidth; traits[index].offset = offset; traits[index]...
1,904,316
[ 1, 4625, 348, 7953, 560, 30, 225, 445, 336, 15525, 24499, 12, 11890, 5034, 770, 13, 1071, 1476, 1135, 261, 1080, 3778, 508, 16, 2254, 28, 2831, 2384, 16, 2254, 28, 1384, 16, 1426, 2695, 15329, 377, 2583, 12, 1615, 411, 818, 30370, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 15525, 12, 11890, 5034, 770, 16, 533, 3778, 508, 16, 2254, 28, 2831, 2384, 16, 2254, 28, 1384, 16, 1426, 2695, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 1615, 411, 818, 30370, 18, 2972, 9334, 315, 5387, 770...
pragma solidity ^0.4.24; //============================================================================== // _ _ _ _|_ _ . // (/_\/(/_| | | _\ . //============================================================================== contract F3Devents { // fired whenever a player registers a name event o...
set up our tx event data and determine if player is new or not fetch player id manage affiliate residuals if no affiliate code was given or player tried to use their own, lolz use last stored affiliate code if affiliate code was given get affiliate ID from aff Code if affID is not the same as previously stored
function buyXaddr(address _affCode, uint256 _team) isActivated() isHuman() isWithinLimits(msg.value) public payable { F3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_); uint256 _pID = pIDxAddr_[msg.sender]; u...
9,851,753
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 731, 3134, 2229, 871, 501, 471, 4199, 309, 7291, 353, 394, 578, 486, 2158, 7291, 612, 10680, 7103, 330, 3840, 29252, 309, 1158, 7103, 330, 3840, 981, 1703, 864, 578, 7291, 12928, 358, 999, 3675...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30143, 60, 4793, 12, 2867, 389, 7329, 1085, 16, 2254, 5034, 389, 10035, 13, 203, 3639, 353, 28724, 1435, 203, 3639, 27803, 6925, 1435, 203, 3639, 353, 18949, 12768, 12, 3576, 18, 1132, 13, 203, 3639, 1071, 203, 3639, 88...
/** *Submitted for verification at Etherscan.io on 2021-06-01 */ //SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual...
Contract implementation We will set a minimum amount of tokens to be swapped
contract SlougINU is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) pr...
10,906,062
[ 1, 4625, 348, 7953, 560, 30, 225, 13456, 4471, 1660, 903, 444, 279, 5224, 3844, 434, 2430, 358, 506, 7720, 1845, 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, 16351, 348, 383, 637, 706, 57, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13...
/** *Submitted for verification at Etherscan.io on 2022-03-27 */ /** https://t.me/ufcentry */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.10; ////// lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) /* pragma solidity ^0.8.0; */ /** * @dev Pr...
* @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 dealing with meta-transactions the account sending and paying for execut...
abstract contract Context { pragma solidity ^0.8.10; function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
7,856,910
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28805, 1779, 2973, 326, 783, 4588, 819, 16, 6508, 326, 5793, 434, 326, 2492, 471, 2097, 501, 18, 21572, 4259, 854, 19190, 2319, 3970, 1234, 18, 15330, 471, 1234, 18, 892, 16, 2898, 1410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 1772, 288, 203, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 2163, 31, 203, 203, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31...
pragma solidity 0.5.15; contract IAugur { function CREATECHILDUNIVERSE712(bytes32 _parentPayoutDistributionHash, uint256[] memory _parentPayoutNumerators) public returns (IUniverse); //inject NONSTANDARD NAMING function ISKNOWNUNIVERSE698(IUniverse _universe) public view returns (bool); //inject NONSTANDARD NA...
inject NONSTANDARD NAMING
function GETUNIVERSE719() public view returns (IUniverse);
2,553,895
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 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, 445, 4978, 10377, 28489, 27, 3657, 1435, 1071, 1476, 1135, 261, 45, 984, 17488, 1769, 202, 2, -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.5.0 <0.6.0; /// @title ERC165Interface /// @dev https://eips.ethereum.org/EIPS/eip-165 interface ERC165Interface { /// @notice Query if a contract implements an interface /// @param interfaceId The interface identifier, as specified in ERC-165 /// @dev Interface identification is speci...
@notice Transfer the power of one Wizard to another. The caller has to be the owner or have approval of the sending Wizard. Both Wizards must be ready (not moldy, ascending or in a duel), and we limit power transfers to happen during Fight Windows (this is important so that power transfers don'...
function giftPower(uint256 sendingWizardId, uint256 receivingWizardId) external onlyWizardController(sendingWizardId) exists(receivingWizardId) duringFightWindow { BattleWizard storage sendingWiz = wizards[sendingWizardId]; BattleWizard storage receivingWiz = wizards[receivingWizardId]; ...
12,784,611
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 12279, 326, 7212, 434, 1245, 678, 13412, 358, 4042, 18, 1021, 4894, 711, 358, 506, 326, 3410, 540, 578, 1240, 23556, 434, 326, 5431, 678, 13412, 18, 19118, 678, 13412, 87, 1297, 506, 569...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 2136, 13788, 12, 11890, 5034, 5431, 27130, 548, 16, 2254, 5034, 15847, 27130, 548, 13, 3903, 203, 3639, 1338, 27130, 2933, 12, 87, 2846, 27130, 548, 13, 1704, 12, 8606, 9288, 27130, 548, 13, 4982, 42, 750, 3829, 20...
./full_match/1/0xDC660020684a3a88754dBd6AcC888ab20C3b78BC/sources/CATMEOW.sol
% to holders % to swap & send to marketing wallet
contract CATMEOW is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; uint8 private _decimals = 9; string private _name = "CAT MEOW"; string private _symbol = "CATM"; uint256 private _tTotal = 1000 * 10**9 * 10**uint256(_decimals); uint256 public defaul...
17,143,180
[ 1, 4625, 348, 7953, 560, 30, 282, 738, 358, 366, 4665, 225, 738, 358, 7720, 473, 1366, 358, 13667, 310, 9230, 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, 6835, 30210, 958, 7306, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 2254, 28, 3238, 389, 31734, 273, 2468, ...
./full_match/137/0xAa6917d9Fb007765F0988A2Bf61Ed86dF3001D7E/sources/project_/contracts/ERC1155SingleURIStorage.sol
* ERC1155 token that stores and handles a single URI It replaces the _uri used in openzeppelin contract, by handling the URI like in ERC721/============================================================= CONSTANTS ==========================================================...
abstract contract ERC1155SingleURIStorage is ERC1155 { using Strings for uint256; string constant private CONTRACT_DEFAULT_METADATA = "contract"; bool public uriFreezed; string public baseURI; string public contractURI; event UriFreezed( string baseURI, string contractURI ...
4,765,596
[ 1, 4625, 348, 7953, 560, 30, 380, 4232, 39, 2499, 2539, 1147, 716, 9064, 471, 7372, 279, 2202, 3699, 2597, 12878, 326, 389, 1650, 1399, 316, 1696, 94, 881, 84, 292, 267, 6835, 16, 635, 5057, 326, 3699, 3007, 316, 4232, 39, 27, 534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 4232, 39, 2499, 2539, 5281, 3098, 3245, 353, 4232, 39, 2499, 2539, 288, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 203, 203, 565, 533, 5381, 3238, 8020, 2849, 1268, 67, 5280, 67, 22746, 273, 315, 16351, 14432, 2...
./full_match/3/0xA3E23D172bd87dAF6BDCce435CA00dA6d94691D8/sources/browser/ShopContract.sol
매점계좌에서 출금하기 address(this).balance -= msg.value;
function withdrawFromShop() public payable Owned { owner.transfer(msg.value); emit Withdraw(address(this), msg.sender, msg.value); }
8,117,746
[ 1, 4625, 348, 7953, 560, 30, 225, 172, 105, 102, 173, 259, 243, 171, 116, 231, 173, 100, 239, 173, 250, 243, 173, 231, 255, 225, 173, 119, 255, 171, 121, 235, 174, 248, 251, 171, 121, 113, 1758, 12, 2211, 2934, 12296, 3947, 1234...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 598, 9446, 1265, 7189, 1435, 1071, 8843, 429, 14223, 11748, 288, 203, 540, 203, 3639, 3410, 18, 13866, 12, 3576, 18, 1132, 1769, 203, 3639, 3626, 3423, 9446, 12, 2867, 12, 2211, 3631, 1234, 18, 15330, 16, 1234, 18, 1132...
./partial_match/4/0x42Fd73F3C98c9896945D8682748e744d91fa9C97/sources/Exchange.sol
* @dev Sets Out Token contract address, in case if proxy contract address changes @param _tokenAddress - new Out Token contract address/
function setOutToken ( address _tokenAddress ) public onlyOwner { require(_tokenAddress.isContract(), "address must be a contract"); outToken = IERC20(_tokenAddress); }
8,668,940
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 2976, 3155, 6835, 1758, 16, 316, 648, 309, 2889, 6835, 1758, 3478, 632, 891, 389, 2316, 1887, 300, 394, 2976, 3155, 6835, 1758, 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, 444, 1182, 1345, 261, 203, 377, 202, 2867, 389, 2316, 1887, 203, 565, 262, 203, 377, 202, 482, 203, 377, 202, 3700, 5541, 203, 565, 288, 203, 377, 202, 6528, 24899, 2316, 1887, 18, 291, 8924, 9334, 315, 2867, 1297, 50...
./partial_match/5/0xBAbB5a6400edd4c180d6cdd5Cba7fC43D60bb1af/sources/Depor6DOSUserBook.sol
* registerLiteNode/获取userId address userAddr=userAddr;copy partnerUser.inviteUserIds[0,length] to selfInviteUserIds[1,max(length+1,5)]6 is max
function registerLiteNodeByAddress( address userAddr, address inviteUserAddress ) external addrNotRegistry whenNotPaused onlyWhitelistAdmin returns (bool) { User memory partnerUser = addrToUser[inviteUserAddress]; if (partnerUser.userId == 0) return false; uint256 realIn...
16,840,025
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 1744, 20291, 907, 19, 169, 241, 120, 166, 242, 249, 18991, 1758, 729, 3178, 33, 1355, 3178, 31, 3530, 19170, 1299, 18, 27154, 1299, 2673, 63, 20, 16, 2469, 65, 358, 365, 22730, 1299, 2673, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 1744, 20291, 907, 858, 1887, 12, 203, 3639, 1758, 729, 3178, 16, 203, 3639, 1758, 19035, 1299, 1887, 203, 565, 262, 3903, 3091, 1248, 4243, 1347, 1248, 28590, 1338, 18927, 4446, 1135, 261, 6430, 13, 288, 203, 3639, 2177, ...
// SPDX-License-Identifier: GPL-3.0-or-later // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is dis...
The buffer is a circular storage structure with 1024 slots. solhint-disable-next-line private-vars-leading-underscore
library Buffer { uint256 internal constant SIZE = 1024; function prev(uint256 index) internal pure returns (uint256) { return sub(index, 1); } function next(uint256 index) internal pure returns (uint256) { return add(index, 1); } function add(uint256 index, uint256 offset) ...
67,566
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 1613, 353, 279, 15302, 2502, 3695, 598, 6250, 12169, 18, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 3238, 17, 4699, 17, 27200, 17, 26843, 3644, 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, 12083, 3525, 288, 203, 565, 2254, 5034, 2713, 5381, 11963, 273, 6250, 31, 203, 203, 203, 203, 203, 565, 445, 2807, 12, 11890, 5034, 770, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 720, 12, 1615, 16, 404, ...
/** *Submitted for verification at Etherscan.io on 2021-06-21 */ pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { ...
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "raichutoken.com / t.me/raichutoken"; symbol = "☝️ RAiCHU"; decimals = 9; _totalSupply = 6000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
6,664,334
[ 1, 4625, 348, 7953, 560, 30, 380, 735, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 288, 203, 3639, 508, 273, 315, 354, 1354, 322, 969, 18, 832, 342, 268, 18, 3501, 19, 354, 1354, 322, 969, 14432, 203, 3639, 3273, 273, 315, 163, 251, 256, 176, 121, 242, 26880, 77, 1792, 57, 14432, 203, ...
pragma solidity ^0.4.24; import "openzeppelin-eth/contracts/math/SafeMath.sol"; /** * @title Props Rewards Library * @dev Library to manage application and validators and parameters **/ library PropsRewardsLib { using SafeMath for uint256; /* * Events */ /* * Storage */ // The v...
Represents daily rewards submissions and confirmations
struct DailyRewards { mapping (bytes32 => Submission) submissions; bytes32[] submittedRewardsHashes; uint256 totalSupply; bytes32 lastConfirmedRewardsHash; uint256 lastApplicationsRewardsDay; }
12,700,594
[ 1, 4625, 348, 7953, 560, 30, 225, 868, 6706, 87, 18872, 283, 6397, 22071, 471, 6932, 1012, 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, 1958, 463, 12857, 17631, 14727, 288, 203, 3639, 2874, 261, 3890, 1578, 516, 2592, 3951, 13, 22071, 31, 203, 3639, 1731, 1578, 8526, 9638, 17631, 14727, 14455, 31, 203, 3639, 2254, 5034, 2078, 3088, 1283, 31, 203, 3639, 1731, 1...
/** *Submitted for verification at Etherscan.io on 2020-07-14 */ /** *Submitted for verification at Etherscan.io on 2019-10-02 */ pragma solidity ^0.5.8; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigne...
* @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend)./
function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); return c; }
12,651,204
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2592, 1575, 87, 2795, 9088, 12321, 16, 15226, 87, 603, 9391, 261, 77, 18, 73, 18, 309, 720, 2033, 25710, 353, 6802, 2353, 1131, 89, 409, 2934, 19, 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, 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, 565, 445, 720, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 70, 1648, 279, 1769, 203, 203, 3639, 327, 276, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, ...
./full_match/1/0x69422c7F237D70FCd55C218568a67d00dc4ea068/sources/contracts/Staking.sol
@notice QWA address
IERC20 public immutable QWA;
16,434,044
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2238, 59, 37, 1758, 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, 467, 654, 39, 3462, 1071, 11732, 2238, 59, 37, 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,...
./partial_match/4/0xBa5Ce7Fce47bb564d8C94f2c69860fA16B161E49/sources/Dgate.sol
The counter starts true to prevent changing it from zero to non-zero (i.e. smaller cost/refund)
uint8 decimals_) public { require(msg.sender == admin, "only admin may initialize the market"); name = name_; symbol = symbol_; decimals = decimals_; _notEntered = true; }
8,737,724
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3895, 2542, 638, 358, 5309, 12770, 518, 628, 3634, 358, 1661, 17, 7124, 261, 77, 18, 73, 18, 10648, 6991, 19, 1734, 1074, 13, 2, 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, 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, 13491, 2254, 28, 15105, 67, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3981, 16, 315, 3700, 3981, 2026, 4046, 326, 13667, 8863, 203, 203, 3639, 508, 273, 508, 67, 31, 203, 3639, 3273, 273, 3273, 67, 31, 203, 3639...
./full_match/43114/0xC1E17b493ef567115e1334130c5418314583009f/sources/MIMTest.sol
* @dev Returns the value stored at position `index` in the set. O(1). Note that there are no guarantees on the ordering of values inside the array, and it may change when more values are added or removed. Requirements: - `index` must be strictly less than {length}./
function at(Bytes4Set storage set, uint256 index) internal view returns (bytes4) { return bytes4(_at(set._inner, index)); }
4,575,648
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 460, 4041, 622, 1754, 1375, 1615, 68, 316, 326, 444, 18, 531, 12, 21, 2934, 3609, 716, 1915, 854, 1158, 28790, 603, 326, 9543, 434, 924, 4832, 326, 526, 16, 471, 518, 2026, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 622, 12, 2160, 24, 694, 2502, 444, 16, 2254, 5034, 770, 13, 203, 565, 2713, 203, 565, 1476, 203, 565, 1135, 261, 3890, 24, 13, 203, 565, 288, 203, 3639, 327, 1731, 24, 24899, 270, 12, 542, 6315, 7872, 16, 770, 10019...
./full_match/80001/0x4a009c0E735B0f3702F0Fe47783e69837e04EC88/sources/contracts/Contract.sol
Fetch the candidate's details from the voters mapping partyCandidates[candidateIndex].stateId = candidateInfo.stateId; partyCandidates[candidateIndex].constituencyId = candidateInfo.constituency; Fetch state and constituency names using their IDs partyCandidates[candidateIndex].stateName = states[candidateInfo.stateI...
function getPartyDetails(uint256 _partyId) external view returns (Party memory, Candidate[] memory) { require(_partyId < partyCount, "ipid"); Candidate[] memory partyCandidates = new Candidate[](candidateCount); uint256 candidateIndex = 0; for (uint256 i = 0; i < candidat...
5,672,290
[ 1, 4625, 348, 7953, 560, 30, 225, 8065, 326, 5500, 1807, 3189, 628, 326, 331, 352, 414, 2874, 18285, 18455, 63, 19188, 1016, 8009, 2019, 548, 273, 5500, 966, 18, 2019, 548, 31, 18285, 18455, 63, 19188, 1016, 8009, 591, 5223, 89, 207...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1689, 7325, 3790, 12, 11890, 5034, 389, 21214, 548, 13, 3903, 225, 1476, 1135, 261, 17619, 3778, 16, 385, 8824, 8526, 3778, 13, 288, 203, 540, 203, 3639, 2583, 24899, 21214, 548, 411, 18285, 1380, 16, 315, 625, 350, 886...
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "./AccountManager.sol"; import "./DocManager.sol"; import "./SaveDocToken.sol"; import "./SaveDocStruct.sol"; /** * @title SAV Doc * @notice Contract used to secure, transfer, share and certify documen...
* @dev Delete certification request @param _certifying certifying of document @param _tokenID ID of token/
function delRequest(address _certifying, uint256 _tokenID) private { delete requests[_certifying][_tokenID]; }
13,069,019
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2504, 3320, 1480, 590, 632, 891, 389, 7593, 1164, 310, 3320, 1164, 310, 434, 1668, 632, 891, 389, 2316, 734, 1599, 434, 1147, 19, 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, 565, 445, 1464, 691, 12, 2867, 389, 7593, 1164, 310, 16, 2254, 5034, 389, 2316, 734, 13, 3238, 203, 565, 288, 203, 3639, 1430, 3285, 63, 67, 7593, 1164, 310, 6362, 67, 2316, 734, 15533, 203, 565, 289, 203, 203, 2, -100, -100, ...
pragma solidity ^0.4.21; contract TripioToken { function transfer(address _to, uint256 _value) public returns (bool); function balanceOf(address who) public view returns (uint256); function transferFrom(address _from, address _to, uint256 _value) public returns (bool); } /** * Owned contract */ contract O...
* Return all the schedules of `_cid` @param _cid The contributor's id @return All the schedules of `_cid`/
function schedules(uint256 _cid) public contributorValid(_cid) view returns(uint256[]) { uint256 count; uint256 index; uint256 next; index = 0; next = scheduleChains[_cid].head; count = scheduleChains[_cid].balance; if (coun...
1,185,823
[ 1, 4625, 348, 7953, 560, 30, 380, 2000, 777, 326, 26720, 434, 1375, 67, 13478, 68, 632, 891, 389, 13478, 1021, 31123, 1807, 612, 632, 2463, 4826, 326, 26720, 434, 1375, 67, 13478, 68, 19, 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, 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, 565, 445, 26720, 12, 11890, 5034, 389, 13478, 13, 7010, 3639, 1071, 7010, 3639, 31123, 1556, 24899, 13478, 13, 7010, 3639, 1476, 7010, 3639, 1135, 12, 11890, 5034, 63, 5717, 288, 203, 3639, 2254, 5034, 1056, 31, 203, 3639, 2254, 50...
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ contract SafeMath { uint256 constant public MAX_UINT256 = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; function safeAdd(uint256 x, uint256 y) pure internal returns (uin...
Contract that is working with ERC223 tokens/
contract ContractReceiver { struct TKN { address sender; uint value; bytes data; bytes4 sig; } function tokenFallback(address _from, uint _value, bytes _data) public pure { TKN memory tkn; tkn.sender = _from; tkn.value = _value; tkn.dat...
10,145,871
[ 1, 4625, 348, 7953, 560, 30, 225, 13456, 716, 353, 5960, 598, 4232, 39, 3787, 23, 2430, 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, 16351, 13456, 12952, 288, 203, 1377, 203, 565, 1958, 399, 47, 50, 288, 203, 3639, 1758, 5793, 31, 203, 3639, 2254, 460, 31, 203, 3639, 1731, 501, 31, 203, 3639, 1731, 24, 3553, 31, 203, 565, 289, 203, 377, 203, 377, 203, 565, ...
pragma solidity 0.5.3; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // G...
* Event for BRP token purchase logging @param purchaser Who paid for the tokens @param beneficiary Who got the tokens @param value Wei paid for purchase @param amount Amount of tokens purchased/* @dev Constructor, calls the inherited classes constructors, stores RentalProcessorToken and determines crowdsale times @para...
{ _rentalProcessorToken = rentalProcessorToken; _privateSaleClosingTime = preSaleOpeningTime - 38 hours; _presaleOpeningTime = preSaleOpeningTime; _crowdsaleRound1OpeningTime = preSaleOpeningTime + 4 weeks; _crowdsaleRound2OpeningTime = preSaleOpeningTime + 10 weeks; }
2,548,616
[ 1, 4625, 348, 7953, 560, 30, 380, 2587, 364, 22427, 52, 1147, 23701, 2907, 632, 891, 5405, 343, 14558, 3497, 83, 30591, 364, 326, 2430, 632, 891, 27641, 74, 14463, 814, 3497, 83, 2363, 326, 2430, 632, 891, 460, 1660, 77, 30591, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 288, 203, 3639, 389, 547, 287, 5164, 1345, 273, 283, 496, 287, 5164, 1345, 31, 203, 203, 3639, 389, 1152, 30746, 15745, 950, 273, 675, 30746, 21378, 950, 300, 18012, 7507, 31, 203, 3639, 389, 12202, 5349, 21378, 950, 273, 67...
pragma solidity ^0.4.18; import "../common/Owned.sol"; import "../token/IERC20Token.sol"; /**@dev This contract holds tokens and unlock at specific dates. unlockDates - array of UNIX timestamps when unlock happens unlockAmounts - total amount of tokens that are unlocked on that date, the last element should equal to ...
amount of tokens already withdrawn
uint256 public alreadyWithdrawn;
1,047,346
[ 1, 4625, 348, 7953, 560, 30, 3844, 434, 2430, 1818, 598, 9446, 82, 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, 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, 2254, 5034, 1071, 1818, 1190, 9446, 82, 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, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0 <0.9.0; /** * @title Lib * @dev A Library used to hold ownership */ contract Lib { uint256 public score; function setScore(uint256 _score) public { score = _score; } } /** * @title VulnerableContract * @dev Contract that is vulnerable...
* @title AttackerContract @dev Used to exploit the delegatecall VulnerableContract has and use it to take ownership/ Make sure the storage layout is the same as VulnerableContract This will allow us to correctly update the state variables
contract AttackerContract { address public lib; address public owner; uint public score; VulnerableContract public vulnerableContract; constructor(VulnerableContract _vulnerableContract) { vulnerableContract = VulnerableContract(_vulnerableContract); } function attack() public { ...
12,730,509
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 6020, 484, 264, 8924, 632, 5206, 10286, 358, 15233, 305, 326, 7152, 1991, 776, 19063, 429, 8924, 711, 471, 999, 518, 358, 4862, 23178, 19, 4344, 3071, 326, 2502, 3511, 353, 326, 1967, 487...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 16351, 6020, 484, 264, 8924, 288, 203, 565, 1758, 1071, 2561, 31, 203, 565, 1758, 1071, 3410, 31, 203, 565, 2254, 1071, 4462, 31, 203, 203, 565, 776, 19063, 429, 8924, 1071, 331, 19063, 429, 8924, 31, 203, 203, 565, 3885, 12, 5...
/** *Submitted for verification at Etherscan.io on 2022-03-25 */ pragma solidity ^0.4.26; contract SafeMath { function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) { c = a + b; require(c >= a); } function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) { ...
------------------------------------------------------------------------ Constructor ------------------------------------------------------------------------
contract NV_ChineseYuan is Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint256 public _totalSupply; mapping(address => uint256) balances; mapping(address => mapping(address => uint256)) allowed; event Transfer(address indexed from, address indexed to...
6,738,941
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 11417, 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, ...
[ 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, 16351, 423, 58, 67, 782, 25331, 61, 89, 304, 353, 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, 5034, 1071, 389, 4963...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol'; import '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol'; import '@openzeppelin/contracts-upgradeable/utils/cryptography/ECDSAUpgradeable.sol'; import './ERC721Upgradeab...
* @dev Returns whether `tokenId` exists. Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. Tokens start existing when they are minted (`_mint`), and stop existing when they are burned (`_burn`)./
function _exists(uint256 tokenId) internal view virtual returns (bool) { require(false, 'Implementation required'); return false; }
121,121
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 2856, 1375, 2316, 548, 68, 1704, 18, 13899, 848, 506, 7016, 635, 3675, 3410, 578, 20412, 9484, 3970, 288, 12908, 537, 97, 578, 288, 542, 23461, 1290, 1595, 5496, 13899, 787, 2062, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1808, 12, 11890, 5034, 1147, 548, 13, 2713, 1476, 5024, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 5743, 16, 296, 13621, 1931, 8284, 203, 203, 3639, 327, 629, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100,...
./partial_match/3/0xf9DeFC04A80F53074D55999DCCFFB1185bb388d8/sources/NNT3_Exchange.sol
our calculation relies on the token supply, so we need supply. Doh.
function sellPrice() public view returns(uint256) { return PurchasecurrentPrice_ ; }
5,080,636
[ 1, 4625, 348, 7953, 560, 30, 225, 3134, 11096, 14719, 281, 603, 326, 1147, 14467, 16, 1427, 732, 1608, 14467, 18, 2256, 76, 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, ...
[ 1, 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, 357, 80, 5147, 1435, 203, 3639, 1071, 1476, 203, 540, 203, 3639, 1135, 12, 11890, 5034, 13, 203, 565, 288, 203, 1377, 327, 26552, 2972, 5147, 67, 274, 203, 565, 289, 203, 27699, 2, -100, -100, -100, -100, -100, -100, ...
./partial_match/5/0x13330f42350E5e12673F67925D07389c5Cd2EcBa/sources/contracts/CryptoDevs.sol
_price is the price of one Crypto Dev NFT _paused is used to pause the contract in case of an emergency max number of CryptoDevs total number of tokenIds minted Whitelist contract instance boolean to keep track of whether presale started or not timestamp for when presale would end
contract CryptoDevs is ERC721Enumerable, Ownable { string _baseTokenURI; uint256 public _price = 0.01 ether; bool public _paused; uint256 public maxTokenIds = 20; uint256 public tokenIds; IWhitelist whitelist; bool public presaleStarted; uint256 public presaleEnded; pragma solidi...
16,856,049
[ 1, 4625, 348, 7953, 560, 30, 282, 389, 8694, 353, 326, 6205, 434, 1245, 15629, 9562, 423, 4464, 389, 8774, 3668, 353, 1399, 358, 11722, 326, 6835, 316, 648, 434, 392, 801, 24530, 943, 1300, 434, 15629, 758, 6904, 2078, 1300, 434, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15629, 758, 6904, 353, 4232, 39, 27, 5340, 3572, 25121, 16, 14223, 6914, 288, 203, 565, 533, 389, 1969, 1345, 3098, 31, 203, 203, 565, 2254, 5034, 1071, 389, 8694, 273, 374, 18, 1611, 225, 2437, 31, 203, 203, 565, 1426, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be...
Validate parameters Update state Notify controller Dispatch event
function removeShares(address account, uint256 amount) public override onlyOwner updateReward(account) { require(amount > 0, 'CFolioFarm: Cannot remove 0'); _totalSupply = _totalSupply.sub(amount); _balances[account] = _balances[account].sub(amount); controller.onWithdraw(amount); ...
1,670,718
[ 1, 4625, 348, 7953, 560, 30, 225, 3554, 1472, 2315, 919, 10918, 2596, 11552, 871, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 24051, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 203, 565, 1071, 203, 565, 3849, 203, 565, 1338, 5541, 203, 565, 1089, 17631, 1060, 12, 4631, 13, 203, 225, 288, 203, 565, 2583, 12, 8949, 405, 374, 16, 296, 8955,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; pragma experimental ABIEncoderV2; //Libraries import "./openzeppelin-solidity/SafeMath.sol"; import "./openzeppelin-solidity/SafeERC20.sol"; //Inheritance import './interfaces/IMarketplace.sol'; import './Ownable.sol'; //Interfaces import './interfaces/IAddres...
* @dev Updates the number of tokens for sale of the given marketplace listing @param asset Address of the token for sale @param index Index of the marketplace listing in the asset's listings array @param newQuantity Number of tokens to sell/
function updateQuantity(address asset, uint index, uint newQuantity) external override isValidAsset(asset) indexInRange(index) onlySeller(asset, index) { require(newQuantity > 0 && newQuantity <= ISellable(asset).balanceOf(msg.sender, marketplaceListings[index].tokenClass), "...
12,744,103
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15419, 326, 1300, 434, 2430, 364, 272, 5349, 434, 326, 864, 29917, 11591, 632, 891, 3310, 5267, 434, 326, 1147, 364, 272, 5349, 632, 891, 770, 3340, 434, 326, 29917, 11591, 316, 326, 3310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 12035, 12, 2867, 3310, 16, 2254, 770, 16, 2254, 394, 12035, 13, 3903, 3849, 4908, 6672, 12, 9406, 13, 770, 25277, 12, 1615, 13, 1338, 22050, 12, 9406, 16, 770, 13, 288, 203, 3639, 2583, 12, 2704, 12035, 405, 374...
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "./SafeMath.sol"; import "./HoldefiOwnable.sol"; /// @notice File: contracts/Holdefi.sol interface HoldefiInterface { struct Market { uint256 totalSupply; uint256 supplyIndex; uint256 supplyIndexUpdateTime; ...
@notice Add a new asset as a collateral @dev Can only be called by the owner @param collateral Address of the new collateral @param valueToLoanRate ValueToLoanRate of the new collateral @param penaltyRate PenaltyRate of the new collateral @param bonusRate BonusRate of the new collateral
function addCollateral ( address collateral, uint256 valueToLoanRate, uint256 penaltyRate, uint256 bonusRate ) external onlyOwner { require (!collateralAssets[collateral].isExist, "SE07"); collateralAssets[collateral].isExist = true; emit CollateralExistenceChanged(collateral, true); setValueTo...
626,497
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1436, 279, 394, 3310, 487, 279, 4508, 2045, 287, 632, 5206, 4480, 1338, 506, 2566, 635, 326, 3410, 632, 891, 4508, 2045, 287, 5267, 434, 326, 394, 4508, 2045, 287, 632, 891, 30605, 1504,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 202, 915, 527, 13535, 2045, 287, 261, 203, 202, 202, 2867, 4508, 2045, 287, 16, 203, 202, 202, 11890, 5034, 30605, 1504, 304, 4727, 16, 203, 202, 202, 11890, 5034, 23862, 4727, 16, 203, 202, 202, 11890, 5034, 324, 22889, 4727, 20...
// The tokens of this contract are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (https://creativecommons.org/licenses/by-nc-sa/4.0/) // SPDX-License-Identifier: CC-BY-NC-SA-4.0 pragma solidity ^0.8.0; import "./LadybugFinances.sol"; /** * @author WrightCode * @t...
* @dev View the royalty recipient and basis values./
function getLadybugRoyaltyInfo() external view returns (address receiver, uint16 basis) { return (_royaltyRecipient, _royaltyBasis); }
10,276,039
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4441, 326, 721, 93, 15006, 8027, 471, 10853, 924, 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, 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, 9014, 361, 93, 925, 54, 13372, 15006, 966, 1435, 3903, 1476, 1135, 261, 2867, 5971, 16, 2254, 2313, 10853, 13, 288, 203, 3639, 327, 261, 67, 3800, 15006, 18241, 16, 389, 3800, 15006, 11494, 291, 1769, 203, 565, 289, 203...
./full_match/1/0x28e12d5079D48BB0a8A20F6F2E6f6d4daA786120/sources/contracts/BlueSubs.sol
* @notice Change the price of an individual specified version @param version The version whose price will change @param newPrice The new price for the version/
function setIndividualPrice(Version version, uint newPrice) external { _enforceAdmin(); _individualPrices[version] = newPrice; }
3,068,984
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 7576, 326, 6205, 434, 392, 7327, 1269, 1177, 632, 891, 1177, 1021, 1177, 8272, 6205, 903, 2549, 632, 891, 394, 5147, 1021, 394, 6205, 364, 326, 1177, 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, 0, 0, 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, 29834, 5147, 12, 1444, 1177, 16, 2254, 394, 5147, 13, 3903, 288, 203, 3639, 389, 275, 5734, 4446, 5621, 203, 3639, 389, 22032, 5557, 31862, 63, 1589, 65, 273, 394, 5147, 31, 203, 565, 289, 203, 203, 2, -100, -100...
pragma solidity 0.4.24; import "../Derivative.sol"; import "../interfaces/IndexInterface.sol"; import "../interfaces/implementations/OlympusExchangeInterface.sol"; import "../interfaces/RebalanceInterface.sol"; import "../interfaces/WithdrawInterface.sol"; import "../interfaces/WhitelistInterface.sol"; import "../inte...
solhint-disable-next-line
function close() OnlyOwnerOrPausedTimeout public returns(bool success) { require(status != DerivativeStatus.New); status = DerivativeStatus.Closed; return true; }
12,944,850
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 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, 445, 1746, 1435, 5098, 5541, 1162, 28590, 2694, 1071, 1135, 12, 6430, 2216, 13, 288, 203, 3639, 2583, 12, 2327, 480, 14969, 427, 1535, 1482, 18, 1908, 1769, 203, 3639, 1267, 273, 14969, 427, 1535, 1482, 18, 7395, 31, 203, 36...
./partial_match/1/0x43E7FA94F0D23de78F8a9bffD4AdB3659C8e57cb/sources/MEMESALVATION.sol
Anti-bot and anti-whale mappings and variables exlcude 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 MEMESALVATION is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public marketingWallet; address public devWallet;...
15,560,795
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 16351, 7733, 958, 55, 1013, 58, 2689, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, ...
./partial_match/1/0x6465F118f0728e521F45385C8AE846410f789602/sources/BitConnectInu.sol
Calculate burn amount
uint256 burnAmount = (amount * burnRate) / 10000;
9,214,482
[ 1, 4625, 348, 7953, 560, 30, 225, 9029, 18305, 3844, 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, 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, 3639, 2254, 5034, 18305, 6275, 273, 261, 8949, 380, 18305, 4727, 13, 342, 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, ...
pragma solidity ^0.4.22; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } func...
* @title Standard ERC20 token @dev Implementation of the basic standard token./ Owner of account approves the transfer of an amount to another account
contract StandardToken is BasicToken, ERC20 { mapping (address => mapping (address => uint256)) allowed; function allowance(address _owner, address _spender) public constant returns(uint256 theAllowance){ return allowed[_owner][_spender]; } function approve(address _spender, uint256 _value) pu...
5,504,620
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 8263, 4232, 39, 3462, 1147, 632, 5206, 25379, 434, 326, 5337, 4529, 1147, 18, 19, 16837, 434, 2236, 6617, 3324, 326, 7412, 434, 392, 3844, 358, 4042, 2236, 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, 8263, 1345, 353, 7651, 1345, 16, 4232, 39, 3462, 288, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 5034, 3719, 2935, 31, 203, 203, 565, 445, 1699, 1359, 12, 2867, 389, 8443, 16, 1758, 389, 87, 1302, 264, 1...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; /* * @dev Provides information about the current execution context. * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { ...
@notice The EIP-712 typehash for the delegation struct used by the contract
bytes32 public constant delegation_typehash = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
163,164
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1021, 512, 2579, 17, 27, 2138, 618, 2816, 364, 326, 23595, 1958, 1399, 635, 326, 6835, 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, ...
[ 1, 1, 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, 1731, 1578, 1071, 5381, 23595, 67, 723, 2816, 273, 417, 24410, 581, 5034, 2932, 26945, 12, 2867, 7152, 73, 16, 11890, 5034, 7448, 16, 11890, 5034, 10839, 2225, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0xed7B4C5597f3574355AE6E404f7d3930A1Ba62FF/sources/contracts/AtomicNFT.sol
* @dev Returns true if the owner as shown a trusted CK proof type/
function isTrustedCK(address addr) public returns (bool) { return ckRegistry.verifications(addr).storedValue & trustedVerificationBits != 0; }
16,415,331
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 638, 309, 326, 3410, 487, 12188, 279, 13179, 11131, 14601, 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, ...
[ 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, 0...
[ 1, 565, 445, 353, 16950, 3507, 12, 2867, 3091, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 327, 12622, 4243, 18, 502, 6640, 12, 4793, 2934, 22601, 620, 473, 13179, 13483, 6495, 480, 374, 31, 203, 565, 289, 203, 203, 2, -100, -1...
pragma solidity ^0.5.10; contract SupplierSelection { // structure of the supplier object struct Supplier { uint id; string name; uint voteCount; } // store the number of suppliers, because (a) in Solidity there is no way to get the size of a hash-table or (b) to be able to iterate over the eleme...
store the different suppliers in hash-table
mapping(uint => Supplier) public suppliers;
7,309,001
[ 1, 4625, 348, 7953, 560, 30, 225, 1707, 326, 3775, 1169, 8127, 414, 316, 1651, 17, 2121, 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, 225, 2874, 12, 11890, 516, 17216, 13, 1071, 1169, 8127, 414, 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, -1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "./IERC20.sol"; import "../access/Ownable.sol"; import "../interfaces/IUniswapV2Pair.sol"; import "../interfaces/IUniswapV2Factory.sol"; import "../interfaces/IUniswapV2Router02.sol"; contract Safe is IERC20, Ownable { mapping(address => uint256) pri...
* @dev Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address./
function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender] + addedValue ); return true; }
5,432,440
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7149, 6478, 7033, 3304, 326, 1699, 1359, 17578, 358, 1375, 87, 1302, 264, 68, 635, 326, 4894, 18, 1220, 353, 392, 10355, 358, 288, 12908, 537, 97, 716, 848, 506, 1399, 487, 279, 20310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10929, 7009, 1359, 12, 2867, 17571, 264, 16, 2254, 5034, 3096, 620, 13, 203, 3639, 1071, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 389, 12908, 537, 12, 203, 5411, 389, 3576, 12021, 9334, 203, 5411, 17571...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contract...
PoolInfo memory _pool = pools[_token];
uint _poolVcashCredit = pools[_token].vcashCredit;
12,003,017
[ 1, 4625, 348, 7953, 560, 30, 225, 8828, 966, 3778, 389, 6011, 273, 16000, 63, 67, 2316, 15533, 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, 2254, 389, 6011, 58, 71, 961, 16520, 273, 16000, 63, 67, 2316, 8009, 4227, 961, 16520, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x81E11c4701C5189b0122ef42DaF1fF3d453D968E/sources/contracts/wallet/base/FallbackManager.sol
solhint-disable-next-line no-inline-assembly
function initializeFallbackHandler(address handler) internal { bytes32 slot = FALLBACK_HANDLER_STORAGE_SLOT; assembly { let encoded := shl(96, handler) sstore(slot, encoded) } }
8,301,824
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 1158, 17, 10047, 17, 28050, 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, 4046, 12355, 1503, 12, 2867, 1838, 13, 2713, 288, 203, 3639, 1731, 1578, 4694, 273, 478, 4685, 8720, 67, 19937, 67, 19009, 67, 55, 1502, 56, 31, 203, 3639, 19931, 288, 203, 5411, 2231, 3749, 519, 699, 80, 12, 10525, 1...
pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. ...
ERC20 vRADAR used for DAO voting power
contract VotingRadarV1 is ERC20 { address public RADAR = 0xf9FBE825BFB2bF3E387af0Dc18caC8d87F29DEa8; address public owner; event TokensLocked(address who, uint256 amount); event TokensUnlocked(address who, uint256 amount); function _beforeTokenTransfer( address from, address to, ...
14,625,614
[ 1, 4625, 348, 7953, 560, 30, 225, 4232, 39, 3462, 331, 28829, 985, 1399, 364, 463, 20463, 331, 17128, 7212, 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, 16351, 776, 17128, 6621, 297, 58, 21, 353, 4232, 39, 3462, 288, 203, 203, 565, 1758, 1071, 534, 1880, 985, 273, 374, 5841, 29, 42, 5948, 28, 2947, 15259, 38, 22, 70, 42, 23, 41, 7414, 27, 1727, 20, 40, 71, 2643, 5353, 39, 2...
pragma solidity ^0.5.10; /** @title OnDemandSPV */ /** @author Summa (https://summa.one) */ import {Relay} from "./Relay.sol"; import {ISPVRequestManager, ISPVConsumer} from "./Interfaces.sol"; import {BytesLib} from "@summa-tx/bitcoin-spv-sol/contracts/BytesLib.sol"; import {BTCUtils} from "@summa-tx/bitcoin-spv-so...
@notice Subscribe to a feed of Bitcoin txns matching a request @dev The request can be a spent utxo and/or a created utxo @param _spends An outpoint that must be spent in acceptable txns (optional) @param _pays An output script that must be paid in acceptable txns...
function _request( bytes memory _spends, bytes memory _pays, uint64 _paysValue, address _consumer, uint8 _numConfs, uint256 _notBefore ) internal returns (uint256) { uint256 _requestID = nextID; nextID = nextID + 1; bytes memory pays = _pay...
12,594,018
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1171, 18014, 358, 279, 4746, 434, 24420, 2229, 2387, 3607, 279, 590, 632, 5206, 10792, 1021, 590, 848, 506, 279, 26515, 5218, 25272, 471, 19, 280, 279, 2522, 5218, 25272, 632, 891, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2293, 12, 203, 3639, 1731, 3778, 389, 87, 1302, 87, 16, 203, 3639, 1731, 3778, 389, 84, 8271, 16, 203, 3639, 2254, 1105, 389, 84, 8271, 620, 16, 203, 3639, 1758, 389, 13230, 16, 203, 3639, 2254, 28, 389, 2107, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.11; import "./AggregatorV3Interface.sol"; // VERY IMPORTANT: UNCOMMENT THIS LATER // VERY IMPORTANT: UNCOMMENT THIS LATER // VERY IMPORTANT: UNCOMMENT THIS LATER // VERY IMPORTANT: UNCOMMENT THIS LATER // VERY IMPORTANT: UNCOMMENT THIS LATER // VERY IMPORTANT: UNC...
VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMMENT THIS LATER VERY IMPORTANT: UNCOMME...
function getDecimals() public pure returns (uint8) { return 8; }
15,867,877
[ 1, 4625, 348, 7953, 560, 30, 225, 6422, 61, 21840, 6856, 30, 5019, 12200, 20676, 511, 13641, 6422, 61, 21840, 6856, 30, 5019, 12200, 20676, 511, 13641, 6422, 61, 21840, 6856, 30, 5019, 12200, 20676, 511, 13641, 6422, 61, 21840, 6856, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 31809, 1435, 1071, 16618, 1135, 261, 11890, 28, 13, 288, 203, 3639, 327, 1725, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
Градоначальник , выступая с обзором основных городских событий , поведал об этом депутатам (ПОВЕДАТЬ ОБ)
rus_verbs:ПОВЕДАТЬ{},
5,487,524
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 246, 146, 227, 145, 113, 145, 117, 145, 127, 145, 126, 145, 113, 146, 234, 145, 113, 145, 124, 146, 239, 145, 126, 145, 121, 145, 123, 269, 225, 145, 115, 146, 238, 146, 228, 146, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 258, 145, 257, 145, 245, 145, 248, 145, 247, 145, 243, 145, 100, 145, 110, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0x5d880cfc028bFDD083B0D3dAf57286141596D4E9/sources/contracts/IvstSale.sol
* @notice Computes the next vesting schedule identifier for a given holder address @return The id string/
function computeNextVestingScheduleIdForHolder(address _holder) public view returns (bytes32) { return computeVestingScheduleIdForAddressAndIndex(_holder, holdersVestingCount[_holder]); }
17,165,276
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 14169, 281, 326, 1024, 331, 10100, 4788, 2756, 364, 279, 864, 10438, 1758, 632, 2463, 1021, 612, 533, 19, 2, 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, 3671, 2134, 58, 10100, 6061, 548, 1290, 6064, 12, 2867, 389, 4505, 13, 1071, 1476, 1135, 261, 3890, 1578, 13, 288, 203, 3639, 327, 3671, 58, 10100, 6061, 548, 1290, 1887, 1876, 1016, 24899, 4505, 16, 366, 4665, 58, 1010...
pragma solidity ^0.6.0; ...
inject NONSTANDARD NAMING
function LOG40(address p0, bool p1, address p2) internal view {
1,018,955
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 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, 202, 915, 2018, 7132, 12, 2867, 293, 20, 16, 1426, 293, 21, 16, 1758, 293, 22, 13, 2713, 1476, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xa6Ec49E06C25F63292bac1Abc1896451A0f4cFB7/sources/ERC20Plus.sol
Admin Mint Functions* @dev Mints tokens to an address. This is owner only and allows a fee-free drop @param _to address of the future owner of the token @param _qty amount of tokens to drop the owner in decimal value (wei typically 1e18)/
function adminMint(address _to, uint256 _qty) public onlyTeamOrOwner{ if(_qty < 1 ether) revert MintZeroQuantity(); if(!canMintAmount(_qty)) revert CapExceeded(); _mint(_to, _qty); }
15,666,065
[ 1, 4625, 348, 7953, 560, 30, 225, 7807, 490, 474, 15486, 14, 632, 5206, 490, 28142, 2430, 358, 392, 1758, 18, 1220, 353, 3410, 1338, 471, 5360, 279, 14036, 17, 9156, 3640, 632, 891, 389, 869, 1758, 434, 326, 3563, 3410, 434, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3981, 49, 474, 12, 2867, 389, 869, 16, 2254, 5034, 389, 85, 4098, 13, 1071, 1338, 8689, 1162, 5541, 95, 203, 3639, 309, 24899, 85, 4098, 411, 404, 225, 2437, 13, 15226, 490, 474, 7170, 12035, 5621, 203, 3639, 309, 12,...
./full_match/97/0x346fa0A6f1B77F294Ea799BEdE9473280b3eFFAe/sources/contracts/ERC1155.sol
* @dev 返回ERC1155的id种类代币的uri,存储metadata,类似ERC721的tokenURI./
function uri(uint256 id) public view virtual override returns (string memory) { string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, id.toString())) : ""; }
5,045,512
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 225, 169, 128, 247, 166, 254, 257, 654, 39, 2499, 2539, 168, 253, 231, 350, 168, 105, 240, 168, 114, 124, 165, 124, 101, 166, 121, 228, 168, 253, 231, 1650, 176, 125, 239, 166, 260, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2003, 12, 11890, 5034, 612, 13, 1071, 1476, 5024, 3849, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 533, 3778, 1026, 3098, 273, 389, 1969, 3098, 5621, 203, 3639, 327, 1731, 12, 1969, 3098, 2934, 2469, 405, 374, 692, 533,...
./full_match/1/0xE702BA65dEdc278535De1D6aE288AB495347a140/sources/src/uniswapv3lpETHLinkOnly.sol
send liquidity back to user
_sendToOwner(tokenId, amount0, amount1);
9,804,475
[ 1, 4625, 348, 7953, 560, 30, 225, 1366, 4501, 372, 24237, 1473, 358, 729, 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, 3639, 389, 4661, 774, 5541, 12, 2316, 548, 16, 3844, 20, 16, 3844, 21, 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, -100, ...
/** Telegram: https://t.me/pootokenerc Website: https://pootoken.co */ // SPDX-License-Identifier: MIT pragma solidity 0.8.9; abstract contract Context { function _msgSender() ...
remove limits after token is stable
function removeLimits() external onlyOwner returns (bool){ limitsInEffect = false; gasLimitActive = false; transferDelayEnabled = false; return true; }
1,832
[ 1, 4625, 348, 7953, 560, 30, 225, 1206, 8181, 1839, 1147, 353, 14114, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 12768, 1435, 3903, 1338, 5541, 1135, 261, 6430, 15329, 203, 3639, 8181, 382, 12477, 273, 629, 31, 203, 3639, 16189, 3039, 3896, 273, 629, 31, 203, 3639, 7412, 6763, 1526, 273, 629, 31, 203, 3639, 327, 638, 31, 203...
./partial_match/1/0x136aFEcaE61b0bfB27e94006BE2D274D7631eB0E/sources/samurai3d.sol
when first id = 100
return currentIndex - 100;
9,343,886
[ 1, 4625, 348, 7953, 560, 30, 225, 1347, 1122, 612, 273, 2130, 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, 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, 3639, 327, 17032, 300, 2130, 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, -100, ...
./full_match/5/0x76f7e6979430990e32aBFe0437AbDf1b8633d27e/sources/contracts/StakingContract.sol
Iterate through all user's deposits to withdraw all funds Create an array for all msg.senders deposits Iterate through the list and withdraw all
function withdrawAll() public virtual { uint256[] memory depositIds = allUsersDeposits[msg.sender].values(); require(depositIds.length > 0, "No Withdrawals Avaialable"); for (uint256 i = 0; i < depositIds.length; i++) { if (depositIds[i] != 0) { withdrawPosition(...
7,059,353
[ 1, 4625, 348, 7953, 560, 30, 225, 11436, 3059, 777, 729, 1807, 443, 917, 1282, 358, 598, 9446, 777, 284, 19156, 1788, 392, 526, 364, 777, 1234, 18, 4661, 414, 443, 917, 1282, 11436, 3059, 326, 666, 471, 598, 9446, 777, 2, 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, 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, 598, 9446, 1595, 1435, 1071, 5024, 288, 203, 3639, 2254, 5034, 8526, 3778, 443, 1724, 2673, 273, 777, 6588, 758, 917, 1282, 63, 3576, 18, 15330, 8009, 2372, 5621, 203, 3639, 2583, 12, 323, 1724, 2673, 18, 2469, 405, 374...
./partial_match/42/0x4283b75BC37Bc205378352049F91eb5b4f4b05D7/sources/YUANRebaser.sol
twice daily rebase, with targeting reaching peg in 5 days
rebaseLag = 10;
3,450,757
[ 1, 4625, 348, 7953, 560, 30, 225, 13605, 18872, 283, 1969, 16, 598, 31490, 9287, 310, 29231, 316, 1381, 4681, 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, 3639, 283, 1969, 26093, 273, 1728, 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, ...
./full_match/4/0xA86fe9E36eCbc951103AA2Fd8302d3eD7aEA10f6/sources/NEST36Update.sol
输入ntoken地址 判断第一个 判断其他
function setNtokenList(address[] memory _tokenList, address[] memory _nTokenList) public onlyOwner { uint256 tokenLength = _tokenList.length; require(tokenLength == _nTokenList.length, "!length"); require(_tokenList[0]==usdtAddress, "!usdt"); require(_nTokenList[0]==nestAddress, "!ne...
645,434
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 169, 127, 246, 166, 232, 103, 496, 969, 166, 255, 113, 166, 256, 227, 225, 166, 235, 102, 167, 249, 260, 168, 110, 110, 165, 121, 227, 165, 121, 108, 225, 166, 235, 102, 167, 249, 260, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 444, 50, 2316, 682, 12, 2867, 8526, 3778, 389, 2316, 682, 16, 1758, 8526, 3778, 389, 82, 1345, 682, 13, 1071, 1338, 5541, 288, 203, 3639, 2254, 5034, 1147, 1782, 273, 389, 2316, 682, 18, 2469, 31, 203, 3639, 2583, 12,...
/** *Submitted for verification at Etherscan.io on 2018-12-08 */ pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 ||...
* @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/ Check is not needed because sub(_allowance, _value) will already throw if this...
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); uint256 _allowance = allowed[_from][msg.sender]; balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = _allowanc...
1,353,748
[ 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, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 13, 288, 203, 565, 2583, 24899, 869, 480, 1758, 12, 20, 10019, 203, 203, 565, 2254, 5034, 389, 5965, 1359, 273...
pragma solidity ^0.4.18; /** * @title SafeMath * @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...
0xBTC is 0xb6ed7644c69416d67b522e20bc294a9a9b405b31;
contract MiningKing { using SafeMath for uint; address public miningKing; address public minedToken; event TransferKing(address from, address to); constructor(address mintableToken) public { minedToken = mintableToken; } function() public payable { revert(); } function getKi...
1,784,866
[ 1, 4625, 348, 7953, 560, 30, 225, 374, 20029, 15988, 353, 374, 6114, 26, 329, 27, 22087, 71, 8148, 24, 2313, 72, 9599, 70, 25, 3787, 73, 3462, 13459, 5540, 24, 69, 29, 69, 29, 70, 24, 6260, 70, 6938, 31, 2, 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, 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, 16351, 5444, 310, 47, 310, 282, 288, 203, 203, 203, 225, 1450, 14060, 10477, 364, 2254, 31, 203, 203, 203, 282, 1758, 1071, 1131, 310, 47, 310, 31, 203, 203, 282, 1758, 1071, 1131, 329, 1345, 31, 203, 203, 203, 282, 871, 12279,...
./full_match/1/0x7ACC7382E1816c8432074874503E2460E987148C/sources/src/PurchasingCenter.sol
* @dev Function to (re)set the commodityPrice. Once the sale has started you cannot change the commodity price. commodityPrice must be set with 8 decimals, which is the amount of decimals For the price of eth returned by the Chainlink:/
function setCommodityPrice( uint256 price ) external onlyOwner whenNotStarted { commodityPrice = price; emit NewCommodityPriceSet(price); }
2,930,606
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 261, 266, 13, 542, 326, 1543, 369, 560, 5147, 18, 12419, 326, 272, 5349, 711, 5746, 1846, 2780, 2549, 326, 1543, 369, 560, 6205, 18, 1543, 369, 560, 5147, 1297, 506, 444, 598...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 799, 1711, 560, 5147, 12, 203, 3639, 2254, 5034, 6205, 203, 565, 262, 3903, 1338, 5541, 1347, 1248, 9217, 288, 203, 3639, 1543, 369, 560, 5147, 273, 6205, 31, 203, 3639, 3626, 1166, 799, 1711, 560, 5147, 694, 12, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/acces...
depositinfo callid for action callback
uint256 public constant FILDA_DEPOSIT_CALLID = 16;
1,032,135
[ 1, 4625, 348, 7953, 560, 30, 225, 443, 1724, 1376, 745, 350, 364, 1301, 1348, 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, 5381, 8445, 9793, 67, 1639, 28284, 67, 13730, 734, 273, 2872, 31, 4202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/42/0x93d8Fd6A5782611FeF86A336Fa993aEc371CE633/sources/OLZ2.sol
* @dev Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used throug...
contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () internal { address msgSender = msg.sender; owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } modifier onlyOwner...
3,312,444
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 1605, 1492, 8121, 279, 5337, 2006, 3325, 12860, 16, 1625, 1915, 353, 392, 2236, 261, 304, 3410, 13, 716, 848, 506, 17578, 12060, 2006, 358, 2923, 4186, 18, 2525, 805, 16, 326, 3410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14223, 6914, 288, 203, 565, 1758, 1071, 3410, 31, 203, 203, 565, 871, 14223, 9646, 5310, 1429, 4193, 12, 2867, 8808, 2416, 5541, 16, 1758, 8808, 394, 5541, 1769, 203, 203, 565, 3885, 1832, 2713, 288, 203, 3639, 1758, 1234, ...
pragma solidity ^0.6.6; import "./Address.sol"; import "./BokkyPooBahsDateTimeLibrary.sol"; import "./Strings.sol"; /** * @title ACOFactory * @dev The contract is the implementation for the ACOProxy. */ contract ACOFactory { /** * @dev Emitted when the factory admin address has been changed. * @...
* @dev Function to set the ACO destination address. Only can be called by the factory admin. @param newAcoFeeDestination Address of the new ACO destination./
function setAcoFeeDestination(address newAcoFeeDestination) onlyFactoryAdmin external virtual { _setAcoFeeDestination(newAcoFeeDestination); }
238,147
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 444, 326, 432, 3865, 2929, 1758, 18, 5098, 848, 506, 2566, 635, 326, 3272, 3981, 18, 632, 891, 394, 37, 2894, 14667, 5683, 5267, 434, 326, 394, 432, 3865, 2929, 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, 444, 37, 2894, 14667, 5683, 12, 2867, 394, 37, 2894, 14667, 5683, 13, 1338, 1733, 4446, 3903, 5024, 288, 203, 3639, 389, 542, 37, 2894, 14667, 5683, 12, 2704, 37, 2894, 14667, 5683, 1769, 203, 565, 289, 203, 377, 203, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./libs/IERC20.sol"; import "./libs/SafeERC20.sol"; import "./libs/IArcadiumReferral.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./MyFriendsToken.sol"; import "./Arcadi...
arcadiumPending can't be zero
safeTokenTransfer(address(arcadium), msg.sender, arcadiumPending);
7,292,330
[ 1, 4625, 348, 7953, 560, 30, 225, 8028, 361, 5077, 8579, 848, 1404, 506, 3634, 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, 5411, 4183, 1345, 5912, 12, 2867, 12, 11828, 361, 5077, 3631, 1234, 18, 15330, 16, 8028, 361, 5077, 8579, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/4/0xA42e1Fa47208874B8620890C293E89F49Cd5843E/sources/contracts/BSTICKS.sol
@notice Claim Breadsticks for a given NFOG ID @param tokenId The tokenId of the NFOG NFT Further Checks, Effects, and Interactions are contained within the _claim() function
function claimById(uint256 tokenId) external { require(_msgSender() == nfogAirdropWallet, "Can only be initiated by NFOG wallet"); require(bsticksPerNFOG <= balanceOf(nfogAirdropWallet), "NFOG Airdrop Wallet doesn't have enough $BSTICK for this claim"); require(tokenId >= 0 && tokenId <= 879...
697,567
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 18381, 605, 896, 334, 20642, 364, 279, 864, 423, 3313, 43, 1599, 632, 891, 1147, 548, 1021, 1147, 548, 434, 326, 423, 3313, 43, 423, 4464, 478, 8753, 13074, 16, 30755, 87, 16, 471, 529...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 7516, 5132, 12, 11890, 5034, 1147, 548, 13, 3903, 288, 203, 3639, 2583, 24899, 3576, 12021, 1435, 422, 290, 617, 75, 37, 6909, 1764, 16936, 16, 315, 2568, 1338, 506, 27183, 635, 423, 3313, 43, 9230, 8863, 203, 3639, 258...
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'APEc' 'ApeCash Coin' token contract // // Symbol : APEc // Name : ApeCash Coin // Total supply: 250,000,000.000000000000000000 // Decimals : 18 // // Save Primates. // // (c) The ApeC...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and a fixed supply ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Constructor -...
contract apeCashCoin is ERC20Interface, Owned { using SafeMath for uint; string public symbol; string public name; uint8 public decimals; uint public _totalSupply = 250000000000000000000000000; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; c...
5,540,691
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 279, 5499, 14467, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 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, 16351, 279, 347, 39, 961, 27055, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 508, 31, 203, 565, 2254, 28, 1071, 15105, ...
/** * Kleros Liquid * https://contributing.kleros.io/smart-contract-workflow * @reviewers: [@clesaege] * @auditors: [] * @bounties: [{duration: 14days, link: https://github.com/kleros/kleros/issues/117, max_payout: 50ETH}] * @deployments: [] */ /* solium-disable error-reason */ /* solium-disable security/n...
* @dev Passes the phase. TRUSTED */
function passPhase() external { if (phase == Phase.staking) { require(now - lastPhaseChange >= minStakingTime, "The minimum staking time has not passed yet."); require(disputesWithoutJurors > 0, "There are no disputes that need jurors."); RNBlock = block.number + 1; ...
5,495,851
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10311, 281, 326, 6855, 18, 4235, 5996, 2056, 1195, 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, 445, 1342, 11406, 1435, 3903, 288, 203, 3639, 309, 261, 13961, 422, 19459, 18, 334, 6159, 13, 288, 203, 5411, 2583, 12, 3338, 300, 1142, 11406, 3043, 1545, 1131, 510, 6159, 950, 16, 315, 1986, 5224, 384, 6159, 813, 711, 486,...
/** *Submitted for verification at Etherscan.io on 2021-09-15 */ // File @openzeppelin/contracts/utils/introspection/[email protected] // SPDX-License-Identifier: MIT pragma solidity 0.8.6; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Impleme...
* @notice Calculate the currently available number of reserved tokens for Genesis CyberKongz token holders @return Reserved mint available/
function kongHoldersMintsAvailable() external view returns (uint256) { return reservedAllowance - reserveMinted; }
2,050,343
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9029, 326, 4551, 2319, 1300, 434, 8735, 2430, 364, 31637, 22337, 744, 47, 932, 94, 1147, 366, 4665, 632, 2463, 16237, 312, 474, 2319, 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, 417, 932, 27003, 49, 28142, 5268, 1435, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 8735, 7009, 1359, 300, 20501, 49, 474, 329, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x307a56F06698703D99F25FDc0036e95320ec75Cd/sources/contracts/NFTcontract.sol
============ FUNCTION TO UPDATE REVEAL STATUS ============
function updateReveal(bool _reveal) external onlyOwner { revealStatus = _reveal; }
8,398,111
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 631, 13690, 8493, 11028, 2438, 3412, 1013, 7136, 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...
[ 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, 1089, 426, 24293, 12, 6430, 389, 266, 24293, 13, 3903, 1338, 5541, 288, 203, 3639, 283, 24293, 1482, 273, 389, 266, 24293, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// File: iface/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Retur...
Query factory contract address
function getPTokenFactory() public view returns(address) { return address(pTokenFactory); }
45,219
[ 1, 4625, 348, 7953, 560, 30, 225, 2770, 3272, 6835, 1758, 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, 1689, 1345, 1733, 1435, 1071, 1476, 1135, 12, 2867, 13, 288, 203, 3639, 327, 1758, 12, 84, 1345, 1733, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0x75F0fd7EEa619D45f2C3207E3b30b97534c42f78/sources/SafeMath.sol
* @dev Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restor...
library SafeMath { pragma solidity ^0.8.8; function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint...
2,648,714
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4266, 10422, 1879, 348, 7953, 560, 1807, 30828, 5295, 598, 3096, 9391, 4271, 18, 27443, 5295, 316, 348, 7953, 560, 2193, 603, 9391, 18, 1220, 848, 17997, 563, 316, 22398, 16, 2724, 5402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 12083, 14060, 10477, 288, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 28, 31, 203, 203, 565, 445, 527, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 27...
./full_match/1/0x5F11CA08264f315b7a67948263dBFC00aCff5dE8/sources/contracts/stakingNFT/HelixChefNFT.sol
Called by the owner to add an accruer
function addAccruer(address _address) external onlyOwner onlyValidAddress(_address) { EnumerableSetUpgradeable.add(_accruers, _address); emit AddAccruer(msg.sender, _address); }
4,822,292
[ 1, 4625, 348, 7953, 560, 30, 225, 11782, 635, 326, 3410, 358, 527, 392, 4078, 86, 6211, 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, 527, 8973, 86, 6211, 12, 2867, 389, 2867, 13, 3903, 1338, 5541, 1338, 1556, 1887, 24899, 2867, 13, 288, 203, 3639, 6057, 25121, 694, 10784, 429, 18, 1289, 24899, 8981, 8653, 414, 16, 389, 2867, 1769, 203, 3639, 3626, 14...
./full_match/1/0x9965cCd16803432C6a0842f1D5690f32E427aEDd/sources/contracts/LiveMintTokyo.sol
* @dev Overrides An Artist/
function __OverrideArtist(uint ArtistID, Artist memory NewArtist) external onlyOwner { Artists[ArtistID] = NewArtist; }
8,470,946
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 531, 9857, 1922, 9042, 376, 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, ...
[ 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, 445, 1001, 6618, 4411, 376, 12, 11890, 9042, 376, 734, 16, 9042, 376, 3778, 1166, 4411, 376, 13, 3903, 1338, 5541, 288, 9042, 1486, 63, 4411, 376, 734, 65, 273, 1166, 4411, 376, 31, 289, 203, 2, -100, -100, -100, -100, -10...
pragma solidity 0.4.24; pragma experimental "v0.5.0"; /* Copyright 2018 dYdX Trading Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENS...
Before doStoreNewPosition() so that PositionOpened event is before Transferred events
{ BorrowShared.Tx memory transaction = parseOpenTx( addresses, values256, values32, depositInHeldToken, signature ); require( !MarginCommon.positionHasExisted(state, transaction.positionId), "OpenPositionImp...
1,594,110
[ 1, 4625, 348, 7953, 560, 30, 225, 11672, 741, 2257, 1908, 2555, 1435, 1427, 716, 11010, 23115, 871, 353, 1865, 2604, 4193, 2641, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 605, 15318, 7887, 18, 4188, 3778, 2492, 273, 1109, 3678, 4188, 12, 203, 5411, 6138, 16, 203, 5411, 924, 5034, 16, 203, 5411, 924, 1578, 16, 203, 5411, 443, 1724, 382, 44, 488, 1345, 16, 203, 5411, 3372, 203...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; /// @title JPEGCardsCigStak...
@notice Allows the DAO to pause deposits/withdrawals
function pause() external onlyOwner { _pause(); }
1,740,069
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 25619, 326, 463, 20463, 358, 11722, 443, 917, 1282, 19, 1918, 9446, 1031, 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,...
[ 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, 0...
[ 1, 565, 445, 11722, 1435, 3903, 1338, 5541, 288, 203, 3639, 389, 19476, 5621, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/** *Submitted for verification at Etherscan.io on 2021-05-20 */ // File: src/contracts/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, ...
constructor() ERC1155("https:mintlit.com/metadata/polygon/{id}") {
admin = msg.sender;
2,019,181
[ 1, 4625, 348, 7953, 560, 30, 225, 3885, 1435, 4232, 39, 2499, 2539, 2932, 4528, 30, 81, 474, 24235, 18, 832, 19, 4165, 19, 20917, 4938, 350, 1532, 13, 288, 2, 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, 3981, 273, 1234, 18, 15330, 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, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.5.17; interface IERC20 { function TOTALSUPPLY668() external view returns (uint256); //inject NONSTANDARD NAMING function BALANCEOF477(address account) external view returns (uint256); //inject...
inject NONSTANDARD NAMING
function TRANSFER143(address recipient, uint256 amount) external returns (bool);
14,109,625
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 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, 445, 4235, 17598, 28643, 12, 2867, 8027, 16, 2254, 5034, 3844, 13, 3903, 1135, 261, 6430, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/42/0x598884ccEfDEaE1F80872d82632C22f79Acbc0a6/sources/contracts/LegoConstruct.sol
* @notice Join a brick collection. @dev This ends up calling `LegoGraph.addBrick` with the same parameters. Check that contract for definitions of these params./
function join( uint graphID, uint legoID, uint baseLegoID, uint rotation, uint[] calldata connections ) public requireLego(legoID) { graph.addBrick( graphID, baseLegoID, legoID, rotation, connecti...
16,291,233
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 4214, 279, 5186, 1200, 1849, 18, 632, 5206, 1220, 3930, 731, 4440, 1375, 8329, 83, 4137, 18, 1289, 19114, 1200, 68, 598, 326, 1967, 1472, 18, 2073, 716, 6835, 364, 6377, 434, 4259, 859, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 1233, 12, 203, 3639, 2254, 2667, 734, 16, 203, 3639, 2254, 884, 3240, 734, 16, 203, 3639, 2254, 1026, 8329, 83, 734, 16, 203, 3639, 2254, 6752, 16, 203, 3639, 2254, 8526, 745, 892, 5921, 203, 3639, 262, 1071, 2583, 83...
pragma solidity 0.4.24; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two ...
@return current tier stats index of current tiers, if 100000(cannot use -1) then initial sale is finished works only during the initial phase
function getCurrentTierStats() public view returns (uint256 indexInner, uint256 indexOuter, uint256 availableInner, uint256 availableInOuter, uint256 priceInCenter, uint256 priceInOuter, uint256 nextPriceInCenter, uint256 nextPriceInOuter) { indexInner = 100000; indexOuter = 100000; for (u...
462,081
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2463, 783, 17742, 3177, 770, 434, 783, 11374, 414, 16, 309, 25259, 12, 12892, 999, 300, 21, 13, 1508, 2172, 272, 5349, 353, 225, 6708, 6330, 1338, 4982, 326, 2172, 6855, 2, 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, 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, 5175, 15671, 4195, 1435, 1071, 1476, 1135, 261, 11890, 5034, 770, 2857, 16, 2254, 5034, 770, 15040, 16, 2254, 5034, 2319, 2857, 16, 2254, 5034, 2319, 382, 15040, 16, 2254, 5034, 6205, 382, 8449, 16, 2254, 5034, 6205, 382,...
/** *Submitted for verification at Etherscan.io on 2022-01-02 */ // SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _H...
Reserved Quantity for Presales
uint256 public NFTReservedForPresales = 2500;
7,794,062
[ 1, 4625, 348, 7953, 560, 30, 16237, 18189, 364, 18346, 5408, 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, 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, 225, 2254, 5034, 1071, 423, 4464, 10435, 1290, 12236, 5408, 273, 6969, 713, 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, ...
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // &#39;DHANACOIN&#39; token contract // // Deployed to : 0xa8ec2e3E55f3ed24350fB5e2BE515ca2C61EDa86 // Symbol : DHX // Name : DHANA COIN // Total supply: 1000000000 // Decimals : 18 // // Enjoy. // ...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract DHANACOIN 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 DHANACOIN() public { symbol = "DHX"...
15,349,694
[ 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, 24141, 1258, 2226, 6266, 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,...
// File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 v...
* @dev Returns the number of free mints claimed by the approved alpha aloha holders/
function alohaAlphaMintsClaimed(address aaAddress) public view returns(uint256){ return _approvedAlohaAlphaHolders[aaAddress].mintCount; }
9,938,796
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 1300, 434, 4843, 312, 28142, 7516, 329, 635, 326, 20412, 4190, 279, 383, 3395, 366, 4665, 19, 2, 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, 279, 383, 3395, 9690, 49, 28142, 9762, 329, 12, 2867, 12391, 1887, 13, 1071, 1476, 1135, 12, 11890, 5034, 15329, 203, 3639, 327, 389, 25990, 37, 383, 3395, 9690, 27003, 63, 7598, 1887, 8009, 81, 474, 1380, 31, 203, 565,...
./partial_match/1/0x4b21da40Dd8d9F4363e69A9a1620D7cdb49123be/sources/StakingPools.sol
@dev Claims all rewarded tokens from a pool. The pool and stake MUST be updated before calling this function. @param _poolId The pool to claim rewards from. @notice use this function to claim the tokens from a corresponding pool by ID.
function _claim(uint256 _poolId) internal { require(!pause, "StakingPools: emergency pause enabled"); Pool.Data storage _pool = _pools.get(_poolId); Stake.Data storage _stake = _stakes[msg.sender][_poolId]; uint256 _claimAmount = _stake.totalUnclaimed; _stake.totalUnclaimed = 0; if(_pool.ne...
2,757,070
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 28895, 777, 283, 11804, 2430, 628, 279, 2845, 18, 1021, 2845, 471, 384, 911, 10685, 506, 3526, 1865, 4440, 333, 445, 18, 632, 891, 389, 6011, 548, 1021, 2845, 358, 7516, 283, 6397, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 225, 445, 389, 14784, 12, 11890, 5034, 389, 6011, 548, 13, 2713, 288, 203, 565, 2583, 12, 5, 19476, 16, 315, 510, 6159, 16639, 30, 801, 24530, 11722, 3696, 8863, 203, 203, 565, 8828, 18, 751, 2502, 389, 6011, 273, 389, 27663, 1...
pragma solidity ^0.4.23; /** * @title SafeMath * @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 c) { if (a == 0) { return 0; ...
* @dev Returns coinage for the caller address @param _address address The address for which coinage will be calculated/
function coinAgeForAddress(address _address) public view onlyOwner returns (uint256) { return getCoinAgeInternal(_address, now); }
12,071,728
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 13170, 410, 364, 326, 4894, 1758, 632, 891, 389, 2867, 1758, 1021, 1758, 364, 1492, 13170, 410, 903, 506, 8894, 19, 2, 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, 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...
[ 1, 565, 445, 13170, 9692, 1290, 1887, 12, 2867, 389, 2867, 13, 1071, 1476, 1338, 5541, 1135, 261, 11890, 5034, 13, 288, 203, 540, 327, 1927, 885, 9692, 3061, 24899, 2867, 16, 2037, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100,...
pragma solidity ^0.4.24; /** * @title ERC721 Non-Fungible Token Standard Basic Interface * @dev Based on openzepplin open source ERC721 examples. * See (https://github.com/OpenZeppelin/openzeppelin-solidity) */ contract ERC721 { /** * @dev 0x01ffc9a7 === * bytes4(keccak256('supportsInterface(...
* @notice Get the approved address for PixelCon `(_tokenId)` @dev Throws if the PixelCon does not exist @param _tokenId ID of the token @return Address currently approved for the given PixelCon/
function getApproved(uint256 _tokenId) public view validId(_tokenId) returns(address) { address owner = tokenLookup[_tokenId].owner; require(owner != address(0), "PixelCon does not exist"); return tokenApprovals[_tokenId]; }
1,804,990
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 326, 20412, 1758, 364, 26070, 442, 1375, 24899, 2316, 548, 22025, 632, 5206, 22435, 309, 326, 26070, 442, 1552, 486, 1005, 632, 891, 389, 2316, 548, 1599, 434, 326, 1147, 632, 2463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 202, 915, 336, 31639, 12, 11890, 5034, 389, 2316, 548, 13, 1071, 1476, 923, 548, 24899, 2316, 548, 13, 1135, 12, 2867, 13, 203, 202, 95, 203, 202, 202, 2867, 3410, 273, 1147, 6609, 63, 67, 2316, 548, 8009, 8443, 31, 203, 202, ...
./partial_match/80001/0x6fa9CF4755C180bDddd74847BA1c95587701516A/sources/FakeStrategy.sol
Controller only function for creating additional rewards from dust
function withdraw(IERC20 _asset) external returns (uint balance) { require(msg.sender == controller, "!controller"); require(want != address(_asset), "want"); balance = _asset.balanceOf(address(this)); _asset.transfer(controller, balance); }
8,823,766
[ 1, 4625, 348, 7953, 560, 30, 225, 6629, 1338, 445, 364, 4979, 3312, 283, 6397, 628, 302, 641, 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, 598, 9446, 12, 45, 654, 39, 3462, 389, 9406, 13, 3903, 1135, 261, 11890, 11013, 13, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 2596, 16, 17528, 5723, 8863, 203, 3639, 2583, 12, 17369, 480, 1758, 24899, 9406, 3631, ...
./full_match/1/0x60B3F97f8C4a8D4acF38ee93bCf29324Cc2A9213/sources/contracts/ETH/convex/DOLA-FRAXBP/convexDFYeller.sol
View function for ZAP contract
function getUserAmount(uint256 _pid, address _user) public view returns (uint256) { return userInfo[_pid][_user].amount; }
16,611,152
[ 1, 4625, 348, 7953, 560, 30, 225, 4441, 445, 364, 2285, 2203, 6835, 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, 4735, 6275, 12, 11890, 5034, 389, 6610, 16, 1758, 389, 1355, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 16753, 63, 67, 6610, 6362, 67, 1355, 8009, 8949, 31, 203, 565, 289, 203, 203, 2, -100, -100...
// Sources flattened with hardhat v2.8.0 https://hardhat.org // File @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol@v4.4.1 // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type *...
* @dev Initializes the contract setting the deployer as the initial owner./
function __initializeOwnable(address sender) public initializer { _owner = sender; emit OwnershipTransferred(address(0), _owner); }
5,442,024
[ 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, 445, 1001, 11160, 5460, 429, 12, 2867, 5793, 13, 1071, 12562, 288, 203, 3639, 389, 8443, 273, 5793, 31, 203, 3639, 3626, 14223, 9646, 5310, 1429, 4193, 12, 2867, 12, 20, 3631, 389, 8443, 1769, 203, 565, 289, 203, 203, 2, -...
// SPDX-License-Identifier: MIT // File @openzeppelin/contracts/token/ERC20/IERC20.sol@v3.4.1 pragma solidity >=0.6.0 <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() ex...
share = boostAmouont * boostRate + lpAmount
uint256 boostRate;
6,268,810
[ 1, 4625, 348, 7953, 560, 30, 225, 7433, 273, 14994, 9864, 1395, 1580, 380, 14994, 4727, 397, 12423, 6275, 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, ...
[ 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, 2254, 5034, 14994, 4727, 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, -100...
/** ___ _ _ _ _ _ _ / _ \ | | | (_) | | | (_) / /_\ \ ___ ___ | | | |_ _ __ ___ | | ___ _ __ __| |_ _ __ __ _ | _ |/ __/ _ \ | |/\| | | '_ \/ __| | | / _ \ '_ \ / _` | | '_ \ / _` | |...
* The number of the current cycle. Increases by 1 each month.**/* The address of the casino contract.**/* The Edgeless casino token contract **/* The sum of the initial stakes per cycle **/* The sum of the final stakes per cycle **/* The sum of the user stakes currently on the contract **/* the number of stake holders ...
function AceWinsLending(address tokenAddr, address casinoAddr) public { token = Token(tokenAddr); casino = Casino(casinoAddr); maxUpdates = 200; maxBatchAssignment = 200; cards = msg.sender; cycle = 1; }
5,471,517
[ 1, 4625, 348, 7953, 560, 30, 380, 1021, 1300, 434, 326, 783, 8589, 18, 657, 1793, 3304, 635, 404, 1517, 3138, 18, 636, 20308, 1021, 1758, 434, 326, 8697, 15020, 6835, 18, 636, 20308, 1021, 6651, 75, 12617, 8697, 15020, 1147, 6835, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 432, 311, 59, 2679, 48, 2846, 12, 2867, 1147, 3178, 16, 1758, 8697, 15020, 3178, 13, 1071, 288, 203, 565, 1147, 273, 3155, 12, 2316, 3178, 1769, 203, 565, 8697, 15020, 273, 23561, 15020, 12, 6349, 15020, 3178, 1769, 203...
// File: contracts/external/openzeppelin-solidity/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 ...
@dev Adds new member role @param _roleName New role name @param _roleDescription New description hash @param _authorized Authorized member against every role idsolhint-disable-line
function addRole( bytes32 _roleName, string memory _roleDescription, address _authorized ) public onlyAuthorizedToGovern { _addRole(_roleName, _roleDescription, _authorized); }
1,108,010
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 15605, 394, 3140, 2478, 632, 891, 389, 4615, 461, 1166, 2478, 508, 632, 891, 389, 4615, 3291, 1166, 2477, 1651, 632, 891, 389, 8434, 6712, 1235, 3140, 5314, 3614, 2478, 3258, 355, 11317, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 527, 2996, 12, 203, 3639, 1731, 1578, 389, 4615, 461, 16, 203, 3639, 533, 3778, 389, 4615, 3291, 16, 203, 3639, 1758, 389, 8434, 203, 565, 262, 1071, 1338, 15341, 774, 43, 1643, 82, 288, 203, 3639, 389, 1289, 2996, 24...
./full_match/5/0xF19747EB85f5BA19AA2B8912577E50FB3395C035/sources/contracts/RafflesF.sol
Add the player to the playerSelector array
raffles[_eventId].playerSelector.push(participant);
1,877,372
[ 1, 4625, 348, 7953, 560, 30, 225, 1436, 326, 7291, 358, 326, 7291, 4320, 526, 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, 5411, 767, 1403, 1040, 63, 67, 2575, 548, 8009, 14872, 4320, 18, 6206, 12, 2680, 14265, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/1/0x3b985118468164b310C5254b0710888dd57c7599/sources/contracts/pool/PoolBase.sol
@notice Internal function that is called at each action to check for zero/warning/default utilization
function _checkUtilization() internal { if (_info.borrows == 0) { _info.enteredProvisionalDefault = 0; if (_info.enteredZeroUtilization == 0) { _info.enteredZeroUtilization = block.timestamp; } return; } _info.enteredZeroUtiliz...
3,086,585
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 3186, 445, 716, 353, 2566, 622, 1517, 1301, 358, 866, 364, 3634, 19, 8551, 19, 1886, 1709, 1588, 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, 389, 1893, 29180, 1435, 2713, 288, 203, 3639, 309, 261, 67, 1376, 18, 70, 280, 3870, 422, 374, 13, 288, 203, 5411, 389, 1376, 18, 2328, 329, 9679, 287, 1868, 273, 374, 31, 203, 5411, 309, 261, 67, 1376, 18, 2328, 32...
pragma solidity ^0.5.0; interface ICustodian { function users(uint) external returns(address); function totalUsers() external returns (uint); function totalSupplyA() external returns (uint); function totalSupplyB() external returns (uint); function balanceOf(uint, address) external returns (uint); functi...
@dev get addressPool size
function getAddressPoolSizes() public view returns (uint, uint) { return (addrPool[COLD_POOL_IDX].length, addrPool[HOT_POOL_IDX].length); }
12,803,798
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 336, 1758, 2864, 963, 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, 202, 915, 14808, 2864, 11923, 1435, 1071, 1476, 1135, 261, 11890, 16, 2254, 13, 288, 203, 202, 202, 2463, 261, 4793, 2864, 63, 4935, 40, 67, 20339, 67, 25647, 8009, 2469, 16, 3091, 2864, 63, 44, 1974, 67, 20339, 67, 25647, 8009, ...