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
pragma solidity ^0.6.0; abstract contract Context { function _MSGSENDER85() internal view virtual returns (address payable) { //inject NONSTANDARD NAMING return msg.sender; } function _MSGDATA913() inter...
inject NONSTANDARD NAMING
function CONTAINS613(UintSet storage set, uint256 value) internal view returns (bool) {
933,660
[ 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, 3639, 445, 8020, 25838, 26, 3437, 12, 5487, 694, 2502, 444, 16, 2254, 5034, 460, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.8.0; contract HashuranceToken{ address public Curator; string public name = "Hashurance Token"; string public symbol = "HSHT"; uint256 public totalSupply_ = 2100000000000000000000000; //8 groups of 3zeros. uint256 public circul...
Only the Hushurance engine can create tellers.
function updateDepoPool(uint applicationID, receiptTemplate memory _receipt) public onlyCurator{
14,093,644
[ 1, 4625, 348, 7953, 560, 30, 5098, 326, 670, 1218, 295, 1359, 4073, 848, 752, 9276, 414, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 758, 1631, 2864, 12, 11890, 2521, 734, 16, 16030, 2283, 3778, 389, 8606, 8138, 13, 1071, 1338, 2408, 639, 95, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import { IERC20 } from "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v3.3.0/contracts/token/ERC20/IERC20.sol"; import { SafeMath } from "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v3.3.0/contracts/math/SafeMath...
TODO: input for leverage multiplicator
amounts[0] = amount.mul(2);
12,841,253
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 30, 810, 364, 884, 5682, 3309, 1780, 639, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 30980, 63, 20, 65, 273, 3844, 18, 16411, 12, 22, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/42220/0xe6F77e6c1Df6Aea40923659C0415d82119F34882/sources/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Governance.sol
always delete dequeue vote records for gas refund as they must be expired or revoked
delete voter.referendumVotes[dequeueIndex];
3,498,827
[ 1, 4625, 348, 7953, 560, 30, 225, 3712, 1430, 29964, 12501, 3853, 364, 16189, 16255, 487, 2898, 1297, 506, 7708, 578, 22919, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1430, 331, 20005, 18, 266, 586, 409, 379, 29637, 63, 323, 4000, 1016, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// contracts/EspToken.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /* EspToken is a ERC20 compatible token with a initial supply and final supply. The token cannot be diluted with addtional m...
Only if resultant supply is greater or equal to final supply
function adminBurn(uint256 _amount) public virtual onlyOwner returns (bool) { require ((totalSupply() - _amount) >= finalSupply); _burn(owner(), _amount); return true; }
2,523,330
[ 1, 4625, 348, 7953, 560, 30, 5098, 309, 563, 970, 14467, 353, 6802, 578, 3959, 358, 727, 14467, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 3981, 38, 321, 12, 11890, 5034, 389, 8949, 13, 1071, 5024, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 203, 203, 377, 202, 6528, 14015, 4963, 3088, 1283, 1435, 300, 389, 8949, 13, 1545, 727, 3088, 1283, 1769, 203, 377, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /// @title Xtra Vesting Contract /// @author bs /// @notice Audited by Hacken contract XtraVesting { /// ----- VARIABLES ----- /// uint256 internal immutable _vestingLastDate; struct Vesting { uint256 startDate; uint256 duration; ...
@notice Returns vesting info for slot@param _claimerAddress - claimer address@param _slot - vesting slot@return 0 startDate - staking start date@return 1 duration - staking duration in months@return 2 amount - staking amount in tokens@return 3 withdrawnParts - staking withdrawn parts in months
function getVesting(address _claimerAddress, uint256 _slot) external view returns ( uint256, uint256, uint256, uint256 ) { Vesting memory v = _vestings[_claimerAddress][_slot]; return (v.startDate, v.duration, v.amou...
12,869,732
[ 1, 4625, 348, 7953, 560, 30, 632, 20392, 2860, 331, 10100, 1123, 364, 4694, 36, 891, 389, 830, 69, 4417, 1887, 300, 927, 69, 4417, 1758, 36, 891, 389, 14194, 300, 331, 10100, 4694, 36, 2463, 374, 12572, 300, 384, 6159, 787, 1509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11031, 10100, 12, 2867, 389, 830, 69, 4417, 1887, 16, 2254, 5034, 389, 14194, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 203, 5411, 2254, 5034, 16, 203, 5411, 2254, 5034, 16, 203, 5411, 2254, 5034, 16, ...
./full_match/3/0x7d1CC914a9E5C538FabaCc8cb3f8FEA062A1465A/sources/multiUseEscrow.sol
TODO evaluate obscuring Id number (e.g. create pseudo randomly)
nextTradeId = 1;
8,090,701
[ 1, 4625, 348, 7953, 560, 30, 2660, 5956, 3768, 1017, 4017, 3124, 1300, 261, 73, 18, 75, 18, 752, 12454, 20153, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 3639, 1024, 22583, 548, 273, 404, 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, ...
./partial_match/1/0x474Dde66cE65a9279F070fd27b01ce1AbC80d5e2/sources/Token.sol
----- VARIABLES------ TOKEN SPECIFICATION---------------------------------------------------- smartcontract control--------------------------------------------------------------------------
{ string public constant name = "QCLX Token"; string public constant symbol = "QCLX"; contract Token { require( now>icoDeadLine || msg.sender==owner ); _; } event Transfer(address indexed fromAddr, address indexed toAddr, uint256 amount); event...
15,765,705
[ 1, 4625, 348, 7953, 560, 30, 9135, 22965, 55, 13093, 14275, 22872, 14865, 9634, 553, 13706, 16351, 3325, 5802, 15392, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 95, 203, 203, 203, 203, 203, 565, 533, 225, 1071, 225, 5381, 565, 508, 4202, 273, 315, 53, 5017, 60, 3155, 14432, 203, 565, 533, 225, 1071, 225, 5381, 565, 3273, 377, 273, 315, 53, 5017, 60, 14432, 203, 203, 203, 203, 203, 20...
./full_match/4/0xf13e93A3dB4283FDAc71aA2Cb59f5FB84119Df2b/sources/browser/HALOTOKEN.sol
allocate fundscalc HLO share
{ require(roundActive, "transforms not active"); require(msg.value >= 0.01 ether && msg.value <= 2000 ether, "invalid value"); require(!mintBlock, "minting ceased"); uint divs = msg.value.div(10); totalDividends += divs; _divsWallet.transfer(divs); totalEthTra...
12,408,295
[ 1, 4625, 348, 7953, 560, 30, 10101, 284, 19156, 12448, 670, 1502, 7433, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 288, 203, 3639, 2583, 12, 2260, 3896, 16, 315, 25657, 486, 2695, 8863, 203, 3639, 2583, 12, 3576, 18, 1132, 1545, 374, 18, 1611, 225, 2437, 597, 1234, 18, 1132, 1648, 16291, 225, 2437, 16, 315, 5387, 460, 8863, 203, 3639, ...
/* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
* Return amount of Issuance Order already filled @param _orderHash Issuance Order orderHash @return uint256 Amount of Issuance Order filled/
function orderFills( bytes32 _orderHash ) public view returns(uint256) { return state.orderFills[_orderHash]; }
12,829,964
[ 1, 4625, 348, 7953, 560, 30, 380, 2000, 3844, 434, 9310, 89, 1359, 4347, 1818, 6300, 632, 891, 225, 389, 1019, 2310, 4202, 9310, 89, 1359, 4347, 1353, 2310, 632, 2463, 2254, 5034, 2398, 16811, 434, 9310, 89, 1359, 4347, 6300, 19, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1353, 28688, 12, 203, 3639, 1731, 1578, 389, 1019, 2310, 203, 565, 262, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 12, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 919, 18, 1019, 28688, 63, 67, 1019, 2310, ...
pragma solidity ^0.4.18; contract Escrow { uint public productId; address public buyer; address public seller; uint public amount; bool public fundsDisbursed; /* constructor that creates the escrow contract */ function Escrow(uint _productId, address _buyer, address _seller) public payabl...
get info on the escrow that's created */
function escrowInfo() public view returns (address, address, bool) { return (buyer, seller, fundsDisbursed); }
7,301,501
[ 1, 4625, 348, 7953, 560, 30, 225, 336, 1123, 603, 326, 2904, 492, 716, 1807, 2522, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2904, 492, 966, 1435, 1071, 1476, 1135, 261, 2867, 16, 1758, 16, 1426, 13, 288, 203, 3639, 327, 261, 70, 16213, 16, 29804, 16, 284, 19156, 1669, 70, 295, 730, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; interface ERC721TokenReceiver { function onERC721Received(address _operator, address _from, uint256 _tokenId, bytes _data) external returns(bytes4); } contract Astroglyphs { event Generated(uint indexed index, address indexed a, string value); /// @dev This emits when ownershi...
X0#0X+....%0A..........................X###/....|/XXXXXXX+.......%0A.........................+###X......................%0A......................./X0#0/.......................%0A................./#######0|.........................%0A.................+XXXX/|++..........................%0A...................................
output="data:text/plain;charset=utf-8,....................................................%0A.......................++...........................%0A.....0XX/............/####+.........................%0A.....+|X00X+......./0#####X+........................%0A........|##X+.....X0##>+X##/........................%0...
5,723,857
[ 1, 4625, 348, 7953, 560, 30, 1139, 20, 7, 20, 60, 15, 6265, 9, 20, 37, 18509, 10879, 838, 60, 13151, 19, 6265, 96, 19, 24303, 15639, 15, 6265, 2777, 9, 20, 37, 18509, 6265, 838, 2777, 15, 13151, 60, 18509, 6265, 838, 9, 20, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 876, 1546, 892, 30, 955, 19, 7446, 31, 9999, 33, 3158, 17, 28, 16, 18509, 18509, 18509, 6265, 9, 20, 37, 18509, 6265, 2777, 9904, 18509, 10879, 2777, 9, 20, 37, 838, 2777, 20, 5619, 19, 10879, 838, 6216, 1970, 15, 18509, ...
./full_match/7700/0x9B2a63F27661A468E2da22226b64A4914144f195/sources/contracts/mixins/MarketSequencer.sol
@notice Applies the swap directive on to a pre-loaded liquidity curve. */
function applySwap (Chaining.PairFlow memory flow, Directives.SwapDirective memory dir, CurveCache.Cache memory curve, Chaining.ExecCntx memory cntx) private { cntx.roll_.plugSwapGap(dir, flow); if (dir.qty_ != 0) { ...
4,651,106
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1716, 5259, 326, 7720, 8655, 603, 358, 279, 675, 17, 4230, 4501, 372, 24237, 8882, 18, 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, ...
[ 1, 1, 1, 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, 2230, 12521, 261, 782, 3280, 18, 4154, 5249, 3778, 4693, 16, 203, 13491, 9908, 3606, 18, 12521, 13307, 3778, 1577, 16, 203, 13491, 22901, 1649, 18, 1649, 3778, 8882, 16, 203, 13491, 1680, 3280, 18, 1905, 11750, 92, 3778, ...
./partial_match/1/0x1b0b66c929599De7D27154525190F8d0889383E5/sources/AutoStake.sol
* @dev Returns true if `account` is a contract. This test is non-exhaustive, and there may be false-negatives: during the execution of a contract's constructor, its address will be reported as not containing a contract. IMPORTANT: It is unsafe to assume that an address for which this function returns false is an extern...
function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; return (codehash != 0x0 && codehash != accountHash); }
3,958,287
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 638, 309, 1375, 4631, 68, 353, 279, 6835, 18, 1220, 1842, 353, 1661, 17, 338, 3395, 641, 688, 16, 471, 1915, 2026, 506, 629, 17, 14518, 8785, 30, 4982, 326, 4588, 434, 279, 6835, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 353, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 565, 1731, 1578, 981, 2816, 31, 203, 565, 1731, 1578, 2236, 2310, 273, 374, 6511, 25, 72, 3247, 26, 1611, 5292, 74, 9060, 3707, 71, 29, ...
pragma solidity ^0.4.23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; ...
tokenid => claim info
mapping(uint => LandTokenClaim) public claimData;
5,421,575
[ 1, 4625, 348, 7953, 560, 30, 225, 1147, 350, 516, 7516, 1123, 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, 565, 2874, 12, 11890, 516, 511, 464, 1345, 9762, 13, 1071, 7516, 751, 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.4.18; /* Allows issuers to reserve their token symbols under a given namespace ahead of actually generating their security token. SecurityTokenRegistrar would reference this contract and ensure that any token symbols registered here can only be created by their owner. */ /** * @title NameS...
Tracks addresses that have registered tokens, only allow one registration per address
mapping (address => bool) hasRegistered;
5,497,085
[ 1, 4625, 348, 7953, 560, 30, 11065, 87, 6138, 716, 1240, 4104, 2430, 16, 1338, 1699, 1245, 7914, 1534, 1758, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 2874, 261, 2867, 516, 1426, 13, 711, 10868, 31, 4766, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.4.24; // submitted by @dev-xu // https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol // @title SafeMath: overflow/underflow checks // @notice Math operations with safety checks that throw on error library SafeMath { // @notice Multiplies two numbers, throws o...
@notice platform owners can destroy contract here
function destroy() onlyOwner external { events.transaction('CrowdsaleGeneratorETH destroyed', address(this), msg.sender, address(this).balance, address(0)); selfdestruct(msg.sender); }
5,794,718
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4072, 25937, 848, 5546, 6835, 2674, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5546, 1435, 203, 225, 1338, 5541, 203, 225, 3903, 288, 203, 565, 2641, 18, 7958, 2668, 39, 492, 2377, 5349, 3908, 1584, 44, 17689, 2187, 1758, 12, 2211, 3631, 1234, 18, 15330, 16, 1758, 12, 2211, 2934, 12296, 16, 1758, ...
pragma solidity ^0.4.18; interface TransferRecipient { function tokenFallback(address _from, uint256 _value, bytes _extraData) public returns(bool); } interface ApprovalRecipient { function approvalFallback(address _from, uint256 _value, bytes _extraData) public returns(bool); } contract ERCToken { event Transfer(...
retrieve the size of the code on target address, this needs assembly
function _isContract(address _addr) private view returns (bool is_contract) { uint length; assembly { length := extcodesize(_addr) } return (length>0); }
165,473
[ 1, 4625, 348, 7953, 560, 30, 4614, 326, 963, 434, 326, 981, 603, 1018, 1758, 16, 333, 4260, 19931, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 8924, 12, 2867, 389, 4793, 13, 3238, 1476, 1135, 261, 6430, 353, 67, 16351, 13, 288, 203, 1377, 2254, 769, 31, 203, 1377, 19931, 288, 203, 5411, 769, 519, 1110, 7000, 554, 24899, 4793, 13, 203, 1377, 289, 20...
//Address: 0x32cf691c1a07677e68af4b315fdb6a5fe65703ee //Contract name: Bitwords //Balance: 0.001 Ether //Verification Date: 6/23/2018 //Transacion Count: 2 // CODE STARTS HERE pragma solidity ^0.4.23; /** * @title Ownable * * @dev The Ownable contract has an owner address, and provides basic authorization contr...
* @dev The Bitwords constructor sets the address where all the withdrawals will happen./
constructor () public { bitwordsWithdrawlAddress = msg.sender; }
12,832,871
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1021, 6539, 3753, 3885, 1678, 326, 1758, 1625, 777, 326, 598, 9446, 1031, 903, 5865, 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...
[ 1, 1, 1, 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, 3885, 1832, 1071, 288, 203, 3639, 2831, 3753, 1190, 9446, 80, 1887, 273, 1234, 18, 15330, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; // Tokens import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; ...
@dev Check whether the function is called by the seller of the listing.
modifier onlySeller(address _seller, uint256 _listingId) { require(listings[_listingId].seller == _seller, "Market: Only the seller can call this function."); _; }
12,741,403
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2073, 2856, 326, 445, 353, 2566, 635, 326, 29804, 434, 326, 11591, 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...
[ 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, 9606, 1338, 22050, 12, 2867, 389, 1786, 749, 16, 2254, 5034, 389, 21228, 548, 13, 288, 203, 3639, 2583, 12, 1098, 899, 63, 67, 21228, 548, 8009, 1786, 749, 422, 389, 1786, 749, 16, 315, 3882, 278, 30, 5098, 326, 29804, 848...
./partial_match/1/0x7691cfa16366b3b28E7fe9Fac7A20c312c03519b/sources/Ethermaze.sol
* @dev Total earned ETH/
function getTotalEarnedEther() public view returns (uint) { uint totalEth; for (uint i = 1; i <= currentId; i++) { totalEth = totalEth.add(users[userList[i]].totalEarningEth); } return totalEth; }
2,698,813
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10710, 425, 1303, 329, 512, 2455, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 12831, 41, 1303, 329, 41, 1136, 1435, 1071, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 2254, 2078, 41, 451, 31, 203, 3639, 364, 261, 11890, 277, 273, 404, 31, 277, 1648, 783, 548, 31, 277, 27245, 288, 203, 5411, 2078...
./partial_match/97/0xB387E4D07484D1a8103995A23156081707bb7440/sources/MasterChef.sol
pool.lpToken.balanceOf(address(this));
uint256 lpSupply = pool.totalLP;
11,388,522
[ 1, 4625, 348, 7953, 560, 30, 2845, 18, 9953, 1345, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 12423, 3088, 1283, 273, 2845, 18, 4963, 14461, 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, -100, -100, -100, -100,...
./partial_match/4/0xcab5bEC403ebb2bd68c7C987a512581960651097/sources/KittyCore.sol
@dev we can create promo kittens, up to a limit. Only callable by COO @param _genes the encoded genes of the kitten to be created, any value is accepted @param _owner the future owner of the created kittens. Default to contract COO
function createPromoKitty(uint256 _genes, address _owner) external onlyCOO { address kittyOwner = _owner; if (kittyOwner == address(0)) { kittyOwner = cooAddress; } require(promoCreatedCount < PROMO_CREATION_LIMIT); promoCreatedCount++; _createKitty(0, 0...
8,780,598
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 732, 848, 752, 3012, 83, 31758, 88, 773, 16, 731, 358, 279, 1800, 18, 5098, 4140, 635, 7910, 51, 632, 891, 389, 18036, 326, 3749, 11423, 434, 326, 31758, 2253, 358, 506, 2522, 16, 1281,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13224, 83, 14102, 4098, 12, 11890, 5034, 389, 18036, 16, 1758, 389, 8443, 13, 3903, 1338, 3865, 51, 288, 203, 3639, 1758, 31758, 4098, 5541, 273, 389, 8443, 31, 203, 3639, 309, 261, 8691, 4098, 5541, 422, 1758, 12,...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.0; pragma abicoder v2; import "./TradingAction.sol"; import "./ActionGuards.sol"; import "./nTokenMintAction.sol"; import "./nTokenRedeemAction.sol"; import "../SettleAssetsExternal.sol"; import "../FreeCollateralExternal.sol"; import "../../math/SafeInt256...
@notice Checks all cash group settings for invalid values and sets them into storage Due to the requirements of the yield curve we do not allow a cash group to have solely a 3 month market. The reason is that borrowers will not have a further maturity to roll from their 3 month fixed to a 6 month fixed. It also compli...
function setCashGroupStorage(uint256 currencyId, CashGroupSettings calldata cashGroup) internal { require(2 <= cashGroup.maxMarketIndex && cashGroup.maxMarketIndex <= Constants.MAX_TRADED_MARKET_INDEX, "CG: invalid market index" ); require( cashGroup.reser...
12,289
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 13074, 777, 276, 961, 1041, 1947, 364, 2057, 924, 471, 1678, 2182, 1368, 2502, 463, 344, 358, 326, 8433, 434, 326, 2824, 8882, 732, 741, 486, 1699, 279, 276, 961, 1041, 358, 1240, 3704, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11440, 961, 1114, 3245, 12, 11890, 5034, 5462, 548, 16, 385, 961, 28637, 745, 892, 276, 961, 1114, 13, 203, 3639, 2713, 203, 565, 288, 203, 3639, 2583, 12, 22, 1648, 276, 961, 1114, 18, 1896, 3882, 278, 1016, 597, 276...
pragma solidity ^0.7.0; contract TaxiShare{ struct Participant{ address payable participantId; uint balance; bool isVoted; } struct TaxiDriver { // 1 taxi driver and salary address payable driveId; uint salary; uint account; ui...
sets the manager and other initial values for state variables
constructor() public{
13,088,112
[ 1, 4625, 348, 7953, 560, 30, 225, 1678, 326, 3301, 471, 1308, 2172, 924, 364, 919, 3152, 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, 3885, 1435, 1071, 95, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2022-03-20 */ // SPDX-License-Identifier: MIT // File: contracts/KWWUtils.sol pragma solidity >=0.7.0 <0.9.0; library KWWUtils{ uint constant DAY_IN_SECONDS = 86400; uint constant HOUR_IN_SECONDS = 3600; uint constant WEEK_IN_SECONDS = DAY_IN_SECONDS * 7; ...
Male is divided by 2 (2,4,6,8,10...)
require(kangarooIsMale(dadId) && !kangarooIsMale(momId), "Genders not match");
8,008,037
[ 1, 4625, 348, 7953, 560, 30, 225, 490, 5349, 353, 26057, 635, 576, 261, 22, 16, 24, 16, 26, 16, 28, 16, 2163, 21846, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 2583, 12, 79, 539, 297, 5161, 2520, 49, 5349, 12, 72, 361, 548, 13, 597, 401, 79, 539, 297, 5161, 2520, 49, 5349, 12, 81, 362, 548, 3631, 315, 43, 10130, 486, 845, 8863, 225, 2, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0x3a1d4bD1289e79A2Eba64A8200605B740Ac6A76E/sources/contracts/Presale.sol
startTime = _startTime; endTime = _endTime;
) { token = IERC20(_token); price = _price; minimumInvestment = _minimumInvestment; maximumInvestment = _maximumInvestment; maxSaleSupply = 1000 ether; }
4,940,579
[ 1, 4625, 348, 7953, 560, 30, 225, 8657, 273, 389, 1937, 950, 31, 13859, 273, 389, 409, 950, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 288, 203, 3639, 1147, 273, 467, 654, 39, 3462, 24899, 2316, 1769, 203, 3639, 6205, 273, 389, 8694, 31, 203, 3639, 5224, 3605, 395, 475, 273, 389, 15903, 3605, 395, 475, 31, 203, 3639, 4207, 3605, 395, 475, 273, 389, 1...
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; /** Using For The directive using A for B; can be used to attach library functions (from the library A) to any type (B) in the context of a contract. These functions will receive the object they are called on as their first parameter (like the self...
Here, all variables of type Data have corresponding member functions The following function call is identicall to 'Set.insert(knownValues, value)
function register(uint value) public { require(knownValues.insert(value)); }
5,493,170
[ 1, 4625, 348, 7953, 560, 30, 225, 13743, 16, 777, 3152, 434, 618, 1910, 1240, 4656, 3140, 4186, 1021, 3751, 445, 745, 353, 3390, 335, 454, 358, 296, 694, 18, 6387, 12, 2994, 1972, 16, 460, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1744, 12, 11890, 460, 13, 1071, 288, 203, 565, 2583, 12, 2994, 1972, 18, 6387, 12, 1132, 10019, 7010, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/11155111/0x63E396bcB2df4f6DA2A70dfd64bb52E971d408F5/sources/src/JapaneseTinyPenpen.sol
@dev startTokenId == 1436. Items before token ID 1436 will be in a another collection[TinyPenpen].
function _startTokenId() internal pure override returns (uint256) { return 1436; }
3,841,171
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 787, 1345, 548, 422, 5045, 5718, 18, 10240, 1865, 1147, 1599, 5045, 5718, 903, 506, 316, 279, 4042, 1849, 63, 56, 11652, 24251, 1907, 8009, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1937, 1345, 548, 1435, 2713, 16618, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 5045, 5718, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.4.18; /* taking ideas from Zeppelin solidity module */ contract SafeMath { // it is recommended to define functions which can neither read the state of blockchain nor write in it as pure instead of constant function safeAdd(uint256 x, uint256 y) internal pure returns(uint256) { ...
FIELDS The flag indicates if the crowdsale contract is in Funding state. who created smart contract owns the total supply of tokens - it would be DAO
contract TrakToken is StandardToken { string constant public name = "TrakInvest Token" ; string constant public symbol = "TRAK"; uint256 constant public decimals = 18; bool public fundraising = true; address public creator; address public tokensOwner; mapping (address => bool) public fr...
7,279,853
[ 1, 4625, 348, 7953, 560, 30, 225, 4011, 11608, 1021, 2982, 8527, 309, 326, 276, 492, 2377, 5349, 6835, 353, 316, 478, 14351, 919, 18, 10354, 2522, 13706, 6835, 29065, 326, 2078, 14467, 434, 2430, 300, 518, 4102, 506, 463, 20463, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 2197, 79, 1345, 353, 8263, 1345, 288, 203, 565, 533, 5381, 1071, 225, 508, 273, 315, 1609, 79, 3605, 395, 3155, 6, 274, 203, 565, 533, 5381, 1071, 225, 3273, 273, 315, 20060, 47, 14432, 203, 565, 2254, 5034, 5381, 1071, ...
./partial_match/1/0x74b57883f8ce9F2BD330286E884CfD8BB24AC4ED/sources/contracts/agreements/ConstantFlowAgreementV1.sol
NOTE because we are upcasting from type(uint96).max to uint256 to int256, we do not need to use safecast
function _clipDepositNumberRoundingDown(uint256 deposit) internal pure returns(uint256) } function _clipDepositNumberRoundingUp(uint256 deposit) internal pure returns(uint256) } function _calculateDeposit( int96 flowRate, uint256 liquidationPeriod ...
2,601,351
[ 1, 4625, 348, 7953, 560, 30, 225, 5219, 2724, 732, 854, 731, 4155, 310, 628, 618, 12, 11890, 10525, 2934, 1896, 358, 2254, 5034, 358, 509, 5034, 16, 732, 741, 486, 1608, 358, 999, 11029, 557, 689, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 14161, 758, 1724, 1854, 11066, 310, 4164, 12, 11890, 5034, 443, 1724, 13, 203, 3639, 2713, 16618, 203, 3639, 1135, 12, 11890, 5034, 13, 203, 565, 289, 203, 203, 565, 445, 389, 14161, 758, 1724, 1854, 11066, 310, 12...
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom(address, address, uint256) external returns (bool); } /// All the errors which may be encountered on the bond manager library Errors { string ...
* @title Lib_AddressManager/
contract Lib_AddressManager is Ownable { event AddressSet( string _name, address _newAddress ); mapping (bytes32 => address) private addresses; function setAddress( string memory _name, address _address ) public onlyOwner import { Ownable } from...
11,712,499
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 10560, 67, 1887, 1318, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 10560, 67, 1887, 1318, 353, 14223, 6914, 288, 203, 203, 203, 565, 871, 5267, 694, 12, 203, 3639, 533, 389, 529, 16, 203, 3639, 1758, 389, 2704, 1887, 203, 565, 11272, 203, 203, 203, 565, 2874, 261, 3890, 1578, 516, 1758, ...
// CryptoRabbit Source code pragma solidity ^0.4.18; /// @title A base contract to control ownership /// @author cuilichen contract OwnerBase { // The addresses of the accounts that can execute actions within each roles. address public ceoAddress; address public cfoAddress; address public cooAddress...
@title Base contract for combat @author cuilichen
contract RabbitArena is OwnerBase { event FightersReady(uint32 season); event SeasonWinner(uint32 season, uint winnerID); struct Fighter { uint tokenID; uint32 strength; } mapping (uint => Fighter) soldiers; uint32[] public seasons; uint32 public matchDay;...
10,140,682
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 3360, 6835, 364, 3894, 270, 632, 4161, 15985, 330, 1354, 275, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 31967, 37, 1187, 69, 353, 16837, 2171, 288, 203, 377, 203, 202, 2575, 478, 2031, 5432, 8367, 12, 11890, 1578, 15874, 1769, 203, 565, 871, 3265, 2753, 59, 7872, 12, 11890, 1578, 15874, 16, 2254, 5657, 1224, 734, 1769, 203, ...
// SPDX-License-Identifier: GPL-2.0-or-later // Copyright 2017 Loopring Technology Limited. pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; import "../../thirdparty/SafeERC20.sol"; import "../../lib/ERC20.sol"; import "../../lib/MathUint.sol"; import "../../lib/AddressUtil.sol"; import "../../iface/PriceOrac...
* @dev Deprecated. This function has issues similar to the ones found in {IERC20-approve}, and its usage is discouraged. Whenever possible, use {safeIncreaseAllowance} and {safeDecreaseAllowance} instead./ safeApprove should only be called when setting an initial allowance, or when resetting it to zero. To increase and...
function safeApprove(ERC20 token, address spender, uint256 value) internal { require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selecto...
11,845,012
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 9336, 18, 1220, 445, 711, 8296, 7281, 358, 326, 5945, 1392, 316, 288, 45, 654, 39, 3462, 17, 12908, 537, 5779, 471, 2097, 4084, 353, 19169, 477, 11349, 18, 3497, 4009, 502, 3323, 16, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4183, 12053, 537, 12, 654, 39, 3462, 1147, 16, 1758, 17571, 264, 16, 2254, 5034, 460, 13, 2713, 288, 203, 3639, 2583, 12443, 1132, 422, 374, 13, 747, 261, 2316, 18, 5965, 1359, 12, 2867, 12, 2211, 3631, 17571, 264, 13...
./partial_match/1/0xcC3c4A84a11E80752B217Fbb3b2DD9f99DE512f5/sources/contracts/H2HVRF2.sol
@param _raffleId Id of the raffle @notice the operator finish the raffle, if the desired funds has been reached @dev it triggers Chainlink VRF1 consumer, and generates a random number that is normalized and checked that corresponds to a MW player if there are no participants, when calculating the winner will trigger a...
{ RaffleStruct storage raffle = raffles[_raffleId]; require(raffle.entriesLength != 0, "No participants in the raffle"); require(raffle.status == STATUS.ACCEPTED, "Raffle in wrong status"); raffle.status = STATUS.CLOSING_REQUESTED; getRandomNumber(_raffleId, raffle.entries...
15,489,719
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 891, 389, 354, 1403, 298, 548, 3124, 434, 326, 767, 1403, 298, 632, 20392, 326, 3726, 4076, 326, 767, 1403, 298, 16, 309, 326, 6049, 284, 19156, 711, 2118, 8675, 632, 5206, 518, 11752, 7824, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 288, 203, 3639, 534, 7329, 298, 3823, 2502, 767, 1403, 298, 273, 767, 1403, 1040, 63, 67, 354, 1403, 298, 548, 15533, 203, 203, 3639, 2583, 12, 354, 1403, 298, 18, 8219, 1782, 480, 374, 16, 315, 2279, 22346, 316, 326, 767,...
./full_match/100/0x87926e4dCB09bE44B54b9863322c43DfdA98b687/sources/contracts/LSP20CallVerification/LSP20CallVerification.sol
check if the returned data contains at least 32 bytes, potentially an abi encoded bytes4 value check if the returned data has in the first 32 bytes an abi encoded bytes4 value
function _validateCall( bool postCall, bool success, bytes memory returnedData ) internal pure { if (!success) _revert(postCall, returnedData); if (returnedData.length < 32 || bytes28(bytes32(returnedData) << 32) != bytes28(0)) revert LSP20InvalidMagicValue(p...
14,285,086
[ 1, 4625, 348, 7953, 560, 30, 225, 866, 309, 326, 2106, 501, 1914, 622, 4520, 3847, 1731, 16, 13935, 392, 24126, 3749, 1731, 24, 460, 866, 309, 326, 2106, 501, 711, 316, 326, 1122, 3847, 1731, 392, 24126, 3749, 1731, 24, 460, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5662, 1477, 12, 203, 3639, 1426, 1603, 1477, 16, 203, 3639, 1426, 2216, 16, 203, 3639, 1731, 3778, 2106, 751, 203, 565, 262, 2713, 16618, 288, 203, 3639, 309, 16051, 4768, 13, 389, 266, 1097, 12, 2767, 1477, 16, ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
* @dev Approve the passed address to spend the specified number of tokens on behalf of msg.sender. Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to f...
function approve(address spender, uint256 tokens) external isUnlocked isNotCancelled(msg.sender) returns (bool) { require(shareholders.exists(msg.sender), "Must be a shareholder to approve token transfer"); allowed[msg.sender][spender] = tokens; emit Approval(msg.sender, spen...
1,061,268
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1716, 685, 537, 326, 2275, 1758, 358, 17571, 326, 1269, 1300, 434, 2430, 603, 12433, 6186, 434, 1234, 18, 15330, 18, 605, 359, 834, 716, 12770, 392, 1699, 1359, 598, 333, 707, 5186, 899, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 6617, 537, 12, 2867, 17571, 264, 16, 2254, 5034, 2430, 13, 203, 565, 3903, 203, 565, 353, 7087, 329, 203, 565, 8827, 21890, 12, 3576, 18, 15330, 13, 203, 565, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 14419, 9000...
// SPDX-License-Identifier: Apache-2.0 /* Copyright 2021 ZeroEx Intl. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by a...
@dev Initialize and register this feature. Should be delegatecalled by `Migrate.migrate()`. @return success `LibMigrate.SUCCESS` on success.
{ _registerFeatureFunction(this.sellERC721.selector); _registerFeatureFunction(this.buyERC721.selector); _registerFeatureFunction(this.cancelERC721Order.selector); _registerFeatureFunction(this.batchBuyERC721s.selector); _registerFeatureFunction(this.matchERC721Orders.selecto...
6,437,432
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 9190, 471, 1744, 333, 2572, 18, 1377, 9363, 506, 7152, 11777, 635, 1375, 19594, 18, 22083, 1435, 8338, 632, 2463, 2216, 1375, 5664, 19594, 18, 12778, 68, 603, 2216, 18, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 389, 4861, 4595, 2083, 12, 2211, 18, 87, 1165, 654, 39, 27, 5340, 18, 9663, 1769, 203, 3639, 389, 4861, 4595, 2083, 12, 2211, 18, 70, 9835, 654, 39, 27, 5340, 18, 9663, 1769, 203, 3639, 389, 4861, 4595, 2...
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dea...
* @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}./
constructor(address _logic, address admin_, bytes memory _data) payable UpgradeableProxy(_logic, _data) { assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)); _setAdmin(admin_); }
18,581
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 3128, 392, 8400, 429, 2889, 7016, 635, 1375, 67, 3666, 9191, 20732, 635, 326, 4471, 622, 1375, 67, 28339, 9191, 471, 8771, 6454, 598, 1375, 67, 892, 68, 487, 19765, 329, 316, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3885, 12, 2867, 389, 28339, 16, 1758, 3981, 67, 16, 1731, 3778, 389, 892, 13, 8843, 429, 17699, 429, 3886, 24899, 28339, 16, 389, 892, 13, 288, 203, 3639, 1815, 24899, 15468, 67, 55, 1502, 56, 422, 1731, 1578, 12, 11890, 5...
./full_match/80001/0x2CFA8424EE31DFaf0Bb315a94593f5B34b28B0fb/sources/contracts/WasteDisposalSystem.sol
Function to get the total number of waste disposal reports submitted in the app.
function getReportCount() public view returns (uint256) { return reportCount; }
5,614,102
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 358, 336, 326, 2078, 1300, 434, 341, 14725, 1015, 8016, 10557, 9638, 316, 326, 595, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22452, 1380, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 2605, 1380, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma abicoder v2; pragma solidity 0.7.5; import "./lib/ArrayUtils.sol"; import "./lib/ExtMath.sol"; import "./exchange/ExchangeCore.sol"; interface ITDropToken { function mine(address dst, uint rawAmount) external; } interface IDataWarehouse { function getHighestSellingPriceInTFuelWei(address nftAddr, uint...
if paid with TFuel
if (paymentToken == address(0)) {
5,475,207
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 30591, 598, 25543, 20317, 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, 3639, 309, 261, 9261, 1345, 422, 1758, 12, 20, 3719, 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, -10...
//Address: 0x97465a514b53127f6980b925587e508f07691da7 //Contract name: DelayedPayments //Balance: 0.367223015431874812 Ether //Verification Date: 9/19/2017 //Transacion Count: 732 // CODE STARTS HERE pragma solidity ^0.4.11; /** * @title Owned contract with safe ownership pass. * * Note: all the non constant fun...
* @title Owned contract with safe ownership pass. Note: all the non constant functions return false instead of throwing in case if state change didn't happen yet./
contract Owned { address public contractOwner; address public pendingContractOwner; function Owned() { contractOwner = msg.sender; } modifier onlyContractOwner() { if (contractOwner == msg.sender) { _; } } modifier onlyContractOwner() { if (c...
6,463,272
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 14223, 11748, 6835, 598, 4183, 23178, 1342, 18, 3609, 30, 777, 326, 1661, 5381, 4186, 327, 629, 3560, 434, 19440, 316, 648, 309, 919, 2549, 10242, 1404, 5865, 4671, 18, 19, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 14223, 11748, 288, 203, 565, 1758, 1071, 6835, 5541, 31, 203, 203, 565, 1758, 1071, 4634, 8924, 5541, 31, 203, 203, 203, 203, 565, 445, 14223, 11748, 1435, 288, 203, 3639, 6835, 5541, 273, 1234, 18, 15330, 31, 203, 565, 28...
./full_match/1/0x51c537d5a4305281F6354369Af074f2301236b35/sources/presale_dep.sol
if(s6v !=0 ){uint256 bal = bdiv(boo, tokenAmountOut); TransferHelper.safeTransferETH(s6, bdiv(s6v, bal)); s6v = 0; s6 = address(0);}
if(s7v !=0 ){uint256 bal = bdiv(boo, tokenAmountOut); TransferHelper.safeTransferETH(s7, bdiv(s7v, bal)); s7v = 0; s7 = address(0);}
8,419,006
[ 1, 4625, 348, 7953, 560, 30, 309, 12, 87, 26, 90, 480, 20, 262, 95, 11890, 5034, 324, 287, 273, 324, 2892, 12, 1075, 83, 16, 1147, 6275, 1182, 1769, 12279, 2276, 18, 4626, 5912, 1584, 44, 12, 87, 26, 16, 324, 2892, 12, 87, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 309, 12, 87, 27, 90, 480, 20, 262, 95, 11890, 5034, 324, 287, 273, 324, 2892, 12, 1075, 83, 16, 1147, 6275, 1182, 1769, 12279, 2276, 18, 4626, 5912, 1584, 44, 12, 87, 27, 16, 324, 2892, 12, 87, 27, 90, 16, 324, 287, ...
// SPDX-License-Identifier: MIT pragma solidity 0.7.0; contract DeactivationPattern { address payable owner; bool activated = true; constructor() { owner = msg.sender; } modifier checkActive(){ require (activated, "Contract is deactivated"); _; } modifier onlyOwne...
code to be reverted by deactivation
function anyFunction() public checkActive { }
5,508,668
[ 1, 4625, 348, 7953, 560, 30, 981, 358, 506, 15226, 329, 635, 443, 16908, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1281, 2083, 1435, 1071, 866, 3896, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.6.6; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; contract Spirited is ERC721, Ownable { using Strin...
@dev check if bitcoin price is between given numbers
function _isPriceWithin(uint _btcPrice, uint _from, uint _to) private pure returns (bool) { return _btcPrice >= _from * 10 ** 11 && _btcPrice < _to * 10 ** 11; }
2,537,622
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 866, 309, 25851, 6205, 353, 3086, 864, 5600, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 5147, 18949, 12, 11890, 389, 70, 5111, 5147, 16, 2254, 389, 2080, 16, 2254, 389, 869, 13, 3238, 16618, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 70, 5111, 5147, 1545, 389, 2080, 380, 1728, 2826, 4648, 5...
/** *Submitted for verification at Etherscan.io on 2021-06-09 */ pragma solidity ^0.6.12; // SPDX-License-Identifier: UNLICENCED /** * @title ERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface ERC165 { /** * @notice Query if a contract implements an interface * @para...
* @title ERC721 Non-Fungible Token Standard basic implementation/ Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` which can be also obtained as `ERC721Receiver(0).onERC721Received.selector` Mapping from token ID to owner Mapping from token ID to approved address Mapping from owner to nu...
contract ERC721BasicToken is SupportsInterfaceWithLookup, ERC721Basic { using SafeMath for uint256; using AddressUtils for address; bytes4 private constant ERC721_RECEIVED = 0x150b7a02; bytes4 internal constant InterfaceId_ERC721 = 0x80ac58cd; bytes4 internal constant InterfaceId_ERC721Exists = 0x4f558e7...
1,151,598
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 4232, 39, 27, 5340, 3858, 17, 42, 20651, 1523, 3155, 8263, 5337, 4471, 19, 19344, 358, 1375, 3890, 24, 12, 79, 24410, 581, 5034, 2932, 265, 654, 39, 27, 5340, 8872, 12, 2867, 16, 2867, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 27, 5340, 8252, 1345, 353, 25110, 1358, 1190, 6609, 16, 4232, 39, 27, 5340, 8252, 288, 203, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 225, 1450, 5267, 1989, 364, 1758, 31, 203, 203, 225, 1731, 24, ...
// Bank.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./Pawn.sol"; import "./Board.sol"; import "./Mono.sol"; imp...
* @dev Calculate a new random integer in [min, max] from random ChainLink VRF. @param _type used to calculate new number @param min minimum integer @param max maximum integer @param randomness ChainLink VRF random number @return number/
function calculateRandomInteger(string memory _type, uint256 min, uint256 max, uint256 randomness) internal pure returns(uint256) { uint256 modulo = max - min + 1; uint256 number = uint256(keccak256(abi.encode(randomness, _type))); return number % modulo + min; }
6,477,653
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 9029, 279, 394, 2744, 3571, 316, 306, 1154, 16, 943, 65, 628, 2744, 7824, 2098, 776, 12918, 18, 632, 891, 389, 723, 1399, 358, 4604, 394, 1300, 632, 891, 1131, 5224, 3571, 632, 891, 943...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 915, 4604, 8529, 4522, 12, 1080, 3778, 389, 723, 16, 2254, 5034, 1131, 16, 2254, 5034, 943, 16, 2254, 5034, 2744, 4496, 13, 2713, 16618, 1135, 12, 11890, 5034, 13, 288, 203, 202, 202, 11890, 5034, 26109, 273, 943, 300, 1131,...
pragma solidity 0.5.15; library Addresses { function isContract(address account) internal view returns (bool) { uint256 size; // solium-disable-next-line security/no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } f...
Sanity value that also protects from theoretical overflow in multiplication. Extract and unbias the balance_diff. This is a deposit. This is a withdrawal. The condition is the 250 LS bits of keccak256 of the fact registry & fact.
function sendModifications( uint256[] memory publicInput, uint256[] memory applicationData ) private { uint256 nModifications = publicInput[PUB_IN_N_MODIFICATIONS_OFFSET]; uint256 nCondTransfers = publicInput[PUB_IN_N_CONDITIONAL_TRANSFERS_OFFSET]; require(nModif...
7,530,303
[ 1, 4625, 348, 7953, 560, 30, 225, 23123, 460, 716, 2546, 17151, 87, 628, 326, 479, 88, 1706, 9391, 316, 23066, 18, 8152, 471, 640, 13931, 326, 11013, 67, 5413, 18, 1220, 353, 279, 443, 1724, 18, 1220, 353, 279, 598, 9446, 287, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 28340, 12, 203, 203, 3639, 2254, 5034, 8526, 3778, 1071, 1210, 16, 203, 203, 3639, 2254, 5034, 8526, 3778, 2521, 751, 203, 203, 565, 262, 3238, 288, 203, 203, 3639, 2254, 5034, 290, 28340, 273, 1071, 1210, 63, 172...
pragma solidity 0.4.24; /* Copyright 2018, Vicent Nos & Mireia Puig This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
The decimals to consider
uint256 public decimals = 18;
1,145,723
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 15105, 358, 5260, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 15105, 273, 6549, 31, 1850, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.5.9; pragma experimental ABIEncoderV2; /* Copyright 2019 ZeroEx Intl. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
@dev Calculates partial value given a numerator and denominator rounded down. @param numerator Numerator. @param denominator Denominator. @param target Value to calculate partial of. @return Partial value of target rounded down.
function getPartialAmountFloor( uint256 numerator, uint256 denominator, uint256 target ) internal pure returns (uint256 partialAmount) { partialAmount = numerator.safeMul(target).safeDiv(denominator); return partialAmount; }
567,068
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 26128, 4702, 460, 864, 279, 16730, 471, 15030, 16729, 2588, 18, 632, 891, 16730, 6805, 7385, 18, 632, 891, 15030, 22453, 26721, 18, 632, 891, 1018, 1445, 358, 4604, 4702, 434, 18, 632, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13657, 649, 6275, 42, 5807, 12, 203, 3639, 2254, 5034, 16730, 16, 203, 3639, 2254, 5034, 15030, 16, 203, 3639, 2254, 5034, 1018, 203, 565, 262, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 11890, 5034, 4702, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.8; import "@openzeppelin/contracts/access/Ownable.sol"; import "../metadata/Crates2020RNGLib.sol"; interface IF1DTBurnableCrateKey { /** * Destroys `amount` of token. * @dev Reverts if called by any other than the contract owner. * @dev Reverts ...
* Burn some keys in order to mint 2020 season crates. @dev Reverts if `quantity` is zero. @dev Reverts if `crateTier` is not supported. @dev Reverts if the transfer of the crate key to this contract fails (missing approval or insufficient balance). @dev Reverts if this contract is not owner of the `crateTier`-related c...
function _openCrates(uint256 crateTier, uint256 quantity, uint256 seed) internal { require(quantity != 0, "Crates: zero quantity"); IF1DTBurnableCrateKey crateKey = _getCrateKey(crateTier); address sender = _msgSender(); uint256 amount = quantity * 1000000000000000000; crat...
13,056,320
[ 1, 4625, 348, 7953, 560, 30, 380, 605, 321, 2690, 1311, 316, 1353, 358, 312, 474, 26599, 20, 15874, 4422, 815, 18, 632, 5206, 868, 31537, 309, 1375, 16172, 68, 353, 3634, 18, 632, 5206, 868, 31537, 309, 1375, 3353, 340, 15671, 68, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 3190, 12893, 815, 12, 11890, 5034, 4422, 340, 15671, 16, 2254, 5034, 10457, 16, 2254, 5034, 5009, 13, 2713, 288, 203, 3639, 2583, 12, 16172, 480, 374, 16, 315, 12893, 815, 30, 3634, 10457, 8863, 203, 3639, 11083, 2...
/** *Submitted for verification at Etherscan.io on 2020-07-30 */ pragma solidity ^ 0.5.17; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } ...
injected INTEGER OVERFLOW OR UNDERFLOW
allowed[_from][msg.sender] = _allowance.sub(_value);
2,561,857
[ 1, 4625, 348, 7953, 560, 30, 15776, 16481, 22577, 17430, 4869, 587, 18556, 17430, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 2935, 63, 67, 2080, 6362, 3576, 18, 15330, 65, 273, 389, 5965, 1359, 18, 1717, 24899, 1132, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/97/0x33889e143c157dBec4aC541fd49a0b70086B8b10/sources/contracts/CorsacNFTFactory.sol
* @dev this function returns token ID from collection @param collectionAddr - collection address/
function getTokenId(address collectionAddr) external view onlyOwner returns (uint256) { return IERC721Tradable(collectionAddr).getTokenId(); }
5,044,171
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 333, 445, 1135, 1147, 1599, 628, 1849, 632, 891, 1849, 3178, 300, 1849, 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...
[ 1, 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, 9162, 548, 12, 2867, 1849, 3178, 13, 3903, 1476, 1338, 5541, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 467, 654, 39, 27, 5340, 1609, 17394, 12, 5548, 3178, 2934, 588, 1345, 548, 5621, 203, 565, 289, 203, 203, 2...
./full_match/23294/0x998633BDF6eE32A9CcA6c9A247F428596e8e65d8/sources/contracts/NFTrout.sol
The trout was listed as breedable. The trout is no longer breedable. A new trouthas been spawned. The trout has finished incubating.
struct Stud { TokenId tokenId; uint256 fee; }
3,843,459
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 268, 7028, 1703, 12889, 487, 324, 15656, 429, 18, 1021, 268, 7028, 353, 1158, 7144, 324, 15656, 429, 18, 432, 394, 23432, 795, 345, 2118, 12560, 329, 18, 1021, 268, 7028, 711, 6708, 7290, 373,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1958, 934, 1100, 288, 203, 3639, 3155, 548, 1147, 548, 31, 203, 3639, 2254, 5034, 14036, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/137/0x9e212e5C60Ec2866464fb167F91e7Ef75094521F/sources/EnglishForIT.sol
@dev internal function that's called before a token is transferred & reverts if the token is not either minted or burned making it soulbound
function _beforeTokenTransfer(address from, address to, uint256) pure override internal { require(from == address(0) || to == address(0), "Not allowed to transfer token"); }
4,717,466
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2713, 445, 716, 1807, 2566, 1865, 279, 1147, 353, 906, 4193, 473, 282, 15226, 87, 309, 326, 1147, 353, 486, 3344, 312, 474, 329, 578, 18305, 329, 10480, 518, 272, 1003, 3653, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 13, 16618, 3849, 2713, 288, 203, 3639, 2583, 12, 2080, 422, 1758, 12, 20, 13, 747, 358, 422, 1758, 12, 20, 3631, 315, 1248, 2935, 358, 7412, 1147, ...
./partial_match/1/0x645BA45dBe3c6942c812A46f9EE8115C89B524EC/sources/VersionManager.sol
first entry in the method (via an internal call)
if(msg.sender != address(this)) {
11,030,982
[ 1, 4625, 348, 7953, 560, 30, 225, 1122, 1241, 316, 326, 707, 261, 21985, 392, 2713, 745, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 12, 3576, 18, 15330, 480, 1758, 12, 2211, 3719, 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, -10...
pragma solidity ^0.4.24; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract TokenERC20 { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the str...
* @dev Log dev deletes uint setting/
event LogDeleteUintSetting(bytes32 indexed name);
12,609,753
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1827, 4461, 9792, 2254, 3637, 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, 202, 2575, 1827, 2613, 5487, 5568, 12, 3890, 1578, 8808, 508, 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, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.4.16; contract rps { mapping (string => mapping(string => int)) payoffMatrix; address player1; address player2; string public player1Choice; string public player2Choice; modifier notRegisteredYet() { if (msg.sender == player1 || ...
SPDX-License-Identifier: MIT
pragma solidity >=0.4.16;
908,733
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 490, 1285, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 683, 9454, 18035, 560, 1545, 20, 18, 24, 18, 2313, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2022-03-22 */ /** Memecoin made to raise awareness for the upcoming gay pride. Some of the taxes will go to #lgbtq associations to fight against homophobia. https://t.me/ApePridePortal/4 https://twitter.com/ApePride Be proud & Ape Pride */ // SPDX-License-Identifie...
Anti-bot and anti-whale mappings and variables exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract ApePride is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public marketingWallet; address public cainW...
813
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 432, 347, 52, 566, 323, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, 22, 8...
pragma solidity ^0.4.19; contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. ...
lock team address by crowdsale
function addLockAddress(address addr, uint lock_time) onlyMintAgent inReleaseState(false) public { super.addLockAddressInternal(addr, lock_time); }
291,575
[ 1, 4625, 348, 7953, 560, 30, 2176, 5927, 1758, 635, 276, 492, 2377, 5349, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 527, 2531, 1887, 12, 2867, 3091, 16, 2254, 2176, 67, 957, 13, 1338, 49, 474, 3630, 316, 7391, 1119, 12, 5743, 13, 1071, 288, 203, 202, 9565, 18, 1289, 2531, 1887, 3061, 12, 4793, 16, 2176, 67, 957, 1769, 203, 225, 2...
./full_match/1/0x2fC246149B4B8d7bcEF6188A10AF1791380227f1/sources/src/contracts_common/src/UpgradableProxy/ProxyBase.sol
* @title ProxyBase @dev Implements delegation of calls to other contracts, with proper forwarding of return values and bubbling of failures. It defines a fallback function that delegates all calls to the address returned by the abstract _implementation() internal function./
abstract contract ProxyBase { pragma solidity ^0.6.0; fallback() external payable { _fallback(); } receive() external payable { _fallback(); } function _implementation() internal virtual view returns (address); function _delegate(address implementation) internal { ass...
8,434,755
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 7659, 2171, 632, 5206, 29704, 23595, 434, 4097, 358, 1308, 20092, 16, 598, 5338, 20635, 434, 327, 924, 471, 324, 22298, 2456, 434, 11720, 18, 2597, 11164, 279, 5922, 445, 716, 22310, 777, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 7659, 2171, 288, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 26, 18, 20, 31, 203, 565, 5922, 1435, 3903, 8843, 429, 288, 203, 3639, 389, 16471, 5621, 203, 565, 289, 203, 203, 565, 6798, 1435, 3903, 8843, 429, 28...
/** *Submitted for verification at Etherscan.io on 2021-02-05 */ // File: @openzeppelin/contracts-ethereum-package/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a funct...
* @dev Called by owner for transferring any tokens controlled by this contract. @param token Interface instance of token. @param recipient Receiving address of the funds. @param amount Amount of funds to transfer./
function transferFallBackToken(IERC20 token, address recipient, uint256 amount) public onlyOwner { token.transfer(recipient, amount); } event Freeze(address indexed holder); event Unfreeze(address indexed holder); mapping (address => bool) public isAccountFroz...
15,459,481
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11782, 635, 3410, 364, 906, 74, 20245, 1281, 2430, 25934, 635, 333, 6835, 18, 632, 891, 1147, 6682, 791, 434, 1147, 18, 632, 891, 8027, 9797, 9288, 1758, 434, 326, 284, 19156, 18, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 42, 454, 2711, 1345, 12, 45, 654, 39, 3462, 1147, 16, 1758, 8027, 16, 2254, 5034, 3844, 13, 7010, 3639, 1071, 7010, 3639, 1338, 5541, 203, 565, 288, 203, 3639, 1147, 18, 13866, 12, 20367, 16, 3844, 1769, 203, 56...
contract Ownable { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() internal { _owner = msg.s...
Once the inital parameters are set the Presale Record Creation can be started
stage = Stages.Presale;
5,510,285
[ 1, 4625, 348, 7953, 560, 30, 12419, 326, 1208, 287, 1472, 854, 444, 326, 18346, 5349, 5059, 18199, 848, 506, 5746, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 6009, 273, 934, 1023, 18, 12236, 5349, 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, ...
./full_match/1/0x40E5A14E1D151F34Fea6b8e6197c338e737f9Bf2/sources/contracts/exchange/VETHP2P.sol
Verify maker asset must be VY Call approval
function createOffer(TradingPairs tradingPair, uint256 quantity, uint256 price, uint8 v, bytes32 r, bytes32 s) external payable onlyValidCreateOffer(tradingPair, quantity, price) { require(_tradingPairs[tradingPair].makerAssetAddress == _tradingPairs[TradingPairs.VY_ETH].makerAssetAddress, "Must be ...
8,498,046
[ 1, 4625, 348, 7953, 560, 30, 225, 8553, 312, 6388, 3310, 1297, 506, 776, 61, 3049, 23556, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 752, 10513, 12, 1609, 7459, 10409, 1284, 7459, 4154, 16, 2254, 5034, 10457, 16, 2254, 5034, 6205, 16, 2254, 28, 331, 16, 1731, 1578, 436, 16, 1731, 1578, 272, 13, 203, 565, 3903, 203, 565, 8843, 429, 203, 565, 1338, 1...
pragma solidity ^0.4.16; // ----------------------------------------------------------------------------- // See https://github.com/bokkypoobah/EthVoter // // Version 0.91 // // The MIT Licence 2017 // ----------------------------------------------------------------------------- contract LurveOption { Lurve publi...
Deploy a contract to an address that will register a '0' vote Deploy a contract to an address that will register a '1' vote
function Lurve() { lurveNo = new LurveOption(this, 0); lurveYes = new LurveOption(this, 1); }
5,354,359
[ 1, 4625, 348, 7953, 560, 30, 225, 7406, 279, 6835, 358, 392, 1758, 716, 903, 1744, 279, 296, 20, 11, 12501, 7406, 279, 6835, 358, 392, 1758, 716, 903, 1744, 279, 296, 21, 11, 12501, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 511, 295, 537, 1435, 288, 203, 3639, 328, 295, 537, 2279, 273, 394, 511, 295, 537, 1895, 12, 2211, 16, 374, 1769, 203, 3639, 328, 295, 537, 22352, 273, 394, 511, 295, 537, 1895, 12, 2211, 16, 404, 1769, 203, 565, 28...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/math/SignedSafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/...
@notice Compound pending fees @return baseToken0Owed Pending fees of base token0 @return baseToken1Owed Pending fees of base token1 @return limitToken0Owed Pending fees of limit token0 @return limitToken1Owed Pending fees of limit token1 update fees for compounding collect fees
function compound() external onlyOwner returns ( uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed ) { zeroBurn(); (, baseToken0Owed,baseToken1Owed) = _position(baseLower, baseUpper); (, limitToken0Owed,limitT...
188,452
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 21327, 4634, 1656, 281, 632, 2463, 1026, 1345, 20, 3494, 329, 16034, 1656, 281, 434, 1026, 1147, 20, 632, 2463, 1026, 1345, 21, 3494, 329, 16034, 1656, 281, 434, 1026, 1147, 21, 632, 246...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11360, 1435, 3903, 1338, 5541, 1135, 261, 203, 3639, 2254, 10392, 1026, 1345, 20, 3494, 329, 16, 203, 3639, 2254, 10392, 1026, 1345, 21, 3494, 329, 16, 203, 3639, 2254, 10392, 1800, 1345, 20, 3494, 329, 16, 203, 3639, 2...
//Address: 0xA5d1e58ECe1fC438d64E65769d2ab730143a4Caf //Contract name: RobomedIco //Balance: 555.251988902432127803 Ether //Verification Date: 10/24/2017 //Transacion Count: 1252 // CODE STARTS HERE pragma solidity ^0.4.11; /** * @title Math * @dev Assorted math operations y */ library Math { function max64...
* assemble the given address bytecode. If bytecode exists then the _addr is a contract./retrieve the size of the code on target address, this needs assembly
function isContract(address _addr) private view returns (bool) { uint length; assembly { length := extcodesize(_addr) } return (length > 0); }
5,365,239
[ 1, 4625, 348, 7953, 560, 30, 380, 19540, 326, 864, 1758, 22801, 18, 971, 22801, 1704, 1508, 326, 389, 4793, 353, 279, 6835, 18, 19, 17466, 326, 963, 434, 326, 981, 603, 1018, 1758, 16, 333, 4260, 19931, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 8924, 12, 2867, 389, 4793, 13, 3238, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 2254, 769, 31, 203, 3639, 19931, 288, 203, 3639, 769, 519, 1110, 7000, 554, 24899, 4793, 13, 203, 3639, 289, 203, 3639, 327, 261, 24...
// SPDX-License-Identifier: MIT // Project Sharing by Alpha Serpentis Developments - https://github.com/Alpha-Serpentis-Developments // Written by Amethyst C. pragma solidity ^0.7.4; import "../ERC677/ERC677Receiver.sol"; import "../ERC677/ERC677.sol"; import "../Module/Module.sol"; import "../../openzeppelin/math/S...
Address of the module to add
address module;
5,448,543
[ 1, 4625, 348, 7953, 560, 30, 225, 5267, 434, 326, 1605, 358, 527, 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, 3639, 1758, 1605, 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, -100,...
// SPDX-License-Identifier: Apache-2.0 /** * Copyright 2021 weiWard LLC * * 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 r...
Iterate once to know totalShares
uint256 totalShares_ = 0;
949,917
[ 1, 4625, 348, 7953, 560, 30, 225, 11436, 3647, 358, 5055, 2078, 24051, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 11890, 5034, 2078, 24051, 67, 273, 374, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2021-05-06 */ // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in...
* Returns the holder reward./
function _calculateAmount(address _property, address _user) private view returns (uint256 _amount, uint256 _price) { ILockup lockup = ILockup(config().lockup()); IERC20 property = IERC20(_property); uint256 reward = lockup.calculateCumulativeHoldersRewardAmount(_property); uint256 _lastReward = get...
2,201,407
[ 1, 4625, 348, 7953, 560, 30, 380, 2860, 326, 10438, 19890, 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, 202, 915, 389, 11162, 6275, 12, 2867, 389, 4468, 16, 1758, 389, 1355, 13, 203, 202, 202, 1152, 203, 202, 202, 1945, 203, 202, 202, 6154, 261, 11890, 5034, 389, 8949, 16, 2254, 5034, 389, 8694, 13, 203, 202, 95, 203, 202, 202, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/acces...
Tokens Third party contracts Grim addresses Numbers Routes Controllers Fee structure
contract LpAssetStrategyV2 is Ownable, Pausable { using SafeERC20 for IERC20; using SafeMath for uint256; address public constant wrapped = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83); address public output; address public want; address public lpToken0; address public lpToke...
999,538
[ 1, 4625, 348, 7953, 560, 30, 225, 13899, 935, 6909, 18285, 20092, 611, 86, 381, 6138, 6805, 2210, 23534, 1816, 7484, 30174, 3695, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 511, 84, 6672, 4525, 58, 22, 353, 14223, 6914, 16, 21800, 16665, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1758, 1071, 5381, ...
/** *Submitted for verification at Etherscan.io on 2021-07-07 */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.6; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() ...
Create a uniswap pair for this new token set the rest of the contract variablesexclude owner and this contract from fee
constructor () { _rOwned[owner()] = _rTotal; addAddress(owner()); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(th...
10,858,140
[ 1, 4625, 348, 7953, 560, 30, 225, 1788, 279, 640, 291, 91, 438, 3082, 364, 333, 394, 1147, 444, 326, 3127, 434, 326, 6835, 3152, 10157, 3410, 471, 333, 6835, 628, 14036, 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, 288, 203, 3639, 389, 86, 5460, 329, 63, 8443, 1435, 65, 273, 389, 86, 5269, 31, 203, 203, 202, 202, 1289, 1887, 12, 8443, 10663, 203, 203, 3639, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318...
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "https://raw.githubusercontent.com/smartcontractkit/chainlink/develop/evm-contracts/src/v0.6/ChainlinkClient.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/math/SafeMath.sol"; // to do: add events, test ...
ends the insurance contract @param insuranceCase true if insurance case, false if no insurance case
function endContract(bool insuranceCase) internal { isActive = false; payBackLink(); factory.payout(insuranceCase); }
1,087,786
[ 1, 4625, 348, 7953, 560, 30, 225, 3930, 326, 2763, 295, 1359, 6835, 632, 891, 2763, 295, 1359, 2449, 638, 309, 2763, 295, 1359, 648, 16, 629, 309, 1158, 2763, 295, 1359, 648, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 679, 8924, 12, 6430, 2763, 295, 1359, 2449, 13, 2713, 288, 203, 3639, 15083, 273, 629, 31, 203, 3639, 8843, 2711, 2098, 5621, 203, 3639, 3272, 18, 84, 2012, 12, 2679, 295, 1359, 2449, 1769, 203, 565, 289, 203, 2, -100...
./full_match/1/0x3c1164531d5857029ae5412E49999306547834d8/sources/@rmrk-team/evm-contracts/contracts/RMRK/access/Ownable.sol
* @notice Adds or removes a contributor to the smart contract. @dev Can only be called by the owner. @dev Emits ContributorUpdate event. @param contributor Address of the contributor's account @param grantRole A boolean value signifying whether the contributor role is being granted (`true`) or revoked (`false`)/
function manageContributor( address contributor, bool grantRole ) external onlyOwner { if (contributor == address(0)) revert RMRKNewContributorIsZeroAddress(); grantRole ? _contributors[contributor] = 1 : _contributors[contributor] = 0; emit Contri...
9,657,642
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 15605, 578, 7157, 279, 31123, 358, 326, 13706, 6835, 18, 632, 5206, 4480, 1338, 506, 2566, 635, 326, 3410, 18, 632, 5206, 7377, 1282, 735, 19293, 1891, 871, 18, 632, 891, 31123, 5267, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10680, 442, 19293, 12, 203, 3639, 1758, 31123, 16, 203, 3639, 1426, 7936, 2996, 203, 565, 262, 3903, 1338, 5541, 288, 203, 3639, 309, 261, 591, 19293, 422, 1758, 12, 20, 3719, 15226, 534, 23464, 47, 1908, 442, 19293, 25...
./partial_match/137/0x5F2Cdb8D6fc4Ceed5d9B983fEb8C20e1B8A99c53/sources/project_/contracts/GenesisAvatar.sol
Counters contract required variable Access control roles External roles for avatar management Family variables Avatar attributes Family badge token address Royalties information
{ using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); bytes32 public constant ROYALTIES_EDITOR_ROLE = keccak256("ROYALTIES_EDITOR_ROLE"); bytes32 public constant TRIBE_EDITOR_ROLE = keccak256("TRIBE_EDITOR...
3,515,592
[ 1, 4625, 348, 7953, 560, 30, 225, 9354, 87, 6835, 1931, 2190, 5016, 3325, 4900, 11352, 4900, 364, 16910, 11803, 19343, 3152, 8789, 8761, 1677, 19343, 15654, 1147, 1758, 534, 13372, 2390, 606, 1779, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 95, 203, 565, 1450, 9354, 87, 364, 9354, 87, 18, 4789, 31, 203, 203, 565, 9354, 87, 18, 4789, 3238, 389, 2316, 548, 4789, 31, 203, 203, 565, 1731, 1578, 1071, 5381, 20972, 16302, 67, 16256, 273, 417, 24410, 581, 5034, 2932, 194...
pragma solidity 0.5.17; // Libraries // Commons // Interfaces import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol"; import "../interfaces/LendingPoolInterface.sol"; import "../interfaces/LendersInterface.sol"; import "../interfaces/LoansInterface.sol"; import "../interfaces/TTokenInterf...
this function withdraws 'amount' lending tokens from compound another function exists to withdraw 'amount' cTokens of lending tokens
uint256 redeemResult = CErc20Interface(cToken).redeemUnderlying(amount);
1,037,779
[ 1, 4625, 348, 7953, 560, 30, 225, 333, 445, 598, 9446, 87, 296, 8949, 11, 328, 2846, 2430, 628, 11360, 4042, 445, 1704, 358, 598, 9446, 296, 8949, 11, 276, 5157, 434, 328, 2846, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 283, 24903, 1253, 273, 29538, 1310, 3462, 1358, 12, 71, 1345, 2934, 266, 24903, 14655, 6291, 12, 8949, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.7.4; import "./TellorStake.sol"; import "./TellorGetters.sol"; import "./Utilities.sol"; import "./ITellor.sol"; import "./SafeMath.sol"; /** * @title Tellor Oracle System * @dev Oracle contract where miners can submit the proof of work along with the value. */ con...
* @dev This is an internal function called by updateOnDeck that gets the top 5 values @param data is an array [51] to determine the top 5 values from @return max the top 5 values and their index values in the data array/
function _getMax5(uint256[51] memory data) internal pure returns (uint256[5] memory max, uint256[5] memory maxIndex) { uint256 min5 = data[1]; uint256 minI = 0; for (uint256 j = 0; j < 5; j++) { if (max[j] < min5) { min5 = max[j]; ...
6,847,308
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1220, 353, 392, 2713, 445, 2566, 635, 1089, 1398, 758, 363, 716, 5571, 326, 1760, 1381, 924, 632, 891, 501, 353, 392, 526, 306, 10593, 65, 358, 4199, 326, 1760, 1381, 924, 628, 632, 246...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 2747, 25, 12, 11890, 5034, 63, 10593, 65, 3778, 501, 13, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 11890, 5034, 63, 25, 65, 3778, 943, 16, 2254, 5034, 63, 25, 65, 3778, 30764, 13, 203, 565, ...
./full_match/137/0x9Ba644eA82a34997d9dAB6e33Be0c5302a6a3F00/sources/contracts/LightTowersDB.sol
* @notice Pool of available actions to exclude. Every action from this pool represents one item that can be picked up in the game/
uint256[] private EXCLUDE_POOL = [0, 1, 2, 3, 21, 22, 23, 26];
4,692,485
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 8828, 434, 2319, 4209, 358, 4433, 18, 16420, 1301, 628, 333, 2845, 8686, 1245, 761, 716, 848, 506, 25534, 731, 316, 326, 7920, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2254, 5034, 8526, 3238, 5675, 14829, 67, 20339, 273, 306, 20, 16, 404, 16, 576, 16, 890, 16, 9035, 16, 11201, 16, 10213, 16, 10659, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/5/0xBc5D4524518E1af5cbFcFbC7fF0534fa4E59F94b/sources/contracts/SimiDAO.sol
media link of the proposal
string media;
1,919,145
[ 1, 4625, 348, 7953, 560, 30, 225, 3539, 1692, 434, 326, 14708, 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, 533, 3539, 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, -100, ...
./full_match/1/0xac6F8dCfDa428E81d34986997020c33970195913/sources/src/Core.sol
* @dev Bridges funds in native or erc20 and a payment transaction payload to the destination chain @param lzBridgeData The configuration for the cross bridge transaction @param tokenData The token swap data and payment transaction payload @param lzTxObj The configuration of gas and dust for post bridge execution/ if we...
function bridgeAndExecute( LzBridgeData calldata lzBridgeData, TokenData calldata tokenData, IStargateRouter.lzTxObj calldata lzTxObj ) external payable handleFees(lzBridgeData.fee, tokenData.amountIn, tokenData.tokenIn, tokenData.nativeOut) { if (tokenData.nativeOut > 0) { ...
2,913,350
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 605, 1691, 2852, 284, 19156, 316, 6448, 578, 6445, 71, 3462, 471, 279, 5184, 2492, 2385, 358, 326, 2929, 2687, 632, 891, 328, 94, 13691, 751, 1021, 1664, 364, 326, 6828, 10105, 2492, 632,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 10105, 1876, 5289, 12, 203, 3639, 511, 94, 13691, 751, 745, 892, 328, 94, 13691, 751, 16, 203, 3639, 3155, 751, 745, 892, 1147, 751, 16, 203, 3639, 467, 510, 3175, 340, 8259, 18, 80, 94, 4188, 2675, 745, 892, 328, 9...
./partial_match/42/0x513ab2fF8A22efF2085D7a3E79485F0ef3Eb2a3E/sources/Launchpad.sol
? what the use of this function, if it's already been declared in constructor
function startPresale() external onlyOwner returns (bool) { presaleOver = false; return presaleOver; } address[] private arr = [ ];
3,310,355
[ 1, 4625, 348, 7953, 560, 30, 692, 4121, 326, 999, 434, 333, 445, 16, 309, 518, 1807, 1818, 2118, 7886, 316, 3885, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 787, 12236, 5349, 1435, 3903, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 3639, 4075, 5349, 4851, 273, 629, 31, 203, 3639, 327, 4075, 5349, 4851, 31, 203, 565, 289, 203, 203, 565, 1758, 8526, 3238, 2454, 273, 306, 203, ...
./full_match/80001/0x302b2a31921abB5dC7fD66527aEc0d07f1D528e5/sources/diamond/service/ServiceFacet.sol
for by the number of Service SLAs
for(uint i = 0; i < returnedService.serviceSLAMap[_serviceId].length; i++){
5,667,047
[ 1, 4625, 348, 7953, 560, 30, 364, 635, 326, 1300, 434, 1956, 348, 48, 1463, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 364, 12, 11890, 277, 273, 374, 31, 277, 411, 2106, 1179, 18, 3278, 55, 2534, 863, 63, 67, 3278, 548, 8009, 2469, 31, 277, 27245, 95, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.11; // <ORACLIZE_API> /* Copyright (c) 2015-2016 Oraclize SRL Copyright (c) 2016 Oraclize LTD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including w...
When the bet's event is expected to end
uint public EXPECTED_END = 1523482200;
10,236,097
[ 1, 4625, 348, 7953, 560, 30, 225, 5203, 326, 2701, 1807, 871, 353, 2665, 358, 679, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2254, 1071, 5675, 23615, 67, 4415, 273, 4711, 4366, 8875, 3787, 713, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/1/0xdefac16715671b7b6aeeFE012125f1E19Ee4b7d7/sources/_BlockwellQuill.sol
* @dev Set data on the account. Blockwell Exclusive (Intellectual Property that lives on-chain via Smart License)/
function set( Data storage data, address account, bytes memory value ) internal { require(account != address(0)); data.data[account] = value; }
2,630,741
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1000, 501, 603, 326, 2236, 18, 3914, 30389, 1312, 9173, 261, 27233, 1582, 1462, 4276, 716, 328, 3606, 603, 17, 5639, 3970, 19656, 16832, 13176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 12, 203, 3639, 1910, 2502, 501, 16, 203, 3639, 1758, 2236, 16, 203, 3639, 1731, 3778, 460, 203, 565, 262, 2713, 288, 203, 3639, 2583, 12, 4631, 480, 1758, 12, 20, 10019, 203, 3639, 501, 18, 892, 63, 4631, 65, 2...
// Dependency file: src/interfaces/IAxelarGateway.sol // SPDX-License-Identifier: MIT // pragma solidity >=0.8.0 <0.9.0; interface IAxelarGateway { /**********\ |* Events *| \**********/ event Executed(bytes32 indexed commandId); event TokenDeployed(string symbol, address tokenAddresses); ...
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. These functions can be used to verify that a message was signed by the holder of the private keys of a given address./
library ECDSA { function recover(bytes32 hash, bytes memory signature) internal pure returns (address signer) { require(signature.length == 65, 'INV_LEN'); bytes32 r; bytes32 s; uint8 v; assembly { r := mload(add(signature, 0x20)) s := mload(add(si...
10,943,198
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10426, 549, 21507, 22901, 11678, 7053, 9249, 15067, 261, 7228, 19748, 13, 5295, 18, 8646, 4186, 848, 506, 1399, 358, 3929, 716, 279, 883, 1703, 6726, 635, 326, 10438, 434, 326, 3238, 1311, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 7773, 19748, 288, 203, 203, 203, 565, 445, 5910, 12, 3890, 1578, 1651, 16, 1731, 3778, 3372, 13, 2713, 16618, 1135, 261, 2867, 10363, 13, 288, 203, 3639, 2583, 12, 8195, 18, 2469, 422, 15892, 16, 296, 706, 58, 67, 13017, ...
pragma solidity ^0.4.23; import "../util/Ownable.sol"; import "../util/SafeMath.sol"; import "../storage/KeyValueStorage.sol"; /** * @title IPOrganisations * @author Civic Ledger */ contract IPOrganisations is Ownable { using SafeMath for uint256; // contract for centralised storage KeyValueStora...
@dev Add IP token type @param _ipoIndex Index of IPO to add IP type to @param _ipTypeName Name of the IP right type @param _ipTypeTokenAddress Address of the IP right type token must not be empty name must not be empty address
function ipTypeAdd(uint256 _ipoIndex, string _ipTypeName, address _ipTypeTokenAddress) external onlyExistingIPO(_ipoIndex) onlyIPOAuthorisedAdmin(_ipoIndex) { require(bytes(_ipTypeName).length > 0); require(_ipTypeTokenAddress != 0x0); uint256 newTokenInd...
12,567,183
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1436, 2971, 1147, 618, 632, 891, 389, 625, 83, 1016, 3340, 434, 467, 2419, 358, 527, 2971, 618, 358, 632, 891, 389, 625, 7947, 1770, 434, 326, 2971, 2145, 618, 632, 891, 389, 625, 559, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2359, 559, 986, 12, 11890, 5034, 389, 625, 83, 1016, 16, 533, 389, 625, 7947, 16, 1758, 389, 625, 559, 1345, 1887, 13, 203, 3639, 3903, 203, 3639, 1338, 9895, 45, 2419, 24899, 625, 83, 1016, 13, 203, 3639, 1338, 45, ...
pragma solidity ^0.4.18; import "./oraclizeAPI_0.5.sol"; interface ERC20Contract { function transfer(address _to, uint256 _value) external returns (bool); } contract USDOracle is usingOraclize { /** * Price in cents as returned by the gdax api * https://www.gdax.com/trade/ETH-USD **/ uint256 public p...
* Administration, ensure a cold stored key is kept as an operator./
modifier operator() { require(operators[msg.sender]); _; }
987,027
[ 1, 4625, 348, 7953, 560, 30, 380, 7807, 4218, 16, 3387, 279, 645, 72, 4041, 498, 353, 16555, 487, 392, 3726, 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, ...
[ 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, 225, 9606, 3726, 1435, 288, 203, 565, 2583, 12, 30659, 63, 3576, 18, 15330, 19226, 203, 565, 389, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.19; /** * Ownership interface * * Perminent ownership * * #created 01/10/2017 * #author Frank Bonnet */ interface IOwnership { /** * Returns true if `_account` is the current owner * * @param _account The address to test against */ function isOwner(address _acco...
* Extracts tokens from the contract @param _tokenContract The address of ERC20 compatible token/
function retrieveTokens(address _tokenContract) public { IToken tokenInstance = IToken(_tokenContract); uint tokenBalance = tokenInstance.balanceOf(this); if (tokenBalance > 0) { tokenInstance.transfer(msg.sender, tokenBalance); } }
1,663,147
[ 1, 4625, 348, 7953, 560, 30, 380, 8152, 87, 2430, 628, 326, 6835, 632, 891, 389, 2316, 8924, 1021, 1758, 434, 4232, 39, 3462, 7318, 1147, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4614, 5157, 12, 2867, 389, 2316, 8924, 13, 1071, 288, 203, 3639, 467, 1345, 1147, 1442, 273, 467, 1345, 24899, 2316, 8924, 1769, 203, 3639, 2254, 1147, 13937, 273, 1147, 1442, 18, 12296, 951, 12, 2211, 1769, 203, 3639, ...
/** *Submitted for verification at Etherscan.io on 2021-08-10 */ /** *Submitted for verification at Etherscan.io on 2021-06-29 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context...
IPFS URL WILL BE ADDED WHEN skullS ARE ALL SOLD OUT
string public skull_PROVENANCE = "";
6,063,059
[ 1, 4625, 348, 7953, 560, 30, 225, 2971, 4931, 1976, 678, 15125, 9722, 11738, 7660, 29707, 4343, 420, 55, 432, 862, 8061, 348, 11846, 8210, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 533, 1071, 4343, 420, 67, 3373, 58, 1157, 4722, 273, 1408, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0xFF9CF325bfA593f7dBDBd7a3e21966Ca53cf7d71/sources/contracts/artist/common/simple-minter/WildXYZMinterPresale.sol
@dev Sets the admin signer address.
function _setAdminSigner(address _adminSigner) internal { adminSigner = _adminSigner; }
3,214,306
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 11511, 326, 3981, 10363, 1758, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 542, 4446, 15647, 12, 2867, 389, 3666, 15647, 13, 2713, 288, 203, 565, 3981, 15647, 273, 389, 3666, 15647, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/1/0x2fC246149B4B8d7bcEF6188A10AF1791380227f1/sources/src/BaseWithStorage/ERC20Group.sol
@notice return the current total supply of a specific subToken. @param id subToken id. @return supply current total number of tokens.
function supplyOf(uint256 id) external view returns (uint256 supply) { (uint256 bin, uint256 index) = id.getTokenBinIndex(); return _packedSupplies[bin].getValueInBin(index); }
8,434,506
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 327, 326, 783, 2078, 14467, 434, 279, 2923, 720, 1345, 18, 632, 891, 612, 720, 1345, 612, 18, 632, 2463, 14467, 783, 2078, 1300, 434, 2430, 18, 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, 14467, 951, 12, 11890, 5034, 612, 13, 3903, 1476, 1135, 261, 11890, 5034, 14467, 13, 288, 203, 3639, 261, 11890, 5034, 4158, 16, 2254, 5034, 770, 13, 273, 612, 18, 588, 1345, 9913, 1016, 5621, 203, 3639, 327, 389, 2920,...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.1; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; import "./CrowdsaleERC20Chainlink.sol"; contract Staking { constructor(address crowdAddress) public { tokenAN...
send to the user the reward with the tokenANTC
function GiveRewards() internal { require(stakers[msg.sender].amountReward != 0, "Reward is not yet calculated"); tokenANTC.transferFrom(address(this), msg.sender, stakers[msg.sender].amountReward); }
2,537,038
[ 1, 4625, 348, 7953, 560, 30, 225, 1366, 358, 326, 729, 326, 19890, 598, 326, 1147, 6856, 39, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 22374, 17631, 14727, 1435, 2713, 288, 203, 3639, 2583, 12, 334, 581, 414, 63, 3576, 18, 15330, 8009, 8949, 17631, 1060, 480, 374, 16, 315, 17631, 1060, 353, 486, 4671, 8894, 8863, 203, 3639, 1147, 6856, 39, 18, 13866, 1...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/cont...
* @dev Function to allow LPs to claim the fee earned on their NFT @param _nftId ID of NFT where liquidity is recorded/ Calculate rewards accumulated Calculate amount of lp shares that represent accumulated Fee
function claimFee(uint256 _nftId) external onlyValidLpToken(_nftId, _msgSender()) whenNotPaused nonReentrant { (address _tokenAddress, uint256 nftSuppliedLiquidity, uint256 totalNFTShares) = lpToken.tokenMetadata(_nftId); require(_isSupportedToken(_tokenAddress), "ERR__TOKEN_NOT_SUPPORTED"); ...
12,983,644
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 1699, 511, 18124, 358, 7516, 326, 14036, 425, 1303, 329, 603, 3675, 423, 4464, 632, 891, 389, 82, 1222, 548, 1599, 434, 423, 4464, 1625, 4501, 372, 24237, 353, 16421, 19, 9029,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 14667, 12, 11890, 5034, 389, 82, 1222, 548, 13, 3903, 1338, 1556, 48, 84, 1345, 24899, 82, 1222, 548, 16, 389, 3576, 12021, 10756, 1347, 1248, 28590, 1661, 426, 8230, 970, 288, 203, 3639, 261, 2867, 389, 2316, 188...
pragma solidity ^0.4.24; /** * * ETH 5% Contract * - GAIN 5% PER 24 HOURS (every 5900 blocks) * - No fees on your investment * * How to use: * 1. Send any amount of ether to make an investment * 2a) Claim your profit by sending 0 ether transaction * OR * 2b) Send more ether to reinvest AND...
if sender is invested more than 0 ether calculate profit amount as such: amount = (amount invested) * 5% * (blocks since last transaction) / 5900 5900 is an average block count per day produced by Ethereum blockchain send calculated amount of ether directly to sender
function () external payable { if (invested[msg.sender] != 0) { uint256 amount = invested[msg.sender] * 5/100 * (block.number - atBlock[msg.sender]) / 5900; address sender = msg.sender; sender.send(amount); } invested[msg.sender] += msg.value; }
12,689,553
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 5793, 353, 2198, 3149, 1898, 2353, 374, 225, 2437, 4604, 450, 7216, 3844, 487, 4123, 30, 3844, 273, 261, 8949, 2198, 3149, 13, 380, 1381, 9, 380, 261, 7996, 3241, 1142, 2492, 13, 342, 14995, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1832, 3903, 8843, 429, 288, 203, 3639, 309, 261, 5768, 3149, 63, 3576, 18, 15330, 65, 480, 374, 13, 288, 203, 5411, 2254, 5034, 3844, 273, 2198, 3149, 63, 3576, 18, 15330, 65, 380, 1381, 19, 6625, 380, 261, 2629, 18, ...
./partial_match/42/0x01e3388d77ea7a7eB7e531C897B8037Ae8fECC59/sources/DFG.sol
Replace RFI mainnet address
path[1] = address(0xa8fEc142fE13f2481a2343dCa99415273249E47C);
3,437,010
[ 1, 4625, 348, 7953, 560, 30, 225, 6910, 534, 1653, 2774, 2758, 1758, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 589, 63, 21, 65, 273, 1758, 12, 20, 6995, 28, 74, 23057, 29126, 74, 41, 3437, 74, 3247, 11861, 69, 4366, 8942, 72, 23508, 2733, 24, 3600, 5324, 1578, 7616, 41, 9462, 39, 1769, 225, 2, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x2fA6F0A65886123AFD24A575aE4554d0FCe8B577/sources/lib/aave-address-book/src/GovernanceV3.sol
action failed to execute
string public constant FAILED_ACTION_EXECUTION = '29';
2,655,822
[ 1, 4625, 348, 7953, 560, 30, 225, 1301, 2535, 358, 1836, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 533, 1071, 5381, 18497, 67, 12249, 67, 15271, 13269, 273, 296, 5540, 13506, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.0; //pragma- additional info // ^ - version this or higher contract Adoption { address[16] public adopters; // Length is pre-defined to number of dogs in the pet store // Public variables auto-generate the getter functions, however it will require a key, to get the whole array we'll w...
Check if the petId is valid. Assign the address of the message sender to the adopters in the index corresponding to the petId return id of the pet that is adopted as a confirmation.
function adopt(uint petId) public returns (uint) { require (petId >= 0 && petId <= 15); adopters[petId] = msg.sender; return petId; }
2,479,584
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 326, 293, 278, 548, 353, 923, 18, 12093, 326, 1758, 434, 326, 883, 5793, 358, 326, 1261, 3838, 414, 316, 326, 770, 4656, 358, 326, 293, 278, 548, 327, 612, 434, 326, 293, 278, 716, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1261, 3838, 12, 11890, 293, 278, 548, 13, 1071, 1135, 261, 11890, 13, 288, 203, 3639, 2583, 261, 6951, 548, 1545, 374, 597, 293, 278, 548, 1648, 4711, 1769, 203, 203, 3639, 1261, 3838, 414, 63, 6951, 548, 65, 273, 123...
pragma solidity 0.4.24; import "./ERCProxy.sol"; /** * @title Proxy * @dev Gives the possibility to delegate any call to a foreign implementation. * @dev source https://github.com/zeppelinos/labs/blob/master/upgradeability_using_unstructured_storage/contracts/Proxy.sol */ contract Proxy is ERCProxy { // Stor...
* @dev Sets the proxyTypeId. Should be called from the Proxy constructor @param _proxyTypeId uint representing Forwarding Proxy (id = 1) or Upgradeable Proxy (id = 2);/
function setProxyTypeId (uint256 _proxyTypeId) internal { require(_proxyTypeId == 1 || _proxyTypeId == 2, "Must be type 1 or 2"); bytes32 position = typeIdPosition; sstore(position, _proxyTypeId) }
1,047,665
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 2889, 11731, 18, 9363, 506, 2566, 628, 326, 7659, 3885, 632, 891, 389, 5656, 11731, 2254, 5123, 17206, 310, 7659, 261, 350, 273, 404, 13, 578, 17699, 429, 7659, 261, 350, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 3886, 11731, 261, 11890, 5034, 389, 5656, 11731, 13, 2713, 288, 203, 3639, 2583, 24899, 5656, 11731, 422, 404, 747, 389, 5656, 11731, 422, 576, 16, 315, 10136, 506, 618, 404, 578, 576, 8863, 203, 3639, 1731, 1578, ...
./full_match/42/0x3cA23d31A513Cde2ea5d59Cfcd8fb9abe7306137/sources/browser/contracts/NFTX/NFT20Swapper.sol
return with function selector
return this.onERC721Received.selector;
9,581,723
[ 1, 4625, 348, 7953, 560, 30, 225, 327, 598, 445, 3451, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 327, 333, 18, 265, 654, 39, 27, 5340, 8872, 18, 9663, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/3/0xBcc008d20736433605c6b61f185d3B605440Eb5f/sources/pool.sol
* @notice buy options via USDT, pool receive premium/ if the option has expired settle first
function buy(uint amount, IOption optionContract, uint round) external override whenBuyerNotPaused returns(bool) { update(); }
5,123,003
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 30143, 702, 3970, 11836, 9081, 16, 2845, 6798, 23020, 5077, 19, 309, 326, 1456, 711, 7708, 444, 5929, 1122, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30143, 12, 11890, 3844, 16, 1665, 375, 1456, 8924, 16, 2254, 3643, 13, 3903, 3849, 1347, 38, 16213, 1248, 28590, 1135, 12, 6430, 13, 288, 203, 5411, 1089, 5621, 203, 3639, 289, 203, 540, 203, 2, -100, -100, -100, -100, ...