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
/** *Submitted for verification at Etherscan.io on 2022-04-20 */ /** _____ .-'''-. / / .-''-. _______ ' _ \ / / .' .-. )...
maxTransactionAmount = totalSupply * 50 / 1000; 0.70% maxTransactionAmountTxn exclude from paying fees or having max transaction amount
constructor() ERC20("420DOGE", "420DOGE") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair =...
15,386,208
[ 1, 4625, 348, 7953, 560, 30, 943, 3342, 6275, 273, 2078, 3088, 1283, 380, 6437, 342, 4336, 31, 225, 374, 18, 7301, 9, 943, 3342, 6275, 13789, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 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, 4232, 39, 3462, 2932, 24, 3462, 3191, 7113, 3113, 315, 24, 3462, 3191, 7113, 7923, 288, 203, 540, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 29...
./partial_match/1/0x17C714Bfb6C65bB88A223d4BF9e52aD4DF862F2f/sources/ETFUSDCAndCompound.sol
Set parameters Initialized the contract
uint256 _percentageOffchainFund) public { oracle = SimpleOracleAccruedRatioUSDC(_oracle); bincentiveHot = _bincentiveHot; bincentiveCold = _bincentiveCold; StableToken = ERC20(_StableToken); cToken = CERC20(_cToken); trader = _trader; investPaymentDueTi...
15,475,394
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 1472, 10188, 1235, 326, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 389, 18687, 7210, 5639, 42, 1074, 13, 1071, 288, 203, 203, 3639, 20865, 273, 4477, 23601, 8973, 86, 5957, 8541, 3378, 5528, 24899, 280, 16066, 1769, 203, 3639, 4158, 2998, 688, 25270, 273, 389, 4757, 2998, 688, 25...
// SPDX-License-Identifier: ISC pragma solidity >=0.6.0 <0.9.0; import './BinToken.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/utils/math/Math.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol'; import '@uniswap/lib/contracts/libraries...
/ Round executed, can process option add amount to total transaction Not enough balance, we mint new tokens to pay the bets
function collect() public { uint32[] storage pending = pendingOptions[msg.sender]; uint256 amount; uint256 burn; for (uint32 i=0; i<pending.length;) { Option storage option = options[pending[i]]; Round storage round = rounds[option.execute]; if (round.executed) { bool winner...
12,770,798
[ 1, 4625, 348, 7953, 560, 30, 342, 11370, 7120, 16, 848, 1207, 1456, 527, 3844, 358, 2078, 2492, 2288, 7304, 11013, 16, 732, 312, 474, 394, 2430, 358, 8843, 326, 324, 2413, 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, 225, 445, 3274, 1435, 1071, 288, 203, 565, 2254, 1578, 8526, 2502, 4634, 273, 4634, 1320, 63, 3576, 18, 15330, 15533, 203, 565, 2254, 5034, 3844, 31, 203, 565, 2254, 5034, 18305, 31, 203, 203, 565, 364, 261, 11890, 1578, 277, 33,...
./full_match/80001/0x56Bc65B0eD609911861FeD50632986e15a6842C7/sources/contracts/RealEstate.sol
REVIEWS FUNCTIONREVIEWSECTION
function addReview(uint256 productId, uint256 rating, string calldata comment, address user) external{ require(rating >= 1 && rating <= 5, "rating must be between 1 and 5"); Property storage property = properties[productId]; property.reviewers.push(user); property.reviews.push(com...
5,601,596
[ 1, 4625, 348, 7953, 560, 30, 2438, 4136, 41, 2651, 13690, 862, 12145, 19082, 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, 527, 9159, 12, 11890, 5034, 23820, 16, 2254, 5034, 13953, 16, 533, 745, 892, 2879, 16, 1758, 729, 13, 3903, 95, 203, 203, 3639, 2583, 12, 17326, 1545, 404, 597, 13953, 1648, 1381, 16, 315, 17326, 1297, 506, 3086, 404, ...
// File: Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing w...
* @dev Destroys `amount` tokens from `account`, reducing the total supply. Emits a {Transfer} event with `to` set to the zero address. Requirements: - `account` cannot be the zero address. - `account` must have at least `amount` tokens./
function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn am...
7,006,586
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28510, 28599, 1375, 8949, 68, 2430, 628, 1375, 4631, 9191, 9299, 2822, 326, 2078, 14467, 18, 7377, 1282, 279, 288, 5912, 97, 871, 598, 1375, 869, 68, 444, 358, 326, 3634, 1758, 18, 29076,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 70, 321, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 225, 2713, 5024, 288, 203, 3639, 2583, 12, 4631, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 18305, 628, 326, 3634, 1758, 8863, 203, 203, 3639, 389, 5771, ...
./full_match/1/0x84971DA9a5e6a53FAe8F8493B7a13ad96d4bEe4E/sources/CryptoGunz.sol
500 - 999 0.06 ETH
return 60000000000000000;
3,122,271
[ 1, 4625, 348, 7953, 560, 30, 225, 6604, 300, 22249, 374, 18, 7677, 512, 2455, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 327, 1666, 12648, 12648, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/3/0xBfb5B2737709Fa66f7d61332Ae0883130688A4Aa/sources/BulldogCoin.sol
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "BulldogCoin"; symbol = "BDC"; decimals = 18; _totalSupply = 100000000000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
5,121,770
[ 1, 4625, 348, 7953, 560, 30, 380, 735, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 38, 420, 20330, 27055, 14432, 203, 3639, 3273, 273, 315, 38, 5528, 14432, 203, 3639, 15105, 273, 6549, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 2130, 12648, 12648, 12648, 31, ...
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "Esportscoin"; symbol = "ESPC"; decimals = 18; _totalSupply = 100000000000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
13,861,020
[ 1, 4625, 348, 7953, 560, 30, 380, 735, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 6705, 655, 1017, 885, 14432, 203, 3639, 3273, 273, 315, 41, 3118, 39, 14432, 203, 3639, 15105, 273, 6549, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 2130, 12648, 12648, 12648, ...
/** * @authors: [@ferittuncer] * @reviewers: [] * @auditors: [] * @bounties: [] * @deployments: [] */ pragma solidity >=0.5 <0.6.0; import "@kleros/erc-792/contracts/IArbitrable.sol"; import "@kleros/erc-792/contracts/erc-1497/IEvidence.sol"; import "@kleros/erc-792/contracts/IArbitrator.sol"; import "@kle...
* @dev Changes the proportion of appeal fees that must be paid by loser. @param _loserStakeMultiplier The new loser multiplier value respect to MULTIPLIER_DIVISOR./
function changeloserStakeMultiplier(uint _loserStakeMultiplier) external { require(msg.sender == governor, "Unauthorized call."); loserStakeMultiplier = _loserStakeMultiplier; }
13,104,560
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 17776, 326, 23279, 434, 7226, 287, 1656, 281, 716, 1297, 506, 30591, 635, 437, 550, 18, 225, 632, 891, 389, 383, 550, 510, 911, 23365, 1021, 394, 437, 550, 15027, 460, 8762, 358, 31385, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 9435, 292, 13164, 510, 911, 23365, 12, 11890, 389, 383, 550, 510, 911, 23365, 13, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 314, 1643, 29561, 16, 315, 13981, 745, 1199, 1769, 203, 3639, 437, 550, 510, 911, ...
pragma solidity ^0.5.0; import "./ERCStaking.sol"; import "./Checkpointing.sol"; import "./res/Autopetrified.sol"; import "./res/IsContract.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol"; import "openzeppelin-solidity/contracts/tok...
add new value to account history
accounts[_accountAddress].stakedHistory.add64(getBlockNumber64(), newStake);
1,067,081
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 394, 460, 358, 2236, 4927, 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, 9484, 63, 67, 4631, 1887, 8009, 334, 9477, 5623, 18, 1289, 1105, 12, 588, 1768, 1854, 1105, 9334, 394, 510, 911, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/4/0x164c24d0844c267DA15a4c841eaBae817d211EA1/sources/Users/hristiyangeorgiev/Documents/Projects/Redemeum/ERC20/bsn-core-prototype/contracts/VoucherKernel.sol
* @notice Get the supply token ID from a voucher token @param _tokenIdVoucher ID of the voucher token @return ID of the supply token/
function getIdSupplyFromVoucher(uint256 _tokenIdVoucher) public pure returns (uint256) { return _tokenIdVoucher & MASK_TYPE; }
13,350,957
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 326, 14467, 1147, 1599, 628, 279, 331, 14329, 1147, 632, 891, 389, 2316, 548, 19585, 282, 1599, 434, 326, 331, 14329, 1147, 632, 2463, 5375, 1599, 434, 326, 14467, 1147, 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, 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, 2634, 3088, 1283, 1265, 19585, 12, 11890, 5034, 389, 2316, 548, 19585, 13, 203, 3639, 1071, 16618, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 389, 2316, 548, 19585, 473, 23888, 67, 2399, 31, 2...
./partial_match/1/0xeB40E25AF8F5F22Bb201f53971480beA0094Cd65/sources/src/v0.8/functions/dev/1_0_0/FunctionsSubscriptions.sol
Charge the subscription
s_subscriptions[subscriptionId].balance -= totalCostJuels;
4,322,387
[ 1, 4625, 348, 7953, 560, 30, 225, 3703, 908, 326, 4915, 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, 272, 67, 19964, 63, 25218, 8009, 12296, 3947, 2078, 8018, 46, 89, 10558, 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, -10...
./partial_match/100/0x0881E22BeDeDf41DdAa38A1cC571b805A8406251/sources/DMEX_Trading.sol
Settle positions for closed contracts
function batchSettlePositions ( bytes32[] futuresContracts, bool[] sides, address[] users, address[] pools, uint256[] expirationFee ) onlyAdmin { for (uint i = 0; i < futuresContracts.length; i++) { closeFuturesPositionForUser(futures...
16,645,100
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 5929, 6865, 364, 4375, 20092, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2581, 694, 5929, 11024, 261, 203, 3639, 1731, 1578, 8526, 15583, 20723, 16, 203, 3639, 1426, 8526, 22423, 16, 203, 3639, 1758, 8526, 3677, 16, 203, 3639, 1758, 8526, 16000, 16, 203, 3639, 2254, 5034, 8526, 7686, 14667, 20...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.4; import "./IONEWallet.sol"; import "./DomainManager.sol"; library WalletGraph { event BackLinkAltered(address[] added, address[] removed); // in case of override, both args would be empty event InvalidBackLinkIndex(uint256 index); event Command...
in case of override, both args would be empty
event BackLinkAltered(address[] added, address[] removed);
889,061
[ 1, 4625, 348, 7953, 560, 30, 225, 316, 648, 434, 3849, 16, 3937, 833, 4102, 506, 1008, 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, ...
[ 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, 871, 4297, 2098, 18144, 329, 12, 2867, 8526, 3096, 16, 1758, 8526, 3723, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view retur...
Withdraw without caring about rewards. EMERGENCY ONLY.
function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; SafeERC20.transfer(address(pool.lpToken), address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); us...
5,926,788
[ 1, 4625, 348, 7953, 560, 30, 225, 3423, 9446, 2887, 5926, 310, 2973, 283, 6397, 18, 7141, 654, 16652, 16068, 20747, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 801, 24530, 1190, 9446, 12, 11890, 5034, 389, 6610, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 25003, 2502, 729, 273, 16753, 63, 67, 6610, 6362, 3576, 18, 15330, 155...
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 unlock transfers
function unlock() external onlyOwner canMint { mintingFinished = true; LogMintingFinished(); }
5,538,000
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 7186, 29375, 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, 225, 445, 7186, 1435, 3903, 1338, 5541, 848, 49, 474, 288, 203, 565, 312, 474, 310, 10577, 273, 638, 31, 203, 565, 1827, 49, 474, 310, 10577, 5621, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// File: contracts/upgradeability/EternalStorage.sol pragma solidity 0.4.24; /** * @title EternalStorage * @dev This contract holds all the necessary state variables to carry out the storage of any contract. */ contract EternalStorage { mapping(bytes32 => uint256) internal uintStorage; mapping(bytes32 =>...
* @dev Tells the address of the owner @return the address of the owner/
function owner() public view returns (address) { return addressStorage[keccak256(abi.encodePacked("owner"))]; }
943,125
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 29860, 87, 326, 1758, 434, 326, 3410, 632, 2463, 326, 1758, 434, 326, 3410, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3410, 1435, 1071, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1758, 3245, 63, 79, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 2932, 8443, 6, 3719, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -...
pragma solidity 0.6.2; pragma experimental ABIEncoderV2; interface Erc1820Registry { function SETINTERFACEIMPLEMENTER302(address _target, bytes32 _interfaceHash, address _implementer) external; //inject NONSTANDARD NAMING } ...
inject NONSTANDARD NAMING
function FINISHRECOVERY886() external ONLYDURINGRECOVERY592 {
5,459,520
[ 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, 25768, 30724, 17529, 28, 5292, 1435, 3903, 20747, 40, 1099, 1360, 30724, 17529, 6162, 22, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-05-11 */ // File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. ...
* @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec...
contract ERC20 is Context, IERC20, IERC20Metadata { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint private constant FEE_BPS = 15; u...
11,662,514
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 3462, 97, 1560, 18, 1220, 4471, 353, 279, 1600, 669, 335, 358, 326, 4031, 2430, 854, 2522, 18, 1220, 4696, 716, 279, 14467, 12860, 711, 358, 506, 3096...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4232, 39, 3462, 353, 1772, 16, 467, 654, 39, 3462, 16, 467, 654, 39, 3462, 2277, 288, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, ...
./partial_match/56/0x51Eee73CC898bFC3a0410E70618e84C5627AB163/sources/LnExchangeSystem.sol
Fee going into the pool, to be adjusted based on foundation split
uint feeForPoolInUsd = mPrices.exchange(destKey, fee, mPrices.LUSD());
11,233,995
[ 1, 4625, 348, 7953, 560, 30, 225, 30174, 8554, 1368, 326, 2845, 16, 358, 506, 13940, 2511, 603, 1392, 367, 1416, 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, 3639, 2254, 14036, 1290, 2864, 382, 3477, 72, 273, 312, 31862, 18, 16641, 12, 10488, 653, 16, 14036, 16, 312, 31862, 18, 48, 3378, 40, 10663, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: CC0-1.0 pragma solidity ^0.8.0; // modules import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@erc725/smart-contracts/contracts/ERC725Y.sol"; // interfaces import "../LSP1UniversalReceiver/ILSP1UniversalReceiver.sol"; import "./I...
* @inheritdoc ILSP8IdentifiableDigitalAsset/
function isOperatorFor(address operator, bytes32 tokenId) public view virtual override returns (bool) { _existsOrError(tokenId); return _isOperatorOrOwner(operator, tokenId); }
5,466,638
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 467, 3045, 52, 28, 6106, 8424, 4907, 7053, 6672, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 5592, 1290, 12, 2867, 3726, 16, 1731, 1578, 1147, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 389, 1808, 1162, 668, 12, 2...
// SPDX-License-Identifier: MIT pragma experimental ABIEncoderV2; pragma solidity ^0.6.12; import "./Interfaces/LiquidityMathModelInterface.sol"; import "./MToken.sol"; import "./Utils/ErrorReporter.sol"; import "./Utils/ExponentialNoError.sol"; import "./Utils/AssetHelpers.sol"; import "./Moartroller.sol"; import "./...
* @notice Approve `spender` to transfer up to `amount` from `src` @dev This will overwrite the approval amount for `spender` @param spender The address of the account which may transfer tokens @param amount The number of tokens that are approved (-1 means infinite) @return Whether or not the approval succeeded/
function approve(address spender, uint256 amount) external virtual override returns (bool) { address src = msg.sender; transferAllowances[src][spender] = amount; emit Approval(src, spender, amount); return true; }
11,817,948
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1716, 685, 537, 1375, 87, 1302, 264, 68, 358, 7412, 731, 358, 1375, 8949, 68, 628, 1375, 4816, 68, 632, 5206, 1220, 903, 6156, 326, 23556, 3844, 364, 1375, 87, 1302, 264, 68, 632, 891,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 6617, 537, 12, 2867, 17571, 264, 16, 2254, 5034, 3844, 13, 3903, 5024, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 1758, 1705, 273, 1234, 18, 15330, 31, 203, 3639, 7412, 7009, 6872, 63, 4816, 6362, 87, 1302, 264, 65, 2...
/** *Submitted for verification at Etherscan.io on 2019-03-22 */ pragma solidity 0.4.24; contract owned { address public owner; modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } ...
* Destroy tokens from other accounts Remove `_value` tokens from the system irreversibly on behalf of `_from`. @param _from the address of the sender @param _value the amount of money to burn/
function multiBurnFrom(address[] memory _from, uint256[] memory _value) public onlyOwner returns (bool success) { uint256 i = 0; while (i < _from.length) { burnFrom(_from[i], _value[i]); i += 1; } return true; }
1,666,158
[ 1, 4625, 348, 7953, 560, 30, 380, 15701, 2430, 628, 1308, 9484, 3581, 1375, 67, 1132, 68, 2430, 628, 326, 2619, 9482, 266, 2496, 24755, 603, 12433, 6186, 434, 1375, 67, 2080, 8338, 632, 891, 389, 2080, 326, 1758, 434, 326, 5793, 632...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3309, 38, 321, 1265, 12, 2867, 8526, 3778, 389, 2080, 16, 2254, 5034, 8526, 3778, 389, 1132, 13, 1071, 1338, 5541, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 2254, 5034, 277, 273, 374, 31, 203, 3639, 1323, 261, 77, 41...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; import "contracts/plugins/mocks/vendored/EasyAuction.sol"; // ==== From https://etherscan.io/address/0x0b7ffc1f4ad541a4ed16b40d8c37f0929158d101 ==== contract EasyAuction is Ownable { using SafeERC20 for IERC20; using SafeMath for uint64; using S...
orders should have a minimum bid size in order to limit the gas required to compute the final price of the auction.
function _placeSellOrders( uint256 auctionId, uint96[] memory _minBuyAmounts, uint96[] memory _sellAmounts, bytes32[] memory _prevSellOrders, bytes calldata allowListCallData, address orderSubmitter ) internal returns (uint64 userId) { { addres...
5,404,280
[ 1, 4625, 348, 7953, 560, 30, 225, 11077, 1410, 1240, 279, 5224, 9949, 963, 316, 1353, 358, 1800, 326, 16189, 1931, 358, 3671, 326, 727, 6205, 434, 326, 279, 4062, 18, 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, 389, 964, 55, 1165, 16528, 12, 203, 3639, 2254, 5034, 279, 4062, 548, 16, 203, 3639, 2254, 10525, 8526, 3778, 389, 1154, 38, 9835, 6275, 87, 16, 203, 3639, 2254, 10525, 8526, 3778, 389, 87, 1165, 6275, 87, 16, 203, 36...
./full_match/43113/0x8A2847728858e7a10bc30f490bE42583D1b40e34/sources/contracts/testSwap.sol
0xE54Ca86531e17Ef3616d22Ca28b0D458b6C89106;
address private constant UNISWAP_V2_ROUTER = 0x89cDF358C03493322a0856b8F05ffD6EB5299d91;
7,184,500
[ 1, 4625, 348, 7953, 560, 30, 225, 374, 17432, 6564, 23508, 5292, 25, 6938, 73, 4033, 41, 74, 5718, 2313, 72, 3787, 23508, 6030, 70, 20, 40, 7950, 28, 70, 26, 39, 6675, 22135, 31, 203, 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, 1758, 3238, 5381, 5019, 5127, 59, 2203, 67, 58, 22, 67, 1457, 1693, 654, 273, 374, 92, 6675, 71, 4577, 4763, 28, 39, 4630, 7616, 23, 1578, 22, 69, 6840, 4313, 70, 28, 42, 6260, 1403, 40, 26, 29258, 9401, 2733, 72, 12416,...
./full_match/1/0xF411fCe86Ce83F3F60853af859BFeB1529687602/sources/browser/PriceFeed.sol
* Network: Rinkeby Aggregator: ETH/USD Address: 0x0bF4e7bf3e1f6D6Dc29AA516A33134985cC3A5aA/* Returns the latest price/
function getLatestPrice(address _address) internal view returns (uint256) { AggregatorInterface priceFeed = AggregatorInterface(_address); int256 p = priceFeed.latestAnswer(); require( p > 0, "Invalid price feed!"); return uint256(p); }
2,966,733
[ 1, 4625, 348, 7953, 560, 30, 380, 5128, 30, 534, 754, 73, 1637, 10594, 639, 30, 512, 2455, 19, 3378, 40, 5267, 30, 374, 92, 20, 70, 42, 24, 73, 27, 17156, 23, 73, 21, 74, 26, 40, 26, 40, 71, 5540, 5284, 25, 2313, 37, 3707, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 336, 18650, 5147, 12, 2867, 389, 2867, 13, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 10594, 639, 1358, 6205, 8141, 273, 10594, 639, 1358, 24899, 2867, 1769, 203, 3639, 509, 5034, 293, 273, 6205, 8141, 18, ...
./partial_match/1/0x96b26C1872566FD977e7A282a17bC0203A20a90e/sources/SimpleSale.sol
* @title ERC20 interface @dev cutdown simply to allow removal of tokens sent to contract/
contract ERC20 { function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); }
15,600,178
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 4232, 39, 3462, 1560, 632, 5206, 276, 4187, 8616, 358, 1699, 14817, 434, 2430, 3271, 358, 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,...
[ 1, 1, 1, 1, 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, 16351, 4232, 39, 3462, 288, 203, 225, 445, 7412, 12, 2867, 358, 16, 2254, 5034, 460, 13, 1135, 261, 6430, 1769, 203, 225, 871, 12279, 12, 2867, 8808, 628, 16, 1758, 8808, 358, 16, 2254, 5034, 460, 1769, 203, 97, 203, 2, -100, ...
./full_match/1/0x48fbF22F027438d95deFc40814A0cc49570FBb5e/sources/browser/DelegatedGov.sol
* @notice remove a pool @param oldPool_ the address of the pool to remove/
function removeAltPool(address oldPool_) external tierThreeDelegation { BinaryOptions protocol = BinaryOptions(pA); protocol.removeAltPool(oldPool_); }
2,974,524
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1206, 279, 2845, 632, 891, 1592, 2864, 67, 326, 1758, 434, 326, 2845, 358, 1206, 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, 1206, 10655, 2864, 12, 2867, 1592, 2864, 67, 13, 3903, 17742, 28019, 26945, 288, 203, 3639, 7896, 1320, 1771, 273, 7896, 1320, 12, 84, 37, 1769, 203, 3639, 1771, 18, 4479, 10655, 2864, 12, 1673, 2864, 67, 1769, 203, 565...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.6; import "./libraries/Margin.sol"; import "./libraries/ReplicationMath.sol"; import "./libraries/Reserve.sol"; import "./libraries/SafeCast.sol"; import "./libraries/Transfers.sol"; import "./libraries/Units.sol"; import "./interfaces/callback/IPrimitiveCr...
@inheritdoc IPrimitiveEngineActions
function remove(bytes32 poolId, uint256 delLiquidity) external override lock returns (uint256 delRisky, uint256 delStable) { if (delLiquidity == 0) revert ZeroLiquidityError(); Reserve.Data storage reserve = reserves[poolId]; if (reserve.blockTimestamp == ...
14,610,532
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 9840, 4410, 6100, 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, 1206, 12, 3890, 1578, 2845, 548, 16, 2254, 5034, 1464, 48, 18988, 24237, 13, 203, 3639, 3903, 203, 3639, 3849, 203, 3639, 2176, 203, 3639, 1135, 261, 11890, 5034, 1464, 54, 10175, 93, 16, 2254, 5034, 1464, 30915, 13, 20...
/*** * https://rugby.show * MIT License * =========== * * Copyright (c) 2020 rugby * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, ...
* @dev Gets the token ID at a given index of the tokens list of the requested owner. @param user address owning the tokens list to be accessed @param index uint256 representing the index to be accessed of the requested tokens list @return uint256 token ID at the given index of the tokens list owned by the requested add...
function tokenOfUsershipByIndex(address user, uint256 index) public view returns (uint256) { require(index < balanceOfUsership(user), "ERC908Enumerable: owner index out of bounds"); return _usershipTokens[user][index]; }
7,242,532
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11881, 326, 1147, 1599, 622, 279, 864, 770, 434, 326, 2430, 666, 434, 326, 3764, 3410, 18, 632, 891, 729, 1758, 25022, 326, 2430, 666, 358, 506, 15539, 632, 891, 770, 2254, 5034, 5123, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1147, 951, 6588, 5310, 21268, 12, 2867, 729, 16, 2254, 5034, 770, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 1615, 411, 11013, 951, 6588, 5310, 12, 1355, 3631, 315, 654, 39, 29, 6840, 3572, ...
pragma solidity 0.4.19; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed prev...
Test global invested amount for sale per contributor
uint256 maxInvestAmountSale = getContributorRemainingSaleAmount(msg.sender);
927,251
[ 1, 4625, 348, 7953, 560, 30, 7766, 2552, 2198, 3149, 3844, 364, 272, 5349, 1534, 31123, 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, 2398, 2254, 5034, 943, 3605, 395, 6275, 30746, 273, 336, 442, 19293, 11429, 30746, 6275, 12, 3576, 18, 15330, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/4/0x884CD34C67E1f19EA33b373eBfc07a11e07a268F/sources/browser/DefiPortal.sol
param _additionalData require uint256 minReturn transfer underlying from sender mint yToken get underlying address get received tokens uint256 received = IERC20(underlyingToken).balanceOf(address(this)); min return check require(received >= minReturn, "MIN_RETURN_FAIL"); send underlying to sender IERC20(underly...
function _YearnWithdraw( address yTokenAddress, uint256 sharesAmount, bytes memory _additionalData ) private returns( address[] memory tokensToReceive, uint256[] memory amountsToReceive ) { (uint256 minReturn) = abi.decode(_additionalData, (uint256)); IYearnToken yToken = I...
13,303,298
[ 1, 4625, 348, 7953, 560, 30, 225, 579, 389, 13996, 751, 2583, 225, 2254, 5034, 1131, 990, 225, 7412, 6808, 628, 5793, 225, 312, 474, 677, 1345, 225, 336, 6808, 1758, 225, 336, 5079, 2430, 2254, 5034, 5079, 273, 467, 654, 39, 3462, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 61, 73, 1303, 1190, 9446, 12, 203, 565, 1758, 677, 1345, 1887, 16, 203, 565, 2254, 5034, 24123, 6275, 16, 203, 565, 1731, 3778, 389, 13996, 751, 203, 225, 262, 203, 565, 3238, 203, 565, 1135, 12, 203, 565, 1758, ...
//Address: 0xE5ce9Fa34bEE24478407Cf61c0F081aA189f81d2 //Contract name: CrowdsaleStoneToken //Balance: 0.001125 Ether //Verification Date: 5/1/2018 //Transacion Count: 6 // CODE STARTS HERE pragma solidity ^0.4.0; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant ret...
if paid more than we can accept
if(tokens>maxToken){
2,559,852
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 30591, 1898, 2353, 732, 848, 2791, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1082, 202, 430, 12, 7860, 34, 1896, 1345, 15329, 6862, 6862, 6862, 6862, 17322, 6862, 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.7.0; // SPDX-License-Identifier: MIT /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); function balanceOf(address account) ...
Storing an initial non-zero value makes deployment a bit more expensive, but in exchange the refund on every call to nonReentrant will be lower in amount. Since refunds are capped to a percetange of the total transaction's gas, it is best to keep them low in cases like this one, to increase the likelihood of the full ...
constructor () { _notEntered = true; }
248,946
[ 1, 4625, 348, 7953, 560, 30, 225, 934, 6053, 392, 2172, 1661, 17, 7124, 460, 7297, 6314, 279, 2831, 1898, 19326, 16, 1496, 316, 7829, 326, 16255, 603, 3614, 745, 358, 1661, 426, 8230, 970, 903, 506, 2612, 316, 3844, 18, 7897, 16255,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3885, 1832, 225, 288, 203, 3639, 389, 902, 10237, 329, 273, 638, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT // P1 - P3: OK pragma solidity 0.6.12; import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import "./interfaces/IUniswapV2ERC20.sol"; import "./interfaces/IUniswapV2Pair.sol...
F1 - F10: OK, see convert C1 - C24: OK C3: Loop is under control of the caller TODO: This can be optimized a fair bit, but this is safer and simpler for now
function convertMultiple( address[] calldata token0, address[] calldata token1 ) external onlyEOA() onlyAuth() { uint256 len = token0.length; for (uint256 i = 0; i < len; i++) { _convert(token0[i], token1[i]); } }
14,033,714
[ 1, 4625, 348, 7953, 560, 30, 225, 478, 21, 300, 478, 2163, 30, 7791, 16, 2621, 1765, 385, 21, 300, 385, 3247, 30, 7791, 385, 23, 30, 9720, 353, 3613, 3325, 434, 326, 4894, 2660, 30, 1220, 848, 506, 15411, 279, 284, 1826, 2831, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 445, 1765, 8438, 12, 203, 3639, 1758, 8526, 745, 892, 1147, 20, 16, 203, 3639, 1758, 8526, 745, 892, 1147, 21, 203, 565, 262, 3903, 1338, 41, 28202, 1435, 1338, 1730, 1435, 288, 203, 3639, 2254, 5034, 562, 273, 1147, 20, 1...
./full_match/4/0x639775044A97637507CDd2dDec00351D1174E7A2/sources/contracts/upgradeable_contracts/omnibridge_nft/components/common/ERC1155Relayer.sol
* @dev ERC1155 transfer callback function. @param _from address of token sender. @param _tokenIds unique ids of the received tokens. @param _values amounts of received tokens. @param _data additional transfer data, can be used for passing alternative receiver address./
function onERC1155BatchReceived( address, address _from, uint256[] calldata _tokenIds, uint256[] calldata _values, bytes calldata _data ) external override returns (bytes4) { require(_tokenIds.length == _values.length); require(_tokenIds.length > 0); ...
662,704
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4232, 39, 2499, 2539, 7412, 1348, 445, 18, 632, 891, 389, 2080, 1758, 434, 1147, 5793, 18, 632, 891, 389, 2316, 2673, 3089, 3258, 434, 326, 5079, 2430, 18, 632, 891, 389, 2372, 30980, 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, 445, 603, 654, 39, 2499, 2539, 4497, 8872, 12, 203, 3639, 1758, 16, 203, 3639, 1758, 389, 2080, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 389, 2316, 2673, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 389, 2372, 16, 203, 363...
/** *Submitted for verification at Etherscan.io on 2021-09-18 */ /** *Submitted for verification at Etherscan.io on 2021-08-23 */ // Sources flattened with hardhat v2.4.3 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @...
Returns the license for tokens
function tokenLicense(uint256 _id) public view returns (string memory) { require(_id < totalSupply(), "CHOOSE A POOHEAD WITHIN RANGE"); return LICENSE_TEXT; }
14,973,291
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 326, 8630, 364, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1147, 13211, 12, 11890, 5034, 389, 350, 13, 1071, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 2583, 24899, 350, 411, 2078, 3088, 1283, 9334, 315, 22213, 51, 1090, 432, 13803, 51, 12458, 13601, 706, 534, 8357, 8863, ...
./full_match/5/0xE5D3b6f8CC5D5D5dD2c7F0a0E4d04dF8A93DdA27/sources/src/subscription/abstracts/ERC5643.sol
@dev Modifier to check if the `duration` is between `minRenewalDuration` and `maxRenewalDuration`.
modifier isDurationBetweenMinAndMax(uint64 duration) { if (duration < minRenewalDuration) { revert RenewalTooShort(); revert RenewalTooLong(); } _; }
11,604,379
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 12832, 358, 866, 309, 326, 1375, 8760, 68, 353, 3086, 1375, 1154, 24058, 287, 5326, 68, 471, 1375, 1896, 24058, 287, 5326, 8338, 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, 9606, 353, 5326, 11831, 2930, 1876, 2747, 12, 11890, 1105, 3734, 13, 288, 203, 3639, 309, 261, 8760, 411, 1131, 24058, 287, 5326, 13, 288, 203, 5411, 15226, 25921, 359, 287, 10703, 4897, 5621, 203, 5411, 15226, 25921, 359, 287...
./partial_match/56/0x90Afdfb246D358282953b3d145ED3Ee4b9c90077/sources/BSCSswapToken.sol
BSCSswapToken with Governance.
contract BSCSswapToken is BEP20('BSCSswap Token', 'BSCD') { uint256 private _cap = 1000000000e18; function cap() public view returns (uint256) { return _cap; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTran...
11,091,281
[ 1, 4625, 348, 7953, 560, 30, 225, 605, 2312, 55, 22270, 1345, 598, 611, 1643, 82, 1359, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 605, 2312, 55, 22270, 1345, 353, 9722, 52, 3462, 2668, 38, 2312, 55, 22270, 3155, 2187, 296, 38, 2312, 40, 6134, 288, 203, 565, 2254, 5034, 3238, 389, 5909, 273, 15088, 3784, 73, 2643, 31, 203, 377, 203, 565, 445, 3523, ...
pragma solidity >=0.4.25; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* DATA VARIAB...
*******************************************************************************************/ SMART CONTRACT FUNCTIONS */*******************************************************************************************/* @dev Add an airline to the registration qu...
function registerAirline(address _airlineAddress, string _airlineName) external requireAirline requireIsOperational { require(!airlines[_airlineAddress].isRegistered, "Airline must not be already registered"); function isOperational() public view ...
6,379,535
[ 1, 4625, 348, 7953, 560, 30, 19756, 19482, 636, 19, 19694, 12014, 4928, 8020, 2849, 1268, 13690, 55, 11794, 1195, 11125, 19482, 636, 5549, 14, 632, 5206, 1436, 392, 23350, 1369, 358, 326, 7914, 2389, 1377, 4480, 1338, 506, 2566, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1744, 29752, 1369, 12, 2867, 389, 1826, 1369, 1887, 16, 533, 389, 1826, 1369, 461, 13, 3903, 2583, 29752, 1369, 2583, 2520, 2988, 287, 288, 203, 3639, 2583, 12, 5, 1826, 3548, 63, 67, 1826, 1369, 1887, 8009, 291, 10868,...
pragma solidity 0.6.12; pragma experimental ABIEncoderV2; interface ERC20 { function totalSupply() external view returns (uint); function decimals() external view returns (uint); function balanceOf(address tokenOwner) external view returns (uint balance); function allowance(address tokenOwner, addr...
* @notice Lets an authorised module add a guardian to a wallet. @param _wallet The target wallet. @param _guardian The guardian to add./* @notice Lets an authorised module revoke a guardian from a wallet. @param _wallet The target wallet. @param _guardian The guardian to revoke./* @notice Checks if an account is a guar...
interface ILimitStorage { function recoverToken(address _token) external; function init(address _wallet) external; function isFeatureAuthorisedInVersionManager(address _wallet, address _feature) external view returns (bool); function getRequiredSignatures(address _wallet, byt...
7,411,435
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 511, 2413, 392, 2869, 5918, 1605, 527, 279, 11026, 2779, 358, 279, 9230, 18, 632, 891, 389, 19177, 1021, 1018, 9230, 18, 632, 891, 389, 24594, 2779, 1021, 11026, 2779, 358, 527, 18, 2030...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 5831, 467, 3039, 3245, 288, 203, 203, 203, 203, 565, 445, 5910, 1345, 12, 2867, 389, 2316, 13, 3903, 31, 203, 203, 203, 203, 203, 203, 203, 203, 565, 445, 1208, 12, 2867, 389, 19177, 13, 3903, 31, 203, 203, 203, 203, 203, 203...
./partial_match/42/0xe9d078aa6BcE3C220636eE90eF255ad623FF5AfC/sources/LENREK1.sol
* @dev See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}; Requirements: - `sender` and `recipient` cannot be the zero address. - `sender` must have a balance of at least `amount`. - the caller must have allowa...
function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( ...
3,361,478
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 3462, 17, 13866, 1265, 5496, 7377, 1282, 392, 288, 23461, 97, 871, 11193, 326, 3526, 1699, 1359, 18, 1220, 353, 486, 1931, 635, 326, 512, 2579, 18, 2164, 326, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 1265, 12, 203, 3639, 1758, 5793, 16, 203, 3639, 1758, 8027, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 1071, 5024, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 389, 13866, 12, 15330, 16, 8027, 16, 3844, 1769, ...
./full_match/1/0xb688801cadb4Ddb6980bb777d42972C24f920855/sources/solidity/contracts/core/VaultController.sol
the balance is the vault's token balance of the current collateral token in the loop
_balance = _vault.balances(_tokenAddress);
9,678,021
[ 1, 4625, 348, 7953, 560, 30, 225, 326, 11013, 353, 326, 9229, 1807, 1147, 11013, 434, 326, 783, 4508, 2045, 287, 1147, 316, 326, 2798, 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, 1377, 389, 12296, 273, 389, 26983, 18, 70, 26488, 24899, 2316, 1887, 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, ...
pragma solidity ^0.4.18 ; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; ...
* @dev Clear package bonus./
function clearPackages() public onlyOwner returns (bool) { intervals = [0]; packages = [0]; return true; }
971,547
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10121, 2181, 324, 22889, 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, ...
[ 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, 2424, 11425, 1435, 1071, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 3639, 10389, 273, 306, 20, 15533, 203, 3639, 5907, 273, 306, 20, 15533, 203, 3639, 327, 638, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -...
pragma solidity ^0.4.21; // File: contracts/ISimpleCrowdsale.sol interface ISimpleCrowdsale { function getSoftCap() external view returns(uint256); function isContributorInLists(address contributorAddress) external view returns(bool); function processReservationFundContribution( address contributo...
* @dev MultiOwnable constructor sets the manager/
function MultiOwnable() public { manager = msg.sender; }
574,537
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5991, 5460, 429, 3885, 1678, 326, 3301, 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, 5991, 5460, 429, 1435, 1071, 288, 203, 3639, 3301, 273, 1234, 18, 15330, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint25...
Verify sweetlist requirements
function ogMint(uint8 _mintAmount, bytes32[] calldata _merkleProof) public payable { require(phase == 1, "Sale has not started"); require(walletBuys[msg.sender] + _mintAmount <= ogMax, "Max presale minted for this wallet!"); require(msg.value >= presalePrice * _mintAmount, "Insufficient funds"); ...
6,193,303
[ 1, 4625, 348, 7953, 560, 30, 225, 8553, 1352, 73, 278, 1098, 8433, 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, 22128, 49, 474, 12, 11890, 28, 389, 81, 474, 6275, 16, 1731, 1578, 8526, 745, 892, 389, 6592, 15609, 20439, 13, 1071, 8843, 429, 288, 203, 565, 2583, 12, 13961, 422, 404, 16, 315, 30746, 711, 486, 5746, 8863, 203, 565...
// File: @onchain-id/solidity/contracts/IERC734.sol pragma solidity ^0.6.2; interface IERC734 { ...
inject NONSTANDARD NAMING
event IDENTITYUNSTORED820(address indexed investorAddress, IIdentity indexed identity);
5,524,117
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 1599, 11101, 2124, 31487, 5879, 28, 3462, 12, 2867, 8808, 2198, 395, 280, 1887, 16, 467, 4334, 8808, 4215, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity 0.5.10; import "./interfaces/IBlockRewardAuRa.sol"; import "./interfaces/IRandomAuRa.sol"; import "./interfaces/IStakingAuRa.sol"; import "./interfaces/IValidatorSetAuRa.sol"; import "./upgradeability/UpgradeabilityAdmin.sol"; import "./libs/SafeMath.sol"; /// @dev Stores the current validator set an...
@dev Makes the non-removable validator removable. Can only be called by the staking address of the non-removable validator or by the `owner`.
function clearUnremovableValidator() external onlyInitialized { address unremovableStakingAddress = unremovableValidator; require(msg.sender == unremovableStakingAddress || msg.sender == _admin()); unremovableValidator = address(0); stakingContract.clearUnremovableValidator(unremovab...
14,065,537
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 490, 3223, 326, 1661, 17, 2764, 1527, 429, 4213, 2797, 429, 18, 4480, 1338, 506, 2566, 635, 326, 384, 6159, 1758, 434, 326, 1661, 17, 2764, 1527, 429, 4213, 578, 635, 326, 1375, 8443, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2424, 984, 2764, 1527, 429, 5126, 1435, 3903, 1338, 11459, 288, 203, 3639, 1758, 640, 2764, 1527, 429, 510, 6159, 1887, 273, 640, 2764, 1527, 429, 5126, 31, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 640, 2764, 1527, 42...
// // SPDX-License-Identifier: MIT pragma solidity 0.6.9; import "./SafeMath.sol"; //SPDX-License-Identifier: <SPDX-License> contract ContractPosting { using SafeMath for uint256; // This struct is for the properties of a post. struct Post { address owner; string contracttitleHash; ...
* @dev Function to get contracttitle contracttext and signimg hashes. @param _index number from total posts iteration. @return contracttitle contracttext and signimg hashes./getHash(_index) — gets the contracttitle, contracttext and signimg hashes using an index number.
function getHash(uint256 _index) public view returns ( string memory contracttitle, string memory contracttext, string memory signimg, address owner ) { owner = posts[_index].owner; contracttitle = posts[_index].cont...
15,781,956
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 336, 6835, 2649, 6835, 955, 471, 1573, 6081, 9869, 18, 632, 891, 389, 1615, 1300, 628, 2078, 10775, 6532, 18, 632, 2463, 6835, 2649, 6835, 955, 471, 1573, 6081, 9869, 18, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16075, 12, 11890, 5034, 389, 1615, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 203, 5411, 533, 3778, 6835, 2649, 16, 203, 5411, 533, 3778, 6835, 955, 16, 203, 5411, 533, 3778, 1573, 6081, 16, 203, 5411, ...
./partial_match/1/0xe6F4d9711121e5304b30aC2Aae57E3b085ad3c4d/sources/src/libraries/external/TakerActions.sol
[WAD] Difference of quote token that borrower receives after take (for fractional NFT only)
uint256 excessQuoteToken;
3,630,342
[ 1, 4625, 348, 7953, 560, 30, 225, 306, 59, 1880, 65, 29474, 434, 3862, 1147, 716, 29759, 264, 17024, 1839, 4862, 261, 1884, 20462, 423, 4464, 1338, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 23183, 10257, 1345, 31, 1850, 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, -1...
/* ・ * ★ ・ 。  ・ ゚☆ 。     * ★ ゚・。 * 。   * ☆ 。・゚*.。    ゚ *.。☆。★ ・ ​ ` .-:::::-.` `-::---...``` `-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo: .--::. .+o...
* @notice Get fee recipients and fees in a single call. The data is the same as when calling getFeeRecipients and getFeeBps separately./
function getRoyalties(uint256 tokenId) public view returns (address payable[] memory recipients, uint256[] memory feesInBasisPoints) { require(_exists(tokenId), "ERC721Metadata: Query for nonexistent token"); recipients = new address payable[](2); recipients[0] = getFoundationTreasury(); ...
6,289,346
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 14036, 12045, 471, 1656, 281, 316, 279, 2202, 745, 18, 1021, 501, 353, 326, 1967, 487, 1347, 4440, 2812, 1340, 22740, 471, 2812, 1340, 38, 1121, 18190, 18, 19, 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, 4170, 13372, 2390, 606, 12, 11890, 5034, 1147, 548, 13, 203, 565, 1071, 203, 565, 1476, 203, 565, 1135, 261, 2867, 8843, 429, 8526, 3778, 12045, 16, 2254, 5034, 8526, 3778, 1656, 281, 382, 11494, 291, 5636, 13, 203, 225...
pragma solidity ^0.4.13; /// @title Ownable contract - base contract with an owner /// @author dev@smartcontracteam.com contract Ownable { address public owner; function Ownable() { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function t...
@dev Check if the ICO goal was reached. @return true if the crowdsale has raised enough money to be a success
function isCrowdsaleFull() public constant returns (bool) { return weiToUsdCents(weiRaised) >= ICO_GOAL; }
2,547,415
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2073, 309, 326, 467, 3865, 17683, 1703, 8675, 18, 632, 2463, 638, 309, 326, 276, 492, 2377, 5349, 711, 11531, 7304, 15601, 358, 506, 279, 2216, 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, 225, 445, 25249, 492, 2377, 5349, 5080, 1435, 1071, 5381, 1135, 261, 6430, 13, 288, 203, 565, 327, 732, 77, 774, 3477, 72, 39, 4877, 12, 1814, 77, 12649, 5918, 13, 1545, 467, 3865, 67, 16387, 1013, 31, 203, 225, 289, 203, 203, ...
./full_match/44787/0x60151555cd059608aF1a49e0714caE6660c58AC9/sources/contracts/StarFarm.sol
require(userNFTs[_msgSender()].length > 0, "star token user");if (_nftAmountGain > 0) {
function testenterStakingNFT(uint256 _tokenId) public returns(uint256) { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][_msgSender()]; require(NFTOwner[_tokenId] == _msgSender(), "error NFT user"); updatePool(0); (uint256 _selfGain, uint256 _parentGain) =...
13,248,160
[ 1, 4625, 348, 7953, 560, 30, 2583, 12, 1355, 50, 4464, 87, 63, 67, 3576, 12021, 1435, 8009, 2469, 405, 374, 16, 315, 10983, 1147, 729, 8863, 430, 261, 67, 82, 1222, 6275, 43, 530, 405, 374, 13, 288, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1842, 2328, 510, 6159, 50, 4464, 12, 11890, 5034, 389, 2316, 548, 13, 1071, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 20, 15533, 203, 3639, 25003, 2502, 729, 273, 16753, 63, ...
pragma solidity >=0.4.22 <0.6.0; // * Gods Unchained Ticket Sale // // * Version 1.0 // // * A dedicated contract selling tickets for the Gods Unchained tournament. // // * https://gu.cards contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address toke...
Accept the next getGodsTokenContract owner.
function acceptNextOwner() external { require(msg.sender == nextOwner, "The new owner has to accept the previously set new owner."); owner = nextOwner; }
12,536,590
[ 1, 4625, 348, 7953, 560, 30, 225, 8662, 326, 1024, 7162, 369, 87, 1345, 8924, 3410, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2791, 2134, 5541, 1435, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1024, 5541, 16, 315, 1986, 394, 3410, 711, 358, 2791, 326, 7243, 444, 394, 3410, 1199, 1769, 203, 3639, 3410, 273, 1024, 5541, 31, 203, 565, ...
pragma solidity ^0.5.0; /// @title Automobile data storage contract CarContract { struct PartInfo { string part; uint timeInstalled; uint carMileage; string whoInstalledPart; } struct OwnerInfo { address ownerAddress; uint timeBought; uint carMilea...
Current owner is only one that can make a part change assert verifies current owner is the person making the part change request
function changeOwner(uint64 vin_, address newOwner, uint currentMileage) public { CarStruct storage currentCar = automobiles[vin_]; uint8 counterOwner_ = currentCar.counterOwner; assert(msg.sender == currentCar.ownerHistory[counterOwner_].ownerAddress); currentCar.counterOwner++; counterOw...
1,761,519
[ 1, 4625, 348, 7953, 560, 30, 225, 6562, 3410, 353, 1338, 1245, 716, 848, 1221, 279, 1087, 2549, 1815, 20761, 783, 3410, 353, 326, 6175, 10480, 326, 1087, 2549, 590, 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, 565, 445, 2549, 5541, 12, 11890, 1105, 331, 267, 67, 16, 1758, 394, 5541, 16, 2254, 783, 49, 398, 410, 13, 1071, 288, 203, 3639, 23672, 3823, 2502, 783, 16321, 273, 18472, 947, 1449, 63, 21529, 67, 15533, 203, 202, 11890, 28, 3...
/* https://t.me/themergeportal https://www.mergecrypto.net */ pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } interface IERC20 { function totalSupply() external view returns (uint256); function bal...
Buy FeeSell FeeOriginal Fee
contract MERGE is Context, IERC20, Ownable { using SafeMath for uint256; uint8 private constant _decimals = 9; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => b...
5,738,093
[ 1, 4625, 348, 7953, 560, 30, 605, 9835, 30174, 55, 1165, 30174, 8176, 30174, 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, 16351, 490, 654, 7113, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 7010, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 7010, 565, 2254, 28, 3238, 5381, 389, 31734, 273, 2468, 31, 203, 7010, 565, 2874, 12, ...
/* Copyright 2021 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
Initialize module before trying register
_setToken.initializeModule();
462,671
[ 1, 4625, 348, 7953, 560, 30, 225, 9190, 1605, 1865, 8374, 1744, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 542, 1345, 18, 11160, 3120, 5621, 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; contract TokenInfo { // Base prices in wei, going off from an Ether value of $500 uint256 public constant PRIVATESALE_BASE_PRICE_IN_WEI = 200000000000000; uint256 public constant PRESALE_BASE_PRICE_IN_WEI = 600000000000000; uint256 public constant ICO_BASE_PRICE_IN_WEI = 800000...
If the amount being transfered is more than the balance of the account the transfer returns false
uint256 previousBalanceFrom = balanceOfAt(_from, block.number);
611,073
[ 1, 4625, 348, 7953, 560, 30, 225, 971, 326, 3844, 3832, 7412, 329, 353, 1898, 2353, 326, 11013, 434, 326, 2236, 326, 7412, 1135, 629, 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, 2254, 5034, 2416, 13937, 1265, 273, 11013, 951, 861, 24899, 2080, 16, 1203, 18, 2696, 1769, 203, 2, -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.4; import "./BaseAsset.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title Contract for Land non fungible token * @author Oleh Andrushko (https://olich.me) * @dev */ contract Land is BaseAsset { using SafeMath for uint256; uint...
* @dev Add an asset to the land @param _landGeohash land geohash @param _assetGeohash asset geohash @param _assetContractAddress the contract address of target asset geohash/ ensure that land exists ensure that the asset has NOT been already added to some land add an asset to a land target contract for asset, may be ne...
function _setAsset(string memory _landGeohash, string memory _assetGeohash, address _assetContractAddress) private { require(_geohashExists(_landGeohash), "Asset set of nonexistent land"); require(_assetAddresses[_assetGeohash] == address(0), "Asset has already been added"); ...
12,770,573
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1436, 392, 3310, 358, 326, 19193, 632, 891, 389, 15733, 12447, 2816, 19193, 7856, 2816, 632, 891, 389, 9406, 12447, 2816, 3310, 7856, 2816, 632, 891, 389, 9406, 8924, 1887, 326, 6835, 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, 565, 445, 389, 542, 6672, 12, 1080, 3778, 389, 15733, 12447, 2816, 16, 533, 3778, 389, 9406, 12447, 2816, 16, 1758, 389, 9406, 8924, 1887, 13, 203, 3639, 3238, 7010, 565, 288, 27699, 3639, 2583, 24899, 12376, 2816, 4002, 24899, 157...
./full_match/1/0x06843e4B350A04f6722b792e2cd49F570DC50315/sources/Vault.sol
Allows wallet to redeem pOLY for OHM
function exercise( uint _amount ) external returns ( bool ) { Term memory info = terms[ msg.sender ]; require( redeemable( info ) >= _amount, 'Not enough vested' ); require( info.max.sub( info.claimed ) >= _amount, 'Claimed over max' ); IERC20( DAI ).safeTransferFrom( msg.sender, ad...
2,976,470
[ 1, 4625, 348, 7953, 560, 30, 225, 25619, 9230, 358, 283, 24903, 293, 1741, 61, 364, 531, 44, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 24165, 12, 2254, 389, 8949, 262, 3903, 1135, 261, 1426, 262, 288, 203, 3639, 6820, 3778, 1123, 273, 6548, 63, 1234, 18, 15330, 308, 31, 203, 3639, 2583, 12, 283, 24903, 429, 12, 1123, 262, 1545, 389, 8949, 16, 296, 12...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.7.6; import "@openzeppelin/contracts/proxy/TransparentUpgradeableProxy.sol"; import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol"; import "@openzeppelin/...
* @title GridZoneVIP @dev Extends ERC721 Non-Fungible Token Standard basic implementation/ Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` Mapping from holder address to their (enumerable) set of owned tokens M...
contract GridZoneVIPUpgradeable is OwnableUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using EnumerableSetUpgradeable for EnumerableSetUpgradeable.UintSet; using SafeERC20Upgradeable for IERC20Upgradeable; using SafeMathUpgradeabl...
10,444,729
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 7145, 4226, 58, 2579, 632, 5206, 6419, 5839, 4232, 39, 27, 5340, 3858, 17, 42, 20651, 1523, 3155, 8263, 5337, 4471, 19, 19344, 358, 1375, 3890, 24, 12, 79, 24410, 581, 5034, 2932, 265, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7145, 4226, 58, 2579, 10784, 429, 353, 14223, 6914, 10784, 429, 16, 4232, 39, 28275, 10784, 429, 16, 467, 654, 39, 27, 5340, 10784, 429, 16, 467, 654, 39, 27, 5340, 2277, 10784, 429, 288, 203, 565, 1450, 5267, 10784, 429, ...
./full_match/1/0x7c804b088109C23d9129366a8C069448A4b219F8/sources/src/cores/ERC721/ERC721Internal.sol
reverts if token not owned
return _batchMarkerDataOf(tokenId).owner;
8,351,438
[ 1, 4625, 348, 7953, 560, 30, 225, 15226, 87, 309, 1147, 486, 16199, 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, 327, 389, 5303, 7078, 751, 951, 12, 2316, 548, 2934, 8443, 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...
/** * @authors: [@mtsalenc] * @reviewers: [@clesaege] * @auditors: [] * @bounties: [] * @deployments: [] */ pragma solidity 0.5.17; /** * @title CappedMath * @dev Math operations with caps for under and overflow. */ library CappedMath { uint constant private UINT_MAX = 2**256 - 1; /** * @...
Address of the requester.
address payable requester;
631,701
[ 1, 4625, 348, 7953, 560, 30, 225, 5267, 434, 326, 19961, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1758, 8843, 429, 19961, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
//Address: 0x47d47c1f174bf9e7322974998e62968cec96257c //Contract name: MineBlocks //Balance: 0 Ether //Verification Date: 1/25/2018 //Transacion Count: 12 // CODE STARTS HERE pragma solidity ^0.4.19; //vicent nos & enrique santos library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256...
Check if the sender has enought eth to buy
require (msg.sender.balance >= msg.value);
12,970,882
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 326, 5793, 711, 570, 83, 9540, 13750, 358, 30143, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 261, 3576, 18, 15330, 18, 12296, 1545, 1234, 18, 1132, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error * https://github.com/OpenZeppelin/zeppelin-solidity/ */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * ...
* approve should be called when allowed[_spender] == 0. To increment allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol/
function increaseApproval (address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; }
7,886,747
[ 1, 4625, 348, 7953, 560, 30, 380, 6617, 537, 1410, 506, 2566, 1347, 2935, 63, 67, 87, 1302, 264, 65, 422, 374, 18, 2974, 5504, 2935, 460, 353, 7844, 358, 999, 333, 445, 358, 4543, 576, 4097, 261, 464, 2529, 3180, 326, 1122, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 10929, 23461, 261, 2867, 389, 87, 1302, 264, 16, 2254, 389, 9665, 620, 13, 1071, 1135, 261, 6430, 13, 288, 203, 565, 2935, 63, 3576, 18, 15330, 6362, 67, 87, 1302, 264, 65, 273, 2935, 63, 3576, 18, 15330, 6362, 67, ...
pragma solidity ^0.6.0; // SPDX-License-Identifier: MIT import './BaseAdminUpgradeabilityProxy.sol'; import './InitializableUpgradeabilityProxy.sol'; /** * @title InitializableAdminUpgradeabilityProxy * @dev Extends from BaseAdminUpgradeabilityProxy with an initializer for * initializing the implementation, admin,...
* @title InitializableAdminUpgradeabilityProxy @dev Extends from BaseAdminUpgradeabilityProxy with an initializer for initializing the implementation, admin, and init data./
contract InitializableAdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, InitializableUpgradeabilityProxy { function initialize(address _logic, address _admin, bytes memory _data) public payable { require(_implementation() == address(0)); InitializableUpgradeabilityProxy.initialize(_logic, _data); ...
2,505,063
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 10188, 6934, 4446, 10784, 2967, 3886, 632, 5206, 6419, 5839, 628, 3360, 4446, 10784, 2967, 3886, 598, 392, 12562, 364, 22584, 326, 4471, 16, 3981, 16, 471, 1208, 501, 18, 19, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10188, 6934, 4446, 10784, 2967, 3886, 353, 3360, 4446, 10784, 2967, 3886, 16, 10188, 6934, 10784, 2967, 3886, 288, 203, 203, 225, 445, 4046, 12, 2867, 389, 28339, 16, 1758, 389, 3666, 16, 1731, 3778, 389, 892, 13, 1071, 8843...
// File: node_modules\@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 ca...
add a unit on sale return on sale unit count
function createSale(uint256 tokenId, uint256 price) public whenNotPaused isInitialed override returns (uint256) { require(_checkMsgSenderMatchOwner(tokenId), "Not unit owner"); require(price >= _minPrice, "Unit price too low"); address payable seller = payable(msg.sender); _escrow(se...
7,000,233
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 279, 2836, 603, 272, 5349, 327, 603, 272, 5349, 2836, 1056, 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, 445, 752, 30746, 12, 11890, 5034, 1147, 548, 16, 2254, 5034, 6205, 13, 1071, 1347, 1248, 28590, 353, 4435, 329, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 24899, 1893, 3332, 12021, 2060, 5541, 12, 2316, 548, 3631,...
./partial_match/1/0xFB41B505b83D3fF7FdbeE5527C744C7fdb975026/sources/COOL.sol
to hold last Buy temporarily
mapping(address => uint256) private _holderLastBuyBlock;
2,721,096
[ 1, 4625, 348, 7953, 560, 30, 225, 358, 6887, 1142, 605, 9835, 18917, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 2254, 5034, 13, 3238, 389, 4505, 3024, 38, 9835, 1768, 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, ...
./full_match/56/0x5D9dCeEedab1a74976B17BFFAB4371bc0023649F/sources/contracts/rango/RangoV1.sol
TODO: check cbridge executor security-groups TODO: make cbridge executor a systemd service TODO: add thorchain aggregator TODO: handle duplicate constructors all over contracts TODO: why approve for all targets in BaseContract Line 121 TODO: why send value for all calls in BaseContract Line 142
contract RangoV1 is BaseContract, RangoCBridgeProxy, RangoThorchainProxy { pragma solidity ^0.8.4; constructor(address _nativeWrappedAddress) { nativeWrappedAddress = _nativeWrappedAddress; } function initialize() public initializer { feeContractAddress = NULL_ADDRESS; rangoCBridg...
3,256,699
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 30, 866, 2875, 5404, 6601, 4373, 17, 4650, 2660, 30, 1221, 2875, 5404, 6601, 279, 23233, 1156, 2660, 30, 527, 286, 280, 5639, 20762, 2660, 30, 1640, 6751, 19874, 777, 1879, 20092, 2660, 30, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 534, 6399, 58, 21, 353, 3360, 8924, 16, 534, 6399, 8876, 5404, 3886, 16, 534, 6399, 1315, 280, 5639, 3886, 288, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 24, 31, 203, 565, 3885, 12, 2867, 389, 13635, ...
pragma solidity 0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high le...
* @title Token Geyser @dev A smart-contract based mechanism to distribute tokens over time, inspired loosely by Compound and Uniswap. Distribution tokens are added to a locked pool in the contract and become unlocked over time according to a once-configurable unlock schedule. Once unlocked, they are avai...
contract TokenGeyser is IStaking, Ownable { using SafeMath for uint256; event Staked(address indexed user, uint256 amount, uint256 total, bytes data); event Unstaked(address indexed user, uint256 amount, uint256 total, bytes data); event TokensClaimed(address indexed user, uint256 amount); event To...
9,934,876
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 3155, 611, 402, 550, 632, 5206, 432, 13706, 17, 16351, 2511, 12860, 358, 25722, 2430, 1879, 813, 16, 316, 1752, 2921, 437, 538, 2357, 635, 1377, 21327, 471, 1351, 291, 91, 438, 18, 1377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3155, 43, 402, 550, 353, 467, 510, 6159, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 871, 934, 9477, 12, 2867, 8808, 729, 16, 2254, 5034, 3844, 16, 2254, 5034, 2078, 16, 1731, ...
./partial_match/1/0x8Ee76e98Ea77c51d4e52b11B8051c70D090Da2Bf/sources/KarakasaKozo.sol
_isExcludedFromFee[_marketingAddress] = true;
constructor() { _rOwned[_msgSender()] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(t...
2,622,156
[ 1, 4625, 348, 7953, 560, 30, 389, 291, 16461, 1265, 14667, 63, 67, 3355, 21747, 1887, 65, 273, 638, 31, 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, 3885, 1435, 288, 203, 203, 3639, 389, 86, 5460, 329, 63, 67, 3576, 12021, 1435, 65, 273, 389, 86, 5269, 31, 203, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 98...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import {Context} from "@openzeppelin/contracts/utils/Context.sol"; import {ERC165Storage} from "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol"; import {Clones} from "@openzeppelin/contracts/proxy/Clones.sol"; import {Address} from "@openzeppelin/co...
@notice Add a new cloneable funds handler Revert if handler already whitelisted whitelist handler Emit event
function addHandler(address _handler) external onlyAdmin() { require(isHandlerWhitelisted[_handler] == false, "Handler already registered"); isHandlerWhitelisted[_handler] = true; emit HandlerAdded(_handler); }
12,615,226
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1436, 279, 394, 3236, 429, 284, 19156, 1838, 868, 1097, 309, 1838, 1818, 26944, 10734, 1838, 16008, 871, 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, 18430, 12, 2867, 389, 4176, 13, 203, 565, 3903, 203, 565, 1338, 4446, 1435, 288, 203, 203, 3639, 2583, 12, 291, 1503, 18927, 329, 63, 67, 4176, 65, 422, 629, 16, 315, 1503, 1818, 4104, 8863, 203, 203, 3639, 353, 1503,...
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; import "../../interfaces/IIdleCDOStrategy.sol"; import "../../interfaces/IIdleToken.sol"; import "../../interfaces/IERC20Detailed.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/...
@notice Anyone can call this because this contract holds no idleTokens and so no 'old' rewards NOTE: stkAAVE rewards are not sent back to the use but accumulated in this contract until 'pullStkAAVE' is called @dev msg.sender should approve this contract first to spend `_amount` of `strategyToken`. redeem rewards and t...
function redeemRewards(bytes calldata) external override returns (uint256[] memory _balances) { IIdleToken _idleToken = idleToken; uint256 bal = _idleToken.balanceOf(msg.sender); if (bal > 0) { _idleToken.transferFrom(msg.sender, address(this), bal); _idleToken.redeemIdleToken(0); _idleT...
14,498,507
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 5502, 476, 848, 745, 333, 2724, 333, 6835, 14798, 1158, 12088, 5157, 471, 1427, 1158, 296, 1673, 11, 283, 6397, 5219, 30, 384, 79, 5284, 3412, 283, 6397, 854, 486, 3271, 1473, 358, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 283, 24903, 17631, 14727, 12, 3890, 745, 892, 13, 3903, 3849, 1135, 261, 11890, 5034, 8526, 3778, 389, 70, 26488, 13, 288, 203, 565, 467, 13834, 1345, 389, 20390, 1345, 273, 12088, 1345, 31, 203, 565, 2254, 5034, 324, 2...
./full_match/56/0xd3a0Ea5feD3815ca2781ff87e64878A4fA512070/sources/AAPTPres.sol
* @dev low level token purchase DO NOT OVERRIDE @param _beneficiary Address performing the token purchase/ calculate token amount to be created update state
function buyTokens(address _beneficiary) public payable { uint256 weiAmount = msg.value; _preValidatePurchase(_beneficiary, weiAmount); uint256 tokens = _getTokenAmount(weiAmount); weiRaised = weiRaised.add(weiAmount); _processPurchase(_beneficiary, tokens); emit T...
3,237,877
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4587, 1801, 1147, 23701, 5467, 4269, 22577, 25382, 632, 891, 389, 70, 4009, 74, 14463, 814, 5267, 14928, 326, 1147, 23701, 19, 4604, 1147, 3844, 358, 506, 2522, 1089, 919, 2, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30143, 5157, 12, 2867, 389, 70, 4009, 74, 14463, 814, 13, 1071, 8843, 429, 288, 203, 3639, 2254, 5034, 732, 77, 6275, 273, 1234, 18, 1132, 31, 203, 3639, 389, 1484, 4270, 23164, 24899, 70, 4009, 74, 14463, 814, 16, 73...
./partial_match/42/0xbBF04E0f4C31Ff39520227C170e29cb2bAf5787b/sources/RewardEscrow.sol
ERROR: type should be string, got " https:docs.pynthetix.io/contracts/source/contracts/rewardescrow"
contract RewardEscrow is Owned, IRewardEscrow { using SafeMath for uint; IPynthetix public pynthetix; IFeePool public feePool; mapping(address => uint[2][]) public vestingSchedules; mapping(address => uint) public totalEscrowedAccountBalance; mapping(address => uint) public totalVestedAccou...
3,308,450
[ 1, 4625, 348, 7953, 560, 30, 225, 2333, 30, 8532, 18, 84, 878, 451, 278, 697, 18, 1594, 19, 16351, 87, 19, 3168, 19, 16351, 87, 19, 266, 2913, 742, 492, 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, 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, 16351, 534, 359, 1060, 6412, 492, 353, 14223, 11748, 16, 15908, 359, 1060, 6412, 492, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 203, 565, 2971, 878, 451, 278, 697, 1071, 293, 878, 451, 278, 697, 31, 203, 203, 565, ...
./partial_match/56/0xbE7284ECD722da80989440F41342cC8aA4d13734/sources/StrategyCakeLP.sol
* @dev Implementation of a strategy to get yields from farming LP Pools in PancakeSwap. PancakeSwap is an automated market maker (“AMM”) that allows two tokens to be exchanged on the Binance Smart Chain. It is fast, cheap, and allows anyone to participate. PancakeSwap is aiming to be the #1 liquidity provider on BSC. T...
contract StrategyCakeLP is Ownable, Pausable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; address constant public wbnb = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c); address constant public cake = address(0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82); ...
11,333,379
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 279, 6252, 358, 336, 16932, 628, 284, 4610, 310, 511, 52, 453, 8192, 316, 12913, 23780, 12521, 18, 12913, 23780, 12521, 353, 392, 18472, 690, 13667, 312, 6388, 261, 163, 227, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19736, 31089, 14461, 353, 14223, 6914, 16, 21800, 16665, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, ...
/** *Submitted for verification at Etherscan.io on 2022-04-13 */ // SPDX-License-Identifier: MIT pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; ////// lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) /* pragma solidity ^...
Anti-bot and anti-whale mappings and variables exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract SOAR is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public marketingWallet; address public devWallet...
7,763,058
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7460, 985, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, 22, 8259, 31, 203, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability wa...
Anti-bot and anti-whale mappings and variables these values are pretty much arbitrary since they get overwritten for every txn, but the placeholders make it easier to work with current contract. store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfe...
contract MASHIMA is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public marketingAddress; address payable public liquidityAddress; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; map...
370,256
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 4259, 924, 854, 7517, 9816, 11078, 3241, 2898, 336, 15345, 364, 3614, 7827, 16, 1496, 326, 12150, 1221, 518, 15857, 358, 1440, 598, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 490, 10793, 3445, 37, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 1758, 8843, 429, 1071, 13667, 310, 1887,...
pragma solidity >=0.4.22 <0.6.0; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import 'openzeppelin-solidity/contracts/ownership/Ownable.sol'; import "./Utils.sol"; /// @notice Contract is Ownable - provides isOwner modifier and necessary constructor contract BribeRelay is Ownable{ using SafeMa...
timestamp of the block of last difficulty adjustment (blockHeight % 2016 == 0)
uint256 public _lastDiffAdjustmentTime;
7,325,830
[ 1, 4625, 348, 7953, 560, 30, 225, 2858, 434, 326, 1203, 434, 1142, 3122, 21934, 18335, 261, 2629, 2686, 738, 12659, 422, 374, 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...
[ 1, 1, 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, 2254, 5034, 1071, 389, 2722, 5938, 19985, 950, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity >=0.5.0; import "./Owner.sol"; contract ProductList is Owner{ struct Item { uint id; address payable seller; address buyer; string name; string description; uint256 price; } //State variables mapping (uint => Item) public items; uint itemCounter= 0; event itemSold(uint indexed ...
Only the owner of this contract can do this
function kill() public onlyOwner {
2,560,113
[ 1, 4625, 348, 7953, 560, 30, 5098, 326, 3410, 434, 333, 6835, 848, 741, 333, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 8673, 1435, 1071, 1338, 5541, 288, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/4/0xeE45B41D1aC24E9a620169994DEb22739F64f231/sources/AssetContractShared.sol
* @title AssetContractShared OpenSea shared asset contract - A contract for easily creating custom assets on OpenSea/
contract AssetContractShared is AssetContract, ReentrancyGuard { mapping(address => bool) public sharedProxyAddresses; using SafeMath for uint256; using TokenIdentifiers for uint256; event CreatorChanged(uint256 indexed _id, address indexed _creator); mapping(uint256 => address) internal _creatorO...
8,674,545
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 10494, 8924, 7887, 3502, 1761, 69, 5116, 3310, 6835, 300, 432, 6835, 364, 17997, 4979, 1679, 7176, 603, 3502, 1761, 69, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10494, 8924, 7887, 353, 10494, 8924, 16, 868, 8230, 12514, 16709, 288, 203, 565, 2874, 12, 2867, 516, 1426, 13, 1071, 5116, 3886, 7148, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 3155, 12745, 364,...
./partial_match/1/0x16FbD31886479c6BCcD0870Efa77846DAa8Fa36c/sources/ERC20.sol
* @dev Interface of the ERC20 standard as defined in the EIP./
interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function totalSupply() external view returns (uint256); function balanceOf(address acwesqwet) external view returns (uint256); ...
3,574,500
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 326, 4232, 39, 3462, 4529, 487, 2553, 316, 326, 512, 2579, 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, ...
[ 1, 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, 5831, 467, 654, 39, 3462, 288, 203, 203, 565, 871, 12279, 12, 2867, 8808, 628, 16, 1758, 8808, 358, 16, 2254, 5034, 460, 1769, 203, 203, 565, 871, 1716, 685, 1125, 12, 2867, 8808, 3410, 16, 1758, 8808, 17571, 264, 16, 2254, 503...
./partial_match/56/0x3B9fE7F52f6DCf0a643FC5d5ed9eD186B8352170/sources/HitmanVaultV1.sol
/ This is deposited for address
user.rewardDebt = user.amount.mul(pool.accHitmanPerShare).div(1e12);
11,215,046
[ 1, 4625, 348, 7953, 560, 30, 342, 1220, 353, 443, 1724, 329, 364, 1758, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 729, 18, 266, 2913, 758, 23602, 273, 729, 18, 8949, 18, 16411, 12, 6011, 18, 8981, 13616, 4728, 2173, 9535, 2934, 2892, 12, 21, 73, 2138, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/8453/0x58bcA53ebba1AAf25F0EDCd8DaD6421872fe20B2/sources/home/user/Documents/git-repos/0x/protocol/node_modules/@0x/contracts-utils/contracts/src/v06/AuthorizableV06.sol
@dev Removes authorizion of an address. @param target Address to remove authorization from.
function removeAuthorizedAddress(address target) external override onlyOwner { if (!authorized[target]) { LibRichErrorsV06.rrevert(LibAuthorizableRichErrorsV06.TargetNotAuthorizedError(target)); } for (uint256 i = 0; i < authorities.length; i++) { if (authorities[i] =...
11,540,621
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 20284, 2869, 452, 285, 434, 392, 1758, 18, 632, 891, 1018, 5267, 358, 1206, 6093, 628, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 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, 1206, 15341, 1887, 12, 2867, 1018, 13, 3903, 3849, 1338, 5541, 288, 203, 3639, 309, 16051, 8434, 63, 3299, 5717, 288, 203, 5411, 10560, 22591, 4229, 58, 7677, 18, 86, 266, 1097, 12, 5664, 3594, 6934, 22591, 4229, 58, 76...
./full_match/137/0x5a26B8F6D338C28573C72E13De363f5a70183356/sources/contracts/rescue_dogs_nft_test01.sol
custom function code must go here
fallback() external payable { }
3,737,394
[ 1, 4625, 348, 7953, 560, 30, 225, 1679, 445, 981, 1297, 1960, 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,...
[ 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, 5922, 1435, 3903, 8843, 429, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/* * SPDX-License-Identitifer: GPL-3.0-or-later * * This file requires contract dependencies which are licensed as * GPL-3.0-or-later, forcing it to also be licensed as such. * * This is the only file in your project that requires this license and * you are free to choose a different license for the rest of t...
If no factory is passed, get it from on-chain bare-kit
constructor(DAOFactory _fac, ENS _ens) public { ens = _ens; if (address(_fac) == address(0)) { bytes32 bareKit = apmNamehash("bare-kit"); fac = TemplateBase(latestVersionAppBase(bareKit)).fac(); fac = _fac; } }
885,951
[ 1, 4625, 348, 7953, 560, 30, 225, 971, 1158, 3272, 353, 2275, 16, 336, 518, 628, 603, 17, 5639, 18208, 17, 8691, 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, 3885, 12, 18485, 1733, 389, 11639, 16, 512, 3156, 389, 773, 13, 1071, 288, 203, 3639, 19670, 273, 389, 773, 31, 203, 203, 3639, 309, 261, 2867, 24899, 11639, 13, 422, 1758, 12, 20, 3719, 288, 203, 5411, 1731, 1578, 18208, ...
./partial_match/1/0x783524e40a79fC717853E0a732D84ea8Ed7BCefD/sources/Staker.sol
allow pool to get tokens
IERC20(capyAddress).approve(UNIROUTER, amountTokenDesired );
15,573,570
[ 1, 4625, 348, 7953, 560, 30, 1699, 2845, 358, 336, 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, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 467, 654, 39, 3462, 12, 5909, 93, 1887, 2934, 12908, 537, 12, 10377, 1457, 1693, 654, 16, 3844, 1345, 25683, 11272, 225, 2, -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; contract DistributedDictionaryMinimal { constructor(){ initWithWords(); } struct Post { uint id; string wordMeaning; int votes; address author; } struct Word{ Post[] posts; } mapping ...
returnes true if a word exists
function isWordExists(string memory word) view public returns (bool){ if(wordsMap[word].posts.length > 0){ return true; } else{ return false; } }
5,546,790
[ 1, 4625, 348, 7953, 560, 30, 225, 327, 281, 638, 309, 279, 2076, 1704, 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, 353, 3944, 4002, 12, 1080, 3778, 2076, 13, 1476, 1071, 1135, 261, 6430, 15329, 203, 3639, 309, 12, 3753, 863, 63, 1095, 8009, 11660, 18, 2469, 405, 374, 15329, 203, 5411, 327, 638, 31, 203, 3639, 289, 203, 3639, 469, ...
pragma solidity ^0.8.3; pragma experimental ABIEncoderV2; /* In AccountChain SC */ contract AccountChain { struct client { address clientAddress; uint clientID; uint point; uint lastPurchaseTime; // used to determine whether the client is still Active. string...
set the time internal to check the client status, the default value is every 30 days.
uint timeIntervalClientActivity = 30;
2,545,486
[ 1, 4625, 348, 7953, 560, 30, 444, 326, 813, 2713, 358, 866, 326, 1004, 1267, 16, 326, 805, 460, 353, 3614, 5196, 4681, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 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, 2254, 813, 4006, 1227, 6193, 273, 5196, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x4885F58756E170dE137474fC540c1268146730Dc/sources/BitBirdClubNFT.sol
Drop Operator Fee Setup
contract BitBirdClubNFT is ERC721Enumerable, RandomlyAssigned, Ownable { uint256 constant MAX_MINT = 5555; uint256 constant MAX_MINT_PER_TRANSACTION = 50; mapping(address => bool) public whitelist; mapping(address => uint256) public totalUserMints; uint256 public normalMintCost; uint256 public...
2,624,814
[ 1, 4625, 348, 7953, 560, 30, 225, 10895, 11097, 30174, 10939, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6539, 38, 6909, 2009, 373, 50, 4464, 353, 4232, 39, 27, 5340, 3572, 25121, 16, 8072, 715, 20363, 16, 14223, 6914, 288, 203, 565, 2254, 5034, 5381, 4552, 67, 49, 3217, 273, 1381, 2539, 25, 31, 203, 565, 2254, 5034, 5381, ...
./full_match/1/0x702860f8fBaCecAbE4Fe21b88BE490D3740276CE/sources/contracts/Credits.sol
@notice Payment Token Address, used to buy credits. @notice Address to receive paymentTokens from credit purchases. @notice Total available plans for buying credits(active + inactive)
struct CreditBuyPlan { uint256 credits; uint256 paymentTokensRequired; bool isActive; } address indexed by, uint256 indexed creditBuyPlan, uint256 creditsBought, uint256 paymentTokenAmount, uint256 timestamp ); address indexed by, ...
9,737,188
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 12022, 3155, 5267, 16, 1399, 358, 30143, 6197, 1282, 18, 632, 20392, 5267, 358, 6798, 5184, 5157, 628, 12896, 5405, 343, 3304, 18, 632, 20392, 10710, 2319, 21440, 364, 30143, 310, 6197, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 1958, 30354, 38, 9835, 5365, 288, 203, 3639, 2254, 5034, 6197, 1282, 31, 203, 3639, 2254, 5034, 5184, 5157, 3705, 31, 203, 3639, 1426, 15083, 31, 203, 565, 289, 203, 203, 203, 3639, 1758, 8808, 635, 16, 203, 3639, 2254, 5034...
pragma solidity 0.4.25; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence library ECDSA { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. W...
* @dev Deploy DecoEscrow contract clone for the newly created project. @param _newContractOwner An `address` of a new contract owner. @return An `address` of a new deployed escrow contract./
function deployEscrowClone(address _newContractOwner) internal returns(address) { DecoRelay relay = DecoRelay(relayContractAddress); DecoEscrowFactory factory = DecoEscrowFactory(relay.escrowFactoryContractAddress()); return factory.createEscrow(_newContractOwner, relay.milestonesContractAdd...
1,084,701
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7406, 3416, 83, 6412, 492, 6835, 3236, 364, 326, 10894, 2522, 1984, 18, 632, 891, 389, 2704, 8924, 5541, 1922, 1375, 2867, 68, 434, 279, 394, 6835, 3410, 18, 632, 2463, 1922, 1375, 2867, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7286, 6412, 492, 10930, 12, 2867, 389, 2704, 8924, 5541, 13, 2713, 1135, 12, 2867, 13, 288, 203, 3639, 3416, 83, 27186, 18874, 273, 3416, 83, 27186, 12, 2878, 528, 8924, 1887, 1769, 203, 3639, 3416, 83, 6412, 492, 1733,...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; contract Erc20Token is IERC20, Ownable { using SafeMath for uint256; mapping(address => uint256) internal balances; mapping(address => mapping(address => uint256)) internal all...
* Transfer token from sender(caller) to '_to' account Requirements: - `_to` cannot be the zero address. - the sender(caller) must have a balance of at least `_value`./
function transfer(address _to, uint256 _value) public override returns (bool) { require (_value <= balances[msg.sender], "transfer value should be smaller than your balance"); require (_to != address(0)); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balanc...
14,693,325
[ 1, 4625, 348, 7953, 560, 30, 380, 12279, 1147, 628, 5793, 12, 16140, 13, 358, 2070, 869, 11, 2236, 29076, 30, 300, 1375, 67, 869, 68, 2780, 506, 326, 3634, 1758, 18, 300, 326, 5793, 12, 16140, 13, 1297, 1240, 279, 11013, 434, 622,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 261, 67, 1132, 1648, 324, 26488, 63, 3576, 18, 15330, 6487, 315, 13866, 460, 1410, 506, 10648, 2353, 3433, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IInterep.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@appliedzkp/semaphore-contracts/interfaces/IVerifier.sol"; import "@appliedzkp/semaphore-contracts/base/SemaphoreCore.sol"; import "@appliedzkp/semaphore-contracts/base/Semaphor...
Prevent double-signaling (nullifierHash = hash(pollId + identityNullifier)).
_saveNullifierHash(nullifierHash);
12,774,650
[ 1, 4625, 348, 7953, 560, 30, 225, 19412, 1645, 17, 10420, 310, 261, 2011, 1251, 2310, 273, 1651, 12, 13835, 548, 397, 4215, 2041, 1251, 13, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 5688, 2041, 1251, 2310, 12, 2011, 1251, 2310, 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, ...
/* Copyright 2019 ZeroEx Intl. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
add y^09 * (20! / 09!)
r += z * 0x00000618fee9f800;
573,518
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 677, 66, 5908, 380, 261, 3462, 5, 342, 21058, 24949, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 436, 1011, 998, 380, 374, 92, 2787, 7677, 2643, 21386, 29, 74, 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,...
// SPDX-License-Identifier: UNLICENSED // Copyright 2021 Arran Schlosberg (@divergencearran / @divergence_art) pragma solidity >=0.8.0 <0.9.0; import "./MetaPurse.sol"; import "./SignatureRegistry.sol"; import "@divergencetech/ethier/contracts/erc721/ERC721Common.sol"; import "@divergencetech/ethier/contracts/sales/F...
@notice Requires that the message sender is the primary GB contract.
modifier onlyGlitchyBitches() { require( msg.sender == address(glitchyBitches), "Only GlitchyBitches contract" ); _; }
944,557
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 16412, 716, 326, 883, 5793, 353, 326, 3354, 25069, 6835, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 21308, 1437, 93, 38, 1437, 281, 1435, 288, 203, 3639, 2583, 12, 203, 5411, 1234, 18, 15330, 422, 1758, 12, 7043, 1437, 93, 38, 1437, 281, 3631, 203, 5411, 315, 3386, 15157, 1437, 93, 38, 1437, 281, 6835, 6, 203...
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than r...
* @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) public returns (bool) { require(value <= balances[msg.sender]); require(to != address(0)); balances[msg.sender] = balances[msg.sender].sub(value); balances[to] = balances[to].add(value); emit Transfer(msg.sender, to, value); ...
502,286
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 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, 565, 445, 7412, 12, 2867, 358, 16, 2254, 5034, 460, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 1132, 1648, 324, 26488, 63, 3576, 18, 15330, 19226, 203, 3639, 2583, 12, 869, 480, 1758, 12, 20, 10019, 203, 203, 3639...
/** *Submitted for verification at Etherscan.io on 2021-07-21 */ pragma solidity ^0.8.0; interface IERC777 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token, usually a shorter version of the ...
This isn't ever read from - it's only used to respond to the defaultOperators query. Immutable, but accounts may revoke them (tracked in __revokedDefaultOperators). For each account, a mapping of its operators and revoked default operators. ERC20-allowances
contract ERC777 is Context, IERC777, IERC20 { using Address for address; IERC1820Registry internal constant _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24); mapping(address => uint256) private _balances; uint256 private _totalSupply; string private _name; str...
2,111,012
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 5177, 1404, 14103, 855, 628, 300, 518, 1807, 1338, 1399, 358, 6846, 358, 326, 805, 24473, 843, 18, 7252, 16, 1496, 9484, 2026, 18007, 2182, 261, 31420, 316, 1001, 9083, 14276, 1868, 24473, 2934,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 16351, 4232, 39, 14509, 353, 1772, 16, 467, 654, 39, 14509, 16, 467, 654, 39, 3462, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 467, 654, 39, 2643, 3462, 4243, 2713, 5381, 389, 654, 39, 2643, 3462, 67, 5937, 25042,...
./partial_match/3/0xFF6d4B4684a39ff3bE7E49AF74f75e4bf776a4d5/sources/LandResourceV5.sol
remove the miner from land2ResourceMineState; update status! for backward compatibility if strength can fluctuate some time in the future
function _stopMining(uint256 _tokenId) internal { uint64 minerIndex = miner2Index[_tokenId].indexInResource; address resource = miner2Index[_tokenId].resource; uint256 landTokenId = miner2Index[_tokenId].landTokenId; mine(landTokenId); uint64 lastMinerIndex = uint64( land2ResourceMineState[landToken...
5,276,759
[ 1, 4625, 348, 7953, 560, 30, 225, 1206, 326, 1131, 264, 628, 19193, 22, 1420, 49, 558, 1119, 31, 1089, 1267, 5, 364, 12555, 8926, 309, 21638, 848, 1183, 853, 89, 340, 2690, 813, 316, 326, 3563, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 389, 5681, 2930, 310, 12, 11890, 5034, 389, 2316, 548, 13, 2713, 288, 203, 202, 202, 11890, 1105, 1131, 264, 1016, 273, 1131, 264, 22, 1016, 63, 67, 2316, 548, 8009, 1615, 382, 1420, 31, 203, 202, 202, 2867, 1058, 273...
./full_match/1/0x2cf78E477C6E2bc3ee58B014dcf5DB074559147b/sources/contracts/SwapProxy.sol
create silica on behalf of seller
address silicaAddress;
8,418,552
[ 1, 4625, 348, 7953, 560, 30, 225, 752, 17714, 26433, 603, 12433, 6186, 434, 29804, 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, 3639, 1758, 17714, 26433, 1887, 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, -10...