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 2021-11-24 */ // Copyright (c) 2021 EverRise Pte Ltd. All rights reserved. // EverRise licenses this file to you under the MIT license. /* The EverRise token is the keystone in the EverRise Ecosytem of dApps and the overaching key that unlocks multi-blockchain unifi...
generate the uniswap pair path of token -> weth make the swap
function swapETHForTokens( address tokenAddress, address toAddress, uint256 amount ) private { address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = tokenAddress; uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransfer...
7,851,284
[ 1, 7163, 326, 640, 291, 91, 438, 3082, 589, 434, 1147, 317, 341, 546, 1221, 326, 7720, 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, 7720, 1584, 44, 1290, 5157, 12, 203, 3639, 1758, 1147, 1887, 16, 203, 3639, 1758, 358, 1887, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3238, 288, 203, 3639, 1758, 8526, 3778, 589, 273, 394, 1758, 8526, 12, 22, 1...
/** *Submitted for verification at Etherscan.io on 2022-03-10 */ // SPDX-License-Identifier: GPL-3.0-or-later /// CurveLPOracle.sol // Copyright (C) 2021 Dai Foundation // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as publishe...
Price source, do not remove as needed for OmegaPoker
address public immutable src;
7,809,285
[ 1, 5147, 1084, 16, 741, 486, 1206, 487, 3577, 364, 25645, 11061, 52, 601, 264, 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, 1758, 1071, 11732, 1705, 31, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/80001/0xCD1DaBd39f930Af0B7cc34b38125f692A0E67571/sources/DynamicNFT.sol
Check if metadata is null Return default metadata Return stored metadata
function getNftAnimation(uint256 tokenId) public view returns (NftAnimation memory) { require(_exists(tokenId), "MyNFT: token does not exist"); if ( bytes(_NftAnimation[tokenId].name).length == 0 && bytes(_NftAnimation[tokenId].animationUrl).length...
9,466,358
[ 1, 1564, 309, 1982, 353, 446, 2000, 805, 1982, 2000, 4041, 1982, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11069, 1222, 10816, 12, 11890, 5034, 1147, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 50, 1222, 10816, 3778, 13, 203, 565, 288, 203, 3639, 2583, 24899, 1808, 12, 2316, 548, 3631, 315, 12062, 50, 44...
./partial_match/1/0x2E32E86cE1551dAC9B27e9B4021282a7515549a1/sources/TAAI.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("Technical Analysis AI ", "TAAI") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswa...
3,580,153
[ 1, 10157, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3885, 1435, 4232, 39, 3462, 2932, 56, 22528, 1706, 16318, 432, 45, 3104, 315, 56, 5284, 45, 7923, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, ...
./partial_match/1/0x8770B2a109AEE8CDbe278FaE6CaE5Aa4Bcd13E1c/sources/Users/ryanbreen/Workspace/Alkemi/alkemi-earn/alkemi-earn-protocol/contracts/MoneyMarketV11.sol
* @notice withdraw `amount` of `asset` from sender's account to sender's address @dev withdraw `amount` of `asset` from msg.sender's account to msg.sender @param asset The market asset to withdraw @param requestedAmount The amount to withdraw (or -1 for max) @return uint 0=success, otherwise a failure (see ErrorReporte...
function withdraw(address asset, uint requestedAmount) public returns (uint) { if (paused) { return fail(Error.CONTRACT_PAUSED, FailureInfo.WITHDRAW_CONTRACT_PAUSED); } Market storage market = markets[asset]; Balance storage supplyBalance = supplyBalances[msg.sender][ass...
3,595,415
[ 1, 1918, 9446, 1375, 8949, 68, 434, 1375, 9406, 68, 628, 5793, 1807, 2236, 358, 5793, 1807, 1758, 225, 598, 9446, 1375, 8949, 68, 434, 1375, 9406, 68, 628, 1234, 18, 15330, 1807, 2236, 358, 1234, 18, 15330, 225, 3310, 1021, 13667, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 12, 2867, 3310, 16, 2254, 3764, 6275, 13, 1071, 1135, 261, 11890, 13, 288, 203, 3639, 309, 261, 8774, 3668, 13, 288, 203, 5411, 327, 2321, 12, 668, 18, 6067, 2849, 1268, 67, 4066, 20093, 16, 13436, 966, 18,...
/* Vault https://github.com/devinaconley/token-hold-example SPDX-License-Identifier: MIT */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./IERC721Holder.sol"; import "hardhat/console.sol"; import "./IERC...
* @notice withdraw token after timelock has elapsed @param tokenId ID of token to withdraw/
function withdraw(uint256 tokenId) public { require( msg.sender == owners[tokenId], "ERC721Vault: sender does not own token" ); require(block.timestamp > locks[tokenId], "ERC721Vault: token is locked"); delete owners[tokenId]; delete locks[tokenId]; balances[msg.sender]--; em...
6,405,277
[ 1, 1918, 9446, 1147, 1839, 1658, 292, 975, 711, 9613, 225, 1147, 548, 1599, 434, 1147, 358, 598, 9446, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 598, 9446, 12, 11890, 5034, 1147, 548, 13, 1071, 288, 203, 565, 2583, 12, 203, 1377, 1234, 18, 15330, 422, 25937, 63, 2316, 548, 6487, 203, 1377, 315, 654, 39, 27, 5340, 12003, 30, 5793, 1552, 486, 4953, 1147, 6, 203,...
/** *Submitted for verification at Etherscan.io on 2020-10-27 */ pragma solidity ^0.5.16; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); ...
inject UNINIT LOCAL/STATE VAR
uint total ;
1,029,298
[ 1, 22170, 5019, 12919, 15234, 19, 7998, 8350, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 274, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.7.5; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; /** * @dev This contract allows for non-custodial Gitcoin Grants match payouts. It works as follows: * 1. During a matching round, deploy a new instance of this contract...
@dev Maps a grant's receiving address their match amount
mapping(address => uint256) public payouts;
97,566
[ 1, 8903, 279, 7936, 1807, 15847, 1758, 3675, 845, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 293, 2012, 87, 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, ...
./partial_match/97/0x57E1bf28D3438002Dc64cc6a98Be2fC5A1302fCD/sources/TestToken.sol
@notice Creates `_amount` token to `_to`. Must only be called by the owner.
function mintTo(address _to, uint256 _amount) public { _mint(_to, _amount); }
11,434,339
[ 1, 2729, 1375, 67, 8949, 68, 1147, 358, 1375, 67, 869, 8338, 6753, 1338, 506, 2566, 635, 326, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 312, 474, 774, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 1071, 288, 203, 3639, 389, 81, 474, 24899, 869, 16, 389, 8949, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// VERSION K pragma solidity ^0.4.8; // // FOR REFERENCE - INCLUDE iE4RowEscrow (interface) CONTRACT at the top ..... // contract iE4RowEscrow { function getNumGamesStarted() constant returns (int ngames); } // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIP...
10 per cent of tokens after close to developers
uint numDevTokens;
12,973,967
[ 1, 2163, 1534, 8301, 434, 2430, 1839, 1746, 358, 21701, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 11890, 818, 8870, 5157, 31, 3196, 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,...
pragma solidity >=0.4.22 <0.6.0; contract FiveForty { // "FiveForty" investment contract // 5% daily up to 200% of invest // 10% marketing fee // 5% reward to referrer and refferal (need to have invest) // // Send ETH to make an invest // Send 0 ETH to payout // Recomended GAS LIMIT - 150 000 // // ***...
calculating amount of daily payment (5% of invest)
dailyPayment[msg.sender] = (invested[msg.sender] * 2 - totalPaid[msg.sender]) / 40;
6,376,778
[ 1, 12780, 1776, 3844, 434, 18872, 5184, 261, 25, 9, 434, 2198, 395, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 18872, 6032, 63, 3576, 18, 15330, 65, 273, 261, 5768, 3149, 63, 3576, 18, 15330, 65, 380, 576, 300, 2078, 16507, 350, 63, 3576, 18, 15330, 5717, 342, 8063, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x1D6c89Aca9010Dd5a8e890843eaEC1Eb19A3c50d/sources/DOGE.sol
2% from total supply maxWallet
maxWallet = 92069000 * 1e18;
3,639,812
[ 1, 22, 9, 628, 2078, 14467, 943, 16936, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 943, 16936, 273, 2468, 3462, 8148, 3784, 380, 404, 73, 2643, 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, -1...
// SPDX-License-Identifier: GNU-GPL v3.0 or later pragma solidity ^0.8.0; import "./interfaces/IRevest.sol"; import "./interfaces/IAddressRegistry.sol"; import "./interfaces/IFeeReporter.sol"; import "./interfaces/IRewardsHandler.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contrac...
Assign what ERC20 pathToSwaps[0] the FNFT will hold
fnftConfig.asset = pathToSwaps[pathToSwaps.length - 1];
14,935,840
[ 1, 4910, 4121, 4232, 39, 3462, 12221, 6050, 6679, 63, 20, 65, 326, 27103, 4464, 903, 6887, 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, 3639, 2295, 1222, 809, 18, 9406, 273, 12221, 6050, 6679, 63, 803, 774, 6050, 6679, 18, 2469, 300, 404, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/71402/0x2066CAe939E14599f6ED79036b30541328B4C9B6/sources/contracts/relayer/LidoWrapping.sol
No approval is needed here, as wstETH is burned directly from the relayer's account
uint256 result = _wstETH.unwrap(amount);
7,092,728
[ 1, 2279, 23556, 353, 3577, 2674, 16, 487, 341, 334, 1584, 44, 353, 18305, 329, 5122, 628, 326, 1279, 1773, 1807, 2236, 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, 3639, 2254, 5034, 563, 273, 389, 91, 334, 1584, 44, 18, 318, 4113, 12, 8949, 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, ...
pragma solidity ^0.5.9; pragma experimental ABIEncoderV2; // libraries import "@0x/contracts-exchange-libs/contracts/src/LibFillResults.sol"; import "@0x/contracts-erc20/contracts/src/LibERC20Token.sol"; import "@0x/contracts-utils/contracts/src/LibSafeMath.sol"; // interfaces import "@0x/contracts-erc20/contracts/sr...
constants contract references margin position related variables structs
{ using LibSafeMath for uint256; uint256 constant internal MAX_UINT = uint256(-1); address payable internal owner; IExchange internal exchange; IComptroller internal comptroller; ICERC20 internal cdai; ICEther internal ceth; IEtherToken internal weth; IERC20Token internal dai; im...
12,697,408
[ 1, 13358, 6835, 5351, 7333, 1754, 3746, 3152, 8179, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 95, 203, 565, 1450, 10560, 9890, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 5381, 2713, 4552, 67, 57, 3217, 273, 2254, 5034, 19236, 21, 1769, 203, 203, 565, 1758, 8843, 429, 2713, 3410, 31, 203, 565, 467, 11688, 2713,...
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 = "Ether2AI"; symbol = "ETH2AI"; decimals = 18; _totalSupply = 60000000000000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
12,020,210
[ 1, 442, 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, 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, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 41, 1136, 22, 18194, 14432, 203, 3639, 3273, 273, 315, 1584, 44, 22, 18194, 14432, 203, 3639, 15105, 273, 6549, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 1666, 12648, 12648, ...
./full_match/3/0x4620C2d52C589840A8eE800F36B9b2E0e704Af08/sources/contracts/valentinu.sol
Limiting early mover's advantage
totalFee = 20;
8,140,740
[ 1, 3039, 310, 11646, 312, 1643, 1807, 1261, 7445, 410, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 10792, 2078, 14667, 273, 4200, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0x411F2DD2514F6D26707Cc06A16719fd33B76fAd6/sources/Overmoon.sol
Adding Variables for all the routers for easier deployment for our customers.
constructor() ERC20("Overmoon", "OVERMOON") { address _owner = 0x2DA12c40bf09B73E4999D555DBC792a133259ea3; _decimals = 18; uint256 totalSupply = 1000000000000000 * (10**_decimals); buyMarketingFee = 0; buyLiquidityFee = 0; buyDevFee = 0; buyBuyBac...
15,967,989
[ 1, 13962, 23536, 364, 777, 326, 28944, 364, 15857, 6314, 364, 3134, 29380, 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, 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, 3885, 1435, 4232, 39, 3462, 2932, 4851, 8683, 265, 3113, 315, 12959, 5980, 673, 7923, 288, 203, 203, 3639, 1758, 389, 8443, 273, 374, 92, 22, 9793, 2138, 71, 7132, 17156, 5908, 38, 9036, 41, 24, 11984, 40, 2539, 25, 13183, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "../ManagerProxyTarget.sol"; import "./IBondingManager.sol"; import "../libraries/SortedDoublyLL.sol"; import "../libraries/MathUtils.sol"; import "../libraries/PreciseMathUtils.sol"; import "./libraries/EarningsPool.sol"; import "./libraries/EarningsPoolLI...
* @notice Unbond an amount of the delegator's bonded stake and updates the transcoder pool using an optional list hint if needed @dev If the caller remains in the transcoder pool, the caller can provide an optional hint for its insertion position in the pool via the `_newPosPrev` and `_newPosNext` params. A linear sear...
function unbondWithHint( uint256 _amount, address _newPosPrev, address _newPosNext ) public whenSystemNotPaused currentRoundInitialized autoClaimEarnings { require(delegatorStatus(msg.sender) == DelegatorStatus.Bonded, "caller must be bonded"); Delegator storage del = de...
13,004,550
[ 1, 984, 26425, 392, 3844, 434, 326, 11158, 639, 1807, 324, 265, 785, 384, 911, 471, 4533, 326, 906, 3396, 2845, 1450, 392, 3129, 666, 7380, 309, 3577, 225, 971, 326, 4894, 22632, 316, 326, 906, 3396, 2845, 16, 326, 4894, 848, 5615, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 26425, 1190, 7002, 12, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, 1758, 389, 2704, 1616, 9958, 16, 203, 3639, 1758, 389, 2704, 1616, 2134, 203, 565, 262, 1071, 1347, 3163, 1248, 28590, 783, 11066, 11459, 3656, ...
pragma solidity ^0.4.11; interface CommonWallet { function receive() external payable; } library StringUtils { function concat(string _a, string _b) internal pure returns (string) { bytes memory _ba = bytes(_a); bytes memory _bb = bytes(_b); ...
@dev Mint new token with specified params. Transfer `_fee` to the `bank`. @param _to New token owner. @param _fee Transaction fee. @param _genNum Generation number.. @param _genome New genome unique value. @param _parentA Parent A. @param _parentB Parent B. @param _petId Pet identifier. @param _params List of paramete...
function mintRelease( address _to, uint256 _fee, uint8 _genNum, string _genome, uint256 _parentA, uint256 _parentB, string _params, uint256 _transferCost ) external minionOnly operateModeOnly returns(uint256) { ...
5,397,235
[ 1, 49, 474, 394, 1147, 598, 1269, 859, 18, 12279, 1375, 67, 21386, 68, 358, 326, 1375, 10546, 8338, 225, 389, 869, 1166, 1147, 3410, 18, 225, 389, 21386, 5947, 14036, 18, 225, 389, 4507, 2578, 23234, 1300, 838, 225, 389, 23220, 1166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 7391, 12, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 21386, 16, 203, 540, 203, 3639, 2254, 28, 282, 389, 4507, 2578, 16, 203, 3639, 533, 282, 389, 23220, 16, 203, 3639, 2254, 5034, 389, 2938,...
./full_match/1/0x47a4A4637ac574C797a06F18840dd26391Bb0d1E/sources/Astroape.sol
Contract implementation Tax and charity fees will start at 0 so we don't have a big impact when deploying to Uniswap Charity wallet address is null but the method to set the address is exposed We will set a minimum amount of tokens to be swaped => 5M
contract AstroApe is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; ...
9,613,347
[ 1, 8924, 4471, 18240, 471, 1149, 560, 1656, 281, 903, 787, 622, 374, 1427, 732, 2727, 1404, 1240, 279, 5446, 15800, 1347, 7286, 310, 358, 1351, 291, 91, 438, 3703, 560, 9230, 1758, 353, 446, 1496, 326, 707, 358, 444, 326, 1758, 353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 6835, 16614, 303, 37, 347, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 3639, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 3639, 1450, 5267, 364, 1758, 31, 203, 203, 3639, 2874, 261, 2867, 516, 2254, 5034, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific funct...
* @title MetaSwapDeposit @notice This contract flattens the LP token in a MetaSwap pool for easier user access. MetaSwap must be deployed before this contract can be initialized successfully. For example, suppose there exists a base Swap pool consisting of [DAI, USDC, USDT]. Then a MetaSwap pool can be created with [sU...
contract MetaSwapDeposit is Initializable, ReentrancyGuardUpgradeable { using SafeERC20 for IERC20; using SafeMath for uint256; ISwap public baseSwap; IMetaSwap public metaSwap; IERC20[] public baseTokens; IERC20[] public metaTokens; IERC20[] public tokens; IERC20 public metaLPToken; ...
936,480
[ 1, 2781, 12521, 758, 1724, 225, 1220, 6835, 3569, 88, 773, 326, 511, 52, 1147, 316, 279, 6565, 12521, 2845, 364, 15857, 729, 2006, 18, 6565, 12521, 1297, 506, 19357, 1865, 333, 6835, 848, 506, 6454, 4985, 18, 2457, 3454, 16, 1169, 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, 16351, 6565, 12521, 758, 1724, 353, 10188, 6934, 16, 868, 8230, 12514, 16709, 10784, 429, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 4...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/t...
0 - 249 90 Matic
return 90000000000000000000;
1,779,710
[ 1, 20, 300, 4248, 29, 377, 8566, 490, 2126, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 327, 2468, 12648, 12648, 3784, 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...
/** *Submitted for verification at Etherscan.io on 2021-08-23 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount o...
@notice Convert fund amount to cash amount @dev This converts the user fund amount to cash amount when a user redeems the fund @param fundAmount Redeem fund amount @return Cash amount @notice Convert cash amount to fund amount @dev This converts cash amount to fund amount when a user buys the fund @param cashAmount Jo...
contract Fund is BasicFund { using SafeERC20 for IERC20; using SafeMath for uint256; using SafeMathExtends for uint256; using Address for address; event PoolJoined(address indexed investor, uint256 amount); event PoolExited(address indexed investor, uint256 amount); function convertToCash...
6,627,275
[ 1, 2723, 284, 1074, 3844, 358, 276, 961, 3844, 225, 1220, 7759, 326, 729, 284, 1074, 3844, 358, 276, 961, 3844, 1347, 279, 729, 283, 323, 7424, 326, 284, 1074, 225, 284, 1074, 6275, 868, 24903, 284, 1074, 3844, 327, 385, 961, 3844, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 478, 1074, 353, 7651, 42, 1074, 288, 203, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 10477, 19581, 364, 2254, 5034, 31, 203,...
./full_match/80001/0x593c1490121bEF64347dc951633bAA1Dc3526E38/sources/contracts/1_Storage.sol
* @dev Gets initial fee percentage that applies to first buyings @return percentage of initial fee with 2 decimals/* @dev Gets buying fee percentage that applies to all buyings except first one @return percentage of buying fee with 2 decimals/* @dev Interface of the ERC20 standard as defined in the EIP./
interface IToken is IERC20 { function decimals() external view returns (uint8); }
9,471,049
[ 1, 3002, 2172, 14036, 11622, 716, 10294, 358, 1122, 30143, 899, 327, 11622, 434, 2172, 14036, 598, 576, 15105, 19, 225, 11881, 30143, 310, 14036, 11622, 716, 10294, 358, 777, 30143, 899, 1335, 1122, 1245, 327, 11622, 434, 30143, 310, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 5831, 467, 1345, 353, 467, 654, 39, 3462, 288, 203, 565, 445, 15105, 1435, 3903, 1476, 1135, 261, 11890, 28, 1769, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // ...
/ The balance of any account can be calculated from the Transfer events history. However, since we need to keep the balances to validate transfer request, there is no extra cost to also privide a querry function.
function balanceOf(address _owner, uint256 _id) external override view returns (uint256) { return balances[_id][_owner]; } @param _owners The addresses of the token holders @param _ids ID of the Tokens @return The _owner's balance of the Token types requested (i.e. ba...
12,579,671
[ 1, 19, 1021, 11013, 434, 1281, 2236, 848, 506, 8894, 628, 326, 12279, 2641, 4927, 18, 10724, 16, 3241, 732, 1608, 358, 3455, 326, 324, 26488, 358, 1954, 7412, 590, 16, 1915, 353, 1158, 2870, 6991, 358, 2546, 6015, 831, 279, 719, 219...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11013, 951, 12, 2867, 389, 8443, 16, 2254, 5034, 389, 350, 13, 3903, 3849, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 324, 26488, 63, 67, 350, 6362, 67, 8443, 15533, 203, 565, 289, 203, 203, 203, 3639, 632...
./partial_match/1/0x13efc83c17e245FE54ee470c5A0Fe59FF5DbCA35/sources/NinetoFive.sol
0.5% of total supply
uint256 amount = (_totalSupply * 50) / 10_000;
2,695,346
[ 1, 20, 18, 25, 9, 434, 2078, 14467, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3844, 273, 261, 67, 4963, 3088, 1283, 380, 6437, 13, 342, 1728, 67, 3784, 31, 225, 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.6.0 <0.7.0; pragma experimental ABIEncoderV2; // File: witnet-ethereum-block-relay/contracts/BlockRelayInterface.sol /** * @title Block Relay Interface * @notice Interface of a Block Relay to a Witnet network * It defines how to interact with the Block Relay in o...
* @notice Include an address to specify the WitnetRequestsBoard. @param _wrb WitnetRequestsBoard address./
constructor(address _wrb) public { wrb = WitnetRequestsBoardProxy(_wrb); }
901,292
[ 1, 8752, 392, 1758, 358, 4800, 326, 678, 305, 2758, 6421, 22233, 18, 225, 389, 91, 6731, 678, 305, 2758, 6421, 22233, 1758, 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, ...
[ 1, 1, 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, 225, 3885, 12, 2867, 389, 91, 6731, 13, 1071, 288, 203, 565, 341, 6731, 273, 678, 305, 2758, 6421, 22233, 3886, 24899, 91, 6731, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * KosiumPio...
Remove users from the whitelist for the presale/
function removeFromWhitelist(address[] calldata earlyAdopterAddresses) external onlyOwner{ for (uint i = 0; i < earlyAdopterAddresses.length; i++){ whitelistedPresaleAddresses[earlyAdopterAddresses[i]] = false; } }
11,806,565
[ 1, 3288, 3677, 628, 326, 10734, 364, 326, 4075, 5349, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22386, 18927, 12, 2867, 8526, 745, 892, 11646, 1871, 3838, 264, 7148, 13, 3903, 1338, 5541, 95, 203, 3639, 364, 261, 11890, 277, 273, 374, 31, 277, 411, 11646, 1871, 3838, 264, 7148, 18, 2469, 31, 277, 27245, 95, 203, ...
./full_match/1/0xeE4Dc4275aD19b0Ef692aA12cf5F1C54DFE0a214/sources/TropicalOtters.sol
turtleId => claim info
mapping(uint256 => uint256) private claimInfo;
8,410,766
[ 1, 25271, 5929, 548, 516, 7516, 1123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 5034, 516, 2254, 5034, 13, 3238, 7516, 966, 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, -10...
//SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.9.0; pragma experimental ABIEncoderV2; import "./IAccumulator.sol"; import "../libraries/AccumulationLibrary.sol"; import "../libraries/ObservationLibrary.sol"; /** * @title IPriceAccumulator * @notice An interface that defines a "price accumulator" - that...
* @title IPriceAccumulator @notice An interface that defines a "price accumulator" - that is, a cumulative price - with a single quote token and many exchange tokens. @dev Price accumulators are used to calculate time-weighted average prices./
abstract contract IPriceAccumulator is IAccumulator { event Updated(address indexed token, uint256 price, uint256 timestamp); function calculatePrice( AccumulationLibrary.PriceAccumulator calldata firstAccumulation, AccumulationLibrary.PriceAccumulator calldata secondAccumulation ) external...
12,955,945
[ 1, 2579, 3057, 27361, 225, 1922, 1560, 716, 11164, 279, 315, 8694, 13514, 6, 300, 716, 353, 16, 279, 15582, 6205, 300, 598, 279, 2202, 3862, 1147, 282, 471, 4906, 7829, 2430, 18, 225, 20137, 8822, 3062, 854, 1399, 358, 4604, 813, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 2971, 3057, 27361, 353, 467, 27361, 288, 203, 565, 871, 19301, 12, 2867, 8808, 1147, 16, 2254, 5034, 6205, 16, 2254, 5034, 2858, 1769, 203, 203, 565, 445, 4604, 5147, 12, 203, 3639, 15980, 5283, 367, 9313, 18, 5147, ...
./full_match/80001/0x0516a0C508B15F4CB8ea349128ea671987e785D3/sources/final.sol
* THIS IS AN EXAMPLE CONTRACT WHICH USES HARDCODED VALUES FOR CLARITY. PLEASE DO NOT USE THIS CODE IN PRODUCTION./
contract RandomNumberConsumer is VRFConsumerBase { bytes32 internal keyHash; uint256 internal fee; mapping (uint => uint) public random; uint256 public randomResult; uint[] public shuffle; constructor() VRFConsumerBase( ) public { keyHash = 0x6e75b569a01ef...
5,611,171
[ 1, 2455, 5127, 4437, 8175, 5675, 21373, 8020, 2849, 1268, 14735, 45, 1792, 14988, 55, 670, 985, 5528, 1212, 2056, 13477, 12108, 14934, 985, 4107, 18, 453, 22357, 5467, 4269, 14988, 20676, 11128, 2120, 11770, 1212, 27035, 18, 19, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 8072, 1854, 5869, 353, 776, 12918, 5869, 2171, 288, 203, 377, 203, 565, 1731, 1578, 2713, 498, 2310, 31, 203, 565, 2254, 5034, 2713, 14036, 31, 203, 565, 2874, 261, 11890, 516, 2254, 13, 1071, 2744, 31, 203, 203, 377, 203,...
./full_match/56/0xa3585d3BcDDA3917942a2410e0cE4599b3bD47d4/sources/project:/contracts/rules/interactionRules/InvestorHasNTT.sol
@notice checks if the `_accountsToCheck` pass the conditions of the rule @param _accountsToCheck list of addresses to check @return true if all addresses passed the validation
function checkRule( address[] memory _accountsToCheck ) external view returns (bool) { for (uint256 i = 0; i < _accountsToCheck.length; i++) { _checkIfHasSoulbID(_accountsToCheck[i]); } return true; }
3,257,643
[ 1, 12366, 309, 326, 1375, 67, 4631, 11634, 1564, 68, 1342, 326, 4636, 434, 326, 1720, 225, 389, 4631, 11634, 1564, 666, 434, 6138, 358, 866, 327, 638, 309, 777, 6138, 2275, 326, 3379, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 866, 2175, 12, 203, 3639, 1758, 8526, 3778, 389, 4631, 11634, 1564, 203, 565, 262, 3903, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 389, 4631, 11634, 1564, 18, 2469, ...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ERC721AKarine.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/interf...
* @dev Returns whether `tokenId` exists. Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. Tokens start existing when they are minted (`_mint`),/
function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < _currentIndex && !_ownerships[tokenId].burned; }
1,296,025
[ 1, 1356, 2856, 1375, 2316, 548, 68, 1704, 18, 13899, 848, 506, 7016, 635, 3675, 3410, 578, 20412, 9484, 3970, 288, 12908, 537, 97, 578, 288, 542, 23461, 1290, 1595, 5496, 13899, 787, 2062, 1347, 2898, 854, 312, 474, 329, 21863, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 389, 1808, 12, 11890, 5034, 1147, 548, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 565, 327, 1147, 548, 411, 389, 2972, 1016, 597, 401, 67, 995, 12565, 87, 63, 2316, 548, 8009, 70, 321, 329, 31, 203, 225, 289, 20...
./full_match/80001/0xafB8D3F0d92461d3c860E4F7FA1B28a5BF8a1cF8/sources/MintingNFT.sol
Returns current counts of NFTs that have been already minted */
function myTotalSupply() public view returns(uint[] memory res){ return currentCounts; }
874,111
[ 1, 1356, 783, 6880, 434, 423, 4464, 87, 716, 1240, 2118, 1818, 312, 474, 329, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3399, 5269, 3088, 1283, 1435, 1071, 1476, 1135, 12, 11890, 8526, 3778, 400, 15329, 203, 3639, 327, 783, 9211, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; /** * @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 private _owner; event OwnershipTransferred(address indexed...
count of number of epochs
uint256 latestEpoch = 0;
14,033,247
[ 1, 1883, 434, 1300, 434, 25480, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2254, 5034, 4891, 14638, 273, 374, 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, ...
pragma solidity 0.5.10; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions...
* @dev PUBLIC FACING: Enter the auction lobby for the current round @param referrerAddr TRX address of referring user (optional; 0x0 for no referrer)/
{ uint256 enterDay = _currentDay(); uint256 rawAmount = msg.value; require(rawAmount != 0, "E2X: Amount required"); XfLobbyQueueStore storage qRef = xfLobbyMembers[enterDay][msg.sender]; uint256 entryIndex = qRef.tailIndex++; qRef.entries[entryIndex] = XfLobbyEntr...
2,179,810
[ 1, 14939, 478, 2226, 1360, 30, 15439, 326, 279, 4062, 22925, 1637, 364, 326, 783, 3643, 225, 14502, 3178, 4235, 60, 1758, 434, 1278, 20245, 729, 261, 10444, 31, 374, 92, 20, 364, 1158, 14502, 13176, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 2254, 5034, 6103, 4245, 273, 389, 2972, 4245, 5621, 203, 203, 3639, 2254, 5034, 1831, 6275, 273, 1234, 18, 1132, 31, 203, 3639, 2583, 12, 1899, 6275, 480, 374, 16, 315, 41, 22, 60, 30, 16811, 1931, 8863, 20...
pragma solidity ^0.4.18; import 'zeppelin-solidity/contracts/math/SafeMath.sol'; import './IVideoBase.sol'; import './VideoBaseAccessor.sol'; contract VideoCreator is VideoBaseAccessor { using SafeMath for uint256; /*** STORAGE ***/ /// @dev Cost in weis for propose a new video. uint256 public n...
** STORAGE ***/ @dev Cost in weis for propose a new video. @dev Cost in weis for update a video.** EVENTS ***/ @dev Emitted when a new video is proposed to added. To be captured by an oracle which imports the video. @param videoId new video id proposed. @dev Emitted when an existing video is requested to be updated...
{ uint256 _cost = newVideoCost; if (videoBase.owner() == msg.sender || videoBase.findBoardMember(msg.sender) >= 0) { } require(msg.value >= _cost); uint256 senderRemaining = msg.value.sub(_cost); uint256 payeeSplit = getPayeeSplit(_cost); NewVideoProposed(videoId); if (_co...
895,960
[ 1, 19009, 342, 282, 28108, 316, 732, 291, 364, 450, 4150, 279, 394, 6191, 18, 282, 28108, 316, 732, 291, 364, 1089, 279, 6191, 18, 9964, 55, 342, 225, 512, 7948, 1347, 279, 394, 6191, 353, 20084, 358, 3096, 18, 2974, 506, 19550, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 1377, 288, 203, 565, 2254, 5034, 389, 12398, 273, 394, 10083, 8018, 31, 203, 565, 309, 261, 9115, 2171, 18, 8443, 1435, 422, 1234, 18, 15330, 747, 203, 3639, 6191, 2171, 18, 4720, 22233, 4419, 12, 3576, 18, 15330, 13, 1545, 374, ...
/** *Submitted for verification at Etherscan.io on 2021-12-15 */ // File: contracts/IWoofpackNFTToken.sol // SPDX-License-Identifier: MIT pragma experimental ABIEncoderV2; pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IWoofpackNFTToken { /** * @dev ...
* @dev Determines how ETH is stored/forwarded on purchases./
function _forwardFunds(address /*beneficiary*/, uint256 /*weiAmount*/) internal virtual { _wallet.transfer(msg.value); }
2,234,320
[ 1, 10114, 3661, 512, 2455, 353, 4041, 19, 1884, 11804, 603, 5405, 343, 3304, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 11565, 42, 19156, 12, 2867, 1748, 70, 4009, 74, 14463, 814, 5549, 16, 2254, 5034, 1748, 1814, 77, 6275, 5549, 13, 2713, 5024, 288, 203, 3639, 389, 19177, 18, 13866, 12, 3576, 18, 1132, 1769, 203, 565, 289, 203, 2...
./partial_match/42/0x46419008e8C16e5d66B1A51cC1f790017E8EacD5/sources/BZB.sol
* Retrieve the tokens owned by the caller./
function myTokens() public view returns(uint256) { address bzbHolderInternal = msg.sender; return balanceOf(bzbHolderInternal); }
3,472,880
[ 1, 5767, 326, 2430, 16199, 635, 326, 4894, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3399, 5157, 1435, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 12, 11890, 5034, 13, 203, 565, 288, 203, 3639, 1758, 24788, 70, 6064, 3061, 273, 1234, 18, 15330, 31, 203, 3639, 327, 11013, 951, 12, 25292, 70, 6064,...
./partial_match/1/0x0e20655885C38b1b5CEDfFF5b15289b76F3CdefC/sources/FounderSociety.sol
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length./
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { }
15,739,733
[ 1, 5692, 279, 1375, 11890, 5034, 68, 358, 2097, 11768, 1375, 1080, 68, 20070, 4335, 598, 5499, 769, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18272, 12, 11890, 5034, 460, 16, 2254, 5034, 769, 13, 2713, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity >=0.4.22 <0.6.0; pragma experimental ABIEncoderV2; import "./RoleManager.sol"; import "./TokenManager.sol"; //This contracts handles the trip logic and acts as a platform contract owning the TokenManager contract and the RoleManager contract contract PlatformContract { offer[] tripArray; //each tr...
objectType descirbes the sharing object category (car, charging station, bike, ...)
modifier onlyVerifiedLessor(uint8 objectType) { require (roleManager.isVerifiedLessor(msg.sender, objectType) == true); _; } modifier onlyVerifiers()
5,489,669
[ 1, 1612, 559, 3044, 481, 70, 281, 326, 21001, 733, 3150, 261, 9815, 16, 1149, 1998, 13282, 16, 324, 2547, 16, 1372, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 24369, 15313, 280, 12, 11890, 28, 16400, 13, 288, 203, 3639, 2583, 261, 4615, 1318, 18, 291, 24369, 15313, 280, 12, 3576, 18, 15330, 16, 16400, 13, 422, 638, 1769, 203, 3639, 389, 31, 203, 565, 289, 203, 1377, ...
/** *Submitted for verification at Etherscan.io on 2022-04-03 */ /** *Submitted for verification at Etherscan.io on 2022-02-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.12; // File @openzeppelin/contracts/utils/[emailΒ protected] /** * @dev Provides information about the current execution context, i...
* @dev Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execut...
abstract contract Context { pragma solidity ^0.8.12; function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
10,946,238
[ 1, 17727, 1779, 2973, 326, 783, 4588, 819, 16, 6508, 326, 5793, 434, 326, 2492, 471, 2097, 501, 18, 21572, 4259, 854, 19190, 2319, 3970, 1234, 18, 15330, 471, 1234, 18, 892, 16, 2898, 1410, 486, 506, 15539, 316, 4123, 279, 2657, 212...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 1772, 288, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 2138, 31, 203, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31, 203, 565...
pragma solidity ^0.4.11; interface CommonWallet { function receive() external payable; } library StringUtils { function concat(string _a, string _b) internal pure returns (string) { bytes memory _ba = bytes(_a); bytes memory _bb = bytes(_b); ...
@dev Determine if token is approved for specified approvee. @param _tokenId Target token id. @param _approvee Approvee address. @return True if so.
function isApprovedFor(uint256 _tokenId, address _approvee) public view returns(bool) { return approvals_[_tokenId] == _approvee; }
5,397,191
[ 1, 8519, 309, 1147, 353, 20412, 364, 1269, 6617, 537, 73, 18, 225, 389, 2316, 548, 5916, 1147, 612, 18, 225, 389, 12908, 537, 73, 1716, 685, 537, 73, 1758, 18, 327, 1053, 309, 1427, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 31639, 1290, 12, 11890, 5034, 389, 2316, 548, 16, 1758, 389, 12908, 537, 73, 13, 203, 3639, 1071, 1476, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 327, 6617, 4524, 67, 63, 67, 2316, 548, 65, 422, 389, 12908, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ITokenManager.sol"; import "./IUnlockRegistry.sol"; import "../lib/ERC20Manager.sol"; import "../fractionable/IFractionableERC721.sol"; import "../eip712/ITransferWithSig.sol"; import "../commons/MetaTransactionsMixin.sol"; import "@openzeppelin/con...
* @dev Initializer for TokenManager contract @param _nftRegistry - NFT Registry address @param _reserveToken - Reserve registry address (1e18 decimals) @param _unlockRegistry - Unlock registry address/ Set Reseve Token addresses Set the NFT Registry set the UnlockRegistry
) Ownable() { reserveToken = IERC20(_reserveToken); nftRegistry = IFractionableERC721(_nftRegistry); unlockRegistry = IUnlockRegistry(_unlockRegistry); }
14,107,938
[ 1, 14729, 364, 3155, 1318, 6835, 225, 389, 82, 1222, 4243, 300, 423, 4464, 5438, 1758, 225, 389, 455, 6527, 1345, 300, 1124, 6527, 4023, 1758, 261, 21, 73, 2643, 15105, 13, 225, 389, 26226, 4243, 300, 3967, 4023, 1758, 19, 1000, 112...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 262, 14223, 6914, 1435, 288, 203, 203, 3639, 20501, 1345, 273, 467, 654, 39, 3462, 24899, 455, 6527, 1345, 1769, 203, 203, 3639, 290, 1222, 4243, 273, 11083, 5738, 429, 654, 39, 27, 5340, 24899, 82, 1222, 4243, 1769, 203, 20...
./full_match/43114/0xBD7bd0B4650D324e3eA6f734fAA3FC37d80b7D82/sources/contracts/HeroesToken.sol
* Only Owner methods/ Add a new bundle
function addBundle(uint8 characterCount, uint256 _price) public onlyOwner { require(_price > 0, "No free bundle as in free beer."); require(characterCount > 0, "Character count is required"); require(characterCount <= 10, "Character count can be maximum 10"); require(BUNDLE < MAX_BUNDLES, "Maximum...
4,505,088
[ 1, 3386, 16837, 2590, 19, 1436, 279, 394, 3440, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 3405, 12, 11890, 28, 3351, 1380, 16, 2254, 5034, 389, 8694, 13, 203, 225, 1071, 1338, 5541, 203, 225, 288, 203, 565, 2583, 24899, 8694, 405, 374, 16, 315, 2279, 4843, 3440, 487, 316, 4843, 506, 264, 1199, 1769, 2...
/** *Submitted for verification at Etherscan.io on 2021-02-23 */ // File: contracts/interfaces/interestModelInterface.sol pragma solidity 0.6.12; interface interestModelInterface { function getInterestAmount(address handlerDataStorageAddr, address payable userAddr, bool isView) external view returns (bool, uint256...
* @dev Calculates the rate of globalEXR (for borrowEXR or depositEXR) @param actionEXR The rate of actionEXR @param interestRate The rate of interest @param delta The interval between user actions (in block) @return The amount of newGlobalEXR/
function _getNewGlobalEXR(uint256 actionEXR, uint256 interestRate, uint256 delta) internal pure returns (uint256) { return interestRate.mul(delta).add(unifiedPoint).unifiedMul(actionEXR); }
2,263,641
[ 1, 10587, 326, 4993, 434, 2552, 2294, 54, 261, 1884, 29759, 2294, 54, 578, 443, 1724, 2294, 54, 13, 225, 1301, 2294, 54, 1021, 4993, 434, 1301, 2294, 54, 225, 16513, 4727, 1021, 4993, 434, 16513, 225, 3622, 1021, 3673, 3086, 729, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 202, 915, 389, 588, 1908, 5160, 2294, 54, 12, 11890, 5034, 1301, 2294, 54, 16, 2254, 5034, 16513, 4727, 16, 2254, 5034, 3622, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 203, 202, 95, 203, 202, 202, 2463, 16513, 4727, 18, 16411,...
// File: zos-lib/contracts/Initializable.sol pragma solidity >=0.4.24 <0.6.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must...
amount in is 10 ** 9 decimals
function burn(uint256 amount) external updateAccount(msg.sender) { require(!reEntrancyMutex, "RE-ENTRANCY GUARD MUST BE FALSE"); reEntrancyMutex = true; require(amount != 0, 'AMOUNT_MUST_BE_POSITIVE'); require(_remainingDollarsToBeBurned != 0, 'COIN_BURN_MUST_BE_...
400,549
[ 1, 8949, 316, 353, 1728, 225, 2468, 15105, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18305, 12, 11890, 5034, 3844, 13, 203, 3639, 3903, 203, 3639, 1089, 3032, 12, 3576, 18, 15330, 13, 203, 565, 288, 203, 3639, 2583, 12, 5, 266, 664, 313, 12514, 11433, 16, 315, 862, 17, 2222, 54, 1258, 16068, 611, 57, ...
./partial_match/8453/0xD3E8A594a17f5A57D638a35880632b2a4BE3866F/sources/X.sol
* @dev Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execut...
abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
16,692,610
[ 1, 17727, 1779, 2973, 326, 783, 4588, 819, 16, 6508, 326, 5793, 434, 326, 2492, 471, 2097, 501, 18, 21572, 4259, 854, 19190, 2319, 3970, 1234, 18, 15330, 471, 1234, 18, 892, 16, 2898, 1410, 486, 506, 15539, 316, 4123, 279, 2657, 212...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 1772, 288, 203, 203, 2868, 203, 203, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31, 203, 565, 289, 203, 203, 565, 445, 389, 3576, 751, 1435, ...
./full_match/3/0xD74741fe1A35E73048A793a1158b3E3bB3ec98DE/sources/contracts/helloword.sol
Esta funcion permite reemplazar el mensaje almacenado en la variable message
function setMessage(string memory newMessage) public { message=newMessage; }
14,239,010
[ 1, 9122, 69, 1326, 285, 4641, 1137, 283, 351, 412, 1561, 297, 415, 312, 773, 4365, 73, 524, 5821, 275, 6821, 570, 7125, 2190, 883, 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, 915, 15227, 12, 1080, 3778, 394, 1079, 13, 1071, 288, 203, 2150, 33, 2704, 1079, 31, 203, 97, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/1/0xdf8bFB139AD21Ec238B9e56BeD6f0953202cF104/sources/src/strangers.sol
@dev Emitted when a token points are moved.
event PointsAdded(address caller, address recipient, uint256 amount, uint256 blocktime);
17,152,985
[ 1, 1514, 11541, 1347, 279, 1147, 3143, 854, 10456, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 22464, 8602, 12, 2867, 4894, 16, 1758, 8027, 16, 2254, 5034, 3844, 16, 2254, 5034, 1203, 957, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.18; contract Owned { address public owner; modifier onlyOwner() { require(msg.sender == owner); _; } function Owned() public{ owner = msg.sender; } function changeOwner(address _newOwner) public onlyOwner { owner = _newOwner; } ...
Issue new tokens */
function mintDSBCToken(address _to, uint256 _amount) internal { require (totalRemainSupply > _amount); }
10,665,623
[ 1, 12956, 394, 2430, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 312, 474, 3948, 38, 1268, 969, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 7010, 3639, 2583, 261, 4963, 1933, 530, 3088, 1283, 405, 389, 8949, 1769, 203, 565, 289, 21281, 377, 203, 2, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); // getRoundData and latestRoundData should both raise...
* @notice Sets maximum value the total supply of TCAP can have @param _cap value @dev When capEnabled is true, mint is not allowed to issue tokens that would increase the total supply above or equal the specified capacity. @dev Only owner can call it/
function setCap(uint256 _cap) external onlyOwner { cap = _cap; emit NewCap(msg.sender, _cap); }
172,418
[ 1, 2785, 4207, 460, 326, 2078, 14467, 434, 399, 17296, 848, 1240, 225, 389, 5909, 460, 225, 5203, 3523, 1526, 353, 638, 16, 312, 474, 353, 486, 2935, 358, 5672, 2430, 716, 4102, 10929, 326, 2078, 14467, 5721, 578, 3959, 326, 1269, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 444, 4664, 12, 11890, 5034, 389, 5909, 13, 3903, 1338, 5541, 288, 203, 565, 3523, 273, 389, 5909, 31, 203, 565, 3626, 1166, 4664, 12, 3576, 18, 15330, 16, 389, 5909, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100,...
// SPDX-License-Identifier: MIT // version: 0.1 pragma solidity ^0.8.9; library SM2Curve { event Log(string, uint); uint constant SM2_P = 0xfffffffeffffffffffffffffffffffffffffffff00000000ffffffffffffffff; uint constant SM2_A = 0xfffffffeffffffffffffffffffffffffffffffff00000000fffffffffffffffc; uint constant SM...
g = -(s + r)^-1 (mod n)
g = addmod(s, r, SM2_N);
6,428,203
[ 1, 75, 273, 300, 12, 87, 397, 436, 13, 66, 17, 21, 261, 1711, 290, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 75, 273, 527, 1711, 12, 87, 16, 436, 16, 12014, 22, 67, 50, 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, ...
pragma solidity 0.5.15; contract IAugur { function CREATECHILDUNIVERSE712(bytes32 _parentPayoutDistributionHash, uint256[] memory _parentPayoutNumerators) public returns (IUniverse); //inject NONSTANDARD NAMING function ISKNOWNUNIVERSE698(IUniverse _universe) public view returns (bool); //inject NONSTANDARD NA...
inject NONSTANDARD NAMING
function MIGRATEFROMLEGACYREPUTATIONTOKEN918() public returns (bool) {
2,554,174
[ 1, 22170, 18708, 882, 18264, 423, 2192, 1360, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 490, 3047, 24062, 11249, 19384, 2226, 61, 862, 4762, 2689, 8412, 29, 2643, 1435, 1071, 1135, 261, 6430, 13, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0xd6d5bA891D50f9B4EB66837Adb58A83D6A5361D5/sources/contracts/campaigns/Campaigns.sol
@notice Total claim fees accrued that is withdrawable
uint256 public totalClaimFees;
16,188,893
[ 1, 5269, 7516, 1656, 281, 4078, 86, 5957, 716, 353, 598, 9446, 429, 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, 2254, 5034, 1071, 2078, 9762, 2954, 281, 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, ...
// SPDX-License-Identifier: MIT /** * @notice Solidity library offering basic trigonometry functions where inputs and outputs are * integers. Inputs are specified in radians scaled by 1e18, and similarly outputs are scaled by 1e18. * * This implementation is based off the Solidity trigonometry library written by Le...
* @notice Return the sine of a value, specified in radians scaled by 1e18 @dev This algorithm for converting sine only uses integer values, and it works by dividing the circle into 30 bit angles, i.e. there are 1,073,741,824 (2^30) angle units, instead of the standard 360 degrees (2pi radians). From there, we get an ou...
function sin(uint256 _angle) internal pure returns (int256) { unchecked { _angle = ANGLES_IN_CYCLE * (_angle % TWO_PI) / 2 / PI; uint256 interp = (_angle >> INTERP_OFFSET) & ((1 << INTERP_WIDTH) - 1); uint256 index = (_angle >> INDEX_OFFSET) & ((1 << INDEX_WIDTH) - 1); bool is_odd_qua...
12,684,521
[ 1, 990, 326, 272, 558, 434, 279, 460, 16, 1269, 316, 13703, 12304, 635, 404, 73, 2643, 225, 1220, 4886, 364, 14540, 272, 558, 1338, 4692, 3571, 924, 16, 471, 518, 6330, 635, 3739, 10415, 326, 12470, 1368, 5196, 2831, 15479, 16, 277,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5367, 12, 11890, 5034, 389, 4341, 13, 2713, 16618, 1135, 261, 474, 5034, 13, 288, 203, 565, 22893, 288, 203, 1377, 389, 4341, 273, 432, 4960, 11386, 67, 706, 67, 16068, 23181, 380, 261, 67, 4341, 738, 24722, 51, 67, 1...
./partial_match/1/0x2CA461E4597101cAb27ed4ac9e3f1ceAA480f6de/sources/MultipleArbitrableTransactionWithFee.sol
* @dev Calculate the amount to be paid in wei according to feeRecipientBasisPoint for a particular amount. @param _amount Amount to pay in wei./
function calculateFeeRecipientAmount(uint _amount) internal view returns(uint feeAmount){ feeAmount = (_amount * feeRecipientBasisPoint) / 10000; }
2,841,750
[ 1, 8695, 326, 3844, 358, 506, 30591, 316, 732, 77, 4888, 358, 14036, 18241, 11494, 291, 2148, 364, 279, 6826, 3844, 18, 282, 389, 8949, 16811, 358, 8843, 316, 732, 77, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4604, 14667, 18241, 6275, 12, 11890, 389, 8949, 13, 2713, 1476, 1135, 12, 11890, 14036, 6275, 15329, 203, 3639, 14036, 6275, 273, 261, 67, 8949, 380, 14036, 18241, 11494, 291, 2148, 13, 342, 12619, 31, 203, 565, 289, 203,...
pragma solidity ^0.4.23; /* This contract is an extension of the fileSale contract based on FairSwap(https://github.com/lEthDev/FairSwap). In contains only the methods required for the optimistic mode and a function that calls a 'fileSalePessimistic' contract for dispute resolution. */ // abstract 'fileSalePessimistic...
Initialization phase/ constructor is initialize function
constructor () public { sender = msg.sender; nextStage(stage.active); }
894,425
[ 1, 17701, 6855, 19, 3885, 353, 4046, 445, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1832, 1071, 288, 203, 3639, 5793, 273, 1234, 18, 15330, 31, 203, 3639, 1024, 8755, 12, 12869, 18, 3535, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2022-02-12 */ // SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.11; /// @title ERC165 Interface /// @dev https://eips.ethereum.org/EIPS/eip-165 /// @author Andreas Bigger <[emailΒ protected]> interface IERC165 { /// @dev Returns if the contract implem...
@dev The number of user orders
mapping(address => uint256) public userOrderCount;
6,549,960
[ 1, 1986, 1300, 434, 729, 11077, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 1071, 729, 2448, 1380, 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...
pragma solidity ^0.4.18; // File: contracts-origin/AetherAccessControl.sol /// @title A facet of AetherCore that manages special access privileges. /// @dev See the AetherCore contract documentation to understand how the various contract facets are arranged. contract AetherAccessControl { // This facet controls a...
@dev Updates the minimum payment required for calling createUnit(). Can only be called by the COO address.
function setUnitCreationFee(uint256 _value) public onlyCOO { unitCreationFee = _value; }
1,090,919
[ 1, 5121, 326, 5224, 5184, 1931, 364, 4440, 752, 2802, 7675, 4480, 1338, 225, 506, 2566, 635, 326, 7910, 51, 1758, 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, 444, 2802, 9906, 14667, 12, 11890, 5034, 389, 1132, 13, 1071, 1338, 3865, 51, 288, 203, 3639, 2836, 9906, 14667, 273, 389, 1132, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.8.0; import "@c-layer/common/contracts/operable/Operable.sol"; import "@c-layer/common/contracts/lifecycle/Pausable.sol"; import "../interface/ITokensale.sol"; /** * @title BaseTokensale * @dev Base Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * SPDX-License-Iden...
* @dev returns the vault use to/
function vaultETH() public override view returns (address) { return vaultETH_; }
2,531,939
[ 1, 6154, 326, 9229, 999, 358, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9229, 1584, 44, 1435, 1071, 3849, 1476, 1135, 261, 2867, 13, 288, 203, 565, 327, 9229, 1584, 44, 67, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./FixedQuadraticTokenTimelockUpgradeable.sol"; interface IVotingToken is IERC20 { function delegate(address delegatee) external; } /// @title a timelock for tokens allowing for bu...
@notice amount of tokens released to beneficiary
function alreadyReleasedAmount() public view override virtual returns (uint256) { return initialBalance - totalToken(); }
10,167,655
[ 1, 8949, 434, 2430, 15976, 358, 27641, 74, 14463, 814, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1818, 26363, 6275, 1435, 1071, 1476, 3849, 5024, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 2172, 13937, 300, 2078, 1345, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the on...
@notice Sell tax1 in BPS
uint256 public sellTax1 = 625;
1,419,918
[ 1, 55, 1165, 5320, 21, 316, 605, 5857, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 357, 80, 7731, 21, 273, 1666, 2947, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.0; // File: contracts/Ownable.sol /// @title Ownable /// @author Brecht Devos - <brecht@loopring.org> /// @dev The Ownable contract has an owner address, and provides basic /// authorization control functions, this simplifies the implementation of /// ...
File: contracts/CancellableEmployeeTokenOwnershipPlan.sol @title EmployeeTokenOwnershipPlan2 added at 2021-02-14 @author Freeman Zhong - <kongliang@loopring.org>
{ using MathUint for uint; constructor() function canChangeAddressFor(address who) internal view virtual returns (bool); } contract CancellableEmployeeTokenOwnershipPlan is BaseTokenOwnershipPlan { owner = 0x96f16FdB8Cd37C02DEeb7025C1C7618E1bB34d97; ...
6,910,926
[ 1, 812, 30, 20092, 19, 2568, 3855, 429, 41, 27520, 1345, 5460, 12565, 5365, 18, 18281, 225, 512, 27520, 1345, 5460, 12565, 5365, 22, 3096, 622, 26599, 21, 17, 3103, 17, 3461, 225, 478, 266, 351, 304, 2285, 76, 932, 300, 411, 79, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 95, 203, 565, 1450, 2361, 5487, 364, 2254, 31, 203, 203, 565, 3885, 1435, 203, 565, 445, 848, 3043, 1887, 1290, 12, 2867, 10354, 13, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 1135, 261, 6430, 1769, 203, 97, ...
./full_match/1/0xfbc7d0D9885DC4B222e0f488EEf80c493c929D2B/sources/contracts/MyToken.sol
Anti-bot and anti-whale mappings and variables exclude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract UnibotV2 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 revShareWallet; address public teamWa...
2,908,185
[ 1, 14925, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 4433, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 358, 4259, 6138, 3377, 506, 3221, 358, 279, 4207, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 1351, 495, 352, 58, 22, 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, 8...
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; pragma abicoder v2; import "./NarwhalRouter.sol"; import "./BMath.sol"; import "./interfaces/IIndexPool.sol"; import "./interfaces/IERC20.sol"; import "./libraries/TransferHelper.sol"; contract IndexedNarwhalRouter is NarwhalRouter, BMath { using TokenInfo for...
Transfer the pool tokens from the caller. Reserve 3 slots in memory for the addresses
function _burnForAllTokensAndSwap( address indexPool, address tokenOut, uint256[] calldata minAmountsOut, bytes32[] calldata intermediaries, uint256 poolAmountIn, uint256 minAmountOut, address recipient ) internal returns (uint amountOutTotal) { TransferHelper.safeTransferFrom(indexP...
12,944,767
[ 1, 5912, 326, 2845, 2430, 628, 326, 4894, 18, 1124, 6527, 890, 12169, 316, 3778, 364, 326, 6138, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 70, 321, 1290, 1595, 5157, 1876, 12521, 12, 203, 565, 1758, 770, 2864, 16, 203, 565, 1758, 1147, 1182, 16, 203, 565, 2254, 5034, 8526, 745, 892, 1131, 6275, 87, 1182, 16, 203, 565, 1731, 1578, 8526, 745, 892, 155...
pragma solidity ^0.4.19; /** * BRX.SPACE (contact@brx.space) * * BRX token is a virtual token, governed by ERC20-compatible * Ethereum Smart Contract and secured by Ethereum Blockchain * * The official website is https://brx.space * * The uints are all in wei and atto tokens (*10^-18) * The con...
* @title Standard ERC20 token @dev Implementation of the basic standard token./
contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint)) internal allowed; function transferFrom(address _from, address _to, uint _value) public returns (bool) { require(_to != address(0) && _value <= balances[_from] && _value <= allowed[_from][msg.sender]);...
6,416,559
[ 1, 8336, 4232, 39, 3462, 1147, 225, 25379, 434, 326, 5337, 4529, 1147, 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, 16351, 8263, 1345, 353, 4232, 39, 3462, 16, 7651, 1345, 288, 203, 203, 225, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 3719, 2713, 2935, 31, 203, 203, 225, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 22...
//Address: 0x9dd4f632ff76766f4c238741d2f093a3323c4fc5 //Contract name: B2BKToken //Balance: 0 Ether //Verification Date: 10/26/2017 //Transacion Count: 19 // CODE STARTS HERE pragma solidity ^0.4.16; /// @title SafeMath /// @dev Math operations with safety checks that throw on error library SafeMath { function ...
@notice This function burns all B2BK tokens on the address that caused this function.
function burn() external isFinalized { uint256 _balance = balanceOf[msg.sender]; assert(_balance > 0); totalSupply = totalSupply.sub(_balance); balanceOf[msg.sender] = 0; Burn(msg.sender, _balance); }
1,075,155
[ 1, 2503, 445, 18305, 87, 777, 605, 22, 38, 47, 2430, 603, 326, 1758, 716, 15848, 333, 445, 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, ...
[ 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, 18305, 1435, 3903, 29200, 1235, 288, 203, 3639, 2254, 5034, 389, 12296, 273, 11013, 951, 63, 3576, 18, 15330, 15533, 203, 203, 3639, 1815, 24899, 12296, 405, 374, 1769, 203, 203, 3639, 2078, 3088, 1283, 273, 2078, 3088, 1...
pragma solidity >=0.4.4 <0.7.0; pragma experimental ABIEncoderV2; contract view_pure_payable { //Modificador de view string[] lista_alumnos; function nuevo_alumno(string memory _alumno) public { lista_alumnos.push(_alumno); } function ver_alumno(uint _posicion) public view re...
Modificador de payable
mapping(address => cartera) DineroCartera;
12,869,901
[ 1, 1739, 1507, 23671, 443, 8843, 429, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 5926, 387, 69, 13, 463, 267, 2439, 39, 14153, 69, 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...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.8.0 <0.9.0; /// @notice Based on https://github.com/madler/zlib/blob/master/contrib/puff library InflateLib { // Maximum bits in a code uint256 constant MAXBITS = 15; // Maximum number of literal/length codes uint256 constant MAXLCODES = 286; ...
Return need bits, zeroing the bits above that
uint256 ret = (val & ((1 << need) - 1));
2,473,960
[ 1, 990, 1608, 4125, 16, 3634, 310, 326, 4125, 5721, 716, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 325, 273, 261, 1125, 473, 14015, 21, 2296, 1608, 13, 300, 404, 10019, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/** *Submitted for verification at Etherscan.io on 2020-09-23 */ /** *Submitted for verification at Etherscan.io on 2020-08-03 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.6.10; pragma experimental ABIEncoderV2; /** * @title The Open Oracle Data Base Contract * @author Compound Labs, Inc. *...
* @title The Open Oracle Data Base Contract @author Compound Labs, Inc./event Write(address indexed source, <Key> indexed key, string kind, uint64 timestamp, <Value> value);function put(bytes calldata message, bytes calldata signature) external returns (<Key> memory);function get(address source, <Key> key) external vie...
contract OpenOracleData { function source(bytes memory message, bytes memory signature) public pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = abi.decode(signature, (bytes32, bytes32, uint8)); bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(me...
6,497,057
[ 1, 1986, 3502, 28544, 1910, 3360, 13456, 225, 21327, 511, 5113, 16, 15090, 18, 19, 2575, 2598, 12, 2867, 8808, 1084, 16, 411, 653, 34, 8808, 498, 16, 533, 3846, 16, 2254, 1105, 2858, 16, 411, 620, 34, 460, 1769, 915, 1378, 12, 389...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 3502, 23601, 751, 288, 203, 203, 203, 203, 203, 203, 203, 565, 445, 1084, 12, 3890, 3778, 883, 16, 1731, 3778, 3372, 13, 1071, 16618, 1135, 261, 2867, 13, 288, 203, 3639, 261, 3890, 1578, 436, 16, 1731, 1578, 272, 16, 22...
pragma solidity ^0.4.24; // // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; ...
Give out PSA to CELT holders
function disburse() public payable { uint256 base = msg.value.div(20); uint256 amount = msg.value.sub(base); Hub_.buyBonds.value(base)(address(this)) ; totalDividendPoints = totalDividendPoints.add(amount.mul(pointMultiplier).div(_totalSupply)); unclaimedDividends = unclaime...
2,553,669
[ 1, 43, 688, 596, 453, 5233, 358, 385, 2247, 56, 366, 4665, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1015, 70, 295, 307, 1435, 1071, 225, 8843, 429, 288, 203, 3639, 2254, 5034, 1026, 273, 1234, 18, 1132, 18, 2892, 12, 3462, 1769, 203, 3639, 2254, 5034, 3844, 273, 1234, 18, 1132, 18, 1717, 12, 1969, 1769, 203, 3639, 2...
/** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper ...
* @notice Remove the address from the user list. @dev The user rank is set to 0 to remove the user. @param user The user address to be added/
function removeUser(address user) external { require(user != address(0)); require(userRanks[user] != 0); userRanks[user] = 0; }
15,834,856
[ 1, 3288, 326, 1758, 628, 326, 729, 666, 18, 225, 1021, 729, 6171, 353, 444, 358, 374, 358, 1206, 326, 729, 18, 225, 729, 1021, 729, 1758, 358, 506, 3096, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1299, 12, 2867, 729, 13, 3903, 288, 203, 3639, 2583, 12, 1355, 480, 1758, 12, 20, 10019, 203, 3639, 2583, 12, 1355, 12925, 87, 63, 1355, 65, 480, 374, 1769, 203, 3639, 729, 12925, 87, 63, 1355, 65, 273, 374, 3...
pragma solidity ^0.4.19; contract theCyberInterface { // The contract may call a few methods on theCyber once it is itself a member. function newMember(uint8 _memberId, bytes32 _memberName, address _memberAddress) public; function getMembershipStatus(address _memberAddress) public view returns (bool member, uin...
The contract must still be active in order to assign new members. Require a large transaction so that members are added in bulk. All entrants must be registered in order to assign new members. Initialize variables for checking membership statuses. The contract must be a member of theCyber in order to assign new member...
function assignAll() public returns (bool) { require(active_); require(msg.gas > 6000000); uint8 totalEntrants = theCyberGatekeeperTwoInterface(THECYBERGATEKEEPERADDRESS_).totalEntrants(); require(totalEntrants >= MAXENTRANTS_); bool member; address memberAddress; (member,) = theCyberI...
13,702,950
[ 1, 1986, 6835, 1297, 4859, 506, 2695, 316, 1353, 358, 2683, 394, 4833, 18, 12981, 279, 7876, 2492, 1427, 716, 4833, 854, 3096, 316, 8280, 18, 4826, 31976, 4388, 1297, 506, 4104, 316, 1353, 358, 2683, 394, 4833, 18, 9190, 3152, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 2683, 1595, 1435, 1071, 1135, 261, 6430, 13, 288, 203, 565, 2583, 12, 3535, 67, 1769, 203, 203, 565, 2583, 12, 3576, 18, 31604, 405, 1666, 9449, 1769, 203, 203, 565, 2254, 28, 2078, 664, 313, 4388, 273, 326, 17992, 74...
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without g...
exclude from paying fees or having max transaction amount
constructor() ERC20("Twisted ESG Insanity", "ESG") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair =...
10,386,498
[ 1, 10157, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3885, 1435, 4232, 39, 3462, 2932, 23539, 25444, 14054, 43, 22085, 10417, 3113, 315, 3991, 43, 7923, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, ...
./partial_match/1/0xF5cE94caae69Dd5e500123Cecb7AFB6C78826f35/sources/PublicLock.sol
0x150b7a02 == bytes4(keccak256('onERC721Received(address,address,uint256,bytes)')) The fee relative to keyPrice to charge when transfering a Key to another account (potentially on a 0x marketplace). This is calculated as `keyPrice * transferFeeNumerator / transferFeeDenominator`.
{ using SafeMath for uint; using Address for address; event TransferFeeChanged( uint oldTransferFeeNumerator, uint oldTransferFeeDenominator, uint transferFeeNumerator, uint transferFeeDenominator ); bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; uint public transferFeeNumerator =...
16,171,220
[ 1, 20, 92, 23014, 70, 27, 69, 3103, 422, 1731, 24, 12, 79, 24410, 581, 5034, 2668, 265, 654, 39, 27, 5340, 8872, 12, 2867, 16, 2867, 16, 11890, 5034, 16, 3890, 2506, 3719, 1021, 14036, 3632, 358, 498, 5147, 358, 13765, 1347, 7412,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 95, 203, 225, 1450, 14060, 10477, 364, 2254, 31, 203, 225, 1450, 5267, 364, 1758, 31, 203, 203, 225, 871, 12279, 14667, 5033, 12, 203, 565, 2254, 1592, 5912, 14667, 2578, 7385, 16, 203, 565, 2254, 1592, 5912, 14667, 8517, 26721, ...
/* website: padthai.finance ** ** β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ β–„β–ˆ β–ˆβ–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–„β–ˆ ** β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ ** β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–Œ ** β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ ...
View function to see pending PADTHAIs on frontend.
function pendingPadthai(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accPadthaiPerShare = pool.accPadthaiPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this))...
7,976,973
[ 1, 1767, 445, 358, 2621, 4634, 453, 1880, 2455, 37, 2520, 603, 15442, 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, 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, 4634, 14878, 451, 10658, 12, 11890, 5034, 389, 6610, 16, 1758, 389, 1355, 13, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 25003, 2502, 7...
./partial_match/4/0x2EeD3521d59F8f848CdE7E94C36EB3b363159764/sources/JCTNFT.sol
ε‘η‰Œη§―εˆ†ε’žη›Šη³»ζ•°ε’Œε˜ζ›΄ TODO 乘δ»₯amount
ownerPointCoefficients[_to] = ownerPointCoefficients[_to].add(cardPointCoefficient[_id].mul(_amount));
8,652,994
[ 1, 166, 240, 99, 168, 236, 239, 168, 105, 112, 166, 235, 233, 166, 100, 257, 168, 254, 237, 168, 116, 124, 167, 248, 113, 166, 245, 239, 166, 242, 251, 167, 254, 117, 2660, 225, 165, 122, 251, 165, 124, 103, 8949, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3410, 2148, 4249, 73, 12344, 63, 67, 869, 65, 273, 3410, 2148, 4249, 73, 12344, 63, 67, 869, 8009, 1289, 12, 3327, 2148, 4249, 25403, 63, 67, 350, 8009, 16411, 24899, 8949, 10019, 203, 2, -100, -100, -100, -100, -100, -100, ...
./full_match/80001/0xD4590A43DbcBEF5DBfE3C80cc8d37e574d512B1A/sources/contracts/transferVesting.sol
* @dev Sets the uniswapV2 pair (router & factory) for swapping and liquifying tokens/
function setRouterAddress(address router) external onlyManager { _setRouterAddress(router); }
9,503,788
[ 1, 2785, 326, 640, 291, 91, 438, 58, 22, 3082, 261, 10717, 473, 3272, 13, 364, 7720, 1382, 471, 4501, 372, 1164, 310, 2430, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 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, 444, 8259, 1887, 12, 2867, 4633, 13, 3903, 1338, 1318, 288, 203, 3639, 389, 542, 8259, 1887, 12, 10717, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/** *Submitted for verification at BscScan.com on 2021-03-03 */ // SPDX-License-Identifier: MIT /* BNBStake - investment platform based on Binance Smart Chain blockchain smart-contract technology. Safe and legit! * The only official platform of original TronStake team! All other platforms with the same contr...
Struct que guarda informacion del deposito
struct Deposit { }
1,083,900
[ 1, 3823, 6597, 11026, 69, 13235, 19861, 1464, 443, 1724, 83, 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, 202, 1697, 4019, 538, 305, 288, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0x00000000000006c7676171937C444f6BDe3D6282/sources/contracts/helpers/PointerLibraries.sol
@dev Reads the uint152 at `rdPtr` in returndata.
function readUint152( ReturndataPointer rdPtr ) internal pure returns (uint152 value) { assembly { returndatacopy(0, rdPtr, _OneWord) value := mload(0) } }
4,300,445
[ 1, 7483, 326, 2254, 27655, 622, 1375, 13623, 5263, 68, 316, 327, 892, 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, 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, 855, 5487, 27655, 12, 203, 3639, 2000, 892, 4926, 9437, 5263, 203, 565, 262, 2713, 16618, 1135, 261, 11890, 27655, 460, 13, 288, 203, 3639, 19931, 288, 203, 5411, 327, 892, 3530, 12, 20, 16, 9437, 5263, 16, 389, 3335, ...
/** *Submitted for verification at Etherscan.io on 2020-06-08 */ pragma solidity ^0.6.7; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { if (a == 0) { return 0; } uint c = a * b; assert(c / a == b); return c; } function div(uint a, uint b) internal pure...
(this)must be whitelisted on ubombcalc actual deposit amount due to BOMB burn
function topupReward (uint amount) external { require(ERC20Token(REWARD_TOKEN).transferFrom(address(msg.sender), address(this), amount),"tokenXferFail"); uint tokensToBurn = findOnePercent(amount); uint actual = amount.sub(tokensToBurn); unallocatedRewards += actual; } ...
2,326,459
[ 1, 12, 2211, 13, 11926, 506, 26944, 603, 13910, 16659, 12448, 3214, 443, 1724, 3844, 6541, 358, 25408, 38, 18305, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 377, 445, 1760, 416, 17631, 1060, 261, 11890, 3844, 13, 225, 3903, 288, 203, 4202, 2583, 12, 654, 39, 3462, 1345, 12, 862, 21343, 67, 8412, 2934, 13866, 1265, 12, 2867, 12, 3576, 18, 15330, 3631, 1758, 12, 2211, 3631, 3844, 3631,...
/** *Submitted for verification at Etherscan.io on 2022-04-25 */ pragma solidity 0.8.7; // SPDX-License-Identifier: Unlicensed pragma abicoder v2; interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function...
* @dev Returns hash for given data/
function message(address _receiver, address _tokenAdderss ,uint amount,uint time) public pure returns(bytes32 messageHash) { messageHash = keccak256(abi.encodePacked(_receiver, _tokenAdderss,amount,time)); }
7,775,923
[ 1, 1356, 1651, 364, 864, 501, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 883, 12, 2867, 225, 389, 24454, 16, 1758, 389, 2316, 986, 414, 87, 269, 11890, 3844, 16, 11890, 813, 13, 203, 3639, 1071, 16618, 1135, 12, 3890, 1578, 883, 2310, 13, 203, 565, 288, 203, 3639, 883, 2310, 273, 417, 2441...
// File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.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...
* @dev Handle fee calculation and fee transfer to fee collector./
function _handleFee(uint256 shares) internal returns (uint256 _sharesAfterFee) { if (_getFee() != 0) { uint256 _fee = shares.mul(_getFee()).div(1e18); _sharesAfterFee = shares.sub(_fee); _transfer(_msgSender(), _getFeeCollector(), _fee); _sharesAfterFee = shar...
1,333,579
[ 1, 3259, 14036, 11096, 471, 14036, 7412, 358, 14036, 8543, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4110, 14667, 12, 11890, 5034, 24123, 13, 2713, 1135, 261, 11890, 5034, 389, 30720, 4436, 14667, 13, 288, 203, 3639, 309, 261, 67, 588, 14667, 1435, 480, 374, 13, 288, 203, 5411, 2254, 5034, 389, 21386, 273, 24123, ...
pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC1...
* @dev Transfers `tokenId` from `from` to `to`. As opposed to {transferFrom}, this imposes no restrictions on msg.sender. Requirements: - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. Emits a {Transfer} event./ Clear approvals from the previous owner
function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ArtAI.ownerOf(tokenId) == from, "ERC721: not own"); require(to != address(0), "ERC721: zero address"); _beforeTokenTransfer(from, to, tokenId); _approve(address(0)...
5,885,108
[ 1, 1429, 18881, 1375, 2316, 548, 68, 628, 1375, 2080, 68, 358, 1375, 869, 8338, 225, 2970, 1061, 7423, 358, 288, 13866, 1265, 5779, 333, 709, 10522, 1158, 17499, 603, 1234, 18, 15330, 18, 29076, 30, 300, 1375, 869, 68, 2780, 506, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 1147, 548, 203, 565, 262, 2713, 5024, 288, 203, 3639, 2583, 12, 4411, 18194, 18, 8443, 951, 12, 2316, 548, 13, 422, 628, 16, ...
pragma solidity ^0.5.7; import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol"; import "./ValidatorManagerContract.sol"; import "./IERC20GatewayMintable.sol"; contract ERC20Gateway { using SafeERC20 for IERC20; /// @notice Event to log ...
enable depositing arbitrary tokens by default
allowAnyToken = true;
13,096,109
[ 1, 7589, 443, 1724, 310, 11078, 2430, 635, 805, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1699, 2961, 1345, 273, 638, 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, ...
//Address: 0x89695d5b003eb6a546c1b6d3b272c36e423e9477 //Contract name: VirtualRealEstate //Balance: 0 Ether //Verification Date: 5/17/2018 //Transacion Count: 1663 // CODE STARTS HERE pragma solidity ^0.4.2; // Make setPrivate payout any pending payouts // ERC20 Token Interface contract Token { uint256 public ...
return (((now < propertyEarnUntil) ? now : propertyEarnUntil - propertyLastUpdate) / PROPERTY_GENERATION_PAYOUT_INTERVAL) * PROPERTY_GENERATES_PER_MINUTE; Gave too high number wtf?
if (!propertyIsInPrivateMode && propertyLastUpdate != 0) { uint256 earnedUntil = (now < propertyEarnUntil) ? now : propertyEarnUntil; uint256 minutesSinceLastColourChange = (earnedUntil - propertyLastUpdate) / PROPERTY_GENERATION_PAYOUT_INTERVAL; return minutesSinceLastColour...
6,370,244
[ 1, 2463, 261, 12443, 3338, 411, 1272, 41, 1303, 9716, 13, 692, 2037, 294, 1272, 41, 1303, 9716, 300, 1272, 3024, 1891, 13, 342, 9759, 67, 13990, 2689, 67, 11389, 5069, 67, 16435, 13, 225, 9759, 67, 13990, 1777, 55, 67, 3194, 67, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 16051, 4468, 2520, 382, 6014, 2309, 597, 1272, 3024, 1891, 480, 374, 13, 288, 203, 5411, 2254, 5034, 425, 1303, 329, 9716, 273, 261, 3338, 411, 1272, 41, 1303, 9716, 13, 692, 2037, 294, 1272, 41, 1303, 9716, 31, 203, ...
./full_match/1/0xEA24e9Bac006DE9635Ac7fA4D767fFb64FB5645c/sources/contracts/vault/VaultCore.sol
* @notice Gets the vault configuration of a supported asset./
function getAssetConfig(address _asset) public view returns (Asset memory config) { config = assets[_asset]; }
4,918,528
[ 1, 3002, 326, 9229, 1664, 434, 279, 3260, 3310, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 24689, 809, 12, 2867, 389, 9406, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 6672, 3778, 642, 13, 203, 565, 288, 203, 3639, 642, 273, 7176, 63, 67, 9406, 15533, 203, 565, 289, 203, 203, 2, -100, -100, ...
pragma solidity ^0.5.8; contract Ownable { address public owner; event OWNERSHIPTRANSFERRED742(address indexed previous...
inject NONSTANDARD NAMING
modifier ONLYOWNER252() {
7,237,353
[ 1, 22170, 18708, 882, 18264, 423, 2192, 1360, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20747, 29602, 2947, 22, 1435, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/56/0xCfc50C98e98e44C00A3867cC21fCC1809b9e8aa2/sources/LANToken.sol
One address is one claim
require(!claimed[msg.sender], "Already claimed");
11,086,697
[ 1, 3335, 1758, 353, 1245, 7516, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6528, 12, 5, 14784, 329, 63, 3576, 18, 15330, 6487, 315, 9430, 7516, 329, 8863, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x3a23F943181408EAC424116Af7b7790c94Cb97a5/sources/src/bridges/optimism/l1/NativeOptimism.sol
interfaceId to be set offchain which is used to select one of the 3 kinds of bridging (standard bridge / old standard / synthetic) currencyKey of the token beingBridged socket offchain created hash address of receiver of bridged tokens Gas limit required to complete the deposit on L2. Address of the L1 respective L2 E...
struct OptimismBridgeData { uint256 interfaceId; bytes32 currencyKey; bytes32 metadata; address receiverAddress; address customBridgeAddress; address token; uint32 l2Gas; address l2Token; bytes data; }
11,003,300
[ 1, 5831, 548, 358, 506, 444, 3397, 5639, 1492, 353, 1399, 358, 2027, 1245, 434, 326, 890, 21961, 434, 324, 1691, 1998, 261, 10005, 10105, 342, 1592, 4529, 342, 25535, 13, 5462, 653, 434, 326, 1147, 3832, 38, 1691, 2423, 2987, 3397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 1958, 19615, 6228, 13691, 751, 288, 203, 3639, 2254, 5034, 1560, 548, 31, 203, 3639, 1731, 1578, 5462, 653, 31, 203, 3639, 1731, 1578, 1982, 31, 203, 3639, 1758, 5971, 1887, 31, 203, 3639, 1758, 1679, 13691, 1887, 31, 203, 3...
pragma solidity ^0.5.0; import "../AppInterface.sol"; import "./IRandom.sol"; import "../lib/ECDSA.sol"; import "../lib/SafeMath.sol"; /** * @notice Support mainstream gaming: flip-coin, dice, two-dice, etheroll */ contract DiceGame is AppInterface { using ECDSA for bytes32; using SafeMath for uint; //...
0=nobody commit random proof, refund lock value 1=initiator did not reveal pre-image, winner is acceptor 2=get random succeed
uint status;
14,020,629
[ 1, 20, 33, 82, 947, 973, 3294, 2744, 14601, 16, 16255, 2176, 460, 404, 33, 2738, 10620, 5061, 486, 283, 24293, 675, 17, 2730, 16, 5657, 1224, 353, 2791, 280, 576, 33, 588, 2744, 12897, 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, 3639, 2254, 1267, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/43113/0xE078D1805884f0c2f83C833c38DD1837cb248c7F/sources/contracts/CMMessage.sol
convert to denomination with chainlink add to pouchValueTotal
function addPouch(address _pouchAddress) override external returns (uint256 _pouchCount, uint256 _totalPouchValue, string memory _messageDenomination){ isLocked(); IcmPouch pouch = IcmPouch(_pouchAddress); require(pouch.getOwner() == msg.sender, "pouch owner only"); pouchByName[p...
13,206,127
[ 1, 6283, 358, 10716, 1735, 598, 2687, 1232, 527, 358, 293, 7309, 620, 5269, 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, 52, 7309, 12, 2867, 389, 84, 7309, 1887, 13, 225, 3849, 3903, 1135, 261, 11890, 5034, 389, 84, 7309, 1380, 16, 2254, 5034, 389, 4963, 52, 7309, 620, 16, 533, 3778, 389, 2150, 8517, 362, 1735, 15329, 203, 3639, 31...
/** *Submitted for verification at Etherscan.io on 2021-04-03 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally...
Pull directly from this contract the token amount in relation to the share if strategy not used We are all shares, transfer all
if(currentStrategy != StabilizeStrategy(address(0))){ require(withdrawAmount > 0, "Failed to withdraw from the strategy"); if(share < tokenTotal){ uint256 _balance = getNormalizedTotalBalance(address(this)); uint256 _myBalance = _balance.mul(share).div(tok...
2,002,184
[ 1, 9629, 5122, 628, 333, 6835, 326, 1147, 3844, 316, 2533, 358, 326, 7433, 309, 6252, 486, 1399, 1660, 854, 777, 24123, 16, 7412, 777, 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, 3639, 309, 12, 2972, 4525, 480, 934, 22681, 554, 4525, 12, 2867, 12, 20, 3719, 15329, 203, 5411, 2583, 12, 1918, 9446, 6275, 405, 374, 16, 315, 2925, 358, 598, 9446, 628, 326, 6252, 8863, 203, 5411, 309, 12, 14419, 411, 1147, 5...
// File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.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...
Emit event log to the block chain for future web3 use
emit LoyaltyWithdrawnEvent(msg.sender, deposit.add(collected));
6,070,121
[ 1, 17982, 871, 613, 358, 326, 1203, 2687, 364, 3563, 3311, 23, 999, 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, 3626, 3176, 93, 15006, 1190, 9446, 82, 1133, 12, 3576, 18, 15330, 16, 443, 1724, 18, 1289, 12, 14676, 329, 10019, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xdbc61a1685C6F70c11cBb7da70338352b1Fa4d51/sources/DigiDaigakuGiantDragons.sol
* @notice Mints multiple Giant Dragons created with the specified Baby Dragon and Dragon Essence tokens. @dev Throws if `to` address is zero address. @dev Throws if the quantity is zero. @dev Throws if the caller is not a whitelisted minter. @dev Throws if minting would exceed the max supply. @dev <h4>Po...
function mintDragonsBatch( address to, uint256[] calldata babyDragonTokenIds, uint256[] calldata dragonEssenceTokenIds ) external { _requireMinterIsWhitelisted(_msgSender()); unchecked { for (uint256 i = 0; i < dragonEssenceTokenIds.length; ++i) { ...
15,729,339
[ 1, 49, 28142, 3229, 611, 77, 970, 28425, 7008, 2522, 598, 326, 1269, 605, 24383, 28425, 265, 471, 28425, 265, 512, 1049, 802, 2430, 18, 377, 22435, 309, 1375, 869, 68, 1758, 353, 3634, 1758, 18, 377, 22435, 309, 326, 10457, 353, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 11728, 7008, 4497, 12, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 324, 24383, 11728, 265, 1345, 2673, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 8823, 265, 41, 1049, 802, 1345, 2673, 203,...
./full_match/4/0x0240dEBeEe7F019bfe89f752f6aeffF95a11352f/sources/_aave/core-v3/contracts/protocol/libraries/helpers/Errors.sol
'Invalid risk parameters for the eMode category'
string public constant INVALID_EMODE_CATEGORY_PARAMS = '21';
813,525
[ 1, 11, 1941, 18404, 1472, 364, 326, 425, 2309, 3150, 11, 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, 533, 1071, 5381, 10071, 67, 3375, 2712, 67, 24847, 67, 16785, 273, 296, 5340, 13506, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "./lib/SafeMath8.sol"; import "./owner/Operator.sol"; import "./interfaces/IOracle.sol"; /* β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆ...
Initial distribution for the first 24h genesis pools Initial distribution for the day 2-5 GRAPE-WETH LP -> GRAPE pool Distribution for airdrops wallet Have the rewards been distributed to the pools
contract Grape is ERC20Burnable, Operator { using SafeMath8 for uint8; using SafeMath for uint256; uint256 public constant INITIAL_GENESIS_POOL_DISTRIBUTION = 2400 ether; uint256 public constant INITIAL_GRAPE_POOL_DISTRIBUTION = 21600 ether; uint256 public constant INITIAL_AIRDROP_WALLET_DISTRIBUTI...
12,561,110
[ 1, 4435, 7006, 364, 326, 1122, 4248, 76, 21906, 16000, 10188, 7006, 364, 326, 2548, 576, 17, 25, 611, 2849, 1423, 17, 59, 1584, 44, 511, 52, 317, 611, 2849, 1423, 2845, 17547, 364, 279, 6909, 16703, 9230, 21940, 326, 283, 6397, 2118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 10812, 347, 353, 4232, 39, 3462, 38, 321, 429, 16, 11097, 288, 203, 565, 1450, 14060, 10477, 28, 364, 2254, 28, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 1071, 5381, 28226, 67, 16652...
/* SPDX-License-Identifier: MIT */ pragma solidity >0.8.0; import "./buildingGeneration.sol"; abstract contract marketplace is buildingGeneration { // Declare all events here event resourceListed(uint item, uint quantity, uint price, address owner); event buildingListed(uint price, address owner); event resou...
TODO: Puts the item in escrow, where a person can pay the address _price tokens and receive _item
function listItem(uint _quantity, uint _price, uint16 _biome, uint8 _rarity, address _owner) public enoughResources(_owner, _biome, _rarity, _quantity) { }
15,860,105
[ 1, 6241, 30, 4399, 87, 326, 761, 316, 2904, 492, 16, 1625, 279, 6175, 848, 8843, 326, 1758, 389, 8694, 2430, 471, 6798, 389, 1726, 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, 202, 915, 19859, 12, 11890, 389, 16172, 16, 2254, 389, 8694, 16, 2254, 2313, 389, 13266, 1742, 16, 2254, 28, 389, 86, 20498, 16, 1758, 389, 8443, 13, 1071, 7304, 3805, 24899, 8443, 16, 389, 13266, 1742, 16, 389, 86, 20498, 16, ...