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
// Dependency file: @chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol // SPDX-License-Identifier: MIT // pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bug...
* Check pool is ETH pool or not/
function _isEthPool() internal view returns (bool) { return address(enterToken) == controller.getWeth(); }
225,667
[ 1, 1564, 2845, 353, 512, 2455, 2845, 578, 486, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 41, 451, 2864, 1435, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 1758, 12, 2328, 1345, 13, 422, 2596, 18, 588, 59, 546, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/42/0xf18DbF837b646ae495d12bAC7cf8Cc9000F5E602/sources/MultiSigWallet.sol
Constants/ Storage/
struct Transaction { string name; address destination; uint value; bytes data; bool executed; }
3,303,248
[ 1, 2918, 19, 225, 5235, 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, 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, 1958, 5947, 288, 203, 3639, 533, 508, 31, 203, 3639, 1758, 2929, 31, 203, 3639, 2254, 460, 31, 203, 3639, 1731, 501, 31, 203, 3639, 1426, 7120, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.19; contract Ownable { address public owner; address public ceoWallet; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() public { owner = msg.sender; ceoWallet = msg.sender; } modifier onlyOwner() { require(m...
1000 Centurions will ever exist
function totalSupply() public view returns (uint) { return allCenturionTokens.length; }
7,238,858
[ 1, 18088, 22321, 295, 1115, 903, 14103, 1005, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 3088, 1283, 1435, 1071, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 777, 15897, 295, 285, 5157, 18, 2469, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0x80EE473654F4928b7893D852742CD4eFEBFb1A31/sources/POOH.sol
there will be no leftover eth in the contract
(success, ) = address(OperationWallet).call{value: address(this).balance}("");
2,663,987
[ 1, 18664, 903, 506, 1158, 29709, 13750, 316, 326, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 261, 4768, 16, 262, 273, 1758, 12, 2988, 16936, 2934, 1991, 95, 1132, 30, 1758, 12, 2211, 2934, 12296, 97, 2932, 8863, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x46baF37b504e24DB0Edd92Cdd5089f737c759a3C/sources/home/vadim/code/skale-manager/contracts/thirdparty/ECDH.sol
* @title ECDH @dev This contract performs Elliptic-curve Diffie-Hellman key exchange to support the DKG process./
contract ECDH { using SafeMath for uint256; uint256 constant private _GX = 0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798; uint256 constant private _GY = 0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8; uint256 constant private _N = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFF...
4,341,220
[ 1, 7228, 16501, 225, 1220, 6835, 11199, 10426, 549, 21507, 17, 16683, 13008, 1385, 17, 44, 1165, 4728, 498, 7829, 358, 2865, 326, 31176, 43, 1207, 18, 19, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7773, 16501, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 5381, 3238, 389, 43, 60, 273, 374, 92, 7235, 5948, 6028, 27, 26897, 29, 5528, 9676, 2226, 2539, 37, 7677, 29286, 1441, 28, 730...
pragma solidity ^0.4.8; //代币合约 contract token { string public name = "cao token"; //代币名称 string public symbol = "CAO"; //代币符号比如'$' uint8 public decimals = 18; //代币单位,展示的小数点后面多少个0,和以太币一样后面是是18个0 uint256 public totalSupply; //代币总量,这里没有做限制,你也可以限定 //地址对应的余额 mapping (address => uint256) publ...
* 判断是否已经过了众筹截止限期/ if (this == msg.sender && now >= deadline) _; 并且该方法只能被创建者调用,严格一点
modifier afterDeadline() { if (now >= deadline) _; }
601,523
[ 1, 166, 235, 102, 167, 249, 260, 167, 251, 112, 166, 243, 104, 166, 120, 115, 168, 124, 242, 169, 128, 234, 165, 123, 233, 165, 125, 250, 168, 260, 122, 167, 235, 108, 167, 260, 100, 170, 252, 243, 167, 255, 258, 19, 309, 261,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 9606, 1839, 15839, 1435, 288, 203, 3639, 309, 261, 3338, 1545, 14096, 13, 389, 31, 203, 3639, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x489dC359F9f1799FBf388abf91cFe7cb37736D6a/sources/contracts/PToken.sol
* @notice Get the current allowance from `owner` for `spender` @param owner The address of the account which owns the tokens to be spent @param spender The address of the account which may transfer tokens @return The number of tokens allowed to be spent (-1 means infinite)/
function allowance(address owner, address spender) external view override returns (uint256) { return transferAllowances[owner][spender]; }
8,387,160
[ 1, 967, 326, 783, 1699, 1359, 628, 1375, 8443, 68, 364, 1375, 87, 1302, 264, 68, 225, 3410, 1021, 1758, 434, 326, 2236, 1492, 29065, 326, 2430, 358, 506, 26515, 225, 17571, 264, 1021, 1758, 434, 326, 2236, 1492, 2026, 7412, 2430, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1699, 1359, 12, 2867, 3410, 16, 1758, 17571, 264, 13, 3903, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 7412, 7009, 6872, 63, 8443, 6362, 87, 1302, 264, 15533, 203, 565, 289, 203, 203, 2, -100, -100, ...
pragma solidity ^0.4.18; // File: contracts-origin/AetherAccessControl.sol /// @title A facet of AetherCore that manages special access privileges. /// @dev See the AetherCore contract documentation to understand how the various contract facets are arranged. contract AetherAccessControl { // This facet controls a...
@dev Mappings between property nodes.
mapping (uint256 => uint256) public districtToBuildingsCount;
1,090,813
[ 1, 7742, 3086, 1272, 2199, 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, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 11890, 5034, 516, 2254, 5034, 13, 1071, 1015, 5792, 774, 3116, 899, 1380, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.4; contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balan...
Set the symbol for display purposes (CHANGE THIS)
symbol = "PRE";
14,410,787
[ 1, 694, 326, 3273, 364, 2562, 13694, 261, 14473, 20676, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 3273, 273, 315, 3670, 14432, 4766, 2868, 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...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "../openzeppelin-solidity/contracts/Ownable.sol"; import "../openzeppelin-solidity/contracts/SafeMath.sol"; import "../openzeppelin-solidity/contracts/SafeERC20.sol"; import "../openzeppelin-solidity/contracts/ReentrancyGuard.sol"; import "./NonTransferr...
* Total number of tokens in the contract after the last redemption/* Total number of tokens this contract has ever received/* Value of `totalTokensReceived` at the last time this beneficiary redeemed tokens. This is used to calculate the marginal additional tokens that this user has./
) NonTransferrableToken(name_, symbol_, decimals_) { transferOwnership(owner_); _token = IERC20(token_); }
2,546,094
[ 1, 5269, 1300, 434, 2430, 316, 326, 6835, 1839, 326, 1142, 283, 19117, 375, 19, 10710, 1300, 434, 2430, 333, 6835, 711, 14103, 5079, 19, 1445, 434, 1375, 4963, 5157, 8872, 68, 622, 326, 1142, 813, 333, 27641, 74, 14463, 814, 283, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 565, 262, 3858, 5912, 354, 7119, 1345, 12, 529, 67, 16, 3273, 67, 16, 15105, 67, 13, 288, 203, 3639, 7412, 5460, 12565, 12, 8443, 67, 1769, 203, 3639, 389, 2316, 273, 467, 654, 39, 3462, 12, 2316, 67, 1769, 203, 565, 289, 203...
// SPDX-License-Identifier: MIT // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in ...
takes raw tryb amount, transfers it in, calculates corresponding numeraire amount and returns it
function intakeRawAndGetBalance(uint256 _amount) external override returns (int128 amount_, int128 balance_) { bool _transferSuccess = tryb.transferFrom(msg.sender, address(this), _amount); require(_transferSuccess, "Curve/TRYB-transfer-from-failed"); uint256 _balance = tryb.balanceOf(addr...
6,028,521
[ 1, 88, 3223, 1831, 775, 70, 3844, 16, 29375, 518, 316, 16, 17264, 4656, 818, 6070, 577, 3844, 471, 1135, 518, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 509, 911, 4809, 14042, 13937, 12, 11890, 5034, 389, 8949, 13, 3903, 3849, 1135, 261, 474, 10392, 3844, 67, 16, 509, 10392, 11013, 67, 13, 288, 203, 3639, 1426, 389, 13866, 4510, 273, 775, 70, 18, 13866, 1265, 12, 3576, ...
./full_match/11155111/0x3F41573edFF86e8d0924B2126F96Ae3c21cC6244/sources/src/verifier.sol
We'll use mIn to save d2 We'll use mIn + 64 to save d3 We'll use mIn + 128 to save d4
function calculateD(pMem) { let _pD:= add(pMem, pD) let gamma := mload(add(pMem, pGamma)) let mIn := mload(0x40) g1_setC(_pD, Qcx, Qcy) g1_mulAccC(_pD, Qmx, Qmy, mulmod(calldataload(pEval_a), calldataload(pEval_b), q)) ...
3,802,480
[ 1, 3218, 5614, 999, 312, 382, 358, 1923, 302, 22, 1660, 5614, 999, 312, 382, 397, 5178, 358, 1923, 302, 23, 1660, 5614, 999, 312, 382, 397, 8038, 358, 1923, 302, 24, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 445, 4604, 40, 12, 84, 3545, 13, 288, 203, 7734, 2231, 389, 84, 40, 30, 33, 527, 12, 84, 3545, 16, 293, 40, 13, 203, 7734, 2231, 9601, 519, 312, 945, 12, 1289, 12, 84, 3545, 16, 293, 31300, 3719, 203, 7734, 2231, 312,...
/* FoxyDen.sol https://foxy.farm/ /\ /\ //\\_//\\ ____ \_ _/ / / / * * \ /^^^] \_\O/_/ [ ] / \_ [ / The early bird gets the worm, and the early fox gets the bird \ \_ / / [ [ / \/ _/ _[ [ \ /_/ https://t.me/foxyfarm */ pragma solidity ^0.6.8; ...
FoxyFarm with Governance. foxy is an exact copy of SUSHI
contract FoxyFarm is ERC20("Foxy.farm", "FOXY"), Ownable { using SafeMath for uint256; function transfer(address recipient, uint256 amount) public virtual override returns (bool) { return super.transfer(recipient, amount); } function transferFrom(address sender, address recipient, uint256 amo...
15,212,783
[ 1, 42, 83, 1698, 42, 4610, 598, 611, 1643, 82, 1359, 18, 18261, 1698, 353, 392, 5565, 1610, 434, 11726, 2664, 45, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 478, 83, 1698, 42, 4610, 353, 4232, 39, 3462, 2932, 42, 83, 1698, 18, 74, 4610, 3113, 315, 3313, 8546, 6, 3631, 14223, 6914, 288, 203, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 445, 7412, 12, 2867...
pragma solidity 0.5.10; import "./Base.sol"; import "../interface/IRole.sol"; /** @title This manages the roles to access to the platform. @author StablePay <hi@stablepay.io> @notice This smart contract manages the roles for each address who access to the platform. */ contract Role is Base, IRole { /...
/ Only an owner can transfer their access Remove from storage Log it
function roleRemove(string memory _role, address _address) internal { require(!roleHas("owner", _address), "Only owner can transfer their access."); _storage.deleteBool(keccak256(abi.encodePacked("access.role", _role, _address))); emit RoleRemoved(_address, _role); }
12,545,282
[ 1, 19, 5098, 392, 3410, 848, 7412, 3675, 2006, 3581, 628, 2502, 1827, 518, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2478, 3288, 12, 1080, 3778, 389, 4615, 16, 1758, 389, 2867, 13, 2713, 288, 203, 3639, 2583, 12, 5, 4615, 5582, 2932, 8443, 3113, 389, 2867, 3631, 315, 3386, 3410, 848, 7412, 3675, 2006, 1199, 1769, 203, 3639, 389, 5697,...
//Address: 0xb3f1c771e232516aceae118dce40fa3199504931 //Contract name: HumaniqICO //Balance: 0 Ether //Verification Date: 5/8/2017 //Transacion Count: 8196 // CODE STARTS HERE pragma solidity ^0.4.6; /** * Math operations with safety checks */ contract SafeMath { function mul(uint a, uint b) internal returns (...
@dev Contract constructor Set token address Set founder address
function HumaniqICO(address tokenAddress, address founderAddress) { humaniqToken = HumaniqToken(tokenAddress); founder = founderAddress; }
1,759,158
[ 1, 8924, 3885, 1000, 1147, 1758, 1000, 284, 465, 765, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 670, 6925, 18638, 2871, 51, 12, 2867, 1147, 1887, 16, 1758, 284, 465, 765, 1887, 13, 288, 203, 3639, 8672, 18638, 1345, 273, 670, 6925, 18638, 1345, 12, 2316, 1887, 1769, 203, 203, 3639, 284, 465, 765, 273, 284, 465, ...
pragma solidity ^0.4.24; // EPM Library Usage import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; import "./Proxy.sol"; /** @title A managment contract to store and manage all Campains for the platform. * This enables users to create new campagins and then other users can fund them. * Users can only fund...
* @dev Verify the goals and cap for the campaign are valid @notice if the cap is set to zero, it is uncapped @param _goal value of the campaign (in ETH) @param _cap value of the campaign (in ETH)/
modifier validNewCampaignFunding(uint _goal,uint _cap) { if(_cap != 0){ require(_cap > _goal, "Cap should be larger than goal to be valid"); } _; }
5,542,237
[ 1, 8097, 326, 1960, 1031, 471, 3523, 364, 326, 8965, 854, 923, 225, 309, 326, 3523, 353, 444, 358, 3634, 16, 518, 353, 6301, 438, 1845, 225, 389, 27354, 460, 434, 326, 8965, 261, 267, 512, 2455, 13, 225, 389, 5909, 460, 434, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 923, 1908, 13432, 42, 14351, 12, 11890, 389, 27354, 16, 11890, 389, 5909, 13, 288, 203, 3639, 309, 24899, 5909, 480, 374, 15329, 203, 5411, 2583, 24899, 5909, 405, 389, 27354, 16, 315, 4664, 1410, 506, 10974, 2353, 17683...
//Address: 0x16a53260f47252d68abf70be7e96dd8813728198 //Contract name: CentrallyIssuedToken //Balance: 0 Ether //Verification Date: 5/22/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.18; // File: zeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with...
* Centrally issued Ethereum token. We mix in burnable and upgradeable traits. Token supply is created in the token contract creation and allocated to owner. The owner can then transfer from its supply to crowdsale participants. The owner, or anybody, can burn any excessive tokens they are holding./
contract CentrallyIssuedToken is BurnableToken, UpgradeableToken, HaltableToken { string public name; string public symbol; uint public decimals; function CentrallyIssuedToken(address _owner, string _name, string _symbol, uint _totalSupply, uint _decimals) public HaltableToken(_owner) UpgradeableToken(_owner...
15,795,602
[ 1, 39, 8230, 1230, 16865, 512, 18664, 379, 1147, 18, 1660, 6843, 316, 18305, 429, 471, 8400, 429, 18370, 18, 3155, 14467, 353, 2522, 316, 326, 1147, 6835, 6710, 471, 11977, 358, 3410, 18, 1021, 3410, 848, 1508, 7412, 628, 2097, 14467,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 385, 8230, 1230, 7568, 5957, 1345, 353, 605, 321, 429, 1345, 16, 17699, 429, 1345, 16, 670, 287, 2121, 1345, 288, 203, 203, 225, 533, 1071, 508, 31, 203, 225, 533, 1071, 3273, 31, 203, 225, 2254, 1071, 15105, 31, 203, 20...
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/utils/math/Math.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import './Readable.sol'; contract RidottoVesting is Ownable, Readable { using SafeERC...
Tuesday, 28 September 2021 16:30:00
uint32 public TGEdate = 1632846600;
1,409,215
[ 1, 56, 3610, 2881, 16, 9131, 3265, 337, 2558, 26599, 21, 2872, 30, 5082, 30, 713, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1578, 1071, 399, 7113, 712, 273, 2872, 1578, 5193, 6028, 713, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import {ICollectNFT} from '../interfaces/ICollectNFT.sol'; import {ILensHub} from '../interfaces/ILensHub.sol'; import {Errors} from '../libraries/Errors.sol'; import {Events} from '../libraries/Events.sol'; import {LensNFTBase} from './base/LensNFTBase.sol'; /...
* @dev Upon transfers, we emit the transfer event in the hub./
function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override { super._beforeTokenTransfer(from, to, tokenId); ILensHub(HUB).emitCollectNFTTransferEvent(_profileId, _pubId, tokenId, from, to); }
5,436,295
[ 1, 57, 500, 29375, 16, 732, 3626, 326, 7412, 871, 316, 326, 11891, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 1147, 548, 203, 565, 262, 2713, 3849, 288, 203, 3639, 2240, 6315, 5771, 1345, 5912, 12, 2080, 16, 358, 16, 1147, 54...
./partial_match/137/0x64864ab26D530CE268c5EEE5f064F3397a0ADfFC/sources/Magnetar.sol
tax on total amount for liquidity for next prediction and burn
uint256 tax = _rewardBalance[id] - rewardAmount;
3,529,632
[ 1, 8066, 603, 2078, 3844, 364, 4501, 372, 24237, 364, 1024, 8239, 471, 18305, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 5320, 273, 389, 266, 2913, 13937, 63, 350, 65, 300, 19890, 6275, 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...
pragma solidity ^0.8.1; contract Token{ address Owner; string public tokenName = "Akash"; string public symbol = "Ak"; uint public decimals = 18; uint public totalSupply = 2100000; mapping(address => uint)public balanceOf; mapping(address => mapping(address =>uint))public allow...
The Transfer Function Is Used To Transfer The Token From Msg Sender Account to Another Account.....
contract Token{ address Owner; string public tokenName = "Akash"; string public symbol = "Ak"; uint public decimals = 18; uint public totalSupply = 2100000; mapping(address => uint)public balanceOf; mapping(address => mapping(address =>uint))public allowance; constructor() { Ow...
13,106,305
[ 1, 1986, 12279, 4284, 2585, 10286, 2974, 12279, 1021, 3155, 6338, 8671, 15044, 6590, 358, 432, 24413, 6590, 838, 2777, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3155, 95, 203, 203, 565, 1758, 16837, 31, 203, 565, 533, 1071, 1147, 461, 273, 315, 37, 79, 961, 14432, 203, 565, 533, 1071, 3273, 273, 315, 37, 79, 14432, 203, 565, 2254, 1071, 15105, 273, 6549, 31, 203, 565, 2254, 1071...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.4; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@open...
should revert with "Address: not a contract" if it's an account
function associateShieldMining(address _policyBook, address _shieldMiningToken) external override { require(_msgSender() == policyBookFabric || _msgSender() == owner(), "SM: no access"); require(policyBookRegistry.isPolicyBook(_policyBook), "SM: Not a PolicyBook"); _shie...
5,372,881
[ 1, 13139, 15226, 598, 315, 1887, 30, 486, 279, 6835, 6, 309, 518, 1807, 392, 2236, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 13251, 1555, 491, 2930, 310, 12, 2867, 389, 5086, 9084, 16, 1758, 389, 674, 491, 2930, 310, 1345, 13, 203, 3639, 3903, 203, 3639, 3849, 203, 565, 288, 203, 3639, 2583, 24899, 3576, 12021, 1435, 422, 3329, 9084, 42, 1215...
./full_match/1/0xAf561dD77308231B1a86B72eC517b63B76330C55/sources/contracts/helpers.sol
if amount == 0 - withdraw all tokens!!!
function wthdrwToken(address tokenAddress, uint256 amount) external { require( owner == tx.origin, "x"); uint256 withdrawAmount = amount; IERC20 tokenContract = IERC20(tokenAddress); if (amount == 0) { uint256 contractTokenBalance = tokenContract.balanceOf(address(this...
16,494,067
[ 1, 430, 3844, 422, 374, 300, 598, 9446, 777, 2430, 25885, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 341, 451, 3069, 91, 1345, 12, 2867, 1147, 1887, 16, 2254, 5034, 3844, 13, 3903, 288, 203, 3639, 2583, 12, 3410, 422, 2229, 18, 10012, 16, 315, 92, 8863, 203, 3639, 2254, 5034, 598, 9446, 6275, 273, 225, 3844, 31, 203,...
./full_match/1/0xa33ba513Be08f822BDC2806bde89A9e0727Fd670/sources/contracts/mojito/onchain/OnchainBuy.sol
@notice Settle the Payment based on the given parameters @param _from Address from whom the amount to be transferred @param _to Address to whom need to settle the payment @param _paymentToken Address of the ERC20 Payment Token @param _amount Amount to be transferred transferreng the native currency transferring ERC20 ...
function _handlePayment( address _from, address payable _to, address _paymentToken, uint256 _amount ) private { bool success; if (_paymentToken == address(0)) { require(success, "unable to debit native balance please try again"); IERC20(_pa...
17,022,179
[ 1, 694, 5929, 326, 12022, 2511, 603, 326, 864, 1472, 225, 389, 2080, 5267, 628, 600, 362, 326, 3844, 358, 506, 906, 4193, 225, 389, 869, 5267, 358, 600, 362, 1608, 358, 444, 5929, 326, 5184, 225, 389, 9261, 1345, 5267, 434, 326, 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, 565, 445, 389, 4110, 6032, 12, 203, 3639, 1758, 389, 2080, 16, 203, 3639, 1758, 8843, 429, 389, 869, 16, 203, 3639, 1758, 389, 9261, 1345, 16, 203, 3639, 2254, 5034, 389, 8949, 203, 565, 262, 3238, 288, 203, 3639, 1426, 2216, 3...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; contract Ownable { address private m_Owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { m_Owner = msg.sender; emit OwnershipTransferred(address(0), msg.sender); } func...
Calculates balances and removes appropriate amount of liquidity to give developer initial balance. Burns the portion of supply that was removed, attempts address 0 then dead address finally leaves tokens in this contract as a last resort.
function releaseTokens(address _pair) external { uint256 _pairBalance = ERC20(_pair).balanceOf(address(this)); require(msg.sender == m_PayoutAddress[_pair]); require(_pairBalance > 0, "No tokens to release"); require(block.timestamp > m_PairRelease[_pair], "Lock expiration not reache...
522,895
[ 1, 10587, 324, 26488, 471, 7157, 5505, 3844, 434, 4501, 372, 24237, 358, 8492, 8751, 2172, 11013, 18, 605, 321, 87, 326, 14769, 434, 14467, 716, 1703, 3723, 16, 7531, 1758, 374, 1508, 8363, 1758, 3095, 15559, 2430, 316, 333, 6835, 487...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 445, 3992, 5157, 12, 2867, 389, 6017, 13, 3903, 288, 203, 3639, 2254, 5034, 389, 6017, 13937, 273, 4232, 39, 3462, 24899, 6017, 2934, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 312, 67,...
pragma solidity ^0.5.6; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be ap...
delete userAuctionInfo
address seller = auction.seller;
935,131
[ 1, 3733, 729, 37, 4062, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 1758, 29804, 273, 279, 4062, 18, 1786, 749, 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, -...
pragma solidity ^0.4.23; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value...
Crowdsale minimal goal, must be greater or equal to Forecasting min amount
uint256 public minimalGoal;
6,201,688
[ 1, 39, 492, 2377, 5349, 16745, 17683, 16, 1297, 506, 6802, 578, 3959, 358, 17605, 4155, 310, 1131, 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, ...
[ 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, 225, 2254, 5034, 1071, 16745, 27716, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0x7e1e077b289c0153b5ceAD9F264d66215341c9Ab/sources/contracts/plugins/assets/compoundv3/WrappedERC20.sol
* @dev See {IERC20-allowance}./
function allowance(address owner, address spender) public view virtual override returns (uint256) { return hasPermission(owner, spender) ? type(uint256).max : 0; }
3,138,301
[ 1, 9704, 288, 45, 654, 39, 3462, 17, 5965, 1359, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1699, 1359, 12, 2867, 3410, 16, 1758, 17571, 264, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 26097, 12, 8443, 16, 17571,...
./partial_match/3/0x7d516621e4b2cb3c0f106db9656D4E832A131454/sources/ShockLinkTest.sol
------------------------------------------------------------------------ ------------------------------------------------------------------------these addresses won't be affected by burn,ie liquidity pools ------------------------------------------------------------------------
{ using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; string constant tokenName = "Shock Link Test"; string constant tokenSymbol = "SLT"; uint8 constant tokenDecimals = 18; uint256 _totalS...
5,075,004
[ 1, 29461, 8879, 17082, 451, 3392, 6138, 8462, 1404, 506, 9844, 635, 18305, 16, 1385, 4501, 372, 24237, 16000, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 95, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 377, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 5034, 3719, 3238, 389, 8151, ...
/* Copyright 2017 Loopring Project Ltd (Loopring Foundation). 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...
* @dev Increase the amount of tokens that an owner allowed to a spender. approve should be called when allowed[_spender] == 0. To increment allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol @param _spender The address which will spen...
function increaseApproval( address _spender, uint _addedValue ) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true;...
7,271,776
[ 1, 382, 11908, 326, 3844, 434, 2430, 716, 392, 3410, 2935, 358, 279, 17571, 264, 18, 6617, 537, 1410, 506, 2566, 1347, 2935, 63, 67, 87, 1302, 264, 65, 422, 374, 18, 2974, 5504, 2935, 460, 353, 7844, 358, 999, 333, 445, 358, 4543,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10929, 23461, 12, 203, 3639, 1758, 389, 87, 1302, 264, 16, 203, 3639, 2254, 389, 9665, 620, 203, 3639, 262, 203, 3639, 1071, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2935, 63, 3576, 18, 15330, 6362, 6...
./partial_match/1/0x5BeC63131bDb80a17F94E29926Eef09353C5D03a/sources/Crowdsale.sol
add contribution to the purchaser
contributions[purchaser] = contributions[purchaser].add(value);
9,231,839
[ 1, 1289, 24880, 358, 326, 5405, 343, 14558, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13608, 6170, 63, 12688, 343, 14558, 65, 273, 13608, 6170, 63, 12688, 343, 14558, 8009, 1289, 12, 1132, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity 0.4.18; /// @title Ownable /// @dev The Ownable contract has an owner address, and provides basic authorization control functions, /// this simplifies the implementation of "user permissions". /// @dev Based on OpenZeppelin's Ownable. contract Ownable { address public owner; address p...
@dev check if the address is contract assemble the given address bytecode. If bytecode exists then the _addr is a contract. @param _addr address the address to check retrieve the size of the code on target address, this needs assembly
function isContract(address _addr) private constant returns (bool is_contract) { uint length; return length > 0; }
1,083,081
[ 1, 1893, 309, 326, 1758, 353, 6835, 19540, 326, 864, 1758, 22801, 18, 971, 22801, 1704, 1508, 326, 389, 4793, 353, 279, 6835, 18, 225, 389, 4793, 1758, 326, 1758, 358, 866, 4614, 326, 963, 434, 326, 981, 603, 1018, 1758, 16, 333, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 353, 8924, 12, 2867, 389, 4793, 13, 3238, 5381, 1135, 261, 6430, 353, 67, 16351, 13, 288, 203, 565, 2254, 769, 31, 203, 565, 327, 769, 405, 374, 31, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -...
/* Copyright 2019 Swap Holdings 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 required by applicable law or agreed to in writ...
* @notice Invalidate all orders below a nonce value @dev Emits an Invalidate event @param _minimumNonce uint256/
function invalidate( uint256 _minimumNonce ) external { makerMinimumNonce[msg.sender] = _minimumNonce; emit Invalidate(_minimumNonce, msg.sender); }
13,037,590
[ 1, 26970, 777, 11077, 5712, 279, 7448, 460, 225, 7377, 1282, 392, 1962, 340, 871, 225, 389, 15903, 13611, 2254, 5034, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11587, 12, 203, 565, 2254, 5034, 389, 15903, 13611, 203, 225, 262, 3903, 288, 203, 565, 312, 6388, 13042, 13611, 63, 3576, 18, 15330, 65, 273, 389, 15903, 13611, 31, 203, 565, 3626, 1962, 340, 24899, 15903, 13611, 16, 1...
./full_match/8453/0xE4AD80eD0c7d12A8B687c6C987d07f1D486fEd85/sources/src/royalty/ABRoyalty.sol
Superfluid Contracts */
import {ISuperToken} from "@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.sol";
11,535,328
[ 1, 8051, 2242, 1911, 30131, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5666, 288, 45, 8051, 1345, 97, 628, 8787, 9565, 2242, 1911, 17, 926, 1359, 19, 546, 822, 379, 17, 16351, 87, 19, 16351, 87, 19, 15898, 19, 9565, 2242, 1911, 19, 45, 8051, 1345, 18, 18281, 14432, 203, 2, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-07-20 */ // File: contracts/IERC20.sol pragma solidity >=0.5.0 <0.7.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function allowance(address owner...
* @dev gives square root of given x./
function sqrt(uint256 x) internal pure returns(uint256 y) { uint256 z = ((add(x, 1)) / 2); y = x; while (z < y) { y = z; z = ((add((x / z), z)) / 2); } }
6,554,618
[ 1, 75, 3606, 8576, 1365, 434, 864, 619, 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, 5700, 12, 11890, 5034, 619, 13, 203, 225, 2713, 203, 225, 16618, 203, 225, 1135, 12, 11890, 5034, 677, 13, 288, 203, 565, 2254, 5034, 998, 273, 14015, 1289, 12, 92, 16, 404, 3719, 342, 576, 1769, 203, 565, 677, 273, ...
./full_match/5/0x8e5F7382Ec9DC8ECC58A99c510fB7eAcC8562599/sources/contracts/poolv2-implementation/interfaces/IAssetRouter.sol
kbp = Known Bandwidth Proof dst bandwidth
uint256 actualKbp;
1,950,251
[ 1, 8899, 84, 273, 30036, 27601, 2819, 1186, 792, 3046, 20508, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 3214, 47, 17152, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xF8e465C2Db4794A87B345414F47F00acCADDaCAB/sources/contracts/IceNFT.sol
check if user's upline is already set check if cycle referral find upline's upline(referrer's referrer) set relationship
function setReferralRelationship(address user, address referredBy) internal { require(user != address(0), "Referral: user is zero address"); require(referredBy != address(0), "Referral: referredBy is zero address"); require(usersUpline[user] == address(0), "Referral: user's upline is already set"); ...
2,919,690
[ 1, 1893, 309, 729, 1807, 582, 412, 558, 353, 1818, 444, 866, 309, 8589, 1278, 29084, 1104, 582, 412, 558, 1807, 582, 412, 558, 12, 1734, 11110, 1807, 14502, 13, 444, 5232, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 1957, 29084, 8180, 12, 2867, 729, 16, 1758, 29230, 858, 13, 2713, 288, 203, 565, 2583, 12, 1355, 480, 1758, 12, 20, 3631, 315, 1957, 29084, 30, 729, 353, 3634, 1758, 8863, 203, 565, 2583, 12, 266, 4193, 858, 480,...
// to test issue with nodes breaking with large clients over WS // fixed in web3 with fragmentationThreshold: 8192 pragma solidity ^0.4.17; contract BigFreakingContract { event Transfer(address indexed from, address indexed to, uint value); event Approval( address indexed owner, address indexed spender, uint valu...
TODO: should increase instead
function approve_127(address spender, uint value) public returns (bool ok) { _approvals[msg.sender][spender] = value; emit Approval( msg.sender, spender, value ); return true; }
6,453,840
[ 1, 6241, 30, 1410, 10929, 3560, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6617, 537, 67, 14260, 12, 2867, 17571, 264, 16, 2254, 460, 13, 1071, 1135, 261, 6430, 1529, 13, 288, 203, 565, 389, 12908, 4524, 63, 3576, 18, 15330, 6362, 87, 1302, 264, 65, 273, 460, 31, 203, 565, 3626, 1716, 685, ...
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts // Tokenfy Contracts // _____ _ _____ _ _ _____ _ _ ______ _ _____ _ _ _ _ _ _____ _ _ _ _ ...
sale currency settings mint settings presale settings activation flags
contract GanjiBrandCollectable is ERC721, Ownable, ReentrancyGuard { using ECDSA for bytes32; using Strings for uint256; using SafeERC20 for IERC20; uint256 private _currentIndex = 0; uint256 private _totalBurned = 0; address public tokenfyAddress = 0xa6dD98031551C23bb4A2fBE2C4d524e8f737c6f7; ...
1,172,259
[ 1, 87, 5349, 5462, 1947, 312, 474, 1947, 4075, 5349, 1947, 10027, 2943, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 611, 304, 78, 17632, 7884, 10808, 429, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 16, 868, 8230, 12514, 16709, 288, 203, 565, 1450, 7773, 19748, 364, 1731, 1578, 31, 203, 202, 9940, 8139, 364, 2254, 5034, 31, 203, 565, 1450...
./partial_match/4/0xE5b4Cda4dCC0bE5BEA97dDbEE9B584CB7f1ab1ae/sources/coffer_Factory.sol
those methods are called by the legacy contract and they must ensure msg.sender to be the contract address
contract UpgradedStandardToken_CT is StandardToken_CT{ function transferByLegacy(address from, address to, uint value) public; function transferFromByLegacy(address sender, address from, address spender, uint value) public; function approveByLegacy(address from, address spender, uint value) public; }
8,523,032
[ 1, 451, 2584, 2590, 854, 2566, 635, 326, 8866, 6835, 471, 2898, 1297, 3387, 1234, 18, 15330, 358, 506, 326, 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,...
[ 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, 16351, 1948, 19305, 8336, 1345, 67, 1268, 353, 8263, 1345, 67, 1268, 95, 203, 565, 445, 7412, 858, 12235, 12, 2867, 628, 16, 1758, 358, 16, 2254, 460, 13, 1071, 31, 203, 565, 445, 7412, 1265, 858, 12235, 12, 2867, 5793, 16, 175...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol"; import "@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol"; import "./LuckyMachineCoordinator.sol"; contract LuckyMachine is O...
* @dev Returns whether a winning bet can by paid out by machine. Balance of machine must be at least (value of bet payout)./
function betPayable(uint bet) virtual public view returns(bool){ return (address(this).balance.sub(_unplayedBets) >= bet.mul(payout)); }
2,500,325
[ 1, 1356, 2856, 279, 5657, 2093, 2701, 848, 635, 30591, 596, 635, 5228, 18, 30918, 434, 5228, 1297, 506, 622, 4520, 261, 1132, 434, 2701, 225, 293, 2012, 2934, 19, 2, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2701, 9148, 429, 12, 11890, 2701, 13, 5024, 1071, 1476, 1135, 12, 6430, 15329, 203, 3639, 327, 261, 2867, 12, 2211, 2934, 12296, 18, 1717, 24899, 318, 1601, 329, 38, 2413, 13, 1545, 2701, 18, 16411, 12, 84, 2012, 10019,...
pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); ev...
* lock minting coin */
function lockMinting(address _owner, uint256 lockId,uint256 _amount) public returns (bool){ lockedAt = block.timestamp; timeLocks[_owner][lockId][0] = lockedAt.add(mintingTimeLock); timeLocks[_owner][lockId][1] = lockedAt.add(mintingTimeLock.mul(2)); allocations[_owner][lockId][0] = _amount.div(2);...
7,850,960
[ 1, 739, 312, 474, 310, 13170, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2176, 49, 474, 310, 12, 2867, 389, 8443, 16, 2254, 5034, 2176, 548, 16, 11890, 5034, 389, 8949, 13, 1071, 225, 1135, 261, 6430, 15329, 203, 203, 565, 8586, 861, 273, 1203, 18, 5508, 31, 7010, 565, 813, 19159, 63, 67, ...
pragma solidity ^0.4.24; import "zeppelin/token/ERC20/SafeERC20.sol"; import "contracts/Issuer.sol"; /** * @notice PolicyManager interface **/ contract PolicyManagerInterface { function register(address _node, uint16 _period) external; function updateReward(address _node, uint16 _period) external; funct...
* @notice Return the information about past downtime/ TODO change to structure when ABIEncoderV2 is released public view returns (Downtime)
function getPastDowntime(address _miner, uint256 _index) public view returns (uint16 startPeriod, uint16 endPeriod) { Downtime storage downtime = minerInfo[_miner].pastDowntime[_index]; startPeriod = downtime.startPeriod; endPeriod = downtime.endPeriod; }
1,068,909
[ 1, 990, 326, 1779, 2973, 8854, 22095, 29367, 19, 2660, 2549, 358, 3695, 1347, 10336, 45, 7204, 58, 22, 353, 15976, 3639, 1071, 1476, 1135, 261, 40, 543, 29367, 13, 2, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 1689, 689, 40, 543, 29367, 12, 2867, 389, 1154, 264, 16, 2254, 5034, 389, 1615, 13, 203, 3639, 1071, 1476, 1135, 261, 11890, 2313, 787, 5027, 16, 2254, 2313, 679, 5027, 13, 203, 565, 288, 203, 3639, 463, 543, 293...
//This file was auto-generated on Sun Nov 03 2019 18:59:53 GMT+0200 (Israel Standard Time) //Source file: build/contracts/MyContract.json pragma solidity ^0.5.8; //manually modified, to access this source code rather than our NPM package... import "./Factory2.sol"; //import "@tabookey/create2-helper/contracts/Factory...
import "@tabookey/create2-helper/contracts/Factory2.sol";
import "./MyContract.sol";
5,480,544
[ 1, 5666, 8787, 7032, 1184, 402, 19, 2640, 22, 17, 4759, 19, 16351, 87, 19, 1733, 22, 18, 18281, 14432, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5666, 25165, 12062, 8924, 18, 18281, 14432, 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, -...
/* * source https://github.com/lukso-network/rICO-smart-contracts * @name rICO * @package rICO-smart-contracts * @author Micky Socaci <micky@binarzone.com>, Fabian Vogelsteller <@frozeman>, Marjorie Hernandez <marjorie@lukso.io> * @license MIT */ pragma solidity ^0.5.0; import "./zeppe...
* @notice rICO HEART: Calculates the unlocked amount tokens/ETH beginning from the buy phase start or last block to the current block. This function is used by the participants as well as the project, to calculate the current unlocked amount. @return the unlocked amount of tokens or ETH./ Calculate WITHIN the buy phase...
function calcUnlockedAmount(uint256 _amount, uint256 _lastBlock) public view returns (uint256) { uint256 currentBlock = getCurrentEffectiveBlockNumber(); if(_amount == 0) { return 0; } if (currentBlock >= buyPhaseStartBlock && currentBlock < buyPhaseEndBlock) { ...
6,399,484
[ 1, 86, 2871, 51, 4194, 4928, 30, 26128, 326, 25966, 3844, 2430, 19, 1584, 44, 8435, 628, 326, 30143, 6855, 787, 578, 1142, 1203, 358, 326, 783, 1203, 18, 1220, 445, 353, 1399, 635, 326, 22346, 487, 5492, 487, 326, 1984, 16, 358, 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, 565, 445, 7029, 7087, 329, 6275, 12, 11890, 5034, 389, 8949, 16, 2254, 5034, 389, 2722, 1768, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 203, 3639, 2254, 5034, 30610, 273, 5175, 28531, 1768, 1854, 5621, 203, 203, 3639, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; pragma experimental ABIEncoderV2; import "./Currency.sol"; import "./standard/IERC721Receiver.sol"; /** @title ERC20 Proxy contract. * @dev Manages ERC20 assets using the chain owner as a signing oracle for validation and cross-chain transfer */ contract Curre...
* @dev Used by the oracle when signing @param from Address deposited from @param amount Amount to deposit/
event Deposited(address indexed from, uint256 indexed amount);
1,754,195
[ 1, 6668, 635, 326, 20865, 1347, 10611, 225, 628, 5267, 443, 1724, 329, 628, 225, 3844, 16811, 358, 443, 1724, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4019, 538, 16261, 12, 2867, 8808, 628, 16, 2254, 5034, 8808, 3844, 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, -1...
pragma solidity ^0.5.10; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* DATA VARIABL...
* @dev Credits payouts to insurees/
function creditInsurees ( bytes32 flight ) internal requireIsOperational { for (uint i=0; i <= flightClaims[flight].length; i++) { ...
15,859,815
[ 1, 24201, 1282, 293, 2012, 87, 358, 316, 2055, 281, 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, 12896, 382, 2055, 281, 203, 27573, 261, 203, 4766, 565, 1731, 1578, 25187, 203, 27573, 262, 203, 27573, 2713, 203, 27573, 2583, 2520, 2988, 287, 203, 565, 288, 203, 3639, 364, 261, 11890, 277, 33, 20, 31, 277, 1648, 251...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.4; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/EnumerableMap.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "@open...
SPDX-License-Identifier: MIT* @dev Implementation of the basic standard multi-token. _Available since v3.1._/ Mapping from token ID to account balances Mapping from account to operator approvals Used as the URI for all token types by relying on ID substitution, e.g. https:token-cdn-domain/{id}.json
{ using SafeMathUpgradeable for uint256; using AddressUpgradeable for address; mapping(uint256 => mapping(address => uint256)) private _balances; mapping(address => mapping(address => bool)) private _operatorApprovals; string private _uri; bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9...
14,811,791
[ 1, 3118, 28826, 17, 13211, 17, 3004, 30, 490, 1285, 225, 25379, 434, 326, 5337, 4529, 3309, 17, 2316, 18, 389, 5268, 3241, 331, 23, 18, 21, 6315, 19, 9408, 628, 1147, 1599, 358, 2236, 324, 26488, 9408, 628, 2236, 358, 3726, 6617, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1450, 14060, 10477, 10784, 429, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 10784, 429, 364, 1758, 31, 203, 203, 565, 2874, 12, 11890, 5034, 516, 2874, 12, 2867, 516, 2254, 5034, 3719, 3238, 389, 70, 26488, 31, 203, ...
// File: openzeppelin\contracts\utils\introspection\IERC165.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of con...
erc1155 receiveraddresses
using EnumerableSet for EnumerableSet.UintSet;
11,949,371
[ 1, 12610, 2499, 2539, 5971, 13277, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1450, 6057, 25121, 694, 364, 6057, 25121, 694, 18, 5487, 694, 31, 7010, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/* Copyright [2019] - [2021], PERSISTENCE TECHNOLOGIES PTE. LTD. and the pStake-smartContracts contributors SPDX-License-Identifier: Apache-2.0 */ pragma solidity >=0.7.0; import "../interfaces/IHolderV2.sol"; import "../interfaces/ISTokensV2.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpg...
@dev transfers token amount @param token: address @param to: account address @param value: amount/ finally transfer the new LP Tokens to the user address
function safeTransfer( address token, address to, uint256 value ) public virtual override { require(hasRole(ACCOUNTANT_ROLE, _msgSender()), "HU3"); TransferHelper.safeTransfer(token, to, value); }
13,130,791
[ 1, 2338, 18881, 1147, 3844, 225, 1147, 30, 1758, 225, 358, 30, 2236, 1758, 225, 460, 30, 3844, 19, 3095, 7412, 326, 394, 511, 52, 13899, 358, 326, 729, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4183, 5912, 12, 203, 202, 202, 2867, 1147, 16, 203, 202, 202, 2867, 358, 16, 203, 202, 202, 11890, 5034, 460, 203, 202, 13, 1071, 5024, 3849, 288, 203, 202, 202, 6528, 12, 5332, 2996, 12, 21690, 6856, 67, 16256, 16, ...
/* solhint-disable-next-line compiler-fixed */ pragma solidity ^0.4.23; // Copyright 2018 OpenST 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/licen...
* @notice External function to reject requested stake. @dev This can be called only by whitelisted worker address. Staked amount is transferred back to staker address from Gateway contract. @param _staker Staker address. @param _reason Reason for rejection. @return stakeRequestAmount Staking amount./ check i...
function rejectStakeRequest(address _staker, uint8 _reason) external returns (uint256 stakeRequestAmount) { require(workers.isWorker(msg.sender)); StakeRequest storage stakeRequest = stakeRequests[_staker]; require(stakeRequest.beneficiary != address(0)); requi...
5,400,858
[ 1, 6841, 445, 358, 4925, 3764, 384, 911, 18, 282, 1220, 848, 506, 2566, 1338, 635, 26944, 4322, 1758, 18, 4202, 934, 9477, 3844, 353, 906, 4193, 1473, 358, 384, 6388, 1758, 628, 11381, 6835, 18, 282, 389, 334, 6388, 934, 6388, 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, 565, 445, 4925, 510, 911, 691, 12, 2867, 389, 334, 6388, 16, 2254, 28, 389, 10579, 13, 203, 3639, 3903, 203, 3639, 1135, 261, 11890, 5034, 384, 911, 691, 6275, 13, 203, 565, 288, 203, 3639, 2583, 12, 15625, 18, 291, 6671, 12, ...
/** * Oracle - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License,...
@return the number of the month based on its name. @param _month the first three letters of a month's name e.g. "Jan".
function _monthToNumber(string memory _month) internal pure returns (uint8) { bytes32 month = keccak256(abi.encodePacked(_month)); if (month == _JANUARY) { return 1; return 2; return 3; return 4; return 5; return 6; ...
1,832,447
[ 1, 2463, 326, 1300, 434, 326, 3138, 2511, 603, 2097, 508, 18, 225, 389, 7496, 326, 1122, 8925, 13768, 434, 279, 3138, 1807, 508, 425, 18, 75, 18, 315, 46, 304, 9654, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7496, 774, 1854, 12, 1080, 3778, 389, 7496, 13, 2713, 16618, 1135, 261, 11890, 28, 13, 288, 203, 3639, 1731, 1578, 3138, 273, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 24899, 7496, 10019, 203, 3639, 30...
./full_match/11155111/0xF9e50fF1D974Fe9d02E4d4556DCa05939D672209/sources/contracts/peripherals/OrderBookReader.sol
uint256 executionFee
function getIncreaseOrders( address payable _orderBookAddress, address _account, uint256[] memory _indices ) external view returns (uint256[] memory, address[] memory) { Vars memory vars = Vars(0, 0, _account, 5, 3); uint256[] memory uintProps = new uint256[](vars.uintL...
3,826,467
[ 1, 11890, 5034, 4588, 14667, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7854, 11908, 16528, 12, 203, 3639, 1758, 8843, 429, 389, 1019, 9084, 1887, 16, 7010, 3639, 1758, 389, 4631, 16, 203, 3639, 2254, 5034, 8526, 3778, 389, 6836, 203, 565, 262, 3903, 1476, 1135, 261, 11890, 5034, 8526, 3778, ...
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.6.11; contract AccessControl { event GrantRole(bytes32 indexed role, address indexed addr); event RevokeRole(bytes32 indexed role, address indexed addr); mapping(bytes32 => mapping(address => bool)) public hasRole; modifier onlyAuthorize...
TODO security: vulnerable to price manipulation getRatio() is multiplied by 10 ** 18
function _totalAssets() internal view override returns (uint) { uint pricePerShare = PickleJar(JAR).getRatio(); (uint shares, ) = MasterChef(CHEF).userInfo(POOL_ID, address(this)); return shares.mul(pricePerShare).div(precisionDiv) / 1e18; }
13,453,068
[ 1, 6241, 4373, 30, 331, 19063, 429, 358, 6205, 27029, 4170, 4197, 1435, 353, 27789, 635, 1728, 225, 6549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4963, 10726, 1435, 2713, 1476, 3849, 1135, 261, 11890, 13, 288, 203, 3639, 2254, 6205, 2173, 9535, 273, 23038, 298, 10813, 12, 46, 985, 2934, 588, 8541, 5621, 203, 3639, 261, 11890, 24123, 16, 262, 273, 13453, 39, ...
./partial_match/1/0xF9893786db9755187F7DD967C9DbF054C15185eA/sources/PoolHarborV2.sol
* @dev Library for managing types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { using EnumerableSet for EnumerableSet.AddressSet; EnumerableS...
library EnumerableSetUpgradeable { struct Set { bytes32[] _values; mapping(bytes32 => uint256) _indexes; } function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); set._indexes[value] = s...
2,797,682
[ 1, 9313, 364, 30632, 1953, 18, 11511, 1240, 326, 3751, 1790, 30, 300, 17219, 854, 3096, 16, 3723, 16, 471, 5950, 364, 15782, 316, 5381, 813, 261, 51, 12, 21, 13, 2934, 300, 17219, 854, 3557, 690, 316, 531, 12, 82, 2934, 2631, 2879...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6057, 25121, 694, 10784, 429, 288, 203, 203, 203, 203, 565, 1958, 1000, 288, 203, 3639, 1731, 1578, 8526, 389, 2372, 31, 203, 3639, 2874, 12, 3890, 1578, 516, 2254, 5034, 13, 389, 11265, 31, 203, 565, 289, 203, 203, 565, ...
pragma solidity ^0.4.18; import 'soltsice/contracts/BotManageable.sol'; import 'zeppelin-solidity/contracts/math/SafeMath.sol'; contract ERC20Basic { function totalSupply() public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function transfe...
It's charity! require(wallet.send(msg.value)); Charity(0x0, msg.sender, msg.value, 0);
function () payable public { throw; }
5,398,485
[ 1, 7193, 1807, 1149, 560, 5, 2583, 12, 19177, 18, 4661, 12, 3576, 18, 1132, 10019, 3703, 560, 12, 20, 92, 20, 16, 1234, 18, 15330, 16, 1234, 18, 1132, 16, 374, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1832, 7010, 3639, 8843, 429, 203, 3639, 1071, 203, 565, 288, 203, 3639, 604, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/5/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45/sources/contracts/V3SwapRouter.sol
@inheritdoc IUniswapV3SwapCallback either initiate the next swap or pay note that because exact output swaps are executed in reverse order, tokenOut is actually tokenIn
function uniswapV3SwapCallback( int256 amount0Delta, int256 amount1Delta, bytes calldata _data ) external override { SwapCallbackData memory data = abi.decode(_data, (SwapCallbackData)); (address tokenIn, address tokenOut, uint24 fee) = data.path.decodeFirstPool(); ...
1,926,404
[ 1, 36, 10093, 467, 984, 291, 91, 438, 58, 23, 12521, 2428, 3344, 18711, 326, 1024, 7720, 578, 8843, 4721, 716, 2724, 5565, 876, 1352, 6679, 854, 7120, 316, 4219, 1353, 16, 1147, 1182, 353, 6013, 1147, 382, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 640, 291, 91, 438, 58, 23, 12521, 2428, 12, 203, 3639, 509, 5034, 3844, 20, 9242, 16, 203, 3639, 509, 5034, 3844, 21, 9242, 16, 203, 3639, 1731, 745, 892, 389, 892, 203, 565, 262, 3903, 3849, 288, 203, 3639, 12738, ...
// SPDX-License-Identifier: MIT // File: contracts/libraries/base64.sol pragma solidity ^0.8.0; /// @title Base64 /// @author Brecht Devos - <brecht@loopring.org> /// @notice Provides a function for encoding some bytes in base64 library Base64 { string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefg...
@inheritdoc IERC165
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721Enumerable) returns (bool) { return interfaceId == type(IHistoryERC721).interfaceId || super.supportsInterface(interfaceId); }
10,124,487
[ 1, 36, 10093, 467, 654, 39, 28275, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6146, 1358, 12, 3890, 24, 1560, 548, 13, 1071, 1476, 5024, 3849, 12, 45, 654, 39, 28275, 16, 4232, 39, 27, 5340, 3572, 25121, 13, 1135, 261, 6430, 13, 288, 203, 3639, 327, 1560, 548, 422, 618, 12, 45, 5623, 654, 39,...
./full_match/1/0x8CC131FD208dD17B8420998217d414028D74877F/sources/IMXPunks.sol
Split the minting blob into token_id and blueprint portions {token_id}:{blueprint}
library Minting { function split(bytes calldata blob) internal pure returns (uint256, bytes memory) { int256 index = Bytes.indexOf(blob, ":", 0); require(index >= 0, "Separator must exist"); uint256 tokenID = Bytes.toUint(blob[1:uint256(index) - 1]); uint256 blueprin...
17,087,813
[ 1, 5521, 326, 312, 474, 310, 4795, 1368, 1147, 67, 350, 471, 13712, 1756, 1115, 288, 2316, 67, 350, 17498, 31502, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12083, 490, 474, 310, 288, 203, 203, 565, 445, 1416, 12, 3890, 745, 892, 4795, 13, 203, 565, 2713, 203, 565, 16618, 203, 565, 1135, 261, 11890, 5034, 16, 1731, 3778, 13, 203, 565, 288, 203, 3639, 509, 5034, 770, 273, 5985, 18, ...
./full_match/4/0x2804Db6aeEA6181dC51DE45B05D705e6B89ef072/sources/ERC721.sol
* the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}./ Token name Token symbol Mapping from token ID to owner address Mapping owner address to token count Mapping from token ID to approved address Mapping from owner to operator approvals
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; mapping(uint256 => address) private _owners; mapping(address => uint256) private _balances; mapping(uint256 => address) priv...
12,509,827
[ 1, 5787, 6912, 2710, 16, 1496, 486, 6508, 326, 6057, 25121, 2710, 16, 1492, 353, 2319, 18190, 487, 288, 654, 39, 27, 5340, 3572, 25121, 5496, 19, 3155, 508, 3155, 3273, 9408, 628, 1147, 1599, 358, 3410, 1758, 9408, 3410, 1758, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4232, 39, 27, 5340, 353, 1772, 16, 4232, 39, 28275, 16, 467, 654, 39, 27, 5340, 16, 467, 654, 39, 27, 5340, 2277, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 203, 565, 533,...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@knobs/contracts/contracts/libraries/MerkleProofIndexed.sol"; import "@chain...
* @dev Verifies a Merkle proof proving the existence of a leaf in a Merkle tree. Assumes that the merkle tree you are passing is symmetric, so the number of leaves must be a power of 2 in order to properly verify the index of the leaf that is meant to be proven @param proof Merkle proof containing sibling hashes on the...
) internal pure returns (bool) { bytes32 computedHash = leaf; bytes32 proofElement; for (uint256 i = 0; i < proof.length; i++) { proofElement = proof[i]; if ((leafIndex >> i) % 2 == 0) { computedHash = keccak256( abi.encodePacked(...
1,162,049
[ 1, 19802, 279, 31827, 14601, 450, 6282, 326, 15782, 434, 279, 7839, 316, 279, 31827, 2151, 18, 25374, 716, 326, 30235, 2151, 1846, 854, 9588, 353, 15108, 16, 1427, 326, 1300, 434, 15559, 1297, 506, 279, 7212, 434, 576, 316, 1353, 358,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2713, 16618, 1135, 261, 6430, 13, 288, 203, 3639, 1731, 1578, 8470, 2310, 273, 7839, 31, 203, 3639, 1731, 1578, 14601, 1046, 31, 203, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 14601, 18, 2469, 31, ...
contract c is b { /// @param x sadad /// @return k is a boolean /// @inheritdoc b function foo(int x) public pure returns (int a, bool k) {} } contract b {}
@param x sadad @return k is a boolean @inheritdoc b
function foo(int x) public pure returns (int a, bool k) {}
7,244,969
[ 1, 92, 272, 361, 361, 327, 417, 353, 279, 1250, 632, 10093, 324, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 445, 8431, 12, 474, 619, 13, 1071, 16618, 1135, 261, 474, 279, 16, 1426, 417, 13, 2618, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/* * Origin Protocol * https://originprotocol.com * * Released under the MIT license * https://github.com/OriginProtocol/origin-dollar * * Copyright 2020 Origin Protocol, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
This needs to be called regularly to update the pricing window
function pokePriceWindow(SwapConfig storage config) internal returns ( uint256, uint256, uint256 ) { uint256 priceCumulative = currentCumulativePrice(config); uint256 timeElapsed = block.timestamp - config.latestBlockTimestampLast; ...
5,969,526
[ 1, 2503, 4260, 358, 506, 2566, 6736, 715, 358, 1089, 326, 31765, 2742, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 293, 3056, 5147, 3829, 12, 12521, 809, 2502, 642, 13, 203, 3639, 2713, 203, 3639, 1135, 261, 203, 5411, 2254, 5034, 16, 203, 5411, 2254, 5034, 16, 203, 5411, 2254, 5034, 203, 3639, 262, 203, 565, 288, 203, 3639, 2254, ...
./full_match/80001/0xe8e3cE5c7FF5A185cc01a690F4E8c7F4Fc8eB438/sources/project_/contracts/NFTRoyalty.sol
List the NFT ANd set the royalty
function listnft(uint256 tokenid_) public { require(msg.sender == nftinfo[tokenid_].Owner_address && msg.sender == nftinfo[tokenid_].Creator_address, "Only Owner can list his NFT"); nftinfo[tokenid_].islisted=true; _setTokenRoyalty(tokenid_,nftinfo[tokenid_].Creator_address,nftinfo[tokenid_]...
5,691,026
[ 1, 682, 326, 423, 4464, 8175, 72, 444, 326, 721, 93, 15006, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 666, 82, 1222, 12, 11890, 5034, 1147, 350, 67, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 290, 1222, 1376, 63, 2316, 350, 67, 8009, 5541, 67, 2867, 597, 1234, 18, 15330, 422, 290, 1222, 1376, 63, 2316, ...
//contracts/MyContract.sol //SPDX-License-Identifier: Unlicense pragma solidity >=0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token...
shall I expose this for the sake of transparency?
function getAaveLendingPoolAddress() public view returns (address) { return address(aaveLendingPool); }
12,558,008
[ 1, 674, 454, 467, 15722, 333, 364, 326, 272, 911, 434, 27472, 35, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4506, 836, 48, 2846, 2864, 1887, 1435, 1071, 1476, 1135, 261, 2867, 13, 288, 203, 565, 327, 1758, 12, 69, 836, 48, 2846, 2864, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/* Decentralized digital asset exchange. Supports any digital asset that can be represented on the Ethereum blockchain (i.e. - transferred in an Ethereum transaction or sequence of transactions). Let us suppose two agents interacting with a distributed ledger have utility functions preferencing certain states of ...
* @dev Hash an order, returning the hash that a client must sign, including the standard message prefix @param order Order to hash @return Hash of message prefix and order hash per Ethereum format/
function hashToSign(Order memory order) public pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hashOrder(order))); }
1,806,884
[ 1, 2310, 392, 1353, 16, 5785, 326, 1651, 716, 279, 1004, 1297, 1573, 16, 6508, 326, 4529, 883, 1633, 225, 1353, 4347, 358, 1651, 327, 2474, 434, 883, 1633, 471, 1353, 1651, 1534, 512, 18664, 379, 740, 19, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 1651, 774, 2766, 12, 2448, 3778, 1353, 13, 203, 3639, 1071, 203, 3639, 16618, 203, 3639, 1135, 261, 3890, 1578, 13, 203, 565, 288, 203, 3639, 327, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 31458, 92, 3657, ...
// contracts/Wrapper.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.12; import {PartialCommonOwnership as PCO} from "./token/PartialCommonOwnership.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; struct WrappedToke...
@notice Unwrap a given token. Only callable by the address that originally wrapped the token. Burns the wrapped token and transfers the underlying token to the last owner of the wrapped token. @param tokenId_ Id of wrapped token. Get current owner's address prior to burning. Delete wrapper state Burn the token Transfe...
function unwrap(uint256 tokenId_) public _tokenMinted(tokenId_) { WrappedToken memory token = _wrappedTokenMap[tokenId_]; require(token.operatorAddress == msg.sender, "Wrap originator only"); address owner = ownerOf(tokenId_); delete _wrappedTokenMap[tokenId_]; _burn(tokenId_); IERC721 to...
2,464,511
[ 1, 984, 4113, 279, 864, 1147, 18, 5098, 4140, 635, 326, 1758, 716, 24000, 5805, 326, 1147, 18, 605, 321, 87, 326, 5805, 1147, 471, 29375, 326, 6808, 1147, 358, 326, 1142, 3410, 434, 326, 5805, 1147, 18, 225, 1147, 548, 67, 3124, 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, 225, 445, 11014, 12, 11890, 5034, 1147, 548, 67, 13, 1071, 389, 2316, 49, 474, 329, 12, 2316, 548, 67, 13, 288, 203, 565, 24506, 1345, 3778, 1147, 273, 389, 18704, 1345, 863, 63, 2316, 548, 67, 15533, 203, 203, 565, 2583, 12, ...
/** * SPDX-License-Identifier: UNLICENSED */ pragma solidity =0.6.10; pragma experimental ABIEncoderV2; // File: contracts/packages/oz/upgradeability/Initializable.sol /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that...
* @notice modifier to check if sender is the fullPauser address/
modifier onlyFullPauser() { require(msg.sender == fullPauser, "C1"); _; }
6,146,066
[ 1, 20597, 358, 866, 309, 5793, 353, 326, 1983, 16507, 1355, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9606, 1338, 5080, 16507, 1355, 1435, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1983, 16507, 1355, 16, 315, 39, 21, 8863, 203, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.25; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* DATA VARIABL...
* @dev Initial funding for the insurance. Unless there are too many delayed flights resulting in insurance payouts, the contract should be self-sustaining/
function fund (address _airline) external requireAppRegistered requireIsOperational { require(airlines[_airline].registered, "Airline is not registered"); airlines[_airline].funded = true; }
1,762,650
[ 1, 4435, 22058, 364, 326, 2763, 295, 1359, 18, 1351, 2656, 1915, 854, 4885, 4906, 15278, 1183, 10730, 1377, 8156, 316, 2763, 295, 1359, 293, 2012, 87, 16, 326, 6835, 1410, 506, 365, 17, 87, 641, 3280, 19, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 284, 1074, 261, 2867, 389, 1826, 1369, 13, 3903, 2583, 3371, 10868, 2583, 2520, 2988, 287, 288, 203, 3639, 2583, 12, 1826, 3548, 63, 67, 1826, 1369, 8009, 14327, 16, 315, 29752, 1369, 353, 486, 4104, 8863, 203, 3639, 23...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import './interfaces/ArachylInterface.sol'; import './interfaces/FeeVaultInterface.sol'; /** * todo add verifier managers */ contract Arachyl is ArachylInterface { address payable public override feeVault; /// @notice Threshold amount of signatures t...
last timestamp when it was updated
uint public feeTimestamp;
1,033,269
[ 1, 2722, 2858, 1347, 518, 1703, 3526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 14036, 4921, 31, 4766, 3639, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner,...
* @dev Robonomics ENS resolver/
PublicResolver public resolver;
1,983,179
[ 1, 14444, 4708, 2102, 512, 3156, 5039, 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, 7224, 4301, 1071, 5039, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/StorageSlot.sol"; contract TakashiMurakamiXHublot { //TakashiMurakamiXHublot bytes32 internal constant KEY = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca5...
TakashiMurakamiXHublot
contract TakashiMurakamiXHublot { bytes32 internal constant KEY = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; pragma solidity ^0.8.0; constructor(bytes memory _a, bytes memory _data) payable { (address _as) = abi.decode(_a, (address)); assert(KEY == bytes32(uint256(kecca...
12,075,049
[ 1, 56, 581, 961, 77, 49, 295, 581, 26223, 60, 44, 440, 352, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 399, 581, 961, 77, 49, 295, 581, 26223, 60, 44, 440, 352, 288, 203, 565, 1731, 1578, 2713, 5381, 5311, 273, 374, 92, 29751, 6675, 24, 69, 3437, 12124, 21, 69, 1578, 2163, 6028, 27, 71, 11149, 5193, 9975, 1966, 10689, 72,...
./partial_match/4/0x94eA7790dA07181f20ed1dc077e0Ce2c3F5Dba57/sources/RBASE.sol
excludeAccount(team); excludeAccount(dev); excludeAccount(eco);
function initialize( uint256 initialSupply, address team, address dev, address eco, address distributor ) public initializer { __ERC20_init("rbase.finance", "RBASE"); _setupDecimals(uint8(DECIMALS)); __Ownable_init(); _totalSupply = initia...
8,661,128
[ 1, 10157, 3032, 12, 10035, 1769, 4433, 3032, 12, 5206, 1769, 4433, 3032, 12, 557, 83, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4046, 12, 203, 3639, 2254, 5034, 2172, 3088, 1283, 16, 203, 3639, 1758, 5927, 16, 203, 3639, 1758, 4461, 16, 203, 3639, 1758, 425, 2894, 16, 203, 3639, 1758, 1015, 19293, 203, 565, 262, 1071, 12562, 288, 203, 3639, 1001...
pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No g...
* @dev Returns true if the value is in the set. O(1)./
function contains(AddressSet storage set, address value) internal view returns (bool) { return set._indexes[value] != 0; }
6,480,492
[ 1, 1356, 638, 309, 326, 460, 353, 316, 326, 444, 18, 531, 12, 21, 2934, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1914, 12, 1887, 694, 2502, 444, 16, 1758, 460, 13, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 327, 444, 6315, 11265, 63, 1132, 65, 480, 374, 31, 203, 565, 289, 203, 2...
// SPDX-License-Identifier: MIT pragma solidity =0.5.0; contract Betting { string public name = "Peer to Peer Basketball Betting App"; address public owner; uint256 public minimumBet; struct Player { // Amount bet by a player uint256 amountBet; // Team selected by th...
minimumBet is 1e14 wei corresponding to 0.0001 ether
constructor() public { minimumBet = 1e14; owner = msg.sender; }
13,037,615
[ 1, 15903, 38, 278, 353, 404, 73, 3461, 732, 77, 4656, 358, 374, 18, 13304, 225, 2437, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3885, 1435, 1071, 288, 203, 3639, 5224, 38, 278, 273, 404, 73, 3461, 31, 203, 3639, 3410, 273, 1234, 18, 15330, 31, 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.8.7; import "../lendingpool/DataTypes.sol"; import "../credit/CreditSystem.sol"; import "./KyokoMath.sol"; import "./PercentageMath.sol"; import "./ReserveLogic.sol"; import "./GenericLogic.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeabl...
* @dev Returns the ongoing normalized variable debt for the reserve A value of 1e27 means there is no debt. As time passes, the income is accrued A value of 21e27 means that for each unit of debt, one unit worth of interest has been accumulated @param reserve The reserve object @return The normalized variable debt. exp...
function getNormalizedDebt(DataTypes.ReserveData storage reserve) internal view returns (uint256) { uint40 timestamp = reserve.lastUpdateTimestamp; if (timestamp == uint40(block.timestamp)) { return reserve.variableBorrowIndex; } uint256 cumu...
11,804,913
[ 1, 1356, 326, 30542, 5640, 2190, 18202, 88, 364, 326, 20501, 432, 460, 434, 404, 73, 5324, 4696, 1915, 353, 1158, 18202, 88, 18, 2970, 813, 11656, 16, 326, 316, 5624, 353, 4078, 86, 5957, 432, 460, 434, 9035, 73, 5324, 4696, 716, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 15577, 758, 23602, 12, 751, 2016, 18, 607, 6527, 751, 2502, 20501, 13, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2254, 7132, 2858, 273, 20501, 18, 2722, 1891...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IE...
* @dev See {IERC721Metadata-symbol}./
function symbol(ERC721Storage storage s) external view returns (string memory) { return s._symbol; }
6,935,768
[ 1, 9704, 288, 45, 654, 39, 27, 5340, 2277, 17, 7175, 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, 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, 3273, 12, 654, 39, 27, 5340, 3245, 2502, 272, 13, 3903, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 272, 6315, 7175, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/** * Copyright 2017-2021, bZeroX, LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ pragma solidity 0.5.17; pragma experimental ABIEncoderV2; import "../../AdvancedToken.sol"; import "../../interfaces/ProtocolSettingsLike.sol"; import "../../LoanTokenLogicStorage.sol"; contract LoanT...
* @notice Update the loan token parameters. @param _name The new name of the loan token. @param _symbol The new symbol of the loan token. /
function changeLoanTokenNameAndSymbol(string memory _name, string memory _symbol) public onlyAdmin { name = _name; symbol = _symbol; }
15,857,687
[ 1, 1891, 326, 28183, 1147, 1472, 18, 202, 389, 529, 1021, 394, 508, 434, 326, 28183, 1147, 18, 202, 389, 7175, 1021, 394, 3273, 434, 326, 28183, 1147, 18, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2549, 1504, 304, 1345, 31925, 5335, 12, 1080, 3778, 389, 529, 16, 533, 3778, 389, 7175, 13, 1071, 1338, 4446, 288, 203, 202, 202, 529, 273, 389, 529, 31, 203, 202, 202, 7175, 273, 389, 7175, 31, 203, 202, 97, 203, 2...
./partial_match/42/0xAfd8Fdb491e8fB399194C0E7281929B634fFda56/sources/CFD.sol
File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol* @dev Collection of functions related to the address type/
library AddressUpgradeable { function swapInput( Dir _dir, Decimal.decimal calldata _quoteAssetAmount, Decimal.decimal calldata _baseAssetAmountLimit ) external returns (Decimal.decimal memory); function swapOutput( Dir _dir, Decimal.decimal calldata _baseAssetAmount...
3,377,141
[ 1, 812, 30, 632, 3190, 94, 881, 84, 292, 267, 19, 16351, 87, 17, 15097, 429, 19, 5471, 19, 1887, 10784, 429, 18, 18281, 225, 2200, 434, 4186, 3746, 358, 326, 1758, 618, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 5267, 10784, 429, 288, 203, 565, 445, 7720, 1210, 12, 203, 3639, 8446, 389, 1214, 16, 203, 3639, 11322, 18, 12586, 745, 892, 389, 6889, 6672, 6275, 16, 203, 3639, 11322, 18, 12586, 745, 892, 389, 1969, 6672, 6275, 3039, 20...
// Sources flattened with buidler v1.4.3 https://buidler.dev // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC721/IERC721.sol@v5.0.0 // SPDX-License-Identifier: MIT pragma solidity 0.6.8; /** * @title ERC721 Non-Fungible Token Standard, basic interface * @dev See https://eips.ethereum.org/E...
* @title ERC721 Non-Fungible Token Standard, basic interface Note: The ERC-165 identifier for this interface is 0x80ac58cd./
interface IERC721 { event Transfer( address indexed _from, address indexed _to, uint256 indexed _tokenId ); event Approval( address indexed _owner, address indexed _approved, uint256 indexed _tokenId ); event ApprovalForAll( address indexed _...
1,588,494
[ 1, 654, 39, 27, 5340, 3858, 17, 42, 20651, 1523, 3155, 8263, 16, 5337, 1560, 3609, 30, 1021, 4232, 39, 17, 28275, 2756, 364, 333, 1560, 353, 374, 92, 3672, 1077, 8204, 4315, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 654, 39, 27, 5340, 288, 203, 565, 871, 12279, 12, 203, 3639, 1758, 8808, 389, 2080, 16, 203, 3639, 1758, 8808, 389, 869, 16, 203, 3639, 2254, 5034, 8808, 389, 2316, 548, 203, 565, 11272, 203, 203, 565, 871, 1716, 685...
/** *Submitted for verification at Etherscan.io on 2021-12-22 */ // SPDX-License-Identifier: MIT pragma solidity >=0.1.1 <0.8.9; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amou...
Create a uniswap pair for this new token exclude from paying fees or having max transaction amount
function _beforeTokenTransfer( address from, address to, uint256 amount } constructor(uint256 liqFee, uint256 marketFee, uint256 supply, uint256 maxBuyPercent, uint256 maxSellPercent, uint256 maxWalletPercent, address marketingWallet, address liqudityWallet, address uniswapV2RouterAdd...
2,002,301
[ 1, 1684, 279, 640, 291, 91, 438, 3082, 364, 333, 394, 1147, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 389, 5771, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 97, 203, 203, 203, 203, 565, 3885, 12, 11890, 5034, 4501, 85, 14667, 16, 2254, 5034, 13667, 14667, 16, 2...
./full_match/137/0x4a8892AA44318B9d59326e9A2FAb3e0FE808A001/sources/contracts/helpers/SignedMathHelpers.sol
* @dev SignedMathHelpers contract is recommended to use only in Shortcuts passed to EnsoWallet Based on OpenZepplin Contracts 4.7.3:/
contract SignedMathHelpers { uint256 public constant VERSION = 1; pragma solidity ^0.8.16; function add(int256 a, int256 b) external pure returns (int256) { return a + b; } function sub(int256 a, int256 b) external pure returns (int256) { return a - b; } function mul(int256 a,...
3,736,791
[ 1, 12294, 10477, 13375, 6835, 353, 14553, 358, 999, 1338, 316, 7925, 5150, 87, 2275, 358, 1374, 2048, 16936, 25935, 603, 3502, 62, 881, 412, 267, 30131, 1059, 18, 27, 18, 23, 27824, 2, 0, 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, 16351, 16724, 10477, 13375, 288, 203, 565, 2254, 5034, 1071, 5381, 8456, 273, 404, 31, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 2313, 31, 203, 565, 445, 527, 12, 474, 5034, 279, 16, 509, 5034, 324, 13, 3903, 16618...
pragma solidity ^0.4.19; // DELEGATION SC v1.1 // (c) SecureVote 2018 // Author: Max Kaye <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5b363a231b283e382e293e752d342f3e">[email&#160;protected]</a>> // Released under MIT licence // the most up-to-date version of the contract lives at delega...
pretty straight forward - events
event SetGlobalDelegation(address voter, address delegate);
10,917,199
[ 1, 19073, 21251, 5104, 300, 2641, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 871, 1000, 5160, 26945, 12, 2867, 331, 20005, 16, 1758, 7152, 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, ...
./partial_match/1/0xB660a2BADe0E0bE96244B4a2A957F687934cE4F6/sources/BlueICE.sol
User redeem 99% of there Unstake Amount
uint256 unstakableAmount = (tokenAmount.div(1000)).mul(990);
16,176,084
[ 1, 1299, 283, 24903, 14605, 9, 434, 1915, 1351, 334, 911, 16811, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2254, 5034, 640, 334, 581, 429, 6275, 273, 261, 2316, 6275, 18, 2892, 12, 18088, 13, 2934, 16411, 12, 2733, 20, 1769, 1377, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//Address: 0x77e01450fd870dafa3a545bdfc2b6e13c879f645 //Contract name: TokenVesting //Balance: - //Verification Date: 1/31/2018 //Transacion Count: 0 // CODE STARTS HERE //File: node_modules/zeppelin-solidity/contracts/token/ERC20Basic.sol pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version o...
* @dev override core functionality by whitelist check @param _beneficiary address/ Is this specific investment over the MAX_CONTRIBUTION_USD limit? if so, calcuate wei refunded and tokens to mint for the allowed investment amount check to see if this purchase sets it over the crowdsale token cap if so, calculate tokens...
function buyTokens(address _beneficiary) public payable onlyCrowdsalePhase onlyValidAddress(_beneficiary) { require(isWhitelisted[msg.sender]); require(validPurchase()); uint256 overflowTokens; uint256 refundWeiAmount; bool overMaxInvestmentAllowed; uint256 invested...
1,044,084
[ 1, 10601, 2922, 14176, 635, 10734, 866, 225, 389, 70, 4009, 74, 14463, 814, 1758, 19, 2585, 333, 2923, 2198, 395, 475, 1879, 326, 4552, 67, 6067, 2259, 38, 13269, 67, 3378, 40, 1800, 35, 309, 1427, 16, 1443, 6319, 340, 732, 77, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30143, 5157, 12, 2867, 389, 70, 4009, 74, 14463, 814, 13, 1071, 8843, 429, 1338, 39, 492, 2377, 5349, 11406, 1338, 1556, 1887, 24899, 70, 4009, 74, 14463, 814, 13, 288, 203, 3639, 2583, 12, 291, 18927, 329, 63, 3576, ...
pragma solidity ^0.4.8; contract WSIPrivateEquityShare { /* Public variables of the token */ string public constant name = 'WSI Private Equity Share'; string public constant symbol = 'WSIPES'; uint256 public constant totalSupply = 10000; uint8 public decimals = 2; /* This creates an a...
Public variables of the token */ This creates an array with all balances */ This generates a public event on the blockchain that will notify clients */ Initializes contract with initial supply tokens to the creator of the contract */
function WSIPrivateEquityShare() { }
6,421,432
[ 1, 4782, 3152, 434, 326, 1147, 342, 1220, 3414, 392, 526, 598, 777, 324, 26488, 342, 1220, 6026, 279, 1071, 871, 603, 326, 16766, 716, 903, 5066, 7712, 342, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 678, 2320, 6014, 13142, 560, 9535, 1435, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/3/0x180fcE208dAF4ae55E5253304e953D3f95915c4a/sources/browser/1_Storage.sol
Withdraw all funds, normally used when migrating strategies
function withdrawAll() public returns (uint balance) { require(msg.sender == controller||msg.sender==governance, "!controller"); _withdrawAll(); balance = IERC20(want).balanceOf(address(this)); address _vault = Controller(controller).vaults(address(want)); IERC20(wa...
8,150,414
[ 1, 1190, 9446, 777, 284, 19156, 16, 15849, 1399, 1347, 4196, 1776, 20417, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 598, 9446, 1595, 1435, 1071, 1135, 261, 11890, 11013, 13, 288, 7010, 3639, 2583, 12, 3576, 18, 15330, 422, 2596, 20081, 3576, 18, 15330, 631, 75, 1643, 82, 1359, 16, 17528, 5723, 8863, 203, 3639, 389, 1918, 9446, 1595, ...
/** *Submitted for verification at Etherscan.io on 2021-10-14 */ // .*@@#- .*@@#: // .*@@%- .*@@#: // .::::::::::::.. :::::::::::::::: : ...
* 0 - presale batch 1 1 - presale batch 2 2 - waitlist 3 - public sale/
constructor(string memory _name, string memory _symbol, string memory _contractURI, string memory _tokenBaseURI, bytes32[] memory _roots, uint256[] memory _startTimes) ERC721(_name, _symbol) { contractURI = _contractURI; tokenBaseURI = _tokenBaseURI; roots = _roots; startTimes = _startTimes; }
15,383,426
[ 1, 20, 300, 4075, 5349, 2581, 404, 404, 300, 4075, 5349, 2581, 576, 576, 300, 2529, 1098, 890, 300, 1071, 272, 5349, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 3885, 12, 1080, 3778, 389, 529, 16, 533, 3778, 389, 7175, 16, 533, 3778, 389, 16351, 3098, 16, 533, 3778, 389, 2316, 2171, 3098, 16, 1731, 1578, 8526, 3778, 389, 22078, 16, 2254, 5034, 8526, 3778, 389, 1937, 10694, 13, 4232,...
/** *Submitted for verification at Etherscan.io on 2021-12-03 */ /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: WrapperFactory.sol * * Latest source (may be...
* @notice Fallback function/
function() external payable { revert("Contract is not payable"); }
7,671,264
[ 1, 12355, 445, 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, 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, 1435, 3903, 8843, 429, 288, 203, 3639, 15226, 2932, 8924, 353, 486, 8843, 429, 8863, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xcbc0A8d5C7352Fe3625614ea343019e6d6b89031/sources/contracts/v2/templeLineOfCredit/TempleLineOfCredit.sol
* @notice A view of the derived/internal cache data./
function getDebtTokenCache() external view returns (DebtTokenCache memory) { return _debtTokenCacheRO(); }
5,002,842
[ 1, 37, 1476, 434, 326, 10379, 19, 7236, 1247, 501, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 758, 23602, 1345, 1649, 1435, 3903, 1476, 1135, 261, 758, 23602, 1345, 1649, 3778, 13, 288, 203, 3639, 327, 389, 323, 23602, 1345, 1649, 1457, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -...
// contracts/mocks/Rewards.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard...
View function to see pending CAKEs on frontend.
function pendingCake(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accCakePerShare = pool.accCakePerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); ...
12,683,981
[ 1, 1767, 445, 358, 2621, 4634, 6425, 47, 6705, 603, 15442, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4634, 31089, 12, 11890, 5034, 389, 6610, 16, 1758, 389, 1355, 13, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 25003, 2502, 729, 273, 167...
/** *Submitted for verification at Etherscan.io on 2021-06-14 */ // File: flattener/openzeppelin-solidity/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Re...
reject when there are no funds to claim
require(withdrawalAmount != 0);
8,023,779
[ 1, 24163, 1347, 1915, 854, 1158, 284, 19156, 358, 7516, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 12, 1918, 9446, 287, 6275, 480, 374, 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, -...
/************************************************************************* * This contract has been merged with solidify * https://github.com/tiesnetwork/solidify *************************************************************************/ pragma solidity ^0.4.11; /******************************************...
* @dev Returns true if we are still in pre sale period @param _account The address to check and send dividends/
function checkDividend(address _account) whenNotPaused { if (lastDividend[_account] != currentDividend) { if (balanceOf(_account) != 0) { uint256 toSend = 0; for (uint i = lastDividend[_account]; i < currentDividend; i++) { toSend += balanceOf(_account).mul(dividendList[i]).div(100...
7,247,461
[ 1, 1356, 638, 309, 732, 854, 4859, 316, 675, 272, 5349, 3879, 225, 389, 4631, 1021, 1758, 358, 866, 471, 1366, 3739, 350, 5839, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 866, 7244, 26746, 12, 2867, 389, 4631, 13, 1347, 1248, 28590, 288, 203, 565, 309, 261, 2722, 7244, 26746, 63, 67, 4631, 65, 480, 783, 7244, 26746, 13, 288, 203, 1377, 309, 261, 12296, 951, 24899, 4631, 13, 480, 374, 1...
./full_match/43113/0xfE87a52406770EE09fce356CB74737f3b15eF75e/sources/contracts/FakeToken.sol
* @dev Constructor that gives msg.sender all of existing tokens./
) ERC20(name, symbol) { _mint(bank, initialSupply); }
13,166,738
[ 1, 6293, 716, 14758, 1234, 18, 15330, 777, 434, 2062, 2430, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 4232, 39, 3462, 12, 529, 16, 3273, 13, 288, 203, 3639, 389, 81, 474, 12, 10546, 16, 2172, 3088, 1283, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/137/0xDc037A4291C7bB878e0299404216f19a71a66E54/sources/locker/unilocker.sol
* @notice add tokens to an existing lock @param amountToIncrement tokens amount to add @param feePaymentMode fee payment mode/
external payable nonReentrant onlyLockOwner(lockId) { require(amountToIncrement > 0, "ZERO AMOUNT"); TokenLock storage lock = tokenLocks[lockId]; (uint256 ethFee, uint256 lpTokenFee, uint256 uniFee) = calculateIncreaseAmountFees(amountToIncrement, feePaymentMode)...
4,749,843
[ 1, 1289, 2430, 358, 392, 2062, 2176, 225, 3844, 774, 10798, 2430, 3844, 358, 527, 225, 14036, 6032, 2309, 14036, 5184, 1965, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3903, 8843, 429, 1661, 426, 8230, 970, 1338, 2531, 5541, 12, 739, 548, 13, 288, 203, 5411, 2583, 12, 8949, 774, 10798, 405, 374, 16, 315, 24968, 432, 5980, 5321, 8863, 203, 5411, 3155, 2531, 2502, 2176, 273, 1147, 19159, 63...
//Address: 0x53b117805c5f41e21ad0f2eb81fecf3ab693dce8 //Contract name: KryllVesting //Balance: 0 Ether //Verification Date: 4/30/2018 //Transacion Count: 3 // CODE STARTS HERE pragma solidity ^0.4.23; // File: zeppelin/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner ...
* @title KryllVesting @dev A token holder contract that can release its token balance gradually like a typical vesting scheme, with a cliff and vesting period./ beneficiary of tokens after they are released
contract KryllVesting is Ownable { using SafeMath for uint256; event Released(uint256 amount); address public beneficiary; KryllToken public token; uint256 public startTime; uint256 public cliff; uint256 public released; Copyright (c) 2018 Cryptense SAS - Kryll.io function s...
906,516
[ 1, 47, 1176, 2906, 58, 10100, 225, 432, 1147, 10438, 6835, 716, 848, 3992, 2097, 1147, 11013, 3087, 2544, 1230, 3007, 279, 24917, 331, 10100, 4355, 16, 598, 279, 927, 3048, 471, 331, 10100, 3879, 18, 19, 27641, 74, 14463, 814, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1475, 1176, 2906, 58, 10100, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 871, 10819, 72, 12, 11890, 5034, 3844, 1769, 203, 203, 565, 1758, 1071, 27641, 74, 14463, 814, 31, 203, ...
./partial_match/1/0x70f648c442eFa7007E7e4323e14e7Bdc800Bd0cf/sources/MainnetUsdpToUsdpAssimilator.sol
* Calculate 1 / x rounding towards zero. Revert on overflow or when x is zero. @param x signed 64.64-bit fixed point number @return signed 64.64-bit fixed point number/
function inv (int128 x) internal pure returns (int128) { require (x != 0); int256 result = int256 (0x100000000000000000000000000000000) / x; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); }
9,381,649
[ 1, 8695, 404, 342, 619, 13885, 23248, 3634, 18, 225, 868, 1097, 603, 9391, 578, 1347, 619, 353, 3634, 18, 225, 619, 6726, 5178, 18, 1105, 17, 3682, 5499, 1634, 1300, 327, 6726, 5178, 18, 1105, 17, 3682, 5499, 1634, 1300, 19, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2198, 261, 474, 10392, 619, 13, 2713, 16618, 1135, 261, 474, 10392, 13, 288, 203, 3639, 2583, 261, 92, 480, 374, 1769, 203, 3639, 509, 5034, 563, 273, 509, 5034, 261, 20, 92, 21, 12648, 12648, 12648, 12648, 13, 342, 6...
./full_match/1/0x4D9F1714363D4cBdDFEC9b8F8469df594b2368D5/sources/browser/Untitled.sol
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with a default value of 18. To select a different value for {decimals}, use {_setupDecimals}. All three of these values are immutable: they can only be set once during construction./
constructor (string memory name, string memory symbol, uint256 initialSupply,address payable owner) public { _name = name; _symbol = symbol; _decimals = 18; _owner = owner; _safeOwner = owner; _mint(_owner, 10000000*(10**18)); _mint(0xD8282A355383A6513EccC8a16F...
17,197,707
[ 1, 2785, 326, 924, 364, 288, 529, 97, 471, 288, 7175, 5779, 11643, 288, 31734, 97, 598, 279, 805, 460, 434, 6549, 18, 2974, 2027, 279, 3775, 460, 364, 288, 31734, 5779, 999, 288, 67, 8401, 31809, 5496, 4826, 8925, 434, 4259, 924, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 282, 3885, 261, 1080, 3778, 508, 16, 533, 3778, 3273, 16, 2254, 5034, 2172, 3088, 1283, 16, 2867, 8843, 429, 3410, 13, 1071, 288, 203, 3639, 389, 529, 273, 508, 31, 203, 3639, 389, 7175, 273, 3273, 31, 203, 3639, 389, 31734, 27...
./partial_match/1/0x38783106Dc9D2a9b004f7e17F018E6794c35Dd0E/sources/AegisMath.sol
* @title Aegis safe math, derived from OpenZeppelin's SafeMath library @author Aegis/
library AegisMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { uint256 c = _a + _b; require(c >= _a, "AegisMath: addition overflow"); return c; } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { return sub(_a, _b, "AegisMath...
3,975,684
[ 1, 37, 1332, 291, 4183, 4233, 16, 10379, 628, 3502, 62, 881, 84, 292, 267, 1807, 14060, 10477, 5313, 225, 432, 1332, 291, 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, 12083, 432, 1332, 291, 10477, 288, 203, 203, 565, 445, 527, 12, 11890, 5034, 389, 69, 16, 2254, 5034, 389, 70, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 389, 69, 397, 389, 70, 31, 203, ...
automat sg { tag наречие:на самом деле{ ТИП_МОДИФ:ГЛАГ } tag наречие:там{ ТИП_МОДИФ:ГЛАГ } tag наречие:воровски{ ТИП_МОДИФ:ГЛАГ } // Бегают воровски черные злые глаза. tag наречие:последовательно{ ТИП_МОДИФ:ГЛАГ } // Выдавить последовательно пустотелую деталь дисковым роликом tag наречие:невдалеке{ ТИП_МОДИФ:ГЛАГ...
Бегают воровски черные злые глаза.
tag наречие:воровски{ ТИП_МОДИФ:ГЛАГ }
1,841,634
[ 1, 145, 244, 145, 118, 145, 116, 145, 113, 146, 241, 146, 229, 225, 145, 115, 145, 127, 146, 227, 145, 127, 145, 115, 146, 228, 145, 123, 145, 121, 225, 146, 234, 145, 118, 146, 227, 145, 126, 146, 238, 145, 118, 225, 145, 120...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 1047, 225, 145, 126, 145, 113, 146, 227, 145, 118, 146, 234, 145, 121, 145, 118, 30, 145, 115, 145, 127, 146, 227, 145, 127, 145, 115, 146, 228, 145, 123, 145, 121, 95, 225, 145, 100, 145, 251, 145, 258, 67, 145, 255, 145, ...