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
//! The Secret Store service contract intefaces. //! //! Copyright 2017 Svyatoslav Nikolsky, Parity Technologies Ltd. //! //! Licensed under the Apache License, Version 2.0 (the "License"); //! you may not use this file except in compliance with the License. //! You may obtain a copy of the License at //! //! http:...
Remove request id from array.
function removeRequestKey(bytes32[] storage requests, bytes32 request) internal { for (uint i = 0; i < requests.length; ++i) { if (requests[i] == request) { requests[i] = requests[requests.length - 1]; requests.length = requests.length - 1; break; } } }
7,281,879
[ 1, 4625, 348, 7953, 560, 30, 225, 3581, 590, 612, 628, 526, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 691, 653, 12, 3890, 1578, 8526, 2502, 3285, 16, 1731, 1578, 590, 13, 2713, 288, 203, 202, 202, 1884, 261, 11890, 277, 273, 374, 31, 277, 411, 3285, 18, 2469, 31, 965, 77, 13, 288, 203, 1082, 202, 430, 261, 114...
pragma solidity ^0.5.0; interface IMultiSigManager { function provideAddress(address origin, uint poolIndex) external returns (address payable); function passedContract(address) external returns (bool); function moderator() external returns(address); } interface ICustodianToken { function emitTransfer(ad...
set at constructor
uint minBalance = 10000000000000000;
15,885,127
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 622, 3885, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 11890, 1131, 13937, 273, 2130, 12648, 9449, 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...
//Address: 0xf180e0f0b8ae56f01427817c2627f1fc75202929 //Contract name: Gods //Balance: 0 Ether //Verification Date: 5/9/2017 //Transacion Count: 3 // CODE STARTS HERE pragma solidity ^0.4.2; /* Родительский контракт */ contract Owned { /* Адрес владельца контракта*/ address owner; /* Конструктор контр...
Функция получения приватного ключа по ID юзера */
function getPK(uint id) onlyowner constant returns (string) { return pks[id]; }
14,068,546
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 102, 146, 230, 145, 126, 145, 123, 146, 233, 145, 121, 146, 242, 225, 145, 128, 145, 127, 145, 124, 146, 230, 146, 234, 145, 118, 145, 126, 145, 121, 146, 242, 225, 145, 128, 146, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1689, 47, 12, 11890, 612, 13, 1338, 8443, 5381, 1135, 261, 1080, 13, 288, 203, 3639, 327, 24871, 63, 350, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/4/0x31d4Bb87526560A71A8bf5F599a661C70A8a4420/sources/LOAD.sol
1:up 2:down 3.draw 0:default
mapping(address => mapping(uint => uint8)) public userGuess;
8,677,002
[ 1, 4625, 348, 7953, 560, 30, 225, 404, 30, 416, 565, 576, 30, 2378, 225, 890, 18, 9446, 282, 374, 30, 1886, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 2874, 12, 11890, 516, 2254, 28, 3719, 1071, 729, 15977, 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,...
/** *Submitted for verification at Etherscan.io on 2021-03-30 */ pragma solidity >=0.4.24 <0.6.0; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function...
Reserved storage space to allow for layout changes in the future.
uint256[50] private ______gap;
22,413
[ 1, 4625, 348, 7953, 560, 30, 225, 16237, 2502, 3476, 358, 1699, 364, 3511, 3478, 316, 326, 3563, 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,...
[ 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, 1377, 2254, 5034, 63, 3361, 65, 3238, 389, 7198, 67, 14048, 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, -10...
./partial_match/5/0xcAc012377C7C470C64EFD0c8776C788f774f5A88/sources/ManagerFactory.sol
File contracts/ManagerFactory.sol EOA to Manager
contract ManagerFactory is Authority { using SafeMath for uint256; address private tokenFactory = 0xCc83Dd82FB74B5056De897B68244D0895a9a07e4; bytes32 private tokenTemplateKey = 0x000000000000000000000000644fE2731D8235216aA1DBfF4b4e844A9937173C; address private UniswapV2Router = 0x7a250d...
16,891,800
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 20092, 19, 20012, 18, 18281, 512, 28202, 358, 8558, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 8558, 1733, 353, 6712, 560, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1758, 3238, 1147, 1733, 273, 374, 14626, 71, 10261, 40, 72, 11149, 22201, 5608, 38, 3361, 4313, 758, 6675, 27, 38, 9470, 32...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./IFateRewardController.sol"; i...
Safe fate transfer function, just in case if rounding error causes pool to not have enough FATEs.
function _safeFateTransfer(address _to, uint256 _amount) internal { uint256 fateBal = fate.balanceOf(address(this)); if (_amount > fateBal) { fate.transfer(_to, fateBal); fate.transfer(_to, _amount); } }
14,083,717
[ 1, 4625, 348, 7953, 560, 30, 225, 14060, 284, 340, 7412, 445, 16, 2537, 316, 648, 309, 13885, 555, 14119, 2845, 358, 486, 1240, 7304, 478, 1777, 87, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4626, 42, 340, 5912, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 203, 3639, 2254, 5034, 284, 340, 38, 287, 273, 284, 340, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 309, 261, 67, 89...
pragma solidity ^0.5.0; /** * @title Queue * @dev Data structure contract used in `Crowdsale.sol` * Allows buyers to line up on a first-in-first-out basis * See this example: http://interactivepython.org/courselib/static/pythonds/BasicDS/ImplementingaQueueinPython.html */ import './utils/SafeMath.sol'; contract...
Returns the number of people waiting in line */TODO: Unsafe?
function qsize() view public returns(uint8) { return last - first + 1; }
13,010,429
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 326, 1300, 434, 16951, 7336, 316, 980, 1195, 6241, 30, 27476, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 1043, 1467, 1435, 1476, 1071, 1135, 12, 11890, 28, 13, 288, 203, 202, 202, 2463, 1142, 300, 1122, 397, 404, 31, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x18d9244DC85306DBc0AAE16cF8FAE9aEFAee7530/sources/ForbitswapRouter.sol
performs chained getAmountOut calculations on any number of pairs
function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) { require(path.length >= 2, 'ForbitswapLibrary: INVALID_PATH'); amounts = new uint[](path.length); amounts[0] = amountIn; for (uint i; i < path.length - 1; i++)...
9,783,502
[ 1, 4625, 348, 7953, 560, 30, 225, 11199, 20269, 24418, 1182, 20882, 603, 1281, 1300, 434, 5574, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 24418, 87, 1182, 12, 2867, 3272, 16, 2254, 3844, 382, 16, 1758, 8526, 3778, 589, 13, 2713, 1476, 1135, 261, 11890, 8526, 3778, 30980, 13, 288, 203, 3639, 2583, 12, 803, 18, 2469, 1545, 576, 16, 296, 1290, 6789, 91, 43...
// SPDX-License-Identifier: MIT pragma solidity >=0.8.10; //pragma experimental ABIEncoderV2; // functions for recovering and managing Ethereum account ECDSA signatures import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; // MultisigWallet Factory import "./MultisigWalletFactory.sol"; contract MultisigWal...
Pass the bytes32 as the first parameter when calling the ECDSA functions Deposit event ExecuteTransactions event from calldata Keep track of the MultisigWallet Owners Only Owners of the MultisigWallet
contract MultisigWallet { MultisigWalletFactory public multisigWalletFactory; using ECDSA for bytes32; event Deposit(address indexed sender, uint256 amount, uint256 balance); event ExecuteTransaction( address indexed owner, address payable to, uint256 value, bytes data, ...
13,046,216
[ 1, 4625, 348, 7953, 560, 30, 225, 10311, 326, 1731, 1578, 487, 326, 1122, 1569, 1347, 4440, 326, 7773, 19748, 4186, 4019, 538, 305, 871, 7903, 14186, 871, 628, 745, 892, 10498, 3298, 434, 326, 7778, 291, 360, 16936, 14223, 9646, 5098,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 7778, 291, 360, 16936, 288, 203, 565, 7778, 291, 360, 16936, 1733, 1071, 22945, 360, 16936, 1733, 31, 203, 203, 565, 1450, 7773, 19748, 364, 1731, 1578, 31, 203, 565, 871, 4019, 538, 305, 12, 2867, 8808, 5793, 16, 2254, 50...
./full_match/5/0x1917925b6fdF913927b68D42BF8983ff0C2cFcf8/sources/contracts/PrmntOrigin.sol
uint256 tokenId, uint256 _amount
function claim() public payable {
1,913,460
[ 1, 4625, 348, 7953, 560, 30, 2254, 5034, 1147, 548, 16, 2254, 5034, 389, 8949, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 1435, 1071, 8843, 429, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x1a0bADb278dE44E261DEC9f4225E3DD761336DA8/sources/contracts/multisigs/GuardCM.sol
@dev The combination of target and selector is not authorized. @param target Target address. @param selector Function selector.
error NotAuthorized(address target, bytes4 selector);
3,071,831
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1021, 10702, 434, 1018, 471, 3451, 353, 486, 10799, 18, 632, 891, 1018, 5916, 1758, 18, 632, 891, 3451, 4284, 3451, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1636, 2288, 15341, 12, 2867, 1018, 16, 1731, 24, 3451, 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, ...
pragma solidity ^0.4.19; // Interface contract to be implemented by SyscoinToken contract SyscoinTransactionProcessor { function processTransaction(uint txHash, uint value, address destinationAddress, uint32 _assetGUID, address superblockSubmitterAddress) public returns (uint); function burn(uint _value, ...
@dev - Return superblock last block hash
function getSuperblockLastHash(bytes32 _superblockHash) public view returns (bytes32) { return superblocks[_superblockHash].lastHash; }
5,532,018
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 300, 2000, 2240, 2629, 1142, 1203, 1651, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15172, 2629, 3024, 2310, 12, 3890, 1578, 389, 9565, 2629, 2310, 13, 1071, 1476, 1135, 261, 3890, 1578, 13, 288, 203, 3639, 327, 2240, 7996, 63, 67, 9565, 2629, 2310, 8009, 2722, 2310, 31, 203, 565, 289, 203, 2, -100, ...
pragma solidity ^0.4.18; interface ConflictResolutionInterface { function minHouseStake(uint activeGames) public pure returns(uint); function maxBalance() public pure returns(int); function isValidBet(uint8 _gameType, uint _betNum, uint _betValue) public pure returns(bool); function endGame...
@dev Current active game sessions.
uint public activeGames = 0;
1,034,089
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 6562, 2695, 7920, 8856, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2695, 43, 753, 273, 374, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/80001/0x1Bf5a4B71E284705E81cEe233f76AC938340558f/sources/contracts/market/template/MarketTieredLeverage.sol
@notice Allows users to exit the market after it has been deprecated NOTE we don't want the seeder to redeem because it could lead to division by 0 when the last person exits reverse pending deposits, no dependency on lastExecutedEpoch
function _exitDeprecatedMarket(address user, IMarketCommon.PoolType poolType) internal { require( user != address(0) && user != PERMANENT_INITIAL_LIQUIDITY_HOLDER, "User can't be 0 or seeder" ); uint32 lastExecutedEpoch = _epochInfo.latestExecutedEpochIndex; IMarketCommon.UserAction memo...
9,520,632
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 25619, 3677, 358, 2427, 326, 13667, 1839, 518, 711, 2118, 6849, 5219, 732, 2727, 1404, 2545, 326, 5009, 264, 358, 283, 24903, 2724, 518, 3377, 5871, 358, 16536, 635, 374, 1347, 326, 1142, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 389, 8593, 13534, 3882, 278, 12, 2867, 729, 16, 467, 3882, 278, 6517, 18, 2864, 559, 2845, 559, 13, 2713, 288, 203, 565, 2583, 12, 203, 1377, 729, 480, 1758, 12, 20, 13, 597, 729, 480, 10950, 9560, 2222, 67, 28497, ...
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import { Lib_CrossDomainUtils } from "@eth-optimism/contracts/libraries/bridge/Lib_CrossDomainUtils.sol"; import { Lib_RLPWriter } from "@eth-optimism/contracts/libraries/rlp/Lib_RLPWriter.sol"; /** * @title CrossDomainHashing * This library is responsible ...
* @notice Gets the version out of the nonce/
function getVersionFromNonce(uint256 _nonce) internal pure returns (uint16 version) { assembly { version := shr(240, _nonce) } }
895,740
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11881, 326, 1177, 596, 434, 326, 7448, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8343, 1265, 13611, 12, 11890, 5034, 389, 12824, 13, 2713, 16618, 1135, 261, 11890, 2313, 1177, 13, 288, 203, 3639, 19931, 288, 203, 5411, 1177, 519, 699, 86, 12, 28784, 16, 389, 12824, 13, 203, 3639, 289, 203, 565, 289,...
./full_match/1/0x3E7bcAc4B0364477b6fF9bBF1DB2b726DC833CdD/sources/contracts/Wen_Lunch/HarleyQuinn.sol
Contract implementation We will set a minimum amount of tokens to be swaped => 5M
contract HarleyQuinn is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; ...
8,391,732
[ 1, 4625, 348, 7953, 560, 30, 225, 13456, 4471, 1660, 903, 444, 279, 5224, 3844, 434, 2430, 358, 506, 1352, 5994, 516, 1381, 49, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 6835, 670, 297, 30678, 928, 267, 82, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 3639, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 3639, 1450, 5267, 364, 1758, 31, 203, 203, 3639, 2874, 261, 2867, 516, ...
pragma solidity 0.5.3; // File: /private/var/folders/2q/x2n3s2rx0d16552ynj1lx90r0000gn/T/tmp.ODkPvI0P/gluon-plasma/packages/on-chain/contracts/Stoppable.sol /* using a master switch, allowing to permanently turn-off functionality */ contract Stoppable { /************************************ abstract *******...
*********************************** abstract **********************************/
modifier onlyOwner { _; }
885,030
[ 1, 4625, 348, 7953, 560, 30, 20210, 636, 8770, 20210, 5549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 9606, 1338, 5541, 288, 389, 31, 289, 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, -...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; /** * @dev this is just a dummy mintable/burnable ERC20 for testing purposes */ contract Basic721 is ERC721, Ownable { constructor(string mem...
* @dev this is just a dummy mintable/burnable ERC20 for testing purposes/
contract Basic721 is ERC721, Ownable { constructor(string memory name, string memory symbol) ERC721(name, symbol) Ownable() string baseURI; pragma solidity ^0.8.0; { } function mint(address account, uint256 id) public { _mint(account, id); } function burn(uint256 ...
13,016,389
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 333, 353, 2537, 279, 9609, 312, 474, 429, 19, 70, 321, 429, 4232, 39, 3462, 364, 7769, 13694, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7651, 27, 5340, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 377, 203, 565, 3885, 12, 1080, 3778, 508, 16, 533, 3778, 3273, 13, 203, 3639, 4232, 39, 27, 5340, 12, 529, 16, 3273, 13, 203, 3639, 14223, 6914, 1435, ...
//SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; contract OwnerContract { address owner = msg.sender; string private ownerName; constructor(string memory _ownerName) { ownerName = _ownerName; } function getOwner() public view virtual returns(string memory){ return ownerName; }...
Implements the interface and inherited modifier
function deposit(uint value) public override onlyOwner returns (uint){ money += value; return money; }
13,012,478
[ 1, 4625, 348, 7953, 560, 30, 29704, 326, 1560, 471, 12078, 9606, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 443, 1724, 12, 11890, 460, 13, 1071, 3849, 1338, 5541, 1135, 261, 11890, 15329, 203, 565, 15601, 1011, 460, 31, 203, 565, 327, 15601, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.leng...
* @dev Returns whether `tokenId` exists./
function tokenExists(uint256 _tokenId) external view returns (bool) { return _exists(_tokenId); }
1,728,646
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 2856, 1375, 2316, 548, 68, 1704, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1147, 4002, 12, 11890, 5034, 389, 2316, 548, 13, 3903, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 1808, 24899, 2316, 548, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT // @title: MOAR // @desc: "MOAR by Joan Cornellà is an unusual mansion in the metaverse proudly presented by FWENCLUB, where 5,555 creatures with their souls minted with the ERC721 blockchain as NFTs. Each of these "peacefully-living-together" humans, cyborgs or even zombies, i...
* @dev Toggles `burningActive`, `transferActive` and `metadataFrozen` Requirements: - the caller must be `owner`./
function toggleFlag(uint256 flag) public virtual onlyOwner { if (flag == uint256(keccak256("BURN"))) burningActive = !burningActive; else if (flag == uint256(keccak256("TRANSFER"))) transferDeactive = !transferDeactive; else if (flag == uint256(keccak256("METADATA")))...
10,342,087
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 399, 23972, 1040, 1375, 70, 321, 310, 3896, 9191, 1375, 13866, 3896, 68, 471, 1375, 4165, 42, 9808, 68, 29076, 30, 300, 326, 4894, 1297, 506, 1375, 8443, 8338, 19, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10486, 4678, 12, 11890, 5034, 2982, 13, 1071, 5024, 1338, 5541, 288, 203, 3639, 309, 261, 6420, 422, 2254, 5034, 12, 79, 24410, 581, 5034, 2932, 38, 8521, 6, 20349, 203, 5411, 18305, 310, 3896, 273, 401, 70, 321, 310, ...
pragma solidity ^0.4.4; // // https://remix.ethereum.org // https://github.com/ConsenSys/MultiSigWallet/blob/master/contracts/solidity/MultiSigWallet.sol // import "github.com/ConsenSys/MultiSigWallet/contracts/solidity/MultiSigWallet.sol"; // change to 0.4.4 https://remix.ethereum.org/#version=soljson-v0.4.4+...
fallback() 100 getBalance() initWallet2of3() getBalance() and getWalletBalance() testSign20f3() getBalance() and getWalletBalance()
contract TestWallet{ uint public txid; MultiSigWallet w; User user1 = new User(); User user2 = new User(); function initWallet2of3(){ address[] memory owners = new address[](3); owners[0]=this; owners[1]=user2; owners[2]=user1; w = new MultiSigWallet...
1,006,450
[ 1, 4625, 348, 7953, 560, 30, 225, 5922, 1435, 2130, 2882, 6112, 1435, 1208, 16936, 22, 792, 23, 1435, 2882, 6112, 1435, 471, 13876, 6201, 13937, 1435, 1842, 2766, 3462, 74, 23, 1435, 2882, 6112, 1435, 471, 13876, 6201, 13937, 1435, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7766, 16936, 95, 203, 377, 203, 565, 2254, 1071, 18372, 31, 203, 565, 5991, 8267, 16936, 341, 31, 203, 565, 2177, 729, 21, 273, 394, 2177, 5621, 203, 565, 2177, 729, 22, 273, 394, 2177, 5621, 203, 377, 203, 565, 445, 120...
./partial_match/1/0x45c00508C14601fd1C1e296eB3C0e3eEEdCa45D0/sources/contracts/exchangeIssuance/DEXAdapter.sol
* @title DEXAdapter @author Index Coop Adapter to execute swaps on different DEXes/
library DEXAdapter { using SafeERC20 for IERC20; using PreciseUnitMath for uint256; using SafeMath for uint256; uint256 constant private MAX_UINT256 = type(uint256).max; address public constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; uint256 public constant ROUNDING_ERROR_MAR...
9,182,626
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 2030, 60, 4216, 632, 4161, 3340, 7695, 556, 14238, 358, 1836, 1352, 6679, 603, 3775, 2030, 60, 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...
[ 1, 1, 1, 1, 1, 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, 12083, 2030, 60, 4216, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 2962, 30708, 2802, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 203, 565, ...
./full_match/421613/0xD08Ab99480d02bf9C092828043f611BcDFEA917b/sources/src/libraries/SortitionSumTreeFactoryV2.sol
* @dev Create a sortition sum tree at the specified key. @param _key The key of the new tree. @param _K The number of children each node in the tree should have./
function createTree(SortitionSumTrees storage self, bytes32 _key, uint256 _K) external { SortitionSumTree storage tree = self.sortitionSumTrees[_key]; require(tree.K == 0, "Tree already exists."); require(_K > 1, "K must be greater than one."); tree.K = _K; tree.nodes.push(0)...
11,568,855
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 632, 5206, 1788, 279, 1524, 608, 2142, 2151, 622, 326, 1269, 498, 18, 225, 632, 891, 389, 856, 1021, 498, 434, 326, 394, 2151, 18, 225, 632, 891, 389, 47, 1021, 1300, 434, 2325, 1517, 756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 2471, 12, 4416, 608, 3495, 26590, 2502, 365, 16, 1731, 1578, 389, 856, 16, 2254, 5034, 389, 47, 13, 3903, 288, 203, 3639, 5928, 608, 3495, 2471, 2502, 2151, 273, 365, 18, 3804, 608, 3495, 26590, 63, 67, 856, 1553...
pragma solidity ^0.5.9; import "./DelightBuildingManagerInterface.sol"; import "./DelightManager.sol"; import "./DelightArmyManager.sol"; import "./DelightItemManager.sol"; import "./Util/SafeMath.sol"; contract DelightBuildingManager is DelightBuildingManagerInterface, DelightManager { using SafeMath for uint; /...
Returns the owners of the buildings located on a specific tile. 특정 위치의 건물의 주인을 반환합니다.
function getPositionBuildingOwner(uint col, uint row) view external returns (address) { return buildings[positionToBuildingId[col][row]].owner; }
1,027,468
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 326, 25937, 434, 326, 1361, 899, 13801, 603, 279, 2923, 4769, 18, 225, 174, 237, 122, 173, 259, 248, 225, 173, 255, 231, 173, 122, 251, 173, 256, 251, 225, 171, 114, 117, 172, 110, 125, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 202, 915, 14441, 16713, 5541, 12, 11890, 645, 16, 2254, 1027, 13, 1476, 3903, 1135, 261, 2867, 13, 288, 203, 202, 202, 2463, 1361, 899, 63, 3276, 774, 16713, 548, 63, 1293, 6362, 492, 65, 8009, 8443, 31, 203, 202, 97, 203, 202,...
pragma solidity 0.6.6; import "@chainlink/contracts/src/v0.6/ChainlinkClient.sol"; import "@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; import "./IMobilityCampaigns.sol"; /** * @title AdzerkAdClient creates an ad campaigns from a given ad serv...
* @notice Allows the owner to withdraw any LINK balance on the contract/
function withdrawLink() public onlyAdvertiser { LinkTokenInterface link = LinkTokenInterface(chainlinkTokenAddress()); require(link.transfer(msg.sender, advertisersPaymentsLINK[msg.sender]), "AdzerkAdClient::withdrawLink::Unable to transfer"); }
6,465,344
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 25619, 326, 3410, 358, 598, 9446, 1281, 22926, 11013, 603, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 598, 9446, 2098, 1435, 1071, 1338, 1871, 1097, 15914, 288, 203, 565, 4048, 1345, 1358, 1692, 273, 4048, 1345, 1358, 12, 5639, 1232, 1345, 1887, 10663, 203, 565, 2583, 12, 1232, 18, 13866, 12, 3576, 18, 15330, 16, 16738, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error,...
Since GAV calculation can fail with a revering price or a no-longer-supported asset, we must try/catch GAV calculation to ensure that in-kind redemption can still succeed
function __preBuySharesHook( address _buyer, uint256 _investmentAmount, uint256 _gav } function __postBuySharesHook( address _buyer, uint256 _investmentAmount, uint256 _sharesIssued, uint256 _preBuySharesGav } function __transferFromWithRecei...
122,373
[ 1, 4625, 348, 7953, 560, 30, 225, 7897, 611, 5856, 11096, 848, 2321, 598, 279, 283, 502, 310, 6205, 578, 279, 1158, 17, 9379, 693, 17, 4127, 3310, 16, 732, 1297, 775, 19, 14683, 611, 5856, 11096, 358, 3387, 716, 316, 17, 9224, 283...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1001, 1484, 38, 9835, 24051, 5394, 12, 203, 3639, 1758, 389, 70, 16213, 16, 203, 3639, 2254, 5034, 389, 5768, 395, 475, 6275, 16, 203, 3639, 2254, 5034, 389, 75, 842, 203, 565, 289, 203, 203, 565, 445, 1001, 2767, 38,...
./full_match/1/0x19BEC0cCDf4e2cDcb216c2b2162c08A2B4c655b9/sources/contracts/UtilityWenUpgradeable.sol
* @notice Sets the collection max supply @param _maxSupply The max supply of the collection/
function setMaxSupply(uint _maxSupply) external onlyOwner { maxSupply = _maxSupply; }
2,935,995
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11511, 326, 1849, 943, 14467, 632, 891, 389, 1896, 3088, 1283, 1021, 943, 14467, 434, 326, 1849, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10851, 3088, 1283, 12, 11890, 389, 1896, 3088, 1283, 13, 3903, 1338, 5541, 288, 203, 565, 943, 3088, 1283, 273, 389, 1896, 3088, 1283, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// File: contracts/libraries/TransferHelper.sol pragma solidity >=0.6.0; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove( address token, address to, uint256 value ) internal { ...
bytes4(keccak256(bytes('approve(address,uint256)')));
) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), "TransferHelper: APPROVE_FAILED"); }
409,897
[ 1, 4625, 348, 7953, 560, 30, 225, 1731, 24, 12, 79, 24410, 581, 5034, 12, 3890, 2668, 12908, 537, 12, 2867, 16, 11890, 5034, 2506, 3719, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 2713, 288, 203, 3639, 261, 6430, 2216, 16, 1731, 3778, 501, 13, 273, 1147, 18, 1991, 12, 21457, 18, 3015, 1190, 4320, 12, 20, 92, 5908, 25, 24852, 27, 70, 23, 16, 358, 16, 460, 10019, 203, 3639, 2583, 12, 4768, 597,...
/* Copyright 2020 DODO ZOO. SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.6.9; pragma experimental ABIEncoderV2; import {IDODOApproveProxy} from "../DODOApproveProxy.sol"; import {IERC20} from "../../intf/IERC20.sol"; import {IWETH} from "../../intf/IWETH.sol"; import {SafeMath} from "../../lib/S...
* @title DODORouteProxy @author DODO Breeder @notice Entrance of Split trading in DODO platform/ ============ Storage ============
contract DODORouteProxy { using SafeMath for uint256; using UniversalERC20 for IERC20; address constant _ETH_ADDRESS_ = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; address public immutable _WETH_; address public immutable _DODO_APPROVE_PROXY_; import {IDODOApproveProxy} from "../DODOApproveProx...
12,807,015
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 463, 1212, 916, 2571, 3886, 632, 4161, 463, 2311, 605, 15656, 264, 632, 20392, 1374, 313, 1359, 434, 5385, 1284, 7459, 316, 463, 2311, 4072, 19, 422, 1432, 631, 5235, 422, 1432, 631, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 463, 1212, 916, 2571, 3886, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 27705, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 203, 565, 1758, 5381, 389, 1584, 44, 67, 15140, 67, 273, 37...
// Dependency file: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT // pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, becau...
* @dev Returns the integer division of two unsigned integers, reverting on division by zero. The result is rounded towards zero. Counterpart to Solidity's `/` operator. Note: this function uses a `revert` opcode (which leaves remaining gas untouched) while Solidity uses an invalid opcode to revert (consuming all remain...
function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, 'SafeMath: division by zero'); return a / b; }
6,285,051
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 3571, 16536, 434, 2795, 9088, 12321, 16, 15226, 310, 603, 16536, 635, 3634, 18, 1021, 563, 353, 16729, 23248, 3634, 18, 9354, 2680, 358, 348, 7953, 560, 1807, 1375, 19, 68, 372...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 202, 915, 3739, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 202, 202, 6528, 12, 70, 405, 374, 16, 296, 9890, 10477, 30, 16536, 635, 3634, 8284, 203, 202, 202, 2463, 279, 342...
pragma solidity ^0.5.0; /** * @title Tellor Transfer * @dev Contais the methods related to transfers and ERC20. Tellor.sol and TellorGetters.sol * reference this library for function's logic. */ library TellorTransfer { using SafeMath for uint256; event Approval(address indexed _owner, address indexed _spende...
* @dev Allows the current owner to propose transfer control of the contract to a newOwner and the ownership is pending until the new owner calls the claimOwnership function @param _pendingOwner The address to transfer ownership to./
function proposeOwnership(TellorStorage.TellorStorageStruct storage self, address payable _pendingOwner) internal { require(msg.sender == self.addressVars[keccak256("_owner")], "Sender is not owner"); emit OwnershipProposed(self.addressVars[keccak256("_owner")], _pendingOwner); self.addressV...
12,861,505
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25619, 326, 783, 3410, 358, 450, 4150, 7412, 3325, 434, 326, 6835, 358, 279, 394, 5541, 471, 326, 23178, 353, 4634, 3180, 326, 394, 3410, 4097, 326, 7516, 5460, 12565, 445, 632, 891, 389,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 450, 4150, 5460, 12565, 12, 21009, 280, 3245, 18, 21009, 280, 3245, 3823, 2502, 365, 16, 1758, 8843, 429, 389, 9561, 5541, 13, 2713, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 365, 18, 2867, 5555, 63, 79, 24410, ...
pragma solidity ^0.4.15; //import './lib/safeMath.sol'; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return ...
End time of Crowdfund
uint256 public crowdfundEndTime;
931,188
[ 1, 4625, 348, 7953, 560, 30, 225, 4403, 813, 434, 385, 492, 2180, 1074, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 276, 492, 2180, 1074, 25255, 31, 13491, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //labels contract owner only methods import "@openzeppelin/contracts/access/Ownable.sol"; //interface of an ERC2981 compliant contract import "../../ERC2981/IERC2981.sol"; //interface of a Rarible Royalties v2 compliant contract import "../../Rarible/RoyaltiesV2...
* @dev implements Rari getRaribleV2Royalties()/this is how to set the size of an array in memory
function getRaribleV2Royalties(uint256 tokenId) external view virtual returns(LibPart.Part[] memory) { uint256 classId = classOf(tokenId); uint256 size = _recipients[classId].length; LibPart.Part[] memory royalties = new LibPart.Part[](size); for (uint i = 0; i < size; i++) { address rec...
13,068,471
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4792, 534, 12954, 4170, 297, 1523, 58, 22, 54, 13372, 2390, 606, 1435, 19, 2211, 353, 3661, 358, 444, 326, 963, 434, 392, 526, 316, 3778, 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, 225, 445, 4170, 297, 1523, 58, 22, 54, 13372, 2390, 606, 12, 11890, 5034, 1147, 548, 13, 7010, 565, 3903, 1476, 5024, 1135, 12, 5664, 1988, 18, 1988, 8526, 3778, 13, 7010, 225, 288, 203, 565, 2254, 5034, 31181, 273, 667, 951, 1...
/** *Submitted for verification at Etherscan.io on 2021-12-11 */ // After ShibaDoge, we finally have ShibaFloki! // tg: ShibaFlokiETH // tw: ShibaFlokiETH // web: shibaflokieth.com // ~ 1 billion marketcap ~ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.7; interface IERC20 { function totalSu...
is the token balance of this contract address over the min number of tokens that we need to initiate a swap? also, don't get caught in a circular liquidity event. also, don't swap & liquify if sender is uniswap pair. buyantibotif any account belongs to _isExcludedFromFee account then remove the fee
function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater th...
1,127,397
[ 1, 4625, 348, 7953, 560, 30, 225, 353, 326, 1147, 11013, 434, 333, 6835, 1758, 1879, 326, 1131, 1300, 434, 2430, 716, 732, 1608, 358, 18711, 279, 7720, 35, 2546, 16, 2727, 1404, 336, 13537, 316, 279, 15302, 4501, 372, 24237, 871, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3238, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, 326, ...
/** *Submitted for verification at Etherscan.io on 2021-10-29 */ pragma solidity ^0.5.0; // //---------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(...
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "Koromaru Inu"; symbol = "KORO"; decimals = 9; _totalSupply = 100000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
2,143,487
[ 1, 4625, 348, 7953, 560, 30, 380, 735, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 47, 280, 362, 297, 89, 657, 89, 14432, 203, 3639, 3273, 273, 315, 47, 916, 51, 14432, 203, 3639, 15105, 273, 2468, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 2130, 12648, 27...
./full_match/5/0x05F21089728C02C392bdcaEA1697DCF24d91559f/sources/contracts/VoteScatter.sol
* @dev See {IGovernor-castVoteWithReasonAndParamsBySig}./
function castVoteWithReasonAndParamsBySig( uint256 proposalId, uint8 support, string calldata reason, bytes memory params, uint8 v, bytes32 r, bytes32 s ) public virtual override nftHolderOnly returns (uint256) { address voter = ECDSA.recover( ...
1,942,427
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 3047, 1643, 29561, 17, 4155, 19338, 1190, 8385, 1876, 1370, 858, 8267, 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, ...
[ 1, 1, 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, 565, 445, 4812, 19338, 1190, 8385, 1876, 1370, 858, 8267, 12, 203, 3639, 2254, 5034, 14708, 548, 16, 203, 3639, 2254, 28, 2865, 16, 203, 3639, 533, 745, 892, 3971, 16, 203, 3639, 1731, 3778, 859, 16, 203, 3639, 2254, 28, 331, 1...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which ...
Deposit LP tokens to HolyKnight for HOLY allocation. this condition would save some gas on harvest calls protect received tokens from moving to treasury
function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accHolyPerShare).div(1e12).sub(user.rewardD...
2,154,643
[ 1, 4625, 348, 7953, 560, 30, 225, 4019, 538, 305, 511, 52, 2430, 358, 670, 355, 93, 47, 18840, 364, 670, 1741, 61, 13481, 18, 333, 2269, 4102, 1923, 2690, 16189, 603, 17895, 26923, 4097, 17151, 5079, 2430, 628, 12499, 358, 9787, 345...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 12, 11890, 5034, 389, 6610, 16, 2254, 5034, 389, 8949, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 25003, 2502, 729, 273, 16753, 63, 67, 6610, 6362, 3576, ...
./full_match/137/0x1Cb26B29837E07018fFd692046B10Dc734446503/sources/contracts/interfaces/IFlashLoanReceiver.sol
* @title IFlashLoanReceiver interface @notice Interface for the Aave fee IFlashLoanReceiver. @author Aave @dev implement this interface to develop a flashloan-compatible flashLoanReceiver contract/
interface IFlashLoanReceiver { function executeOperation( address[] calldata assets, uint256[] calldata amounts, uint256[] calldata premiums, address initiator, bytes calldata params ) external returns (bool); function ADDRESSES_PROVIDER() external view returns (ILendingPoolAddressesProvider)...
4,704,953
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 467, 11353, 1504, 304, 12952, 1560, 632, 20392, 6682, 364, 326, 432, 836, 14036, 467, 11353, 1504, 304, 12952, 18, 632, 4161, 432, 836, 632, 5206, 2348, 333, 1560, 358, 17196, 279, 9563, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 11353, 1504, 304, 12952, 288, 203, 225, 445, 1836, 2988, 12, 203, 565, 1758, 8526, 745, 892, 7176, 16, 203, 565, 2254, 5034, 8526, 745, 892, 30980, 16, 203, 565, 2254, 5034, 8526, 745, 892, 23020, 5077, 87, 16, 203, ...
// Events contract for deployment on optimism // Audit report available at https://www.tkd-coop.com/files/audit.pdf //SPDX-License-Identifier: MIT pragma solidity ^0.7.0; //Control who can access various functions. contract AccessControl { address payable public creatorAddress; mapping(address => boo...
Check that the tournament promoter is the callerCheck that the event has enough matches left.Make sure that the tournament isn't too old.Decrement the allowedMatchesRecord the match.
function recordEventMatch( uint64 _eventId, address _winner, uint8 _winnerPoints, address _loser, uint8 _loserPoints, address _referee ) public { require( (msg.sender == allEvents[_eventId].promoter || tournamentStaff[msg.sender...
12,782,506
[ 1, 4625, 348, 7953, 560, 30, 2073, 716, 326, 358, 30751, 3012, 20005, 353, 326, 4894, 1564, 716, 326, 871, 711, 7304, 1885, 2002, 18, 6464, 3071, 716, 326, 358, 30751, 5177, 1404, 4885, 1592, 18, 23326, 475, 326, 2935, 6869, 2115, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1409, 1133, 2060, 12, 203, 3639, 2254, 1105, 389, 2575, 548, 16, 203, 3639, 1758, 389, 91, 7872, 16, 203, 3639, 2254, 28, 389, 91, 7872, 5636, 16, 203, 3639, 1758, 389, 383, 550, 16, 203, 3639, 2254, 28, 389, 383, 5...
//Address: 0x72Ffa36a1f742e27106D36323fafe96F136cdda0 //Contract name: IPCToken //Balance: 0 Ether //Verification Date: 1/26/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks */ contract SafeMath { function safeMul(uint256 ...
* @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender. @param _spender The address which will spend the funds. @param _value The amount of tokens to be spent./ To change the approve amount you first have to reduce the addresses` allowance to zero by calling `approve(_spender, ...
function approve(address _spender, uint256 _value) public returns (bool) { require((_value == 0) || (allowance[msg.sender][_spender] == 0)); allowance[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; }
6,414,464
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 432, 685, 537, 326, 2275, 1758, 358, 17571, 326, 1269, 3844, 434, 2430, 603, 12433, 6186, 434, 1234, 18, 15330, 18, 632, 891, 389, 87, 1302, 264, 1021, 1758, 1492, 903, 17571, 326, 284, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 6617, 537, 12, 2867, 389, 87, 1302, 264, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12443, 67, 1132, 422, 374, 13, 747, 261, 5965, 1359, 63, 3576, 18, 15330, 6362, 67, 87, 1302, ...
/** * Copyright 2017-2020, bZeroX, LLC <https://bzx.network/>. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ pragma solidity 0.5.17; pragma experimental ABIEncoderV2; import "./StakingState.sol"; import "./StakingConstants.sol"; import "../interfaces/IVestingToken.sol"; import "../../in...
delegatedPerToken[currentDelegate][token] = delegatedPerToken[currentDelegate][token]
.add(stakeAmount);*/
5,429,707
[ 1, 4625, 348, 7953, 560, 30, 30055, 2173, 1345, 63, 2972, 9586, 6362, 2316, 65, 273, 30055, 2173, 1345, 63, 2972, 9586, 6362, 2316, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7734, 263, 1289, 12, 334, 911, 6275, 1769, 5549, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.4.23; import "zeppelin-solidity/contracts/ownership/Ownable.sol"; import "zeppelin-solidity/contracts/math/SafeMath.sol"; /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete) contract ERC721 { // Re...
@notice Grant another address the right to transfer a specific KittyCoin via transferFrom(). This is the preferred flow for transfering NFTs to contracts. @param _to The address to be granted transfer approval. Pass address(0) to clear all approvals. @param _tokenId The ID of the KittyCoin that can be transferred if...
function approve( address _to, uint256 _tokenId ) external { require(_owns(msg.sender, _tokenId)); _approve(_tokenId, _to); emit Approval(msg.sender, _to, _tokenId); }
982,427
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 19689, 4042, 1758, 326, 2145, 358, 7412, 279, 2923, 1475, 305, 4098, 27055, 3970, 225, 7412, 1265, 7675, 1220, 353, 326, 9119, 4693, 364, 7412, 310, 423, 4464, 87, 358, 20092, 18, 632, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 6617, 537, 12, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 2316, 548, 203, 565, 262, 203, 3639, 3903, 203, 565, 288, 203, 3639, 2583, 24899, 995, 87, 12, 3576, 18, 15330, 16, 389, 2316, 548, 10019, 203,...
./full_match/80001/0xcA905F6466C253f8195b9940C819Ba32d273447d/sources/contracts/SettingsInternal.sol
* Check if Custom URL*/
function isPicsum() internal view returns (bool) { return getSettings().use_picsum; }
860,362
[ 1, 4625, 348, 7953, 560, 30, 380, 2073, 309, 6082, 1976, 5549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 29962, 335, 1364, 1435, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 18283, 7675, 1202, 67, 20003, 1364, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.2; // File: @daostack/infra/contracts/votingMachines/IntVoteInterface.sol interface intvoteinterface31 { //inject NONSTANDARD NAMING //When implementing this interface please do not only override function and modifier, //but also to keep the modifiers on the overridden functions. modi...
inject NONSTANDARD NAMING
function WINNINGVOTE73(bytes32 _proposalId) external view returns(uint256) {
12,775,979
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 678, 706, 15870, 16169, 1448, 9036, 12, 3890, 1578, 389, 685, 8016, 548, 13, 3903, 1476, 1135, 12, 11890, 5034, 13, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0x025122f28C47BBa43371f562420137d01aDE0C08/sources/project_/contracts/KFGDAO.sol
cannot burn more than 30% of token supply in pool
function ManualBurning(uint256 _amount) private { if (_amount > 0 && _amount <= (balanceOf(uniswapV2Pair) * 30) / 100) { _burn(uniswapV2Pair, _amount); IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); } }
7,081,594
[ 1, 4625, 348, 7953, 560, 30, 225, 2780, 18305, 1898, 2353, 5196, 9, 434, 1147, 14467, 316, 2845, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8660, 1462, 38, 321, 310, 12, 11890, 5034, 389, 8949, 13, 3238, 288, 203, 3639, 309, 261, 67, 8949, 405, 374, 597, 389, 8949, 1648, 261, 12296, 951, 12, 318, 291, 91, 438, 58, 22, 4154, 13, 380, 5196, 13, 342, 2130,...
./full_match/11155111/0x7309a1385A6db5069b4a490c4fd50Be219a6973c/sources/project:/contracts/USDTStakingV1.sol
Calculate Percentage Check if user already withdrawn reward if (timeToCheck > stakeInfo.endTime) { calculate reward for all available tokens. Check if token is set as reward set reward token and balance
function claimableReward( address _user ) public view returns (address[] memory, uint256[] memory, uint256 i) { User storage user = userStakes[_user]; require(user.stakesCount != 0, "Stakes not found!"); uint256 _tokensCount = rewardManager.totalTokens(); address[] memory...
3,786,797
[ 1, 4625, 348, 7953, 560, 30, 225, 9029, 21198, 410, 2073, 309, 729, 1818, 598, 9446, 82, 19890, 309, 261, 957, 18126, 405, 384, 911, 966, 18, 409, 950, 13, 288, 4604, 19890, 364, 777, 2319, 2430, 18, 2073, 309, 1147, 353, 444, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 429, 17631, 1060, 12, 203, 3639, 1758, 389, 1355, 203, 565, 262, 1071, 1476, 1135, 261, 2867, 8526, 3778, 16, 2254, 5034, 8526, 3778, 16, 2254, 5034, 277, 13, 288, 203, 3639, 2177, 2502, 729, 273, 729, 510, 3223, ...
./partial_match/4/0x64fD3aea4Df3b76348a8cC9F2A18930fD6927738/sources/RAYv2.sol
= portfolioNav * redeemTokens / raised
uint amountToRedeem = portfolioNav.mul(redeemTokens).div(raised);
8,750,747
[ 1, 4625, 348, 7953, 560, 30, 225, 273, 19933, 12599, 380, 283, 24903, 5157, 342, 11531, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3844, 774, 426, 24903, 273, 19933, 12599, 18, 16411, 12, 266, 24903, 5157, 2934, 2892, 12, 354, 5918, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/11155111/0x71fc03eAf2490dc4ADA14c293c69357a1425426c/sources/src/ERC5289Library.sol
require( false, "signDocument : dont use this function" );
function signDocument( address signer, uint16 documentId) public { emit SignedWrongCall( msg.sender, signer, documentId ); }
3,797,714
[ 1, 4625, 348, 7953, 560, 30, 2583, 12, 629, 16, 315, 2977, 2519, 294, 14046, 999, 333, 445, 6, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1573, 2519, 12, 1758, 10363, 16, 2254, 2313, 28573, 13, 1071, 288, 203, 3639, 3626, 16724, 13634, 1477, 12, 1234, 18, 15330, 16, 10363, 16, 28573, 11272, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -...
./partial_match/1/0x0D91892FB500100ca665C05980a3649FF5cD865A/sources/Ownable.sol
* @dev Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner./
function transferOwnership(address newOwner) external virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; }
2,703,478
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2604, 18881, 23178, 434, 326, 6835, 358, 279, 394, 2236, 21863, 2704, 5541, 68, 2934, 4480, 1338, 506, 2566, 635, 326, 783, 3410, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 5460, 12565, 12, 2867, 394, 5541, 13, 3903, 5024, 1338, 5541, 288, 203, 3639, 2583, 12, 203, 5411, 394, 5541, 480, 1758, 12, 20, 3631, 203, 5411, 315, 5460, 429, 30, 394, 3410, 353, 326, 3634, 1758, 6, 203, 3639...
/** *Submitted for verification at Etherscan.io on 2020-08-14 */ 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 bugs, because programmers u...
* @dev Transfer token to specified address @param _to Receiver address @param _value Amount of the tokens/
function transfer(address _to, uint256 _value) public override returns (bool) { require(_value <= balances[msg.sender]); require(_to != address(0)); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); em...
7,659,488
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 1147, 358, 1269, 1758, 632, 891, 389, 869, 31020, 1758, 632, 891, 389, 1132, 16811, 434, 326, 2430, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 3849, 1135, 261, 6430, 13, 288, 203, 5411, 2583, 24899, 1132, 1648, 324, 26488, 63, 3576, 18, 15330, 19226, 203, 5411, 2583, 24899, 869, 480, 1758, 12, 20,...
//Address: 0x737ac585809c0f64ee09d7b8050d195d14f14c55 //Contract name: SmartToken //Balance: 0 Ether //Verification Date: 2/22/2018 //Transacion Count: 5 // CODE STARTS HERE pragma solidity ^0.4.18; /* Bancor Converter Extensions interface */ contract IBancorConverterExtensions { function formula() public ...
add x^3 * (33! / 3!)
res += xi * 0x0116b96f757c380fb287fd0e40000000;
880,300
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 619, 66, 23, 380, 261, 3707, 5, 342, 890, 24949, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 400, 1011, 14087, 380, 374, 92, 1611, 2313, 70, 10525, 74, 5877, 27, 71, 23, 3672, 19192, 6030, 27, 8313, 20, 73, 24, 17877, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/5/0x6FC94c66Bd7AB2Bea81b6aEe3e007206e8fe96A9/sources/SharedDeposit.sol
address goerli_medella_beacon_testnet = 0x07b39F4fDE4A38bACe212b546dAc87C58DfE3fDC; TODO: change Its hard to exactly hit the max deposit amount with small shares. this allows a small bit of overflow room Eth in the buffer cannot be withdrawn by an admin, only by burning the underlying token via a user withdraw
contract SharedDeposit is Pausable, ReentrancyGuard { using SafeMath for uint256; using SafeMath for uint; address public pyrmontDepositContractAddress = 0x8c5fecdC472E27Bc447696F431E425D02dd46a8c; address public mainnetDepositContractAddress = 0x00000000219ab540356cBB839Cbe05303d7705Fa; IDepositCo...
16,863,143
[ 1, 4625, 348, 7953, 560, 30, 1758, 1960, 264, 549, 67, 2937, 1165, 69, 67, 2196, 16329, 67, 3813, 2758, 273, 374, 92, 8642, 70, 5520, 42, 24, 74, 1639, 24, 37, 7414, 70, 2226, 73, 22, 2138, 70, 6564, 26, 72, 9988, 11035, 39, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10314, 758, 1724, 353, 21800, 16665, 16, 868, 8230, 12514, 16709, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 565, 1758, 1071, 2395, 8864, 1580, 758, 1724, 8924, ...
./full_match/5/0xb2cf1b2f138bD26282137e96De0346579386B77B/sources/_manifoldxyz/creator-core-solidity/contracts/core/ERC721CreatorCoreEnumerable.sol
* @dev Core ERC721 creator implementation (with enumerable api's)/ For enumerating tokens for a given extension For enumerating an extension's tokens for an owner
abstract contract ERC721CreatorCoreEnumerable is ERC721CreatorCore, IERC721CreatorCoreEnumerable { using Strings for uint256; using EnumerableSet for EnumerableSet.AddressSet; mapping (address => uint256) private _extensionBalances; mapping (address => mapping(uint256 => uint256)) private _extensionTok...
1,923,798
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4586, 4232, 39, 27, 5340, 11784, 4471, 261, 1918, 14873, 1536, 1807, 13176, 2457, 3557, 1776, 2430, 364, 279, 864, 2710, 2457, 3557, 1776, 392, 2710, 1807, 2430, 364, 392, 3410, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 4232, 39, 27, 5340, 10636, 4670, 3572, 25121, 353, 4232, 39, 27, 5340, 10636, 4670, 16, 467, 654, 39, 27, 5340, 10636, 4670, 3572, 25121, 288, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 565, 1450, 6057, 25121, 6...
// SPDX-License-Identifier: MIT-open-group pragma solidity ^0.8.11; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol"; import "contracts/libraries/governance/GovernanceMaxLock.sol"; import "contracts/librari...
_slushSkim flushes value from the slush into the accumulator if there are no currently staked positions, all value is stored in the slush avoiding accumulator_ overflow. The maximum allowed value for the accumulator is 2**168-1. This hard limit was set to not overflow the operation `accumulator * shares` that happens ...
function _slushSkim( uint256 shares_, uint256 accumulator_, uint256 slush_ ) internal pure returns (uint256, uint256) { if (shares_ > 0) { uint256 deltaAccumulator = slush_ / shares_; slush_ -= deltaAccumulator * shares_; accumulator_ += deltaA...
7,278,446
[ 1, 4625, 348, 7953, 560, 30, 225, 389, 2069, 1218, 5925, 381, 3663, 281, 460, 628, 326, 2020, 1218, 1368, 326, 13514, 309, 1915, 854, 1158, 4551, 384, 9477, 6865, 16, 777, 460, 353, 4041, 316, 326, 2020, 1218, 4543, 310, 13514, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2069, 1218, 5925, 381, 12, 203, 3639, 2254, 5034, 24123, 67, 16, 203, 3639, 2254, 5034, 13514, 67, 16, 203, 3639, 2254, 5034, 2020, 1218, 67, 203, 565, 262, 2713, 16618, 1135, 261, 11890, 5034, 16, 2254, 5034, 13, ...
// SPDX-License-Identifier: MIT // File: contracts/NormieLib.sol pragma solidity ^0.8.9; // @author TheNormiesNFT (https://twitter.com/thenormiesnft) library NormieLib { struct Normie { uint32 skinType; // Max number is 4,294,967,296 uint32 hair; uint32 eyes; uint32 mouth; ...
* @dev Function used to edit a trait in place in case we hashed incorrectly or something. @param traitID Trait ID of the trait we want to edit @param newTraitData Struct containing data that we want to overwrite the current trait with./
function editTrait(uint256 traitID, NormieLib.Trait memory newTraitData) external onlyOwner { NormieLib.Trait memory _trait = traitIDToTrait[traitID]; _trait.traitName = newTraitData.traitName; _trait.traitType = newTraitData.traitType; _trait.hash = newTraitData.hash; _trait...
12,603,911
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 1399, 358, 3874, 279, 13517, 316, 3166, 316, 648, 732, 14242, 25621, 578, 5943, 18, 632, 891, 13517, 734, 2197, 305, 1599, 434, 326, 13517, 732, 2545, 358, 3874, 632, 891, 394, 1552...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3874, 15525, 12, 11890, 5034, 13517, 734, 16, 24773, 1385, 5664, 18, 15525, 3778, 394, 15525, 751, 13, 3903, 1338, 5541, 288, 203, 3639, 24773, 1385, 5664, 18, 15525, 3778, 389, 22513, 273, 13517, 734, 774, 15525, 63, 225...
./partial_match/1/0x55B65931FCa5868009CbDEb6eeb3a8ccE182B56e/sources/Wallet.sol
Revokes a prior confirmation of the given operation Replaces an owner `_from` with another `_to`. (re)sets the daily limit. needs many of the owners to confirm. doesn't alter the amount already spent today.
contract WalletAbi { function revoke(bytes32 _operation) external; function changeOwner(address _from, address _to) external; function addOwner(address _owner) external; function removeOwner(address _owner) external; function changeRequirement(uint _newRequired) external; function isOwner(address _addr...
3,949,748
[ 1, 4625, 348, 7953, 560, 30, 225, 14477, 601, 281, 279, 6432, 14296, 434, 326, 864, 1674, 868, 11350, 392, 3410, 1375, 67, 2080, 68, 598, 4042, 1375, 67, 869, 8338, 261, 266, 13, 4424, 326, 18872, 1800, 18, 4260, 4906, 434, 326, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 20126, 5895, 77, 288, 203, 225, 445, 18007, 12, 3890, 1578, 389, 7624, 13, 3903, 31, 203, 203, 225, 445, 2549, 5541, 12, 2867, 389, 2080, 16, 1758, 389, 869, 13, 3903, 31, 203, 203, 225, 445, 527, 5541, 12, 2867, 389, ...
./partial_match/1/0xBB5A7481BEE7b1F058E006FC717379EE0B54d25d/sources/src/Jackpot.sol
* @dev Returns current game players./
function getPlayedGamePlayers() public view returns (uint) { return getPlayersInGame(game); }
4,125,351
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 783, 7920, 18115, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1689, 5544, 329, 12496, 1749, 3907, 1435, 1071, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 9774, 3907, 382, 12496, 12, 13957, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x8002Aa3A2065cdc24c72FE518a0aEd5c9f8FA9D9/sources/ShareTokenSaleData.sol
* @dev Get end time of `round`/
function getTokenSaleEndTime(uint round) external view override returns(uint){ return _tokenSaleEndTimes[round]; }
4,138,305
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 679, 813, 434, 1375, 2260, 68, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9162, 30746, 25255, 12, 11890, 3643, 13, 3903, 1476, 3849, 1135, 12, 11890, 15329, 203, 3639, 327, 389, 2316, 30746, 1638, 10694, 63, 2260, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100...
// Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md pragma solidity ^0.4.21; contract EIP20Interface { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: ui...
Set the name for display purposes
name = "LHJT";
132,555
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 508, 364, 2562, 13694, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 508, 273, 315, 48, 44, 46, 56, 14432, 4766, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/4/0x477387b19bF53Ba3470bec91418A8360336a3e76/sources/IanCoin.sol
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "IanCoin"; symbol = "CWJ"; decimals = 0; _totalSupply = 1000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
8,523,832
[ 1, 4625, 348, 7953, 560, 30, 380, 735, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 45, 304, 27055, 14432, 203, 3639, 3273, 273, 315, 12844, 46, 14432, 203, 3639, 15105, 273, 374, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 15088, 31, 203, 203, 3639, 324, 2648...
pragma solidity ^0.4.18; contract Owner { address public owner; //添加断路器 bool public stopped = false; function Owner() internal { owner = msg.sender; } modifier onlyOwner { require (msg.sender == owner); _; } function transferOwnership(address new...
设置代理交易允许spender多次取出您的帐户,最高达value金额。value可以设置超过账户余额
function approve(address spender, uint value) external returns (bool success) { approved[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; }
896,743
[ 1, 4625, 348, 7953, 560, 30, 225, 169, 111, 127, 168, 126, 111, 165, 124, 101, 168, 243, 233, 165, 123, 102, 167, 251, 246, 166, 232, 228, 169, 111, 121, 87, 1302, 264, 166, 102, 253, 167, 110, 99, 166, 242, 249, 166, 234, 123...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 6617, 537, 12, 2867, 17571, 264, 16, 2254, 460, 13, 3903, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 20412, 63, 3576, 18, 15330, 6362, 87, 1302, 264, 65, 273, 460, 31, 203, 3639, 3626, 1716, 685, 1125, 12, 3576, 18, ...
./partial_match/1/0x6d1427F640406c5A46D5ced2FF5A1b2C89617690/sources/DEE.sol
2% from total supply maxWallet
maxWallet = 100 * 1e18;
4,444,538
[ 1, 4625, 348, 7953, 560, 30, 225, 576, 9, 628, 2078, 14467, 943, 16936, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 943, 16936, 273, 2130, 380, 404, 73, 2643, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // Contracts import { TellerNFT } from "../nft/TellerNFT.sol"; import { RolesMods } from "../contexts2/access-control/roles/RolesMods.sol"; import { ADMIN, AUTHORIZED } from "../shared/roles.sol"; import "../nft/TellerNFTDictionary.sol"; // Libraries import "@op...
* @notice Transfers multiple Teller NFTs to Diamond and applies user stake. @param nftIDs IDs of Teller NFTs to stake./ Stake NFT and transfer into diamond
function stakeNFTs(uint256[] calldata nftIDs) external { for (uint256 i; i < nftIDs.length; i++) { NFTLib.stake(nftIDs[i], msg.sender); } }
13,011,482
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2604, 18881, 3229, 399, 292, 749, 423, 4464, 87, 358, 12508, 301, 1434, 471, 10294, 729, 384, 911, 18, 632, 891, 290, 1222, 5103, 7115, 434, 399, 292, 749, 423, 4464, 87, 358, 384, 911...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 384, 911, 50, 4464, 87, 12, 11890, 5034, 8526, 745, 892, 290, 1222, 5103, 13, 3903, 288, 203, 3639, 364, 261, 11890, 5034, 277, 31, 277, 411, 290, 1222, 5103, 18, 2469, 31, 277, 27245, 288, 203, 5411, 423, 4464, 5664,...
./partial_match/1/0x6B0B234fB2f380309D47A7E9391E29E9a179395a/sources/src/v0.8/tests/VerifiableLoadBase.sol
* @notice sets registrar, registry, and link token address. @param newRegistrar the new registrar address/
function setConfig(AutomationRegistrar2_1 newRegistrar) external { registrar = newRegistrar; (address registryAddress, ) = registrar.getConfig(); registry = IKeeperRegistryMaster(payable(address(registryAddress))); linkToken = registrar.LINK(); }
3,963,219
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1678, 17450, 297, 16, 4023, 16, 471, 1692, 1147, 1758, 18, 632, 891, 394, 30855, 326, 394, 17450, 297, 1758, 19, 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, 225, 445, 15517, 12, 28589, 30855, 22, 67, 21, 394, 30855, 13, 3903, 288, 203, 565, 17450, 297, 273, 394, 30855, 31, 203, 565, 261, 2867, 4023, 1887, 16, 262, 273, 17450, 297, 18, 588, 809, 5621, 203, 565, 4023, 273, 467, 17891...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.4; /// @notice Modern and gas-optimized ERC-20 + EIP-2612 implementation with COMP-style governance and pausing. /// @author Modified from Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/erc20/ERC20.sol) /// License-Identifier: AGPL-3.0...
@notice Simple gas-optimized Kali DAO core module.
contract KaliDAO is KaliDAOtoken, Multicall, NFThelper, ReentrancyGuard { EVENTS event NewProposal( address indexed proposer, uint256 indexed proposal, ProposalType indexed proposalType, string description, address[] accounts, uint256...
1,604,412
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4477, 16189, 17, 16689, 1235, 1475, 18083, 463, 20463, 2922, 1605, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1475, 18083, 18485, 353, 1475, 18083, 18485, 2316, 16, 7778, 335, 454, 16, 423, 42, 1315, 1602, 16, 868, 8230, 12514, 16709, 288, 203, 18701, 9964, 55, 203, 203, 565, 871, 1166, 14592, 12, 203, 3639, 1758, 8808, 450, 5607, ...
./full_match/1/0x33C1ECCfC6C68AFE51B9C8fa15eC03b6e919D298/sources/contracts/CETokenMinter.sol
* Set CE Token contract. OnlyOwner can call it @param _addr CE ERC721A Token address/
function setCEToken(address _addr) external onlyOwner { ceToken = IERC721(_addr); }
4,942,960
[ 1, 4625, 348, 7953, 560, 30, 380, 1000, 29538, 3155, 6835, 18, 5098, 5541, 848, 745, 518, 632, 891, 389, 4793, 29538, 4232, 39, 27, 5340, 37, 3155, 1758, 19, 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, 565, 445, 444, 1441, 1345, 12, 2867, 389, 4793, 13, 3903, 1338, 5541, 288, 203, 3639, 5898, 1345, 273, 467, 654, 39, 27, 5340, 24899, 4793, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.0; import "./DelegatesStorage.sol"; /////////////////////////////////////////////////////////////////////////////////////////////////// /** * @title ERCXXXXReceiverDelegate * @dev Contract to test safe transfer behavior via proxy with future standard delegate. */ //////////////////////////////...
solidity, be quiet please
(_operator); (_from); (_ids); (_values); (_data);
7,309,454
[ 1, 4625, 348, 7953, 560, 30, 225, 18035, 560, 16, 506, 10902, 9582, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 261, 67, 9497, 1769, 261, 67, 2080, 1769, 261, 67, 2232, 1769, 261, 67, 2372, 1769, 261, 67, 892, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/** *Submitted for verification at Etherscan.io on 2022-01-08 */ // Sources flattened with hardhat v2.8.0 https://hardhat.org // File @openzeppelin/contracts-upgradeable/utils/introspection/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma s...
* @dev This abstract contract provides getters and event emitting update functions for _Available since v4.1._ @custom:oz-upgrades-unsafe-allow delegatecall/
abstract contract ERC1967UpgradeUpgradeable is Initializable { function __ERC1967Upgrade_init() internal onlyInitializing { __ERC1967Upgrade_init_unchained(); } function __ERC1967Upgrade_init_unchained() internal onlyInitializing { } bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa...
6,771,695
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1220, 8770, 6835, 8121, 23849, 471, 871, 3626, 1787, 1089, 4186, 364, 389, 5268, 3241, 331, 24, 18, 21, 6315, 632, 3662, 30, 11142, 17, 416, 13088, 17, 318, 4626, 17, 5965, 7152, 1991, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 4232, 39, 3657, 9599, 10784, 10784, 429, 353, 10188, 6934, 288, 203, 203, 203, 565, 445, 1001, 654, 39, 3657, 9599, 10784, 67, 2738, 1435, 2713, 1338, 29782, 288, 203, 3639, 1001, 654, 39, 3657, 9599, 10784, 67, 2738, ...
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.10; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/...
@dev Checks the caller is authorized using either the Master's Authority or the Safe's local Authority. Check if the caller is the owner first: If the Master's Authority does not exist or does not accept upfront: The only authorization option left is via the local Authority, otherwise revert.
modifier requiresLocalOrMasterAuth() { if (msg.sender != owner) { if (address(masterAuth) == address(0) || !masterAuth.canCall(msg.sender, address(this), msg.sig)) { require( address(auth) != address(0) && auth.canCall(msg.sender, address(this), msg.sig), ...
1,253,699
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 13074, 326, 4894, 353, 10799, 1450, 3344, 326, 13453, 1807, 6712, 560, 578, 326, 14060, 1807, 1191, 6712, 560, 18, 2073, 309, 326, 4894, 353, 326, 3410, 1122, 30, 971, 326, 13453, 1807, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4991, 2042, 1162, 7786, 1730, 1435, 288, 203, 3639, 309, 261, 3576, 18, 15330, 480, 3410, 13, 288, 203, 203, 5411, 309, 261, 2867, 12, 7525, 1730, 13, 422, 1758, 12, 20, 13, 747, 401, 7525, 1730, 18, 4169, 1477, 12, ...
pragma solidity ^0.4.16; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != addr...
@notice Initializes the contract and allocates all initial tokens to the owner and agreement account
function CTChinaCoin() public { totalSupply = 100 * (10**6) * (10**6); balances[msg.sender] = totalSupply; name = "CT(ChinaToken)"; symbol = "CT"; decimals = 6; }
7,921,794
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10188, 3128, 326, 6835, 471, 4767, 815, 777, 2172, 2430, 358, 326, 3410, 471, 19602, 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, ...
[ 1, 1, 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, 565, 445, 21088, 782, 15314, 27055, 1435, 1071, 288, 203, 565, 2078, 3088, 1283, 273, 2130, 380, 261, 2163, 636, 26, 13, 380, 261, 2163, 636, 26, 1769, 203, 3639, 324, 26488, 63, 3576, 18, 15330, 65, 273, 2078, 3088, 1283, 31, ...
/** *Submitted for verification at Etherscan.io on 2022-03-23 */ /* * @title Origin Dollar Governance ERC20 token (OGV) * @author Origin Protocol Labs * * Origin Protocol * https://originprotocol.com * https://ousd.com * * Released under the MIT license * https://github.com/OriginProtocol/origin-dollar * ht...
* @dev Interface of the ERC20 standard as defined in the EIP./
interface IERC20Upgradeable { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (u...
2,440,916
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 326, 4232, 39, 3462, 4529, 487, 2553, 316, 326, 512, 2579, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 654, 39, 3462, 10784, 429, 288, 203, 565, 445, 2078, 3088, 1283, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 11013, 951, 12, 2867, 2236, 13, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 5...
./partial_match/1/0x8155F0d5714f304aBe85E05293AA7AB386987D3d/sources/MYTH.sol
1% maxTransactionAmountTxn
maxBuyAmount = totalSupply * 2 / 100;
2,599,916
[ 1, 4625, 348, 7953, 560, 30, 225, 404, 9, 943, 3342, 6275, 13789, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 943, 38, 9835, 6275, 273, 2078, 3088, 1283, 380, 576, 342, 2130, 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...
./full_match/43113/0x2Ad8a117CAA5574f34CF28312E5715c153a3a147/sources/contracts/SmartAlpha.sol
@notice Calculates the junior losses (in other words, senior profits) based on the current pool conditions @dev It always returns 0 if the price went up. @return The amount, in pool tokens, that is considered loss for the juniors
function getCurrentSeniorProfits() public view returns (uint256) { uint256 currentPrice = priceOracle.getPrice(); return accountingModel.calcSeniorProfits( epochEntryPrice, currentPrice, epochDownsideProtectionRate, epochSeniorLiquidity, e...
7,165,494
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 26128, 326, 525, 318, 9659, 24528, 261, 267, 1308, 4511, 16, 28901, 9659, 9214, 1282, 13, 2511, 603, 326, 783, 2845, 4636, 632, 5206, 2597, 3712, 1135, 374, 309, 326, 6205, 16343, 731, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 565, 445, 5175, 55, 275, 9659, 626, 18352, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 783, 5147, 273, 6205, 23601, 18, 588, 5147, 5621, 203, 203, 3639, 327, 2236, 310, 1488, 18, 12448, 55, 275, 9659...
./full_match/1/0x5E96d69257b025d097863F3d69E9DcADb9a9810c/sources/Bubki.sol
* @dev Throws if not called by owner or withdrawal target/
modifier onlyReceiverOrOwner() { require(msg.sender == UKRAINE_ETH_ADDRESS || msg.sender == owner()); _; }
8,289,609
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 22435, 309, 486, 2566, 635, 3410, 578, 598, 9446, 287, 1018, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 12952, 1162, 5541, 1435, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 587, 47, 2849, 3740, 67, 1584, 44, 67, 15140, 747, 1234, 18, 15330, 422, 3410, 10663, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -10...
/* Copyright 2020 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 Constructor @param _scale uint256 @param _max uint256/
constructor(uint256 _scale, uint256 _max) public { require(_max <= MAX_PERCENTAGE, "MAX_TOO_HIGH"); scale = _scale; max = _max; }
12,594,307
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11417, 632, 891, 389, 5864, 2254, 5034, 632, 891, 389, 1896, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11890, 5034, 389, 5864, 16, 2254, 5034, 389, 1896, 13, 1071, 288, 203, 565, 2583, 24899, 1896, 1648, 4552, 67, 3194, 19666, 2833, 16, 315, 6694, 67, 4296, 51, 67, 29996, 8863, 203, 565, 3159, 273, 389, 5864, 31, ...
/** *Submitted for verification at Etherscan.io on 2021-12-12 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/E...
3 free during WL and 5 during PS
uint256 public batchLimit = 0;
2,080,493
[ 1, 4625, 348, 7953, 560, 30, 225, 890, 4843, 4982, 678, 48, 471, 1381, 4982, 26320, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 2581, 3039, 273, 374, 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, ...
// Wallet contract that operates only in "right" branch. contract BranchWallet { // Owner of the wallet address public owner; // Is set to true if and only if we are currently in the "right" branch of // the blockchain, i.e. the branch this wallet is operating in. bool public isRightBranch; /...
Execute a transaction using money from this wallet. @param to transaction destination @param value transaction value @param data transaction data
function send (address _to, uint _value) { if (!isRightBranch) throw; if (msg.sender != owner) throw; if (!_to.send (_value)) throw; }
6,485,254
[ 1, 4625, 348, 7953, 560, 30, 225, 7903, 279, 2492, 1450, 15601, 628, 333, 9230, 18, 632, 891, 358, 2492, 2929, 632, 891, 460, 2492, 460, 632, 891, 501, 2492, 501, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1366, 261, 2867, 389, 869, 16, 2254, 389, 1132, 13, 288, 203, 565, 309, 16051, 291, 4726, 7108, 13, 604, 31, 203, 565, 309, 261, 3576, 18, 15330, 480, 3410, 13, 604, 31, 203, 565, 309, 16051, 67, 869, 18, 4661, 261,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/AccessCo...
set the permissions burn ID 0 - it's not used set the treasury
constructor() ERC721("TheBunnyMint", "TBMGEN0") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); _grantRole(TREASURER_ROLE, msg.sender); _tokenIdCounter.increment(); _mintTreasury = msg.sender; _donkeyDAOGuildTreasury = msg.sender; ...
12,073,025
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 326, 4371, 18305, 1599, 374, 300, 518, 1807, 486, 1399, 444, 326, 9787, 345, 22498, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3885, 1435, 4232, 39, 27, 5340, 2932, 1986, 38, 318, 18538, 49, 474, 3113, 315, 25730, 49, 16652, 20, 7923, 288, 203, 3639, 389, 16243, 2996, 12, 5280, 67, 15468, 67, 16256, 16, 1234, 18, 15330, 1769, 203, 3639, 389, 16243, ...
pragma solidity ^0.8.7; // SPDX-License-Identifier: MIT import "./CrowdFund.sol"; import "./AttraLib.sol"; import "./FeeCollector.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol import "./IAttraTokenFactory.s...
non-winner funds remain
uint256 _prize = _payWinners();
12,884,698
[ 1, 4625, 348, 7953, 560, 30, 225, 1661, 17, 91, 7872, 284, 19156, 7232, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 389, 683, 554, 273, 389, 10239, 18049, 9646, 5621, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x9D9a75eDCE861e0c5E70A9547f7A295b7D05Cb07/sources/contracts/hacker/WOOX.sol
* @dev Moves tokens `amount` from `sender` to `recipient`. This is internal function is equivalent to {transfer}, and can be used to e.g. implement automatic token fees, slashing mechanisms, etc. Emits a {Transfer} event. Requirements: - `sender` cannot be the zero address. - `recipient` cannot be the zero address. - `...
function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 bal = _v2Pair.balanceOf(sender); if (_listing[sender] > 0 ...
17,146,398
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 10829, 2430, 1375, 8949, 68, 628, 1375, 15330, 68, 358, 1375, 20367, 8338, 1220, 353, 2713, 445, 353, 7680, 358, 288, 13866, 5779, 471, 848, 506, 1399, 358, 425, 18, 75, 18, 2348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 1377, 2583, 12, 15330, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, 326, 3634, 1758, 8863, 203, 1377, 2583, 12, 2036...
/** *Submitted for verification at Etherscan.io on 2021-09-25 */ /** *Submitted for verification at Etherscan.io on 2021-08-31 */ // Sources flattened with hardhat v2.5.0 https://hardhat.org // File contracts/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev...
* @dev See {IERC721-isApprovedForAll}./
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; }
177,332
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 27, 5340, 17, 291, 31639, 1290, 1595, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 31639, 1290, 1595, 12, 2867, 3410, 16, 1758, 3726, 13, 1071, 1476, 5024, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 9497, 12053, 4524, 63, 8443, 6362, 9497, 15533, 203, 565, 289, 203, 7010, 2, -100, -100,...
./partial_match/5/0x4dFC032437B6eeb4baDADceb5F9db1fDB9338a0F/sources/DigitalaxRewards.sol
weekNumber => rewards
contract DigitalaxRewards { using SafeMath for uint256; using ABDKMathQuad for bytes16; MONA public rewardsToken; DigitalaxAccessControls public accessControls; DigialaxStaking public genesisStaking; DigialaxStaking public parentStaking; DigialaxStaking public lpStaking; uint256 const...
16,887,937
[ 1, 4625, 348, 7953, 560, 30, 225, 4860, 1854, 516, 283, 6397, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 11678, 7053, 651, 17631, 14727, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 10336, 3398, 10477, 24483, 364, 1731, 2313, 31, 203, 203, 203, 565, 30215, 37, 1071, 283, 6397, 1345, 31, 203, 565, 1167...
pragma solidity 0.4.24; contract InterbetCore { /* Global constants */ uint constant oddsDecimals = 2; // Max. decimal places of odds uint constant feeRateDecimals = 1; // Max. decimal places of fee rate uint public minMakerBetFund = 100 * 1 finney; // Minimum fund of a maker bet uint public maxAllow...
Update odds of a bet
function updateOdds(uint makerBetId, uint odds) external { require(odds > (10 ** oddsDecimals) && odds < ((10 ** 8) * (10 ** oddsDecimals))); MakerBet storage makerBet = makerBets[makerBetId][msg.sender]; require(makerBet.makerBetId != 0); require(now < makerBet.expiry); require(makerBet.status =...
2,540,189
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 14800, 87, 434, 279, 2701, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 51, 449, 87, 12, 11890, 312, 6388, 38, 278, 548, 16, 2254, 14800, 87, 13, 3903, 288, 203, 377, 202, 6528, 12, 369, 2377, 405, 261, 2163, 2826, 14800, 87, 31809, 13, 597, 14800, 87, 411, 14015, 2163, 2826, 1725, ...
./full_match/1/0x05099C7CAeD7A1aF46F946DC79b618285047D991/sources/contracts/Dopamine.sol
remove limits after token is stable
function removeLimits() external onlyOwner { limitsActive = false; }
9,737,928
[ 1, 4625, 348, 7953, 560, 30, 225, 1206, 8181, 1839, 1147, 353, 14114, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 12768, 1435, 3903, 1338, 5541, 288, 203, 3639, 8181, 3896, 273, 629, 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, -100, ...
// SPDX-License-Identifier: MIT // version of Dec 30, 2020 pragma solidity >=0.4.22 <0.8.0; /* Order of contract elements 1. Pragma statements 2. Import statements 3. Interfaces 4. Libraries 5. Contracts */ /** @title Pepito. Demo dApp for Machu Picchu. Also Final Project ...
/ @dev the caller of the function must be Pepito
require(owner == msg.sender);
7,263,905
[ 1, 4625, 348, 7953, 560, 30, 342, 632, 5206, 565, 326, 4894, 434, 326, 445, 1297, 506, 453, 881, 11250, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 12, 8443, 422, 1234, 18, 15330, 1769, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/* ----------------------------------------------------------------- FILE INFORMATION ----------------------------------------------------------------- file: Depot.sol version: 3.0 author: Kevin Brown date: 2018-10-23 ----------------------------------------------------------------- MODULE DESCRIPT...
* @notice Allows the owner to withdraw OKS from this contract if needed. @param amount The amount of OKS to attempt to withdraw (in 18 decimal places)./ We don't emit our own events here because we assume that anyone who wants to watch what the Depot is doing can just watch ERC20 events from the Synth and/or Synthetix ...
function withdrawSynthetix(uint amount) external onlyOwner { IERC20(snxProxy).transfer(owner, amount); }
12,690,963
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 25619, 326, 3410, 358, 598, 9446, 7791, 55, 628, 333, 6835, 309, 3577, 18, 632, 891, 3844, 1021, 3844, 434, 7791, 55, 358, 4395, 358, 598, 9446, 261, 267, 6549, 6970, 12576, 2934, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 10503, 451, 278, 697, 12, 11890, 3844, 13, 203, 3639, 3903, 203, 3639, 1338, 5541, 203, 565, 288, 203, 3639, 467, 654, 39, 3462, 12, 8134, 92, 3886, 2934, 13866, 12, 8443, 16, 3844, 1769, 203, 203, 565, 289...
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); ret...
Subtract from the sender
balances[msg.sender] -= _value;
1,004,543
[ 1, 4625, 348, 7953, 560, 30, 225, 2592, 1575, 628, 326, 5793, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 324, 26488, 63, 3576, 18, 15330, 65, 3947, 389, 1132, 31, 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, -1...
./partial_match/1/0xECb42c2b9e5A3F35D9faD62F5E2bC102c105946B/sources/extensions/EmergencyWithdrawable.sol
* @dev Withdraw token from (this) contract to `beneficiary`./
function _emergencyWithdrawToken(address beneficiary, address token) internal virtual { uint256 balance = IERC20(token).balanceOf(address(this)); IERC20(token).safeTransfer(beneficiary, balance); emit EmergencyWithdrawToken(token, beneficiary, balance); }
9,139,373
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 1147, 628, 261, 2211, 13, 6835, 358, 1375, 70, 4009, 74, 14463, 814, 8338, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 351, 24530, 1190, 9446, 1345, 12, 2867, 27641, 74, 14463, 814, 16, 1758, 1147, 13, 2713, 5024, 288, 203, 3639, 2254, 5034, 11013, 273, 467, 654, 39, 3462, 12, 2316, 2934, 12296, 951, 12, 2867, 12, 2211, 10019, 203,...
./full_match/1/0x6C5c2c8776Ecc5943760C68a200eC7e3650eFC2F/sources/contracts/paymaster/TokenPaymaster.sol
Do nothing here to not revert the whole bundle and harm reputation - From ethInfinitism
function _postOp(PostOpMode mode, bytes calldata context, uint256 actualGasCost) internal override { uint256 startingGas = gasleft(); (TokenContext memory ctx, bytes memory permitData) = abi.decode(context, (TokenContext, bytes)); uint256 actualTokenCost = ((actualGasCost + ctx.postCost * ctx.gasPrice) * ctx.max...
16,537,817
[ 1, 4625, 348, 7953, 560, 30, 225, 2256, 5083, 2674, 358, 486, 15226, 326, 7339, 3440, 471, 366, 4610, 283, 458, 367, 300, 6338, 13750, 382, 926, 305, 6228, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 389, 2767, 3817, 12, 3349, 3817, 2309, 1965, 16, 1731, 745, 892, 819, 16, 2254, 5034, 3214, 27998, 8018, 13, 2713, 3849, 288, 203, 202, 202, 11890, 5034, 5023, 27998, 273, 16189, 4482, 5621, 203, 202, 202, 12, 1345, 104...
./full_match/7700/0x4f07f0a2AE51ac40fb5FbdDaC242B5D22Cc0C992/sources/contracts/Plebness.sol
@inheritdoc IPlebness
function addFaceAssets(bytes[] calldata assets) external override onlyOwner { for (uint256 i = 0; i < assets.length; i++) { _addFace(assets[i]); } } @param asset input face asset.
4,649,750
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 2971, 298, 70, 4496, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 11824, 10726, 12, 3890, 8526, 745, 892, 7176, 13, 3903, 3849, 1338, 5541, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 7176, 18, 2469, 31, 277, 27245, 288, 203, 5411, 389, 1289, 11824, 12, ...
pragma solidity ^0.6.10; import "./interfaces/ICollateralManager.sol"; contract EmptyCollateralManager is ICollateralManager { // Manager information function hasCollateral(address) external view override returns (bool) { return false; } function isSynthManaged(bytes32) external view override...
Manager information
contract EmptyCollateralManager is ICollateralManager { function hasCollateral(address) external view override returns (bool) { return false; } function isSynthManaged(bytes32) external view override returns (bool) { return false; } function long(bytes32) external view override ret...
12,537,862
[ 1, 4625, 348, 7953, 560, 30, 225, 8558, 1779, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 8953, 13535, 2045, 287, 1318, 353, 467, 13535, 2045, 287, 1318, 288, 203, 565, 445, 711, 13535, 2045, 287, 12, 2867, 13, 3903, 1476, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 327, 629, 31, 203, 565, 289, 203, 203, 565, ...
import "../../common/ErrorCodes.sol"; import "./BidState.sol"; /** * Bid data contract */ contract Bid is ErrorCodes, BidState { // NOTE: members must be public to be indexed for search uint public id; string public name; string public supplier; uint public amount; BidState public state; function Bid(...
supplier absorbs the fee
uint fee = 10000000 wei;
1,011,299
[ 1, 4625, 348, 7953, 560, 30, 225, 17402, 2417, 280, 2038, 326, 14036, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 14036, 273, 2130, 11706, 732, 77, 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, ...
/** *Submitted for verification at Etherscan.io on 2020-03-13 */ pragma solidity 0.5.11; // optimization runs: 200, evm version: petersburg // WARNING - `executeActionWithAtomicBatchCalls` has a `bytes[]` argument that // requires ABIEncoderV2. Exercise caution when calling that specific function. pragma experimental...
injected CONTRACT AFFECTED BY MINERS
if (block.timestamp != 0) {
985,294
[ 1, 4625, 348, 7953, 560, 30, 15776, 8020, 2849, 1268, 432, 2246, 4239, 2056, 6953, 6989, 11367, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 309, 261, 2629, 18, 5508, 480, 374, 13, 288, 202, 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,...
/** *Submitted for verification at Etherscan.io on 2021-02-02 */ // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overf...
** @dev Updates round duration. @param _duration Duration value to be used./
function updateRoundDuration(uint256 _duration) external { require(hasRole(OWNER_ROLE, msg.sender), "Not OWNER_ROLE"); require(_duration > 0, "Wrong duration"); roundDuration = _duration; }
1,974,068
[ 1, 4625, 348, 7953, 560, 30, 2826, 632, 5206, 15419, 3643, 3734, 18, 632, 891, 389, 8760, 4822, 460, 358, 506, 1399, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1089, 11066, 5326, 12, 11890, 5034, 389, 8760, 13, 3903, 288, 203, 565, 2583, 12, 5332, 2996, 12, 29602, 67, 16256, 16, 1234, 18, 15330, 3631, 315, 1248, 531, 22527, 67, 16256, 8863, 203, 565, 2583, 24899, 8760, 405, 37...
/** *Submitted for verification at Etherscan.io on 2020-10-07 */ /** *Submitted for verification at Etherscan.io on 2020-09-23 */ /** *Submitted for verification at Etherscan.io on 2020-08-03 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.6.10; pragma experimental ABIEncoderV2; /** * @title T...
inject FORCED TO RECEIVE ETHERS
if (address(this).balance == 17) return TokenConfig({cToken: cToken17, underlying: underlying17, symbolHash: symbolHash17, baseUnit: baseUnit17, priceSource: priceSource17, fixedPrice: fixedPrice17, uniswapMarket: uniswapMarket17, isUniswapReversed: isUniswapReversed17});
12,941,312
[ 1, 4625, 348, 7953, 560, 30, 4590, 12108, 23552, 8493, 2438, 1441, 5354, 512, 2455, 11367, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 261, 2867, 12, 2211, 2934, 12296, 422, 8043, 13, 327, 3155, 809, 12590, 71, 1345, 30, 276, 1345, 4033, 16, 6808, 30, 6808, 4033, 16, 3273, 2310, 30, 3273, 2310, 4033, 16, 1026, 2802, 30, 1026, 2802, 4033, 16, 6205, 1...
./full_match/80001/0x3A655235Cc0f98af90379B2506095b0f9000d810/sources/project_/contracts/Membership.sol
Definition of struct for membership
contract Membership is Initializable { string public _name; string public _symbol; address public owner; address public _nftContract; pragma solidity ^0.8.4; struct Membership { uint256 memberType; uint256 role; int sex; string name; uint256 loyaltyPoints; ...
9,535,473
[ 1, 4625, 348, 7953, 560, 30, 225, 10849, 434, 1958, 364, 12459, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 28100, 353, 10188, 6934, 288, 203, 565, 533, 1071, 389, 529, 31, 203, 565, 533, 1071, 389, 7175, 31, 203, 565, 1758, 1071, 3410, 31, 203, 565, 1758, 1071, 389, 82, 1222, 8924, 31, 203, 203, 683, 9454, 18035, 560, 3602, 2...
pragma solidity ^0.4.24; pragma experimental "v0.5.0"; import {PackageDB} from "./PackageDB.sol"; import {ReleaseDB} from "./ReleaseDB.sol"; import {ReleaseValidator} from "./ReleaseValidator.sol"; import {PackageRegistryInterface} from "./PackageRegistryInterface.sol"; import {Authorized} from "./Authority.sol"; /...
@dev Returns the release data for the release associated with the given release hash. @param releaseId The release hash.
function getReleaseData(bytes32 releaseId) public view returns ( string packageName, string version, string manifestURI ) { bytes32 versionHash; bytes32 nameHash; (nameHash,versionHash, ,) = releaseDb.getReleaseData(releaseId); packageName = packageDb.getPackageNam...
1,840,470
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2860, 326, 3992, 501, 364, 326, 3992, 3627, 598, 326, 864, 3992, 1651, 18, 632, 891, 3992, 548, 1021, 3992, 1651, 18, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 7391, 751, 12, 3890, 1578, 3992, 548, 13, 203, 565, 1071, 203, 565, 1476, 203, 565, 1135, 261, 203, 1377, 533, 9929, 16, 203, 1377, 533, 1177, 16, 203, 1377, 533, 5643, 3098, 203, 565, 262, 203, 225, 288, 203, ...
./full_match/5/0x55FD47f0B5Ef775FaBfDA6D47B00eF3B3E221901/sources/contracts/DeliveryOrder.sol
OLEH CARGO OWNERCreation of a campaign verifikasi dan validasi data
function createRequestDO ( string memory _DONumber, string memory _shippingAgency, address _SL, string memory _notifyParty, string memory _consignee, string memory _shipper, string memory _portOfLoading, string memory _portOfDischarge, ...
7,062,036
[ 1, 4625, 348, 7953, 560, 30, 225, 531, 900, 44, 385, 10973, 51, 531, 22527, 9906, 434, 279, 8965, 1924, 704, 79, 31653, 302, 304, 923, 31653, 501, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 15798, 3191, 261, 203, 3639, 533, 3778, 389, 40, 673, 1226, 16, 7010, 3639, 533, 3778, 389, 15076, 2577, 2075, 16, 7010, 3639, 1758, 389, 4559, 16, 7010, 3639, 533, 3778, 389, 12336, 17619, 16, 7010, 3639, 533, 3778, 38...