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
// ----------------------------------------------------------------------------- // File RUS_SA_SUBJECT_VERB.SOL // // (c) Koziev Elijah // // Content: // Синтаксический анализатор: связь подлежащих со сказуемыми // // Подробнее о правилах: http://www.solarix.ru/for_developers/docs/rules.shtml // ---------------------...
БЫЛА ОДНА КУРТКА КРАСИВА БЫЛА ОДНА КОШКА ХИТРАЯ
{ if context { } } operator SubjectVerb_60 : LINK_SUBJECT_VERB
12,586,196
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 244, 145, 109, 145, 254, 145, 243, 225, 145, 257, 145, 247, 145, 256, 145, 243, 225, 145, 253, 145, 101, 145, 259, 145, 100, 145, 253, 145, 243, 225, 145, 253, 145, 259, 145, 243, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 288, 203, 225, 309, 819, 288, 203, 2398, 289, 203, 289, 203, 203, 3726, 9912, 16281, 67, 4848, 294, 22926, 67, 8362, 5304, 67, 2204, 38, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/97/0xeA27990d60f2b436Ec91B5978C8DbbaD63009E42/sources/project_/contracts/CoreNFT.sol
************************************************************************ get the status/
function getNftType(uint nftID) external view returns(uint) { require(nftID <= currentTokenId.current(), "unvalid nft id"); return _mintedNftType[nftID]; }
5,025,801
[ 1, 4625, 348, 7953, 560, 30, 19756, 27243, 336, 326, 1267, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 377, 445, 11069, 1222, 559, 12, 11890, 290, 1222, 734, 13, 3903, 1476, 1135, 12, 11890, 13, 288, 203, 3639, 2583, 12, 82, 1222, 734, 1648, 23719, 548, 18, 2972, 9334, 315, 318, 877, 290, 1222, 612, 8863, 203, 203, 3639, 327, 38...
./full_match/3/0xa8Ae142364dD32ca1cf6e398e675DBB331f73c84/sources/ico_contract/ICO.sol
Finalized Pre crowdsele.
function finalize() public onlyOwner { finalized = true; uint256 tokensAmount = token.balanceOf(address(this)); token.transferFrom(address(this),owner(), tokensAmount); }
8,123,647
[ 1, 4625, 348, 7953, 560, 30, 225, 16269, 1235, 2962, 276, 492, 72, 1786, 73, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12409, 1435, 1071, 1338, 5541, 288, 203, 3639, 727, 1235, 273, 638, 31, 203, 3639, 2254, 5034, 2430, 6275, 273, 1147, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 1147, 18, 13866, 1265, 12, 2867, 12, 2211, 3631...
pragma solidity ^0.4.23; contract ERC20Interface { uint256 public totalSupply; uint256 public decimals; function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _...
F17 - owner remove free eth
function O8_WithdrawSpecialEth(uint256 amount) onlyOwner public { require(amount > 0); uint256 freeBalance = address(this).balance - TotalBalances[0x0]; require(freeBalance >= amount); msg.sender.transfer(amount); }
5,431,564
[ 1, 4625, 348, 7953, 560, 30, 225, 478, 4033, 300, 3410, 1206, 4843, 13750, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 531, 28, 67, 1190, 9446, 12193, 41, 451, 12, 11890, 5034, 3844, 13, 1338, 5541, 1071, 203, 565, 288, 203, 3639, 2583, 12, 8949, 405, 374, 1769, 7010, 3639, 2254, 5034, 4843, 13937, 273, 1758, 12, 2211, 2934, 12296, 300,...
./partial_match/1/0x99373AE646ed89b9A466c4256b09b10dbCC07B40/sources/contracts/concentrator/AladdinConvexVault.sol
The amount of shares the user deposited. The amount of current accrued rewards. The reward per share already paid for the user, with 1e18 precision.
struct UserInfo { uint128 shares; uint128 rewards; uint256 rewardPerSharePaid; } uint256 internal constant PRECISION = 1e18; uint256 internal constant FEE_DENOMINATOR = 1e9;
9,294,013
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3844, 434, 24123, 326, 729, 443, 1724, 329, 18, 1021, 3844, 434, 783, 4078, 86, 5957, 283, 6397, 18, 1021, 19890, 1534, 7433, 1818, 30591, 364, 326, 729, 16, 598, 404, 73, 2643, 6039, 18, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 1958, 25003, 288, 203, 565, 2254, 10392, 24123, 31, 203, 565, 2254, 10392, 283, 6397, 31, 203, 565, 2254, 5034, 19890, 2173, 9535, 16507, 350, 31, 203, 225, 289, 203, 203, 225, 2254, 5034, 2713, 5381, 7071, 26913, 273, 404, ...
pragma solidity ^0.4.21; /** * Math operations with safety checks */ library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal pure returns (uint) { // assert(b > 0); // Solidity...
update order revert anything update order revert anything
function sellNac(uint _value, address _buyer, uint _price) public returns (bool success) { require(_price == bid[_buyer].price && _buyer != msg.sender); NamiCrowdSale namiToken = NamiCrowdSale(NamiAddr); uint ethOfBuyer = bid[_buyer].eth; uint maxToken = ethOfBuyer.mul(bid[_buyer].pr...
7,913,963
[ 1, 4625, 348, 7953, 560, 30, 225, 1089, 1353, 15226, 6967, 1089, 1353, 15226, 6967, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 357, 80, 50, 1077, 12, 11890, 389, 1132, 16, 1758, 389, 70, 16213, 16, 2254, 389, 8694, 13, 1071, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 2583, 24899, 8694, 422, 9949, 63, 67, 70, 16213, 8009, 8694, 597, 389, 70, ...
/** * Copyright 2016 Everex https://everex.io * * 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 appli...
Concatenates two strings */
function concat(string _s1, string _s2) internal returns (string) { bytes memory bs1 = bytes(_s1); bytes memory bs2 = bytes(_s2); string memory s3 = new string(bs1.length + bs2.length); bytes memory bs3 = bytes(s3); uint256 j = 0; for (uint256 i = 0; i < bs1.length; ...
12,723,709
[ 1, 4625, 348, 7953, 560, 30, 225, 23873, 275, 815, 2795, 2064, 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, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3835, 12, 1080, 389, 87, 21, 16, 533, 389, 87, 22, 13, 2713, 1135, 261, 1080, 13, 288, 203, 3639, 1731, 3778, 7081, 21, 273, 1731, 24899, 87, 21, 1769, 203, 3639, 1731, 3778, 7081, 22, 273, 1731, 24899, 87, 22, 1769...
./partial_match/1/0x70F2D63F43174Ed08AaDaA7C3Db9740C140Cf543/sources/GeneralizedTCR.sol
The time after which a request becomes executable if not challenged.
uint public challengePeriodDuration;
3,687,543
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 813, 1839, 1492, 279, 590, 12724, 9070, 309, 486, 462, 7862, 2423, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1071, 12948, 5027, 5326, 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,...
pragma solidity ^0.4.20; /* ____ /\' .\ _____ /: \___\ / . /\ \' / . / /____/..\ \/___/ \' '\ / \'__'\/ Developer: TechnicalRise */ contract PHXReceivingContract { /** * @dev Standard ERC223 function that will handle incoming token transfers. * * @param _from ...
i.e. if it's "heads"
if(_prand(2) == 1) {
10,199,141
[ 1, 4625, 348, 7953, 560, 30, 225, 277, 18, 73, 18, 309, 518, 1807, 315, 20263, 6, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 309, 24899, 683, 464, 12, 22, 13, 422, 404, 13, 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, -1...
./partial_match/1/0x062Ec4e75EFa2001ACD654843827d1800C8568F1/sources/Work/ERC721A.sol
* the Metadata extension. Built to optimize for lower gas during batch mints. Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). Assumes that an owner cannot have more than 264 - 1 (max value of uint64) of supply. Assumes that the maximum token id cannot exceed 2256 ...
contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; uint256 internal _currentIndex; uint256 internal _burnCounter; string private _name; string private _symbol; mapping(uint256 => TokenOwnership) internal _ownerships; mapping(addres...
2,803,530
[ 1, 4625, 348, 7953, 560, 30, 380, 326, 6912, 2710, 18, 27376, 358, 10979, 364, 2612, 16189, 4982, 2581, 312, 28142, 18, 25374, 2734, 87, 854, 695, 6979, 6261, 312, 474, 329, 5023, 622, 389, 1937, 1345, 548, 1435, 261, 7606, 358, 374...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 37, 353, 1772, 16, 4232, 39, 28275, 16, 467, 654, 39, 27, 5340, 37, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 2713, 389, 2972, 1...
pragma solidity >= 0.5.0; contract IF_EAS_artworks{ mapping(address => uint32) public ownerArtworkCount; // saves the number of artworks for each user(address) mapping(uint32 => uint[]) public tokenIds; // type --> token IDs mapping(uint => string) public tokenURIs; // tokenId ...
type --> token IDs
mapping(uint32 => uint[]) public tokenIds;
12,687,212
[ 1, 4625, 348, 7953, 560, 30, 225, 618, 15431, 1147, 7115, 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, 2874, 12, 11890, 1578, 516, 2254, 63, 5717, 282, 1071, 1147, 2673, 31, 5411, 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, -1...
./full_match/1/0x003163a2EE51ce13ba6d453F06F0426D8F04f719/sources/browser/DSProxy.sol
@title Implements Action interface and common helpers for pasing inputs
abstract contract ActionBase { address public constant REGISTRY_ADDR = 0x5FbDB2315678afecb367f032d93F642f64180aa3; DFSRegistry public constant registry = DFSRegistry(REGISTRY_ADDR); DefisaverLogger public constant logger = DefisaverLogger( 0x5c55B921f590a89C1Ebe84dF170E655a82b62126 ); stri...
4,879,233
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 29704, 4382, 1560, 471, 2975, 9246, 364, 293, 11730, 4540, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17801, 6835, 4382, 2171, 288, 203, 565, 1758, 1071, 5381, 11980, 25042, 67, 14142, 273, 374, 92, 25, 42, 70, 2290, 4366, 28946, 8285, 1727, 557, 70, 5718, 27, 74, 20, 1578, 72, 11180, 42, 1105, 22, 74, 1105, 18278, 7598, 23, 31...
./full_match/5/0x9427185F1dC8c2C4c3140cE0a2b69Cd28d31C943/sources/contracts/DoubleDiceToken.sol
epsilon = excludedCirculatingSupply / totalCirculatingSupply <= 0.5
function _checkOverflowProtectionAssumptionsDistributeYield(uint256 totalCirculatingSupply, uint256 excludedCirculatingSupply) internal pure { require((excludedCirculatingSupply * _ASSUMED_MIN_TOTAL_CIRCULATING_TO_EXCLUDED_CIRCULATING_SUPPLY_RATIO) <= totalCirculatingSupply, "Broken assumption"); } ...
1,857,851
[ 1, 4625, 348, 7953, 560, 30, 225, 12263, 273, 8845, 10887, 1934, 1776, 3088, 1283, 342, 2078, 10887, 1934, 1776, 3088, 1283, 1648, 374, 18, 25, 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, 445, 389, 1893, 15526, 16938, 2610, 379, 573, 1669, 887, 16348, 12, 11890, 5034, 2078, 10887, 1934, 1776, 3088, 1283, 16, 2254, 5034, 8845, 10887, 1934, 1776, 3088, 1283, 13, 2713, 16618, 288, 203, 3639, 2583, 12443, 24602, 1088...
./partial_match/421613/0xE6Db969E4d0615F1A6071e8F806055662676cEF6/sources/contracts/protocol/libraries/logic/ValidationLogic.sol
* @dev Validates a stable borrow rate rebalance action @param reserve The reserve state on which the user is getting rebalanced @param reserveAddress The address of the reserve @param stableDebtToken The stable debt token instance @param variableDebtToken The variable debt token instance @param zTokenAddress The addres...
function validateRebalanceStableBorrowRate( DataTypes.ReserveData storage reserve, address reserveAddress, IERC20 stableDebtToken, IERC20 variableDebtToken, address zTokenAddress ) external view { (bool isActive, , , ) = reserve.configuration.getFlags(); require(isActive, Errors.VL_NO_A...
16,825,100
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2364, 815, 279, 14114, 29759, 4993, 283, 12296, 1301, 632, 891, 20501, 1021, 20501, 919, 603, 1492, 326, 729, 353, 8742, 283, 12296, 72, 632, 891, 20501, 1887, 1021, 1758, 434, 326, 20501, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 1954, 426, 12296, 30915, 38, 15318, 4727, 12, 203, 565, 1910, 2016, 18, 607, 6527, 751, 2502, 20501, 16, 203, 565, 1758, 20501, 1887, 16, 203, 565, 467, 654, 39, 3462, 14114, 758, 23602, 1345, 16, 203, 565, 467, 654, ...
./partial_match/1/0x623D626193e32f71D6B9d40c17A155483aE015FB/sources/AMICOIN.sol
* @dev transfer token for a specified address @param _to The address to transfer to. @param _value The amount to be transferred./ SafeMath.sub will throw if there is not enough balance.
function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(canTransfer(msg.sender)); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; ...
2,674,002
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7412, 1147, 364, 279, 1269, 1758, 632, 891, 389, 869, 1021, 1758, 358, 7412, 358, 18, 632, 891, 389, 1132, 1021, 3844, 358, 506, 906, 4193, 18, 19, 14060, 10477, 18, 1717, 903, 604, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 13, 288, 203, 565, 2583, 24899, 869, 480, 1758, 12, 20, 10019, 203, 565, 2583, 12, 4169, 5912, 12, 3576, 18, 15330, 10019, 203, 377, 203,...
./full_match/43114/0x93f7F95b7c43b914f6399454089295936e8c5feD/sources/contracts/Router.sol
* Return path with best returns between two tokens Takes gas-cost into account/ Find the market price between AVAX and token-out and express gas price in token-out currency Leave result nWei to preserve digits for assets with low decimal places If no paths are found return empty struct
function findBestPathWithGas( uint256 _amountIn, address _tokenIn, address _tokenOut, uint _maxSteps, uint _gasPrice ) external view returns (FormattedOfferWithGas memory) { require(_maxSteps>0 && _maxSteps<5, 'YakRouter: Invalid max-steps'); OfferWithG...
4,543,253
[ 1, 4625, 348, 7953, 560, 30, 380, 2000, 589, 598, 3796, 1135, 3086, 2795, 2430, 23004, 16189, 17, 12398, 1368, 2236, 19, 4163, 326, 13667, 6205, 3086, 15068, 2501, 471, 1147, 17, 659, 471, 16947, 16189, 6205, 316, 1147, 17, 659, 5462,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1104, 14173, 743, 1190, 27998, 12, 203, 3639, 2254, 5034, 389, 8949, 382, 16, 7010, 3639, 1758, 389, 2316, 382, 16, 7010, 3639, 1758, 389, 2316, 1182, 16, 7010, 3639, 2254, 389, 1896, 11811, 16, 203, 3639, 2254, 389, 31...
./partial_match/3/0x038fA32090E73458aA21d7c71dd21e6c96eBAbE6/sources/LandItemBar.sol
0x434f4e54524143545f4c414e445f424153450000000000000000000000000000 0x434f4e54524143545f4c414e445f5245534f5552434500000000000000000000 0x434f4e54524143545f4d455441444154415f54454c4c45520000000000000000 0x434f4e54524143545f494e5445525354454c4c41525f454e434f444552000000 0x434f4e54524143545f4f424a4543545f4f574e45525348495...
contract LandItemBar is Initializable, DSAuth, DSMath { event Equip( uint256 indexed tokenId, address resource, uint256 index, address staker, address token, uint256 id ); event Unequip( uint256 indexed tokenId, address resource, uint256 index, address staker, address token, uint256 id ); ...
5,300,990
[ 1, 4625, 348, 7953, 560, 30, 225, 374, 92, 24, 5026, 74, 24, 73, 6564, 25, 3247, 3461, 4763, 7950, 74, 24, 71, 24, 3461, 73, 6334, 25, 74, 24, 3247, 3600, 25574, 12648, 12648, 12648, 2787, 374, 92, 24, 5026, 74, 24, 73, 6564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 511, 464, 1180, 5190, 353, 10188, 6934, 16, 8678, 1730, 16, 463, 7303, 421, 288, 203, 202, 2575, 19008, 625, 12, 203, 202, 202, 11890, 5034, 8808, 1147, 548, 16, 203, 202, 202, 2867, 1058, 16, 203, 202, 202, 11890, 5034, ...
/** *Submitted for verification at Etherscan.io on 2021-07-11 */ /* ⚠⚠⚠ WARNING WARNING WARNING ⚠⚠⚠ This is a TARGET contract - DO NOT CONNECT TO IT DIRECTLY IN YOUR CONTRACTS or DAPPS! This contract has an associated PROXY that MUST be used for all integrations - this TARGET will be REPLACED in an upcoming Peri F...
========== STATE VARIABLES ========== Available Pynths which can be used with the system ========== ADDRESS RESOLVER CONFIGURATION ========== ========== CONSTRUCTOR ==========
contract BasePeriFinance is IERC20, ExternStateToken, MixinResolver, IPeriFinance { using SafeMath for uint; using SafeDecimalMath for uint; string public constant TOKEN_NAME = "Peri Finance Token"; string public constant TOKEN_SYMBOL = "PERI"; uint8 public constant DECIMALS = 18; bytes32 publ...
6,499,128
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 7442, 22965, 55, 422, 1432, 15633, 453, 878, 451, 87, 1492, 848, 506, 1399, 598, 326, 2619, 422, 1432, 11689, 10203, 12915, 1741, 2204, 28527, 422, 1432, 422, 1432, 3492, 13915, 916, 422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3360, 2173, 77, 6187, 1359, 353, 467, 654, 39, 3462, 16, 1312, 798, 1119, 1345, 16, 490, 10131, 4301, 16, 467, 2173, 77, 6187, 1359, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 565, 1450, 14060, 5749, 10477, 364...
claimers[0xEB079Ee381FC821B809F6110cCF7a8439C7A6870] = 0; // seq: 0 -> tkn_id: 0 claimers[0xcBD56A71a02fA7AA01bF1c94c0AeB2828Bebdc0A] = 1; // seq: 1 -> tkn_id: 1 claimers[0x9E1fDAB0FE4141fe269060f098bc7076d248cE7B] = 2; // seq: 2 -> tkn_id: 2 claimers[0x33aEA8f43D9685683b236B20a1818aFcD48204cD] = 3; // seq: 3 -> tk...
seq: 349 -> tkn_id: 350
claimers[0xbcBa4F18f391b9E7914E586a7477fbf56E42e90e] = 350;
12,654,845
[ 1, 4625, 348, 7953, 560, 30, 225, 3833, 30, 890, 7616, 317, 13030, 82, 67, 350, 30, 890, 3361, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14784, 414, 63, 20, 6114, 71, 38, 69, 24, 42, 2643, 74, 5520, 21, 70, 29, 41, 7235, 3461, 41, 25, 5292, 69, 5608, 4700, 74, 17156, 4313, 41, 9452, 73, 9349, 73, 65, 273, 890, 3361, 31, 225, 2, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* Copyright 2021 Archer DAO: Chris Piatt ([email protected]). */ import "./lib/0.8/AccessControlUpgradeable.sol"; import "./lib/0.8/CheckAndSend.sol"; /** * @title TipJar * @dev Allows suppliers to create a tip that gets distributed to miners + the network...
* @notice Admin function to set network fee @param newFee new fee/
function setFee(uint32 newFee) external onlyFeeSetter { require(newFee <= 1000000, ">100%"); emit FeeSet(newFee, networkFee); networkFee = newFee; }
14,680,944
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 7807, 445, 358, 444, 2483, 14036, 632, 891, 394, 14667, 394, 14036, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14667, 12, 11890, 1578, 394, 14667, 13, 3903, 1338, 14667, 8465, 288, 203, 3639, 2583, 12, 2704, 14667, 1648, 15088, 16, 14402, 6625, 9, 8863, 203, 3639, 3626, 30174, 694, 12, 2704, 14667, 16, 2483, 14667, 1769, 203,...
// SPDX-License-Identifier: MIT // Roach Racing Club: the first strategic p2e game with deflationary mechanisms (https://roachracingclub.com/) /* ______ _ ______ _ _____ _ _ | ___ \ | | | ___ \ (_) / __ \ | | | | |_/ /___ __...
@dev Setups genome configuration
function setTraitConfig( uint traitIndex, uint8[] calldata _slots, uint8[] calldata _traitData, uint16[] calldata _weight, uint16[] calldata _weightMaxBonus ) external onlyOperator { require(_weight.length == _weightMaxBonus.length, 'weight length mism...
12,747,292
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 10939, 87, 14696, 1664, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 15525, 809, 12, 203, 3639, 2254, 13517, 1016, 16, 203, 3639, 2254, 28, 8526, 745, 892, 389, 18875, 16, 203, 3639, 2254, 28, 8526, 745, 892, 389, 22513, 751, 16, 203, 3639, 2254, 2313, 8526, 745, 892, 389, 4865, 1...
// File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which th...
update the contribution amount for the beneficiary
contributions[beneficiary] = contributions[beneficiary].add(amount);
1,247,224
[ 1, 4625, 348, 7953, 560, 30, 225, 1089, 326, 24880, 3844, 364, 326, 27641, 74, 14463, 814, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 13608, 6170, 63, 70, 4009, 74, 14463, 814, 65, 273, 13608, 6170, 63, 70, 4009, 74, 14463, 814, 8009, 1289, 12, 8949, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0x968348C6135C25e7160AD0671C8C9CA2eD2bb982/sources/libraries/SignedFixedPoint.sol
@dev divides two extra precision numbers (with 38 decimals) rounds down in magnitude but this shouldn't matter can overflow if a > 2 or b << 1 in magnitude
function divXp(int256 a, int256 b) internal pure returns (int256) { if (b == 0) _require(false, Errors.ZERO_DIVISION); if (a == 0) { return 0; } int256 aInflated = a * ONE_XP; if (aInflated / a != ONE_XP) _require(false, Errors.DIV_INTERNAL); return aIn...
15,967,396
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 3739, 4369, 2795, 2870, 6039, 5600, 261, 1918, 18012, 15105, 13, 21196, 2588, 316, 13463, 1496, 333, 12044, 1404, 15177, 848, 9391, 309, 279, 405, 576, 578, 324, 2296, 404, 316, 13463, 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, 565, 445, 3739, 60, 84, 12, 474, 5034, 279, 16, 509, 5034, 324, 13, 2713, 16618, 1135, 261, 474, 5034, 13, 288, 203, 3639, 309, 261, 70, 422, 374, 13, 389, 6528, 12, 5743, 16, 9372, 18, 24968, 67, 2565, 25216, 1769, 203, 203,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface INamelessToken { function initialize(string memory name, string memory symbol, address tokenDataContract, address initialAdmin) external; } // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface INamelessTokenData { function initialize ...
solhint-disable-next-line not-rely-on-time
function calculateCurrentPrice(ListingStorage storage template) internal view returns (uint256) { uint256 currentTime = block.timestamp; ListingWindow storage window = listingWindows[template.windowId]; ListingPricing storage pricing = listingPricings[template.pricingId]; uint256 delta = pricing.initi...
13,467,386
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 486, 17, 266, 715, 17, 265, 17, 957, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 445, 4604, 3935, 5147, 12, 19081, 3245, 2502, 1542, 13, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 2254, 5034, 6680, 273, 1203, 18, 5508, 31, 203, 565, 987, 310, 3829, 2502, 2742, 273, 11591, 10399, 63, 3202, 18,...
./full_match/1/0xe8679fe133f38f19e1cFFEBA98a4BAA5c897Ce51/sources/LTY.sol
* @notice Determine the prior number of votes for an account as of a block number @dev Block number must be a finalized block or else this function will revert to prevent misinformation. @param account The address of the account to check @param blockNumber The block number to get the vote balance at @return The number ...
function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "BTY::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0...
9,747,694
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10229, 326, 6432, 1300, 434, 19588, 364, 392, 2236, 487, 434, 279, 1203, 1300, 632, 5206, 3914, 1300, 1297, 506, 279, 727, 1235, 1203, 578, 469, 333, 445, 903, 15226, 358, 5309, 7524, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1689, 2432, 29637, 12, 2867, 2236, 16, 2254, 1203, 1854, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2583, 12, 2629, 1854, 411, 1203, 18, 2696, 16, 315, 38, 5...
pragma solidity ^0.4.24; library Utils { /** * Concatentation of up to 5 strings. Utility methods for 2,3,4 further down */ function strConcat(string _a, string _b, string _c, string _d, string _e) internal pure returns (string){ bytes memory _ba = bytes(_a); bytes memory _bb = bytes(_b); bytes ...
* Concatentation of up to 5 strings. Utility methods for 2,3,4 further down/
function strConcat(string _a, string _b, string _c, string _d, string _e) internal pure returns (string){ bytes memory _ba = bytes(_a); bytes memory _bb = bytes(_b); bytes memory _bc = bytes(_c); bytes memory _bd = bytes(_d); bytes memory _be = bytes(_e); string memory abcde = new string(...
12,715,110
[ 1, 4625, 348, 7953, 560, 30, 380, 23873, 319, 367, 434, 731, 358, 1381, 2064, 18, 225, 13134, 2590, 364, 576, 16, 23, 16, 24, 9271, 2588, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 609, 15113, 12, 1080, 389, 69, 16, 533, 389, 70, 16, 533, 389, 71, 16, 533, 389, 72, 16, 533, 389, 73, 13, 2713, 16618, 1135, 261, 1080, 15329, 203, 202, 565, 1731, 3778, 389, 12124, 273, 1731, 24899, 69, 1769, 203,...
// File: contracts/interface/ICoFiXV2Factory.sol // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.6.12; interface ICoFiXV2Factory { // All pairs: {ETH <-> ERC20 Token} event PairCreated(address indexed token, address pair, uint256); event NewGovernance(address _new); event NewController...
𝜎 > 0.0005, gamma = 2
} else if (vola > 500000000000000) {
1,314,595
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 177, 256, 255, 241, 405, 374, 18, 3784, 25, 16, 9601, 273, 576, 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, ...
[ 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, 289, 469, 309, 261, 15416, 69, 405, 1381, 12648, 9449, 13, 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, -10...
// Elements: // EVENT // DONATION // PERFORMANCE // Actors: // CHARITY // DONER // PARTICIPANT contract FunRun { function createEvent(uint eventTime) returns (uint) { // EVENT is created (and owned) by a CHARITY to take place at a certain time. } function cancelEvent(uint event) returns (bool) isO...
EVENTS can be cancelled by their creating CHARITY.
function cancelEvent(uint event) returns (bool) isOwner() { }
15,869,904
[ 1, 4625, 348, 7953, 560, 30, 225, 9964, 55, 848, 506, 13927, 635, 3675, 4979, 12090, 4107, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3755, 1133, 12, 11890, 871, 13, 1135, 261, 6430, 13, 353, 5541, 1435, 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, -1...
./partial_match/1/0xeB40E25AF8F5F22Bb201f53971480beA0094Cd65/sources/src/v0.8/functions/dev/1_0_0/FunctionsBilling.sol
══╗ Percentage of gas price overestimation to account for changes in gas price between request and response. Held as basis points (one hundredth of 1 percentage point)
uint32 fulfillmentGasPriceOverEstimationBP;
4,322,574
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 163, 248, 243, 163, 248, 243, 163, 248, 250, 21198, 410, 434, 16189, 6205, 1879, 395, 5115, 358, 2236, 364, 3478, 316, 16189, 6205, 3086, 590, 471, 766, 18, 670, 488, 487, 10853, 3143, 261, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1578, 22290, 475, 27998, 5147, 4851, 9122, 5115, 30573, 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...
/* * Origin Protocol * https://originprotocol.com * * Released under the MIT license * https://github.com/OriginProtocol/origin-dollar * * Copyright 2020 Origin Protocol, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
* @dev Verifies that the caller is the Vault or Governor./
modifier onlyVaultOrGovernor() { require( msg.sender == address(this) || isGovernor(), "Caller is not the Vault or Governor" ); _; }
1,593,561
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6160, 5032, 716, 326, 4894, 353, 326, 17329, 578, 611, 1643, 29561, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 12003, 1162, 43, 1643, 29561, 1435, 288, 203, 3639, 2583, 12, 203, 5411, 1234, 18, 15330, 422, 1758, 12, 2211, 13, 747, 353, 43, 1643, 29561, 9334, 203, 5411, 315, 11095, 353, 486, 326, 17329, 578, 611, 1643, 295...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.8; pragma experimental ABIEncoderV2; import {IDiamondCutCommon} from "./../interfaces/IDiamondCutCommon.sol"; import {IDiamondCut} from "./../interfaces/IDiamondCut.sol"; import {IDiamondCutBatchInit} from "./../interfaces/IDiamondCutBatchInit.sol"; import {IDiamond...
replace old facet address
function replaceFacetSelectors(Layout storage s, IDiamondCutCommon.FacetCut memory facetCut) internal { unchecked { require(facetCut.facet.isContract(), "Diamond: facet has no code"); for (uint256 i; i != facetCut.selectors.length; ++i) { bytes4 selector = facetCut.s...
13,002,163
[ 1, 4625, 348, 7953, 560, 30, 225, 1453, 1592, 11082, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1453, 11137, 19277, 12, 3744, 2502, 272, 16, 1599, 29401, 1434, 15812, 6517, 18, 11137, 15812, 3778, 11082, 15812, 13, 2713, 288, 203, 3639, 22893, 288, 203, 5411, 2583, 12, 21568, 15812, 18, 21568, 18, 291, 8924, 9334, 3...
//fool the compiler into allowing contract with only method signatures //I used this because btcrelay is already deployed but is in serpent //to mitigate the fact that you cannot use serpent in solidity //I used the function signatures without the logic and called them using the existing deployment //Since it is implem...
highest score among all blocks (so far)
{ bytes4 relayDestination = bytes4(keccak256("processTransaction(bytes,uint256)returns(int256)")); uint256 heaviestBlock; uint256 highScore; function helperVerifyHash__( uint256 txHash, uint256 txIndex, bytes32[] siblings, bytes32 txBlockHash function relayTx( ...
12,603,156
[ 1, 4625, 348, 7953, 560, 30, 9742, 4462, 17200, 777, 4398, 261, 2048, 10247, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1731, 24, 18874, 5683, 273, 1731, 24, 12, 79, 24410, 581, 5034, 2932, 2567, 3342, 12, 3890, 16, 11890, 5034, 13, 6154, 12, 474, 5034, 2225, 10019, 203, 565, 2254, 5034, 3904, 69, 522, 395, 1768, 31, 203, 565, 2254...
./full_match/0/0x2d7B22d3C8d40Bab9457140867514dF4A232e892/sources/contracts/Pair.sol
remove fee from amount received
amountIn -= (amountIn * PairFactory(factory).getFee(stable)) / 10000;
13,225,090
[ 1, 4625, 348, 7953, 560, 30, 225, 1206, 14036, 628, 3844, 5079, 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, 3844, 382, 3947, 261, 8949, 382, 380, 8599, 1733, 12, 6848, 2934, 588, 14667, 12, 15021, 3719, 342, 12619, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/42/0xc61EdD74805E6fB76C0CFb21b8a6726331c89798/sources/Issuer.sol
ERROR: type should be string, got " https:docs.pynthetix.io/contracts/source/contracts/issuer Available Pynths which can be used with the system Flexible storage names"
contract Issuer is Owned, MixinSystemSettings, IIssuer { using SafeMath for uint; using SafeDecimalMath for uint; IPynth[] public availablePynths; mapping(bytes32 => IPynth) public pynths; mapping(address => bytes32) public pynthsByAddress; bytes32 internal constant sUSD = "sUSD"; bytes32...
8,919,220
[ 1, 4625, 348, 7953, 560, 30, 225, 2333, 30, 8532, 18, 84, 878, 451, 278, 697, 18, 1594, 19, 16351, 87, 19, 3168, 19, 16351, 87, 19, 17567, 15633, 453, 878, 451, 87, 1492, 848, 506, 1399, 598, 326, 2619, 478, 21873, 2502, 1257, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 23959, 353, 14223, 11748, 16, 490, 10131, 3163, 2628, 16, 467, 16667, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 565, 1450, 14060, 5749, 10477, 364, 2254, 31, 203, 203, 565, 2971, 878, 451, 8526, 1071, 2319, 52, ...
./full_match/1/0x2fC246149B4B8d7bcEF6188A10AF1791380227f1/sources/src/BaseWithStorage/ERC20Group.sol
@notice return the balances of a list of owners / subTokens. @param owners list of addresses to which we want to know the balance. @param ids list of subTokens's addresses. @return balances list of balances for each request.
function balanceOfBatch(address[] calldata owners, uint256[] calldata ids) external view returns (uint256[] memory balances) { require(owners.length == ids.length, "INVALID_INCONSISTENT_LENGTH"); balances = new uint256[](ids.length); for (uint256 i = 0; i < ids.length; i++) { bal...
8,434,508
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 327, 326, 324, 26488, 434, 279, 666, 434, 25937, 342, 720, 5157, 18, 632, 891, 25937, 666, 434, 6138, 358, 1492, 732, 2545, 358, 5055, 326, 11013, 18, 632, 891, 3258, 666, 434, 720, 51...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 565, 445, 11013, 951, 4497, 12, 2867, 8526, 745, 892, 25937, 16, 2254, 5034, 8526, 745, 892, 3258, 13, 3903, 1476, 1135, 261, 11890, 5034, 8526, 3778, 324, 26488, 13, 288, 203, 3639, 2583, 12, 995, 414, 18, 2469, 422, 3258, 18, ...
./full_match/97/0xe9E19bc8EE05502620610517E32f98eEb653600E/sources/project_/contracts/BetDex.sol
require(input.nonce > addressMinNonce[input.bets[0]], "Nonce too low"); addressMinNonce[input.bets[0]] = input.nonce;
function batchSignedBet(Input calldata input) external { require( usedNonce[input.bets[0].bettor][input.nonce] == false, "Nonce already used" ); usedNonce[input.bets[0].bettor][input.nonce] = true; bytes32[] memory betHashes = _hashBets(input.bets, input.nonce...
3,290,379
[ 1, 4625, 348, 7953, 560, 30, 3196, 202, 6528, 12, 2630, 18, 12824, 405, 1758, 2930, 13611, 63, 2630, 18, 70, 2413, 63, 20, 65, 6487, 315, 13611, 4885, 4587, 8863, 202, 202, 2867, 2930, 13611, 63, 2630, 18, 70, 2413, 63, 20, 13563,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2581, 12294, 38, 278, 12, 1210, 745, 892, 810, 13, 3903, 288, 203, 3639, 2583, 12, 203, 5411, 1399, 13611, 63, 2630, 18, 70, 2413, 63, 20, 8009, 70, 278, 13039, 6362, 2630, 18, 12824, 65, 422, 629, 16, 203, 5411, 31...
./full_match/1/0x43949399D34f8B61a899581575b5259B36F418d0/sources/contracts/staking/VeBids.sol
@notice the bids token @notice the masterBids contract @notice whitelist wallet checker @dev contract addresses are by default unable to stake bids, they must be previously whitelisted to stake bids @notice user info mapping @notice Address of the Voter contract @notice amount of vote used currently for each user
modifier onlyVoter() { require(msg.sender == voter, "VeBIDS: caller is not voter"); _; }
16,446,109
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 326, 30534, 1147, 632, 20392, 326, 4171, 38, 2232, 6835, 632, 20392, 10734, 9230, 12489, 632, 5206, 6835, 6138, 854, 635, 805, 13496, 358, 384, 911, 30534, 16, 2898, 1297, 506, 7243, 26944...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9606, 1338, 58, 20005, 1435, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 331, 20005, 16, 315, 58, 73, 38, 19516, 30, 4894, 353, 486, 331, 20005, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, ...
// Author: Nick Mudge (nick@perfectabstractions.com, @mudgen, https://twitter.com/mudgen) // SPDX-License-Identifier: MIT pragma solidity 0.8.7; import {IERC20} from "./interfaces/IERC20.sol"; import {SafeERC20} from "./libraries/SafeERC20.sol"; import {IERC20Permit} from "./interfaces/IERC20Permit.sol"; struct Rewa...
how many seconds rewards are distributed
uint256 rewardDuration;
13,092,879
[ 1, 4625, 348, 7953, 560, 30, 225, 3661, 4906, 3974, 283, 6397, 854, 16859, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 19890, 5326, 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...
pragma solidity ^0.6.0; interface CTokenInterface { function mint(uint mintAmount) external returns (uint); function redeem(uint redeemTokens) external returns (uint); function borrow(uint borrowAmount) external returns (uint); function repayBorrow(uint repayAmount) external returns (uint); functio...
* @dev Connector Details/
function connectorID() public pure returns(uint _type, uint _id) { (_type, _id) = (1, 57); }
950,456
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15779, 21897, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8703, 734, 1435, 1071, 16618, 1135, 12, 11890, 389, 723, 16, 2254, 389, 350, 13, 288, 203, 3639, 261, 67, 723, 16, 389, 350, 13, 273, 261, 21, 16, 15981, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.23; contract DDNSTemplate { struct Receipt { uint amountPaidWei; uint timestamp; uint expires; } //This will create an automatic getter with 2 arguments: address and index of receipt mapping(address => Receipt[]) public receipts; //the domain...
the domain is bytes, because string is UTF-8 encoded and we cannot get its lengththe IP is bytes4 because it is more efficient in storing the sequence
function register(bytes domain, bytes4 ip) public payable {}
14,105,663
[ 1, 4625, 348, 7953, 560, 30, 326, 2461, 353, 1731, 16, 2724, 533, 353, 6380, 17, 28, 3749, 471, 732, 2780, 336, 2097, 769, 5787, 2971, 353, 1731, 24, 2724, 518, 353, 1898, 14382, 316, 15729, 326, 3102, 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, 1744, 12, 3890, 2461, 16, 1731, 24, 2359, 13, 1071, 8843, 429, 2618, 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, ...
./partial_match/5/0xA109b34B1974C1f6BA554607F46E202926728E14/sources/src/InterestRateModel.sol
@notice Global interest rate state
GlobalIRS private _globalIRS;
16,850,770
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 8510, 16513, 4993, 919, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8510, 7937, 55, 3238, 389, 6347, 7937, 55, 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, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "./libraries/Base64.sol"; import "./libraries/FormatMetadata....
Skin view Front view
contract Bodies is Trait { string public constant MOUSE = string public constant MOUSE_GOLD = "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFlUlEQVR42u1bO2/bVhQ+JMSkZho7bYcCHCR09NwOUn9B58JAli7N0h+RuXPm7l2y9CdkjIQAnT3LKAhkSNG0AB2YQtiB/MjvHt5LXsXUwwYPIJCiJYrn/Z2HA+mh4u/fCsmvRE7mIptUZJKUx/xKJJqKvH/ZfDiaNef5WkREg...
9,836,931
[ 1, 4625, 348, 7953, 560, 30, 225, 10362, 267, 1476, 16465, 1476, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 605, 18134, 353, 2197, 305, 288, 203, 225, 533, 1071, 5381, 16070, 8001, 273, 203, 225, 533, 1071, 5381, 16070, 8001, 67, 43, 11846, 273, 203, 565, 315, 77, 58, 38, 916, 91, 20, 47, 43, 3240, 24653, 1258, 6639, 76, 41, ...
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.0; // ---------------------------------------------------------------------------- // Owned contract // ---------------------------------------------------------------------------- contract Owned { address payable public owner; event OwnershipTransfe...
------------------------------------------------------------------------ Withdraw accumulated rewards ------------------------------------------------------------------------ Global stats update update the record mint more tokens inside token contract equivalent to _pendingReward
function ClaimReward() external { require(PendingReward(msg.sender) > 0, "No pending rewards"); require(IERC20(FSD).balanceOf(address(this)) > totalStakes); uint256 _pendingReward = PendingReward(msg.sender); totalRewards = totalRewards.add(_pendingReward); ...
10,083,570
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 3423, 9446, 24893, 283, 6397, 8879, 17082, 8510, 3177, 1089, 1089, 326, 1409, 312, 474, 1898, 2430, 4832, 1147, 6835, 7680, 358, 389, 9561, 17631, 1060, 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, 0, 0, 0, 0, 0, 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, 18381, 17631, 1060, 1435, 3903, 288, 203, 3639, 2583, 12, 8579, 17631, 1060, 12, 3576, 18, 15330, 13, 405, 374, 16, 315, 2279, 4634, 283, 6397, 8863, 203, 3639, 2583, 12, 45, 654, 39, 3462, 12, 4931, 40, 2934, 12296, ...
// SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/ILiquidityProtectionStore.sol"; import "../token/ReserveToken.sol"; import "../utility/Owned.sol"; import "../utility/Utils.sol"; /** * @dev This contract serves as t...
* @dev returns the total protected pool token amount for a given pool/
function totalProtectedPoolAmount(IDSToken poolToken) external view returns (uint256) { return _totalProtectedPoolAmounts[poolToken]; }
1,063,816
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1135, 326, 2078, 4750, 2845, 1147, 3844, 364, 279, 864, 2845, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 445, 2078, 15933, 2864, 6275, 12, 734, 882, 969, 2845, 1345, 13, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 4963, 15933, 2864, 6275, 87, 63, 6011, 1345, 15533, 203, 565, 289, 203, 203, 2, -100, -100, ...
./full_match/80001/0x86b7Ddf2709bef24d804b1dD0681D1A96C314bA4/sources/contracts/ERC721A.sol
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens./
function tokenByIndex(uint256 index) public view override returns (uint256) {}
9,438,275
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 279, 1147, 1599, 622, 279, 864, 1375, 1615, 68, 434, 777, 326, 2430, 4041, 635, 326, 6835, 18, 2672, 7563, 598, 288, 4963, 3088, 1283, 97, 358, 4241, 777, 2430, 18, 19, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1147, 21268, 12, 11890, 5034, 770, 13, 1071, 1476, 3849, 1135, 261, 11890, 5034, 13, 2618, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity 0.5.6; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spende...
* @dev Getting ETH prize of participant @param participant Address of participant/
function calculateETHPrize(address participant) public view returns(uint) { uint payout = 0; uint256 totalSupply = (totalSupplyOfBears.add(totalSupplyOfBulls)); if (depositBears[currentRound][participant] > 0) { payout = totalSupply.mul(depositBears[currentRound][participant])....
13,116,718
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 26602, 512, 2455, 846, 554, 434, 14188, 632, 891, 14188, 5267, 434, 14188, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4604, 1584, 44, 2050, 554, 12, 2867, 14188, 13, 1071, 1476, 1135, 12, 11890, 13, 288, 203, 203, 3639, 2254, 293, 2012, 273, 374, 31, 203, 3639, 2254, 5034, 2078, 3088, 1283, 273, 261, 4963, 3088, 1283, 951, 1919, 5913, ...
./partial_match/1/0x47219e2f187a145De306f0ca882A0304D0AE912e/sources/ACLUtils.sol
ETH: WETH Optimism: WETH BSC: WBNB Polygon: WMATIC Arbitrum: WETH Avalanche: WAVAX
function getWrappedTokenAddress() view returns (address tokenAddress) { uint256 chainId = block.chainid; if (chainId == 1) return 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; if (chainId == 10) return 0x4200000000000000000000000000000000000006; if (chainId == 56) return 0xbb4CdB9CBd36B01bD1cBaEBF2De08d...
4,243,004
[ 1, 4625, 348, 7953, 560, 30, 225, 512, 2455, 30, 678, 1584, 44, 19615, 6228, 30, 678, 1584, 44, 605, 2312, 30, 678, 15388, 38, 12681, 30, 678, 49, 11781, 1201, 3682, 86, 379, 30, 678, 1584, 44, 432, 1125, 304, 18706, 30, 678, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 915, 336, 17665, 1345, 1887, 1435, 1476, 1135, 261, 2867, 1147, 1887, 13, 288, 203, 565, 2254, 5034, 2687, 548, 273, 1203, 18, 5639, 350, 31, 203, 565, 309, 261, 5639, 548, 422, 404, 13, 327, 374, 14626, 3103, 7598, 37, 5520, 7...
// SPDX-License-Identifier: Unlicensed pragma solidity >= 0.7.0 < 0.8.0; pragma abicoder v2; import { SafeMath } from "../Utils/SafeMath.sol"; import { Formulas } from "../Utils/Formulas.sol"; contract EIP1167_Question { using SafeMath for uint256; using Formulas for uint256; enum State {BETTING, IN...
Formula -> payout = userStake + (userStake*(bettingWrongOptionsBalance + stakeChangePool)/bettingRightOptionBalance)
function redeemStakedPayout() external payable changeState checkState(State.RESOLVED) { require(hasStaked[msg.sender], "You have not participated in the betting market !"); require(stakeDetails[msg.sender][winningOptionId] != 0, "You lost your stake as you didn't predict the answer correctly !")...
12,772,668
[ 1, 4625, 348, 7953, 560, 30, 225, 26758, 317, 293, 2012, 273, 729, 510, 911, 397, 261, 1355, 510, 911, 21556, 70, 278, 1787, 13634, 1320, 13937, 397, 384, 911, 3043, 2864, 13176, 70, 278, 1787, 4726, 1895, 13937, 13, 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, 565, 445, 283, 24903, 510, 9477, 52, 2012, 1435, 3903, 8843, 429, 2549, 1119, 13632, 12, 1119, 18, 17978, 12135, 13, 203, 565, 288, 203, 3639, 2583, 12, 5332, 510, 9477, 63, 3576, 18, 15330, 6487, 315, 6225, 1240, 486, 30891, 690...
pragma solidity ^0.5.8; pragma experimental ABIEncoderV2; /** @title Survey contract */ contract Survey { address private surveyor; uint256 private surveyCount; string[] private surveyIDs; address[] private respondents; uint256 private questionLength; string[] private questionIDs; uint256 ...
* @dev Gets all data for Questions @return Questions created/
function getAllQuestions() public view returns (string[] memory, string[] memory,string[] memory,string[] memory) { string[] memory quesID = new string[](questionLength); string[] memory quesName = new string[](questionLength); string[] memory quesType = new string[](questionLength); ...
7,240,688
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11881, 777, 501, 364, 4783, 395, 1115, 632, 2463, 4783, 395, 1115, 2522, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5514, 30791, 1115, 1435, 1071, 1476, 1135, 261, 1080, 8526, 3778, 16, 533, 8526, 3778, 16, 1080, 8526, 3778, 16, 1080, 8526, 3778, 13, 288, 203, 3639, 533, 8526, 3778, 719, 281, 734, 273, 394, 533, 8526, 12, 4173, 1782,...
./partial_match/1/0xA6Ae5b05De5184287617B0602FfE081c45dd730D/sources/InitializableImmutableAdminUpgradeabilityProxy.sol
* @title BaseImmutableAdminUpgradeabilityProxy @author Sturdy, inspiration from Aave @dev This contract combines an upgradeability proxy with an authorization mechanism for administrative tasks. The admin role is stored in an immutable, which helps saving transactions costs All external functions in this contract must ...
contract BaseImmutableAdminUpgradeabilityProxy is BaseUpgradeabilityProxy { address immutable ADMIN; constructor(address admin) { ADMIN = admin; } modifier ifAdmin() { if (msg.sender == ADMIN) { _; _fallback(); } } modifier ifAdmin() { if (msg.sender == ADMIN) { _; ...
4,408,786
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 3360, 16014, 4446, 10784, 2967, 3886, 632, 4161, 934, 295, 15680, 16, 316, 1752, 5447, 628, 432, 836, 632, 5206, 1220, 6835, 30933, 392, 8400, 2967, 2889, 598, 392, 6093, 12860, 364, 30162,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3360, 16014, 4446, 10784, 2967, 3886, 353, 3360, 10784, 2967, 3886, 288, 203, 225, 1758, 11732, 25969, 31, 203, 203, 225, 3885, 12, 2867, 3981, 13, 288, 203, 565, 25969, 273, 3981, 31, 203, 225, 289, 203, 203, 225, 9606, 3...
./full_match/5/0x26cF13780eaFfe659A5480997cbAf332BBaeBe73/sources/contracts/Staking.sol
Calculate rewards for the msg.sender, check if there are any rewards claim, set unclaimedRewards to 0 and transfer the ERC20 Reward token to the user. uint256 unclaimed = getUnclaimed(); Ensure the provided reward amount is not more than the balance in the contract. This keeps the reward rate in the right range, preve...
function claimRewards(uint256 tokenId) external { uint256 calculatedRewards = 0; calculatedRewards = rewardCalculator(tokenId); require(calculatedRewards > 0, "You have no rewards to claim"); uint wallet = rewardsToken.balanceOf(address(this)); require(calculatedRewards...
1,944,178
[ 1, 4625, 348, 7953, 560, 30, 225, 9029, 283, 6397, 364, 326, 1234, 18, 15330, 16, 866, 309, 1915, 854, 1281, 283, 6397, 7516, 16, 444, 6301, 80, 4581, 329, 17631, 14727, 358, 374, 471, 7412, 326, 4232, 39, 3462, 534, 359, 1060, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7516, 17631, 14727, 12, 11890, 5034, 1147, 548, 13, 3903, 288, 203, 203, 3639, 2254, 5034, 8894, 17631, 14727, 273, 374, 31, 203, 203, 3639, 8894, 17631, 14727, 273, 19890, 19278, 12, 2316, 548, 1769, 203, 203, 203, 3639,...
pragma solidity 0.4.25; pragma experimental ABIEncoderV2; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function allowanc...
@title OasisHandler @notice Handles the all Oasis trades for the primary contract
contract OasisHandler is ExchangeHandler, AllowanceSetter { OasisInterface public oasis; WethInterface public weth; struct OrderData { uint256 offerId; uint256 maxAmountToSpend; } address oasisAddress, address wethAddress, address totlePrimary, addres...
14,077,451
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 531, 17247, 1503, 632, 20392, 27020, 326, 777, 531, 17247, 1284, 5489, 364, 326, 3354, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 531, 17247, 1503, 353, 18903, 1503, 16, 7852, 1359, 8465, 288, 203, 203, 203, 565, 531, 17247, 1358, 1071, 320, 17247, 31, 203, 565, 678, 546, 1358, 1071, 341, 546, 31, 203, 203, 203, 565, 1958, 4347, 751, 288, 203, 3639, ...
/** *Submitted for verification at Etherscan.io on 2021-06-03 */ pragma solidity 0.5.16; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view...
* @dev Initializes the contract setting the deployer as the initial owner./
constructor () internal { address msgSender = _msgSender(); _owner = msgSender; diosus = msgSender; emit OwnershipTransferred(address(0), msgSender); }
6,582,633
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 3128, 326, 6835, 3637, 326, 7286, 264, 487, 326, 2172, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 3885, 1832, 2713, 288, 203, 565, 1758, 1234, 12021, 273, 389, 3576, 12021, 5621, 203, 565, 389, 8443, 273, 1234, 12021, 31, 203, 565, 4314, 538, 407, 273, 1234, 12021, 31, 203, 565, 3626, 14223, 9646, 5310, 1429, 4193, 12, 2...
/** SPDX-License-Identifier: MIT Copyright © 2020 Eric G. Falkenstein */ pragma solidity ^0.7.4; import "./Token.sol"; pragma experimental ABIEncoderV2; contract test { // after each settlement, a new epoch commences. Bets cannot consummate on games referring to prior epochs uint8 public betEpoch; // this ...
not allowed when games are played because that game results affect the value of the book's shares not reflected in the house eth value, so when games start, no LP withdrawal or funding is _allowed at settlement 'earliestStart' is set to 2e9, which is well into the future, so LPs can WD or fund again investors receive ...
function fundBook() external payable { require(block.timestamp < earliestStart, "only prior to first event"); uint256 netinvestment = msg.value; uint256 _shares = 0; _shares =multiply(netinvestment, totalShares) / (margin[0] + margin[1] + 1); margin[0] +...
5,522,087
[ 1, 4625, 348, 7953, 560, 30, 225, 486, 2935, 1347, 28422, 854, 6599, 329, 2724, 716, 7920, 1686, 13418, 326, 460, 434, 326, 6978, 1807, 24123, 486, 21591, 316, 326, 23867, 13750, 460, 16, 1427, 1347, 28422, 787, 16, 1158, 511, 52, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 284, 1074, 9084, 1435, 3903, 8843, 429, 288, 203, 3639, 2583, 12, 2629, 18, 5508, 411, 20674, 1685, 16, 315, 3700, 6432, 358, 1122, 871, 8863, 203, 3639, 2254, 5034, 2901, 5768, 395, 475, 273, 1234, 18, 1132, 31, 203, ...
./full_match/1/0x5ab0A812327aD959dE664AEC8408Ef8c6ABe7184/sources/contracts/upgradeable/EIP712CrossChainUpgradeable.sol
* @dev Returns the domain separator depending on the `originChainId`. @param originChainId Chain id of network where message originates from. @return bytes32 EIP-712-compliant domain separator./
function _domainSeparatorV4(uint256 originChainId) internal view returns (bytes32) { return keccak256(abi.encode(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION, originChainId)); }
4,977,197
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2461, 4182, 8353, 603, 326, 1375, 10012, 3893, 548, 8338, 632, 891, 4026, 3893, 548, 7824, 612, 434, 2483, 1625, 883, 4026, 815, 628, 18, 632, 2463, 1731, 1578, 512, 2579, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4308, 6581, 58, 24, 12, 11890, 5034, 4026, 3893, 548, 13, 2713, 1476, 1135, 261, 3890, 1578, 13, 288, 203, 3639, 327, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 24899, 2399, 67, 15920, 16, 389, 15920, 2056, 67, ...
pragma solidity ^0.4.16; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } i...
calculates the amount/最小单位
uint amount = msg.value *(10**18)/ buyPrice;
5,764,829
[ 1, 4625, 348, 7953, 560, 30, 225, 17264, 326, 3844, 19, 167, 255, 227, 166, 113, 242, 166, 240, 248, 165, 126, 240, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3844, 273, 1234, 18, 1132, 380, 12, 2163, 636, 2643, 13176, 30143, 5147, 31, 7734, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.7.6; pragma abicoder v2; import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import {ERC20} from '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import {IERC721Enumerable} from '@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol'; im...
* @title GardenViewer @author Babylon Finance Class that holds common view functions to retrieve garden information effectively/
contract GardenViewer { using SafeMath for uint256; using PreciseUnitMath for uint256; using Math for int256; using SafeDecimalMath for uint256; IBabController private immutable controller; uint24 internal constant FEE_LOW = 500; uint24 internal constant FEE_MEDIUM = 3000; uint24 intern...
6,266,928
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 611, 24466, 18415, 632, 4161, 605, 24383, 9379, 9458, 1359, 1659, 716, 14798, 2975, 1476, 4186, 358, 4614, 314, 24466, 1779, 23500, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 611, 24466, 18415, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 2962, 30708, 2802, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 2361, 364, 509, 5034, 31, 203, 565, 1450, 14060, 5749, 10477, 364, 225...
// SPDX-License-Identifier: AGPL-3.0-only /* Schains.sol - SKALE Manager Copyright (C) 2018-Present SKALE Labs @author Artem Payvin SKALE Manager is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Softwar...
* @dev Allows the foundation to create an Schain without tokens. Emits an {SchainCreated} event. Requirements: - sender is granted with SCHAIN_CREATOR_ROLE - Schain type is valid. - If schain owner is a smart contract schain originator must be specified/
function addSchainByFoundation( uint lifetime, uint8 typeOfSchain, uint16 nonce, string calldata name, address schainOwner, address schainOriginator, SchainOption[] calldata options ) external payable override { require(...
13,950,714
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25619, 326, 1392, 367, 358, 752, 392, 348, 5639, 2887, 2430, 18, 7377, 1282, 392, 288, 55, 5639, 6119, 97, 871, 18, 29076, 30, 300, 5793, 353, 17578, 598, 348, 1792, 6964, 67, 5458, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 527, 55, 5639, 858, 27788, 12, 203, 3639, 2254, 12486, 16, 203, 3639, 2254, 28, 23170, 55, 5639, 16, 203, 3639, 2254, 2313, 7448, 16, 203, 3639, 533, 745, 892, 508, 16, 203, 3639, 1758, 272, 5639, 5541, 16, 203, 3639,...
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // ---...
* @title Servable @notice An ownable that contains registered services and their actions/ Types -----------------------------------------------------------------------------------------------------------------
contract Servable is Ownable { struct ServiceInfo { bool registered; uint256 activationTimestamp; mapping(bytes32 => bool) actionsEnabledMap; bytes32[] actionsList; } uint256 public serviceActivationTimeout; event RegisterServiceEvent(address service); event Regist...
1,005,873
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 1275, 16845, 632, 20392, 1922, 4953, 429, 716, 1914, 4104, 4028, 471, 3675, 4209, 19, 7658, 8879, 9634, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1275, 16845, 353, 14223, 6914, 288, 203, 203, 565, 1958, 1956, 966, 288, 203, 3639, 1426, 4104, 31, 203, 3639, 2254, 5034, 10027, 4921, 31, 203, 3639, 2874, 12, 3890, 1578, 516, 1426, 13, 4209, 1526, 863, 31, 203, 3639, 17...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "library.sol"; /** * @title Implementation of the {IERC20} interface. * @dev defines a dynamically generated ERC20-compliant option contract with given expiry date */ contract Option is Context, IOption { using SafeMath for uint256; /// @dev...
* @dev See {IERC20-allowance}./
function allowance(address owner, address spender) public view virtual override returns (uint256) { return rounds[currentRound].allowances[owner][spender]; }
15,832,597
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 3462, 17, 5965, 1359, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1699, 1359, 12, 2867, 3410, 16, 1758, 17571, 264, 13, 1071, 1476, 5024, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 21196, 63, 2972, 11066, 8009, 5965, 6872, 63, 8443, 6362, 87, 1302, 264, 15533, 203, 565, 28...
./partial_match/1/0xcd9ebc7142F6d0d6a6Bb826bB2BD238BB70fD94d/sources/TokenTimelock.sol
* @dev A token holder contract that will allow a beneficiary to extract the tokens after a given release time. Useful for simple vesting schedules like "advisors get all of their tokens after 1 year"./ beneficiary of tokens after they are released timestamp when token release is enabled
contract TokenTimelock { using SafeERC20 for IERC20; address private _beneficiary; uint256 private _releaseTime; constructor () public { _beneficiary = msg.sender; _releaseTime = block.timestamp + 180 days; } function beneficiary() public view returns (address) { re...
16,088,547
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 432, 1147, 10438, 6835, 716, 903, 1699, 279, 27641, 74, 14463, 814, 358, 2608, 326, 2430, 1839, 279, 864, 3992, 813, 18, 19256, 364, 4143, 331, 10100, 26720, 3007, 315, 361, 3516, 1383, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 3155, 10178, 292, 975, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 1758, 3238, 389, 70, 4009, 74, 14463, 814, 31, 203, 203, 565, 2254, 5034, 3238, 389, 9340, 950, 31, 203, 203, ...
pragma solidity ^0.4.25; contract FOMOEvents { // fired whenever a player registers a name event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affilia...
put in gen vault zero out their earnings by updating mask
function updateGenVault(uint256 _pID, uint256 _rIDlast) private { plyr_[_pID].gen = _earnings.add(plyr_[_pID].gen); plyrRnds_[_pID][_rIDlast].mask = _earnings.add(plyrRnds_[_pID][_rIDlast].mask); }
12,594,942
[ 1, 4625, 348, 7953, 560, 30, 225, 1378, 316, 3157, 9229, 3634, 596, 3675, 425, 1303, 899, 635, 9702, 3066, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 7642, 12003, 12, 11890, 5034, 389, 84, 734, 16, 2254, 5034, 389, 86, 734, 2722, 13, 203, 3639, 3238, 203, 3639, 288, 203, 5411, 293, 715, 86, 67, 63, 67, 84, 734, 8009, 4507, 273, 389, 73, 1303, 899, 18, 1289,...
./full_match/1/0xDF8704582C08f9A208fF86F42876dCF4308d5435/sources/browser/staking.sol
change fee percent
uint256 private feePercent = 5;
3,101,257
[ 1, 4625, 348, 7953, 560, 30, 225, 2549, 14036, 5551, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 11890, 5034, 3238, 14036, 8410, 273, 1381, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^ 0.4 .0; contract Ballot { //Information about a voter struct Voter { uint weight; //weight is amount of vote the voter can have bool voted; //true implies voter already voted uint vote; //index of the voted candidate } //Candidate type for a single candidate struct Candidate { bytes3...
This function is used to retrieve the candidate name as a bytes32@param {uint} indexindex of the candidate@return {bytes32} candidcandidate by bytes/
function getCandidateBytes(uint index) constant returns(bytes32 candid) { candid = candidates[index].name; }
12,559,645
[ 1, 4625, 348, 7953, 560, 30, 1220, 445, 353, 1399, 358, 4614, 326, 5500, 508, 487, 279, 1731, 1578, 36, 891, 288, 11890, 97, 770, 1615, 434, 326, 5500, 36, 2463, 288, 3890, 1578, 97, 4225, 19188, 635, 1731, 19, 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, 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, 202, 915, 1927, 8824, 2160, 12, 11890, 770, 13, 5381, 1135, 12, 3890, 1578, 4225, 13, 288, 203, 202, 202, 71, 3339, 273, 7965, 63, 1615, 8009, 529, 31, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.17; library SafeMath { function mul(uint a, uint b) internal pure returns(uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function sub(uint a, uint b) internal pure returns(uint) { assert(b <= a); return a - b; ...
@notice return number of contributors @return {uint} number of contributors
function numberOfBackers() public view returns(uint) { return backersIndex.length; }
1,071,685
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 327, 1300, 434, 13608, 13595, 632, 2463, 225, 288, 11890, 97, 1300, 434, 13608, 13595, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7922, 2711, 414, 1435, 1071, 1476, 1135, 12, 11890, 13, 288, 203, 3639, 327, 1473, 414, 1016, 18, 2469, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity 0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/ERC20/ERC20.sol // https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/E...
* Add the link between the referrer and who they referred. ---- ICO-Platform Note ---- The horizon-globex.com ICO platform offers functionality for referrers to sign-up to refer Contributors. Upon such referred Contributions, Company shall automatically award 1% of our "owner" VOX tokens to the referrer as coded by thi...
function refer(address referrer, address referee) public onlyOwner { require(referrer != address(0x0), "Referrer cannot be null"); require(referee != address(0x0), "Referee cannot be null"); require(!isIcoComplete, "Cannot add new referrals after ICO is complete."); referredBy[refer...
5,736,162
[ 1, 4625, 348, 7953, 560, 30, 380, 1436, 326, 1692, 3086, 326, 14502, 471, 10354, 2898, 29230, 18, 27927, 467, 3865, 17, 8201, 3609, 27927, 1021, 366, 20648, 17, 10581, 338, 18, 832, 467, 3865, 4072, 28641, 14176, 364, 1278, 370, 414, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8884, 12, 2867, 14502, 16, 1758, 8884, 1340, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 1734, 11110, 480, 1758, 12, 20, 92, 20, 3631, 315, 1957, 11110, 2780, 506, 446, 8863, 203, 3639, 2583, 12, 266, 586, 1340, 4...
// SPDX-License-Identifier: MIT /* /$$ /$$ | $$ | $$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$...
======================== IPFS setting ==================
string public baseImageURI;
6,480,762
[ 1, 4625, 348, 7953, 560, 30, 225, 28562, 894, 631, 2971, 4931, 3637, 28562, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 533, 1071, 1026, 2040, 3098, 31, 7010, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0xace787efa25074b6DA2654e4AFeD9bA1BCFD04eb/sources/contracts/Contract.sol
is everything okay?
function createCampaign(address _owner, string memory _title, string memory _description, uint256 _target, uint256 _deadline, string memory _image,string memory _details) public returns (uint256){ Campaign storage campaign = campaigns[numberOfCampaigns]; require(campaign.deadline < block.timestamp,...
1,853,840
[ 1, 4625, 348, 7953, 560, 30, 225, 353, 7756, 21194, 35, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 13432, 12, 2867, 389, 8443, 16, 533, 3778, 389, 2649, 16, 533, 3778, 389, 3384, 16, 2254, 5034, 389, 3299, 16, 2254, 5034, 389, 22097, 1369, 16, 533, 3778, 389, 2730, 16, 1080, 3778, 389, 6395, 13, 1071, 1135, 26...
./full_match/1/0xDC297D0ef0763d8953F1D672de950d100Ac4D9f7/sources/browser/DomProtocol.sol
* @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec...
contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; ...
16,415,903
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 3462, 97, 1560, 18, 1220, 4471, 353, 279, 1600, 669, 335, 358, 326, 4031, 2430, 854, 2522, 18, 1220, 4696, 716, 279, 14467, 12860, 711, 358, 506, 3096...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 3462, 353, 1772, 16, 467, 654, 39, 3462, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 3...
//***********************************EthVentures v4**************************************************************************** // // TIRED OF POINTLESS PONZI SCHEMES? Then join EthVentures the first decentralized company! // // // EthVentures is the first decentralized ethereum based company, with shareholder function...
send the 1% management fee to the manager
owner.send(PRE_amount/100);
13,011,400
[ 1, 4625, 348, 7953, 560, 30, 1366, 326, 404, 9, 11803, 14036, 358, 326, 3301, 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, 8443, 18, 4661, 12, 3670, 67, 8949, 19, 6625, 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, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import '....
@notice convert number to a decimal value string, number must be within 32 digits
function toString(uint256 number) internal pure returns (string memory) { bytes memory buffer = new bytes(32); assembly { } appendNumber(buffer, number); return string(buffer); }
12,693,452
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1765, 1300, 358, 279, 6970, 460, 533, 16, 1300, 1297, 506, 3470, 3847, 6815, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1762, 12, 11890, 5034, 1300, 13, 2713, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 1731, 3778, 1613, 273, 394, 1731, 12, 1578, 1769, 203, 3639, 19931, 288, 203, 3639, 289, 203, 3639, 714, 1854, 12, 4106, 16, 1300,...
pragma solidity ^0.8.0; pragma abicoder v2; import "./DELEGATE.sol"; interface iAppStore{ function install(uint256 appNumber) external view returns(string memory name,string[] memory names,address[] memory cons); } interface iApp{ function lock(address _lock) external; } interface iOverview{ fun...
/constituteOf[_constitute[i]] = appNext;
function install(uint256 _appStoreNumber,address lockAddress) external { beforeSelf(msg.data); (string memory _name,string[] memory names,address[] memory _constitute) = iAppStore(appStore).install(_appStoreNumber); apps[appNext].name = _name; require(nameToIndex[_name] == 0,"OS/inst...
13,137,171
[ 1, 4625, 348, 7953, 560, 30, 342, 591, 17207, 951, 63, 67, 591, 17207, 63, 77, 13563, 273, 595, 2134, 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, ...
[ 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, 445, 3799, 12, 11890, 5034, 389, 2910, 2257, 1854, 16, 2867, 2176, 1887, 13, 3903, 288, 203, 3639, 1865, 10084, 12, 3576, 18, 892, 1769, 203, 3639, 261, 1080, 3778, 389, 529, 16, 1080, 8526, 3778, 1257, 16, 2867, 8526, 3778,...
./partial_match/1/0x14A933E66db326db730a0189451b48951353A658/sources/HamacaToken.sol
@dev Returns the name of the token.
function name() public view virtual override returns (string memory) { return "Hamaca"; }
2,665,092
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2860, 326, 508, 434, 326, 1147, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 508, 1435, 1071, 1476, 5024, 3849, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 315, 44, 301, 1077, 69, 14432, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/1/0x5EbFFc53C3b8A71120789a211F9B91C79c78D1e0/sources/SOJUDAO.sol
* @dev Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execut...
abstract contract Context { ______ function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
2,649,474
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28805, 1779, 2973, 326, 783, 4588, 819, 16, 6508, 326, 5793, 434, 326, 2492, 471, 2097, 501, 18, 21572, 4259, 854, 19190, 2319, 3970, 1234, 18, 15330, 471, 1234, 18, 892, 16, 2898, 1410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 1772, 288, 203, 9079, 389, 7198, 67, 203, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31, 203, 565, 289, 203, 203, 565, 445, 389, 3576, 751, 1...
./full_match/1/0xbE19cC5654e30dAF04AD3B5E06213D70F4e882eE/sources/contracts/oracle/OracleRouter.sol
* @dev The price feed contract to use for a particular asset along with maximum data staleness @param asset address of the asset @return feedAddress address of the price feed for the asset @return maxStaleness maximum acceptable data staleness duration/* @notice Returns the total price in 18 digit unit for a given...
{ (address _feed, uint256 maxStaleness) = feedMetadata(asset); require(_feed != address(0), "Asset not available"); require(_feed != FIXED_PRICE, "Fixed price feeds not supported"); (, int256 _iprice, , uint256 updatedAt, ) = AggregatorV3Interface(_feed) .latestRoundData...
16,443,429
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1021, 6205, 4746, 6835, 358, 999, 364, 279, 6826, 3310, 7563, 598, 1377, 4207, 501, 384, 287, 15681, 632, 891, 3310, 1758, 434, 326, 3310, 632, 2463, 4746, 1887, 1758, 434, 326, 6205, 474...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 261, 2867, 389, 7848, 16, 2254, 5034, 943, 510, 287, 15681, 13, 273, 4746, 2277, 12, 9406, 1769, 203, 3639, 2583, 24899, 7848, 480, 1758, 12, 20, 3631, 315, 6672, 486, 2319, 8863, 203, 3639, 2583, 24899, 7848...
pragma solidity ^0.4.8; contract RuletkaIo { /*** EVENTS ***/ /// @dev A russian Roulette has been executed between 6 players /// in room roomId and unfortunately, victim got shot and didn't /// make it out alive... RIP event partyOver(uint256 roomId, address victim, address[] winners); ...
** EVENTS ***/ @dev A russian Roulette has been executed between 6 players in room roomId and unfortunately, victim got shot and didn't make it out alive... RIP @dev A new player has enter a room @dev A room is full, we close the door. Game can start. @dev A safety mechanism has been triggered to empty the room and ref...
function RuletkaIo() public { CTO = msg.sender; CEO = msg.sender; }
1,098,510
[ 1, 4625, 348, 7953, 560, 30, 2826, 9964, 55, 18852, 19, 632, 5206, 432, 436, 5567, 2779, 534, 1003, 7637, 711, 2118, 7120, 3086, 1666, 18115, 316, 7725, 7725, 548, 471, 640, 24233, 16, 28873, 381, 2363, 24167, 471, 10242, 1404, 1221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 534, 332, 278, 7282, 15963, 1435, 1071, 288, 203, 3639, 385, 4296, 273, 1234, 18, 15330, 31, 203, 3639, 29538, 51, 273, 1234, 18, 15330, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.0; import "@openzeppelin/contracts/token/ERC721/ERC721Full.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; /// @title Kudos /// @author Jason Haas /// @notice Kudos ERC721 interface for minting, cloning, and transferring Kudos toke...
@dev getLatestId(): Returns the newest Kudos Id in the kudos array. @return the latest kudos id.
function getLatestId() public view returns (uint256 tokenId) { if (kudos.length == 0) { tokenId = 0; tokenId = kudos.length - 1; } }
6,376,170
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 336, 18650, 548, 13332, 2860, 326, 19824, 1475, 1100, 538, 3124, 316, 326, 417, 1100, 538, 526, 18, 632, 2463, 326, 4891, 417, 1100, 538, 612, 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, 336, 18650, 548, 1435, 1071, 1476, 1135, 261, 11890, 5034, 1147, 548, 13, 203, 565, 288, 203, 3639, 309, 261, 79, 1100, 538, 18, 2469, 422, 374, 13, 288, 203, 5411, 1147, 548, 273, 374, 31, 203, 5411, 1147, 548, 273, ...
./partial_match/1/0xaE28F96E20f828047E679e218ecDd1a87037fc59/sources/SHIBAINU.sol
2% from total supply maxWallet
maxWallet = 100000000 * 1e18;
2,623,384
[ 1, 4625, 348, 7953, 560, 30, 225, 576, 9, 628, 2078, 14467, 943, 16936, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 943, 16936, 273, 2130, 9449, 380, 404, 73, 2643, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; // Token protocols import {IERC20Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import {ERC20Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import {IERC1363Upgradeable} from "...
Burns existing GNXTokens from address @notice Only accessible to ROLE_MINTER @param _from Address to burn tokens from @param _amount Quantity burned
function burn(address _from, uint256 _amount) public override(IGNXToken) onlyRole(ROLE_MINTER) returns (bool) { _burn(_from, _amount); return true; }
5,521,100
[ 1, 4625, 348, 7953, 560, 30, 225, 605, 321, 87, 2062, 611, 50, 3983, 3573, 628, 1758, 632, 20392, 5098, 12718, 358, 22005, 67, 6236, 2560, 632, 891, 389, 2080, 5267, 358, 18305, 2430, 628, 632, 891, 389, 8949, 18189, 18305, 329, 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, 18305, 12, 2867, 389, 2080, 16, 2254, 5034, 389, 8949, 13, 1071, 3849, 12, 10452, 60, 1345, 13, 1338, 2996, 12, 16256, 67, 6236, 2560, 13, 1135, 261, 6430, 13, 288, 203, 3639, 389, 70, 321, 24899, 2080, 16, 389, 8949,...
./full_match/1/0x50E7F7C779D6F351D457De8f1BDeDc3cd12d85c2/sources/contracts/BrightBundles.sol
* @dev Changes Bundle Price BrightList Amount `Price` At Index `BundleIndex` note: This Is Input In WEI Not In Ether. 1 ETH = 1000000000000000000 WEI/
function _ChangeBundlePricesBrightList(uint[] calldata BundleIndexes, uint[] calldata Prices) external onlyBRTOperator { for(uint i; i < BundleIndexes.length; i++) { Bundles[BundleIndexes[i]].PriceBrightList = Prices[i]; } emit BundleChangedPricesBrightList(BundleIn...
4,984,352
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 17776, 8539, 20137, 605, 4083, 682, 16811, 1375, 5147, 68, 2380, 3340, 1375, 3405, 1016, 68, 4721, 30, 1220, 2585, 2741, 657, 13880, 45, 2288, 657, 512, 1136, 18, 404, 512, 2455, 273, 213...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 389, 3043, 3405, 31862, 38, 4083, 682, 12, 11890, 8526, 745, 892, 8539, 8639, 16, 2254, 8526, 745, 892, 2301, 1242, 13, 3903, 1338, 7192, 56, 5592, 7010, 565, 288, 203, 3639, 364, 12, 11890, 277, 31, 277, 411, 8539, 8...
/** * Copyright 2017-2020, bZeroX, LLC <https://bzx.network/>. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ pragma solidity 0.5.17; interface IWeth { function deposit() external payable; function withdraw(uint256 wad) external; } contract IERC20 { string public name; ...
keccak256("Pausable_FunctionPause")
contract Pausable { bytes32 internal constant Pausable_FunctionPause = 0xa7143c84d793a15503da6f19bf9119a2dac94448ca45d77c8bf08f57b2e91047; modifier pausable(bytes4 sig) { require(!_isPaused(sig), "unauthorized"); _; } function _isPaused( bytes4 sig) internal vi...
1,119,171
[ 1, 4625, 348, 7953, 560, 30, 225, 417, 24410, 581, 5034, 2932, 16507, 16665, 67, 2083, 19205, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 21800, 16665, 288, 203, 203, 565, 1731, 1578, 2713, 5381, 21800, 16665, 67, 2083, 19205, 273, 374, 6995, 27, 28643, 71, 5193, 72, 7235, 23, 69, 23643, 4630, 2414, 26, 74, 3657, 17156, 29, 23635, 69, 22, 72, 1077, 29, 6334,...
pragma solidity >=0.5.0 <0.6.0; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; contract EventLottery is Ownable { event onRegisterApplicant(address _address, uint32 _member_srl); event onVerifyApplicant(address _address); struct Player { address addr; // address uint32 member_srl; // m...
sending Eth to enter lottery: payable function type
function verify() public { require(AddressToApplicant[msg.sender] != 0); uint32 member_srl = AddressToMemberSrl[msg.sender]; require(member_srl > 0); uint32 id = AddressToApplicant[msg.sender] - 1; uint uid = VerifiedPlayers.push(Applicants[id]); AddressToPlayer[msg.sender] = uint32(uid); ...
2,552,197
[ 1, 4625, 348, 7953, 560, 30, 225, 5431, 512, 451, 358, 6103, 17417, 387, 93, 30, 8843, 429, 445, 618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 3929, 1435, 1071, 288, 203, 565, 2583, 12, 1887, 774, 1294, 1780, 970, 63, 3576, 18, 15330, 65, 480, 374, 1769, 203, 203, 565, 2254, 1578, 3140, 67, 87, 1321, 273, 5267, 774, 4419, 55, 1321, 63, 3576, 18, 15330, 15533...
./full_match/1/0xFdE73dd610afc84b0Af32Dd0924Ca5B719822E86/sources/contracts/libs/Inflate.sol
Input/output state Temp: last bit Temp: block type bit Error code Build fixed Huffman tables Process blocks until last block or error One if last block Block type 0..3 type == 3, invalid Return with error
unchecked { State memory s = State( new bytes(destlen), 0, source, 0, 0, 0, Huffman(new uint256[](MAXBITS + 1), new uint256[](FIXLCODES)), Huffman(new uint256[](MAXBITS + 1...
8,482,469
[ 1, 4625, 348, 7953, 560, 30, 225, 2741, 19, 2844, 919, 16380, 30, 1142, 2831, 16380, 30, 1203, 618, 2831, 1068, 981, 3998, 5499, 670, 28581, 4606, 4389, 4398, 3180, 1142, 1203, 578, 555, 6942, 309, 1142, 1203, 3914, 618, 374, 838, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 22893, 288, 203, 5411, 3287, 3778, 272, 273, 3287, 12, 203, 7734, 394, 1731, 12, 10488, 1897, 3631, 203, 7734, 374, 16, 203, 7734, 1084, 16, 203, 7734, 374, 16, 203, 7734, 374, 16, 203, 7734, 374, 16, 203, 7734, 670, 2858...
./partial_match/1/0xBd85C3ACD012476dDeCD5Dd2B834880F51f62d04/sources/contracts/libs/base64.sol
store 2nd charinput := add(shl(8, input), and(b, 0xFF))resultLen := add(resultLen, 1)mstore(resultPtr, shl(248, b)) resultPtr := add(resultPtr, 1) resultLen := add(resultLen, 1)
case 9 { mstore8(resultPtr, b) resultPtr := add(resultPtr, 1) state := add(state, 1) } resultPtr := add(resultPtr, 1) ...
15,959,657
[ 1, 4625, 348, 7953, 560, 30, 225, 1707, 576, 4880, 1149, 2630, 519, 527, 12, 674, 80, 12, 28, 16, 810, 3631, 471, 12, 70, 16, 374, 6356, 3719, 2088, 2891, 519, 527, 12, 2088, 2891, 16, 404, 13, 81, 2233, 12, 2088, 5263, 16, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 13491, 648, 2468, 288, 203, 27573, 312, 2233, 28, 12, 2088, 5263, 16, 324, 13, 203, 27573, 563, 5263, 519, 527, 12, 2088, 5263, 16, 404, 13, 203, 27573, 919, 519, 527, 12, 2019, 16, 404, 13, 203, 13491, 289, 203, 27573, 563, ...
// File contracts/interfaces/IERC20Expanded.sol // SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; interface IERC20Expanded { function symbol() external view returns (string memory); function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); ...
Modifier checking if public sale is active
modifier isPublicSaleActive { require(block.timestamp >= salePublicStartTime && block.timestamp <= salePublicEndTime); require(state == ContractState.TOKENS_SUPPLIED); _; } uint256 _salePrivateStartTime, uint256 _salePrivateEndTime, uint256 _salePublicStartTime,...
2,514,222
[ 1, 4625, 348, 7953, 560, 30, 225, 12832, 6728, 309, 1071, 272, 5349, 353, 2695, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 19620, 30746, 3896, 288, 203, 3639, 2583, 12, 2629, 18, 5508, 1545, 272, 5349, 4782, 13649, 597, 1203, 18, 5508, 1648, 272, 5349, 4782, 25255, 1769, 203, 3639, 2583, 12, 2019, 422, 13456, 1119, 18, 8412, 55, 67, 13272, ...
./full_match/7700/0xD3495421e0A09Eeb3b58Ff8A8427BA6b411c3aAe/sources/contracts/common/OutgoingTransferSupport/V1/OutgoingTransferSupportV1.sol
@title OutgoingTransferSupportV1 @author tbtstl <t@zora.co> @notice This contract extension supports paying out funds to an external recipient
contract OutgoingTransferSupportV1 { using SafeERC20 for IERC20; IWETH immutable weth; pragma solidity 0.8.10; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {IWETH} from "./IWETH.sol"; constr...
4,663,172
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 2976, 8162, 5912, 6289, 58, 21, 632, 4161, 8739, 88, 334, 80, 411, 88, 36, 94, 10610, 18, 2894, 34, 632, 20392, 1220, 6835, 2710, 6146, 8843, 310, 596, 284, 19156, 358, 392, 3903, 8027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 2976, 8162, 5912, 6289, 58, 21, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 467, 59, 1584, 44, 11732, 341, 546, 31, 203, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 2163, 31,...
pragma solidity >=0.5.3 < 0.6.0; import { ERC20, SafeMath } from "./_resources/openzeppelin-solidity/token/ERC20/ERC20.sol"; contract PseudoDaiToken is ERC20 { using SafeMath for uint256; // using SafeMath for uint8; string public name; string public symbol; uint8 public decimals; uint256 inte...
/* @dev Function to check the amount of tokens that an owner allowed to a spender. @param _owner : address The address which owns the funds. @param _spender : address The address which will spend the funds. @return A uint256 specifying the amount of tokens still available for the spender./
view functions ---------------------------------------------------- function allowance( address _owner, address _spender ) public view returns (uint256 remaining) { remaining = allowed[_owner][_spender]; }
2,551,822
[ 1, 4625, 348, 7953, 560, 30, 1748, 632, 5206, 4284, 358, 866, 326, 3844, 434, 2430, 716, 392, 3410, 2935, 358, 279, 17571, 264, 18, 632, 891, 389, 8443, 565, 294, 1758, 1021, 1758, 1492, 29065, 326, 284, 19156, 18, 632, 891, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 1476, 4186, 203, 565, 13420, 6062, 2398, 203, 203, 565, 445, 1699, 1359, 12, 203, 3639, 1758, 389, 8443, 16, 203, 3639, 1758, 389, 87, 1302, 264, 203, 377, 262, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, ...
/** *Submitted for verification at Etherscan.io on 2022-04-05 */ /** *Submitted for verification at Etherscan.io on 2022-03-29 */ /** https://t.me/falqomofficial This token was launched due to the wasted potential from the developers on Falqom v1, so a few QOM/FALQOM holders have decided to do it right. ...
Buy FeeSell FeeOriginal Fee
contract FALQOMv2 is Context, IERC20, Ownable { using SafeMath for uint256; uint8 private constant _decimals = 9; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address =...
8,074,404
[ 1, 4625, 348, 7953, 560, 30, 605, 9835, 30174, 55, 1165, 30174, 8176, 30174, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 478, 1013, 53, 1872, 90, 22, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 7010, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 7010, 565, 2254, 28, 3238, 5381, 389, 31734, 273, 2468, 31, 203, 7010, 5...
./full_match/8453/0x44d33798dddCdAbc93Fe6a40C80588033Dc502d3/sources/contracts/yearn-linear-pool/YearnLinearPoolRebalancer.sol
These Rebalancers can only be deployed from a factory to work around a circular dependency: the Pool must know the address of the Rebalancer in order to register it, and the Rebalancer must know the address of the Pool during construction.
contract YearnLinearPoolRebalancer is LinearPoolRebalancer, YearnShareValueHelper { using SafeERC20 for IERC20; constructor(IVault vault, IBalancerQueries queries) LinearPoolRebalancer(ILinearPool(ILastCreatedPoolFactory(msg.sender).getLastCreatedPool()), vault, queries) { } function _w...
11,541,892
[ 1, 4625, 348, 7953, 560, 30, 225, 8646, 868, 70, 18533, 848, 1338, 506, 19357, 628, 279, 3272, 358, 1440, 6740, 279, 15302, 4904, 30, 326, 8828, 1297, 5055, 326, 1758, 434, 326, 868, 18770, 316, 1353, 358, 1744, 518, 16, 471, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1624, 73, 1303, 15982, 2864, 426, 18770, 353, 13921, 2864, 426, 18770, 16, 1624, 73, 1303, 9535, 620, 2276, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 3885, 12, 8188, 3714, 9229,...
pragma solidity 0.5.8; // From: https://github.com/mixbytes/solidity/blob/master/contracts/ownership/multiowned.sol // Copyright (C) 2017 MixBytes, LLC // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // Unless required by applicab...
If set to a truthy value, the group will be considered unlocked after this time elapses and the group is distributed.
struct Group { string name; } address[] internal initialSigners = [0xCdF06E2F49F7445098CFA54F52C7f43eE40fa016, 0x0D2b5b40F88cCb05e011509830c2E5003d73FE92, 0x363d591196d3004Ca708DB2049501440718594f5]; address public oracleAddress; address constant public oldSprkAddress = 0x971d048E737619884f2df75e31c7Eb641239232...
13,120,017
[ 1, 4625, 348, 7953, 560, 30, 225, 971, 444, 358, 279, 16512, 93, 460, 16, 326, 1041, 903, 506, 7399, 25966, 1839, 333, 813, 415, 30996, 471, 326, 1041, 353, 16859, 18, 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, 202, 1697, 3756, 288, 203, 202, 202, 1080, 508, 31, 203, 202, 97, 203, 203, 202, 2867, 8526, 2713, 2172, 2766, 414, 273, 306, 20, 14626, 72, 42, 7677, 41, 22, 42, 7616, 42, 5608, 24, 5995, 28, 39, 2046, 6564, 42, 9401, 39, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.8; import "@animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/ERC20WithOperators.sol"; import "@animoca/ethereum-contracts-core_library-3/contracts/access/MinterRole.sol"; /** * @title REDP */ contract REDP is ERC20WithOperators, MinterRole { // sol...
* @title REDP/ solhint-disable-next-line const-name-snakecase solhint-disable-next-line const-name-snakecase solhint-disable-next-line const-name-snakecase
contract REDP is ERC20WithOperators, MinterRole { string public constant override name = "REDP"; string public constant override symbol = "REDP"; uint8 public constant override decimals = 18; function mint(address holder, uint256 amount) public onlyMinter { _mint(holder, amount); } fu...
5,545,509
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 14411, 52, 19, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 1866, 17, 529, 17, 8134, 581, 557, 448, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 1866, 17, 529, 17, 8134, 581, 557, 448, 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, 0, 0, 0...
[ 1, 16351, 14411, 52, 353, 4232, 39, 3462, 1190, 24473, 16, 490, 2761, 2996, 288, 203, 565, 533, 1071, 5381, 3849, 508, 273, 315, 5879, 52, 14432, 203, 565, 533, 1071, 5381, 3849, 3273, 273, 315, 5879, 52, 14432, 203, 565, 2254, 28, ...
./full_match/3/0xF9ADf8038617B076169eC55594c46DCc1b3311F2/sources/contracts/voting.sol
Give `voter` the right to vote on this ballot. May only be called by `chairperson`. If the first argument of `require` evaluates to `false`, execution terminates and all changes to the state and to Ether balances are reverted. This used to consume all gas in old EVM versions, but not anymore. It is often a good idea t...
function giveRightToVote(address voter) external { require( msg.sender == chairperson, "Only chairperson can give right to vote." ); require( !voters[voter].voted, "The voter already voted." ); require(voters[voter].weight == 0)...
8,101,298
[ 1, 4625, 348, 7953, 560, 30, 225, 22374, 1375, 90, 20005, 68, 326, 2145, 358, 12501, 603, 333, 26503, 352, 18, 16734, 1338, 506, 2566, 635, 1375, 343, 1826, 12479, 8338, 971, 326, 1122, 1237, 434, 1375, 6528, 68, 20996, 358, 1375, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 8492, 4726, 774, 19338, 12, 2867, 331, 20005, 13, 3903, 288, 203, 3639, 2583, 12, 203, 5411, 1234, 18, 15330, 422, 462, 1826, 12479, 16, 203, 5411, 315, 3386, 462, 1826, 12479, 848, 8492, 2145, 358, 12501, 1199, 203, 36...
./full_match/80001/0x4F89e8f36Efaed2420cfE3019413Bfa83172db68/sources/contracts/Contract.sol
View function to get sale information
function getSaleInfo() external view returns (uint256 tokensAt5M, uint256 tokensAt10M, uint256 expectedEthAt5M, uint256 expectedEthAt10M) { tokensAt5M = tokensFor5M; tokensAt10M = tokensFor10M; }
5,675,985
[ 1, 4625, 348, 7953, 560, 30, 225, 4441, 445, 358, 336, 272, 5349, 1779, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1322, 5349, 966, 1435, 3903, 1476, 1135, 261, 11890, 5034, 2430, 861, 25, 49, 16, 2254, 5034, 2430, 861, 2163, 49, 16, 2254, 5034, 2665, 41, 451, 861, 25, 49, 16, 2254, 5034, 2665, 41, 451, 861, 2163, 49, 13, 288, 2...
/* Copyright 2020 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...
* @dev Multiplies value a by value b where rounding is towards the lesser number. (positive values are rounded towards zero and negative values are rounded away from 0)./
function conservativePreciseMul(int256 a, int256 b) internal pure returns (int256) { return divDown(a.mul(b), PRECISE_UNIT_INT); }
91,359
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5991, 5259, 460, 279, 635, 460, 324, 1625, 13885, 353, 23248, 326, 5242, 264, 1300, 18, 261, 21094, 924, 854, 16729, 23248, 3634, 471, 6092, 924, 854, 16729, 10804, 628, 374, 2934, 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, 356, 23039, 1535, 1386, 30708, 27860, 12, 474, 5034, 279, 16, 509, 5034, 324, 13, 2713, 16618, 1135, 261, 474, 5034, 13, 288, 203, 3639, 327, 3739, 4164, 12, 69, 18, 16411, 12, 70, 3631, 7071, 7266, 1090, 67, 15736, 6...
./partial_match/1/0x20794b4cCcE8a6FE872E554B817709373bA5e2b8/sources/contracts/Bloom.sol
mapping of taxed pool
mapping (address => bool) public taxedPool;
3,610,689
[ 1, 4625, 348, 7953, 560, 30, 225, 2874, 434, 5320, 329, 2845, 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, 261, 2867, 516, 1426, 13, 1071, 5320, 329, 2864, 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, -10...
./full_match/8453/0xDef1C0ded9bec7F1a1670819833240f027b25EfF/sources/home/user/Documents/git-repos/0x/protocol/node_modules/@0x/contracts-utils/contracts/src/v06/LibBytesV06.sol
@dev Writes a uint256 into a specific position in a byte array. @param b Byte array to insert <input> into. @param index Index in byte array of <input>. @param input uint256 to put into byte array.
function writeUint256(bytes memory b, uint256 index, uint256 input) internal pure { writeBytes32(b, index, bytes32(input)); }
11,536,045
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 30053, 279, 2254, 5034, 1368, 279, 2923, 1754, 316, 279, 1160, 526, 18, 632, 891, 324, 3506, 526, 358, 2243, 411, 2630, 34, 1368, 18, 632, 891, 770, 3340, 316, 1160, 526, 434, 411, 2630...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1045, 5487, 5034, 12, 3890, 3778, 324, 16, 2254, 5034, 770, 16, 2254, 5034, 810, 13, 2713, 16618, 288, 203, 3639, 29579, 1578, 12, 70, 16, 770, 16, 1731, 1578, 12, 2630, 10019, 203, 565, 289, 203, 203, 2, -100, -100, ...
./full_match/77/0xe7515f8DBb2545772C0F60ce14Bd117D6847eb4d/sources/contracts/MuliTokenForwardingRulesManager.sol
specific token for specific sender
lane = forwardingRule[_token][_sender][ANY_ADDRESS];
5,049,447
[ 1, 4625, 348, 7953, 560, 30, 225, 2923, 1147, 364, 2923, 5793, 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, 5411, 328, 8806, 273, 20635, 2175, 63, 67, 2316, 6362, 67, 15330, 6362, 15409, 67, 15140, 15533, 225, 2, -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.6; // Abstract contract can not be compiled // they can be used as a base contracts contract MyAbstractContract { function foo1() public returns(bool); function foo2() public pure returns(bool) { return true; } } // If a contract inherits another abstract contract without // i...
Abstract contract can not be compiled they can be used as a base contracts
contract MyAbstractContract { function foo1() public returns(bool); function foo2() public pure returns(bool) { return true; } }
5,394,050
[ 1, 4625, 348, 7953, 560, 30, 225, 4115, 6835, 848, 486, 506, 7743, 2898, 848, 506, 1399, 487, 279, 1026, 20092, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 16351, 8005, 7469, 8924, 288, 203, 565, 445, 8431, 21, 1435, 1071, 1135, 12, 6430, 1769, 203, 565, 445, 8431, 22, 1435, 1071, 16618, 1135, 12, 6430, 13, 288, 203, 3639, 327, 638, 31, 203, 565, 289, 203, 97, 203, 2, -100, -100, ...
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; /** * @title HardTransactionsLib * @dev Contains the data structures and utility functions needed for the L1 * hard transaction types. These structures are essentially the hard * transaction input types, and do not represent the data structures recorded ...
* @dev HardAddSigner @notice Data structure representing a hard 'add signer' transaction. @param accountIndex Index of the account on the Tiramisu chain. It is presumed that the user has access to this. @param caller Address of the contract which initiated the transaction. This is needed to check if the caller has appr...
struct HardAddSigner { uint32 accountIndex; address caller; address signingAddress; }
5,357,901
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 670, 1060, 986, 15647, 632, 20392, 1910, 3695, 5123, 279, 7877, 296, 1289, 10363, 11, 2492, 18, 632, 891, 2236, 1016, 3340, 434, 326, 2236, 603, 326, 399, 481, 301, 291, 89, 2687, 18, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 1958, 670, 1060, 986, 15647, 288, 203, 565, 2254, 1578, 2236, 1016, 31, 203, 565, 1758, 4894, 31, 203, 565, 1758, 10611, 1887, 31, 203, 225, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/cont...
@notice Prohibit a user from minting multiple tokens
function setDenyMultipleMinting() external onlyRole(OPERATOR_ROLE) { require(denyMultipleMinting == false, "Already prohibited"); denyMultipleMinting = true; }
6,421,514
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1186, 31597, 279, 729, 628, 312, 474, 310, 3229, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 444, 8517, 93, 8438, 49, 474, 310, 1435, 3903, 1338, 2996, 12, 26110, 67, 16256, 13, 288, 203, 3639, 2583, 12, 13002, 93, 8438, 49, 474, 310, 422, 629, 16, 315, 9430, 450, 29993, 8863, 203, 203, 3639, 17096, 8438, 49,...