file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./partial_match/1/0x420D08Dad4fcd7896500d5E183D8BA934c919220/sources/EaselyFixedCollection.sol
@notice Generates a pseudo random number based on arguments with decent entropy @param max The maximum value we want to receive @return A random number less than the max
function _random(uint256 max) internal view returns (uint256) { if (max == 0) { return 0; } uint256 rand = uint256( keccak256( abi.encode( msg.sender, block.difficulty, block.timestamp, ...
2,825,437
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 31902, 279, 12454, 2744, 1300, 2511, 603, 1775, 598, 2109, 319, 15943, 632, 891, 943, 1021, 4207, 460, 732, 2545, 358, 6798, 632, 2463, 432, 2744, 1300, 5242, 2353, 326, 943, 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, 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, 9188, 12, 11890, 5034, 943, 13, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 1896, 422, 374, 13, 288, 203, 5411, 327, 374, 31, 203, 3639, 289, 203, 203, 3639, 2254, 5034, 5605, 273, 2254, 503...
./full_match/3/0x4fbE4eeC75FB837176c5E0E86683671704AAbd35/sources/contracts/Obscurite.sol
* @param newmaxPurchase The new maximum number of NFT that can be minted per transaction. @dev Sets the new maximum number of NFT purchases per transaction. @dev Can only be called by owner./
function setmaxPurchase(uint256 newmaxPurchase) public onlyOwner { maxPurchase = newmaxPurchase; }
8,164,343
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 891, 394, 1896, 23164, 1021, 394, 4207, 1300, 434, 423, 4464, 716, 848, 506, 312, 474, 329, 1534, 2492, 18, 632, 5206, 11511, 326, 394, 4207, 1300, 434, 423, 4464, 5405, 343, 3304, 1534, 2492, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 444, 1896, 23164, 12, 11890, 5034, 394, 1896, 23164, 13, 1071, 1338, 5541, 288, 203, 3639, 943, 23164, 273, 394, 1896, 23164, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: UNLICENSED // Copyright (c) WildCredit - All rights reserved // https://twitter.com/WildCredit pragma solidity 0.8.6; import "TransferHelper.sol"; import "SafeOwnable.sol"; import "IFeeRecipient.sol"; contract FeeRecipient is IFeeRecipient, TransferHelper, SafeOwnable { address publi...
Push any ERC20 token to FeeConverter
function pushToken(address _token, uint _amount) external override onlyConverter { _safeTransfer(_token, feeConverter, _amount); }
1,367,281
[ 1, 4625, 348, 7953, 560, 30, 225, 8547, 1281, 4232, 39, 3462, 1147, 358, 30174, 5072, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1817, 1345, 12, 2867, 389, 2316, 16, 2254, 389, 8949, 13, 3903, 3849, 1338, 5072, 288, 203, 565, 389, 4626, 5912, 24899, 2316, 16, 14036, 5072, 16, 389, 8949, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, ...
./full_match/7001/0x40aF9F5720d7C573d06F9D2003Aa1d7dD60eD97B/sources/contracts/Bitsave.sol
********------ Constants ------********
string public constant JON = "JON";
13,228,882
[ 1, 4625, 348, 7953, 560, 30, 225, 380, 27243, 13093, 5245, 31913, 1644, 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, 533, 1071, 5381, 804, 673, 273, 315, 46, 673, 14432, 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, -10...
pragma solidity ^0.4.24; contract RSEvents { // fired whenever a player registers a name event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, ...
distribute gen portion to key holders
round_.mask = _ppt.add(round_.mask);
533,584
[ 1, 4625, 348, 7953, 560, 30, 225, 25722, 3157, 14769, 358, 498, 366, 4665, 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, 3643, 27799, 4455, 273, 389, 84, 337, 18, 1289, 12, 2260, 27799, 4455, 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, -1...
// SPDX-License-Identifier: No License // File: utils/math/SafeMath.sol pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * N...
* @dev Transfers `tokenId` from `from` to `to`. As opposed to {transferFrom}, this imposes no restrictions on msg.sender. Requirements: - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. Emits a {Transfer} event./ Clear approvals from the previous owner
function _transfer(address from, address to, uint256 tokenId) internal virtual { require(MerkleAllowableRegisterV2.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenI...
5,944,010
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2604, 18881, 1375, 2316, 548, 68, 628, 1375, 2080, 68, 358, 1375, 869, 8338, 225, 2970, 1061, 7423, 358, 288, 13866, 1265, 5779, 333, 709, 10522, 1158, 17499, 603, 1234, 18, 15330, 18, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 1147, 548, 13, 2713, 5024, 288, 203, 3639, 2583, 12, 8478, 15609, 31508, 3996, 58, 22, 18, 8443, 951, 12, 2316, 548, 13, 422, 628, 16, 315, 654, 39, 27, 5340...
./full_match/43114/0xD7c45c551A8dB06c2a30dAa75Ef09c5d655975F6/sources/contracts/AvaX.sol
Token InfoDivider for the buyLimit based on circulating Supply (1%)Divider for the MaxBalance based on circulating Supply (1.5%)Divider for the Whitelist MaxBalance based on initial Supply(1.5%)Divider for sellLimit based on circulating Supply (0.75%)Sellers get locked for MaxSellLockTime so they can't dump repeatedly ...
{ using Address for address; using EnumerableSet for EnumerableSet.AddressSet; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => uint256) private _sellLock; mapping (address => bool) public wListed; ...
4,505,292
[ 1, 4625, 348, 7953, 560, 30, 3155, 3807, 25558, 364, 326, 30143, 3039, 2511, 603, 5886, 1934, 1776, 3425, 1283, 261, 21, 9, 13, 25558, 364, 326, 4238, 13937, 2511, 603, 5886, 1934, 1776, 3425, 1283, 261, 21, 18, 25, 9, 13, 25558, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 95, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 6057, 25121, 694, 364, 6057, 25121, 694, 18, 1887, 694, 31, 203, 377, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 565, 2874, 261, 2867,...
pragma solidity >=0.6.0 <0.9.0; /** * SAFEMATH LIBRARY */ library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub...
_balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); uint256 amountReceived = shouldTakeFee(sender) ? takeFee(sender, recipient, amount) : amount; _balances[recipient] = _balances[recipient].add(amountReceived); emit Transfer(sender, recipient, amountReceived); checkHolderList(sender); checkHolde...
function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) { }
910,929
[ 1, 4625, 348, 7953, 560, 30, 225, 389, 70, 26488, 63, 15330, 65, 273, 389, 70, 26488, 63, 15330, 8009, 1717, 12, 8949, 16, 315, 5048, 11339, 30918, 8863, 2254, 5034, 3844, 8872, 273, 1410, 13391, 14667, 12, 15330, 13, 692, 4862, 146...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 1265, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 13, 2713, 1135, 261, 6430, 13, 288, 203, 203, 203, 203, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/* * This code has not been reviewed. * Do not use or deploy this code before reviewing it personally first. */ pragma solidity >=0.6.0 <0.9.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@c...
0x55 funds locked (lockup period)
require(_defaultPartitions.length > 1, "55");
13,112,447
[ 1, 4625, 348, 7953, 560, 30, 225, 374, 92, 2539, 202, 74, 19156, 8586, 261, 739, 416, 3879, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 2583, 24899, 1886, 13738, 18, 2469, 405, 404, 16, 315, 2539, 8863, 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, -...
./full_match/1/0xfDA0Da7E45dDCFBaDA35BF01Dd2C85bA881FAef3/sources/contracts/MaximPresale.sol
Function for purchasing tokens params - _tokenId for checking if address owns NFT/
function nftHolderPurchase() external payable nonReentrant whenNotPaused { require(getNFTBalanceOfAddress(msg.sender) > 0, "ERROR 421: Address does not own NFT."); _purchase(); }
16,557,798
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 364, 5405, 343, 11730, 2430, 859, 300, 389, 2316, 548, 364, 6728, 309, 1758, 29065, 423, 4464, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 290, 1222, 6064, 23164, 1435, 3903, 8843, 429, 1661, 426, 8230, 970, 1347, 1248, 28590, 288, 203, 3639, 2583, 12, 588, 50, 4464, 13937, 951, 1887, 12, 3576, 18, 15330, 13, 405, 374, 16, 315, 3589, 1059, 5340, 30, 5267, ...
// SPDX-License-Identifier: MIT /* ████ ████ ██████ ██████ ████████ ████████ ██████████████████████ ██████████████████████ ██████ ██████ ██████ ██████ ██ ██ ██████ ██████████████████████████ ██████████ ...
Fri Jan 07 2022 12:00:00 GMT-0500 (Eastern Standard Time)
startTimeOfStaking = 1641574800;
13,991,706
[ 1, 4625, 348, 7953, 560, 30, 225, 478, 566, 23214, 10934, 26599, 22, 2593, 30, 713, 30, 713, 21706, 17, 6260, 713, 261, 41, 2440, 82, 8263, 2647, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 8657, 951, 510, 6159, 273, 404, 1105, 3600, 5608, 17374, 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, ...
./full_match/11155111/0x6165aA9A34DBc9b171b6B0b2aF0ad08E2d930F30/sources/project:/contracts/vaultAnalyzer/VaultAnalizer.sol
* Function to get the amount of tokens generated by depositing the underlying assets @param _assets List of assets to be deposited/
function previewDeposit( uint256[] memory _assets, address vault ) public view returns (uint256) { Token[] memory tokens = getTokens(vault); uint256 maxMintable = 0; if (_assets.length != tokens.length) return maxMintable; maxMintable = _assets[0] / tokens[0].allocation; for (uint256 i =...
3,808,623
[ 1, 4625, 348, 7953, 560, 30, 380, 4284, 358, 336, 326, 3844, 434, 2430, 4374, 635, 443, 1724, 310, 326, 6808, 7176, 632, 891, 389, 9971, 987, 434, 7176, 358, 506, 443, 1724, 329, 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, 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, 225, 445, 10143, 758, 1724, 12, 203, 565, 2254, 5034, 8526, 3778, 389, 9971, 16, 203, 565, 1758, 9229, 203, 225, 262, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 3155, 8526, 3778, 2430, 273, 18349, 12, 26983, 1769, 203...
./full_match/11155111/0x298F37fFd4B31d216B8954968cEe7EC5273CB891/sources/src/Drips.sol
@notice Maximum number of streams receivers of a single account. Limits cost of changes in streams configuration. @notice The additional decimals for all amtPerSec values. @notice The multiplier for all amtPerSec values. @notice Maximum number of splits receivers of a single account. Limits the cost of splitting. @not...
struct DripsStorage { uint32 nextDriverId; mapping(uint32 driverId => address) driverAddresses; mapping(IERC20 erc20 => Balance) balances;
3,819,314
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 18848, 1300, 434, 8205, 22686, 434, 279, 2202, 2236, 18, 27240, 6991, 434, 3478, 316, 8205, 1664, 18, 632, 20392, 1021, 3312, 15105, 364, 777, 25123, 2173, 2194, 924, 18, 632, 20392, 1021,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1958, 463, 566, 1121, 3245, 288, 203, 3639, 2254, 1578, 1024, 4668, 548, 31, 203, 3639, 2874, 12, 11890, 1578, 3419, 548, 516, 1758, 13, 3419, 7148, 31, 203, 3639, 2874, 12, 45, 654, 39, 3462, 6445, 71, 3462, 516, 30918, 1...
./full_match/5/0xd507cebBd76bFA8ef39562282a2c8EdD4Fc68D77/sources/project_/contracts/BaseContracts/Base721A.sol
@notice The rate of mints per user
mapping(Phase => mapping(address => uint256)) public _mintsPerUser;
1,901,204
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1021, 4993, 434, 312, 28142, 1534, 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, ...
[ 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, 2874, 12, 11406, 516, 2874, 12, 2867, 516, 2254, 5034, 3719, 1071, 389, 81, 28142, 2173, 1299, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/1/0x1BC85741e7612083E7A2B6d76B75aE4ec7D44cA8/sources/ERC20.sol
* @dev Sets the values for {name} and {symbol}. All two of these values are immutable: they can only be set once during construction./
constructor() { _name = "SHIB"; _symbol = "SHIB"; _totalSupply = 1000000000 * 10 ** 18; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
15,476,150
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 924, 364, 288, 529, 97, 471, 288, 7175, 5496, 4826, 2795, 434, 4259, 924, 854, 11732, 30, 2898, 848, 1338, 506, 444, 3647, 4982, 16171, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 288, 203, 3639, 389, 529, 273, 315, 2664, 13450, 14432, 203, 3639, 389, 7175, 273, 315, 2664, 13450, 14432, 203, 3639, 389, 4963, 3088, 1283, 273, 15088, 3784, 380, 1728, 2826, 6549, 31, 203, 3639, 389, 70, 26488, ...
pragma solidity ^0.4.11; contract HouseICO { function name() constant returns (string) { return "House"; } function symbol() constant returns (string) { return "HSE"; } function decimals() constant returns (uint8) { return 0; } uint256 public INITIAL_SUPPLY; uint256 public totalSupply; u...
Send owner of contract all starting tokens
balances[msg.sender] = INITIAL_SUPPLY;
7,790,883
[ 1, 4625, 348, 7953, 560, 30, 2479, 3410, 434, 6835, 777, 5023, 2430, 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, 202, 70, 26488, 63, 3576, 18, 15330, 65, 273, 28226, 67, 13272, 23893, 31, 1082, 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.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) { // Gas optimization: this is cheaper than ...
* @dev fallback function DO NOT OVERRIDE/
function () whenNotPaused external payable { buyTokens(msg.sender); }
566,219
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5922, 445, 5467, 4269, 22577, 25382, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1832, 1347, 1248, 28590, 3903, 8843, 429, 288, 203, 565, 30143, 5157, 12, 3576, 18, 15330, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/5/0x84Ff2c20810186E663955A8841295dE5C2f248b7/sources/HealthCare.sol
Mapping to store records
mapping (uint256 => Record) public _records;
16,836,515
[ 1, 4625, 348, 7953, 560, 30, 225, 9408, 358, 1707, 3853, 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, 2874, 261, 11890, 5034, 516, 5059, 13, 1071, 389, 7094, 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...
pragma solidity ^0.4.25; /* * ---How to use: * 1. Send from ETH wallet to the smart contract address any amount ETH. * 2a. Claim your profit by sending 0 ether transaction (1 time per 12 hour) * OR * 2b. Send more ether to reinvest AND get your profit * 2c. If you hold, the percentage grows * 3. If you earn...
2.4% per day or 0.1% per hours
uint public highBalanceBonus = 100;
12,605,695
[ 1, 4625, 348, 7953, 560, 30, 225, 576, 18, 24, 9, 202, 457, 2548, 202, 202, 280, 225, 202, 20, 18, 21, 9, 202, 457, 7507, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 11890, 1071, 3551, 13937, 38, 22889, 273, 2130, 31, 1082, 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,...
/* _________-----_____ _____------ __ ----_ ___---- ___------ \ ----________ ---- \ -----__ | _____) __- / \ _______----- ___-- \ /)\ -...
exclude from paying fees or having max transaction amount
constructor() ERC20("Gang DAO", "GANG") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUni...
544,338
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 3462, 2932, 43, 539, 463, 20463, 3113, 315, 43, 3388, 7923, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, 58, 22, 8...
./full_match/80001/0x197D234F93722FaB2D090370900FC5A648Db3b55/sources/contracts/LoePools.sol
* @notice reads total withdrawn amount by the receiver from the pool/
function getTotalWithdrawn(address receiver, uint256 poolId) external view returns (uint256 _totalWithdrawn) { uint256 maxPoolId = poolBalance.length; require(poolId < maxPoolId, "LoePools: Invalid poolId"); WithdrawalsPointer storage _totalWithdrawnPointer = totalWithdrawn[receiver]; ...
5,682,786
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 6838, 2078, 598, 9446, 82, 3844, 635, 326, 5971, 628, 326, 2845, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12831, 1190, 9446, 82, 12, 2867, 5971, 16, 2254, 5034, 2845, 548, 13, 3903, 1476, 1135, 261, 11890, 5034, 389, 4963, 1190, 9446, 82, 13, 288, 203, 3639, 2254, 5034, 943, 25136, 273, 2845, 13937, 18, 2469, 31, 203, 3639,...
./full_match/1/0x2cfe1C35bb695d4eff2736054EAc3B6CE4DeA90B/sources/project:/contracts/lending/ZhartaLending.sol
@title Zharta Lending @notice Manages creating and repaying a loan on Zharta
contract ZhartaLending is INFTLending { using SafeERC20 for IERC20; ILoansPeripheral public constant loansPeripheral = ILoansPeripheral(0xaF2F471d3B46171f876f465165dcDF2F0E788636); ILoansCore public constant loansCore = ILoansCore(0x5Be916Cff5f07870e9Aef205960e07d9e287eF27); address p...
4,992,147
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 2285, 76, 485, 69, 511, 2846, 632, 20392, 490, 940, 281, 4979, 471, 2071, 528, 310, 279, 28183, 603, 2285, 76, 485, 69, 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, 16351, 2285, 76, 485, 69, 48, 2846, 353, 2120, 4464, 48, 2846, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 467, 1504, 634, 2173, 4337, 287, 1071, 5381, 437, 634, 2173, 4337, 287, 273, ...
pragma solidity ^0.5.0; // Copyright 2017 OpenST 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/LICENSE-2.0 // // Unless required by applica...
Events */ Storage */* EIP20 token contract that can be staked. */ Public functions */* @notice Contract constructor. @dev Sets the protocol and the EIP20 token to stake. @param _eip20Token EIP20 token that will be staked. @param _gateway Gateway contract that governs staking./
{ eip20Token = _eip20Token; gateway = _gateway; }
2,510,622
[ 1, 4625, 348, 7953, 560, 30, 225, 9043, 1195, 5235, 1195, 14, 512, 2579, 3462, 1147, 6835, 716, 848, 506, 384, 9477, 18, 1195, 7224, 4186, 1195, 14, 225, 632, 20392, 13456, 3885, 18, 225, 632, 5206, 11511, 326, 1771, 471, 326, 512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 425, 625, 3462, 1345, 273, 389, 73, 625, 3462, 1345, 31, 203, 3639, 6878, 273, 389, 11127, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x3061579E7dF4e618D9b657ccdE6c52Fb4ca0d439/sources/contracts/UncleBondCvxConvex.sol
The amount of CVX that needs to remain unlocked for redemptions
uint256 public outstandingRedemptions;
9,187,541
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3844, 434, 385, 58, 60, 716, 4260, 358, 7232, 25966, 364, 283, 19117, 573, 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,...
[ 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, 2254, 5034, 1071, 20974, 426, 19117, 573, 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, ...
/** *Submitted for verification at Etherscan.io on 2022-01-18 */ /** *Submitted for verification at Etherscan.io on 2020-09-18 */ pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------...
* Constructor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "Itsroom Coin Token"; symbol = "PRT"; decimals = 18; _totalSupply = 9900000000000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
10,632,940
[ 1, 4625, 348, 7953, 560, 30, 380, 11417, 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, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 45, 3428, 13924, 28932, 3155, 14432, 203, 3639, 3273, 273, 315, 8025, 56, 14432, 203, 3639, 15105, 273, 6549, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 14605, 12648, 12648, 278...
// SPDX-License-Identifier: NOLICENSE // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&.(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
Split the contract balance into halves
function swapAndLiquify(uint256 tokens) private lockTheSwap{ uint256 denominator = (taxes.liquidity + taxes.dev + taxes.charity + taxes.marketing ) * 2; uint256 tokensToAddLiquidityWith = tokens * taxes.liquidity / denominator; uint256 toSwap = tokens - tokensToAddLiquidityWith; uin...
12,810,345
[ 1, 4625, 348, 7953, 560, 30, 225, 5385, 326, 6835, 11013, 1368, 19514, 3324, 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, 7720, 1876, 48, 18988, 1164, 12, 11890, 5034, 2430, 13, 3238, 2176, 1986, 12521, 95, 203, 3639, 2254, 5034, 15030, 273, 261, 8066, 281, 18, 549, 372, 24237, 397, 5320, 281, 18, 5206, 397, 5320, 281, 18, 3001, 560, 397, ...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.7.6; pragma abicoder v2; import "@chainlink/contracts/src/v0.7/interfaces/KeeperRegistryInterface.sol"; import "@chainlink/contracts/src/v0.7/interfaces/AggregatorV3Interface.sol"; import "./LimitOrderMonitor.sol"; /// @title LimitOrderMonitorChainlink...
TODO override for chainlink (use fast gas)
function _getGasPrice(uint256 _txnGasPrice) internal virtual view returns (uint256 gasPrice) { gasPrice = _txnGasPrice > 0 ? _txnGasPrice : 0; }
6,078,683
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 3849, 364, 2687, 1232, 261, 1202, 4797, 16189, 13, 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, 389, 588, 27998, 5147, 12, 11890, 5034, 389, 24790, 27998, 5147, 13, 2713, 5024, 1476, 203, 565, 1135, 261, 11890, 5034, 16189, 5147, 13, 288, 203, 3639, 16189, 5147, 273, 389, 24790, 27998, 5147, 405, 374, 692, 389, 2479...
./full_match/1/0x4fE0BBc2614391AB455fc4Df27e63669d30B94Ff/sources/src/x-key/AirdropTicket.sol
/ the base URI for the metadata
contract AirdropTicket is ERC721AQueryable, Ownable { string private baseURI; pragma solidity 0.8.20; An NFT ticket to be used for claiming airdrops. constructor() payable ERC721A("Airdrop Ticket", "AIRDROP") {} function _baseURI() internal view override returns (string memory) { return baseURI; ...
9,800,225
[ 1, 4625, 348, 7953, 560, 30, 342, 326, 1026, 3699, 364, 326, 1982, 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, 16351, 432, 6909, 1764, 13614, 353, 4232, 39, 27, 5340, 37, 1138, 429, 16, 14223, 6914, 288, 203, 565, 533, 3238, 1026, 3098, 31, 203, 203, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 3462, 31, 203, 979, 423, 4464, 9322, 358, ...
/** * ForecasterReward.sol v1.1.0 * * Bilal Arif - https://twitter.com/furusiyya_ * Draglet GbmH */ pragma solidity 0.4.19; library SafeMath { function mul(uint256 a, uint256 b) pure internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } f...
count all investments
totalInvestments++;
12,627,056
[ 1, 4625, 348, 7953, 560, 30, 225, 1056, 777, 2198, 395, 1346, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2078, 3605, 395, 1346, 9904, 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/8453/0xEF153cb7bfc04c657Cb7f582C7411556320098B9/sources/contracts/farm/SynthChef.sol
Function to harvest many pools in a single transaction
function harvestMany(uint256[] calldata _pids) public nonReentrant { uint256 length = _pids.length; require(length <= 25, "harvest many: too many pool ids"); for (uint256 index = 0; index < length; ) { _deposit(_pids[index], 0); unchecked { ++index; ...
11,558,364
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 358, 17895, 26923, 4906, 16000, 316, 279, 2202, 2492, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17895, 26923, 5594, 12, 11890, 5034, 8526, 745, 892, 389, 84, 2232, 13, 1071, 1661, 426, 8230, 970, 288, 203, 3639, 2254, 5034, 769, 273, 389, 84, 2232, 18, 2469, 31, 203, 3639, 2583, 12, 2469, 1648, 6969, 16, 315, 30...
./partial_match/1/0x191df0E31e38Ca0a3d9Aa8E1D5595D715B7FaCaC/sources/contracts/BorrowerOperations.sol
bools: coll increase, debt increase
uint newTCR = _getNewTCRFromTroveChange(msg.value, true, vars.compositeDebt, true, vars.price, targetPeg);
2,685,090
[ 1, 4625, 348, 7953, 560, 30, 225, 1426, 87, 30, 4508, 10929, 16, 18202, 88, 10929, 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, ...
[ 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, 5411, 2254, 394, 56, 5093, 273, 389, 588, 1908, 56, 5093, 1265, 56, 303, 537, 3043, 12, 3576, 18, 1132, 16, 638, 16, 4153, 18, 27676, 758, 23602, 16, 638, 16, 4153, 18, 8694, 16, 1018, 52, 1332, 1769, 282, 2, -100, -100, -100...
./partial_match/1/0x27101367DAb5a3493d34195C1751BE0f559f4eFB/sources/SAD.sol
1,000,000,000,000,000
uint256 public _maxTxAmount = 1000000000 * 10**6 * 10**9;
4,431,791
[ 1, 4625, 348, 7953, 560, 30, 225, 404, 16, 3784, 16, 3784, 16, 3784, 16, 3784, 16, 3784, 7010, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 389, 1896, 4188, 6275, 273, 15088, 3784, 380, 1728, 636, 26, 380, 1728, 636, 29, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x7af62458e41E2F490D2Df54A8FeDc56fFedB8c17/sources/lib/solady/src/utils/RedBlackTreeLib.sol
@dev Removes the value at pointer `ptr` from the tree. Reverts if `ptr` is empty (i.e. value does not exist), or if `ptr` is out of bounds. After removal, `ptr` may point to another existing value. For safety, do not reuse `ptr` after calling remove on it.
function remove(bytes32 ptr) internal { uint256 err = tryRemove(ptr); if (err != 0) _revert(err); }
3,202,726
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 20284, 326, 460, 622, 4407, 1375, 6723, 68, 628, 326, 2151, 18, 868, 31537, 309, 1375, 6723, 68, 353, 1008, 261, 77, 18, 73, 18, 460, 1552, 486, 1005, 3631, 578, 309, 1375, 6723, 68, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1206, 12, 3890, 1578, 6571, 13, 2713, 288, 203, 3639, 2254, 5034, 393, 273, 775, 3288, 12, 6723, 1769, 203, 3639, 309, 261, 370, 480, 374, 13, 389, 266, 1097, 12, 370, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -...
pragma solidity 0.4.24; import "solidity-bytes-utils/contracts/BytesLib.sol"; /// @title Extension to the BytesLib library. library BytesLibEx { using BytesLib for bytes; // Data sizes (in bytes). uint public constant UINT16_SIZE = 2; uint public constant UINT32_SIZE = 4; uint public constant UI...
@dev Converts a bytes array to a uint16. @param _bytes bytes The raw buffer. @param _start uint The offset to start from.
function toUint16(bytes memory _bytes, uint _start) internal pure returns (uint16) { return uint16(toUint(_bytes, _start, UINT16_SIZE)); }
12,601,149
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 20377, 279, 1731, 526, 358, 279, 2254, 2313, 18, 632, 891, 389, 3890, 1731, 1021, 1831, 1613, 18, 632, 891, 389, 1937, 2254, 1021, 1384, 358, 787, 628, 18, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 358, 5487, 2313, 12, 3890, 3778, 389, 3890, 16, 2254, 389, 1937, 13, 2713, 16618, 1135, 261, 11890, 2313, 13, 288, 203, 3639, 327, 2254, 2313, 12, 869, 5487, 24899, 3890, 16, 389, 1937, 16, 27011, 2313, 67, 4574, 10019,...
pragma solidity ^0.4.15; import './vendored/openzeppelin/token/StandardToken.sol'; import './vendored/openzeppelin/ownership/Ownable.sol'; import './vendored/openzeppelin/ownership/HasNoTokens.sol'; import './MigrationAgent.sol'; /// @title Moeda Loyalty Points token contract contract MoedaToken is StandardToken, Own...
@dev create tokens, only usable before minting has ended @param recipient address that will receive the created tokens @param amount the number of tokens to create
function mint(address recipient, uint256 amount) internal canMint { require(amount > 0); require(totalSupply.add(amount) <= MAX_TOKENS); balances[recipient] = balances[recipient].add(amount); totalSupply = totalSupply.add(amount); LogCreation(recipient, amount); }
5,538,001
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 752, 2430, 16, 1338, 15603, 1865, 312, 474, 310, 711, 16926, 632, 891, 8027, 1758, 716, 903, 6798, 326, 2522, 2430, 632, 891, 3844, 326, 1300, 434, 2430, 358, 752, 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, 225, 445, 312, 474, 12, 2867, 8027, 16, 2254, 5034, 3844, 13, 2713, 848, 49, 474, 288, 203, 565, 2583, 12, 8949, 405, 374, 1769, 203, 565, 2583, 12, 4963, 3088, 1283, 18, 1289, 12, 8949, 13, 1648, 4552, 67, 8412, 55, 1769, 20...
./partial_match/1/0x5DE8ab7E27f6E7A1fFf3E5B337584Aa43961BEeF/sources/contracts/SmardexToken/SmardexToken.sol
* @title SmardexToken (SDEX), ERC-20 token @notice Inherit from the ERC20Permit, allowing to sign approve off chain/
contract SmardexToken is ERC20Permit { pragma solidity 0.8.17; constructor(string memory _name, string memory _symbol, uint256 _supply) ERC20(_name, _symbol) ERC20Permit(_name) { _mint(msg.sender, _supply); } }
15,960,212
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 348, 3684, 561, 1345, 261, 55, 6832, 3631, 4232, 39, 17, 3462, 1147, 632, 20392, 25953, 628, 326, 4232, 39, 3462, 9123, 305, 16, 15632, 358, 1573, 6617, 537, 3397, 2687, 19, 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, 16351, 348, 3684, 561, 1345, 353, 4232, 39, 3462, 9123, 305, 288, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 4033, 31, 203, 565, 3885, 12, 1080, 3778, 389, 529, 16, 533, 3778, 389, 7175, 16, 2254, 5034, 389, 2859, 1283, 13, ...
pragma solidity ^0.4.18; /** * * * ooooooooooooo oooo oooo oooooooo .oooooo. 8&#39; 888 `8 `888 `888 dP"""""...
* Bulk version of allocateTokensBeforeOffering/
function batchAllocateTokensBeforeOffering(address[] toList, uint256[] tokensList) external onlyOwner atStage(Stages.Setup) returns (bool) { require(toList.length == tokensList.length); for (uint32 i = 0; i < toList.length; i++) { allocateTokensBeforeOffering(toList[i], tokensList[i]...
6,798,479
[ 1, 4625, 348, 7953, 560, 30, 380, 18184, 1177, 434, 10101, 5157, 4649, 17800, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2581, 27483, 5157, 4649, 17800, 12, 2867, 8526, 12277, 16, 2254, 5034, 8526, 2430, 682, 13, 3903, 1338, 5541, 225, 622, 8755, 12, 31359, 18, 7365, 13, 225, 1135, 261, 6430, 13, 225, 288, 203, 3639, 2583, 12, 869, 682, ...
pragma solidity ^0.8.0; // File: @openzeppelin/contracts/utils/Context.sol /* * @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 * m...
* @dev String operations./
library Strings { function toString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buff...
1,102,257
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 514, 5295, 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, 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, 12083, 8139, 288, 203, 203, 565, 445, 1762, 12, 11890, 5034, 460, 13, 2713, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 203, 3639, 309, 261, 1132, 422, 374, 13, 288, 203, 5411, 327, 315, 20, 14432, 203, 3639, 289, 203, 3639, 22...
/** *Submitted for verification at Etherscan.io on 2020-10-12 */ // File: contracts/libraries/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.6; // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function add(uint x, ui...
inject UNINIT LOCAL/STATE VAR
uint rewards ;
1,803,020
[ 1, 4625, 348, 7953, 560, 30, 4590, 5019, 12919, 15234, 19, 7998, 8350, 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, 7734, 2254, 283, 6397, 274, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0x3e3F4f1064939EF53331c2D5f3b85ceDf0B772b3/sources/MEMECOIN.sol
set as marketing wallet
marketingWallet = address(0x4AFC8959B9220aa11Ed61C3a44b6731046F32C9E);
2,938,056
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 487, 13667, 310, 9230, 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, 13667, 310, 16936, 273, 1758, 12, 20, 92, 24, 37, 4488, 6675, 6162, 38, 9975, 3462, 7598, 2499, 2671, 9498, 39, 23, 69, 6334, 70, 26, 9036, 2163, 8749, 42, 1578, 39, 29, 41, 1769, 225, 2, -100, -100, -100, -100, -100, -...
./full_match/80001/0xB17994E2aff6aB819FBCe861D1448407C6BE29f5/sources/interfaces/v1/ISwylClub.sol
@dev Emitted when a cleanUpClub transaction is made
event DeactivateMembersInTier(uint256 indexed clubId, uint256 totalWipedOffMembers);
5,624,783
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 512, 7948, 1347, 279, 26384, 2009, 373, 2492, 353, 7165, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 1505, 10014, 6918, 382, 15671, 12, 11890, 5034, 8808, 927, 373, 548, 16, 2254, 5034, 2078, 59, 625, 329, 7210, 6918, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xDda46bF18eeb3E06E2F12975A3A184e40581A72f/sources/_prb/math/src/ud60x18/Casting.sol
@notice Casts an UD60x18 number into uint40. @dev Requirements: - x must be less than or equal to `MAX_UINT40`.
function intoUint40(UD60x18 x) pure returns (uint40 result) { uint256 xUint = UD60x18.unwrap(x); if (xUint > MAX_UINT40) { revert PRBMath_UD60x18_IntoUint40_Overflow(x); } result = uint40(xUint); }
3,094,349
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 19782, 87, 392, 587, 40, 4848, 92, 2643, 1300, 1368, 2254, 7132, 18, 632, 5206, 29076, 30, 300, 619, 1297, 506, 5242, 2353, 578, 3959, 358, 1375, 6694, 67, 57, 3217, 7132, 8338, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 915, 1368, 5487, 7132, 12, 12587, 4848, 92, 2643, 619, 13, 16618, 1135, 261, 11890, 7132, 563, 13, 288, 203, 565, 2254, 5034, 619, 5487, 273, 587, 40, 4848, 92, 2643, 18, 318, 4113, 12, 92, 1769, 203, 565, 309, 261, 92, 5487, ...
/** *Submitted for verification at Etherscan.io on 2020-10-04 */ // SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.6.12; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { uint c = a * b; require(a == 0 || c / a == b); return c; } function div(u...
inject PUBLIC FUNC TO EXTERNAL
function setGovernance(address addr, bool hasGovt) public {
2,519,496
[ 1, 4625, 348, 7953, 560, 30, 4590, 17187, 478, 21163, 8493, 5675, 11702, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26770, 1643, 82, 1359, 12, 2867, 3091, 16, 1426, 711, 43, 1527, 88, 13, 1071, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2022-04-01 */ // Sources flattened with hardhat v2.9.1 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides in...
* @title ERC721Opt Batch Burnable Token @dev ERC721Opt Token that can be irreversibly batch burned (destroyed)./
abstract contract ERC721OptBatchBurnable is ERC721OptBurnable { function batchBurn(uint16[] memory tokenIds) public virtual { for (uint16 i = 0; i < tokenIds.length; ++i) { if (!_isApprovedOrOwner(_msgSender(), tokenIds[i])) revert BurnCallerNotOwnerNorApproved(); _burn(tokenIds[i])...
2,328,146
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 4232, 39, 27, 5340, 6179, 5982, 605, 321, 429, 3155, 632, 5206, 4232, 39, 27, 5340, 6179, 3155, 716, 848, 506, 9482, 266, 2496, 24755, 2581, 18305, 329, 261, 11662, 329, 2934, 19, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 4232, 39, 27, 5340, 6179, 4497, 38, 321, 429, 353, 4232, 39, 27, 5340, 6179, 38, 321, 429, 288, 203, 203, 565, 445, 2581, 38, 321, 12, 11890, 2313, 8526, 3778, 1147, 2673, 13, 1071, 5024, 288, 203, 3639, 364, 261, ...
./partial_match/1/0x27C0376106dBd744FD817A5898735C89D180E3D2/sources/Funny.sol
* @dev Sets the value of the `decimals`. This value is immutable, it can only be set once during construction./
constructor () ERC20('Funny', unicode"FUN", _msgSender()) { _mint(_msgSender(), _totalSupply); }
16,015,522
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 460, 434, 326, 1375, 31734, 8338, 1220, 460, 353, 11732, 16, 518, 848, 1338, 506, 444, 3647, 4982, 16171, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1832, 4232, 39, 3462, 2668, 22783, 18538, 2187, 5252, 6, 42, 2124, 3113, 389, 3576, 12021, 10756, 288, 203, 3639, 389, 81, 474, 24899, 3576, 12021, 9334, 389, 4963, 3088, 1283, 1769, 203, 565, 289, 203, 203, 2, -100, -...
// hevm: flattened sources of src/DssSpell.sol // SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity =0.6.12 >=0.6.12 <0.7.0; // pragma experimental ABIEncoderV2; ////// lib/dss-exec-lib/src/CollateralOpts.sol /* pragma solidity ^0.6.12; */ struct CollateralOpts { bytes32 ilk; address gem; address...
Fix PAX keys Set unique payments Setup both DssVest modules DssVestLike(VEST).restrict( Only recipient can request funds DssVestLike(VEST).create( Recipient of vest, Total token amount of vest over period, Start timestamp of vest, Duration of the vesting period (in seconds), ...
function actions() public override { DssExecLib.setChangelogAddress("PAX", DssExecLib.getChangelogAddress("PAXUSD")); DssExecLib.setChangelogAddress("PIP_PAX", DssExecLib.getChangelogAddress("PIP_PAXUSD")); ChainlogLike_2(DssExecLib.LOG).removeAddress("PIP_PSM_PAX"); DssExecLib.send...
6,914,502
[ 1, 4625, 348, 7953, 560, 30, 225, 12139, 453, 2501, 1311, 1000, 3089, 25754, 10939, 3937, 463, 1049, 58, 395, 4381, 463, 1049, 58, 395, 8804, 12, 3412, 882, 2934, 30604, 12, 5098, 8027, 848, 590, 284, 19156, 377, 463, 1049, 58, 395,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4209, 1435, 1071, 3849, 288, 203, 3639, 463, 1049, 1905, 5664, 18, 542, 782, 539, 12970, 1887, 2932, 28228, 3113, 463, 1049, 1905, 5664, 18, 588, 782, 539, 12970, 1887, 2932, 28228, 3378, 40, 7923, 1769, 203, 3639, 463, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./utils/BaseTest.sol"; import { MockERC721Batch } from "./utils/mocks/MockERC721Batch.sol"; contract TestERC721Batch is BaseTest { MockERC721Batch private erc721aBatch; function setUp() public virtual { erc721aBatch = new MockERC721Batch...
mint amount to alice make id array
function test_batchSafeTransferFromArray() public { vm.startPrank(alice); erc721aBatch.safeMint(alice, amount); uint256[] memory ids = new uint256[](amount); for (uint256 i; i < amount; i++) { ids[i] = i + 1; } for (uint256 i; i < amount; i++) { ...
5,407,362
[ 1, 4625, 348, 7953, 560, 30, 225, 312, 474, 3844, 358, 524, 1812, 1221, 612, 526, 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, 445, 1842, 67, 5303, 9890, 5912, 16638, 1435, 1071, 288, 203, 3639, 4268, 18, 1937, 2050, 2304, 12, 287, 1812, 1769, 203, 203, 3639, 6445, 71, 27, 5340, 69, 4497, 18, 4626, 49, 474, 12, 287, 1812, 16, 3844, 1769, 203, 203,...
/** *Submitted for verification at Etherscan.io on 2021-03-03 */ // File: @openzeppelin/upgrades/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `...
* @dev set max buy tokens/
function setLimit(uint256 newLimit) public onlyOwnerOrAdmin { emit NewLimit(buyTokensLimit, newLimit); buyTokensLimit = newLimit; }
2,305,023
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 444, 943, 30143, 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, 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, 444, 3039, 12, 11890, 5034, 394, 3039, 13, 1071, 1338, 5541, 1162, 4446, 288, 203, 203, 3639, 3626, 1166, 3039, 12, 70, 9835, 5157, 3039, 16, 394, 3039, 1769, 203, 203, 3639, 30143, 5157, 3039, 273, 394, 3039, 31, 203, ...
/** ▓▓▌ ▓▓ ▐▓▓ ▓▓▓▓▓▓▓▓▓▓▌▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▌▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▀ ▐▓▓▓▓▓▓ ▐▓▓▓▓▓ ▓▓▓▓▓▓ ▓▓▓▓▓ ▐▓▓▓▓▓▌ ▐▓▓▓▓▓▓ ▓▓▓▓▓▓▄▄▓▓▓▓▓▓▓▀ ▐▓▓▓▓▓▓▄▄▄▄ ▓▓▓▓▓▓▄▄▄▄ ▐▓▓▓▓▓▌ ...
@notice Returns grant ID for the provided operator. If the operator does not operate on stake delegated from a grant, function reverts. @dev To avoid reverting in case the grant ID for the operator does not exist, consider calling hasGrantDelegated before. @param operator The operator tokens are delegate to.
function getGrantForOperator( Storage storage self, address operator ) public view returns (uint256) { uint256 grantId = self._operatorToGrant[operator]; require (grantId != 0, "No grant for the operator"); return grantId ^ GRANT_ID_FLAG; }
12,847,138
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2860, 7936, 1599, 364, 326, 2112, 3726, 18, 971, 326, 3726, 1552, 486, 20829, 603, 384, 911, 30055, 628, 279, 7936, 16, 445, 15226, 87, 18, 632, 5206, 2974, 4543, 15226, 310, 316, 648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7162, 6890, 1290, 5592, 12, 203, 3639, 5235, 2502, 365, 16, 203, 3639, 1758, 3726, 203, 565, 262, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 7936, 548, 273, 365, 6315, 9497, 774, 9021, 63, 9497,...
./full_match/1/0x110f6b1075990Acb9b9759a7287AC4593992c26d/sources/browser/captar/OCDAIPool_v_1.0.sol
stake visibility is public as overriding LPTokenWrapper's stake() function
function stake(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, 'OCDAIPool: Cannot stake 0'); uint256 newDeposit = deposits[msg.sender].add(amount); require( newDeposit <= 20000e18, 'OCDAIPoo...
17,130,456
[ 1, 4625, 348, 7953, 560, 30, 225, 384, 911, 9478, 353, 1071, 487, 19488, 511, 52, 1345, 3611, 1807, 384, 911, 1435, 445, 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, 384, 911, 12, 11890, 5034, 3844, 13, 203, 3639, 1071, 203, 3639, 3849, 203, 3639, 1089, 17631, 1060, 12, 3576, 18, 15330, 13, 203, 3639, 866, 1685, 203, 565, 288, 203, 3639, 2583, 12, 8949, 405, 374, 16, 296, 10809, 9...
/** * @authors: [@n1c01a5, @hellwolf] * @reviewers: [@ferittuncer, @unknownunknown1] * @auditors: [] * @bounties: [] * @deployments: [] */ /** @title Multiple Arbitrable ERC20 Token Transaction * This is a contract for multiple arbitrated token transactions which can be reversed by an arbitrator. * This...
* @dev To be emitted when a dispute is created to link the correct meta-evidence to the disputeID. @param _arbitrator The arbitrator of the contract. @param _disputeID ID of the dispute in the Arbitrator contract. @param _metaEvidenceID Unique identifier of meta-evidence. Should be the `transactionID`. @param _evid...
event Dispute(Arbitrator indexed _arbitrator, uint indexed _disputeID, uint _metaEvidenceID, uint _evidenceGroupID);
6,380,864
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2974, 506, 17826, 1347, 279, 1015, 2507, 353, 2522, 358, 1692, 326, 3434, 2191, 17, 23431, 358, 326, 1015, 2507, 734, 18, 225, 632, 891, 389, 297, 3682, 86, 639, 1021, 10056, 86, 639, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 871, 3035, 2507, 12, 686, 3682, 86, 639, 8808, 389, 297, 3682, 86, 639, 16, 2254, 8808, 389, 2251, 2507, 734, 16, 2254, 389, 3901, 30465, 734, 16, 2254, 389, 23431, 30876, 1769, 203, 2, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.20; /** * @author FadyAro * * 22.07.2018 * * */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() public { owner = msg.sender; } modifier onlyOwner() {...
post out winner rewards/
uint _reward = (QMAX * PRICE_WEI * 90) / 100;
6,355,284
[ 1, 4625, 348, 7953, 560, 30, 225, 1603, 596, 5657, 1224, 283, 6397, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 5411, 2254, 389, 266, 2913, 273, 261, 53, 6694, 380, 10365, 1441, 67, 6950, 45, 380, 8566, 13, 342, 2130, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.24; import '../../common/SafeMath.sol'; import '../../common/AgentStorage.sol'; import './devStorageI.sol'; /** * @title Developer Storage contract - contains info about Devs */ contract DevStorage is DevStorageI, AgentStorage, SafeMath { struct _Dev { bytes32 name; // developer...
require(Devs[_dev].state);
function setStore(address _dev, uint32 _store) external onlyOwner { Devs[_dev].store = _store; }
891,472
[ 1, 4625, 348, 7953, 560, 30, 2583, 12, 758, 6904, 63, 67, 5206, 8009, 2019, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 444, 2257, 12, 2867, 389, 5206, 16, 2254, 1578, 389, 2233, 13, 3903, 1338, 5541, 288, 203, 565, 1505, 6904, 63, 67, 5206, 8009, 2233, 273, 389, 2233, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100,...
./full_match/4/0x4f740aD7c26327E45D835Adf79e2B0FBA9733aF2/sources/contracts/ZodiacTree.sol
08/09/2021 12:10:00 AM Local
uint256 public saleStartTime = 1631041200;
12,451,110
[ 1, 4625, 348, 7953, 560, 30, 16314, 19, 5908, 19, 18212, 21, 2593, 30, 2163, 30, 713, 20653, 3566, 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, 225, 2254, 5034, 1071, 272, 5349, 13649, 273, 2872, 23, 21869, 2138, 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, -...
./partial_match/1/0x10eC0D497824e342bCB0EDcE00959142aAa766dD/sources/IdleToken.sol
external* Used to mint IdleTokens, given an underlying amount (eg. DAI). This method triggers a rebalance of the pools if needed NOTE: User should 'approve' _amount of tokens before calling mintIdleToken NOTE 2: this method can be paused @param _amount : amount of underlying token to be lended @param _clientProtocolAm...
function mintIdleToken(uint256 _amount, uint256[] memory _clientProtocolAmounts) public nonReentrant whenNotPaused whenITokenPriceHasNotDecreased returns (uint256 mintedTokens) { uint256 idlePrice = tokenPrice(); IERC20(token).safeTransferFrom(msg.sender, address(this), _amount); rebalance(_...
4,112,215
[ 1, 4625, 348, 7953, 560, 30, 225, 3903, 14, 10286, 358, 312, 474, 28156, 5157, 16, 864, 392, 6808, 3844, 261, 1332, 18, 463, 18194, 2934, 1220, 707, 11752, 279, 283, 12296, 434, 326, 16000, 309, 3577, 5219, 30, 2177, 1410, 296, 1290...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 13834, 1345, 12, 11890, 5034, 389, 8949, 16, 2254, 5034, 8526, 3778, 389, 2625, 5752, 6275, 87, 13, 203, 565, 1071, 1661, 426, 8230, 970, 1347, 1248, 28590, 1347, 1285, 969, 5147, 5582, 1248, 23326, 8905, 203, ...
./partial_match/4/0x493b5e56914d4155687BFF8DBD81b4Bb5dBb816C/sources/Migrations.sol
we are using upgradeable version of Open Zeppelin, need to manually initiate
__Ownable_init();
8,580,123
[ 1, 4625, 348, 7953, 560, 30, 225, 732, 854, 1450, 8400, 429, 1177, 434, 3502, 2285, 881, 84, 292, 267, 16, 1608, 358, 10036, 18711, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1001, 5460, 429, 67, 2738, 5621, 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, ...
./full_match/137/0x61ff724E829FA52D5Cc7D74324437E6bD1d0ce56/sources/KlimaZap_flat.sol
* @dev Unstake KLIMA tokens from msg.sender, to this contract/
function unstakeKLIMA() internal { uint256 balancesKLIMA = IERC20(sKLIMA).balanceOf(msg.sender); require(balancesKLIMA > 0, "KLIMAZap : 0 sKLIMA to unstake"); IERC20(sKLIMA).safeTransferFrom(msg.sender, address(this), balancesKLIMA); IKLIMAStaking(KLIMAStaking).unstake(balancesKLIM...
4,672,413
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1351, 334, 911, 1475, 2053, 5535, 2430, 628, 1234, 18, 15330, 16, 358, 333, 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, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 640, 334, 911, 47, 2053, 5535, 1435, 2713, 288, 203, 3639, 2254, 5034, 324, 26488, 47, 2053, 5535, 273, 467, 654, 39, 3462, 12, 87, 47, 2053, 5535, 2934, 12296, 951, 12, 3576, 18, 15330, 1769, 203, 3639, 2583, 12, 70,...
./full_match/4/0x94263a20b1Eea751d6C3B207A7A0ba8fF8Db9E90/sources/contracts/upgradeable_contracts/omnibridge_nft/modules/forwarding_rules/NFTForwardingRulesManager.sol
* @title NFTForwardingRulesManager @dev NFT Omnibrdge module for managing destination AMB lanes permissions./ Forwarding rules mapping token => sender => receiver => destination lane
contract NFTForwardingRulesManager is OmnibridgeModule { address internal constant ANY_ADDRESS = 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF; mapping(address => mapping(address => mapping(address => int256))) public forwardingRule; event ForwardingRuleUpdated(address token, address sender, address receiver...
12,395,076
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 423, 4464, 21487, 4478, 1318, 632, 5206, 423, 4464, 531, 13607, 495, 13623, 908, 1605, 364, 30632, 2929, 432, 7969, 328, 304, 281, 4371, 18, 19, 17206, 310, 2931, 2874, 1147, 516, 5793, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 423, 4464, 21487, 4478, 1318, 353, 531, 13607, 495, 5404, 3120, 288, 203, 565, 1758, 2713, 5381, 16743, 67, 15140, 273, 374, 6356, 74, 42, 74, 42, 1403, 2246, 25449, 2246, 74, 2246, 74, 8998, 42, 1403, 2246, 42, 9460, 42, ...
./partial_match/1/0x8183703E9DF90ed76bec0b0b8fAD33f2c024Be59/sources/KingOfEthResourcesInterface.sol
@dev God may set the resource-to-resource contract's address @dev _resourceExchangeContract The new address
function godSetResourceExchangeContract(address _resourceExchangeContract) public onlyGod { resourceExchangeContract = _resourceExchangeContract; }
4,454,603
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 611, 369, 2026, 444, 326, 1058, 17, 869, 17, 3146, 6835, 1807, 1758, 632, 5206, 389, 3146, 11688, 8924, 1021, 394, 1758, 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, 314, 369, 694, 1420, 11688, 8924, 12, 2867, 389, 3146, 11688, 8924, 13, 203, 3639, 1071, 203, 3639, 1338, 43, 369, 203, 565, 288, 203, 3639, 1058, 11688, 8924, 273, 389, 3146, 11688, 8924, 31, 203, 565, 289, 203, 2, -...
//SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import "./ERC20.sol"; import "./SafeMath.sol"; import "./SafeMathUint.sol"; import "./SafeMathInt.sol"; import "./DividendPayingTokenInterface.sol"; import "./DividendPayingTokenOptionalInterface.sol"; import "./Ownable.sol"; import "./IUniswapV2Router.sol"; ///...
@notice View the amount of dividend in wei that an address can withdraw. @param _owner The address of a token holder. @return The amount of dividend in wei that `_owner` can withdraw.
function withdrawableDividendOf(address _owner) public view override returns (uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); }
1,051,660
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4441, 326, 3844, 434, 31945, 316, 732, 77, 716, 392, 1758, 848, 598, 9446, 18, 632, 891, 389, 8443, 1021, 1758, 434, 279, 1147, 10438, 18, 632, 2463, 1021, 3844, 434, 31945, 316, 732, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 598, 9446, 429, 7244, 26746, 951, 12, 2867, 389, 8443, 13, 1071, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 565, 327, 8822, 1535, 7244, 26746, 951, 24899, 8443, 2934, 1717, 12, 1918, 9446, 82, 7244, 350, 5839, 63...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import 'synthetix/contracts/interfaces/IERC20.sol'; import 'synthetix/contracts/interfaces/ISystemStatus.sol'; import 'synthetix/contracts/interfaces/ISynthetix.sol'; import './IBPool.sol'; import './ISwaps.sol'; /** * @title sTSLA on-ramp */ contract TSLAEx...
* @title sTSLA on-ramp/ tokens synthetix curve balancer
contract TSLAExchange { address private constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; address private constant SUSD = 0x57Ab1ec28D129707052df4dF418D58a2D46d5f51; address private constant STSLA = 0x918dA91Ccbc32B7a6A0cc4eCd5987bbab6E31e6D; address private constant SNX = 0x97767D7D04Fd0dB0A1a2478DCd...
6,474,254
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 272, 8047, 2534, 603, 17, 86, 931, 19, 2430, 6194, 451, 278, 697, 8882, 14887, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 15508, 2534, 11688, 288, 203, 225, 1758, 3238, 5381, 11836, 5528, 273, 374, 21703, 20, 70, 5292, 2733, 21, 71, 8898, 2643, 70, 5718, 71, 21, 72, 3657, 40, 24, 69, 22, 73, 29, 41, 70, 20, 71, 41, 29751, 26, 73, 38, 88...
/** *Submitted for verification at Etherscan.io on 2021-01-14 */ /** * SPDX-License-Identifier: UNLICENSED; * * * db 88 88""Yb 8888b. 88""Yb dP"Yb 88""Yb 888888 888888 .dP"Y8 888888 * dPYb 88 88__dP 8I Yb 88__dP dP Yb 88__dP 88 88__ `Ybo." 88 * dP__Yb 88 88"Yb 8I dY 88"...
@dev Return how much `address_` has been airdropped to
function getTotalReceivers() public view returns (uint receiversCount_) { return receiversCount; }
2,401,416
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2000, 3661, 9816, 1375, 2867, 67, 68, 711, 2118, 279, 6909, 1764, 1845, 358, 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, 202, 915, 12831, 4779, 6760, 1435, 1071, 1476, 1135, 261, 11890, 22686, 1380, 67, 13, 288, 203, 3639, 327, 22686, 1380, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.11; import "./historical/StandardToken.sol"; import "./Parameterizer.sol"; import "./Challenge.sol"; import "./PLCRVoting.sol"; contract Registry { // ------ // EVENTS // ------ event _Application(string domain, uint deposit); event _Challenge(string domain, uint deposit, uint pollID)...
@dev returns true if the provided termDate has passed
function isExpired(uint _termDate) constant public returns (bool expired) { return _termDate < block.timestamp; } @param _voter The address of the voter whose reward balance is to be returned @param _challengeID The ID of the challenge the voter's reward is being calculated for @param _salt ...
1,043,686
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1135, 638, 309, 326, 2112, 2481, 1626, 711, 2275, 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, 225, 445, 31890, 12, 11890, 389, 6408, 1626, 13, 5381, 1071, 1135, 261, 6430, 7708, 13, 288, 203, 565, 327, 389, 6408, 1626, 411, 1203, 18, 5508, 31, 203, 225, 289, 203, 203, 225, 632, 891, 389, 90, 20005, 4202, 1021, 1758, 434...
/** *Submitted for verification at Etherscan.io on 2021-03-19 */ /** *Submitted for verification at Etherscan.io on 2017-12-31 */ pragma solidity ^0.4.18; // ----------------------------------------------------------------------------------------------- // CryptoCatsMarket v3 // // Ethereum contract for Cryptocats...
Update cats remaining to assign count
catsRemainingToAssign = catsRemainingToAssign + numberOfCatsAdded;
8,073,784
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 27525, 4463, 358, 2683, 1056, 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, 3639, 27525, 11429, 774, 4910, 273, 27525, 11429, 774, 4910, 397, 7922, 39, 2323, 8602, 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, ...
// It's a fixed version without the caret ^ to be certain that there aren't // breaking changes with new compiler versions pragma solidity 0.4.15; // I need Ownable to limt certain functions for the owner exclusively import 'github.com/OpenZeppelin/zeppelin-solidity/contracts/ownership/Ownable.sol'; // The ERC20 int...
For the sake of simplicity lets asume USD is a ERC20 token Also lets asume we can 100% trust the exchange rate oracle function addTokenFunds()? Use approveAndCall or ERC223 tokenFallback
contract PayrollInterface { function addEmployee(address accountAddress, address[] allowedTokens, uint256 initialYearlyUSDSalary); function setEmployeeSalary(uint256 employeeId, uint256 yearlyUSDSalary); function removeEmployee(uint256 employeeId); function addFunds() payable; function scapeHatch(); func...
6,393,968
[ 1, 4625, 348, 7953, 560, 30, 225, 2457, 326, 272, 911, 434, 3142, 20458, 14557, 487, 2066, 587, 9903, 353, 279, 4232, 39, 3462, 1147, 8080, 14557, 487, 2066, 732, 848, 2130, 9, 10267, 326, 7829, 4993, 20865, 445, 527, 1345, 42, 1915...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 13838, 2693, 1358, 288, 203, 203, 225, 445, 527, 41, 27520, 12, 2867, 2236, 1887, 16, 1758, 8526, 2935, 5157, 16, 2254, 5034, 2172, 5593, 715, 3378, 3948, 287, 814, 1769, 203, 225, 445, 444, 41, 27520, 55, 287, 814, 12, ...
./partial_match/4/0xCF8b1671c619B3a1a1317fDcfC3bB34fB32D9655/sources/HelloWorld.sol
Write your code here
contract HelloWorld { string public greet = "Hello World"; pragma solidity 0.8.13; }
8,588,115
[ 1, 4625, 348, 7953, 560, 30, 225, 2598, 3433, 981, 2674, 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, 16351, 20889, 18071, 288, 203, 565, 533, 1071, 5174, 278, 273, 315, 18601, 21820, 14432, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 3437, 31, 203, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity 0.6.6; pragma experimental ABIEncoderV2; // SPDX-License-Identifier: MIT /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such...
Storage of set values Position of the value in the `values` array, plus 1 because index 0 means a value is not in the set.
function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function poolInfo(uint256 _pid) external view returns (PoolInfo memory); function pendingSushi(uint256 _pid, address _user) external view returns (uint256); ...
524,906
[ 1, 4625, 348, 7953, 560, 30, 225, 5235, 434, 444, 924, 11010, 434, 326, 460, 316, 326, 1375, 2372, 68, 526, 16, 8737, 404, 2724, 770, 374, 4696, 279, 460, 353, 486, 316, 326, 444, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 12, 11890, 5034, 389, 6610, 16, 2254, 5034, 389, 8949, 13, 3903, 31, 203, 203, 565, 445, 598, 9446, 12, 11890, 5034, 389, 6610, 16, 2254, 5034, 389, 8949, 13, 3903, 31, 203, 203, 565, 445, 2845, 966, 12, ...
./full_match/288/0xe9c65c581334E2eEE8c86a9F7aDbd006d78423E5/sources/contracts/investmentVehicle/oolong/OolongSwapV1Base.sol
initialize the iv with oolongFarm and its respective base asset @param _store the address of system storage @param _baseAsset the address of base asset @param _pid the pid of the Oolong Swap LP pair
) public initializer { super.initialize(_store, _baseAsset); pid = _pid; token0 = IUniswapV2Pair(_baseAsset).token0(); token1 = IUniswapV2Pair(_baseAsset).token1(); (address lpToken, uint256 allocPoint, uint256 lastRewardTimestamp, uint256 accOolongPerShare, address bonusFar...
7,106,947
[ 1, 4625, 348, 7953, 560, 30, 225, 4046, 326, 4674, 598, 320, 355, 932, 42, 4610, 471, 2097, 17613, 1026, 3310, 632, 891, 389, 2233, 326, 1758, 434, 2619, 2502, 632, 891, 389, 1969, 6672, 326, 1758, 434, 1026, 3310, 632, 891, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 262, 1071, 12562, 288, 203, 3639, 2240, 18, 11160, 24899, 2233, 16, 389, 1969, 6672, 1769, 203, 3639, 4231, 273, 389, 6610, 31, 203, 3639, 1147, 20, 273, 467, 984, 291, 91, 438, 58, 22, 4154, 24899, 1969, 6672, 2934, 2316, ...
pragma solidity ^0.6.0; ...
inject NONSTANDARD NAMING
function LOG40(uint p0, address p1, uint p2, string memory p3) internal view {
1,019,009
[ 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, 11890, 293, 20, 16, 1758, 293, 21, 16, 2254, 293, 22, 16, 533, 3778, 293, 23, 13, 2713, 1476, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./Interfaces/IBorrowerOperations.sol"; import "./Interfaces/IStabilityPool.sol"; import "./Interfaces/IBorrowerOperations.sol"; import "./Interfaces/ITroveManager.sol"; import "./Interfaces/ISortedTroves.sol"; import "./Dependencies/LiquityBase.sol"; impo...
--- Events --- --- Functions ---
interface ILiquityLUSDToken is IERC20, IERC2612 { event BorrowerOperationsAddressToggled(address borrowerOperations, bool oldFlag, bool newFlag, uint256 timestamp); event TroveManagerToggled(address troveManager, bool oldFlag, bool newFlag, uint256 timestamp); event StabilityPoolToggled(address stabilityP...
5,966,236
[ 1, 4625, 348, 7953, 560, 30, 225, 9948, 9043, 9948, 9948, 15486, 9948, 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, 5831, 467, 48, 18988, 560, 48, 3378, 40, 1345, 353, 467, 654, 39, 3462, 16, 467, 654, 39, 5558, 2138, 288, 203, 203, 203, 565, 871, 605, 15318, 264, 9343, 1887, 56, 23972, 1259, 12, 2867, 29759, 264, 9343, 16, 1426, 1592, 4678,...
// contracts/GovernorCrowdsale.sol // SPDX-License-Identifier: MIT pragma solidity ^0.5.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/crowdsale/validation/CappedCrowdsale.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts...
* @dev Extend parent behavior requiring purchase to respect the beneficiary's funding cap. @param beneficiary Token purchaser @param weiAmount Amount of wei contributed/ solhint-disable-next-line max-line-length
function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view { super._preValidatePurchase(beneficiary, weiAmount); require(whitelist[beneficiary], "Governor LGE: Address not whitelisted"); require(_contributions[beneficiary].add(weiAmount) <= getCap(beneficiary), "Gove...
6,447,651
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 27686, 982, 6885, 29468, 23701, 358, 8762, 326, 27641, 74, 14463, 814, 1807, 22058, 3523, 18, 632, 891, 27641, 74, 14463, 814, 3155, 5405, 343, 14558, 632, 891, 732, 77, 6275, 16811, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 389, 1484, 4270, 23164, 12, 2867, 27641, 74, 14463, 814, 16, 2254, 5034, 732, 77, 6275, 13, 2713, 1476, 288, 203, 3639, 2240, 6315, 1484, 4270, 23164, 12, 70, 4009, 74, 14463, 814, 16, 732, 77, 6275, 1769, 203, 3639, ...
pragma solidity ^0.4.24; import "../../math/SafeMath.sol"; import "../Crowdsale.sol"; import "../../access/roles/CapperRole.sol"; /** * @title IndividuallyCappedCrowdsale * @dev Crowdsale with per-beneficiary caps. */ contract IndividuallyCappedCrowdsale is Crowdsale, CapperRole { using SafeMath for uint256; ...
* @title IndividuallyCappedCrowdsale @dev Crowdsale with per-beneficiary caps./
contract IndividuallyCappedCrowdsale is Crowdsale, CapperRole { using SafeMath for uint256; mapping(address => uint256) private _contributions; mapping(address => uint256) private _caps; function setCap(address beneficiary, uint256 cap) external onlyCapper { _caps[beneficiary] = cap; } function getCa...
968,850
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 657, 2892, 350, 3452, 4664, 1845, 39, 492, 2377, 5349, 632, 5206, 385, 492, 2377, 5349, 598, 1534, 17, 70, 4009, 74, 14463, 814, 15788, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 657, 2892, 350, 3452, 4664, 1845, 39, 492, 2377, 5349, 353, 385, 492, 2377, 5349, 16, 11200, 457, 2996, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 225, 2874, 12, 2867, 516, 2254, 5034, 13, 3238, 389,...
./partial_match/1/0x6c90d4dceEfA053F9E17EDBd7dF9Eb3FC2762Ac9/sources/virtualGold.sol
cash out the holders position
function sellVirtualGold() public returns (bool) { return true; }
15,771,831
[ 1, 4625, 348, 7953, 560, 30, 276, 961, 596, 326, 366, 4665, 1754, 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, 225, 445, 357, 80, 6466, 43, 1673, 1435, 203, 3639, 1071, 1135, 261, 6430, 13, 203, 225, 288, 203, 3639, 327, 638, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/*************************************************************************************************** * * * (c) 2018, 2019 Quantstamp, Inc. This content and its use are governed by the license terms at * * <https://raw.gi...
* Allows execution only when the policy of the pool is not violated. @param poolIndex - index of the pool where the policy is checked/
modifier whenNotViolated(uint poolIndex) { address poolPolicy = data.getPoolContractPolicy(poolIndex); address candidateContract = data.getPoolCandidateContract(poolIndex); require(!IPolicy(poolPolicy).isViolated(candidateContract) && data.getPoolState(poolIndex) != Quan...
12,945,838
[ 1, 4625, 348, 7953, 560, 30, 380, 25619, 4588, 1338, 1347, 326, 3329, 434, 326, 2845, 353, 486, 26889, 18, 632, 891, 2845, 1016, 300, 770, 434, 326, 2845, 1625, 326, 3329, 353, 5950, 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, 9606, 1347, 1248, 28658, 690, 12, 11890, 2845, 1016, 13, 288, 203, 3639, 1758, 2845, 2582, 273, 501, 18, 588, 2864, 8924, 2582, 12, 6011, 1016, 1769, 203, 3639, 1758, 5500, 8924, 273, 501, 18, 588, 2864, 11910, 8924, 12, 601...
pragma solidity ^0.4.24; import {FranklinCommon} from "./common/FranklinCommon.sol"; import {TwistedEdwards} from "./common/TwistedEdwards.sol"; // interface ExitorInterface { // function exit() external payable; // function cancelExit() external; // function startNextExitBatch() external; // function...
write aux info about the batch batch countdown start from the first request
{ uint128 userFee = scaleIntoPlasmaUnitsFromWei(msg.value); require(userFee >= currentExitBatchFee, "exit fee should be more than required by the operator"); uint24 accountID = ethereumAddressToAccountID[msg.sender]; require(accountID != 0, "empty accounts can not exit"); ui...
942,060
[ 1, 4625, 348, 7953, 560, 30, 225, 1045, 9397, 1123, 2973, 326, 2581, 2581, 1056, 2378, 787, 628, 326, 1122, 590, 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, 288, 203, 3639, 2254, 10392, 729, 14667, 273, 3159, 5952, 1749, 345, 2540, 7537, 1265, 3218, 77, 12, 3576, 18, 1132, 1769, 203, 3639, 2583, 12, 1355, 14667, 1545, 783, 6767, 4497, 14667, 16, 315, 8593, 14036, 1410, 506, 1898, ...
pragma solidity =0.6.6; interface IAtlasSwapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) ext...
refund dust eth, if any
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external virtual override payable ensure(deadline) returns (uint[] memory amounts) { require(path[0] == WETH, 'AtlasSwapV2Router: INVALID_PATH'); amo...
14,712,505
[ 1, 4625, 348, 7953, 560, 30, 225, 16255, 302, 641, 13750, 16, 309, 1281, 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, 7720, 1584, 44, 1290, 14332, 5157, 12, 11890, 3844, 1182, 16, 1758, 8526, 745, 892, 589, 16, 1758, 358, 16, 2254, 14096, 13, 203, 3639, 3903, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 8843, 429, 203, 3639, 3387, 12, ...
./full_match/43113/0xFdBF546F3d3A0Caf5a361A692c5A66249A1a3550/sources/LendingPool_flat.sol
string memory name,string memory symbol,IERC20 _poolTokenpoolToken = _poolToken;
) ERC20("Test WAVAX", "TWAVAX") { address testToken = 0xd00ae08403B9bbb9124bB305C09058E32C39A48c; poolToken = IERC20(testToken); }
7,159,943
[ 1, 4625, 348, 7953, 560, 30, 533, 3778, 508, 16, 1080, 3778, 3273, 16, 45, 654, 39, 3462, 389, 6011, 1345, 6011, 1345, 273, 389, 6011, 1345, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 4232, 39, 3462, 2932, 4709, 678, 5856, 2501, 3113, 315, 18869, 5856, 2501, 7923, 288, 7010, 3639, 1758, 1842, 1345, 273, 374, 7669, 713, 8906, 20, 5193, 4630, 38, 29, 9897, 70, 29, 24734, 70, 38, 5082, 25, 39, 5908, 6...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.s...
Validate and perform the mint. Loop through each of the batched IDs to update storage of special balances and circulation balances. Retrieve the group ID from the given item `_id` and check mint. Update storage of special balances and circulating values._holderTokens[address(0)].remove(_ids[i]); Emit event and handle ...
function mintBatch(address _recipient, uint256[] memory _ids, bytes memory _data) public virtual { require(_recipient != address(0), "Super721::mintBatch: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), _recipient, _ids, _asSingletonAr...
6,003,900
[ 1, 4625, 348, 7953, 560, 30, 225, 3554, 471, 3073, 326, 312, 474, 18, 9720, 3059, 1517, 434, 326, 2581, 329, 7115, 358, 1089, 2502, 434, 4582, 324, 26488, 471, 5886, 1934, 367, 324, 26488, 18, 10708, 326, 1041, 1599, 628, 326, 864, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 4497, 12, 2867, 389, 20367, 16, 2254, 5034, 8526, 3778, 389, 2232, 16, 203, 565, 1731, 3778, 389, 892, 13, 203, 565, 1071, 5024, 288, 203, 565, 2583, 24899, 20367, 480, 1758, 12, 20, 3631, 203, 1377, 315, 80...
./full_match/9001/0xdE9A07E5F1eaF3236e84724e0a221Ce44D7b2657/sources/contracts/N2MTokenCommon.sol
@notice Max amount of NFTs to be hold per address. @return Max per address allowed.
function maxPerAddress() external view override returns (uint16) { return _maxPerAddress; }
11,532,179
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4238, 3844, 434, 423, 4464, 87, 358, 506, 6887, 1534, 1758, 18, 632, 2463, 4238, 1534, 1758, 2935, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 943, 2173, 1887, 1435, 3903, 1476, 3849, 1135, 261, 11890, 2313, 13, 288, 203, 3639, 327, 389, 1896, 2173, 1887, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.6.1; // import "@openzeppelin/contracts/math/SafeMath.sol"; // import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; // import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol"; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import "@openzeppelin/contracts/token/ERC20/SafeERC...
Interest rate 10% Token and account setup Lender map setup Send token for interests 5000 + 1000 + 50 to runner
function testInOneContract() external { IERC20 token = new AvaloanTestToken(); AvaloanERC20 avaloan = new AvaloanERC20(10000); token.approve(address(avaloan), 50000); AvaloanERC20TestAccount account1 = new AvaloanERC20TestAccount(); token.transfer(address(account1), 10000);...
12,567,868
[ 1, 4625, 348, 7953, 560, 30, 225, 5294, 395, 4993, 1728, 9, 3155, 471, 2236, 3875, 511, 2345, 852, 3875, 2479, 1147, 364, 16513, 87, 20190, 397, 4336, 397, 6437, 358, 8419, 2, 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, 565, 445, 1842, 382, 3335, 8924, 1435, 3903, 288, 203, 3639, 467, 654, 39, 3462, 1147, 273, 394, 432, 1125, 83, 304, 4709, 1345, 5621, 203, 3639, 432, 1125, 83, 304, 654, 39, 3462, 279, 1125, 83, 304, 273, 394, 432, 1125, 83, ...
// SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@bancor/token-governance/contracts/ITokenGovernance.sol"; import "../u...
* @dev transfers the ownership of the wallet can only be called by the contract owner @param newOwner the new owner of the wallet/
function transferWalletOwnership(address newOwner) external ownerOnly { _wallet.transferOwnership(newOwner); }
1,086,341
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 29375, 326, 23178, 434, 326, 9230, 848, 1338, 506, 2566, 635, 326, 6835, 3410, 632, 891, 394, 5541, 326, 394, 3410, 434, 326, 9230, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 16936, 5460, 12565, 12, 2867, 394, 5541, 13, 3903, 3410, 3386, 288, 203, 3639, 389, 19177, 18, 13866, 5460, 12565, 12, 2704, 5541, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.8.11; import "@rari-capital/solmate/src/auth/Auth.sol"; import "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; contract QuantumSplitter is Auth { /// >>>>>>>>>>>>>>>>>>>>>>> STRUCTS <<<<<<<<<<<<<<<<<<<<<<<<<< /// struct Split { uint256 balance; address[] recipient...
@notice Sets the treasury address @param treasury_ address of the treasury
function setTreasury(address payable treasury_) requiresAuth public { treasury = treasury_; } This would set the fee at 5% ``` setTreasuryShare(500) ```
10,459,935
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 11511, 326, 9787, 345, 22498, 1758, 632, 891, 9787, 345, 22498, 67, 1758, 434, 326, 9787, 345, 22498, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 56, 266, 345, 22498, 12, 2867, 8843, 429, 9787, 345, 22498, 67, 13, 4991, 1730, 1071, 288, 203, 3639, 9787, 345, 22498, 273, 9787, 345, 22498, 67, 31, 203, 565, 289, 203, 203, 203, 3639, 1220, 4102, 444, 326, 140...
./partial_match/3/0x353ec5bDa1B02d3E9E7a43535b74265DfcC9Cf41/sources/tokenSales.sol
string public name = "EthSwap Instant Exchange";
contract tokenSales { IERC20 public token; V2 public rgp; address owner; uint public price; uint256 public tokensSold; uint256 public decimals; event sold(address account, uint price, address token); constructor(IERC20 _token, V2 _rgp, uint _price) public payable{ ...
5,138,462
[ 1, 4625, 348, 7953, 560, 30, 533, 1071, 508, 273, 315, 41, 451, 12521, 11190, 18903, 14432, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1147, 23729, 288, 203, 565, 467, 654, 39, 3462, 1071, 1147, 31, 203, 565, 776, 22, 1071, 436, 6403, 31, 203, 565, 1758, 3410, 31, 203, 565, 2254, 1071, 6205, 31, 203, 377, 203, 565, 2254, 5034, 1071, 2430, 55, 1673, 31, ...
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * ...
* @title HuxleyComicsOps @dev This contract allows minting HuxleyComics tokens. Users can pay to mint tokens when not paused./ address used to sign whitelisted addresses ER721 Huxley Comics Token Mapping from blacklisted addresses Mapping from address to amount of tokens purchased per issue number Role that can call cr...
contract HuxleyComicsOps is Pausable, AccessControl { using SignatureChecker for address; address public trustedWallet_A; address public trustedWallet_B; address public signer; IHuxleyComics public huxleyComics; mapping(address => bool) public blacklisted; mapping(address => mapping(uin...
12,610,405
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 670, 2616, 30678, 799, 2102, 8132, 632, 5206, 1220, 6835, 5360, 312, 474, 310, 670, 2616, 30678, 799, 2102, 2430, 18, 12109, 848, 8843, 358, 312, 474, 2430, 1347, 486, 17781, 18, 19, 1758...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 670, 2616, 30678, 799, 2102, 8132, 353, 21800, 16665, 16, 24349, 288, 203, 565, 1450, 9249, 8847, 364, 1758, 31, 203, 203, 565, 1758, 1071, 13179, 16936, 67, 37, 31, 203, 565, 1758, 1071, 13179, 16936, 67, 38, 31, 203, 203...
pragma solidity ^0.4.24; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "./interfaces/IOwnable.sol"; import "./interfaces/ISTFactory.sol"; import "./interfaces/IERC20.sol"; import "./interfaces/ISecurityTokenRegistry.sol"; import "./storage/EternalStorage.sol"; import "./libraries/Util.sol"; import...
* @notice Modifier to make a function callable only when the contract is paused./
modifier whenPaused() { require(isPaused(), "Should not be paused"); _; }
12,831,524
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 12832, 358, 1221, 279, 445, 4140, 1338, 1347, 326, 6835, 353, 17781, 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, 9606, 1347, 28590, 1435, 288, 203, 3639, 2583, 12, 291, 28590, 9334, 315, 14309, 486, 506, 17781, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: GPL-3.0 pragma solidity =0.8.10; import "./IERC20.sol"; import "./IUniswapV2Router02.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Pair.sol"; import "./IHyperDeFi.sol"; import "./IHyperDeFiBuffer.sol"; import "./IHyperDeFiIDO.sol"; import "./Ownable.sol"; import "...
* @dev Pay TAX from `sender`/
function payFeeFrom(address sender, uint256 farm, uint256 airdrop, uint256 fomo, uint256 liquidity, uint256 fund, uint256 destroy) public returns (bool) { uint256 amount = farm + airdrop + fomo + liquidity + fund + destroy; require(amount > 0, "HyperDeFi: fee amount is zero"); require(amount...
5,439,704
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13838, 399, 2501, 628, 1375, 15330, 68, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8843, 14667, 1265, 12, 2867, 5793, 16, 2254, 5034, 284, 4610, 16, 2254, 5034, 279, 6909, 1764, 16, 2254, 5034, 284, 362, 83, 16, 2254, 5034, 4501, 372, 24237, 16, 2254, 5034, 284, 1074, 16, 2254, 5034, 5546, 13, 1071, ...
pragma solidity ^0.4.25; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; import "./oraclize.sol"; // REQUIREMENT 1 // FlightSuretyData : contracts used for data persistence contract FlightSuretyData is usingOraclize { using SafeMath for uint256; /**********************************...
registration : when flights get registered and approved bytes is abi.encode of airline + flight
mapping(bytes32 => Flight) mapFlight;
12,788,834
[ 1, 4625, 348, 7953, 560, 30, 225, 7914, 294, 1347, 1183, 10730, 336, 4104, 471, 20412, 1731, 353, 24126, 18, 3015, 434, 23350, 1369, 397, 25187, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 3890, 1578, 516, 3857, 750, 13, 852, 24243, 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...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to ...
@inheritdoc IPrizePool
function depositTo(address _to, uint256 _amount) external override nonReentrant canAddLiquidity(_amount) { _depositTo(msg.sender, _to, _amount); }
2,567,834
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 2050, 554, 2864, 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, 443, 1724, 774, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 203, 3639, 3903, 203, 3639, 3849, 203, 3639, 1661, 426, 8230, 970, 203, 3639, 848, 986, 48, 18988, 24237, 24899, 8949, 13, 203, 565, 288, 203, 3639, 3...
./full_match/5/0x999512dC124371E6B9ff43CE8D1AF83252F0C851/sources/src/BaseVault.sol
* @dev Returns shares and amounts of token X and token Y to be deposited. @param strategy The address of the strategy. @param amountX The amount of token X to be deposited. @param amountY The amount of token Y to be deposited. @return shares The amount of shares to be minted. @return effectiveX The amount of token X to...
function _previewShares(IStrategy strategy, uint256 amountX, uint256 amountY) internal view virtual returns (uint256 shares, uint256, uint256); function _previewAmounts(IStrategy strategy, uint256 shares, uint256 totalShares) internal view virtual ...
1,894,079
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 24123, 471, 30980, 434, 1147, 1139, 471, 1147, 1624, 358, 506, 443, 1724, 329, 18, 632, 891, 6252, 1021, 1758, 434, 326, 6252, 18, 632, 891, 3844, 60, 1021, 3844, 434, 1147, 1139, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12102, 24051, 12, 45, 4525, 6252, 16, 2254, 5034, 3844, 60, 16, 2254, 5034, 3844, 61, 13, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 1135, 261, 11890, 5034, 24123, 16, 2254, 5034, 16, 2254, 5034,...
./full_match/5/0x079BC05ebF765c3678Bec03A598561f0414f6227/sources/project:/contracts/PropertyNFT.sol
* @dev Ensures that the caller has operational privileges./
modifier onlyOperator() { require(msg.sender == operator, "Caller is not an operator"); _; } uint256 tokenId, string propertyName, uint apr, uint totalPropertyRaised, uint propertyParticipation, uint launchpadID, uint redeemFees, u...
1,864,615
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1374, 8421, 716, 326, 4894, 711, 1674, 287, 19583, 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, 9606, 1338, 5592, 1435, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3726, 16, 315, 11095, 353, 486, 392, 3726, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 3639, 2254, 5034, 1147, 548, 16, 203, 3639, 533, 5470, 1...
/*** * _____ _ _____ * | | |___ _| |___| __ |_ _ ___ ___ ___ ___ ___ * | | | | . | . | -_| -| | | | | -_| _|_ -| * |_|___|___|___|___|__|__|___|_|_|_|_|___|_| |___| * * https://noderunners.io * MIT License * =========== * * Copyright (c) 2020 NodeRunners * * Permi...
* @dev transfer token for a specified address @param to The address to transfer to. @param value The amount to be transferred./
function transfer(address to, uint256 value) external returns (bool) { return _transfer(msg.sender,to,value); }
6,588,401
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7412, 1147, 364, 279, 1269, 1758, 632, 891, 358, 1021, 1758, 358, 7412, 358, 18, 632, 891, 460, 1021, 3844, 358, 506, 906, 4193, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 445, 7412, 12, 2867, 358, 16, 2254, 5034, 460, 13, 3903, 203, 282, 1135, 261, 6430, 13, 203, 282, 288, 203, 3639, 327, 389, 13866, 12, 3576, 18, 15330, 16, 869, 16, 1132, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -10...
//pragma solidity ^0.5.2; pragma solidity >=0.4.22 <0.6.0; /** * @title IERC165 * @dev https://eips.ethereum.org/EIPS/eip-165 */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @dev Interface i...
Refund any excess funds
_transferRefund(totalCost);
2,529,616
[ 1, 4625, 348, 7953, 560, 30, 225, 3941, 1074, 1281, 23183, 284, 19156, 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, 3639, 389, 13866, 21537, 12, 4963, 8018, 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, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.24; // File: contracts/ownership/MultiOwnable.sol /** * @title MultiOwnable * @dev The MultiOwnable contract has owners addresses and provides basic authorization control * functions, this simplifies the implementation of "users permissions". */ contract MultiOwnable { address p...
* @dev Override approve function. Add canTransfer modifier to check possibility of transferring/
function approve(address _spender, uint256 _value) public canTransfer(msg.sender, _spender) returns (bool) { return super.approve(_spender,_value); }
5,468,965
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1439, 6617, 537, 445, 18, 1436, 848, 5912, 9606, 358, 866, 25547, 434, 906, 74, 20245, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6617, 537, 12, 2867, 389, 87, 1302, 264, 16, 2254, 5034, 389, 1132, 13, 1071, 848, 5912, 12, 3576, 18, 15330, 16, 389, 87, 1302, 264, 13, 1135, 261, 6430, 13, 288, 203, 3639, 327, 2240, 18, 12908, 537, 24899, 87, 13...
pragma solidity ^0.6.1; interface IPoTypes { //------------------------------------------------------------------------ // Purchase Order //------------------------------------------------------------------------ enum PoItemStatus { Initial, // 0 expect never to see this ...
contract managed at point of po create, currency value to set aside as fee to shop when escrow released
uint currencyValueFee;
6,460,503
[ 1, 4625, 348, 7953, 560, 30, 225, 6835, 7016, 622, 1634, 434, 8275, 752, 16, 5462, 460, 358, 444, 487, 831, 487, 14036, 358, 12122, 1347, 2904, 492, 15976, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5462, 620, 14667, 31, 2868, 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...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/IVault.sol"; import "./interfaces/IController.sol"; import "./interfaces/IHarvester.sol"; import "./interfaces/ILegacyController.sol"; import "./interfaces/IManager.sol"; import "./interfa...
* @notice Harvests the next available strategy for a given vault and rotates the strategies @param _vault The address of the vault/
function harvestNextStrategy( address _vault, uint256 _estimatedWETH, uint256 _estimatedYAXIS ) external { require(canHarvest(_vault), "!canHarvest"); address strategy = strategies[_vault].addresses[0]; harvest(controller, strategy, _estimatedWETH, _es...
12,730,784
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 670, 297, 90, 25563, 326, 1024, 2319, 6252, 364, 279, 864, 9229, 471, 4168, 815, 326, 20417, 632, 891, 389, 26983, 1021, 1758, 434, 326, 9229, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 17895, 26923, 2134, 4525, 12, 203, 3639, 1758, 389, 26983, 16, 203, 3639, 2254, 5034, 389, 395, 17275, 59, 1584, 44, 16, 203, 3639, 2254, 5034, 389, 395, 17275, 61, 25614, 203, 565, 262, 203, 3639, 3903, 203, 565, 288, ...
./partial_match/1/0x10754abf634d39D132Be59117C8297Ca4C5084e5/sources/ElPepe.sol
Pre-flight checksBuy TokenSell Token
function _transfer(address sender, address recipient, uint256 amount) internal virtual override { require(amount > 0, "Transfer amount must be greater than zero"); uint256 contractBalance = balanceOf(address(this)); bool canSwap = contractBalance >= swapTokensAtAmount; if( ...
2,877,070
[ 1, 4625, 348, 7953, 560, 30, 225, 2962, 17, 19131, 4271, 38, 9835, 3155, 55, 1165, 3155, 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, 377, 445, 389, 13866, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 13, 2713, 5024, 3849, 288, 203, 3639, 2583, 12, 8949, 405, 374, 16, 315, 5912, 3844, 1297, 506, 6802, 2353, 3634, 8863, 203, 203, 3639, 2254, 5034, 6835,...
// Dark Lord Inu is here to takeover and rule all other Inus on the blockchain! He is keeping a close eye on the work of Elon Musk // https://t.me/DarkLordInu // SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (...
Contract implementation We will set a minimum amount of tokens to be swaped => 5M
contract DarkLordInu 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; ...
14,748,544
[ 1, 4625, 348, 7953, 560, 30, 225, 13456, 4471, 1660, 903, 444, 279, 5224, 3844, 434, 2430, 358, 506, 1352, 5994, 516, 1381, 49, 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, 6835, 463, 1313, 48, 517, 382, 89, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 3639, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 3639, 1450, 5267, 364, 1758, 31, 203, 203, 3639, 2874, 261, 2867, 516, 22...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "./constants/Colors.sol"; /// @title Hair SVG generator library HairDetail { /// @dev Hair N°1 => Classic Brown function item_1() public pure returns (string memory) { return base(classi...
@dev Hair N°20 => Classic 2 Purple
function item_20() public pure returns (string memory) { return base(classicTwoHairs(Colors.PURPLE)); }
1,028,764
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 670, 1826, 423, 131, 113, 3462, 516, 26902, 576, 14466, 1802, 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, 761, 67, 3462, 1435, 1071, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 1026, 12, 1106, 335, 11710, 44, 1826, 87, 12, 12570, 18, 52, 1099, 30099, 10019, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -1...
pragma solidity ^0.8.10; pragma abicoder v2; import "../DjinnBottleUSDC.sol"; import "../interfaces/CTokenInterfaces.sol"; import "../interfaces/ComptrollerInterface.sol"; import "../interfaces/IStdReference.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "../interface...
we remove liquidity belonging to the user(amount) back for tomb + wftmexecute the swapsnext step
function removeLiq(address user, uint lpTokenAmount, uint amountShares) internal { uint wftmBefore = getTokenBalance(WFTM); uint tombBefore = getTokenBalance(TOMB); IERC20(spookyFtmTombLP).approve(spookyAddress, lpTokenAmount); spookyRouter.removeLiquidity( WFTM, TOMB, lpTokenAmount, 1, ...
12,639,497
[ 1, 4625, 348, 7953, 560, 30, 732, 1206, 4501, 372, 24237, 17622, 358, 326, 729, 12, 8949, 13, 1473, 364, 21031, 397, 341, 1222, 81, 8837, 326, 1352, 6679, 4285, 2235, 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, 202, 915, 1206, 48, 18638, 12, 2867, 729, 16, 2254, 12423, 1345, 6275, 16, 2254, 3844, 24051, 13, 2713, 288, 1082, 7010, 202, 202, 11890, 341, 1222, 81, 4649, 273, 9162, 13937, 12, 59, 4464, 49, 1769, 7010, 202, 202, 11890, 21031...
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { nothing = 27; } } //*************** Ownable contract Ownable { address public owner; function Ownable(...
Monday, August 28, 2017 12:00:00 PM GMT+08:00
uint256 public startDate = 1503892800;
1,011,374
[ 1, 4625, 348, 7953, 560, 30, 225, 490, 28612, 16, 432, 637, 641, 9131, 16, 11015, 2593, 30, 713, 30, 713, 23544, 21706, 15, 6840, 30, 713, 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...
[ 1, 1, 1, 1, 1, 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, 225, 2254, 5034, 1071, 12572, 273, 18478, 23, 6675, 6030, 713, 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, -100, -100, -100, -100, ...