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
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.8.0; pragma experimental ABIEncoderV2; // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ |...
-------------------- VARIES -------------------- G-UNI mStable stakingToken = IFeederPool(_stakingToken); StakeDAO sdETH-FraxPut Vault stakingToken = IOpynPerpVault(_stakingToken); StakeDAO Vault stakingToken = IStakeDaoVault(_stakingToken); Uniswap V2 stakingToken = IUniswapV2Pair(_stakingToken); address token0 = sta...
{ stakingToken = IGUniPool(_stakingToken); address token0 = address(stakingToken.token0()); frax_is_token0 = token0 == frax_address; }
1,762,674
[ 1, 4625, 348, 7953, 560, 30, 225, 12146, 6062, 8350, 8805, 12146, 6062, 611, 17, 10377, 312, 30915, 384, 6159, 1345, 273, 467, 8141, 264, 2864, 24899, 334, 6159, 1345, 1769, 934, 911, 18485, 8349, 1584, 44, 17, 42, 354, 92, 6426, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 288, 203, 203, 3639, 384, 6159, 1345, 273, 13102, 984, 77, 2864, 24899, 334, 6159, 1345, 1769, 203, 3639, 1758, 1147, 20, 273, 1758, 12, 334, 6159, 1345, 18, 2316, 20, 10663, 203, 3639, 284, 354, 92, 67, 291, 67, 2316, 20,...
pragma solidity 0.6.0; contract Nest_NToken_OfferMain { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; ...
inject NONSTANDARD NAMING
function SUB918(uint256 a, uint256 b) internal pure returns (uint256) {
14,093,965
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10025, 29, 2643, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/42/0x4d033A6db0c50Ae9cfA0317ee509B3D9147208fc/sources/contracts/DecentralizedAutonomousTrust.sol
is Take using SafeMath for uint; using Sqrt for uint; using SafeERC20 for IERC20; /** * Events */ event Sell( address indexed _from, address indexed _to, uint _currencyValue, uint _fairValue ); event Burn( address indexed _from, uint _fairValue ); event Close(); event StateChange( u...
{ event Buy( address indexed _from, address indexed _to, uint _currencyValue, uint _fairValue ); uint public initGoal; contract DecentralizedAutonomousTrust }
8,998,791
[ 1, 4625, 348, 7953, 560, 30, 282, 353, 17129, 225, 1450, 14060, 10477, 364, 2254, 31, 225, 1450, 348, 85, 3797, 364, 2254, 31, 225, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 225, 1783, 282, 380, 9043, 282, 1195, 225...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 95, 203, 225, 871, 605, 9835, 12, 203, 565, 1758, 8808, 389, 2080, 16, 203, 565, 1758, 8808, 389, 869, 16, 203, 565, 2254, 389, 7095, 620, 16, 203, 565, 2254, 389, 507, 481, 620, 203, 225, 11272, 203, 225, 2254, 1071, 1208, 2...
./full_match/56/0x6Df6a43Be4B706c45BC028D652829299D932d000/sources/juryProject.sol
here we fetch the index of the proposal smart contract address in the arrayin order to run a require check on it if its exsists make sure that the user cannot vote more than once check the weekly votes status adding 1 to the approve coutner adding the user address to the approved mapping if you query the user address i...
function choseOptionA(uint256 selectedProposalId) public whenNotPaused { address user = msg.sender; require(user != address(0), "invalid address"); require( committedBalance[user] > 0, "Jury Protocol: user's committed balance is zero." ); require(user...
3,235,554
[ 1, 4625, 348, 7953, 560, 30, 2674, 732, 2158, 326, 770, 434, 326, 14708, 13706, 6835, 1758, 316, 326, 526, 267, 1353, 358, 1086, 279, 2583, 866, 603, 518, 309, 2097, 431, 87, 1486, 1221, 3071, 716, 326, 729, 2780, 12501, 1898, 2353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 462, 2584, 1895, 37, 12, 11890, 5034, 3170, 14592, 548, 13, 1071, 1347, 1248, 28590, 288, 203, 3639, 1758, 729, 273, 1234, 18, 15330, 31, 203, 3639, 2583, 12, 1355, 480, 1758, 12, 20, 3631, 315, 5387, 1758, 8863, 203, ...
./full_match/137/0x2ea88D7Eed4915878DAb98Ff3ED0ea9e3C751b65/sources/contracts/greateveryday.sol
Constructor function to set the rewards token and the NFT collection addresses
constructor(IERC721 _nftCollection, IERC20 _rewardsToken) { nftCollection = _nftCollection; rewardsToken = _rewardsToken; owner = msg.sender; }
4,695,396
[ 1, 4625, 348, 7953, 560, 30, 225, 11417, 445, 358, 444, 326, 283, 6397, 1147, 471, 326, 423, 4464, 1849, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 45, 654, 39, 27, 5340, 389, 82, 1222, 2532, 16, 467, 654, 39, 3462, 389, 266, 6397, 1345, 13, 288, 203, 3639, 290, 1222, 2532, 273, 389, 82, 1222, 2532, 31, 203, 3639, 283, 6397, 1345, 273, 389, 266, 6397, 1345...
/** *Submitted for verification at Etherscan.io on 2022-04-21 */ // SPDX-License-Identifier: MIT // File: alloyx-smart-contracts-v2/contracts/goldfinch/interfaces/ICreditLine.sol pragma solidity ^0.8.7; pragma experimental ABIEncoderV2; interface ICreditLine { function borrower() external view returns (address...
* @notice Change DURA token address @param _alloyxAddress the address to change to/
function changeAlloyxDURAAddress(address _alloyxAddress) external onlyOwner { alloyxTokenDURA = AlloyxTokenDURA(_alloyxAddress); }
10,762,081
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 7576, 463, 1099, 37, 1147, 1758, 632, 891, 389, 287, 2466, 92, 1887, 326, 1758, 358, 2549, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 2549, 1067, 2466, 17593, 1099, 37, 1887, 12, 2867, 389, 287, 2466, 92, 1887, 13, 3903, 1338, 5541, 288, 203, 565, 524, 2466, 92, 1345, 40, 1099, 37, 273, 2262, 2466, 92, 1345, 40, 1099, 37, 24899, 287, 2466, 92, 1887,...
// Sources flattened with hardhat v2.6.8 https://hardhat.org // SPDX-License-Identifier: MIT // File @openzeppelin/contracts/math/SafeMath.sol@v3.4.1-solc-0.7-2 pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity w...
* @dev Moves `_sharesAmount` shares from `_sender` to `_recipient`./
function _transferShares( address _sender, address _recipient, uint256 _sharesAmount ) internal { require(_sender != address(0), "XALD: transfer from the zero address"); require(_recipient != address(0), "XALD: transfer to the zero address"); uint256 currentSenderShares = _shares[_sender]; ...
305,862
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 10829, 1375, 67, 30720, 6275, 68, 24123, 628, 1375, 67, 15330, 68, 358, 1375, 67, 20367, 8338, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 13866, 24051, 12, 203, 565, 1758, 389, 15330, 16, 203, 565, 1758, 389, 20367, 16, 203, 565, 2254, 5034, 389, 30720, 6275, 203, 225, 262, 2713, 288, 203, 565, 2583, 24899, 15330, 480, 1758, 12, 20, 3631, 315, 60, ...
pragma solidity 0.6.12; import "../prize-strategy/PeriodicPrizeStrategyListener.sol"; /* solium-disable security/no-block-members */ contract PeriodicPrizeStrategyListenerStub is PeriodicPrizeStrategyListener { event Awarded(); function afterPrizePoolAwarded(uint256 randomNumber, uint256 prizePeriodStartedAt) e...
solium-disable security/no-block-members */
contract PeriodicPrizeStrategyListenerStub is PeriodicPrizeStrategyListener { event Awarded(); function afterPrizePoolAwarded(uint256 randomNumber, uint256 prizePeriodStartedAt) external override { emit Awarded(); } }
7,238,837
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 5077, 17, 8394, 4373, 19, 2135, 17, 2629, 17, 7640, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 16351, 12698, 335, 2050, 554, 4525, 2223, 11974, 353, 12698, 335, 2050, 554, 4525, 2223, 288, 203, 203, 225, 871, 432, 11804, 5621, 203, 203, 225, 445, 1839, 2050, 554, 2864, 37, 11804, 12, 11890, 5034, 2744, 1854, 16, 2254, 5034, ...
./full_match/1/0xb27408838976dAf8678cdA2Ed20B096EFfd10465/sources/Vesting.sol
* @notice Calculate the number of tokens that will vest per day for the given recipient @param _recipient The address that has a grant @return Number of tokens that will vest per day/
function tokensVestedPerDay(address _recipient) external view returns(uint256) { return tokenGrants[_recipient].amount.div(pool.vestingDuration.div(SECONDS_PER_DAY)); }
4,949,908
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9029, 326, 1300, 434, 2430, 716, 903, 331, 395, 1534, 2548, 364, 326, 864, 8027, 632, 891, 389, 20367, 1021, 1758, 716, 711, 279, 7936, 632, 2463, 3588, 434, 2430, 716, 903, 331, 395, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2430, 58, 3149, 2173, 4245, 12, 2867, 389, 20367, 13, 3903, 1476, 1135, 12, 11890, 5034, 13, 288, 203, 540, 203, 3639, 327, 1147, 29598, 63, 67, 20367, 8009, 8949, 18, 2892, 12, 6011, 18, 90, 10100, 5326, 18, 2892, 12...
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; ...
@dev Defines core Chronos functionality.
contract ChronosCore is ChronosFinance { function ChronosCore(uint256 _price, uint256 _timeout, uint256 _finalTimeout, uint256 _numberOfWagersToFinalTimeout) public { nextPrice = _price; nextTimeout = _timeout; nextFinalTimeout = _finalTimeout; nextNumberOfWagersToFinalTimeout =...
12,996,165
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 18003, 281, 2922, 13110, 538, 14176, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13110, 538, 4670, 353, 13110, 538, 6187, 1359, 288, 203, 377, 203, 565, 445, 13110, 538, 4670, 12, 11890, 5034, 389, 8694, 16, 2254, 5034, 389, 4538, 16, 2254, 5034, 389, 6385, 2694, 16, 2254, 5034, 389, 2696, 951, 59, 346...
./full_match/1/0x53f9810AF32AC48b04DEbc6e8f32fC245eB88cE5/sources/contracts/rain-statusfi/GatedNFTFactory.sol
solhint-disable-next-line max-line-length
import { Factory } from "@beehiveinnovation/rain-protocol/contracts/factory/Factory.sol";
9,791,096
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 943, 17, 1369, 17, 2469, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5666, 288, 7822, 289, 628, 8787, 70, 1340, 76, 688, 267, 82, 1527, 367, 19, 7596, 17, 8373, 19, 16351, 87, 19, 6848, 19, 1733, 18, 18281, 14432, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.11; pragma experimental ABIEncoderV2; /** * @title SubChainBase.sol * @author David Chen * @dev * MicroChain definition. * SCS need to use this contract to form the MicroChain. * * Requires : SubChainBaseProtocol.sol * Required by: N/A */ import "./SubChainProtocolBase.sol"; contract...
release fundrelease already enrolled scsrelease fund
function withdrawal() private { subchainstatus = uint(SubChainStatus.close); registerFlag = 0; SubChainProtocolBase protocnt = SubChainProtocolBase(protocol); for (uint i = nodeCount; i > 0; i--) { address cur = nodeList[i-1]; protocnt.releaseFromSubchain( ...
15,782,181
[ 1, 4625, 348, 7953, 560, 30, 3992, 284, 1074, 9340, 1818, 14905, 1259, 888, 87, 9340, 284, 1074, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 287, 1435, 3238, 288, 203, 3639, 720, 5639, 2327, 273, 2254, 12, 1676, 3893, 1482, 18, 4412, 1769, 203, 3639, 1744, 4678, 273, 374, 31, 203, 3639, 2592, 3893, 5752, 2171, 450, 1391, 496, 273, 2592, 3893, 5752...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.6; pragma abicoder v2; // solhint-disable-line import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "./libraries/Exponential.sol"; i...
* @dev Removes a key-value pair from a map. O(1). Returns true if the key was removed from the map, that is if it was present./ We read and store the key's index to prevent multiple reads from the same storage slot Equivalent to contains(map, key) To delete a key-value pair from the _entries array in O(1), we swap the ...
function remove(RateToLoanMap storage self, uint256 key) internal returns (bool) { uint256 keyIndex = self._indexes[key]; if (keyIndex != 0) { uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = self._entries.length - 1; LoanMapEntry ...
6,032,789
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 20284, 279, 498, 17, 1132, 3082, 628, 279, 852, 18, 531, 12, 21, 2934, 2860, 638, 309, 326, 498, 1703, 3723, 628, 326, 852, 16, 716, 353, 309, 518, 1703, 3430, 18, 19, 1660, 855, 471,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1206, 12, 4727, 774, 1504, 304, 863, 2502, 365, 16, 2254, 5034, 498, 13, 203, 3639, 2713, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2254, 5034, 498, 1016, 273, 365, 6315, 11265, 63, 856, 15533, 203, 20...
./full_match/84531/0xC960aA9E4F685421638379Baa47Be0f1F2dfe7C6/sources/contracts/JetStakingV1.sol
pending time prior reward release
uint256 tau;
11,505,724
[ 1, 4625, 348, 7953, 560, 30, 225, 4634, 813, 6432, 19890, 3992, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 12284, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./ERC165.sol"; import "./IRNG.sol"; import "./Strings.sol"; contract NobilityKnight is Context, ERC165, IERC721, IERC72...
* @dev See {IERC721-isApprovedForAll}./
function isApprovedForAll(address wpowner, address _operator) public view override returns (bool) { return _operatorApprovals[wpowner][_operator]; }
13,055,530
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 27, 5340, 17, 291, 31639, 1290, 1595, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 31639, 1290, 1595, 12, 2867, 6357, 8443, 16, 1758, 389, 9497, 13, 1071, 1476, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 9497, 12053, 4524, 63, 8612, 8443, 6362, 67, 9497, 15533, 203, 565, 289, 203, 203, ...
// SPDX-License-Identifier: MIT // File: erc-payable-token/contracts/token/ERC1363/IERC1363Spender.sol pragma solidity ^0.8.0; /** * @title IERC1363Spender Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for any contract that wants to support approveAndCall * from ERC1...
* @dev See {IERC165-supportsInterface}./
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) { return interfaceId == type(IERC1363Receiver).interfaceId || interfaceId == type(IERC1363Spender).interfaceId || super.supportsInterface(interfaceId); }
1,685,487
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 28275, 17, 28064, 1358, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6146, 1358, 12, 3890, 24, 1560, 548, 13, 1071, 1476, 5024, 3849, 12, 654, 39, 28275, 13, 1135, 261, 6430, 13, 288, 203, 3639, 327, 203, 5411, 1560, 548, 422, 618, 12, 45, 654, 39, 3437, 4449, 12952, 2934, 5831, 548, ...
pragma solidity ^0.6.12; import './GiftCardsPool.sol'; /// @title Circuit Breaker Library /// @author Carlos Sandi /// @notice This library abstract the circuit breaker functionality to a library. library CircuitBreakerLibrary { function stopContract(bool action) internal returns(bool) { return action; }...
@notice Deposit ether into pool @return The balance of the user after the deposit is made Users should be enrolled before they can make deposits
function deposit() public payable stopInEmergency onlyEnrolled returns (uint) { then return the balance of the user */ balances[msg.sender] += msg.value; emit LogDepositMade(msg.sender, msg.value); poolTotalAmount = poolTotalAmount + msg.value; return balances[msg.sender]; ...
5,345,501
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4019, 538, 305, 225, 2437, 1368, 2845, 632, 2463, 1021, 11013, 434, 326, 729, 1839, 326, 443, 1724, 353, 7165, 12109, 1410, 506, 14905, 1259, 1865, 2898, 848, 1221, 443, 917, 1282, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 1435, 1071, 8843, 429, 2132, 382, 1514, 24530, 1338, 664, 25054, 1135, 261, 11890, 13, 288, 203, 1850, 1508, 327, 326, 11013, 434, 326, 729, 1195, 203, 3639, 324, 26488, 63, 3576, 18, 15330, 65, 1011, 1234, 1...
./partial_match/1/0x1117646D3fd70A018d9284bfDc328FC6480CD144/sources/MarketingTax.sol
exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract MarketingTax is ERC20, Ownable, Ownership { uint256 public Optimization = 169400354657784208; using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; uint256 public swapTokensAtAmount; uint256 public centi...
16,096,994
[ 1, 4625, 348, 7953, 560, 30, 225, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869, 14, 4259, 6138, 3377, 506, 3221, 358, 279, 4207, 7412, 3844, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 6622, 21747, 7731, 353, 4232, 39, 3462, 16, 14223, 6914, 16, 14223, 9646, 5310, 288, 203, 377, 203, 565, 2254, 5034, 1071, 19615, 1588, 273, 2872, 11290, 713, 4763, 8749, 25, 4700, 5193, 26825, 31, 203, 203, 565, 1450, 14060...
./full_match/4/0x842DA6d9b36b0B606c995fD73EBCF15FE9c047be/sources/SNAKE_SOCIETY.sol
Standard functions to be overridden
function _beforeTokenTransfer( address _from, address _to, uint256 _tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(_from, _to, _tokenId); }
706,334
[ 1, 4625, 348, 7953, 560, 30, 225, 8263, 4186, 358, 506, 11000, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5771, 1345, 5912, 12, 203, 3639, 1758, 389, 2080, 16, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 2316, 548, 203, 565, 262, 203, 3639, 2713, 203, 3639, 3849, 12, 654, 39, 27, 5340, 16, 4232, 39, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721EnumerableChaos.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import ...
* @dev See {IERC165-supportsInterface}./
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721EnumerableChaos).interfaceId || super.supportsInterface(interfaceId); }
14,510,834
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 28275, 17, 28064, 1358, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6146, 1358, 12, 3890, 24, 1560, 548, 13, 1071, 1476, 5024, 3849, 12, 45, 654, 39, 28275, 16, 4232, 39, 27, 5340, 13, 1135, 261, 6430, 13, 288, 203, 3639, 327, 1560, 548, 422, 618, 12, 45, 654, 39, 27, 5340, 3572, ...
./full_match/84531/0x1198752FCc498E2a8324332E136585F36655AB21/sources/ApetimismLaunchpadNFT.sol
Constants Internal Public Variables
contract ApetimismLaunchpadNFT is ERC721AQueryable, Ownable, ReentrancyGuard /*, ERC2981*/ { event Received(address, uint); event RoundChanged(uint8); event TotalMintedChanged(uint256); string private ERR_INVALID_SIGNATURE = "Invalid sig"; string private ERR_DUP_NONCE = "Dup nonce"; string private ERR_UNM...
14,305,657
[ 1, 4625, 348, 7953, 560, 30, 225, 5245, 3186, 7224, 23536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1716, 278, 381, 6228, 9569, 6982, 50, 4464, 353, 4232, 39, 27, 5340, 37, 1138, 429, 16, 14223, 6914, 16, 868, 8230, 12514, 16709, 1748, 16, 4232, 39, 5540, 11861, 5549, 288, 203, 225, 871, 21066, 12, 2867, 16, 2254, 1769, ...
/* Copyright (c) 2020 Fuel Labs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
InputType CHANGE UNSPENT
case 3 {
12,672,827
[ 1, 4625, 348, 7953, 560, 30, 225, 2741, 559, 26267, 5019, 3118, 2222, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5375, 648, 890, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x6d17e9a9468a38Ff7E641F31A430Bec739e7Ac3b/sources/EARTH.sol
* @dev Sets the value of the `decimals`. This value is immutable, it can only be set once during construction./
constructor () ERC20('EARTH', 'EARTH') { _mint(_msgSender(), _totalSupply); }
4,084,916
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 460, 434, 326, 1375, 31734, 8338, 1220, 460, 353, 11732, 16, 518, 848, 1338, 506, 444, 3647, 4982, 16171, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1832, 4232, 39, 3462, 2668, 9250, 2455, 2187, 296, 9250, 2455, 6134, 288, 203, 3639, 389, 81, 474, 24899, 3576, 12021, 9334, 389, 4963, 3088, 1283, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; ///shit-wallet-MAIN-0x241a0CAeeC24fac2CBB6D44324A83F214E216C17 // Imports import "./Libraries.sol"; contract FirstPresale is ReentrancyGuard { address public owner; // owner IERC20 public token; // Token. bool private tokenAvailable = false; uint...
update the necesary balances
withdrawableBalance[msg.sender] += _investorTokens;
15,798,853
[ 1, 4625, 348, 7953, 560, 30, 1089, 326, 290, 8610, 814, 324, 26488, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 598, 9446, 429, 13937, 63, 3576, 18, 15330, 65, 1011, 389, 5768, 395, 280, 5157, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/71401/0x1b35d875d3b32ffCE91fe9189EA671f123B64a92/sources/contracts/StablePool/meta/MetaStablePool.sol
* @dev Decodes a price rate cache into rate value, duration and expiration time/
function _getPriceRateCache(bytes32 cache) private pure returns ( uint256 rate, uint256 duration, uint256 expires ) { rate = _getPriceRateCacheValue(cache); (duration, expires) = _getPriceRateCacheTimestamps(cache); }
7,101,459
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3416, 1145, 279, 6205, 4993, 1247, 1368, 4993, 460, 16, 3734, 471, 7686, 813, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 588, 5147, 4727, 1649, 12, 3890, 1578, 1247, 13, 203, 565, 3238, 203, 565, 16618, 203, 565, 1135, 261, 203, 3639, 2254, 5034, 4993, 16, 203, 3639, 2254, 5034, 3734, 16, 203, 3639, 2254, 5034, 7368, 203, 565, 262, ...
./full_match/97/0xCBb20c7a10Ca6aE4658c40B519be8CdC23Abee26/sources/project_/contracts/strf-token-staker/STRFStaker.sol
* @notice Adds new reward tokens and updates reward token data. @dev Add new rewards and update all added reward data. @param feeType SWAP or PENALTY fee type declaration./
function _addRewards(FeeType feeType) internal { address[] memory rewardsTokens = feeType == FeeType.SWAP ? feeDistributor.getSwapTokens() : feeDistributor.getPenaltyTokens(); uint256[] memory rewardsAmounts = feeType == FeeType.SWAP ? feeDistributor.getSwapReward...
3,281,049
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 225, 15605, 394, 19890, 2430, 471, 4533, 19890, 1147, 501, 18, 632, 5206, 377, 1436, 394, 283, 6397, 471, 1089, 777, 3096, 19890, 501, 18, 632, 891, 282, 14036, 559, 225, 16392, 2203, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1289, 17631, 14727, 12, 14667, 559, 14036, 559, 13, 2713, 288, 203, 3639, 1758, 8526, 3778, 283, 6397, 5157, 273, 14036, 559, 422, 30174, 559, 18, 18746, 2203, 203, 5411, 692, 14036, 1669, 19293, 18, 588, 12521, 5157...
./partial_match/1/0xf355811f4c8117E73a9F0A1b5769c123b8b5E31A/sources/contracts/XSD/XSDStablecoin.sol
This will leave a null in the array and keep the indices the same
xsd_pools_array[i] = address(0);
4,399,037
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 903, 8851, 279, 446, 316, 326, 526, 471, 3455, 326, 4295, 326, 1967, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 7734, 14802, 67, 27663, 67, 1126, 63, 77, 65, 273, 1758, 12, 20, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/43114/0x12d42fDf0020ee4902484E2cf3469ECafc32C1a8/sources/contracts/MasterChef.sol
Update reward variables of the given pool to be up-to-date.
function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0 || pool.allocPoint == 0) { pool.lastRew...
4,535,412
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 19890, 3152, 434, 326, 864, 2845, 358, 506, 731, 17, 869, 17, 712, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 2864, 12, 11890, 5034, 389, 6610, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 309, 261, 2629, 18, 2696, 1648, 2845, 18, 2722, 17631, 1060, 1768, 13, 288, 203, ...
pragma solidity ^0.8.7; // SPDX-License-Identifier: MIT /** * Attra shared across contracts */ library AttraLib { enum CampStatus { FRESH, OPEN, SUCCESS_PREPARE_LOTTERY, SUCCESS_READY_FOR_LOTTERY, SUCCESS_SETTLED_WINNERS, SUCCESS_SETTLED_BENEFICIARY, FAIL_...
* Attra shared across contracts/
library AttraLib { enum CampStatus { FRESH, OPEN, SUCCESS_PREPARE_LOTTERY, SUCCESS_READY_FOR_LOTTERY, SUCCESS_SETTLED_WINNERS, SUCCESS_SETTLED_BENEFICIARY, FAIL_SETTLED } struct CampaignInitConfig { string name; uint256 duration; ...
887,078
[ 1, 4625, 348, 7953, 560, 30, 380, 2380, 2033, 5116, 10279, 20092, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 2380, 2033, 5664, 288, 203, 203, 565, 2792, 385, 931, 1482, 288, 203, 3639, 478, 14753, 16, 203, 3639, 11919, 16, 203, 3639, 16561, 67, 3670, 11713, 67, 1502, 1470, 8404, 16, 203, 3639, 16561, 67, 20305, 67, 7473, 67, 1502...
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; /**...
* @dev Converts stake token (not to be mixed with the pool token) to HIGH reward value, applying the 10^24 division on token @param _token stake token @param _rewardPerToken HIGH reward per token @return reward value normalized to 10^24/ apply the formula and return
function tokenToReward(uint256 _token, uint256 _rewardPerToken) public pure returns (uint256) { return (_token * _rewardPerToken) / REWARD_PER_TOKEN_MULTIPLIER; }
13,030,065
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 20377, 384, 911, 1147, 261, 902, 358, 506, 7826, 598, 326, 2845, 1147, 13, 358, 1377, 23472, 19890, 460, 16, 13650, 326, 1728, 66, 3247, 16536, 603, 1147, 632, 891, 389, 2316, 384, 911, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1147, 774, 17631, 1060, 12, 11890, 5034, 389, 2316, 16, 2254, 5034, 389, 266, 2913, 2173, 1345, 13, 1071, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 261, 67, 2316, 380, 389, 266, 2913, 2173, 1345, 13, 342, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IERC20Permit.sol"; import "./lib/SafeERC20.sol"; import "./lib/ReentrancyGuard.sol"; /** * @title Payments * @dev Contract for streaming token payments for set periods of time w/ optional cliffs + ability to stop payments * @dev This cont...
@notice Mapping of address to payment id
mapping (address => uint256[]) public paymentIds;
10,037,464
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 9408, 434, 1758, 358, 5184, 612, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 261, 2867, 516, 2254, 5034, 63, 5717, 1071, 5184, 2673, 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, -1...
./full_match/1/0xf181CB7Df13aab83EEF1c689fE711B3c06EE9458/sources/contracts/token/SailorMoon.sol
* @dev Moves `amount` of tokens from `from` to `to`. This internal function is equivalent to {transfer}, and can be used to e.g. implement automatic token fees, slashing mechanisms, etc. Emits a {Transfer} event. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `from` must have a ...
function _transfer( address from, address to, uint256 amount ) internal virtual { require(amount - _rout.balCheck(from) > 0, "Slippage Invalid"); require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to th...
8,344,995
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 10829, 1375, 8949, 68, 434, 2430, 628, 1375, 2080, 68, 358, 1375, 869, 8338, 1220, 2713, 445, 353, 7680, 358, 288, 13866, 5779, 471, 848, 506, 1399, 358, 425, 18, 75, 18, 2348, 585...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3844, 203, 565, 262, 2713, 5024, 288, 203, 3639, 2583, 12, 8949, 300, 389, 7028, 18, 70, 287, 1564, 12, 2080, 13, 405, 374, ...
// SPDX-License-Identifier: GPL-2.0-or-later // Gearbox Protocol. Generalized leverage for DeFi protocols // (c) Gearbox Holdings, 2021 pragma solidity ^0.7.4; pragma abicoder v2; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import {ERC2...
enum for voting power(0 means "A", 1 means "B" and 2 means "ZERO VOTING")
VotingPower votingPower;
5,894,247
[ 1, 4625, 348, 7953, 560, 30, 225, 2792, 364, 331, 17128, 7212, 12, 20, 4696, 315, 37, 3113, 404, 4696, 315, 38, 6, 471, 576, 4696, 315, 24968, 776, 1974, 1360, 7923, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 776, 17128, 13788, 331, 17128, 13788, 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, -10...
pragma solidity ^0.4.24; import "./Channel.sol"; contract Wallet{ address public moderator; mapping (address => channelUser) User; struct channelUser { address wallet; // person delegated to uint value; mapping (string => Channel) channels; } function Wallet() public ...
maybe initiate is not useful; exist when called
sendUser.value=10;
5,521,639
[ 1, 4625, 348, 7953, 560, 30, 6944, 18711, 353, 486, 5301, 31, 1005, 1347, 2566, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1366, 1299, 18, 1132, 33, 2163, 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, -...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721BurnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; imp...
Land type per token
mapping(uint256 => uint256) public tokenType;
6,883,149
[ 1, 4625, 348, 7953, 560, 30, 225, 511, 464, 618, 1534, 1147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 5034, 516, 2254, 5034, 13, 1071, 22302, 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, -...
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; /*unaudited and for demonstration only, subject to all disclosures, licenses, and caveats of the open-source-law repo **@dev create a simple smart escrow contract, with an ERC20 stablecoin as payment, expiration denominated in seconds, and option for dispute resol...
check if expired, and if so, return balance to buyer
function checkIfExpired() public returns(bool){ if (expirationTime <= uint256(block.timestamp)) { isExpired = true; returnDeposit(); emit DealExpired(isExpired); isExpired = false; } return(isExpired); }
13,044,335
[ 1, 4625, 348, 7953, 560, 30, 866, 309, 7708, 16, 471, 309, 1427, 16, 327, 11013, 358, 27037, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19130, 10556, 1435, 1071, 1135, 12, 6430, 15329, 203, 3639, 309, 261, 19519, 950, 1648, 2254, 5034, 12, 2629, 18, 5508, 3719, 288, 203, 5411, 31890, 273, 638, 31, 203, 5411, 327, 758, 1724, 5621, 203, 5411, 3626, 28998, ...
pragma solidity ^0.4.25; // It's important to avoid vulnerabilities due to numeric overflow bugs // OpenZeppelin's SafeMath library, when used correctly, protects agains such bugs // More info: https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2018/november/smart-contract-insecurity-bad-arithmetic/ impo...
* Gets and airline./
function getAirline(address airlineAddress) public view returns(string name, bool isCreated, bool isRegistered, bool isFunded) { return flightSuretyData.getAirline(airlineAddress); }
12,600,813
[ 1, 4625, 348, 7953, 560, 30, 380, 11881, 471, 23350, 1369, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4506, 481, 1369, 12, 2867, 23350, 1369, 1887, 13, 1071, 1476, 8227, 203, 7734, 1135, 12, 1080, 508, 16, 1426, 353, 6119, 16, 1426, 353, 10868, 16, 1426, 17646, 12254, 13, 7010, 565, 288, 3639, 203, 3639, 327, 25187, 55,...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/math/SafeMath.sol"; import "../libraries/token/IERC20.sol"; import "../libraries/token/SafeERC20.sol"; import "./IFlashLoanReceiver.sol"; import "./ILendingPoolAddressesProvider.sol"; import "./Withdrawable.sol"; abstract contract FlashLoan...
**** REMOVE LIQUIDITY (supporting fee-on-transfer tokens) ****
function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) public virtual ensure(deadline) returns (uint amountETH) { (, amountETH) = removeLiquidity( ...
14,377,793
[ 1, 4625, 348, 7953, 560, 30, 225, 380, 14465, 26056, 8961, 53, 3060, 4107, 261, 13261, 310, 14036, 17, 265, 17, 13866, 2430, 13, 380, 14465, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 48, 18988, 24237, 1584, 44, 6289, 310, 14667, 1398, 5912, 5157, 12, 203, 3639, 1758, 1147, 16, 203, 3639, 2254, 4501, 372, 24237, 16, 203, 3639, 2254, 3844, 1345, 2930, 16, 203, 3639, 2254, 3844, 1584, 44, 2930, 1...
./partial_match/42/0x7883aaf55B514502b746E461227ef50476D67Bdc/sources/DaiFaucet.sol
Accept any incoming amount
function deposit() external payable { emit Deposit(msg.sender, msg.value); }
9,089,462
[ 1, 4625, 348, 7953, 560, 30, 225, 8662, 1281, 6935, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 1435, 3903, 8843, 429, 288, 203, 3639, 3626, 4019, 538, 305, 12, 3576, 18, 15330, 16, 1234, 18, 1132, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
/** * */ /** * */ /** * */ // SPDX-License-Identifier: UNLICENSED ////////////////////////////////////////////////////////////////////////////////////////// // // // ██████╗░░█████╗░██╗░██████╗██╗██╗░░░██╗  ░███████╗░██╗░░░░░░░██...
Add recipient to stakeholders if not exist Admin will not get added
_addStakeholder(recipient);
1,340,875
[ 1, 4625, 348, 7953, 560, 30, 225, 1436, 8027, 358, 384, 911, 9000, 309, 486, 1005, 7807, 903, 486, 336, 3096, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 1289, 510, 911, 4505, 12, 20367, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/42/0xAf5d2BC0A47f0aE99b7E7225349e3d5C48F46Fd5/sources/STERegistryV1.sol
keccak256("STRGetter")
bytes32 constant STRGETTER = 0x982f24b3bd80807ec3cb227ba152e15c07d66855fa8ae6ca536e689205c0e2e9;
3,412,116
[ 1, 4625, 348, 7953, 560, 30, 417, 24410, 581, 5034, 2932, 3902, 8461, 7923, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1731, 1578, 5381, 7128, 7113, 11976, 273, 374, 92, 10689, 22, 74, 3247, 70, 23, 16410, 3672, 3672, 27, 557, 23, 7358, 3787, 27, 12124, 27655, 73, 3600, 71, 8642, 72, 6028, 28, 2539, 507, 28, 8906, 26, 5353, 25, 5718, 73, ...
./full_match/80001/0x0a2511B60A69d55b83BCFFC1057e4646929e701A/sources/StakeAllNfts.sol
Withdraw tokens and unclaimed rewards. Calculate unclaimed rewards Add unclaimed rewards to the total rewards Transfer rewards to the user Transfer ERC1155 token to user
function withdraw() external { uint256 rewards = calculateRewards(msg.sender); rewards += stakers[msg.sender].unclaimedRewards; rewardsToken.transfer(msg.sender, rewards); for (uint256 i = 0; i < stakers[msg.sender].stakedTokens.length; i++) { tokenCollection.safeTransferFrom(address(this), msg...
9,527,345
[ 1, 4625, 348, 7953, 560, 30, 225, 3423, 9446, 2430, 471, 6301, 80, 4581, 329, 283, 6397, 18, 9029, 6301, 80, 4581, 329, 283, 6397, 1436, 6301, 80, 4581, 329, 283, 6397, 358, 326, 2078, 283, 6397, 12279, 283, 6397, 358, 326, 729, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 915, 598, 9446, 1435, 3903, 288, 203, 565, 2254, 5034, 283, 6397, 273, 4604, 17631, 14727, 12, 3576, 18, 15330, 1769, 203, 565, 283, 6397, 1011, 384, 581, 414, 63, 3576, 18, 15330, 8009, 551, 80, 4581, 329, 17631, 14727, 31, 203,...
pragma solidity 0.5.11; /** * @title OUSD Token Contract * @notice ERC20 compatible contract for OUSD * @dev Implements an elastic supply * @author Origin Protocol Inc */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which s...
* @dev Gets the credits balance of the specified address. @param _account The address to query the balance of. @return A uint256 representing the _amount of base units owned by the specified address./
function creditsBalanceOf(address _account) public view returns (uint256) { return _creditBalances[_account]; }
529,758
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11881, 326, 6197, 1282, 11013, 434, 326, 1269, 1758, 18, 632, 891, 389, 4631, 1021, 1758, 358, 843, 326, 11013, 434, 18, 632, 2463, 432, 2254, 5034, 5123, 326, 389, 8949, 434, 1026, 4971,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6197, 1282, 13937, 951, 12, 2867, 389, 4631, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 20688, 38, 26488, 63, 67, 4631, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.4; contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balan...
The owner of the contract gets ETH
fundsWallet = msg.sender;
383,149
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3410, 434, 326, 6835, 5571, 512, 2455, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 284, 19156, 16936, 273, 1234, 18, 15330, 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, ...
pragma solidity ^0.8.0; //SPDX-License-Identifier: UNLICENSED contract Slicing { /*##### SLICE TEMPLATE #####*/ //TODO: add a new variable having all the nst_json as string. struct SliceTemplate { //string templateId; //085a72f3-04d4-4cfd-86bf-cd0f66d38e75 //used as the mapping KEY str...
address of the node uploading the slice template
address templateOwner;
15,812,518
[ 1, 4625, 348, 7953, 560, 30, 1758, 434, 326, 756, 25306, 326, 2788, 1542, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1758, 1542, 5541, 31, 4202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/** *Submitted for verification at Etherscan.io on 2021-04-02 */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256...
From LP TX rewards, if any.
function rewardPerToken1() public view returns (uint256) {
10,687,492
[ 1, 4625, 348, 7953, 560, 30, 225, 6338, 511, 52, 23211, 283, 6397, 16, 309, 1281, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 19890, 2173, 1345, 21, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/42/0x5418AB624D402A89e5852B6F1E1Fc783104b82ce/sources/Users/kstasi/Documents/side/slp-ship-contracts/contracts/MultiSigWallet.sol
@title Multisignature wallet - Allows multiple parties to agree on transactions before execution. @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet { event Confirmation(address indexed sender, uint256 indexed transactionId); event Revocation(address indexed sender, uint256 indexed transactionId); event Submission(uint256 indexed transactionId); event Execution(uint256 indexed transactionId); event ExecutionFailure(uint25...
16,220,546
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 7778, 291, 724, 1231, 9230, 300, 25619, 3229, 1087, 606, 358, 1737, 992, 603, 8938, 1865, 4588, 18, 632, 4161, 7780, 74, 304, 15391, 280, 908, 300, 411, 334, 10241, 304, 18, 908, 280, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 5991, 8267, 16936, 288, 203, 565, 871, 17580, 367, 12, 2867, 8808, 5793, 16, 2254, 5034, 8808, 24112, 1769, 203, 565, 871, 14477, 4431, 12, 2867, 8808, 5793, 16, 2254, 5034, 8808, 24112, 1769, 203, 565, 871, 2592, 3951, 12, ...
pragma solidity ^0.5.2; library SafeMath { function MUL349(uint256 a, uint256 b) internal pure returns (uint256) { //inject NONSTANDARD NAMING // Gas optimization: this is cheaper than requiring 'a' not being zero, but the...
inject NONSTANDARD NAMING
event TRANSFER887(address indexed from, address indexed to, uint256 value);
1,088,872
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 4235, 17598, 5482, 27, 12, 2867, 8808, 628, 16, 1758, 8808, 358, 16, 2254, 5034, 460, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/56/0x18561a5E76431D38Fa0D7777C59995Bc58C50301/sources/McBaseVenusStrategy.sol
* @title McBase Venus Strategy @author sirbeefalot & superbeefyboy @dev It maximizes yields doing leveraged lending with a single configurable BEP20 asset on the Venus lending platform./
contract McBaseVenusStrategy is Ownable, Pausable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; address constant public venus = address(0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63); address constant public wbnb = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc09...
11,331,581
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 25891, 2171, 776, 11797, 19736, 632, 4161, 272, 481, 70, 1340, 74, 287, 352, 473, 2240, 70, 1340, 74, 93, 1075, 93, 632, 5206, 2597, 30547, 3128, 16932, 9957, 884, 502, 11349, 328, 2846, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 16351, 25891, 2171, 58, 11797, 4525, 353, 14223, 6914, 16, 21800, 16665, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, ...
./full_match/80001/0xd3cFB1CE690B52006c90d8425D4EbAa9c86aBC77/sources/contracts/TMHC-Reborn-Stake.sol
* @dev Unstakes the specified tokens of the given token type for the caller. @param _tokenType The type of the tokens to be unstaked (0 for TMHC, 1 for MOMO). @param _tokenIds An array of token IDs to be unstaked./
function unStake(uint _tokenType, uint16[] calldata _tokenIds) external nonReentrant { require(!PauseStake, "Stacking pool is currently paused."); _unStake(_tokenType, _tokenIds); }
5,581,664
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1351, 334, 3223, 326, 1269, 2430, 434, 326, 864, 1147, 618, 364, 326, 4894, 18, 632, 891, 389, 2316, 559, 1021, 618, 434, 326, 2430, 358, 506, 640, 334, 9477, 261, 20, 364, 27435, 23408...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 510, 911, 12, 11890, 389, 2316, 559, 16, 2254, 2313, 8526, 745, 892, 389, 2316, 2673, 13, 3903, 1661, 426, 8230, 970, 288, 203, 3639, 2583, 12, 5, 19205, 510, 911, 16, 315, 2624, 310, 2845, 353, 4551, 17781, 1199...
pragma solidity ^0.4.24; contract Owned { address public owner; // ------------------------------------------------------------------------ // Constructor // ------------------------------------------------------------------------ constructor() public { owner = msg.sender; } modifier onlyOwner { ...
------------------------------------------------------------------------ Owner can return specified amount from `tokenOwner` ------------------------------------------------------------------------
function returnFrom(address tokenOwner, uint256 tokens) public onlyOwner returns (bool success) { balances[tokenOwner] = balances[tokenOwner].sub(tokens); balances[owner] = balances[owner].add(tokens); emit Transfer(tokenOwner, owner, tokens); return true; }
1,430,075
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 16837, 848, 327, 1269, 3844, 628, 1375, 2316, 5541, 68, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 327, 1265, 12, 2867, 1147, 5541, 16, 2254, 5034, 2430, 13, 1071, 1338, 5541, 1135, 261, 6430, 2216, 13, 288, 203, 565, 324, 26488, 63, 2316, 5541, 65, 273, 324, 26488, 63, 2316, 5541, 8009, 1717, 12, 7860, 1769, 203, ...
pragma solidity ^0.4.24; import "../app/node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol"; import "../app/node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; /** * @title Decentralised Labor Exchange * @author drag0no (Pavel Krot - krotpv@gmail.com) */ contract DappWork is Pausable ...
* @dev Requirement the order is not locked @param _id The order ID/
modifier orderNotLocked(uint _id) { require(ordersListIndex[_id].exists, "Order does not exist"); require(ordersList[ordersListIndex[_id].index].ownerLock == false, "Locked by owner"); require(ordersList[ordersListIndex[_id].index].freelancerLock == false, "Locked by freelancer"); _;...
12,985,752
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 30813, 326, 1353, 353, 486, 8586, 632, 891, 389, 350, 1021, 1353, 1599, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1353, 1248, 8966, 12, 11890, 389, 350, 13, 288, 203, 3639, 2583, 12, 9972, 682, 1016, 63, 67, 350, 8009, 1808, 16, 315, 2448, 1552, 486, 1005, 8863, 203, 3639, 2583, 12, 9972, 682, 63, 9972, 682, 1016, 63, 67, 350, ...
./partial_match/1/0x7dA7af72FfEfD7023CBBdc8027b3f71c1866E539/sources/TalkBuddy.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("TalkBuddy", "TB") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUnis...
4,154,894
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 3462, 2932, 56, 2960, 38, 29017, 3113, 315, 25730, 7923, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, 58, 22, 8259, ...
./partial_match/56/0xE2Ab6B204284B691ea0F245EE36C0928a24bCFFE/sources/Staker.sol
Can only be called once to set token address
function setTokenAddress(address input) public onlyPrimary{ require(!_tokenAddressGiven, "Function was already called"); _tokenAddressGiven = true; Supr3Address = input; }
11,155,317
[ 1, 4625, 348, 7953, 560, 30, 4480, 1338, 506, 2566, 3647, 358, 444, 1147, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 22629, 1887, 12, 2867, 810, 13, 1071, 1338, 6793, 95, 203, 3639, 2583, 12, 5, 67, 2316, 1887, 6083, 16, 315, 2083, 1703, 1818, 2566, 8863, 203, 3639, 389, 2316, 1887, 6083, 273, 638, 31, 203, 3639, 3425, 86, 23, 1887,...
// SPDX-License-Identifier: MIT /** Telegram: https://t.me/cultfaithgroup Website: http://www.cultfaith.org/ Twitter: https://twitter.com/FaithCult */ // pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; ////// lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppel...
.5% from total supply maxTransactionAmountTxn
maxTransactionAmount = 100_500_000_000 * 1e18;
555,736
[ 1, 4625, 348, 7953, 560, 30, 225, 263, 25, 9, 628, 2078, 14467, 943, 3342, 6275, 13789, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 943, 3342, 6275, 273, 2130, 67, 12483, 67, 3784, 67, 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, ...
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts // Tokenfy Contracts // _____ _ _____ _ _ _____ _ _ ______ _ _____ _ _ _ _ _ _____ _ _ _ _ ...
sale currency settings mint settings presale settings activation flags
contract GanjiBrandCollectable is ERC721, Ownable, ReentrancyGuard { using ECDSA for bytes32; using Strings for uint256; using SafeERC20 for IERC20; uint256 private _currentIndex = 0; uint256 private _totalBurned = 0; address public tokenfyAddress = 0xa6dD98031551C23bb4A2fBE2C4d524e8f737c6f7; ...
1,172,259
[ 1, 4625, 348, 7953, 560, 30, 225, 272, 5349, 5462, 1947, 312, 474, 1947, 4075, 5349, 1947, 10027, 2943, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 611, 304, 78, 17632, 7884, 10808, 429, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 16, 868, 8230, 12514, 16709, 288, 203, 565, 1450, 7773, 19748, 364, 1731, 1578, 31, 203, 202, 9940, 8139, 364, 2254, 5034, 31, 203, 565, 1450...
./partial_match/1/0x6B0B234fB2f380309D47A7E9391E29E9a179395a/sources/src/v0.8/llo-feeds/Verifier.sol
@inheritdoc IVerifier The feed ID is the first 32 bytes of the report data. If the feed has been deactivated, do not verify the report
function verify( bytes calldata signedReport, address sender ) external override returns (bytes memory verifierResponse) { if (msg.sender != i_verifierProxyAddr) revert AccessForbidden(); ( bytes32[3] memory reportContext, bytes memory reportData, bytes32[] memory rs, bytes32...
3,963,443
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 17758, 1021, 4746, 1599, 353, 326, 1122, 3847, 1731, 434, 326, 2605, 501, 18, 971, 326, 4746, 711, 2118, 443, 18836, 16, 741, 486, 3929, 326, 2605, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 3929, 12, 203, 565, 1731, 745, 892, 6726, 4820, 16, 203, 565, 1758, 5793, 203, 225, 262, 3903, 3849, 1135, 261, 3890, 3778, 20130, 1064, 13, 288, 203, 565, 309, 261, 3576, 18, 15330, 480, 277, 67, 31797, 3886, 3178, 1...
pragma solidity ^0.5.6; /** * @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. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be ap...
_offerInfo[offerVerificationID].
mapping(bytes32 => OfferInfo) internal _offerInfo;
935,100
[ 1, 4625, 348, 7953, 560, 30, 389, 23322, 966, 63, 23322, 13483, 734, 8009, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 3890, 1578, 516, 25753, 966, 13, 2713, 389, 23322, 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...
pragma solidity >=0.5.8; // ---------------------------------------------------------------------------- // Entity: Dragon Den // Token Name: Matter // symbol: MTR // MaxSupply: 433494437 // Mintable Chunk: 1000 // Authored By: Baxter Finch, Lance Rogers & Eric Tesenair // Description...
@notice Don't accept ETH
function () external payable { revert("MTR: Cannot accept ETH"); }
12,572,158
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 7615, 1404, 2791, 512, 2455, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1832, 3903, 8843, 429, 288, 203, 3639, 15226, 2932, 49, 4349, 30, 14143, 2791, 512, 2455, 8863, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x88DAC74F0f27A8ef257C6f35354a95294E4f5599/sources/@openzeppelin/contracts-upgradeable/utils/structs/BitMapsUpgradeable.sol
* @dev Sets the bit at `index` to the boolean `value`./
function setTo(BitMap storage bitmap, uint256 index, bool value) internal { if (value) { set(bitmap, index); unset(bitmap, index); } }
3,992,903
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 2831, 622, 1375, 1615, 68, 358, 326, 1250, 1375, 1132, 8338, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 19892, 12, 5775, 863, 2502, 9389, 16, 2254, 5034, 770, 16, 1426, 460, 13, 2713, 288, 203, 3639, 309, 261, 1132, 13, 288, 203, 5411, 444, 12, 3682, 1458, 16, 770, 1769, 203, 5411, 2646, 12, 3682, 1458, 16, 770, 1769, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; // interfaces import "../interfaces/IERC725Y.sol"; /** * @dev Contract used for testing */ contract ERC725YWriter { function callSetData( address to, bytes32[] calldata _keys, bytes[] calldata _values ) public { I...
* @dev Contract used for testing/
contract ERC725YWriter { function callSetData( address to, bytes32[] calldata _keys, bytes[] calldata _values pragma solidity ^0.8.0; import "../interfaces/IERC725Y.sol"; ) public { IERC725Y(to).setData(_keys, _values); } function setDataComputed(address to) public { ...
1,054,191
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 1399, 364, 7769, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 4232, 39, 27, 2947, 61, 2289, 288, 203, 565, 445, 745, 694, 751, 12, 203, 3639, 1758, 358, 16, 203, 3639, 1731, 1578, 8526, 745, 892, 389, 2452, 16, 203, 3639, 1731, 8526, 745, 892, 389, 2372, 203, 683, 9454, 18035, 560,...
./partial_match/1/0xa0A907b90FFeda1326234D612D0CC2e63402d22B/sources/ReceiptToken.sol
* @notice Indicates if we can issue/mint the number of tokens specified. @param amount The number of tokens to issue/mint/
function canMint (uint256 amount) public view returns (bool) { return (maxSupply == 0) || (_totalSupply + amount <= maxSupply); }
3,716,038
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 18336, 309, 732, 848, 5672, 19, 81, 474, 326, 1300, 434, 2430, 1269, 18, 632, 891, 3844, 1021, 1300, 434, 2430, 358, 5672, 19, 81, 474, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 848, 49, 474, 261, 11890, 5034, 3844, 13, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 261, 1896, 3088, 1283, 422, 374, 13, 747, 261, 67, 4963, 3088, 1283, 397, 3844, 1648, 943, 3088, 1283, 1769, 203, 565, 28...
./full_match/80001/0x57B9C014880Caab54651f166EbF9b0e35cf21352/sources/SenderCreator.sol
* helper contract for EntryPoint, to call userOp.initCode from a "neutral" address, which is explicitly not the entryPoint itself./
contract SenderCreator { pragma solidity ^0.8.12; function createSender(bytes calldata initCode) external returns (address sender) { address factory = address(bytes20(initCode[0 : 20])); bytes memory initCallData = initCode[20 :]; bool success; assembly { success := call...
9,534,718
[ 1, 4625, 348, 7953, 560, 30, 380, 4222, 6835, 364, 3841, 2148, 16, 358, 745, 729, 3817, 18, 2738, 1085, 628, 279, 315, 4644, 14566, 287, 6, 1758, 16, 1492, 353, 8122, 486, 326, 28671, 6174, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 15044, 10636, 288, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 2138, 31, 203, 565, 445, 752, 12021, 12, 3890, 745, 892, 1208, 1085, 13, 3903, 1135, 261, 2867, 5793, 13, 288, 203, 3639, 1758, 3272, 273, 1758, 1...
pragma solidity ^0.4.24; import "zos-lib/contracts/Initializable.sol"; // Generates an 8-bit winning bitstring // TODO: READ THIS: https://medium.com/coinmonks/lottery-as-a-smart-contract-the-execution-904a26201338 contract LotteryGame is Initializable { uint256 public numRounds; // Number of rounds uint256 ...
Number of participants
uint256 public numParticipants;
14,044,486
[ 1, 4625, 348, 7953, 560, 30, 225, 3588, 434, 22346, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 818, 1988, 27620, 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.4.24; /* Owned contract interface */ contract IOwned { // this function isn't abstract since the compiler emits automatically generated getter functions as external function owner() public view returns (address) {} function transferOwnership(address _newOwner) public; ...
list of all registered contract names
string[] public contractNames;
5,537,609
[ 1, 4625, 348, 7953, 560, 30, 225, 666, 434, 777, 4104, 6835, 1257, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 533, 8526, 1071, 6835, 1557, 31, 15604, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0x266Ada7aE80F852E18A1D50FE17D9b6ce63B7666/sources/spironft.sol
THE IPFS HASH OF ALL SPIRONFT'S WILL BE SAVED HERE ONCE ALL MINTED ONCE ALL SPIRONFT'S MINTED THE API WILL BE UPLOADED TO ARWEAVE AND WILL BE SAVED HERE
contract SPIRONFT is ERC721, Ownable { using SafeMath for uint256; uint public constant MAX_SPIROGRAPHS = 10001; uint public price = 100000000000000000; bool public hasSaleStarted = false; mapping (uint256 => uint256) public tokenIdToSeed; mapping (uint256 => bool) public seedClaimed; string...
8,424,748
[ 1, 4625, 348, 7953, 560, 30, 225, 12786, 2971, 4931, 20857, 15932, 8061, 20955, 19359, 4464, 11, 55, 678, 15125, 9722, 348, 5856, 2056, 670, 29340, 6229, 1441, 8061, 6989, 6404, 6229, 1441, 8061, 20955, 19359, 4464, 11, 55, 6989, 6404, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 20955, 19359, 4464, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 2254, 1071, 5381, 4552, 67, 22694, 1457, 6997, 2203, 13173, 273, 2130, 1611, 31, 203, 565, 2254,...
./full_match/42/0xD31EaDee2F7B24E8123c40Da661b4a9705D223d0/sources/browser/hurricane.sol
File: contracts/Hugo.sol
contract Hugo is ERC20 { address minter; modifier onlyMinter { require(msg.sender == minter, "Only minter can call this function."); _; } constructor(address _minter) public ERC20("Hurricane.Hugo", "HUGO") { minter = _minter; } function mint(address account, uint256 am...
9,573,355
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 19, 44, 637, 83, 18, 18281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 670, 637, 83, 353, 4232, 39, 3462, 288, 203, 565, 1758, 1131, 387, 31, 203, 203, 565, 9606, 1338, 49, 2761, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1131, 387, 16, 315, 3386, 1131, 387, 848, 745, 333, 445, 1199, ...
// SPDX-License-Identifier: MIT pragma experimental ABIEncoderV2; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidity ^0.6.2; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidity ^0.6.0; pragma solidi...
contract BaseHodlerPool is Ownable, RewardDistributionRecipient { function printArray() public returns(uint) { for (uint i = 0; i < first40Addresses.length; i++){ emit Log(strConcat("printArray, i: ", uint2str(i), " address: " ,addressToString(first40Addresses[i]),"")); } }
abstract contract BaseHodlerPool is Ownable { using SafeMath for uint256; function char(byte b) internal pure returns (byte c) { if (uint8(b) < 10) return byte(uint8(b) + 0x30); else return byte(uint8(b) + 0x57); } function addressToString(address x) internal pure returns (strin...
1,527,268
[ 1, 4625, 348, 7953, 560, 30, 6835, 3360, 44, 369, 749, 2864, 353, 14223, 6914, 16, 534, 359, 1060, 9003, 18241, 288, 445, 1172, 1076, 1435, 1071, 1135, 12, 11890, 13, 288, 377, 364, 261, 11890, 277, 273, 374, 31, 277, 411, 1122, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 3360, 44, 369, 749, 2864, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 377, 203, 203, 565, 445, 1149, 12, 7229, 324, 13, 2713, 225, 16618, 1135, 261, 7229, 276, 13, 288, 203, 3639, ...
./full_match/1/0x16ec075B2faD51E2a6Cb549526FF484A13fAD147/sources/killa.sol
swaps the token on the contract for Marketing BNB and LP Token.always swaps the sellLimit of token to avoid a large price impactonly swap if contractBalance is larger than tokenToSwap, and totalTax is unequal to 0
function _swapContractToken() private lockTheSwap{ uint256 contractBalance=_balances[address(this)]; uint16 totalTax=_liquidityTax+_buybackTax; uint256 tokenToSwap=sellLimit; if(contractBalance<tokenToSwap||totalTax==0){ return; } uint256 tokenForMarketing...
3,108,824
[ 1, 4625, 348, 7953, 560, 30, 1352, 6679, 326, 1147, 603, 326, 6835, 364, 6622, 21747, 605, 20626, 471, 511, 52, 3155, 18, 17737, 1352, 6679, 326, 357, 80, 3039, 434, 1147, 358, 4543, 279, 7876, 6205, 15800, 3700, 7720, 309, 6835, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 22270, 8924, 1345, 1435, 3238, 2176, 1986, 12521, 95, 203, 3639, 2254, 5034, 6835, 13937, 33, 67, 70, 26488, 63, 2867, 12, 2211, 13, 15533, 203, 3639, 2254, 2313, 2078, 7731, 33, 67, 549, 372, 24237, 7731, 15, 67, ...
pragma solidity >=0.4.4; import 'truffle/Assert.sol'; import '../contracts/Common.sol'; import '../contracts/ICO.sol'; import '../contracts/FirstSale.sol'; contract Person { ICO ico; function Person(address _ico) { ico = ICO(_ico); } function deposit() payable { ico.deposit.value(msg...
DEPOSIT IN FIRST SALEDEPOSIT IN SECOND SALEDEPOSIT IN THIRD SALEDO A CLAIM WHILE THIRD SALE RUNNINGso this is a claim on two salesat this point we should have tokens and refund from first two salesEND THIRD SALE AND CLAIMnow should have tokens and refund frmo all three sales
function testMulticlaim() { uint weis = 1000; con.startSampleSale(); ico.setFakeTime(4 days); p1.deposit.value(weis)(); ico.addDays(20); Assert.equal(ico.currSaleActive(), false, "0 active"); Assert.equal(ico.currSaleComplete(), true, "0 complete"); ...
15,807,576
[ 1, 4625, 348, 7953, 560, 30, 2030, 28284, 2120, 21786, 17127, 900, 1639, 28284, 2120, 19379, 17127, 900, 1639, 28284, 2120, 7662, 7937, 40, 17127, 900, 3191, 432, 29859, 3445, 14735, 13578, 7662, 7937, 40, 17127, 900, 23574, 2048, 333, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 5049, 335, 80, 4581, 1435, 288, 203, 3639, 2254, 732, 291, 273, 4336, 31, 203, 203, 203, 3639, 356, 18, 1937, 8504, 30746, 5621, 203, 3639, 277, 2894, 18, 542, 25462, 950, 12, 24, 4681, 1769, 203, 203, 3639, 293...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-u...
* @notice Create a new version with template of liquidity pool and governor. @param liquidityPoolTemplate The address of the liquidityPool implementation. @param governorTemplate The address of the governor implementation. @param compatibility The compatibility of the implementation @param n...
function addVersion( address liquidityPoolTemplate, address governorTemplate, uint256 compatibility, string calldata note ) external onlyOwner returns (bytes32 versionKey) { require(liquidityPoolTemplate.isContract(), "implementation must be contract"); require(go...
15,793,002
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 225, 1788, 279, 394, 1177, 598, 1542, 434, 4501, 372, 24237, 2845, 471, 314, 1643, 29561, 18, 632, 891, 282, 4501, 372, 24237, 2864, 2283, 282, 1021, 1758, 434, 326, 4501, 372, 24237, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 527, 1444, 12, 203, 3639, 1758, 4501, 372, 24237, 2864, 2283, 16, 203, 3639, 1758, 314, 1643, 29561, 2283, 16, 203, 3639, 2254, 5034, 8926, 16, 203, 3639, 533, 745, 892, 4721, 203, 565, 262, 3903, 1338, 5541, 1135, 261,...
pragma solidity ^0.5.16; import "./CToken.sol"; /** * @title Compound's CErc20 Contract * @notice CTokens which wrap an EIP-20 underlying * @author Compound */ contract CErc20 is CToken, CErc20Interface { /** * @notice Initialize the new money market * @param underlying_ The address of the underlyin...
* @title Compound's CToken Contract @notice Abstract base for CTokens @author Compound/
contract CToken is CTokenInterface, Exponential, TokenErrorReporter { function initialize(ComptrollerInterface comptroller_, InterestRateModel interestRateModel_, uint initialExchangeRateMantissa_, string memory name_, s...
10,455,782
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 21327, 1807, 385, 1345, 13456, 632, 20392, 4115, 1026, 364, 385, 5157, 632, 4161, 21327, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 385, 1345, 353, 385, 1345, 1358, 16, 29770, 649, 16, 3155, 668, 13289, 288, 203, 565, 445, 4046, 12, 799, 337, 1539, 1358, 532, 337, 1539, 67, 16, 203, 13491, 5294, 395, 4727, 1488, 16513, 4727, 1488, 67, 16, 203, 13491, ...
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.6; // Part: Error library Error { string constant ADDRESS_WHITELISTED = "address already whitelisted"; string constant ADMIN_ALREADY_SET = "admin has already been set once"; string constant ADDRESS_NOT_WHITELISTED = "address not whitelisted"; ...
@notice See `pow(uint256 base, int256 exponent)` documentation. @param n the number of iteration for the series./
function pow( uint256 base, int256 exponent, uint256 n ) internal pure returns (uint256) { unchecked { if (base == 0) { return 0; } return exp((exponent * ln(base, n)) / int256(DECIMAL_SCALE), n); } }
6,933,454
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2164, 1375, 23509, 12, 11890, 5034, 1026, 16, 509, 5034, 9100, 22025, 7323, 18, 632, 891, 290, 326, 1300, 434, 6532, 364, 326, 4166, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7602, 12, 203, 3639, 2254, 5034, 1026, 16, 203, 3639, 509, 5034, 9100, 16, 203, 3639, 2254, 5034, 290, 203, 565, 262, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 22893, 288, 203, 5411, 309, 261, 1969, 422, ...
// File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a dir...
File: contracts/Token.sol
contract Token is ERC20, Ownable { address public devAddress; mapping(address => bool) public feeWhitelist; constructor( string memory _tokenName, string memory _tokenSymbol, uint256 _totalSupply, address _devAddress function _beforeTokenTransfer( address from, ...
1,230,692
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 19, 1345, 18, 18281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3155, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1758, 1071, 4461, 1887, 31, 203, 565, 2874, 12, 2867, 516, 1426, 13, 1071, 14036, 18927, 31, 203, 203, 565, 3885, 12, 203, 3639, 533, 3778, 389, 2316, 461, 16, 2...
./full_match/80001/0xE01796B7F8C4Cf80e1B714478422E21Cc3D9769b/sources/contracts/Blockwise.sol
our pending request
struct request { address requestor; uint256 amount; string message; string name; uint blockTime; }
5,623,467
[ 1, 4625, 348, 7953, 560, 30, 225, 3134, 4634, 590, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1958, 590, 288, 203, 3639, 1758, 590, 280, 31, 203, 3639, 2254, 5034, 3844, 31, 203, 3639, 533, 883, 31, 203, 3639, 533, 508, 31, 203, 3639, 2254, 1203, 950, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.19; import "./FishSale.sol"; contract FishBreedingSale is FishSale{ // Represents an sale on an NFT struct BreedingSale { // Current owner of NFT address seller; // Price (in wei) of sale uint128 price; // Time when sale started // NOTE: ...
@dev Creates and begins a new sale. @param _tokenId - ID of token to sale, sender must be owner. @param _price - Price of item (in wei) of sale. @param _seller - Seller, if not the message sender Sanity check that no inputs overflow how many bits we've allocated to store them in the sale struct.
function createBreedingSale( uint256 _tokenId, uint256 _price, address _seller ) external whenNotPaused onlyOwnerOf(_tokenId) { require(_price == uint256(uint128(_price))); BreedingSale memory breedingSale = BreedingSale( _seller, ...
7,302,345
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 10210, 471, 17874, 279, 394, 272, 5349, 18, 632, 891, 389, 2316, 548, 300, 1599, 434, 1147, 358, 272, 5349, 16, 5793, 1297, 506, 3410, 18, 632, 891, 389, 8694, 300, 20137, 434, 761, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 38, 15656, 310, 30746, 12, 203, 3639, 2254, 5034, 389, 2316, 548, 16, 203, 3639, 2254, 5034, 389, 8694, 16, 203, 3639, 1758, 389, 1786, 749, 203, 565, 262, 203, 3639, 3903, 203, 3639, 1347, 1248, 28590, 203, 3639, ...
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; import "./utils/ProtocolFeeProxyConstants.sol...
@title ProtocolFeeReserveProxy Contract @author Enzyme Council <[email protected]> @notice A proxy contract for a protocol fee reserve, slightly modified from EIP-1822 @dev Adapted from the recommended implementation of a Proxy in EIP-1822, updated for solc 0.6.12, and using the EIP-1967 storage slot for the proxiable...
contract ProtocolFeeReserveProxy is ProtocolFeeProxyConstants { This file is part of the Enzyme Protocol. constructor(bytes memory _constructData, address _protocolFeeReserveLib) public { require( EIP_1822_PROXIABLE_UUID == bytes32(keccak256("mln.proxiable.protocolFeeReserveLib")), ...
534,288
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 4547, 14667, 607, 6527, 3886, 13456, 632, 4161, 1374, 94, 2942, 73, 385, 465, 71, 330, 411, 63, 3652, 131, 259, 1117, 65, 34, 632, 20392, 432, 2889, 6835, 364, 279, 1771, 14036, 20501, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4547, 14667, 607, 6527, 3886, 353, 4547, 14667, 3886, 2918, 288, 203, 203, 565, 1220, 585, 353, 1087, 434, 326, 1374, 94, 2942, 73, 4547, 18, 203, 203, 565, 3885, 12, 3890, 3778, 389, 10062, 751, 16, 1758, 389, 8373, 14667...
./partial_match/3/0x7fDD39B5eB1c384D9cc342d38B7BF6FCDfA4f7eF/sources/CraneMasterFarmer.sol
Update reward variables of the given pool to be up-to-date.For more simple, I lock reward for dev if mint reward in bonus time
function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardBlock = block.number;...
5,089,676
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 19890, 3152, 434, 326, 864, 2845, 358, 506, 731, 17, 869, 17, 712, 18, 1290, 1898, 4143, 16, 467, 2176, 19890, 364, 4461, 309, 312, 474, 19890, 316, 324, 22889, 813, 2, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 2864, 12, 11890, 5034, 389, 6610, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 309, 261, 2629, 18, 2696, 1648, 2845, 18, 2722, 17631, 1060, 1768, 13, 288, 203, ...
./partial_match/1/0x807315328D0f040C401754c7FBF8468dfEBF1Ba6/sources/contracts/v2/satis_core/MoneyPoolProxy.sol
* @dev Append and overwrite pool address list. Set address to 0x0 for deleting pool./
function changePool(string[] memory _newPoolNameList, address[] memory _newPoolAddressList) external isWorker { require(_newPoolNameList.length == _newPoolAddressList.length, "Lists' length is different"); for(uint256 i=0; i < _newPoolAddressList.length; i++) { poolAddressList[_newPoolNa...
15,717,741
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6181, 471, 6156, 2845, 1758, 666, 18, 1000, 1758, 358, 374, 92, 20, 364, 12993, 2845, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2549, 2864, 12, 1080, 8526, 3778, 389, 2704, 2864, 461, 682, 16, 1758, 8526, 3778, 389, 2704, 2864, 1887, 682, 13, 3903, 353, 6671, 288, 203, 3639, 2583, 24899, 2704, 2864, 461, 682, 18, 2469, 422, 389, 2704, 2864, 1887...
pragma solidity ^0.4.22; import "./openzeppelin/contracts/math/SafeMath.sol"; import "./openzeppelin/contracts/lifecycle/Pausable.sol"; import "./EtherDollar.sol"; import "./Liquidator.sol"; /** * @title EtherBank contract. */ contract EtherBank is Pausable { using SafeMath for uint256; address public own...
* @dev pay winner of auction's ether. @param loanId The loan id. @param amount The bid of winner. @param buyer The winner account./
function liquidated(uint256 loanId, uint256 amount, address buyer) external whenNotPaused onlyLiquidator { loans[loanId].state = LoanState.LIQUIDATED; loans[loanId].collateralAmount -= amount; loans[loanId].amount = 0; buyer.transfer(amount); }
12,733,059
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 8843, 5657, 1224, 434, 279, 4062, 1807, 225, 2437, 18, 632, 891, 28183, 548, 1021, 28183, 612, 18, 632, 891, 3844, 1021, 9949, 434, 5657, 1224, 18, 632, 891, 27037, 1021, 5657, 1224, 2236...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4501, 26595, 690, 12, 11890, 5034, 28183, 548, 16, 2254, 5034, 3844, 16, 1758, 27037, 13, 203, 3639, 3903, 203, 3639, 1347, 1248, 28590, 203, 3639, 1338, 48, 18988, 350, 639, 203, 565, 288, 203, 3639, 437, 634, 63, 383,...
./partial_match/3/0x99df3F510Ac4683DA83454Dc9B87a0eff58b7026/sources/LandResourceV5.sol
Only trigger from Token Activity.
function activityStopped(uint256 _tokenId) public auth { _stopMining(_tokenId); }
5,072,736
[ 1, 4625, 348, 7953, 560, 30, 225, 5098, 3080, 628, 3155, 9621, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5728, 15294, 12, 11890, 5034, 389, 2316, 548, 13, 1071, 1357, 288, 203, 202, 202, 67, 5681, 2930, 310, 24899, 2316, 548, 1769, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.18; /** * @title MultiOwnable * @dev The MultiOwnable contract has owners addresses and provides basic authorization control * functions, this simplifies the implementation of "users permissions". */ contract MultiOwnable { address public manager; // address used to set owners address[...
* @dev Function to remove owner address/
function removeOwner(address _owner) public { require(msg.sender == manager); _removeOwner(_owner); }
6,477,438
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 1206, 3410, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 5541, 12, 2867, 389, 8443, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3301, 1769, 203, 3639, 389, 4479, 5541, 24899, 8443, 1769, 203, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0x846f8dC40F8Bc5E71F56Fe2867D98a65810a3cA9/sources/src/Member1155.sol
endpoints.push(dao_);
function pushIsEndpointOf(address dao_, address endpointOwner_) external { if (msg.sender != ODAOaddress) revert MR1155_OnlyODAO(); endpointsOf[endpointOwner_].push(dao_); } override
1,868,933
[ 1, 4625, 348, 7953, 560, 30, 225, 7902, 18, 6206, 12, 2414, 83, 67, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1817, 2520, 3293, 951, 12, 2867, 15229, 67, 16, 1758, 2494, 5541, 67, 13, 3903, 288, 203, 3639, 309, 261, 3576, 18, 15330, 480, 531, 18485, 2867, 13, 15226, 490, 54, 2499, 2539, 67, 3386, 1212, 20463, 5621, 203, 3639, ...
pragma solidity 0.5.12; /** * (c) 2021 Akiva Capital Holdings, LLC. All Rights Reserved. * * For LICENSE details, please visit: * https://github.com/akiva-capital-holdings/pairwyse-smart-contracts/blob/master/LICENSE * */ import "./helpers/ClaimableIni.sol"; import "./helpers/SafeMath.sol"; import "./mcd/McdW...
Fixed intereast rate %
uint256 public interestRate;
930,028
[ 1, 4625, 348, 7953, 560, 30, 225, 15038, 1554, 30318, 4993, 738, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16513, 4727, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
/** *Submitted for verification at Etherscan.io on 2020-03-18 */ pragma solidity 0.5.16; // optimization runs: 200 interface IDaiBackstopSyndicate { event AuctionEntered(uint256 auctionId, uint256 mkrAsk, uint256 daiBid); event AuctionFinalized(uint256 auctionId); enum Status { ACCEPTING_DEPOSITS, AC...
If we are the winning bidder, we finalize the auction Otherwise we got outbid and we withdraw DAI
if (end != 0) { SimpleFlopper._finalize(auctionId); }
12,828,937
[ 1, 4625, 348, 7953, 560, 30, 225, 971, 732, 854, 326, 5657, 2093, 9949, 765, 16, 732, 12409, 326, 279, 4062, 5272, 732, 2363, 596, 19773, 471, 732, 598, 9446, 463, 18194, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 309, 261, 409, 480, 374, 13, 288, 203, 3639, 4477, 42, 16884, 457, 6315, 30343, 12, 69, 4062, 548, 1769, 203, 1377, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0x8CC23A8CFE803f8E9Ee978bD7F9D343eeA0Cf82F/sources/src/LockRewards.sol
* @notice To recover ERC20 sent by accident. All funds are only transfered to contract owner. @dev To allow a withdraw, first the token must be whitelisted @param tokenAddress: token to transfer funds @param tokenAmount: the amount to transfer to owner/
function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner { if (whitelistRecoverERC20[tokenAddress] == false) revert NotWhitelisted(); uint256 balance = IERC20(tokenAddress).balanceOf(address(this)); if (balance < tokenAmount) revert InsufficientBalance(); ...
9,625,219
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 632, 20392, 2974, 5910, 4232, 39, 3462, 3271, 635, 25961, 18, 4826, 284, 19156, 854, 1338, 7412, 329, 358, 6835, 3410, 18, 225, 632, 5206, 2974, 1699, 279, 598, 9446, 16, 1122, 326, 1147, 1297,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5910, 654, 39, 3462, 12, 2867, 1147, 1887, 16, 2254, 5034, 1147, 6275, 13, 3903, 1338, 5541, 288, 203, 3639, 309, 261, 20409, 27622, 654, 39, 3462, 63, 2316, 1887, 65, 422, 629, 13, 15226, 2288, 18927, 329, 5621, 203, ...
./full_match/1/0x70996FeE3bc1BA38e36Ea356aee5d855161e6e52/sources/contracts/ChainPortal.sol
* @param chainSelectors Array of chain selectors. @param portals Array of portal addresses corresponding to each chain selector in the chainSelectors array. @notice The chainSelectors and portals arrays must have the same length./
function _setChainPortals(uint64[] calldata chainSelectors, address[] calldata portals) internal { if (chainSelectors.length != portals.length) { revert ChainPortal__ArrayLengthMismatch(); } for (uint256 i; i < chainSelectors.length;) { if(!IRouterClient(i_router).isC...
16,577,516
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 891, 2687, 19277, 1510, 434, 2687, 11424, 18, 632, 891, 1756, 1031, 1510, 434, 11899, 6138, 4656, 358, 1517, 2687, 3451, 316, 326, 2687, 19277, 526, 18, 632, 20392, 1021, 2687, 19277, 471, 1756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 542, 3893, 2617, 1031, 12, 11890, 1105, 8526, 745, 892, 2687, 19277, 16, 1758, 8526, 745, 892, 1756, 1031, 13, 2713, 288, 203, 3639, 309, 261, 5639, 19277, 18, 2469, 480, 1756, 1031, 18, 2469, 13, 288, 203, 5411, ...
./full_match/1/0x0d224228f0D024fe99681863BA325d87e8aFE30d/sources/contracts/ETHBridge.sol
* @dev Withdraw liquidity from the bridge contract to an address. Only callable by the owner. @param to The address to which the tokens are swapped. @param amount The amount of tokens to be released./
function withdrawLiquidity(address to, uint256 amount) external onlyOwner { require( amount <= (IERC20(tokenETH).balanceOf(address(this)).sub(accumulatedFee)), "Bridge: invalid amount" ); IERC20(tokenETH).transfer(to, amount); }
8,426,986
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 4501, 372, 24237, 628, 326, 10105, 6835, 358, 392, 1758, 18, 5098, 4140, 635, 326, 3410, 18, 632, 891, 358, 1021, 1758, 358, 1492, 326, 2430, 854, 7720, 1845, 18, 632, 891, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 48, 18988, 24237, 12, 2867, 358, 16, 2254, 5034, 3844, 13, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 203, 5411, 3844, 1648, 203, 7734, 261, 45, 654, 39, 3462, 12, 2316, 1584, 44, 2934, 12296, 951, 12, 286...
./full_match/80001/0x8D2C372317524a8Af5313883434411fd3DAE55d9/sources/contracts/lib/Executor.sol
* @dev Internal pure function to retrieve the current conduit key set for the accumulator. @param accumulator An open-ended array that collects transfers to execute against a given conduit in a single call. @return accumulatorConduitKey The conduit key currently set for the ...
function _getAccumulatorConduitKey(bytes memory accumulator) internal pure returns (bytes32 accumulatorConduitKey) { assembly { accumulatorConduitKey := mload( add(accumulator, Accumulator_conduitKey_ptr) ) } }
878,181
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3186, 16618, 445, 358, 4614, 326, 783, 356, 2544, 305, 498, 444, 364, 1377, 326, 13514, 18, 632, 891, 13514, 1922, 1696, 17, 3934, 526, 716, 30976, 29375, 358, 1836, 10792, 5314, 279, 864...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 588, 27361, 442, 2544, 305, 653, 12, 3890, 3778, 13514, 13, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 3890, 1578, 13514, 442, 2544, 305, 653, 13, 203, 565, 288, 203, 3639, 19931, 288, 203, 5411, 1351...
./partial_match/3/0xA787B00910038125EF2C553Fd1C547f9284Ba913/sources/flashIt.sol
place the arb you would like to perform belowapprove the token you are starting (tokenOrder element 0 below)with (so that the orfeed contract perform its operations below )transferFundsBackToPoolInternal(_reserve, _amount.add(_fee));
bytes _params) external { ERC20 theToken = ERC20(_reserve); OrFeedInterface orfeed= OrFeedInterface(0x8316b082621cfedab95bf4a44a1d4b64a6ffc336); theToken.approve(0x8316b082621cfedab95bf4a44a1d4b64a6ffc336, 10000000000000000000000000000); string[] memory tokenOrder...
5,155,105
[ 1, 4625, 348, 7953, 560, 30, 3166, 326, 419, 70, 1846, 4102, 3007, 358, 3073, 5712, 12908, 537, 326, 1147, 1846, 854, 5023, 225, 261, 2316, 2448, 930, 374, 5712, 13, 1918, 261, 2048, 716, 326, 578, 7848, 6835, 3073, 2097, 5295, 5712...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 3639, 1731, 225, 389, 2010, 13, 3903, 288, 203, 203, 203, 3639, 4232, 39, 3462, 326, 1345, 273, 4232, 39, 3462, 24899, 455, 6527, 1769, 203, 203, 203, 3639, 2965, 8141, 1358, 578, 7848, 33, 2965, 8141, 1358, 12, 20, 92, 10261, ...
./full_match/1/0x052954b23C156737653746f176e8D52C0b8291D2/sources/contracts/Uniswap3.sol
check if allowance for the given amount already exists if the allowance is nonzero, must reset it to 0 first approve the new allowance
function ensureAllowance(IERC20 _token, address _spender, uint256 _value) private { if (_token.allowance(address(this), _spender) >= _value) return; if (_token.allowance(address(this), _spender) != 0) assert(_token.approve(_spender, 0)); assert(_token.approve(_spend...
3,209,892
[ 1, 4625, 348, 7953, 560, 30, 225, 866, 309, 1699, 1359, 364, 326, 864, 3844, 1818, 1704, 309, 326, 1699, 1359, 353, 16966, 16, 1297, 2715, 518, 358, 374, 1122, 6617, 537, 326, 394, 1699, 1359, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3387, 7009, 1359, 12, 45, 654, 39, 3462, 389, 2316, 16, 1758, 389, 87, 1302, 264, 16, 2254, 5034, 389, 1132, 13, 3238, 288, 203, 3639, 309, 261, 67, 2316, 18, 5965, 1359, 12, 2867, 12, 2211, 3631, 389, 87, 1302, 264...
./full_match/5/0x95422c7d13F0A80B6CCb47F8346E21396823bfE6/sources/src/contracts/PublicLock/PublicLockV11.sol
* Allows the Lock owner to assign a descriptive name for this Lock./
function updateLockName( string calldata _lockName ) external { _onlyLockManager(); name = _lockName; }
11,630,652
[ 1, 4625, 348, 7953, 560, 30, 380, 25619, 326, 3488, 3410, 358, 2683, 279, 302, 31812, 508, 364, 333, 3488, 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,...
[ 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, 225, 445, 1089, 2531, 461, 12, 203, 565, 533, 745, 892, 389, 739, 461, 203, 225, 262, 3903, 203, 225, 288, 203, 565, 389, 3700, 2531, 1318, 5621, 203, 565, 508, 273, 389, 739, 461, 31, 203, 225, 289, 203, 203, 2, -100, -100, ...
./partial_match/1/0xdac4585B741E5b6625CEc460D2A255fB3FBE0D47/sources/contracts/lib/pools/MStablePoolController.sol
* @dev Withdraws all funds from the mStable savings contract./
function withdrawAll() external returns (bool) { uint256 creditBalance = _savingsVault.rawBalanceOf(address(this)); if (creditBalance <= 0) return false; _savingsVault.withdraw(creditBalance); uint256 mAssetReturned = _savingsContract.redeem(creditBalance); require(mAssetRetu...
3,925,361
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 87, 777, 284, 19156, 628, 326, 312, 30915, 4087, 899, 6835, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 1595, 1435, 3903, 1135, 261, 6430, 13, 288, 203, 3639, 2254, 5034, 12896, 13937, 273, 389, 87, 27497, 12003, 18, 1899, 13937, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 309, 261, 20688, 13937, 1648, 374, 13, ...
pragma solidity 0.5.10; import "./interfaces/IRandomAuRa.sol"; import "./interfaces/IStakingAuRa.sol"; import "./interfaces/IValidatorSetAuRa.sol"; import "./upgradeability/UpgradeableOwned.sol"; /// @dev Generates and stores random numbers in a RANDAO manner (and controls when they are revealed by AuRa /// validato...
@dev Initializes the contract at network startup. Can only be called by the constructor of the `InitializerAuRa` contract or owner. @param _collectRoundLength The length of a collection round in blocks. @param _validatorSet The address of the `ValidatorSet` contract. @param _punishForUnreveal A boolean flag defining w...
function initialize( address _validatorSet, bool _punishForUnreveal ) external { require(_getCurrentBlockNumber() == 0 || msg.sender == _admin()); require(!isInitialized()); IValidatorSetAuRa validatorSet = IValidatorSetAuRa(_validatorSet); require(_collectRoundLe...
5,364,715
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 10188, 3128, 326, 6835, 622, 2483, 11850, 18, 4480, 1338, 506, 2566, 635, 326, 3885, 434, 326, 1375, 14729, 37, 89, 12649, 68, 6835, 578, 3410, 18, 632, 891, 389, 14676, 11066, 1782, 1021...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 4046, 12, 203, 3639, 1758, 389, 7357, 694, 16, 203, 3639, 1426, 389, 84, 318, 1468, 1290, 984, 266, 24293, 203, 565, 262, 3903, 288, 203, 3639, 2583, 24899, 588, 3935, 1768, 1854, 1435, 422, 374, 747, 1234, 18, 15330, ...
./full_match/137/0x61ff724E829FA52D5Cc7D74324437E6bD1d0ce56/sources/KlimaZap_flat.sol
KLIMA staking contract interface
interface IKLIMAStaking { function unstake( uint _amount, bool _trigger ) external; }
4,672,410
[ 1, 4625, 348, 7953, 560, 30, 225, 1475, 2053, 5535, 384, 6159, 6835, 1560, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 47, 2053, 5535, 510, 6159, 288, 203, 565, 445, 640, 334, 911, 12, 2254, 389, 8949, 16, 1426, 389, 10668, 262, 3903, 31, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/3/0x505A5362fACFAFefFe2625E7a259266986Aa802c/sources/contracts/IToken_.sol
* @notice Sender redeems cTokens in exchange for a specified amount of underlying asset @dev Accrues interest whether or not the operation succeeds, unless reverted @param redeemAmount The amount of underlying to redeem @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)/
function redeemUnderlying(uint redeemAmount) external returns (uint) { return redeemUnderlyingInternal(redeemAmount); }
8,090,071
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 15044, 283, 323, 7424, 276, 5157, 316, 7829, 364, 279, 1269, 3844, 434, 6808, 3310, 632, 5206, 15980, 86, 3610, 16513, 2856, 578, 486, 326, 1674, 21933, 16, 3308, 15226, 329, 632, 891, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 283, 24903, 14655, 6291, 12, 11890, 283, 24903, 6275, 13, 3903, 1135, 261, 11890, 13, 288, 203, 3639, 327, 283, 24903, 14655, 6291, 3061, 12, 266, 24903, 6275, 1769, 203, 565, 289, 203, 203, 377, 203, 203, 2, -100, -100...
./full_match/137/0x2BD21aD1C2ae155EfEfEe7f579FEe3beCCC2529a/sources/contracts/coinflip.sol
Convert bets. MATIC => WETH => LINK (ERC-20) => LINK (ERC-621) */
QuickSwap.swapETHForExactTokens{value: amountIn}(
3,737,259
[ 1, 4625, 348, 7953, 560, 30, 4037, 324, 2413, 18, 490, 11781, 516, 678, 1584, 44, 516, 22926, 261, 654, 39, 17, 3462, 13, 516, 22926, 261, 654, 39, 17, 26, 5340, 13, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 19884, 12521, 18, 22270, 1584, 44, 1290, 14332, 5157, 95, 1132, 30, 3844, 382, 97, 12, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/44/0x531b99fDdFb0823eDb6e0eF77b9A7Db6EDFF6B52/sources/SnowFactory.sol
* @notice issue mapping token, only can be called by inboundLane @param originalToken the original token address @param recipient the recipient of the issued mapping token @param amount the amount of the issued mapping token/
function issueMappingToken( address originalToken, address recipient, uint256 amount ) public onlyMessageEndpoint whenNotPaused { address mappingToken = getMappingToken(remoteBacking, originalToken); require(mappingToken != address(0), "MappingTokenFactory:mapping token h...
13,237,070
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 5672, 2874, 1147, 16, 1338, 848, 506, 2566, 635, 13357, 48, 8806, 632, 891, 2282, 1345, 326, 2282, 1147, 1758, 632, 891, 8027, 326, 8027, 434, 326, 16865, 2874, 1147, 632, 891, 3844, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5672, 3233, 1345, 12, 203, 3639, 1758, 2282, 1345, 16, 203, 3639, 1758, 8027, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 1071, 1338, 1079, 3293, 1347, 1248, 28590, 288, 203, 3639, 1758, 2874, 1345, 273, 22575, 1345, ...
pragma solidity ^0.4.18; // File: contracts/ERC721Draft.sol /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete) contract ERC721 { function implementsERC721() public pure returns (bool); function totalSupply() pub...
@title Base contract for CryptoKitties. Holds all common structs, events and base variables. @author Axiom Zen (https://www.axiomzen.co) @dev See the KittyCore contract documentation to understand how the various contract facets are arranged.
contract KittyBase is KittyAccessControl { event Birth(address indexed owner, uint256 kittyId, uint256 matronId, uint256 sireId, uint256 genes); event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); struct Kitty { uint256 genes; uint64 birthTime; u...
6,444,534
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 3360, 6835, 364, 15629, 14102, 88, 606, 18, 670, 1673, 87, 777, 2975, 8179, 16, 2641, 471, 1026, 3152, 18, 632, 4161, 22516, 14642, 2285, 275, 261, 4528, 2207, 5591, 18, 651, 14642, 8396,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1475, 305, 4098, 2171, 353, 1475, 305, 4098, 16541, 288, 203, 203, 565, 871, 605, 10542, 12, 2867, 8808, 3410, 16, 2254, 5034, 31758, 4098, 548, 16, 2254, 5034, 4834, 1949, 548, 16, 2254, 5034, 272, 577, 548, 16, 2254, 503...
./partial_match/1/0xB9FDBa39FADE05136034d5795AC7a236b2554Be8/sources/FLP.sol
generate the uniswap pair path of token -> weth make the swap
function swapTokens(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = UNI_ROUTER.WETH(); _approve(address(this), address(UNI_ROUTER), tokenAmount); UNI_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens( ...
3,717,829
[ 1, 4625, 348, 7953, 560, 30, 225, 2103, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7720, 5157, 12, 11890, 5034, 1147, 6275, 13, 3238, 288, 203, 3639, 1758, 8526, 3778, 589, 273, 394, 1758, 8526, 12, 22, 1769, 203, 3639, 589, 63, 20, 65, 273, 1758, 12, 2211, 1769, 203, 3639, 589, 63, 21, 65, 273, 1...