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
./full_match/43114/0xECD72d039362fbFC52F8A8724E720753c50aa3B1/sources/contracts/synapse/wrappers/NerveMetaBridgeZap.sol
swap deposit into bridge, gets nUSD
function swapAndRedeem( address to, uint256 chainId, IERC20 token, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline ) external { IMetaSwapDeposit metaSwap = IMetaSwapDeposit(metaSwapMap[address(token)]); require(address(metaSwap) != addres...
4,588,879
[ 1, 22270, 443, 1724, 1368, 10105, 16, 5571, 290, 3378, 40, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 7720, 1876, 426, 24903, 12, 203, 565, 1758, 358, 16, 203, 565, 2254, 5034, 2687, 548, 16, 203, 565, 467, 654, 39, 3462, 1147, 16, 203, 565, 2254, 28, 1147, 1016, 1265, 16, 203, 565, 2254, 28, 1147, 1016, 774, 16, 20...
./full_match/80001/0x73f2BD68540Dfb65db040D0Ecb3AfDEA552dA121/sources/node_modules/_sygnum/solidity-base-contracts/contracts/role/base/Operatorable.sol
* @dev The function should be called from new operators contract by admin to ensure that operatorsPending address is the real contract address./
function confirmOperatorsContract() public { if (operatorsPending == address(0)) revert OperatorableNewOperatorsZeroAddress(); if (msg.sender != operatorsPending) revert OperatorableCallerNotOperatorsContract(msg.sender); _setOperatorsContract(operatorsPending); }
5,563,256
[ 1, 1986, 445, 1410, 506, 2566, 628, 394, 12213, 6835, 635, 3981, 358, 3387, 716, 12213, 8579, 1758, 4202, 353, 326, 2863, 6835, 1758, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 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, 6932, 24473, 8924, 1435, 1071, 288, 203, 3639, 309, 261, 30659, 8579, 422, 1758, 12, 20, 3719, 15226, 11097, 429, 1908, 24473, 7170, 1887, 5621, 203, 203, 3639, 309, 261, 3576, 18, 15330, 480, 12213, 8579, 13, 15226, 1109...
./full_match/80001/0x01C6e9E22EEE9AbeF520c732D72f05E3ED9E44e5/sources/contracts/libraries/AkkaLibrary.sol
performs chained getAmountOut calculations on any number of pairs require(path.length >= 2, 'PancakeLibrary: INVALID_PATH');
function getAmountsOut( uint256 amountIn, address[][] memory path, uint256[][] memory fees ) internal view returns (uint256[] memory amounts) { amounts = new uint256[](path.length + 1); amounts[0] = amountIn; for (uint256 i; i < path.length; i++) { (ui...
5,615,718
[ 1, 457, 9741, 20269, 24418, 1182, 20882, 603, 1281, 1300, 434, 5574, 2583, 12, 803, 18, 2469, 1545, 576, 16, 296, 4069, 23780, 9313, 30, 10071, 67, 4211, 8284, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 24418, 87, 1182, 12, 203, 3639, 2254, 5034, 3844, 382, 16, 203, 3639, 1758, 63, 6362, 65, 3778, 589, 16, 203, 3639, 2254, 5034, 63, 6362, 65, 3778, 1656, 281, 203, 565, 262, 2713, 1476, 1135, 261, 11890, 5034, 8526, 3...
pragma solidity ^0.4.24; //============================================================================== // _ _ _ _|_ _ . // (/_\/(/_| | | _\ . //============================================================================== contract PCKevents { // fired whenever a player registers a name event ...
* @dev withdraws all of your earnings. -functionhash- 0x3ccfd60b/ setup local rID grab time fetch player ID setup temp var for player eth check to see if round has ended and no one has run round end yet set up our tx event data end the round (distributes pot) get their earnings gib moni build event data fire withdraw a...
function withdraw() isActivated() isHuman() public { uint256 _rID = rID_; uint256 _now = now; uint256 _pID = pIDxAddr_[msg.sender]; uint256 _eth; if (_now > round_[_rID].end && round_[_rID].ended == false && roun...
1,254,102
[ 1, 1918, 9446, 87, 777, 434, 3433, 425, 1303, 899, 18, 300, 915, 2816, 17, 374, 92, 23, 952, 8313, 4848, 70, 19, 3875, 1191, 436, 734, 11086, 813, 2158, 7291, 1599, 3875, 1906, 569, 364, 7291, 13750, 866, 358, 2621, 309, 3643, 711...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 1435, 203, 3639, 353, 28724, 1435, 203, 3639, 27803, 6925, 1435, 203, 3639, 1071, 203, 565, 288, 203, 3639, 2254, 5034, 389, 86, 734, 273, 436, 734, 67, 31, 203, 540, 203, 3639, 2254, 5034, 389, 3338, 273, ...
./full_match/1/0x2f51aE60379B661F3f02089FD5b3C9D8c9fB9D78/sources/localhost/v6/HCore.sol
returns sorted token addresses, used to handle return values from pairs sorted in this order
library UniswapV2Library { using SafeMath for uint; function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, t...
3,106,528
[ 1, 6154, 3115, 1147, 6138, 16, 1399, 358, 1640, 327, 924, 628, 5574, 3115, 316, 333, 1353, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12083, 1351, 291, 91, 438, 58, 22, 9313, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 203, 565, 445, 1524, 5157, 12, 2867, 1147, 37, 16, 1758, 1147, 38, 13, 2713, 16618, 1135, 261, 2867, 1147, 20, 16, 1758, 1147, 21, ...
./full_match/137/0x45c98916d85e9325C9266e9BFad04629172baEF7/sources/project_/contracts/market/ERC721Listings.sol
* @dev See {IERC721Listings-listTokens}./
function listTokens(ListTokenInput[] calldata newListings) external { for (uint256 i = 0; i < newListings.length; i++) { address erc721Address = newListings[i].erc721Address; uint256 tokenId = newListings[i].tokenId; uint256 value = newListings[i].value; uint6...
4,752,265
[ 1, 9704, 288, 45, 654, 39, 27, 5340, 682, 899, 17, 1098, 5157, 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, 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, 666, 5157, 12, 682, 1345, 1210, 8526, 745, 892, 23605, 899, 13, 3903, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 23605, 899, 18, 2469, 31, 277, 27245, 288, 203, 5411, 1758, 6445, 71, 27, 5340,...
pragma solidity ^0.4.20; //--------------------------------------------------------- // 增强版的代币合约 V 0.9 // WangYi 2018-05-07 //--------------------------------------------------------- contract ERC20ext { // stand function totalSupply() public constant returns (uint supply); ...
* @dev Adds two numbers, throws on overflow./
function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; }
107,960
[ 1, 3655, 2795, 5600, 16, 1216, 603, 9391, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 527, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 276, 13, 7010, 225, 288, 203, 565, 276, 273, 279, 397, 324, 31, 203, 565, 1815, 12, 71, 1545, 279, 1769, 203, 565, 327, 276, 3...
pragma solidity 0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure ...
total coins sold in ICO
uint private totalCoinsSold = 0;
15,882,499
[ 1, 4963, 276, 9896, 272, 1673, 316, 467, 3865, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 3238, 2078, 39, 9896, 55, 1673, 273, 374, 31, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/5/0x5Fc847Ab7e97787808c772571f496F9F4ac0B346/sources/contracts/Crowdfunding.sol
Get the corresponding campaign by id
function getDonators(uint256 _campaignId) view public returns (address[] memory, uint256[] memory) { Campaign storage campaign = campaigns[_campaignId]; return (campaign.donators, campaign.donations); }
11,628,690
[ 1, 967, 326, 4656, 8965, 635, 612, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2343, 265, 3062, 12, 11890, 5034, 389, 14608, 548, 13, 1476, 1071, 1135, 261, 2867, 8526, 3778, 16, 2254, 5034, 8526, 3778, 13, 288, 203, 3639, 17820, 2502, 8965, 273, 8965, 87, 63, 67, 14608, 548, 15533, 203, 540, 203,...
//SPDX-License-Identifier: MIT pragma solidity =0.7.6; pragma abicoder v2; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol"; import {Address} from "@openzeppe...
* @notice pause (if not paused) and then immediately shutdown the system, can be called when paused already @dev this bypasses the check on number of pauses or time based checks, but is irreversible and enables emergency settlement/
function shutDown() external onlyOwner notShutdown { isSystemPaused = true; isShutDown = true; indexForSettlement = Power2Base._getScaledTwap( oracle, ethQuoteCurrencyPool, weth, quoteCurrency, TWAP_PERIOD, false ...
13,123,570
[ 1, 19476, 261, 430, 486, 17781, 13, 471, 1508, 7636, 5731, 326, 2619, 16, 848, 506, 2566, 1347, 17781, 1818, 225, 333, 17587, 281, 326, 866, 603, 1300, 434, 6790, 6117, 578, 813, 2511, 4271, 16, 1496, 353, 9482, 266, 2496, 1523, 471...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 9171, 4164, 1435, 3903, 1338, 5541, 486, 10961, 288, 203, 3639, 353, 3163, 28590, 273, 638, 31, 203, 3639, 353, 1555, 322, 4164, 273, 638, 31, 203, 3639, 770, 1290, 694, 88, 806, 273, 23783, 22, 2171, 6315, 588, 55, 1...
pragma solidity 0.4.25; /******************************************/ /* Owned starts here */ /******************************************/ contract owned { address public owner; address public newOwner; event OwnershipTransferred(address indexed _from, address indexed _to); ...
Set the symbol for display purposes
symbol = "LOOIX";
13,026,124
[ 1, 694, 326, 3273, 364, 2562, 13694, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 3273, 273, 315, 1502, 51, 12507, 14432, 5397, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "../vendors/interfaces/IUniswapOracle.sol"; import "../vendors/libraries/UniswapV2Library.sol"; import "../vendors/libraries/FixedPoint.sol"; import "../vendors/libraries/SafeMath.sol"; import "../vendors/libraries/Uniswap...
returns the index of the observation corresponding to the given timestamp
function observationIndexOf(uint timestamp) public view returns (uint8 index) { uint epochPeriod = timestamp / periodSize; return uint8(epochPeriod % granularity); }
109,615
[ 1, 6154, 326, 770, 434, 326, 13853, 4656, 358, 326, 864, 2858, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13853, 31985, 12, 11890, 2858, 13, 1071, 1476, 1135, 261, 11890, 28, 770, 13, 288, 203, 3639, 2254, 7632, 5027, 273, 2858, 342, 3879, 1225, 31, 203, 3639, 327, 2254, 28, 12, 12015, 5027, 738, 25380, 1769, 203, 565, 289,...
pragma solidity ^0.4.24; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "./interfaces/IOwnable.sol"; import "./interfaces/ISTFactory.sol"; import "./interfaces/IERC20.sol"; import "./interfaces/ISecurityTokenRegistry.sol"; import "./storage/EternalStorage.sol"; import "./libraries/Util.sol"; import...
* @notice Internal - Checks if the entered ticker is registered and has not expired @param _ticker is the token ticker @return bool/solium-disable-next-line security/no-block-members*/
function _tickerAvailable(string _ticker) internal view returns(bool) { if (_tickerOwner(_ticker) != address(0)) { if ((now > getUint(Encoder.getKey("registeredTickers_expiryDate", _ticker))) && !_tickerStatus(_ticker)) { return true; } else return fal...
12,831,539
[ 1, 3061, 300, 13074, 309, 326, 16219, 14063, 353, 4104, 471, 711, 486, 7708, 225, 389, 88, 5448, 353, 326, 1147, 14063, 327, 1426, 19, 18281, 5077, 17, 8394, 17, 4285, 17, 1369, 4373, 19, 2135, 17, 2629, 17, 7640, 19, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 88, 5448, 5268, 12, 1080, 389, 88, 5448, 13, 2713, 1476, 1135, 12, 6430, 13, 288, 203, 3639, 309, 261, 67, 88, 5448, 5541, 24899, 88, 5448, 13, 480, 1758, 12, 20, 3719, 288, 203, 5411, 309, 14015, 3338, 405, 33...
./partial_match/56/0x41b98Df01000BD7EBb6d91c333C73c68e6CeBFC9/sources/src/automation/gelato/BackCombatibleTransfer.sol
@notice Library that adding support for ERC20 and native tokens transfers. @dev Based of https://github.com/gelatodigital/ops/blob/9a9cde6ab2f1b132b949f9244fd59a1de4da4123/contracts/vendor/gelato/FGelato.sol
library BackCombatibleTransfer { address public constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; function backCombatibleTransfer( address payable to, address paymentToken, uint256 amount pragma solidity ^0.8.19; import {SafeERC20, IERC20} from "@openzeppelin/contracts/token/ER...
11,039,925
[ 1, 9313, 716, 6534, 2865, 364, 4232, 39, 3462, 471, 6448, 2430, 29375, 18, 225, 25935, 434, 2333, 2207, 6662, 18, 832, 19, 75, 292, 270, 369, 360, 7053, 19, 4473, 19, 10721, 19, 29, 69, 29, 71, 323, 26, 378, 22, 74, 21, 70, 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, 12083, 4297, 11328, 8161, 5912, 288, 203, 565, 1758, 1071, 5381, 512, 2455, 273, 374, 17432, 1340, 1340, 41, 1340, 73, 41, 73, 41, 1340, 41, 73, 41, 73, 41, 1340, 9383, 41, 1340, 1340, 41, 1340, 1340, 1340, 73, 9383, 73, 41, ...
./partial_match/42/0x05722b2C4dd21770ac8c6a8077ADA0828266672f/sources/Implementation.sol
0-a. Pay out to Pool
mintToPool(poolReward);
3,297,523
[ 1, 20, 17, 69, 18, 13838, 596, 358, 8828, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 6647, 312, 474, 774, 2864, 12, 6011, 17631, 1060, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/3/0x19E860E37082a6932D29Fd184076F3Ba43F23259/sources/ItemBase.sol
* @dev Same with constructor, but is used and called by storage proxy as logic contract./ trick test
function getMetaInfo(uint256 _index) external view returns ( uint16, uint16, uint16, uint128 ); @dev returns the minor addresses of the formula. 0x762b8a4d function getMajorAddresses(uint256 _index) external view returns (address[] memory); @dev returns canDisenchant...
5,141,176
[ 1, 8650, 598, 3885, 16, 1496, 353, 1399, 471, 2566, 635, 2502, 2889, 487, 4058, 6835, 18, 19, 28837, 1842, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 915, 11312, 966, 12, 11890, 5034, 389, 1615, 13, 203, 202, 202, 9375, 203, 202, 202, 1945, 203, 202, 202, 6154, 261, 203, 1082, 202, 11890, 2313, 16, 203, 1082, 202, 11890, 2313, 16, 203, 1082, 202, 11890, 2313, 16, 203, 1...
pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // @openzeppel...
AF tokens created per block.
uint256 public tokenAFPerBlock;
5,438,309
[ 1, 6799, 2430, 2522, 1534, 1203, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 1147, 6799, 2173, 1768, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.5.17; // optimization runs: 200, evm version: istanbul interface DharmaTradeReserveV14Interface { event TRADE504( //inject NONSTANDARD NAMING address account, address suppliedAsset, address receivedAsset, address re...
Some really janky tokens only allow setting approval up to current balance.
if (!success) { (success, data) = address(token).call( abi.encodeWithSelector( token.APPROVE806.selector, address(_uniswap_router857), amount ) ); } require( success && (data.length == 0 || abi.decode(data, (bool))), "Token approval for ...
7,223,505
[ 1, 17358, 8654, 525, 2304, 93, 2430, 1338, 1699, 3637, 23556, 731, 358, 783, 11013, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 309, 16051, 4768, 13, 288, 203, 3639, 261, 4768, 16, 501, 13, 273, 1758, 12, 2316, 2934, 1991, 12, 203, 1850, 24126, 18, 3015, 1190, 4320, 12, 203, 5411, 1147, 18, 2203, 3373, 3412, 3672, 26, 18, 9663, 16, 1758, 24899, 31...
/** *Submitted for verification at Etherscan.io on 2020-02-11 */ // File: @aragon/os/contracts/common/EtherTokenConstant.sol /* * SPDX-License-Identitifer: MIT */ pragma solidity ^0.4.24; // aragonOS and aragon-apps rely on address(0) to denote native ETH, in // contracts where both tokens and ETH are accept...
add x^15 * (33! / 15!)
xi = (xi * _x) >> _precision; res += xi * 0x000000000057e22099c030d94100000;
451,546
[ 1, 1289, 619, 66, 3600, 225, 261, 3707, 5, 342, 4711, 24949, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 14087, 273, 261, 27005, 380, 389, 92, 13, 1671, 389, 14548, 31, 400, 1011, 14087, 380, 374, 92, 2787, 9449, 10321, 73, 27246, 2733, 71, 4630, 20, 72, 29, 9803, 11706, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/4/0xd0356Dc3Bda0CDbCa00b5e4bB184a2fd98Df6E88/sources/contracts/Payable.sol
either receive() or fallback() is mandatory for the contract to receive ETH by sending ETH to the contract's address declaring the receive() function that is executed when sending ETH to the contract address it was introduced in Solidity 0.6 and a contract can have only one receive function, declared with this syntax ...
contract Deposit{ receive() external payable{ } function getBalance() public view returns (uint) { return address(this).balance; } }
12,388,759
[ 1, 73, 2927, 6798, 1435, 578, 5922, 1435, 353, 11791, 364, 326, 6835, 358, 6798, 512, 2455, 635, 5431, 512, 2455, 358, 326, 6835, 1807, 1758, 20845, 326, 6798, 1435, 445, 716, 353, 7120, 1347, 5431, 512, 2455, 358, 326, 6835, 1758, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4019, 538, 305, 95, 203, 377, 203, 377, 203, 565, 6798, 1435, 3903, 8843, 429, 95, 203, 565, 289, 203, 27699, 7010, 377, 203, 27699, 377, 203, 540, 203, 7010, 565, 445, 2882, 6112, 1435, 1071, 1476, 1135, 261, 11890, 13, ...
./full_match/80001/0xB08cb1C019718835600EE4446e6966eb8Fb3bA90/sources/project_/contracts/Marketplace1155.sol
uint256 private _listingFee = 1 ether;mapping from nft contract address to sellId to sellingInfo
contract Marketplace1155 is Ownable, IMarketplace1155 { uint256 private _listingFee = 0 ether; address private _marketOwner; mapping(bytes32 => ListedNFT) listedNftsList; pragma solidity ^0.8.6; constructor() { _marketOwner = msg.sender; } function _verifyCollection( address w...
5,682,481
[ 1, 11890, 5034, 3238, 389, 21228, 14667, 273, 404, 225, 2437, 31, 6770, 628, 290, 1222, 6835, 1758, 358, 357, 80, 548, 358, 357, 2456, 966, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 6622, 24577, 2499, 2539, 353, 14223, 6914, 16, 467, 3882, 24577, 2499, 2539, 288, 203, 565, 2254, 5034, 3238, 389, 21228, 14667, 273, 374, 225, 2437, 31, 203, 565, 1758, 3238, 389, 27151, 5541, 31, 203, 203, 565, 2874, 12, ...
pragma solidity ^0.4.24; library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also teste...
send tokens to buyer
function() public payable { require(startPreSaleDate <= now && now <= endIcoDate); require(msg.value >= 0.1 ether); require(!crowdsaleFinished); totalCup += msg.value; uint token = evaluateTokens(msg.value, msg.sender); balances[msg.sender] = balances[msg.sender].add(...
12,656,330
[ 1, 4661, 2430, 358, 27037, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1435, 1071, 8843, 429, 288, 203, 3639, 2583, 12, 1937, 1386, 30746, 1626, 1648, 2037, 597, 2037, 1648, 679, 45, 2894, 1626, 1769, 203, 3639, 2583, 12, 3576, 18, 1132, 1545, 374, 18, 21, 225, 2437, 1769, 203, 3639, 2583,...
pragma solidity >=0.5.4 <0.6.0; import './SafeMath.sol'; import './TAOController.sol'; import './ITAOPool.sol'; import './ITAOFactory.sol'; import './TAOCurrency.sol'; import './Logos.sol'; import './TAO.sol'; /** * @title TAOPool * * This contract acts as the bookkeeper of TAO Currencies that are staked on TAO *...
* Event to be broadcasted to public when nameId stakes Ethos/
event StakeEthos(address indexed taoId, bytes32 indexed ethosLotId, address indexed nameId, uint256 lotQuantity, uint256 poolPreStakeSnapshot, uint256 poolStakeLotSnapshot, uint256 lotValueInLogos, uint256 timestamp);
12,935,861
[ 1, 1133, 358, 506, 8959, 329, 358, 1071, 1347, 508, 548, 384, 3223, 512, 451, 538, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 2575, 934, 911, 41, 451, 538, 12, 2867, 8808, 17433, 548, 16, 1731, 1578, 8808, 13750, 538, 48, 352, 548, 16, 1758, 8808, 508, 548, 16, 2254, 5034, 17417, 12035, 16, 2254, 5034, 2845, 1386, 510, 911, 4568, 16, 2254, 5034, ...
./partial_match/3/0x48CEDc686E9a368256Ee4344880556a5312Fdc24/sources/wearables_distribution.sol
@notice only contract's owner have the right to add merkleroot. @dev set _merkelRoot @param _merkelRoot provide the merkleroot to enable merkle verification
function setmerkleroot(bytes32 _merkelRoot) private onlyOwner { merkleRoot = _merkelRoot; }
5,126,990
[ 1, 3700, 6835, 1807, 3410, 1240, 326, 2145, 358, 527, 4045, 79, 749, 1632, 18, 225, 444, 389, 6592, 79, 292, 2375, 225, 389, 6592, 79, 292, 2375, 5615, 326, 4045, 79, 749, 1632, 358, 4237, 30235, 11805, 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, 444, 6592, 79, 749, 1632, 12, 3890, 1578, 225, 389, 6592, 79, 292, 2375, 13, 3238, 1338, 5541, 288, 203, 3639, 30235, 2375, 273, 389, 6592, 79, 292, 2375, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, ...
./partial_match/1/0x11D635bbba3f9B8f7C9b91cA9f315a2207cb5AD5/sources/dHealthToken.sol
* @dev Constructor that initializes token contract with token address in parameter/ set token set growth contract address
public { token = dHealthToken(_token); growthContract = _growthContract; }
9,236,461
[ 1, 6293, 716, 11643, 1147, 6835, 598, 1147, 1758, 316, 1569, 19, 444, 1147, 444, 13334, 451, 6835, 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, ...
[ 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, 202, 202, 482, 288, 203, 202, 202, 2316, 273, 302, 7802, 1345, 24899, 2316, 1769, 203, 203, 202, 202, 75, 492, 451, 8924, 273, 389, 75, 492, 451, 8924, 31, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1313161554/0x51e20134b7c11D9e868E0EE227BAbc429CA1c2e8/sources/contracts/libraries/LibSwapper.sol
@notice A call to another dex or contract done and here is the result @param target The address of dex or contract that is called @param success A boolean indicating that the call was success or not @param returnData The response of function call
event CallResult(address target, bool success, bytes returnData);
13,230,287
[ 1, 37, 745, 358, 4042, 302, 338, 578, 6835, 2731, 471, 2674, 353, 326, 563, 225, 1018, 1021, 1758, 434, 302, 338, 578, 6835, 716, 353, 2566, 225, 2216, 432, 1250, 11193, 716, 326, 745, 1703, 2216, 578, 486, 225, 327, 751, 1021, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 3049, 1253, 12, 2867, 1018, 16, 1426, 2216, 16, 1731, 327, 751, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: No License (None) pragma solidity ^0.8.0; import "./TransferHelper.sol"; interface IERC20 { function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function transfer(address recipient, uint256 amount) external returns (bool); function a...
percentage of company Fee Reimbursement by SMART tokens
uint256 public companyFeeReimbursement;
285,013
[ 1, 18687, 434, 9395, 30174, 868, 381, 70, 295, 307, 475, 635, 12014, 4928, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 9395, 14667, 426, 381, 70, 295, 307, 475, 31, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0xff6609E258267567F168105190cF8935f6229cD1/sources/PengyPresaleMainnet.sol
Variables visibility is private, we are fetching them with the getters to optimise gas usage We are using ether because the token has 18 decimals We're using those in frontend to show the contributions per tier
contract PengyPresaleMainnet { address public immutable tokenAddress; address public immutable owner; address public constant ethWithdrawDestination = 0xe7bE0E9c3a5650dB004E306FC9D9cCE97eEe7166; uint256 private constant tiersCooldown = 10 minutes; uint256 private tierOneStartTimestamp; ...
2,845,942
[ 1, 6158, 9478, 353, 3238, 16, 732, 854, 16191, 2182, 598, 326, 23849, 358, 5213, 784, 16189, 4084, 1660, 854, 1450, 225, 2437, 2724, 326, 1147, 711, 6549, 15105, 1660, 4565, 1450, 5348, 316, 15442, 358, 2405, 326, 13608, 6170, 1534, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 453, 275, 7797, 12236, 5349, 6376, 2758, 288, 203, 565, 1758, 1071, 11732, 1147, 1887, 31, 203, 565, 1758, 1071, 11732, 3410, 31, 203, 203, 565, 1758, 1071, 5381, 13750, 1190, 9446, 5683, 273, 203, 3639, 374, 6554, 27, 70, ...
./partial_match/100/0x3E5d55162db958E6C00c59a6e81587C153E18f7b/sources/GenuNFT_STAGE.sol
* @notice Check if caller is the owner or a creator branf/
function _isGenuinoOrCreatorBrand(uint256 tokenId) internal view { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); bool isCreator = _brandIds[msg.sender] != 0 && tokenCreatedBy[tokenId] == _brandIds[msg.sender]; require(msg.sender == _owner || isCreator); }
16,680,411
[ 1, 1564, 309, 4894, 353, 326, 3410, 578, 279, 11784, 324, 2450, 74, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 291, 43, 2104, 15020, 1162, 10636, 20484, 12, 11890, 5034, 1147, 548, 13, 2713, 1476, 288, 203, 565, 2583, 24899, 1808, 12, 2316, 548, 3631, 315, 654, 39, 27, 5340, 30, 3726, 843, 364, 1661, 19041, 1147, 8863, 203,...
./full_match/41/0x53b2c9C0f7F8eC94832D145FaaC8ec104286B0C9/sources/contracts/LpFeeSplitter.sol
@dev Swap a given token amountIn to the configured reward token
function _toRewards(address token, uint256 amountIn) internal returns (uint256 amountOut) { amountOut = _swap(token, rewardsToken, amountIn, address(this)); }
16,377,500
[ 1, 12521, 279, 864, 1147, 3844, 382, 358, 326, 4351, 19890, 1147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 869, 17631, 14727, 12, 2867, 1147, 16, 2254, 5034, 3844, 382, 13, 203, 3639, 2713, 203, 3639, 1135, 261, 11890, 5034, 3844, 1182, 13, 203, 565, 288, 203, 3639, 3844, 1182, 273, 389, 22270, 12, 2316, 16, 283, 6397, ...
// SPDX-License-Identifier: LicenseRef-StarterLabs-Business-Source /* ----------------------------------------------------------------------------- The Licensed Work is (c) 2022 Starter Labs, LLC Licensor: Starter Labs, LLC Licensed Work: OpenStarter v1 Effective Date: 2022 March 1 Full License...
* @dev Set contract creator as initial owner/
constructor() public { owner = msg.sender; pendingOwner = address(0); }
206,458
[ 1, 694, 6835, 11784, 487, 2172, 3410, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 3410, 273, 1234, 18, 15330, 31, 203, 3639, 4634, 5541, 273, 1758, 12, 20, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0x7EEFee2d0B0e23b7Ce6B56a9cE9B62A599e6E9Da/sources/contracts/ArcadeGlyphs.sol
-- Public interface
function alreadyMinted(string memory name) external view returns (uint _count) { Game storage game = gameNameToGame[name]; return game.counter.current() - game.startTokenId; }
9,785,413
[ 1, 413, 7224, 1560, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1818, 49, 474, 329, 12, 1080, 3778, 508, 13, 3903, 1476, 1135, 261, 11890, 389, 1883, 13, 288, 203, 3639, 14121, 2502, 7920, 273, 7920, 28455, 12496, 63, 529, 15533, 203, 3639, 327, 7920, 18, 7476, 18, 2972, 1435, 300, ...
pragma solidity ^0.5.17; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uin...
mapping (address => uint256) private _balances;
contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) internal _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; function totalSupply() public view returns (uint256) { return _totalSupply; } ...
11,976,616
[ 1, 6770, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 4232, 39, 3462, 353, 467, 654, 39, 3462, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 2713, 389, 70, 26488, 31, 203, 203, 565, 2874, 261, 2867, 516, 2874, 2...
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.9.0; import "./libraries/math/WadRayMath.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/...
* @dev Returns the scaled total supply of the variable debt token @return the scaled total supply/
function scaledTotalSupply() public view returns (uint256) { return _totalSupply; }
15,853,207
[ 1, 1356, 326, 12304, 2078, 14467, 434, 326, 2190, 18202, 88, 1147, 327, 326, 12304, 2078, 14467, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12304, 5269, 3088, 1283, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 4963, 3088, 1283, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2021-08-29 */ // SPDX-License-Identifier: unlicensed pragma solidity 0.8.4; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Constru...
contract CancerToken is ERC20Interface, SafeMath { string public constant symbol = "CANC"; string public constant name = "Cancer Token"; uint8 public constant decimals = 8; uint public constant _totalSupply = 2100000000000000; mapping(address => uint) balances; mapping(address => mapping(addres...
15,458,856
[ 1, 5802, 7620, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4480, 2750, 1345, 353, 4232, 39, 3462, 1358, 16, 14060, 10477, 288, 203, 565, 533, 1071, 5381, 3273, 273, 315, 39, 1258, 39, 14432, 203, 565, 533, 1071, 5381, 225, 508, 273, 315, 2568, 2750, 3155, 14432, 203, 565, 2254, 28...
pragma solidity ^0.5.12; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transac...
@notice Emitted when a darknode's bond is slashed. @param _operator The owner of the darknode. @param _darknodeID The ID of the darknode that was slashed. @param _challenger The address of the account that submitted the challenge. @param _percentage The total percentage of bond slashed.
event LogDarknodeSlashed(address indexed _operator, address indexed _darknodeID, address indexed _challenger, uint256 _percentage);
7,310,719
[ 1, 1514, 11541, 1347, 279, 23433, 2159, 1807, 8427, 353, 9026, 329, 18, 225, 389, 9497, 1021, 3410, 434, 326, 23433, 2159, 18, 225, 389, 25045, 2159, 734, 1021, 1599, 434, 326, 23433, 2159, 716, 1703, 9026, 329, 18, 225, 389, 343, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 871, 1827, 40, 1313, 2159, 11033, 329, 12, 2867, 8808, 389, 9497, 16, 1758, 8808, 389, 25045, 2159, 734, 16, 1758, 8808, 389, 343, 7862, 693, 16, 2254, 5034, 389, 18687, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.6.0; import "../governance/Operator.sol"; import "../interface/IUserRegistry.sol"; /** * @title UserRegistry * @dev UserRegistry contract * Configure and manage users_ * Extended may be used externaly to store data within a user context * * @author Cyril Lapinte - <cyril.lapinte@gmail.com> ...
* @dev is the user suspended/
function suspended(uint256 _userId) override public view returns (bool) { return users_[_userId].suspended; }
12,676,353
[ 1, 291, 326, 729, 21850, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 21850, 12, 11890, 5034, 389, 18991, 13, 3849, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 565, 327, 3677, 67, 63, 67, 18991, 8009, 87, 22942, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/84531/0xd7149865d07cCfdfB10f858AFAb297A8251882Cc/sources/contracts/stores/DataStore.sol
@param key The key for the record
function getUint(string calldata key) external view returns (uint256) { return uintValues[getHash(key)]; }
11,525,504
[ 1, 856, 1021, 498, 364, 326, 1409, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 5487, 12, 1080, 745, 892, 498, 13, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 2254, 1972, 63, 588, 2310, 12, 856, 13, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.18; // File: contracts\zeppelin-solidity\ownership\Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; ...
* @dev transfer the same amount of tokens to up to 100 specified addresses. If the sender runs out of balance then the entire transaction fails. @param _to The addresses to transfer to. @param _value The amount to be transferred to each address./
{ require(_to.length <= 100); require(balanceOf(msg.sender) >= _value.mul(_to.length)); for (uint i = 0; i < _to.length; i++) { if (!transfer(_to[i], _value)) { revert(); } } }
15,291,595
[ 1, 13866, 326, 1967, 3844, 434, 2430, 358, 731, 358, 2130, 1269, 6138, 18, 971, 326, 5793, 7597, 596, 434, 11013, 1508, 326, 7278, 2492, 6684, 18, 225, 389, 869, 1021, 6138, 358, 7412, 358, 18, 225, 389, 1132, 1021, 3844, 358, 506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 288, 203, 565, 2583, 24899, 869, 18, 2469, 1648, 2130, 1769, 203, 565, 2583, 12, 12296, 951, 12, 3576, 18, 15330, 13, 1545, 389, 1132, 18, 16411, 24899, 869, 18, 2469, 10019, 203, 203, 565, 364, 261, 11890, 277, 273, 374, ...
pragma solidity ^0.5.0; /** * @dev Collection of functions related to the address type, */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address w...
* @dev Allows owners to change ownership @param newOwners defines array of addresses of new owners @param newHowManyOwnersDecide defines how many owners can decide/ Reset owners reverse lookup table
function transferOwnershipWithHowMany(address[] memory newOwners, uint256 newHowManyOwnersDecide) public onlyManyOwners { require(newOwners.length > 0, "transferOwnershipWithHowMany: owners array is empty"); require(newOwners.length <= 256, "transferOwnershipWithHowMany: owners count is greater then...
1,796,735
[ 1, 19132, 25937, 358, 2549, 23178, 225, 394, 5460, 414, 11164, 526, 434, 6138, 434, 394, 25937, 225, 394, 44, 543, 5594, 5460, 414, 1799, 831, 11164, 3661, 4906, 25937, 848, 16288, 19, 7151, 25937, 4219, 3689, 1014, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 5460, 12565, 1190, 44, 543, 5594, 12, 2867, 8526, 3778, 394, 5460, 414, 16, 2254, 5034, 394, 44, 543, 5594, 5460, 414, 1799, 831, 13, 1071, 1338, 5594, 5460, 414, 288, 203, 3639, 2583, 12, 2704, 5460, 414, 18, 2...
/** *Submitted for verification at Etherscan.io on 2021-06-10 */ pragma solidity ^0.5.17; // Brought from https://github.com/aragon/aragonOS/blob/v4.3.0/contracts/lib/math/SafeMath.sol // Adapted to use pragma ^0.5.17 and satisfy our linter rules /** * @title SafeMath * @dev Math operations with safety checks tha...
* @dev Assumes round.coherentGuardians is greater than zero @param _round Round which the weighted amount is computed for @param _guardianState Guardian with state which the weighted amount is computed for @param _amount Amount to be weighted @return Weighted amount for a guardian in a round in relation to total amount...
function _getRoundWeightedAmount( AdjudicationRound storage _round, GuardianState storage _guardianState, uint256 _amount ) internal view returns (uint256) { return _amount.mul(_guardianState.weight) / _round.coherentGuardians; }
10,544,642
[ 1, 2610, 6411, 3643, 18, 2894, 1614, 319, 16709, 19657, 353, 6802, 2353, 3634, 225, 389, 2260, 11370, 1492, 326, 13747, 3844, 353, 8470, 364, 225, 389, 24594, 2779, 1119, 22809, 2779, 598, 919, 1492, 326, 13747, 3844, 353, 8470, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 588, 11066, 6544, 329, 6275, 12, 203, 3639, 4052, 78, 1100, 829, 11066, 2502, 389, 2260, 16, 203, 3639, 22809, 2779, 1119, 2502, 389, 24594, 2779, 1119, 16, 203, 3639, 2254, 5034, 389, 8949, 203, 565, 262, 203, 363...
./full_match/1/0xcDA39B74054EFFB230156f21b334E50295Ca8df4/sources/contracts/strategies/AaveFlashloanStrategy/AaveFlashloanStrategy.sol
@notice Deposit `want` tokens in Aave and start earning interests @param amount Amount to be deposited @return amount The amount deposited
function _depositCollateral(uint256 amount) internal returns (uint256) { if (amount == 0) return 0; _lendingPool.deposit(address(want), amount, address(this), _referral); return amount; }
9,603,132
[ 1, 758, 1724, 1375, 17369, 68, 2430, 316, 432, 836, 471, 787, 425, 9542, 16513, 87, 225, 3844, 16811, 358, 506, 443, 1724, 329, 327, 3844, 1021, 3844, 443, 1724, 329, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 323, 1724, 13535, 2045, 287, 12, 11890, 5034, 3844, 13, 2713, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 8949, 422, 374, 13, 327, 374, 31, 203, 3639, 389, 80, 2846, 2864, 18, 323, 1724, 12, 2867, 12, ...
pragma solidity ^0.5.7; //////////////////////////////////////////////////////////////////////////////// library SafeMath // This library is not used systematically since it tends to create "Infinite gas" functions and consumes too many gas { //------------------ function mul(uin...
//------------------
{ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a/b; } function sub(uint25...
7,318,449
[ 1, 759, 1271, 413, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 445, 14064, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 7010, 565, 288, 203, 3639, 309, 261, 69, 422, 374, 13, 377, 327, 374, 31, 203, 3639, 2254, 5034, 276, 273, 279, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //pragma experimental ABIEncoderV2; import "./VcgBase.sol"; contract ExchangeVcgAuction is Ownable,Commission,ReentrancyGuardUpgradeable { using Strings for string; using Address for address; using SafeMath for uint256; enum State {Pending...
Resume transactions
function resume() public onlyOwner { IsHalted = false; emit Resume(); }
1,185,407
[ 1, 20911, 8938, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10774, 1435, 1071, 1338, 5541, 288, 203, 3639, 2585, 44, 287, 2344, 273, 629, 31, 203, 3639, 3626, 1124, 2066, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/1/0xe1272adbf95FA29ab6aC9Cd8bF2D5462BCD766B3/sources/contracts/cash/CashManager.sol
* @notice Sets mint exchange rate @param exchangeRate New mint exchange rate (in 18 decimals) @param epochToSet The epoch we want to set the exchange rate for @dev If the exchange rate differs more than `exchangeRateDeltaLimit` from the last exchange rate set, the entire contract will be paused. See `overri...
function setMintExchangeRate( uint256 exchangeRate, uint256 epochToSet ) external override updateEpoch onlyRole(SETTER_ADMIN) { if (exchangeRate == 0) { revert ZeroExchangeRate(); } if (epochToSet >= currentEpoch) { revert EpochNotElapsed(); } if (epochToExchangeRate[epochToS...
17,003,311
[ 1, 2785, 312, 474, 7829, 4993, 225, 7829, 4727, 1166, 312, 474, 7829, 4993, 261, 267, 6549, 15105, 13, 225, 7632, 25208, 282, 1021, 7632, 732, 2545, 358, 444, 326, 7829, 4993, 364, 225, 971, 326, 7829, 4993, 21944, 1898, 2353, 1375, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15430, 474, 11688, 4727, 12, 203, 565, 2254, 5034, 7829, 4727, 16, 203, 565, 2254, 5034, 7632, 25208, 203, 225, 262, 3903, 3849, 1089, 14638, 1338, 2996, 12, 1090, 11976, 67, 15468, 13, 288, 203, 565, 309, 261, 16641, 4...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.2; import "./HedgerParty.sol"; import "./SafeMath.sol"; contract OpenHedge1200 { // OpenHedgeProtocol Version string public constant OpenHedgeProtocol = "0.12.0"; enum HedgeStatus {AVAILABLE, RESERVED, FUNDED, CANCELLED, ACTIVE, FINISHED} HedgeSta...
OpenHedgeProtocol Version Owner address Timestamp contract deployed On Seller (Party A) Object Buyer (Party B) Object Maturity of contract in seconds Premium/Fee paid to Buyer Premium/Fee amount Timestamp this contract became reserved for Party A Timestamp contract HedgeStatus is ACTIVE Timestamp contract HedgeStatus ...
{ string public constant OpenHedgeProtocol = "0.12.0"; HedgeStatus public status = HedgeStatus.AVAILABLE; address private ownerAddr; uint256 private deployedOn; HedgerParty private seller; HedgerParty private buyer; int256 public maturity; uint16 private premium; uint256 private p...
1,085,504
[ 1, 3678, 44, 7126, 5752, 4049, 16837, 1758, 8159, 6835, 19357, 2755, 4352, 749, 261, 17619, 432, 13, 1033, 605, 16213, 261, 17619, 605, 13, 1033, 14493, 2336, 434, 6835, 316, 3974, 453, 2764, 5077, 19, 14667, 30591, 358, 605, 16213, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 95, 203, 565, 533, 1071, 5381, 3502, 44, 7126, 5752, 273, 315, 20, 18, 2138, 18, 20, 14432, 203, 203, 565, 670, 7126, 1482, 1071, 1267, 273, 670, 7126, 1482, 18, 23222, 31, 203, 203, 565, 1758, 3238, 3410, 3178, 31, 203, 565, ...
./full_match/1/0xFb4DE84c4375d7c8577327153dE88f58F69EeC81/sources/contracts/registries/PoolRegistry.sol
@inheritdoc IPoolRegistry
function getUnderlyingTokens(address poolAddress) external view override hasMatchingPool(poolAddress) returns (IERC20[] memory underlyingTokens) { return pools[poolsIndexOfPlusOne[poolAddress] - 1].underlyingTokens; }
4,822,814
[ 1, 36, 10093, 467, 2864, 4243, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10833, 765, 6291, 5157, 12, 2867, 2845, 1887, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 3849, 203, 3639, 711, 9517, 2864, 12, 6011, 1887, 13, 203, 3639, 1135, 261, 45, 654, 39, 3462, 8526, 3778, 6808, 5157, 13, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts-upgradeable/presets/ERC721PresetMinterPauserAutoIdUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {NativeMetaTrans...
* @dev Emits when the end time is set @param endTime - the event end time/
event EndTimeSet(uint256 endTime);
2,564,417
[ 1, 1514, 1282, 1347, 326, 679, 813, 353, 444, 225, 13859, 300, 326, 871, 679, 813, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 871, 4403, 950, 694, 12, 11890, 5034, 13859, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view re...
========== MUTATIVE FUNCTIONS ========== */ @notice Creates a lock by locking ANGLE token in the veAngle contract for the specified time @dev Can only be called by governance or proxy @param _value The amount of token to be locked @param _unlockTime The duration for which the token is to be locked
function createLock(uint256 _value, uint256 _unlockTime) external onlyGovernanceOrDepositor { IVeANGLE(veAngle).create_lock(_value, _unlockTime); emit LockCreated(msg.sender, _value, _unlockTime); }
14,538,777
[ 1, 1432, 631, 490, 1693, 12992, 13690, 55, 422, 1432, 342, 225, 10210, 279, 2176, 635, 18887, 432, 4960, 900, 1147, 316, 326, 10489, 8467, 6835, 364, 326, 1269, 813, 225, 4480, 1338, 506, 2566, 635, 314, 1643, 82, 1359, 578, 2889, 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, 202, 915, 752, 2531, 12, 11890, 5034, 389, 1132, 16, 2254, 5034, 389, 26226, 950, 13, 3903, 1338, 43, 1643, 82, 1359, 1162, 758, 1724, 280, 288, 203, 202, 202, 8188, 73, 30978, 12, 537, 8467, 2934, 2640, 67, 739, 24899, 1132, 1...
// LC->24.10.2015 tree_scorers ОдушОбъект tree_scorer ОдушОбъект language=Russian { if context { местоим_сущ:кто{} } then 1 } tree_scorer ОдушОбъект language=Russian { if context { местоим_сущ:кто-нибудь{} } then 1 } tree_scorer ОдушОбъект language=Russian { if context { местоим_сущ:кто-то{} } then 1 } ...
а громадный глаз подмигнул им ^^^^^^^^^^^^
tree_scorer ВалентностьГлагола language=Russian { if context { rus_verbs:подмигнуть{}.<OBJECT>*:*{ ПАДЕЖ:ДАТ } } then 2 }
12,629,447
[ 1, 145, 113, 225, 145, 116, 146, 227, 145, 127, 145, 125, 145, 113, 145, 117, 145, 126, 146, 238, 145, 122, 225, 145, 116, 145, 124, 145, 113, 145, 120, 225, 145, 128, 145, 127, 145, 117, 145, 125, 145, 121, 145, 116, 145, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 3413, 67, 1017, 8922, 225, 145, 245, 145, 113, 145, 124, 145, 118, 145, 126, 146, 229, 145, 126, 145, 127, 146, 228, 146, 229, 146, 239, 145, 246, 145, 124, 145, 113, 145, 116, 145, 127, 145, 124, 145, 113, 2653, 33, 54, 55...
./full_match/137/0x391128d1E106F1F90E0348F97060FCEf037cf8fa/sources/contracts/WolfRouter.sol
refund dust eth, if any
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external virtual override payable ensure(deadline) returns (uint[] memory amounts) { require(path[0] == WETH, 'WolfRouter: INVALID_PATH'); amounts = ...
4,690,890
[ 1, 1734, 1074, 302, 641, 13750, 16, 309, 1281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7720, 1584, 44, 1290, 14332, 5157, 12, 11890, 3844, 1182, 16, 1758, 8526, 745, 892, 589, 16, 1758, 358, 16, 2254, 14096, 13, 203, 3639, 3903, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 8843, 429, 203, 3639, 3387, 12, ...
./full_match/5/0xaf5969Ad7038b24f83Ae7A7A3290b5738b723dBC/sources/contractsv0.0.5/nnsregistrar/BaseRegistrarImplementation.sol
A map of expiry times
contract BaseRegistrarImplementation is Ownable,ERC721, ERC721Enumerable, ERC721URIStorage,ERC721Burnable, BaseRegistrar{ mapping(uint256=>uint) expiries; bytes4 constant private INTERFACE_META_ID = bytes4(keccak256("supportsInterface(bytes4)")); bytes4 constant private ERC721_ID = bytes4( keccak25...
1,930,360
[ 1, 37, 852, 434, 10839, 4124, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3360, 30855, 13621, 353, 14223, 6914, 16, 654, 39, 27, 5340, 16, 4232, 39, 27, 5340, 3572, 25121, 16, 4232, 39, 27, 5340, 3098, 3245, 16, 654, 39, 27, 5340, 38, 321, 429, 16, 3360, 30855, 95, 203, 565, 2874, 12, 11890, ...
// SPDX-License-Identifier: UNLICENSED0 pragma solidity 0.7.6; import "hardhat/console.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./IIdleToken.sol"; //idleLBP- idle lending borrowing pool contract ImplementIdle{ IERC20 DaiInstance; IIdleToken IdleTokenInstance; addres...
redeem funds and burn idle Tokens based on amount
function redeemFunds(uint256 _amount) public returns(uint256){ uint256 redeemedToken = IdleTokenInstance.redeemIdleToken(_amount); return redeemedToken; }
6,430,063
[ 1, 266, 24903, 284, 19156, 471, 18305, 12088, 13899, 2511, 603, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 42, 19156, 12, 11890, 5034, 389, 8949, 13, 1071, 1135, 12, 11890, 5034, 15329, 203, 1377, 2254, 5034, 283, 24903, 329, 1345, 273, 28156, 1345, 1442, 18, 266, 24903, 13834, 1345, 24899, 8949, 1769, 203, 1377, 3...
/** *Submitted for verification at Etherscan.io on 2022-03-10 */ // SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ===...
* @notice sets up token list and rewards token/Initialize token listInitialize rewards token list
function initialize() internal { addToken(address(DAI), address(ANYDAI)); addRewardToken(address(CRV)); addRewardToken(address(CVX)); }
10,520,045
[ 1, 4424, 731, 1147, 666, 471, 283, 6397, 1147, 19, 7520, 1147, 666, 7520, 283, 6397, 1147, 666, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4046, 1435, 2713, 288, 203, 3639, 527, 1345, 12, 2867, 12, 9793, 45, 3631, 1758, 12, 15409, 9793, 45, 10019, 203, 203, 3639, 527, 17631, 1060, 1345, 12, 2867, 12, 5093, 58, 10019, 203, 3639, 527, 17631, 1060, 1345, 12, ...
// Copyright (C) 2020 Christian Felde // 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 w...
New entry We're updating the only entry Empty map, set head Update previous entry pointer
function put(bytes memory key, bytes memory newValue) public onlyApproved() returns (bytes memory oldValue, uint prev, uint next, uint ref, bool present) { if (!haveBody) { require(dm.claim(rootPtr, bytes("body")) > 0, "LinkedHashMap: Unable to claim body"); haveBody = true; ...
12,624,028
[ 1, 1908, 1241, 1660, 4565, 9702, 326, 1338, 1241, 8953, 852, 16, 444, 910, 2315, 2416, 1241, 4407, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1378, 12, 3890, 3778, 498, 16, 1731, 3778, 6129, 13, 1071, 1338, 31639, 1435, 1135, 261, 3890, 3778, 11144, 16, 2254, 2807, 16, 2254, 1024, 16, 2254, 1278, 16, 1426, 3430, 13, 288, 203, 3639, 309, 16051, 21516, 2250, 13...
pragma solidity 0.4.25; /*===========================================================================================* *************************************** https://p4d.io *************************************** *============================================================================================* * ...
* Retrieve the token balance of any single address./
function balanceOf(address _customerAddress) public view returns(uint256) { return tokenBalanceLedger_[_customerAddress]; }
7,264,064
[ 1, 5767, 326, 1147, 11013, 434, 1281, 2202, 1758, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11013, 951, 12, 2867, 389, 10061, 1887, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 12, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 1147, 13937, 28731, 67, 63, 67, 10061, 1887, 15533, 203, 565, 289, 203, ...
./partial_match/1/0x90F11d777B76ce0C6066a06fa5eF7BF9ea4770a6/sources/tokenSale.sol
busd.transferFrom(msg.sender, address(this), amount);
uint256 ethToUsd = calculateUsd(amount);
2,838,769
[ 1, 9274, 72, 18, 13866, 1265, 12, 3576, 18, 15330, 16, 1758, 12, 2211, 3631, 3844, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 13750, 774, 3477, 72, 273, 225, 4604, 3477, 72, 12, 8949, 1769, 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, -1...
./full_match/1/0x83487B13e7B68536047B10A79b37FBe74eE8B394/sources/contracts/DirectTokenV2.sol
* @dev Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner./
function renounceOwnership() public virtual payable onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); }
17,146,885
[ 1, 1682, 6606, 326, 6835, 2887, 3410, 18, 2597, 903, 486, 506, 3323, 358, 745, 1375, 3700, 5541, 68, 4186, 16828, 18, 4480, 1338, 506, 2566, 635, 326, 783, 3410, 18, 5219, 30, 25921, 465, 2822, 23178, 903, 8851, 326, 6835, 2887, 392...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1654, 8386, 5460, 12565, 1435, 1071, 5024, 8843, 429, 1338, 5541, 288, 203, 3639, 3626, 14223, 9646, 5310, 1429, 4193, 24899, 8443, 16, 1758, 12, 20, 10019, 203, 3639, 389, 8443, 273, 1758, 12, 20, 1769, 203, 565, 289, ...
./full_match/80001/0x42477702a7A96e97A0Dbcc1081a29c08e600E457/sources/contracts/W3BadgeContract.sol
* @dev Give the counter of points for the current user / player/
function myCurrentPoints() public view returns(uint256){ return points[msg.sender]; }
872,415
[ 1, 43, 688, 326, 3895, 434, 3143, 364, 326, 783, 729, 342, 7291, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3399, 3935, 5636, 1435, 1071, 1476, 1135, 12, 11890, 5034, 15329, 203, 3639, 327, 3143, 63, 3576, 18, 15330, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity ^0.5.17; ...
A Solidity high level call has three parts: 1. The target address is checked to verify it contains contract code 2. The call itself is made, and success asserted 3. The return value is decoded, which in turn checks the size of the returned data. solhint-disable-next-line max-line-length
require(address(token).ISCONTRACT313(), "SafeERC20: call to non-contract");
12,870,923
[ 1, 37, 348, 7953, 560, 3551, 1801, 745, 711, 8925, 2140, 30, 225, 404, 18, 1021, 1018, 1758, 353, 5950, 358, 3929, 518, 1914, 6835, 981, 225, 576, 18, 1021, 745, 6174, 353, 7165, 16, 471, 2216, 1815, 329, 225, 890, 18, 1021, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 2583, 12, 2867, 12, 2316, 2934, 5127, 6067, 2849, 1268, 23, 3437, 9334, 315, 9890, 654, 39, 3462, 30, 745, 358, 1661, 17, 16351, 8863, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract TokenERC20 { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the...
Set the symbol for display purposes
symbol = "EXM";
9,917,598
[ 1, 694, 326, 3273, 364, 2562, 13694, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 3273, 273, 315, 2294, 49, 14432, 27573, 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/0x3fF05109BE3D5D56d582A385e3E587AD39cC16Dd/sources/project_/contracts/Peepee.sol
Return an empty array
function getOwnedPeepees(address _holder) external view returns(uint[] memory) { uint tokenCount = pepe2d.balanceOf(_holder); if (tokenCount == 0) { return new uint[](0); uint[] memory result = new uint[](tokenCount); uint index; for(uint i=1;i<=TOTAL_...
1,883,157
[ 1, 990, 392, 1008, 526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 5460, 329, 52, 1340, 347, 281, 12, 2867, 389, 4505, 13, 3903, 1476, 1135, 12, 11890, 8526, 3778, 13, 288, 203, 3639, 2254, 1147, 1380, 273, 2804, 347, 22, 72, 18, 12296, 951, 24899, 4505, 1769, 203, 3639, 309, 26...
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/utils/Counters.sol"; interface ICifEsportsMultiTrophy { function trophies(uint256 trophyId) external view returns ( string calldata tournament, bytes32 infoHash, uint256...
Otherwise start a quorum vote to pass the trophy
transactionCount.increment();
13,111,771
[ 1, 8290, 2460, 787, 279, 31854, 12501, 358, 1342, 326, 23432, 844, 93, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2492, 1380, 18, 15016, 5621, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0x765C7CFED02f2d9583EAc8229930f3650AF42C77/sources/contracts/REDACTEDBondDepositoryRewardBased.sol
* @notice debt ratio in same terms for reserve or liquidity bonds @return uint/
function standardizedDebtRatio() external view returns (uint256) { if (isLiquidityBond) { return debtRatio().mul(IBondCalculator(bondCalculator).markdown(principal)).div(1e9); return debtRatio(); } }
2,990,034
[ 1, 323, 23602, 7169, 316, 1967, 6548, 364, 20501, 578, 4501, 372, 24237, 15692, 225, 327, 2254, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4529, 1235, 758, 23602, 8541, 1435, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 309, 261, 291, 48, 18988, 24237, 9807, 13, 288, 203, 1377, 327, 18202, 88, 8541, 7675, 16411, 12, 45, 9807, 19278, 12, 26425, 19...
//! Copyright 2017 Peter Czaban, Parity Technologies Ltd. //! //! 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 require...
Vote to include a validator.
function addSupport(address validator) public only_validator not_voted(validator) free_validator_slots { newStatus(validator); AddressVotes.insert(validatorsStatus[validator].support, msg.sender); validatorsStatus[msg.sender].supported.push(validator); addValidator(validator); Support(msg.sender, validator, ...
1,041,071
[ 1, 19338, 358, 2341, 279, 4213, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 527, 6289, 12, 2867, 4213, 13, 1071, 1338, 67, 7357, 486, 67, 90, 16474, 12, 7357, 13, 4843, 67, 7357, 67, 18875, 288, 203, 202, 202, 2704, 1482, 12, 7357, 1769, 203, 202, 202, 1887, 29637, 18, 6387, 12, 23993, 1482, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; import { BlindDrop } from "./BlindDrop.sol"; import { Base64 } from "./Base64.sol"; import { ERC721EnumerableOptimized } from "./ERC721EnumerableOptimized.sol"; import { FlootConstants } from "./FlootConstants.sol"; /** * @title FlootMetadata * @author...
Get the blind drop seed. Will revert if the distribution is not complete or if the seed has not yet been finalized. On-chain randomness. Determine the item name based on the randomly generated number.
function pluck( uint256 tokenId, FlootConstants.ListName keyPrefix ) internal view returns (string memory) { bytes32 seed = getFinalSeed(); string memory inputForRandomness = string(abi.encodePacked( keyPrefix, seed )); uint256 rand = random(inputForRandomness); ...
15,803,411
[ 1, 967, 326, 29696, 3640, 5009, 18, 9980, 15226, 309, 326, 7006, 353, 486, 3912, 578, 309, 326, 5009, 711, 486, 4671, 2118, 727, 1235, 18, 2755, 17, 5639, 2744, 4496, 18, 10229, 326, 761, 508, 2511, 603, 326, 20153, 4374, 1300, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 16976, 12, 203, 565, 2254, 5034, 1147, 548, 16, 203, 565, 478, 383, 352, 2918, 18, 682, 461, 28877, 203, 225, 262, 203, 565, 2713, 203, 565, 1476, 203, 565, 1135, 261, 1080, 3778, 13, 203, 225, 288, 203, 565, 1731, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.6.4 <0.8.0; pragma experimental ABIEncoderV2; import "./announcement.sol"; import "./eventsEIP1129.sol"; import "https://github.com/vigilance91/solidarity/libraries/unsigned/uint256ToString.sol"; /// /// @dev Library for managing an enumerable mapping of Anno...
swap the last entry with the index where the entry to be deleted is
map._entries[toDeleteIndex] = lastEntry;
12,573,370
[ 1, 22270, 326, 1142, 1241, 598, 326, 770, 1625, 326, 1241, 358, 506, 4282, 353, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 852, 6315, 8219, 63, 869, 2613, 1016, 65, 273, 1142, 1622, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; /* ___ ___ ___ ___ ___ /\ \ /\__\ /\ \ /\ \ /\ \ /::\ \ /:/ _/_ /::\ \ _\:\ \ \:\ \ \:\:\__\ /:/_/\__\ /::\:\__\ /\/::\__\ /::\__\ \::/ / \:\/:/...
.sub(qubitLocker.balanceOf(0x12C62464D8CF4a9Ca6f2EEAd1d7954A9fC21d053)) QubitPool (lock forever)
function totalCirculating() public view returns (uint) { return IBEP20(QBT).totalSupply() }
12,837,321
[ 1, 18, 1717, 12, 372, 3682, 2531, 264, 18, 12296, 951, 12, 20, 92, 2138, 39, 26, 3247, 1105, 40, 28, 8955, 24, 69, 29, 23508, 26, 74, 22, 9383, 1871, 21, 72, 7235, 6564, 37, 29, 74, 39, 5340, 72, 6260, 23, 3719, 4202, 2238, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2078, 10887, 1934, 1776, 1435, 1071, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 467, 5948, 52, 3462, 12, 53, 38, 56, 2934, 4963, 3088, 1283, 1435, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; // This is only kept for backward compatability / upgrading import {OwnableUpgradeable} from "../oz/access/OwnableUpgradeable.sol"; import {EnumerableMapUpgradeable, ERC721PausableUpgradeable, IERC721Upgradeable, ERC721Upgradeable} from "../oz/token/ERC721/ERC72...
* @dev Returns the value stored at position `index` in the set. O(1). Note that there are no guarantees on the ordering of values inside the array, and it may change when more values are added or removed. Requirements: - `index` must be strictly less than {length}./
function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; }
143,907
[ 1, 1356, 326, 460, 4041, 622, 1754, 1375, 1615, 68, 316, 326, 444, 18, 531, 12, 21, 2934, 3609, 716, 1915, 854, 1158, 28790, 603, 326, 9543, 434, 924, 4832, 326, 526, 16, 471, 518, 2026, 2549, 1347, 1898, 924, 854, 3096, 578, 3723...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 389, 270, 12, 694, 2502, 444, 16, 2254, 5034, 770, 13, 3238, 1476, 1135, 261, 3890, 1578, 13, 288, 203, 565, 2583, 12, 542, 6315, 2372, 18, 2469, 405, 770, 16, 315, 3572, 25121, 694, 30, 770, 596, 434, 4972, 8863, 2...
./full_match/4/0xaf01318163834FdeDAF9e2a4e04b9b58Aa12A984/sources/humarsContract_flat.sol
For limiting pre-sale
mapping(address => uint256) public ownedHumars;
708,183
[ 1, 1290, 1800, 310, 675, 17, 87, 5349, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 1071, 16199, 44, 379, 5913, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.24; interface PlayerBookInterface { function getPlayerID(address _addr) external returns (uint256); function getPlayerName(uint256 _pID) external view returns (bytes32); function getPlayerLAff(uint256 _pID) external view returns (uint256); function getPlayerAddr(uint256 _pID) exter...
* @dev prepares compression data and fires event for buy or reload tx's/ _eventData_.comAmount,
function endTx(uint256 _pID, uint256 _team, uint256 _eth, uint256 _keys, F3Ddatasets.EventReturns memory _eventData_) private { _eventData_.compressedData = _eventData_.compressedData + (now * 1000000000000000000) + (_team * 100000000000000000000000000000); _eventData_.compressedIDs = _event...
1,205,490
[ 1, 19109, 4807, 9154, 501, 471, 29564, 871, 364, 30143, 578, 7749, 2229, 1807, 19, 5411, 389, 2575, 751, 27799, 832, 6275, 16, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 679, 4188, 12, 11890, 5034, 389, 84, 734, 16, 2254, 5034, 389, 10035, 16, 2254, 5034, 389, 546, 16, 2254, 5034, 389, 2452, 16, 478, 23, 40, 21125, 18, 1133, 1356, 3778, 389, 2575, 751, 67, 13, 203, 565, 3238, 203, 5...
// contracts/GameItem.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Count...
The number of waterings gone without missing a watering
uint256 consecutiveWaterings;
12,926,546
[ 1, 1986, 1300, 434, 16313, 899, 22296, 2887, 3315, 279, 16313, 310, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1377, 2254, 5034, 18221, 24064, 899, 31, 4202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity 0.5.17; pragma experimental ABIEncoderV2; contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks...
bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7/* @dev Mapping of interface ids to whether or not it's supported./ Derived contracts need only register support for their own interfaces, we register support for ERC165 itself here
constructor () internal { _registerInterface(_INTERFACE_ID_ERC165); }
7,369,994
[ 1, 3890, 24, 12, 79, 24410, 581, 5034, 2668, 28064, 1358, 12, 3890, 24, 2506, 3719, 422, 374, 92, 1611, 1403, 71, 29, 69, 27, 19, 225, 9408, 434, 1560, 3258, 358, 2856, 578, 486, 518, 1807, 3260, 18, 19, 14969, 2950, 20092, 1608, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 565, 3885, 1832, 2713, 288, 203, 203, 203, 203, 3639, 389, 4861, 1358, 24899, 18865, 67, 734, 67, 654, 39, 28275, 1769, 203, 203, 565, 289, 203, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: WTFPL pragma solidity 0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract VotingGovernance { using SafeERC20 for IERC20; enum VoteType { Against, For, Abstain } ...
* @notice Anyone can execute a proposal that passed its quorum and whose `forVotes` is greater than `againstVotes`/
function executeProposal(bytes32 hash) external { Proposal storage proposal = proposals[hash]; require(proposal.status == ProposalStatus.Open, "DAOKIT: INVALID_STATUS"); require(_quorumReached(proposal), "DAOKIT: QUORUM_NOT_REACHED"); require(_voteSucceeded(proposal), "DAOKIT: VOTE_F...
6,349,295
[ 1, 2961, 476, 848, 1836, 279, 14708, 716, 2275, 2097, 31854, 471, 8272, 1375, 1884, 29637, 68, 353, 6802, 2353, 1375, 23095, 334, 29637, 68, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 14592, 12, 3890, 1578, 1651, 13, 3903, 288, 203, 3639, 19945, 2502, 14708, 273, 450, 22536, 63, 2816, 15533, 203, 3639, 2583, 12, 685, 8016, 18, 2327, 422, 19945, 1482, 18, 3678, 16, 315, 9793, 3141, 1285, 30, 100...
./full_match/1/0x512C8C57C97905134b12a8Ab8479b57a327AA6eC/sources/contracts/SANPASS.sol
* @notice (only owner) Sets the contract URI for contract metadata. @param _newContractURI The new contract URI./
function setContractURI( string calldata _newContractURI ) external onlyOwner { contractURI = _newContractURI; }
3,001,165
[ 1, 12, 3700, 3410, 13, 11511, 326, 6835, 3699, 364, 6835, 1982, 18, 225, 389, 2704, 8924, 3098, 1021, 394, 6835, 3699, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 8924, 3098, 12, 203, 3639, 533, 745, 892, 389, 2704, 8924, 3098, 203, 565, 262, 203, 3639, 3903, 203, 3639, 1338, 5541, 203, 565, 288, 203, 3639, 6835, 3098, 273, 389, 2704, 8924, 3098, 31, 203, 565, 289, 203, 20...
pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract SquidBar is ERC20("SquidBar", "xSQUID"){ using SafeMath for uint256; IERC20 public squid; constructor(IERC...
Leave the bar. Claim back your SQUIDs.
function leave(uint256 _share) public { uint256 totalShares = totalSupply(); uint256 what = _share.mul(squid.balanceOf(address(this))).div(totalShares); _burn(msg.sender, _share); squid.transfer(msg.sender, what); }
1,045,556
[ 1, 21300, 326, 4653, 18, 18381, 1473, 3433, 348, 53, 3060, 87, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8851, 12, 11890, 5034, 389, 14419, 13, 1071, 288, 203, 3639, 2254, 5034, 2078, 24051, 273, 2078, 3088, 1283, 5621, 203, 3639, 2254, 5034, 4121, 273, 389, 14419, 18, 16411, 12, 87, 26595, 18, 12296, 951, 12, 2867, 12, 22...
pragma solidity ^0.4.24; /// @title ERC-173 Contract Ownership Standard /// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-173.md /// Note: the ERC-165 identifier for this interface is 0x7f5828d0 interface ERC173 /* is ERC165 */ { /// @dev This emits when ownership of a contract changes. e...
@dev registers a player. @param _preference - Advertisement preferences 0-none, 0xFF- all. TODO: Each bit defines a preference such as SPORTS @param _capabilities - Player capabilities resolution 0x000000FF(HD, UHD), audio channels 0x0000FF00, DRM 0x00FF000000 @param _publickey - for obtaining DRM. Content provider us...
function registerPlayer( uint _preference, uint _capabilities, string _publickey) public { Player memory player = Player({preference:_preference, capabilities:_capabilities, crnt_movie:0, indx_advert:0, publickey:_publickey}); p...
955,343
[ 1, 22559, 279, 7291, 18, 225, 389, 19141, 300, 4052, 1097, 291, 820, 12750, 374, 17, 6102, 16, 374, 6356, 17, 777, 18, 2660, 30, 8315, 2831, 11164, 279, 11555, 4123, 487, 348, 6354, 55, 225, 389, 22140, 300, 19185, 12359, 7861, 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, 565, 445, 1744, 12148, 12, 203, 377, 202, 202, 11890, 389, 19141, 16, 7010, 377, 202, 202, 11890, 389, 22140, 16, 203, 377, 202, 202, 1080, 389, 482, 856, 13, 7010, 377, 202, 202, 482, 7010, 565, 288, 203, 377, 202, 12148, 3778...
./full_match/42/0xc9684b52AF172C23428970edEe6Aef19182a4eab/sources/browser/ETH_price.sol
req.addBytes("_requestID", "007");
function Ethereum() public returns (bytes32 requestID) { Chainlink.Request memory req = buildChainlinkRequest(jobId, address(this), this.fulfill.selector); req.add("path", "ethereum.usd"); req.addInt("times", 100); sendChainlinkRequestTo(oracle, req, 100000000000000000); }
16,240,381
[ 1, 3658, 18, 1289, 2160, 2932, 67, 2293, 734, 3113, 315, 713, 27, 8863, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 512, 18664, 379, 1435, 1071, 1135, 261, 3890, 1578, 590, 734, 13, 288, 203, 3639, 7824, 1232, 18, 691, 3778, 1111, 273, 1361, 3893, 1232, 691, 12, 4688, 548, 16, 1758, 12, 2211, 3631, 333, 18, 2706, 5935, 18, 9663, 17...
pragma solidity ^0.4.23; import "./Transaction.sol"; contract EcobitBlockchain { mapping (uint => address[]) transactions; mapping (string => address[]) userTransactions; mapping (string => User) users; mapping (string => Transaction) transactionids; /** User **/ struct User { string...
This is for getting transactions from transactionId.
transactionids[transactionid] = transaction;
13,002,085
[ 1, 2503, 353, 364, 8742, 8938, 628, 24112, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2492, 2232, 63, 7958, 350, 65, 273, 2492, 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, -10...
./full_match/1/0x575D99d27ffF5974d608b7089404daDc9e291aca/sources/contracts/ColiseumVested.sol
* @dev Toggle the mint on or off./
function toggleMintActive() external onlyOwner { mintActive = !mintActive; }
16,421,004
[ 1, 17986, 326, 312, 474, 603, 578, 3397, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10486, 49, 474, 3896, 1435, 3903, 1338, 5541, 288, 203, 3639, 312, 474, 3896, 273, 401, 81, 474, 3896, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xB78573b132c7f10212b4714c8217fC91a2e660D9/sources/OBAYC.sol
Get value from a remaining id node
function getValue(uint256 _index) internal view returns (uint256) { if (remainingIds[_index] != 0) return remainingIds[_index]; else return _index; }
2,877,758
[ 1, 967, 460, 628, 279, 4463, 612, 756, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2366, 12, 11890, 5034, 389, 1615, 13, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 17956, 2673, 63, 67, 1615, 65, 480, 374, 13, 327, 4463, 2673, 63, 67, 1615, 15533, 203, 3639, 469, 327, 389, 1615...
./full_match/1/0x548a6610378e80A0cFEE1f1738b9E70176366C64/sources/browser/1_Storage.sol
0x7a3370075a54B187d7bD5DceBf0ff2B5552d4F7D
bytes32 constant public RESERVE_ID_2 = 0xffabcd0000000000000000000000000000000000000000000000000000000000;
3,088,355
[ 1, 20, 92, 27, 69, 3707, 26874, 5877, 69, 6564, 38, 2643, 27, 72, 27, 70, 40, 25, 40, 311, 38, 74, 20, 1403, 22, 38, 2539, 9401, 72, 24, 42, 27, 40, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1731, 1578, 5381, 1071, 2438, 2123, 3412, 67, 734, 67, 22, 273, 374, 5297, 378, 4315, 12648, 12648, 12648, 12648, 12648, 12648, 2787, 9449, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.18; // solhint-disable-line /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7c181908193c1d04151311061912521f13">[email&#160;protected]</a>> (https://github.com/dete)...
@dev Creates a new promo Pow with the given name, with given _price and assignes it to an address.
function createPromoPow(address _owner, string _name, uint256 _price, uint _gameId, uint _gameItemId1, uint _gameItemId2) public onlyCOO { address powOwner = _owner; if (powOwner == address(0)) { powOwner = cooAddress; } if (_price <= 0) { _price = startingPrice; } promoCreatedC...
7,695,358
[ 1, 2729, 279, 394, 3012, 83, 28509, 598, 326, 864, 508, 16, 598, 864, 389, 8694, 471, 2683, 281, 518, 358, 392, 1758, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 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, 225, 445, 752, 13224, 83, 28289, 12, 2867, 389, 8443, 16, 533, 389, 529, 16, 2254, 5034, 389, 8694, 16, 2254, 389, 13957, 548, 16, 2254, 389, 13957, 17673, 21, 16, 2254, 389, 13957, 17673, 22, 13, 1071, 1338, 3865, 51, 288, 203...
./full_match/1/0x07B0226465A50300F91c8A7930f90aEcae3D6Ed4/sources/contracts/staking/SeasonV2.sol
* @dev Calculate a user's rewards amounts and clear stake points @param userAddress - The address of the user account @return Amount of ETH entitlement @return Amount of OGN entitlement/ Unable to calculate rewards because we aren't bootstrapped Nothing to unstake, no rewards to give. Season can still be bootstrapped b...
function _unstake(address userAddress) internal returns (uint256, uint256) { if (!season.bootstrapped) { require(block.timestamp < endTime, 'Season: Not bootstrapped.'); return (0, 0); } User memory user = _initMemUser(userAddress); uint256 rewardETH = 0; ...
16,523,381
[ 1, 8695, 279, 729, 1807, 283, 6397, 30980, 471, 2424, 384, 911, 3143, 225, 729, 1887, 300, 1021, 1758, 434, 326, 729, 2236, 327, 16811, 434, 512, 2455, 3281, 19025, 327, 16811, 434, 531, 8318, 3281, 19025, 19, 18640, 358, 4604, 283, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 23412, 911, 12, 2867, 729, 1887, 13, 2713, 1135, 261, 11890, 5034, 16, 2254, 5034, 13, 288, 203, 3639, 309, 16051, 30321, 18, 12722, 1845, 13, 288, 203, 5411, 2583, 12, 2629, 18, 5508, 411, 13859, 16, 296, 1761, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.7.6; import "@openzeppelin/contracts/access/Ownable.sol"; //@notice Ce contrat gère un système de vote pour une petite communauté. L'administrateur qui //@notice déploie le contrat, est en charge d'ajouter les participants, et de démarrer et terminer //@notice c...
@notice Tout le monde peut vérifier les derniers détails de la proposition gagnante.@dev on retourne un tableau avec les indices des propositions gagnantes
function I_WinningProposalIds() public view returns(uint[] memory) { require(voteStatus == WorkflowStatus.VotesTallied,"Votes not counted yet!"); return winningProposalIds[winningProposalId]; }
1,020,469
[ 1, 56, 659, 884, 6921, 323, 2804, 322, 331, 132, 107, 86, 1251, 18022, 4854, 15834, 414, 302, 132, 107, 13101, 87, 443, 7125, 450, 3276, 314, 346, 82, 7974, 18, 603, 325, 6561, 73, 640, 1014, 8377, 279, 8799, 18022, 4295, 2832, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 467, 67, 18049, 2093, 14592, 2673, 1435, 1071, 1476, 1135, 12, 11890, 8526, 3778, 13, 288, 203, 3639, 2583, 12, 25911, 1482, 422, 11363, 1482, 18, 29637, 56, 454, 2092, 10837, 29637, 486, 26352, 4671, 4442, 1769, 203, 363...
./full_match/42220/0xAf387Ee8dd07696437FEA7f007998bA52fCeb7f1/sources/contracts/CeloBridge/Validator.sol
digest the data to transactionHash address recoveredAddress = ecrecover(inputHash, sigV[index], sigR[index], sigS[index]);
function _checkEmergencySig( uint8[] memory sigV, bytes32[] memory sigR, bytes32[] memory sigS, address tokenAddress, uint256 _amount ) internal view returns (bool) { bytes32 funcHash = keccak256("emergencyWithdraw"); bytes32 inputHash = keccak256( ...
16,335,003
[ 1, 10171, 326, 501, 358, 2492, 2310, 1758, 24616, 1887, 273, 425, 1793, 3165, 12, 2630, 2310, 16, 3553, 58, 63, 1615, 6487, 3553, 54, 63, 1615, 6487, 3553, 55, 63, 1615, 19226, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1893, 1514, 24530, 8267, 12, 203, 3639, 2254, 28, 8526, 3778, 3553, 58, 16, 203, 3639, 1731, 1578, 8526, 3778, 3553, 54, 16, 203, 3639, 1731, 1578, 8526, 3778, 3553, 55, 16, 203, 3639, 1758, 1147, 1887, 16, 203, ...
pragma solidity ^0.4.18; pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); fun...
* @dev Assembled Eth/
uint256 public sumWei;
13,057,145
[ 1, 1463, 5747, 1259, 512, 451, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 2142, 3218, 77, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/43113/0xF39d18583fdFD746543aE22eC8D33432730431d7/sources/tests/Fingers/Fingers.sol
uint a = 0;uint b = 9999; défini la fourchette pour le choix aléatoire parmis les x possiblités de Dna ex saison 1 : rand(a=0, b=9999);
contract Fingers /*is ERC721*/ { event NewFinger(uint256 tokenId); event FingerChange(uint256 tokenId); event FingerFuse(uint256 tokenId1, uint256 tokenId2, uint256 tokenId); event FingerBurn(uint256); event Log(uint gas); struct Finger { bool isRight; bool thum...
13,193,604
[ 1, 11890, 279, 273, 374, 31, 11890, 324, 273, 30082, 31, 225, 302, 132, 107, 926, 77, 7125, 12792, 343, 7637, 24601, 884, 5011, 697, 524, 132, 107, 270, 19847, 779, 11173, 18022, 619, 949, 6044, 24235, 132, 107, 87, 443, 463, 6582, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 16351, 478, 310, 414, 1748, 291, 4232, 39, 27, 5340, 5549, 288, 203, 377, 203, 565, 871, 1166, 42, 6658, 12, 11890, 5034, 1147, 548, 1769, 203, 565, 871, 478, 6658, 3043, 12, 11890, 5034, 1147, 548, 1769, 203, 565, 871, 478, 66...
./full_match/3/0xD7b903AC1D7818b9712162cC47565429A5595EE6/sources/browser/github/NEST-Protocol/NEST-oracle-V3/VoteContract/Nest_3_VoteFactory.sol
Destroy contract address
address _destructionAddress;
8,162,136
[ 1, 10740, 6835, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1758, 389, 5489, 313, 4062, 1887, 31, 19694, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: BSD-4-Clause pragma solidity 0.8.3; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./IOddzOption.sol"; import "./IOddzAsset.sol"; import "../Pool/IOddzLiquidityPoolM...
once transfer initiated update option tranfer map
function optionTransfer( uint256 _optionId, address _newOwner, uint256 _minAmount ) external { Option storage option = options[_optionId]; require( option.expiration > (block.timestamp + assetManager.getMinPeriod(option.pair)), "Option not eligble ...
1,758,466
[ 1, 8243, 7412, 27183, 1089, 1456, 13637, 586, 852, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1456, 5912, 12, 203, 3639, 2254, 5034, 389, 3482, 548, 16, 203, 3639, 1758, 389, 2704, 5541, 16, 203, 3639, 2254, 5034, 389, 1154, 6275, 203, 565, 262, 3903, 288, 203, 3639, 2698, 2502, 1456, 273, 702, 63, 67, 3482, 5...
./full_match/8453/0x0972892bDa852a6A8C2346Bc552f7782E22D55a9/sources/contracts/providers/TokenVault.sol
* deposit This method will enable root key holders to deposit ERC20s into the trust. This method operates under the assumption of approval. @param keyId the ID of the key that the depositor is using. @param token the address of the ERC20 token contract. @param amount the amount to deposit/ stop right now if the message...
function deposit(uint256 keyId, address token, uint256 amount) external { require(IKeyVault(locksmith.getKeyVault()).keyBalanceOf(msg.sender, keyId, false) > 0, 'KEY_NOT_HELD'); bytes32 tokenArn = AssetResourceName.AssetType({ contractAddress: token, tokenStandard: 20, ...
11,550,899
[ 1, 323, 1724, 1220, 707, 903, 4237, 1365, 498, 366, 4665, 358, 443, 1724, 4232, 39, 3462, 87, 1368, 326, 10267, 18, 1220, 707, 2255, 815, 3613, 326, 24743, 434, 23556, 18, 225, 30914, 326, 1599, 434, 326, 498, 716, 326, 443, 1724, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 443, 1724, 12, 11890, 5034, 30914, 16, 1758, 1147, 16, 2254, 5034, 3844, 13, 3903, 288, 203, 3639, 2583, 12, 45, 653, 12003, 12, 739, 4808, 483, 18, 588, 653, 12003, 1435, 2934, 856, 13937, 951, 12, 3576, 18, 15330, 1...
./full_match/80001/0xff4c447ae1212E96De4dcFfc0EDe7e309512605B/sources/project_/contracts/1inchproxy.sol
require( order.expiration >= block.timestamp, "Order: Cannot execute an expired order" );
function execute( bytes calldata oneInchCallData, address srcTokenAddr, address dstTokenAddr, uint256 srcAmount, uint256 minReturnAmount, uint256 period ) external payable { Order storage order = orders; IERC20 srcToken = IERC20(srcTokenAd...
9,530,366
[ 1, 6528, 12, 377, 1353, 18, 19519, 1545, 1203, 18, 5508, 16, 377, 315, 2448, 30, 14143, 1836, 392, 7708, 1353, 6, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 12, 203, 3639, 203, 3639, 1731, 745, 892, 1245, 382, 343, 1477, 751, 16, 203, 3639, 1758, 1705, 1345, 3178, 16, 203, 3639, 1758, 3046, 1345, 3178, 16, 203, 3639, 2254, 5034, 1705, 6275, 16, 203, 3639, 2254, 5034, ...
/** *Submitted for verification at Etherscan.io on 2021-11-03 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** * @dev ERC-721 non-fungible token standard. * See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md. */ interface ERC721 { /** * @dev Emits when ownership of any NFT change...
* Immutable support/* @dev Contract constructor. Sets metadata extension `name` and `symbol`. @param _imx immutable contract address/
function _mintFor( address to, uint256 id, bytes memory blueprint ) internal virtual; } contract ArtGalleryTokenImx is NFTokenEnumerable, NFTokenMetadata, Ownable, Mintable constructor(address _imx) public Mintable(msg.sender, _imx) { nftName = "ArtGallery";...
10,392,914
[ 1, 16014, 2865, 19, 225, 13456, 3885, 18, 11511, 1982, 2710, 1375, 529, 68, 471, 1375, 7175, 8338, 225, 389, 381, 92, 11732, 6835, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 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, 81, 474, 1290, 12, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 612, 16, 203, 3639, 1731, 3778, 13712, 203, 565, 262, 2713, 5024, 31, 203, 97, 203, 203, 203, 16351, 9042, 18511, 1345, 1170, 92, 353, 203, 565,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one...
@notice entry point for swapping tokens held in cross margin account checks that trader is within allowed lending bounds
function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, bytes32 amms, address[] calldata tokens, uint256 deadline ) external ensure(deadline) returns (uint256[] memory amounts) { address[] memory pairs; (amounts, pairs) = UniswapStyleLib...
563,891
[ 1, 4099, 1634, 364, 7720, 1382, 2430, 15770, 316, 6828, 7333, 2236, 4271, 716, 1284, 765, 353, 3470, 2935, 328, 2846, 4972, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7720, 5157, 1290, 14332, 5157, 12, 203, 3639, 2254, 5034, 3844, 1182, 16, 203, 3639, 2254, 5034, 3844, 382, 2747, 16, 203, 3639, 1731, 1578, 2125, 959, 16, 203, 3639, 1758, 8526, 745, 892, 2430, 16, 203, 3639, 2254, 503...
pragma solidity 0.5.16; import "./IETHFlashBorrower.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.3.0/contracts/math/SafeMath.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.3.0/contracts/utils/ReentrancyGuard.sol"; // @notice Any contract ...
@notice Any contract that inherits this contract becomes a flash lender of any/all ETH that it holds @dev DO NOT USE. This is has not been audited. should never be changed by inheriting contracts internal vars -- okay for inheriting contracts to change @notice Borrow ETH via a flash loan. See ETHFlashBorrower for exam...
contract ETHFlashLender is ReentrancyGuard { using SafeMath for uint256; uint256 private _ethBorrowerDebt; uint256 constant internal ONE = 1e18; function ETHFlashLoan(uint256 amount) external nonReentrant { _ethBorrowerDebt = amount.mul(ONE.add(_ethBorrowFee)).div(ONE); msg.sender....
12,653,565
[ 1, 2961, 6835, 716, 24664, 333, 6835, 12724, 279, 9563, 328, 2345, 434, 1281, 19, 454, 512, 2455, 716, 518, 14798, 225, 5467, 4269, 14988, 18, 1220, 353, 711, 486, 2118, 8215, 329, 18, 1410, 5903, 506, 3550, 635, 6811, 310, 20092, 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, 16351, 512, 2455, 11353, 48, 2345, 353, 868, 8230, 12514, 16709, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 3238, 389, 546, 38, 15318, 264, 758, 23602, 31, 203, 203, 203, 565, 2254, 5034, 5...
pragma solidity ^0.4.19; // Wolf Crypto pooling contract for Quant Network Overledger // written by @iamdefinitelyahuman library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; ...
This function is called at the time of contract creation, it sets the initial variables and the contract owner.
function PresalePool(address receiverAddr, uint contractMaxInWei, uint fee) public { require (fee < 100); require (receiverAddr != 0x00); owner = msg.sender; receiverAddress = receiverAddr; maxContractBalance = contractMaxInWei; feePct = _toPct(fee,100); }
1,181,240
[ 1, 2503, 445, 353, 2566, 622, 326, 813, 434, 6835, 6710, 16, 518, 1678, 326, 2172, 3152, 471, 326, 6835, 3410, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 18346, 5349, 2864, 12, 2867, 5971, 3178, 16, 2254, 6835, 2747, 382, 3218, 77, 16, 2254, 14036, 13, 1071, 288, 203, 565, 2583, 261, 21386, 411, 2130, 1769, 203, 565, 2583, 261, 24454, 3178, 480, 374, 92, 713, 1769, 203, ...
// // MIT License // // Copyright (c) 2018 REGA Risk Sharing // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use,...
if something wrong w/ level add to tokens
distribution[3] = distribution[3] + nfts[id].value;
14,049,220
[ 1, 430, 5943, 7194, 341, 19, 1801, 527, 358, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 7734, 7006, 63, 23, 65, 273, 7006, 63, 23, 65, 397, 290, 1222, 87, 63, 350, 8009, 1132, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/3/0x3F78bC772caac55f3E41d2c7c44feCEC2B80850F/sources/Asset.sol
* @dev Frozen account. @param _target The address to being frozen. @param _flag The status of the frozen/
function setFrozen(address _target,bool _flag) onlyAdmin public { frozen[_target]=_flag; emit FrozenStatus(_target,_flag); }
5,082,119
[ 1, 42, 9808, 2236, 18, 225, 389, 3299, 1021, 1758, 358, 3832, 12810, 18, 225, 389, 6420, 1021, 1267, 434, 326, 12810, 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, 24340, 9808, 12, 2867, 389, 3299, 16, 6430, 389, 6420, 13, 1338, 4446, 1071, 288, 203, 3639, 12810, 63, 67, 3299, 65, 33, 67, 6420, 31, 203, 3639, 3626, 478, 9808, 1482, 24899, 3299, 16, 67, 6420, 1769, 203, 565, 289,...
/** *Submitted for verification at Etherscan.io on 2021-04-10 */ // SPDX-License-Identifier: MIT pragma solidity =0.7.6; pragma experimental ABIEncoderV2; abstract contract IGem { function dec() virtual public returns (uint); function gem() virtual public returns (IGem); function join(address, uint)...
@title Open a new Maker vault
contract McdOpen is ActionBase { function executeAction( bytes[] memory _callData, bytes[] memory _subData, uint8[] memory _paramMapping, bytes32[] memory _returnValues ) public payable virtual override returns (bytes32) { (address joinAddr, address mcdManager) = parseInp...
2,285,148
[ 1, 3678, 279, 394, 490, 6388, 9229, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 490, 4315, 3678, 353, 4382, 2171, 288, 203, 565, 445, 1836, 1803, 12, 203, 3639, 1731, 8526, 3778, 389, 1991, 751, 16, 203, 3639, 1731, 8526, 3778, 389, 1717, 751, 16, 203, 3639, 2254, 28, 8526, 3778, 389, 891, 3233, 16, ...
// ALPHA 0.1.0 General Purpose Profit Splitter // INSERT ANYTHING ABOVE 1 FINNEY TO BE A CONTRIBUTOR. // TO INSERT PROFIT, SEND 1 FINNEY TO THIS CONTRACT FIRST! // THEN YOU HAVE TO SEND THE PROFIT DIRECTLY AFTER - IN 1 TRANSACTION - WITH THE SAME ADDRESS! // NO COPYRIGHT, NO FEES, NO OWNER (Only an owner in beta) // ...
this is when you want to stop getting profits as well
function cashAllOut() {
12,905,336
[ 1, 2211, 353, 1347, 1846, 2545, 358, 2132, 8742, 9214, 1282, 487, 5492, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 276, 961, 1595, 1182, 1435, 288, 8227, 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, ...