file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; // Inheritance import "./Owned.sol"; import "./MixinResolver.sol"; import "./MixinSystemSettings.sol"; import "./interfaces/ISynthetixBridgeToOptimism.sol"; // Internal references import "./interfaces/ISynthetix.sol"; import "./interfaces/IERC20.sol"; import ...
loop through the entryID array Cannot send more than MAX_ENTRIES_MIGRATED_PER_MESSAGE entries due to ovm gas restrictions Burn their reward escrow first Note: escrowSummary would lose the fidelity of the weekly escrows, so this may not be sufficient if there is an escrow amount to be migrated create message payload fo...
function _initiateEscrowMigration(uint256[][] memory _entryIDs) private { for (uint256 i = 0; i < _entryIDs.length; i++) { require(_entryIDs[i].length <= MAX_ENTRIES_MIGRATED_PER_MESSAGE, "Exceeds max entries per migration"); uint256 escrowedAccountBalance; VestingEntries...
15,858,824
[ 1, 4625, 348, 7953, 560, 30, 225, 2798, 3059, 326, 1241, 734, 526, 14143, 1366, 1898, 2353, 4552, 67, 2222, 2259, 3991, 67, 49, 3047, 54, 6344, 67, 3194, 67, 8723, 3222, 6541, 358, 320, 3489, 16189, 17499, 605, 321, 3675, 19890, 290...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2738, 3840, 6412, 492, 10224, 12, 11890, 5034, 63, 6362, 65, 3778, 389, 4099, 5103, 13, 3238, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 389, 4099, 5103, 18, 2469, 31, 277, 27245, 288, 20...
pragma solidity ^0.4.24; contract F3Devents { // fired whenever a player registers a name event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, ...
20% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot
fees_[2] = F3Ddatasets.TeamFee(52,10);
1,165,502
[ 1, 4625, 348, 7953, 560, 30, 4200, 9, 358, 5974, 16, 1728, 9, 358, 7103, 16, 576, 9, 358, 532, 16, 404, 9, 358, 5974, 7720, 16, 404, 9, 358, 23350, 3640, 5974, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 1656, 281, 67, 63, 22, 65, 273, 478, 23, 40, 21125, 18, 8689, 14667, 12, 9401, 16, 2163, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xf2056C2E7629AFb306543425cB94590276E63bd8/sources/TokenERC20.sol
Public variables of the token 18 decimals is the strongly suggested default, avoid changing it This creates an array with all balances This generates a public event on the blockchain that will notify clients This generates a public event on the blockchain that will notify clients This notifies clients about the amount...
contract TokenERC20 { string public name; string public symbol; uint8 public decimals = 8; uint256 public totalSupply; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from, address indexed to,...
2,879,221
[ 1, 4625, 348, 7953, 560, 30, 225, 7224, 3152, 434, 326, 1147, 6549, 15105, 353, 326, 11773, 715, 22168, 805, 16, 4543, 12770, 518, 1220, 3414, 392, 526, 598, 777, 324, 26488, 1220, 6026, 279, 1071, 871, 603, 326, 16766, 716, 903, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 3155, 654, 39, 3462, 288, 203, 565, 533, 1071, 508, 31, 203, 565, 533, 1071, 3273, 31, 203, 565, 2254, 28, 1071, 15105, 273, 1725, 31, 203, 565, 2254, 5034, 1071, 2078, 3088, 1283, 31, 203, 203, 565, 2874, 261, 2867, 516...
/** * SPDX-License-Identifier: UNLICENSED */ pragma solidity 0.6.10; pragma experimental ABIEncoderV2; import {SafeMath} from "./packages/oz/SafeMath.sol"; import {OtokenInterface} from "./interfaces/OtokenInterface.sol"; import {OracleInterface} from "./interfaces/OracleInterface.sol"; import {ERC20Interface} from ...
* @notice convert an amount in asset A to equivalent amount of asset B, based on a live price @dev function includes the amount and applies .mul() first to increase the accuracy @param _amount amount in asset A @param _assetA asset A @param _assetB asset B @return _amount in asset B/
function _convertAmountOnLivePrice( FPI.FixedPointInt memory _amount, address _assetA, address _assetB ) internal view returns (FPI.FixedPointInt memory) { OracleInterface oracle = OracleInterface(AddressBookInterface(addressBook).getOracle()); if (_assetA == _assetB) { ...
15,792,993
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1765, 392, 3844, 316, 3310, 432, 358, 7680, 3844, 434, 3310, 605, 16, 2511, 603, 279, 8429, 6205, 632, 5206, 445, 6104, 326, 3844, 471, 10294, 263, 16411, 1435, 1122, 358, 10929, 326, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6283, 6275, 1398, 12328, 5147, 12, 203, 3639, 478, 1102, 18, 7505, 2148, 1702, 3778, 389, 8949, 16, 203, 3639, 1758, 389, 9406, 37, 16, 203, 3639, 1758, 389, 9406, 38, 203, 565, 262, 2713, 1476, 1135, 261, 42, 11...
./full_match/1/0xC0aBdCd8B34C0B28258791726656B390BE7113cA/sources/contracts/marketplace/v2/CentMarketPlace.sol
@notice Method used to purchase a market Order. @param voucher The signed voucher from the seller containing the order data. @dev emits: MarketOrderSold @dev throws: WrongSigner, ExpiredOrder, WrongAmount, FailedTransfer, TokenNotFound @dev before calling this method check the buyer approval for ERC20 token transfer, ...
function executeOrder( CentOrderVoucher calldata voucher ) external payable nonReentrant { _executeOrder(voucher, _msgSender()); }
16,508,375
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2985, 1399, 358, 23701, 279, 13667, 4347, 18, 632, 891, 331, 14329, 1021, 6726, 331, 14329, 628, 326, 29804, 4191, 326, 1353, 501, 18, 632, 5206, 24169, 30, 6622, 278, 2448, 55, 1673, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1836, 2448, 12, 203, 3639, 22321, 2448, 19585, 745, 892, 331, 14329, 203, 565, 262, 3903, 8843, 429, 1661, 426, 8230, 970, 288, 203, 3639, 389, 8837, 2448, 12, 90, 14329, 16, 389, 3576, 12021, 10663, 203, 565, 289, 203,...
./full_match/43113/0x1371314364F0E998f2E9667dF1a0702DEAA73E66/sources/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol
* Request to whitelist `_voter` account to ftso at `_ftsoIndex`. Will revert if vote power too low. May be called by any address./
function requestWhitelistingVoter(address _voter, uint256 _ftsoIndex) external override { if (_isTrustedAddress(_voter)) { revert("trusted address"); } bool success = _requestWhitelistingVoter(_voter, _ftsoIndex); require(success, "vote power too low"); }
7,109,276
[ 1, 4625, 348, 7953, 560, 30, 380, 1567, 358, 10734, 1375, 67, 90, 20005, 68, 2236, 358, 11038, 2048, 622, 1375, 67, 1222, 2048, 1016, 8338, 9980, 15226, 309, 12501, 7212, 4885, 4587, 18, 16734, 506, 2566, 635, 1281, 1758, 18, 19, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 590, 18927, 310, 58, 20005, 12, 2867, 389, 90, 20005, 16, 2254, 5034, 389, 1222, 2048, 1016, 13, 3903, 3849, 288, 203, 3639, 309, 261, 67, 291, 16950, 1887, 24899, 90, 20005, 3719, 288, 203, 5411, 15226, 2932, 25247, 17...
./partial_match/1/0x53b2F6BEBaA82aCAD31afdd93b1236C3F4F2F310/sources/MandoxGem.sol
* @dev Contract module which allows children to implement an emergency stop mechanism that can be triggered by an authorized account. This module is used through inheritance. It will make available the modifiers `whenNotPaused` and `whenPaused`, which can be applied to the functions of your contract. Note that they wil...
abstract contract Pausable is Context { event Paused(address account); event Unpaused(address account); bool private _paused; pragma solidity ^0.8.0; constructor() { _paused = false; } modifier whenNotPaused() { _requireNotPaused(); _; } modifier whenPaused()...
15,654,600
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 1605, 1492, 5360, 2325, 358, 2348, 392, 801, 24530, 2132, 12860, 716, 848, 506, 10861, 635, 392, 10799, 2236, 18, 1220, 1605, 353, 1399, 3059, 16334, 18, 2597, 903, 1221, 2319, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 21800, 16665, 353, 1772, 288, 203, 565, 871, 21800, 3668, 12, 2867, 2236, 1769, 203, 203, 565, 871, 1351, 8774, 3668, 12, 2867, 2236, 1769, 203, 203, 565, 1426, 3238, 389, 8774, 3668, 31, 203, 203, 683, 9454, 18035, ...
./full_match/1/0xfca334a8A26a62F4a2605b2719F5E317B9ED3E2D/sources/PumpkinSpiceLatte.sol
Anti-bot and anti-whale mappings and variables Exclude from fees and max transaction amount Store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract PumpkinSpiceLatte is ERC20, Ownable { IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool private swapping; address public immutable revShareWallet; uint256 public maxTransactionAmount; uint256 immutable public swapTokensAtAmount; uin...
9,800,933
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 20760, 628, 1656, 281, 471, 943, 2492, 3844, 4994, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869, 14, 4259,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 453, 2801, 15984, 3389, 1812, 6607, 736, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, 22, 8259, 31, 203, 565, 1758, 1071, 11732...
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT124072' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT124072 // Name : ADZbuzz Thehackernews.com Community Token // ...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract ADZbuzzCommunityToken is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; ...
530,496
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 6835, 11738, 62, 70, 9510, 12136, 13352, 1345, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 3639, 533, 1071, 3273, 31, 203, 3639, 533, 1071, 225, 508, 31, 203, 3639, 2254, 28, 1071, 15105, 31, 203...
pragma solidity ^0.5.0; // --------------------------------------------- // FileIdentityVerification.sol // --------------------------------------------- // Copyright (c) 2019 PLUSPLUS CO.,LTD. // Released under the MIT license // https://www.plusplus.jp/ // --------------------------------------------- // // File id...
@title Get file information
function getFileIdentity(bytes32 fileId) public view returns (bytes32 _fileId, bytes memory _md5, bytes memory _sha256, bytes memory _sha512, address _registrant, uint _timestamp, uint _isExist){ FileIdentity memory fi = fileIdentityList[fileId]; return (fi.fileId, fi.md5, fi.sha256, fi.sha512, ...
12,588,839
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 968, 585, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6034, 4334, 12, 3890, 1578, 21223, 13, 1071, 1476, 203, 565, 1135, 261, 3890, 1578, 389, 768, 548, 16, 1731, 3778, 389, 1264, 25, 16, 1731, 3778, 389, 7819, 5034, 16, 1731, 3778, 389, 7819, 13757, 16, 1758, 389, 1574, ...
pragma solidity ^0.5.0; /**** Tellor Test Contract***/ /*WARNING: This contract excludes mining functions This has bee adapted for projects testing Tellor integration **/ import "../libraries/SafeMath.sol"; import "../libraries/TellorStorage.sol"; import "../libraries/TellorTransfer.sol"; //import "./libra...
* @title Tellor Oracle System @dev Oracle contract where miners can submit the proof of work along with the value. The logic for this contract is in TellorLibrary.sol, TellorDispute.sol, TellorStake.sol, and TellorTransfer.sol/using TellorDispute for TellorStorage.TellorStorageStruct;using TellorStake for TellorStorage...
contract Tellor { using SafeMath for uint256; using TellorLibrary for TellorStorage.TellorStorageStruct; using TellorTransfer for TellorStorage.TellorStorageStruct; TellorStorage.TellorStorageStruct tellor; This has bee adapted for projects testing Tellor integration import "../libraries/...
6,412,789
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 29860, 280, 28544, 2332, 632, 5206, 28544, 6835, 1625, 1131, 414, 848, 4879, 326, 14601, 434, 1440, 7563, 598, 326, 460, 18, 1021, 4058, 364, 333, 6835, 353, 316, 29860, 280, 9313, 18, 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, 16351, 29860, 280, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1450, 29860, 280, 9313, 364, 29860, 280, 3245, 18, 21009, 280, 3245, 3823, 31, 203, 565, 1450, 29860, 280, 5912, 364, 29860, 280, 3245, 18, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "./RubiToken.sol"; /// @custom:security-contact https://telum.tech contract Rubicoin is RubiToken { function initialize() initializer public override { __ERC20_init("Rubicoin", "RUBI"); super.initialize(); } } contract RubicoinLi...
* @dev Extension of {ERC20} that allows token holders to destroy both their own tokens and those that they have an allowance for, in a way that can be recognized off-chain (via event analysis)./
abstract contract ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable { function __ERC20Burnable_init() internal onlyInitializing { __Context_init_unchained(); __ERC20Burnable_init_unchained(); } function __ERC20Burnable_init_unchained() internal onlyInitializin...
49,909
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10021, 434, 288, 654, 39, 3462, 97, 716, 5360, 1147, 366, 4665, 358, 5546, 3937, 3675, 4953, 2430, 471, 5348, 716, 2898, 1240, 392, 1699, 1359, 364, 16, 316, 279, 4031, 716, 848, 506, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 4232, 39, 3462, 38, 321, 429, 10784, 429, 353, 10188, 6934, 16, 1772, 10784, 429, 16, 4232, 39, 3462, 10784, 429, 288, 203, 203, 565, 445, 1001, 654, 39, 3462, 38, 321, 429, 67, 2738, 1435, 2713, 1338, 29782, 288, ...
pragma solidity 0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) pub...
* @dev Initialize a EarningsPool struct @param earningsPool Storage pointer to EarningsPool struct @param _stake Total stake of the transcoder during the earnings pool's round @param _rewardCut Reward cut of transcoder during the earnings pool's round @param _feeShare Fee share of transcoder during the earnings pool's ...
function init(EarningsPool.Data storage earningsPool, uint256 _stake, uint256 _rewardCut, uint256 _feeShare) internal { earningsPool.totalStake = _stake; earningsPool.claimableStake = _stake; earningsPool.transcoderRewardCut = _rewardCut; earningsPool.transcoderFeeShare = _feeShare; ...
14,329,484
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 9190, 279, 512, 1303, 899, 2864, 1958, 632, 891, 425, 1303, 899, 2864, 5235, 4407, 358, 512, 1303, 899, 2864, 1958, 632, 891, 389, 334, 911, 10710, 384, 911, 434, 326, 906, 3396, 4982, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1208, 12, 41, 1303, 899, 2864, 18, 751, 2502, 425, 1303, 899, 2864, 16, 2254, 5034, 389, 334, 911, 16, 2254, 5034, 389, 266, 2913, 15812, 16, 2254, 5034, 389, 21386, 9535, 13, 2713, 288, 203, 3639, 425, 1303, 899, 286...
pragma solidity ^0.4.18; // File: contracts/zeppelin-solidity-1.4/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owne...
constructor @param _crowdsaleEndDate - the date the crowdsale ends
function BRDLockup(uint256 _crowdsaleEndDate, uint256 _numIntervals, uint256 _intervalDuration) public { unlockDate = _crowdsaleEndDate; numIntervals = _numIntervals; intervalDuration = _intervalDuration; currentInterval = 0; }
12,589,017
[ 1, 4625, 348, 7953, 560, 30, 225, 3885, 632, 891, 389, 71, 492, 2377, 5349, 24640, 300, 326, 1509, 326, 276, 492, 2377, 5349, 3930, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 605, 20403, 2531, 416, 12, 11890, 5034, 389, 71, 492, 2377, 5349, 24640, 16, 2254, 5034, 389, 2107, 24224, 16, 2254, 5034, 389, 6624, 5326, 13, 225, 1071, 288, 203, 565, 7186, 1626, 273, 389, 71, 492, 2377, 5349, 24640,...
./full_match/4/0x32F00510946a4A1Aff618F4311ABBc8Dacd3bFBd/sources/browser/MultiSigWallet.sol
@dev Update the signature threshold to set hot wallet address. @param _newThreshold, the new threshold
function updateSetHotWalletSignatureThreshold( uint _newThreshold ) public isUnbankOwner(msg.sender) requireSetParams(_newThreshold) returns (bool response) { setHotWalletSignatureThreshold = _newThreshold; return tr...
12,496,503
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2315, 326, 3372, 5573, 358, 444, 12811, 9230, 1758, 18, 632, 891, 389, 2704, 7614, 16, 326, 394, 5573, 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, 1089, 694, 25270, 16936, 5374, 7614, 12, 203, 5411, 2254, 389, 2704, 7614, 203, 3639, 262, 203, 5411, 1071, 203, 5411, 20488, 10546, 5541, 12, 3576, 18, 15330, 13, 203, 5411, 2583, 694, 1370, 24899, 2704, 7614, 13, 203, ...
./partial_match/1/0xF708005ceE17b2c5Fe1a01591E32ad6183A12EaE/sources/@yield-protocol/utils-v2/contracts/token/ERC20Rewards.sol
@dev Set a rewards schedule A new rewards program can be set if one is not running Update the rewards per token so that we don't lose any rewards If setting up a new rewards program, the rewardsPerToken.accumulated is used and built upon New rewards start accumulating from the new rewards program start Any unaccounted...
function setRewards(uint32 start, uint32 end, uint96 rate) external auth { require( start <= end, "Incorrect input" ); require( rewardsToken != IERC20(address(0)), "Rewards token not set" ); require( ...
2,802,716
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1000, 279, 283, 6397, 4788, 432, 394, 283, 6397, 5402, 848, 506, 444, 309, 1245, 353, 486, 3549, 2315, 326, 283, 6397, 1534, 1147, 1427, 716, 732, 2727, 1404, 29612, 1281, 283, 6397, 971,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 17631, 14727, 12, 11890, 1578, 787, 16, 2254, 1578, 679, 16, 2254, 10525, 4993, 13, 203, 3639, 3903, 203, 3639, 1357, 203, 565, 288, 203, 3639, 2583, 12, 203, 5411, 787, 1648, 679, 16, 203, 5411, 315, 16268, 810, ...
//Address: 0xde871faadf05a39aa3a871525696ff4c87ecd550 //Contract name: UniversalManager //Balance: 0 Ether //Verification Date: 1/14/2018 //Transacion Count: 34 // CODE STARTS HERE pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization cont...
* @title Standard ERC20 token @dev Implementation of the basic standard token./
contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <=...
2,486,577
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 8263, 4232, 39, 3462, 1147, 632, 5206, 25379, 434, 326, 5337, 4529, 1147, 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, 16351, 8263, 1345, 353, 4232, 39, 3462, 16, 7651, 1345, 288, 203, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 5034, 3719, 2713, 2935, 31, 203, 203, 203, 565, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, ...
./partial_match/1/0xed340C0C30AFb421c4165a90d0C69af8c1dE99e4/sources/emojiRandomGame.sol
Events that are issued to make statistic recovery easier.
event Newbie(address user);
3,688,859
[ 1, 4625, 348, 7953, 560, 30, 225, 9043, 716, 854, 16865, 358, 1221, 21605, 11044, 15857, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 1166, 70, 1385, 12, 2867, 729, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.23; contract Ownable { //-------------------------------------------------------------------------- // // Properties // //-------------------------------------------------------------------------- address public owner; //---------------------------------...
-------------------------------------------------------------------------- Properties---------------------------------------------------------------------------------------------------------------------------------------------------- Events--------------------------------------------------------------------------------...
{ address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred ( address indexed previousOwner, address indexed newOwner ); constructor() public { owner = msg.sender; } modifier onlyOwner() { r...
12,545,523
[ 1, 4625, 348, 7953, 560, 30, 19950, 202, 2297, 5802, 28253, 553, 202, 3783, 5802, 28253, 553, 202, 6293, 5802, 15392, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 95, 203, 203, 565, 1758, 1071, 3410, 31, 203, 203, 203, 203, 565, 871, 14223, 9646, 5310, 16290, 27373, 12, 2867, 8808, 2416, 5541, 1769, 203, 203, 565, 871, 14223, 9646, 5310, 1429, 4193, 203, 565, 261, 203, 3639, 1758, 8808, 24...
// SPDX-License-Identifier: MIT /** MIT License Copyright (c) 2021 Woonkly OU Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,...
* @dev Get auto compounds liq. provider status/
function getAutoCompoundStatus(address account) public view returns (bool) { if (!StakeExist(account)) return false; Stake memory p = _Stakes[_IDStakesIndex[account]]; return p.autoCompound; }
13,111,185
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 3656, 1161, 9284, 4501, 85, 18, 2893, 1267, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 26707, 16835, 1482, 12, 2867, 2236, 13, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 309, 16051, 510, 911, 4786, 12, 4631, 3719, 327, 629, 31, 203, 203, 3639, 934, 911, 3778, 293, 273, 389, 510, 3223, 63, 67, 734,...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.6.4 <0.8.0; pragma experimental ABIEncoderV2; //import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.3.0/contracts/.../Context.sol"; import "https://github.com/vigilance91/solidarity/contracts/accessControl/AccessControl.sol"; import "http...
|| hasRole(DEFAULT_ADMIN_ROLE, account);
return hasRole(ROLE_ISSUING_AUTHORITY, account);
12,953,629
[ 1, 4625, 348, 7953, 560, 30, 747, 28335, 12, 5280, 67, 15468, 67, 16256, 16, 2236, 1769, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 327, 28335, 12, 16256, 67, 25689, 57, 1360, 67, 7131, 14751, 16, 2236, 1769, 377, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: BUSDL-1.1 pragma solidity 0.6.11; import {Address, SafeMath} from "contracts/libraries/Imports.sol"; import {IERC20, AccessControl} from "contracts/common/Imports.sol"; import {IAddressRegistryV2} from "contracts/registry/Imports.sol"; import { AggregatorV3Interface, IOracleAdapt...
* @dev Zero values are considered valid if there is no mAPT minted, and therefore no PoolTokenV2 liquidity in the LP Safe./
function getTvl() external view override unlocked returns (uint256) { if (hasTvlOverride()) { return submittedTvlValue.value; } uint256 price = _getPriceFromSource(tvlSource); require( price > 0 || IERC20(addressRegistry.mAptAddress()).totalS...
592,332
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12744, 924, 854, 7399, 923, 309, 1915, 353, 1158, 312, 37, 1856, 312, 474, 329, 16, 471, 13526, 1158, 8828, 1345, 58, 22, 4501, 372, 24237, 316, 326, 511, 52, 14060, 18, 19, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3181, 10872, 1435, 3903, 1476, 3849, 25966, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 5332, 56, 10872, 6618, 10756, 288, 203, 5411, 327, 9638, 56, 10872, 620, 18, 1132, 31, 203, 3639, 289, 203, 203, 3639, 22...
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functio...
Exclude owner, treasury, and this contract from fee
_isExcludedFromTaxes[owner()] = true;
460,109
[ 1, 4625, 348, 7953, 560, 30, 225, 20760, 3410, 16, 9787, 345, 22498, 16, 471, 333, 6835, 628, 14036, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 291, 16461, 1265, 7731, 281, 63, 8443, 1435, 65, 273, 638, 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,...
./full_match/1/0xb6c9359D238694894C8720621c6055a3C31732e3/sources/contracts/modules/uniswap/v3/BytesLib.sol
@notice Decode the `_arg`-th element in `_bytes` as `address[]` @param _bytes The input bytes string to extract an address array from @param _arg The index of the argument to extract
function toAddressArray(bytes calldata _bytes, uint256 _arg) internal pure returns (address[] calldata res) { (uint256 length, uint256 offset) = toLengthOffset(_bytes, _arg); assembly { res.length := length res.offset := offset } }
3,134,851
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 6209, 326, 1375, 67, 3175, 68, 17, 451, 930, 316, 1375, 67, 3890, 68, 487, 1375, 2867, 8526, 68, 632, 891, 389, 3890, 1021, 810, 1731, 533, 358, 2608, 392, 1758, 526, 628, 632, 891, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 358, 1887, 1076, 12, 3890, 745, 892, 389, 3890, 16, 2254, 5034, 389, 3175, 13, 2713, 16618, 1135, 261, 2867, 8526, 745, 892, 400, 13, 288, 203, 3639, 261, 11890, 5034, 769, 16, 2254, 5034, 1384, 13, 273, 358, 1782, 23...
/** *Submitted for verification at Etherscan.io on 2022-01-11 */ // SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; interface IOwnable { function policy() external view returns (address); function renounceManagement() external; function pushManagement(address newOwner_) external; functio...
Info for creating new bonds
contract LpBondDepositoryOlympus is Ownable { using FixedPoint for *; using SafeERC20 for IERC20; using SafeMath for uint256; event BondCreated( uint256 deposit, uint256 indexed payout, uint256 indexed expires, uint256 indexed priceInUSD ); event BondRedeemed( address indexed recipient...
1,969,583
[ 1, 4625, 348, 7953, 560, 30, 225, 3807, 364, 4979, 394, 15692, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 511, 84, 9807, 758, 1855, 51, 715, 1291, 407, 353, 14223, 6914, 288, 203, 225, 1450, 15038, 2148, 364, 380, 31, 203, 225, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 225, 1450, 14060, 10477, 364, 2254, ...
./partial_match/1/0x1Ddad8Dfb4CB86dED31c1118e600A398C417c4b0/sources/GovernorCrowdsale.sol
* @dev Adds addresseto whitelist. @param beneficiary Address list to whitelist/
function addWhitelist(address beneficiary) external onlyCapper{ whitelist[beneficiary] = true; }
2,744,240
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15605, 527, 455, 542, 83, 10734, 18, 632, 891, 27641, 74, 14463, 814, 5267, 666, 358, 10734, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 18927, 12, 2867, 27641, 74, 14463, 814, 13, 3903, 1338, 4664, 457, 95, 203, 3639, 10734, 63, 70, 4009, 74, 14463, 814, 65, 273, 638, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.24; /* * Creator: BAC Team */ /* * Abstract Token Smart Contract * */ /* * Safe Math Smart Contract. * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol */ contract SafeMath { function mul(uint256 a, uint256 b) internal pure re...
* Transfer given number of tokens from message sender to given recipient. @param _to address to transfer tokens to the owner of @param _value number of tokens to transfer to the owner of given address @return true if tokens were transferred successfully, false otherwise accounts [_to] + _value > accounts [_to] for over...
function transfer(address _to, uint256 _value) returns (bool success) { require(_to != address(0)); if (accounts [msg.sender] < _value) return false; if (_value > 0 && msg.sender != _to) { accounts [msg.sender] = safeSub(accounts [msg.sender], _value); accounts [_to] ...
7,243,968
[ 1, 4625, 348, 7953, 560, 30, 380, 12279, 864, 1300, 434, 2430, 628, 883, 5793, 358, 864, 8027, 18, 632, 891, 389, 869, 1758, 358, 7412, 2430, 358, 326, 3410, 434, 632, 891, 389, 1132, 1300, 434, 2430, 358, 7412, 358, 326, 3410, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 2583, 24899, 869, 480, 1758, 12, 20, 10019, 203, 3639, 309, 261, 13739, 306, 3576, 18, 15330, 65, 411, 389, 1132, 13,...
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 - Checks whether the transaction identified by `_txHash` is in the block identified by `_blockHeaderBytes` and whether the block is in the Syscoin main chain. Transaction check is done via Merkle proof. Note: no verification is performed to prevent txHash from just being an internal hash in the Merkle tree. Thus ...
) private returns (uint) { function helperVerifyHash( uint256 _txHash, uint _txIndex, uint[] memory _siblings, bytes memory _blockHeaderBytes, bytes32 _txsuperblockHash if (!isApproved(_txsuperblockHash) || !inMainChain(_txsuperblockHash)) { emit Veri...
5,532,007
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 300, 13074, 2856, 326, 2492, 9283, 635, 1375, 67, 978, 2310, 68, 353, 316, 326, 1203, 9283, 635, 1375, 67, 2629, 1864, 2160, 68, 471, 2856, 326, 1203, 353, 316, 326, 16455, 1017, 885, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 262, 3238, 1135, 261, 11890, 13, 288, 203, 203, 565, 445, 4222, 8097, 2310, 12, 203, 3639, 2254, 5034, 389, 978, 2310, 16, 203, 3639, 2254, 389, 978, 1016, 16, 203, 3639, 2254, 8526, 3778, 389, 6044, 11603, 16, 203, 3639, ...
./full_match/42161/0x2679753c8037b6c1404b33EB7690331C902F0075/sources/src/JoeDexLens.sol
* @notice Batch remove a list of data feeds for each (token, data feed) @param tokens The list of addresses of the tokens @param dfAddresses The list of USD data feed addresses/
function _removeDataFeeds(address[] calldata tokens, address[] calldata dfAddresses) private verifyLengths(tokens.length, dfAddresses.length) { for (uint256 i; i < tokens.length;) { _removeDataFeed(tokens[i], dfAddresses[i]); unchecked { ++i; ...
16,298,107
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 5982, 1206, 279, 666, 434, 501, 27684, 364, 1517, 261, 2316, 16, 501, 4746, 13, 632, 891, 2430, 1021, 666, 434, 6138, 434, 326, 2430, 632, 891, 3013, 7148, 1021, 666, 434, 587, 9903, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4479, 751, 8141, 87, 12, 2867, 8526, 745, 892, 2430, 16, 1758, 8526, 745, 892, 3013, 7148, 13, 203, 3639, 3238, 203, 3639, 3929, 22406, 12, 7860, 18, 2469, 16, 3013, 7148, 18, 2469, 13, 203, 565, 288, 203, 3639, ...
pragma solidity 0.5.11; // optimization runs: 200, evm version: petersburg /** * @title DTokenInterface * @author 0age * @notice Interface for dTokens (in addition to the standard ERC20 interface). */ interface DTokenInterface { // Events bear similarity to Compound's supply-related events. event Mint(address...
Modify the allowance.
_approve(owner, spender, newAllowance);
1,547,836
[ 1, 4625, 348, 7953, 560, 30, 225, 9518, 326, 1699, 1359, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 12908, 537, 12, 8443, 16, 17571, 264, 16, 394, 7009, 1359, 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...
//Address: 0x72cc9d8e0a8034fecd2159fb2a951efe8b49f5ae //Contract name: ICO //Balance: 0.06 Ether //Verification Date: 2/28/2018 //Transacion Count: 6 // CODE STARTS HERE pragma solidity 0.4.20; /** * @title ICO CONTRACT * @dev ERC-20 Token Standard Compliant * @author Fares A. Akel C. f.antonio.akel@gmail.com */ /*...
Till March 9 12:00 UTC
if(state == State.stage1 && now > dateTimeContract.toTimestamp(2018,3,9,12)) {
12,671,394
[ 1, 4625, 348, 7953, 560, 30, 399, 737, 490, 991, 2468, 2593, 30, 713, 9951, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 12, 2019, 422, 3287, 18, 12869, 21, 597, 2037, 405, 9296, 8924, 18, 869, 4921, 12, 21849, 16, 23, 16, 29, 16, 2138, 3719, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// File: contracts/RTokenStructs.sol pragma solidity ^0.5.8; contract RTokenStructs { /** * @notice Global stats */ struct GlobalStats { /// @notice Total redeemable tokens supply uint256 totalSupply; /// @notice Total saving assets in redeemable amount uint256 totalS...
@dev IRToken.getSavingAssetBalance implementation
function getSavingAssetBalance() external view returns (uint256 rAmount, uint256 sAmount) { sAmount = savingAssetOrignalAmount; rAmount = sAmount.mul(ias.exchangeRateStored()).div(10**18); }
1,045,512
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 15908, 1345, 18, 588, 24660, 6672, 13937, 4471, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1322, 5339, 6672, 13937, 1435, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 436, 6275, 16, 2254, 5034, 272, 6275, 13, 203, 565, 288, 203, 3639, 272, 6275, 273, 12392, 6672, 1162, 724, 287, 6275, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; /// @notice Common interface to the edition royalties registry interface ICollabRoyaltiesRegistry { /// @notice Creates & deploys a new royalties recipient, cloning _handle and setting it up with the provided _recipients and _splits function createRoyalti...
@notice Common interface to the edition royalties registry
interface ICollabRoyaltiesRegistry { function createRoyaltiesRecipient( address _handler, address[] calldata _recipients, uint256[] calldata _splits ) external returns (address deployedHandler); function useRoyaltiesRecipient(uint256 _editionId, address _deployedHandler) external; ...
15,783,439
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 5658, 1560, 358, 326, 28432, 721, 93, 2390, 606, 4023, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 22894, 54, 13372, 2390, 606, 4243, 288, 203, 203, 565, 445, 752, 54, 13372, 2390, 606, 18241, 12, 203, 3639, 1758, 389, 4176, 16, 203, 3639, 1758, 8526, 745, 892, 389, 27925, 16, 203, 3639, 2254, 5034, 8526, 745, 892, ...
./full_match/1/0x3362229de7d2C1AF21BCa907626CE9ED84AE2928/sources/contracts/ERC721W.sol
give the bucket update the counter
function _burn(uint256 tokenId) internal { (uint256 bucket, uint256 position) = _resolveTokenPosition(tokenId); uint256 index = _ownerIndexByTokenPosition(bucket, position); require(index != 0, "ERC721: Token not exists"); uint256 data = owners[index]; (address _owner, uin...
9,635,824
[ 1, 4625, 348, 7953, 560, 30, 225, 8492, 326, 2783, 1089, 326, 3895, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 70, 321, 12, 11890, 5034, 1147, 548, 13, 2713, 288, 203, 3639, 261, 11890, 5034, 2783, 16, 2254, 5034, 1754, 13, 273, 389, 10828, 1345, 2555, 12, 2316, 548, 1769, 203, 203, 3639, 2254, 5034, 770, 273, 389, 8443, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow ...
number of seconds after depositing the user is required to stake before unstaking
uint256 stakeTimeLockSec;
2,474,920
[ 1, 4625, 348, 7953, 560, 30, 225, 1300, 434, 3974, 1839, 443, 1724, 310, 326, 729, 353, 1931, 358, 384, 911, 1865, 640, 334, 6159, 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, ...
[ 1, 1, 1, 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, 2254, 5034, 384, 911, 950, 2531, 2194, 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: 0x85db0c54146cc45c5f25e6da6ea6a4b93696c935 //Contract name: SCCAIToken //Balance: 0 Ether //Verification Date: 4/10/2018 //Transacion Count: 35 // CODE STARTS HERE /* Copyright 2018 Source Code Chain Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this f...
Public variables of the token 18 decimals is the strongly suggested default, avoid changing it This creates an array with all balances This generates a public event on the blockchain that will notify clients This notifies clients about the amount burnt
contract BasicERC20Token { uint256 public totalSupply; mapping (address => uint256) public balances; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from, address indexed to, uint256 value); event Burn(address indexed from, uint256 value); f...
2,540,356
[ 1, 4625, 348, 7953, 560, 30, 225, 7224, 3152, 434, 326, 1147, 6549, 15105, 353, 326, 11773, 715, 22168, 805, 16, 4543, 12770, 518, 1220, 3414, 392, 526, 598, 777, 324, 26488, 1220, 6026, 279, 1071, 871, 603, 326, 16766, 716, 903, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 7651, 654, 39, 3462, 1345, 288, 203, 565, 2254, 5034, 1071, 2078, 3088, 1283, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 1071, 324, 26488, 31, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 5034,...
./partial_match/3/0xA532384c6DbcFdE283dd410A188cf0c643bEB01E/sources/Governance.sol
* @notice apply the delisting proposal if admitted./
function applyGovernanceForDelistWhitelist(bytes32 proposeId) external { require( proposeStatus[proposeId].lockin = true && proposeStatus[proposeId].applied == false && proposeStatus[proposeId].mainvoteDeadline <= _getBlockTimestampSec() && ...
5,169,601
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2230, 326, 1464, 376, 310, 14708, 309, 1261, 7948, 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...
[ 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, 2230, 43, 1643, 82, 1359, 1290, 2837, 376, 18927, 12, 3890, 1578, 450, 4150, 548, 13, 3903, 288, 203, 3639, 2583, 12, 203, 5411, 450, 4150, 1482, 63, 685, 4150, 548, 8009, 739, 267, 273, 203, 7734, 638, 597, 203, 7734...
./full_match/80001/0xFE42cb9C9bD67A71EE8Af1186dD1a8d08B0De020/sources/GravityFinance/GFI_FarmGFI.sol
* @dev Safe reward transfer function, just in case a rounding error causes pool to not have enough reward tokens @param _to the user address to transfer tokens to @param _amount the total amount of tokens to transfer/
function safeRewardTransfer(address _to, uint256 _amount) internal { uint256 rewardBal = farmInfo.rewardToken.balanceOf(address(this)); if (_amount > rewardBal) { farmInfo.rewardToken.transfer(_to, rewardBal); farmInfo.rewardToken.transfer(_to, _amount); } } e...
9,517,362
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 14060, 19890, 7412, 445, 16, 2537, 316, 648, 279, 13885, 555, 14119, 2845, 358, 486, 1240, 7304, 19890, 2430, 632, 891, 389, 869, 326, 729, 1758, 358, 7412, 2430, 358, 632, 891, 389, 8949...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4183, 17631, 1060, 5912, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 203, 3639, 2254, 5034, 19890, 38, 287, 273, 284, 4610, 966, 18, 266, 2913, 1345, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3...
./full_match/80001/0x88358AEbbf1434375a02e8e34288e866bD7944B1/sources/contracts/IndexToken.sol
@notice Function to add/update a new minter @param _minter The address of the minter @param _minterAllowedAmount The minting amount allowed for the minter @return True if the operation was successful
function configureMinter( address _minter, uint256 _minterAllowedAmount ) external whenNotPaused onlyMasterMinter returns (bool) { minters[_minter] = true; minterAllowed[_minter] = _minterAllowedAmount; emit MinterConfigured(_minter, _minterAllowedAmount); return ...
5,673,072
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4284, 358, 527, 19, 2725, 279, 394, 1131, 387, 632, 891, 389, 1154, 387, 1021, 1758, 434, 326, 1131, 387, 632, 891, 389, 1154, 387, 5042, 6275, 1021, 312, 474, 310, 3844, 2935, 364, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5068, 49, 2761, 12, 203, 3639, 1758, 389, 1154, 387, 16, 203, 3639, 2254, 5034, 389, 1154, 387, 5042, 6275, 203, 565, 262, 3903, 1347, 1248, 28590, 1338, 7786, 49, 2761, 1135, 261, 6430, 13, 288, 203, 3639, 1131, 5432, ...
./partial_match/1/0xF88951D7B676798705fd3a362ba5B1DBca2B233b/sources/PXL.sol
* @dev PXL 전송과 데이터를 함께 사용하는 함수 @notice CustomToken 인터페이스 활용 @notice _to 주소가 컨트랙트인 경우만 사용 가능 @notice 토큰과 데이터를 받으려면 해당 컨트랙트에 receiveApproval 함수 구현 필요 @param _to 토큰을 전송하고 함수를 실행할 컨트랙트 주소 @param _value 전송할 토큰 수량 @return bool 타입의 처리 결과/
function approveAndCall(address _to, uint256 _value, bytes _data) public returns (bool) { require(_to != address(0) && _to != address(this)); require(balanceOf(msg.sender) >= _value); if(approve(_to, _value) && isContract(_to)) { ContractReceiver receiver = ContractReceiver(_to)...
2,617,829
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 453, 23668, 225, 173, 259, 231, 173, 233, 99, 171, 116, 125, 225, 172, 240, 113, 173, 256, 117, 174, 231, 113, 172, 103, 125, 225, 174, 248, 106, 171, 124, 251, 225, 173, 229, 110, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1876, 1477, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 16, 1731, 389, 892, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 24899, 869, 480, 1758, 12, 20, 13, 597, 389, 869, 480, 1758, 12, 2211, 1...
./full_match/84531/0xbb539f4827211e873868Eb4083e6dBf18c0c68c3/sources/SafeswapRouter.sol
**** ADD LIQUIDITY **** create the pair if it doesn't exist yet
function _addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin ) internal virtual returns (uint amountA, uint amountB) { if (ISafeswapFactory(factory).getPair(tokenA, tokenB) == address(0)...
11,508,977
[ 1, 4625, 348, 7953, 560, 30, 225, 380, 14465, 11689, 8961, 53, 3060, 4107, 380, 14465, 752, 326, 3082, 309, 518, 3302, 1404, 1005, 4671, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 1289, 48, 18988, 24237, 12, 203, 3639, 1758, 1147, 37, 16, 203, 3639, 1758, 1147, 38, 16, 203, 3639, 2254, 3844, 1880, 281, 2921, 16, 203, 3639, 2254, 3844, 38, 25683, 16, 203, 3639, 2254, 3844, 2192, 267, 16, 20...
./partial_match/1/0xe6F4d9711121e5304b30aC2Aae57E3b085ad3c4d/sources/src/base/Pool.sol
@inheritdoc IPoolState
function auctionInfo( address borrower_ ) external view override returns ( address kicker_, uint256 bondFactor_, uint256 bondSize_, uint256 kickTime_, uint256 kickMomp_, uint256 neutralPrice_, address head_, address next_, addre...
3,629,826
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 2864, 1119, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 279, 4062, 966, 12, 203, 3639, 1758, 29759, 264, 67, 203, 565, 262, 3903, 203, 565, 1476, 3849, 1135, 261, 203, 3639, 1758, 417, 5448, 67, 16, 203, 3639, 2254, 5034, 8427, 6837, 67, 16, 203, 3639, 2254, 5034, 8427, 12...
./partial_match/1/0xf1Bf0Cd65B741872bC3fE506b524f1c927965B3c/sources/src/L1/rollup/ScrollChain.sol
compute the data hash for each chunk
uint256 _totalL1MessagesPoppedInBatch;
15,708,993
[ 1, 4625, 348, 7953, 560, 30, 225, 3671, 326, 501, 1651, 364, 1517, 2441, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 389, 4963, 48, 21, 5058, 7049, 1845, 382, 4497, 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, -10...
// SPDX-License-Identifier: MIT pragma solidity 0.8.1; //import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/AccessControl.sol"; //import '@openzeppelin/contracts/access/AccessControl.sol'; import './oz-contracts/access/AccessControl.sol'; import './iName.sol'; import './iAcade...
import "https:github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/AccessControl.sol";import '@openzeppelin/contracts/access/AccessControl.sol';
import './oz-contracts/access/AccessControl.sol';
1,035,833
[ 1, 4625, 348, 7953, 560, 30, 1930, 315, 4528, 30, 6662, 18, 832, 19, 3678, 62, 881, 84, 292, 267, 19, 3190, 94, 881, 84, 292, 267, 17, 16351, 87, 19, 10721, 19, 7525, 19, 16351, 87, 19, 3860, 19, 16541, 18, 18281, 14432, 5666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5666, 12871, 11142, 17, 16351, 87, 19, 3860, 19, 16541, 18, 18281, 13506, 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, ...
pragma solidity ^0.6.0; import "./Owned.sol"; import "./BREE.sol"; import "./ERC20contract.sol"; import "./SafeMath.sol"; contract BREE_STAKE_FARM is Owned{ using SafeMath for uint256; uint256 public yieldCollectionFee = 0.01 ether; uint256 public stakingPeriod = 30 days; uint256 public sta...
------------------------------------------------------------------------ Change farming rate of the supported token @param _tokenAddress address of the token asset @param _newFarmingRate new rate applied for farming yield to produce @required only owner -----------------------------------------------------------------...
function changeFarmingRate(address _tokenAddress, uint256 _newFarmingRate) public onlyOwner { require(tokens[_tokenAddress].exists, "token doesn't exist"); tokens[_tokenAddress].rate = _newFarmingRate; emit FarmingRateChanged(_tokenAddress, _newFarmingRate); } ...
987,945
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 7576, 284, 4610, 310, 4993, 434, 326, 3260, 1147, 632, 891, 389, 2316, 1887, 1758, 434, 326, 1147, 3310, 632, 891, 389, 2704, 42, 4610, 310, 4727, 394, 4993, 6754, 364, 284, 4610, 310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2549, 42, 4610, 310, 4727, 12, 2867, 389, 2316, 1887, 16, 2254, 5034, 389, 2704, 42, 4610, 310, 4727, 13, 1071, 1338, 5541, 288, 203, 540, 203, 3639, 2583, 12, 7860, 63, 67, 2316, 1887, 8009, 1808, 16, 315, 2316, 3302...
pragma solidity ^0.5.0; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/lifecycle/Pausable.sol'; import '@openzeppelin/contracts/introspection/IERC165.so...
To redeem the land that you won in an auction
function redeemWonLand(uint256 _landId) public whenNotPaused { Land storage land = lands[_landId]; if (now.sub(land.lastBidTimestamp) >= auctionLandDuration) { land.state = AuctionState.ENDED; } require(land.state == AuctionState.ENDED, "You can't redeem this land until i...
12,638,965
[ 1, 4625, 348, 7953, 560, 30, 225, 2974, 283, 24903, 326, 19193, 716, 1846, 8462, 316, 392, 279, 4062, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 283, 24903, 59, 265, 29398, 12, 11890, 5034, 389, 15733, 548, 13, 1071, 1347, 1248, 28590, 288, 203, 3639, 511, 464, 2502, 19193, 273, 328, 5708, 63, 67, 15733, 548, 15533, 203, 3639, 309, 261, 3338, 18, 1717, 12, 15733...
pragma solidity ^0.4.2; contract Stakeholder{ address public serviceProvider; function Stakeholder(){ serviceProvider = msg.sender; } function registerStakeholder(){ } function registerValueActivity(){ } function update(){ } function kill() { suicide(serviceProvider); } } // the contract ...
Define the value activity only provided by customers
function valueActivity(){ }
12,744,229
[ 1, 4625, 348, 7953, 560, 30, 13184, 326, 460, 5728, 1338, 2112, 635, 29380, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 460, 6193, 1435, 95, 203, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.6; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { require((c = a + b) >= b, "SafeMath: Add Overflow"); } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { require((c = a ...
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, 'SoulSwapLibrary: INVALID_PATH'); amounts = new uint[](path.length); amounts[0] = amountIn; for (uint i; i < path.length - ...
12,963,401
[ 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, 203, 3639, 1758, 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, 55, 100...
//Address: 0x43d0111ec0584381077a598a1cc5c1fc72722e6c //Contract name: StarbaseEarlyPurchase //Balance: 0 Ether //Verification Date: 1/17/2017 //Transacion Count: 179 // CODE STARTS HERE contract AbstractStarbaseCrowdsale { function startDate() constant returns (uint256 startDate) {} } /// @title EarlyPurchase ...
Constants/ Types/
struct EarlyPurchase { address purchaser; } EarlyPurchase[] public earlyPurchases; uint public earlyPurchaseClosedAt;
6,404,468
[ 1, 4625, 348, 7953, 560, 30, 282, 5245, 19, 225, 7658, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 512, 20279, 23164, 288, 203, 3639, 1758, 5405, 343, 14558, 31, 203, 565, 289, 203, 203, 203, 565, 512, 20279, 23164, 8526, 1071, 11646, 10262, 343, 3304, 31, 203, 565, 2254, 1071, 11646, 23164, 7395, 861, 31, 203, 203, ...
./full_match/1/0xdD8bd1a9927aB550Cf2fC0a9da14702F9c09ac88/sources/contracts/ChromiaDelegation.sol
If provider has lost whitelist since delegation, dont bother to decreae since their total is already set to 0 on removeWhitelist() Remove previous delegation from providers pool
function removeCurrentDelegationFromProvider(DelegationChange memory currentDelegation, uint16 currDelEpoch) private { uint16 nextEpoch = getCurrentEpoch() + 1; ProviderState storage ps = providerStates[currentDelegation.delegatedTo]; if (currDelEpoch >= ps.latestWhitelistChange) { ...
2,989,895
[ 1, 4625, 348, 7953, 560, 30, 225, 971, 2893, 711, 13557, 10734, 3241, 23595, 16, 14046, 23440, 358, 23850, 8906, 3241, 3675, 2078, 353, 1818, 444, 358, 374, 603, 1206, 18927, 1435, 3581, 2416, 23595, 628, 9165, 2845, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 3935, 26945, 1265, 2249, 12, 26945, 3043, 3778, 783, 26945, 16, 2254, 2313, 4306, 2837, 14638, 13, 3238, 288, 203, 3639, 2254, 2313, 1024, 14638, 273, 5175, 14638, 1435, 397, 404, 31, 203, 3639, 7561, 1119, 2502, 42...
./full_match/1/0x536580914cDA50C7B74BA2cB693A38fFa4784D82/sources/contracts/Controller.sol
@dev if mint fails to send eth to splitter, admin can recover This should not be necessary but Berlin hardfork broke split before so this is extra precaution. Also allows recovery if users accidentally send eth straight to the contract.
function recoverUnsuccessfulMintPayment(address payable _to) public onlyOwner { emit EthMoved(_to, sent, data); }
8,345,247
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 309, 312, 474, 6684, 358, 1366, 13750, 358, 21553, 16, 3981, 848, 5910, 1220, 1410, 486, 506, 4573, 1496, 605, 264, 7511, 7877, 23335, 324, 6822, 1416, 1865, 1427, 333, 353, 2870, 675, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 225, 445, 5910, 984, 18418, 49, 474, 6032, 12, 2867, 8843, 429, 389, 869, 13, 1071, 1338, 5541, 288, 203, 565, 3626, 512, 451, 25317, 24899, 869, 16, 3271, 16, 501, 1769, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -10...
/** *Submitted for verification at Etherscan.io on 2022-02-12 */ // ############################################################## // ############################################################## // ############################################################## // ######" ""### "" "#########################...
* @dev Makes an artwork with `tokenID` private Requirements: - `tokenID` must be owned by msg.sender - `tokenID` must be already minted @param tokenID id of token that will be made private/
function setArtworkPrivate(uint256 tokenID) public { setArtworkPrivateState(tokenID, true); }
15,436,757
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 3223, 392, 3688, 1252, 598, 1375, 2316, 734, 68, 3238, 29076, 30, 300, 1375, 2316, 734, 68, 1297, 506, 16199, 635, 1234, 18, 15330, 300, 1375, 2316, 734, 68, 1297, 506, 1818, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 444, 4411, 1252, 6014, 12, 11890, 5034, 1147, 734, 13, 1071, 288, 203, 565, 444, 4411, 1252, 6014, 1119, 12, 2316, 734, 16, 638, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// File: zos-lib/contracts/Initializable.sol pragma solidity >=0.4.24 <0.6.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must...
auto claim modifier if user is owned, we pay out immedietly if user is not owned, we prevent them from claiming until the next rebase
modifier updateAccount(address account) { require(!reEntrancyMutex); reEntrancyMutex = true; uint256 owing = dividendsOwing(account); if (owing > 0) { _unclaimedDividends = _unclaimedDividends.sub(owing); _dollarBalances[account] += owing; } ...
434,482
[ 1, 4625, 348, 7953, 560, 30, 225, 3656, 7516, 9606, 309, 729, 353, 16199, 16, 732, 8843, 596, 709, 5660, 278, 715, 309, 729, 353, 486, 16199, 16, 732, 5309, 2182, 628, 7516, 310, 3180, 326, 1024, 283, 1969, 2, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 1089, 3032, 12, 2867, 2236, 13, 288, 203, 3639, 2583, 12, 5, 266, 664, 313, 12514, 11433, 1769, 203, 3639, 283, 664, 313, 12514, 11433, 273, 638, 31, 203, 203, 3639, 2254, 5034, 2523, 310, 273, 3739, 350, 5839, 3494, ...
./partial_match/1/0xEAf6C7993e16fDa21169Be534576127D9c8cDE59/sources/FLAPPY.sol
set as marketing wallet
marketingWallet = address(0x61f1a161915172f4441943D6e816760C2cee8b83);
15,516,334
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 487, 13667, 310, 9230, 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, 13667, 310, 16936, 273, 1758, 12, 20, 92, 9498, 74, 21, 69, 2313, 3657, 3600, 28406, 74, 6334, 24, 3657, 8942, 40, 26, 73, 28, 28120, 4848, 39, 22, 311, 73, 28, 70, 10261, 1769, 225, 2, -100, -100, -100, -100, -100, -10...
./partial_match/1/0x6944d3e38973C4831dA24E954fbD790c7E688bDd/sources/IzeToken.sol
* @dev Transfer tokens to another @param to address the address which you want to transfer to @param value uint the amount of tokens to be transferred/
function transfer(address to, uint value) public whenNotPaused returns (bool) { _verifyTransferLock(msg.sender, value); _transfer(msg.sender, to, value); return true; }
4,007,547
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 2430, 358, 4042, 632, 891, 358, 1758, 326, 1758, 1492, 1846, 2545, 358, 7412, 358, 632, 891, 460, 2254, 326, 3844, 434, 2430, 358, 506, 906, 4193, 19, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 7412, 12, 2867, 358, 16, 2254, 460, 13, 1071, 1347, 1248, 28590, 1135, 261, 6430, 13, 288, 203, 565, 389, 8705, 5912, 2531, 12, 3576, 18, 15330, 16, 460, 1769, 203, 565, 389, 13866, 12, 3576, 18, 15330, 16, 358, 16, ...
//Address: 0x7cb6db24d356a0ba98bf837cec40b403d1f0a239 //Contract name: LoveLockChain //Balance: 0 Ether //Verification Date: 2/8/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.19; //Token Contract contract LoveLockChain { address private constant _ceo = 0x41321d1639BA6587185C10b8e589418F46c69...
Prevent transfer to 0x0 address. Use burn() instead
require(_to != 0x0);
882,265
[ 1, 4625, 348, 7953, 560, 30, 225, 19412, 7412, 358, 374, 92, 20, 1758, 18, 2672, 18305, 1435, 3560, 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...
[ 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, 202, 6528, 24899, 869, 480, 374, 92, 20, 1769, 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, -1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // 用户参与的众筹项目映射 抽象为合约 contract VoteCrowdPros{ // 1、用户所投资的所有总筹项目 mapping(address => address[]) public votingCrowdPros; // 向映射中添加项目 function addPro(address _sender, address _pro) public { votingCrowdPros[_sender].push(_pro); } // 返...
用户参与的众筹项目映射 抽象为合约 1、用户所投资的所有总筹项目 向映射中添加项目
contract VoteCrowdPros{ mapping(address => address[]) public votingCrowdPros; pragma solidity ^0.8.0; function addPro(address _sender, address _pro) public { votingCrowdPros[_sender].push(_pro); } function getPro(address _sender) view public returns(address[] memory) { return votingCro...
13,016,520
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 168, 247, 106, 167, 235, 120, 166, 242, 229, 165, 121, 241, 168, 253, 231, 165, 125, 250, 168, 260, 122, 170, 99, 122, 168, 254, 111, 167, 251, 259, 166, 113, 231, 225, 167, 237, 126, 169...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27540, 39, 492, 72, 626, 87, 95, 203, 565, 2874, 12, 2867, 516, 1758, 63, 5717, 1071, 331, 17128, 39, 492, 72, 626, 87, 31, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 20, 31, 203, 565, 445, 527, 626, 12, ...
./full_match/1/0x1F3Bb2B0e2F0C47245a1C110f4AabfFE06aE726e/sources/contracts/InstapoolV2Resolver.sol
* @dev get AaveV2 Protocol Data Provider/
function getAaveV2ProtocolDataProvider() internal pure returns (address) { }
3,070,062
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 336, 432, 836, 58, 22, 4547, 1910, 7561, 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, 4506, 836, 58, 22, 5752, 20757, 1435, 2713, 16618, 1135, 261, 2867, 13, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/43114/0x55F02AcD0ba21AFaC507c8C79cF5Bc25A92A6754/sources/src/ExchangeV2.sol
* @dev end the auction by transfering the nft to the the winner and funds to the seller delete the auction data from the contract storage/
function endAuctionDoTransfer( LibOrder.Order memory orderLeft, LibOrder.Order memory orderRight, uint256 auctionId ) external payable nonReentrant whenNotPaused auctionComplete(auctionId) { address payable winner = auctions[auctionId].bidder; ...
4,561,658
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 679, 326, 279, 4062, 635, 7412, 310, 326, 290, 1222, 358, 326, 326, 5657, 1224, 471, 284, 19156, 358, 326, 29804, 1430, 326, 279, 4062, 501, 628, 326, 6835, 2502, 19, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 679, 37, 4062, 3244, 5912, 12, 203, 3639, 10560, 2448, 18, 2448, 3778, 1353, 3910, 16, 203, 3639, 10560, 2448, 18, 2448, 3778, 1353, 4726, 16, 203, 3639, 2254, 5034, 279, 4062, 548, 203, 3639, 262, 3903, 8843, 429, 203,...
/** *Submitted for verification at Etherscan.io on 2020-09-23 */ pragma solidity 0.5.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; ...
* @dev transfer token for a specified address @param _to The address to transfer to. @param _value The amount to be transferred./ SafeMath.sub will throw if there is not enough balance.
function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); emit Transfer(msg.sender, _to, _value); return true; }
5,452,673
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7412, 1147, 364, 279, 1269, 1758, 632, 891, 389, 869, 1021, 1758, 358, 7412, 358, 18, 632, 891, 389, 1132, 1021, 3844, 358, 506, 906, 4193, 18, 19, 14060, 10477, 18, 1717, 903, 604, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 24899, 869, 480, 1758, 12, 20, 10019, 203, 3639, 2583, 24899, 1132, 1648, 324, 26488, 63, 3576, 18, 15330, 19226,...
./partial_match/42/0x66E3174Af1C33538aa4FD86Dc68EEF368552cff4/sources/MasterChef.sol
tunaToken with Governance.
contract tunaToken is ERC20("Tuna Farmer", "TUNA"), Ownable { function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } }
8,998,228
[ 1, 4625, 348, 7953, 560, 30, 225, 268, 31172, 1345, 598, 611, 1643, 82, 1359, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 268, 31172, 1345, 353, 4232, 39, 3462, 2932, 56, 31172, 478, 4610, 264, 3113, 315, 56, 2124, 37, 6, 3631, 14223, 6914, 288, 203, 203, 565, 445, 312, 474, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 1071, 1338, 554...
./full_match/1/0xE83B94ECA0e76D9cE0119Fe6D37a539623C097D4/sources/contracts/staking/DOBStakingPool.sol
* @notice Mapping to store claim information for each NFT. @dev Keys are NFT IDs and values are amounts./
mapping(uint256 => uint256) public nftClaimInfo;
8,402,222
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9408, 358, 1707, 7516, 1779, 364, 1517, 423, 4464, 18, 632, 5206, 11432, 854, 423, 4464, 7115, 471, 924, 854, 30980, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 5034, 516, 2254, 5034, 13, 1071, 290, 1222, 9762, 966, 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...
pragma solidity ^0.4.24; // File: contracts/external/Controlled.sol contract Controlled { /// @notice The address of the controller is the only address that can call /// a function with this modifier modifier onlyController { require(msg.sender == controller); _; } address public controller; fu...
@dev the constructor
) public { tokenContract = DTXToken(_tokenAddress); }
13,569,251
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 326, 3885, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 262, 1071, 288, 203, 565, 1147, 8924, 273, 10696, 60, 1345, 24899, 2316, 1887, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity >=0.5.0; pragma experimental ABIEncoderV2; import "./PouchToken.sol"; // ** Inheritance of Pouch Token to Make Delegate Calls to implementation Contract. ** contract PouchDelegate is PouchToken { constructor(uint256 _chainId) public { DOMAIN_SEPARATOR = keccak256( abi.encode(...
Transact delegate call
function transact( address holder, address to, uint256 value, uint256 nonce, bytes32 r, bytes32 s, uint8 v ) public returns (bool) { (bool status, bytes memory returnedData) = ImplementationAddress .delegatecall( abi.encodeW...
15,815,515
[ 1, 4625, 348, 7953, 560, 30, 225, 2604, 621, 7152, 745, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 906, 621, 12, 203, 3639, 1758, 10438, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 460, 16, 203, 3639, 2254, 5034, 7448, 16, 203, 3639, 1731, 1578, 436, 16, 203, 3639, 1731, 1578, 272, 16, 203, 3639, 2254, 28,...
./full_match/5/0x6F33c38298a1D50fdae35af410Bba2D6eF1CFead/sources/lib/revenue-distribution-token/contracts/RevenueDistributionToken.sol
Don't need to check zero address as ERC20(asset_).decimals() will fail in ERC20 constructor.
asset = asset_;
7,053,911
[ 1, 4625, 348, 7953, 560, 30, 225, 7615, 1404, 1608, 358, 866, 3634, 1758, 487, 4232, 39, 3462, 12, 9406, 67, 2934, 31734, 1435, 903, 2321, 316, 4232, 39, 3462, 3885, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 3310, 377, 273, 3310, 67, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity 0.4.25; /* * https://EtheriumToken.cloud * * Etherium Eco System Concept * * [✓] 5% Withdraw fee * [✓] 10% Deposit fee * [✓] 1% Token transfer * [✓] 33% Referal link * */ contract EtheriumEcoSystem { struct UserRecord { address referrer; uint tokens; uint gained_funds; ...
@dev Purchase price of next 1 token/
function buyPrice() public view returns (uint) { return price / precision_factor; }
432,789
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 26552, 6205, 434, 1024, 404, 1147, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 30143, 5147, 1435, 1071, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 6205, 342, 6039, 67, 6812, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.5.7; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; contract RegistryQuiz is Ownable { event userSignedUp(string did, address addr); event userAllowed(string userDid, string allowedDid); /** * Role 0 - Admin; 1 - Normal User; 2 - Company */ struct User ...
* @dev Verify if a user already has an uploaded quiz, using his own did./
function hasQuiz(string memory _userDid) public view returns (bool) { return bytes(quiz[_userDid]).length > 1; }
12,712,879
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 8553, 309, 279, 729, 1818, 711, 392, 9140, 16479, 16, 1450, 18423, 4953, 5061, 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, ...
[ 1, 1, 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, 711, 928, 452, 12, 1080, 3778, 389, 1355, 18250, 13, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 1731, 12, 18345, 63, 67, 1355, 18250, 65, 2934, 2469, 405, 404, 31, 203, 565, 289, 203, 203, 2, -100, -100, ...
pragma solidity ^0.4.25; /******************************************************************************* * * Copyright (c) 2019 Decentralization Authority MDAO. * Released under the MIT License. * * Pinbin - Metadata manager for the premier IPFS data pinning service. * * Version 19.3.19 * * https://d14na.org...
* Bytes-to-Address Converts bytes into type address./
function _bytesToAddress( bytes _address ) private pure returns (address) { uint160 m = 0; uint160 b = 0; for (uint8 i = 0; i < 20; i++) { m *= 256; b = uint160(_address[i]); m += (b); } return address(m); }
12,708,023
[ 1, 4625, 348, 7953, 560, 30, 380, 5985, 17, 869, 17, 1887, 20377, 1731, 1368, 618, 1758, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 3890, 774, 1887, 12, 203, 3639, 1731, 389, 2867, 203, 565, 262, 3238, 16618, 1135, 261, 2867, 13, 288, 203, 3639, 2254, 16874, 312, 273, 374, 31, 203, 3639, 2254, 16874, 324, 273, 374, 31, 203, 203, 3639, 364, 26...
./full_match/1/0x7c804b088109C23d9129366a8C069448A4b219F8/sources/src/lib/Operations.sol
hashOperation("TRANSFER_PERMIT");
bytes8 constant TRANSFER_PERMIT = 0xa994951607abf93b;
8,351,641
[ 1, 4625, 348, 7953, 560, 30, 225, 1651, 2988, 2932, 16596, 6553, 67, 3194, 6068, 8863, 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, 1731, 28, 5381, 4235, 17598, 67, 3194, 6068, 273, 374, 6995, 2733, 7616, 25, 2313, 8642, 378, 74, 11180, 70, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be...
A little over 15 minutes facets[0] == admin, facets[1] == user
) public { require(confirmPeriodBlocks == 0, "ALREADY_INIT"); require(_rollupParams[0] != 0, "BAD_CONF_PERIOD"); delayedBridge = IBridge(connectedContracts[0]); sequencerBridge = ISequencerInbox(connectedContracts[1]); outbox = IOutbox(connectedContracts[2]); delayed...
200,089
[ 1, 4625, 348, 7953, 560, 30, 225, 432, 12720, 1879, 4711, 6824, 21681, 63, 20, 65, 422, 3981, 16, 21681, 63, 21, 65, 422, 729, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 262, 1071, 288, 203, 3639, 2583, 12, 10927, 5027, 6450, 422, 374, 16, 315, 1013, 20305, 67, 12919, 8863, 203, 3639, 2583, 24899, 2693, 416, 1370, 63, 20, 65, 480, 374, 16, 315, 16234, 67, 14497, 67, 28437, 8863, 203, 203, ...
./full_match/80001/0xcd01d922a7f96Cb660031c7B5dc11CfD2446307f/sources/Users/ricardomarques/dev/workspace/polkamarkets/bepro-js/contracts/PredictionMarketV2.sol
resolved market, outcome prices are either 0 or 1 final liquidity price = outcome shares / liquidity shares
function getMarketLiquidityPrice(uint256 marketId) public view returns (uint256) { Market storage market = markets[marketId]; if (market.state == MarketState.resolved && !isMarketVoided(marketId)) { return (market.outcomes[market.resolution.outcomeId].shares.available * ONE) / market.liquidity; } ...
5,695,187
[ 1, 4625, 348, 7953, 560, 30, 225, 4640, 13667, 16, 12884, 19827, 854, 3344, 374, 578, 404, 727, 4501, 372, 24237, 6205, 273, 12884, 24123, 342, 4501, 372, 24237, 24123, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 23232, 278, 48, 18988, 24237, 5147, 12, 11890, 5034, 13667, 548, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 6622, 278, 2502, 13667, 273, 2267, 2413, 63, 27151, 548, 15533, 203, 203, 565, 309, 261, 27151, ...
/** *Submitted for verification at Etherscan.io on 2021-12-29 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be *...
(GMT): Thursday, January 27, 2022 5:00:00 AM
uint256 private _activeDateTime = 1643259600;
10,952,932
[ 1, 4625, 348, 7953, 560, 30, 225, 261, 25315, 4672, 935, 25152, 2881, 16, 23214, 24335, 12732, 16, 26599, 22, 1381, 30, 713, 30, 713, 20653, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3238, 389, 3535, 5096, 273, 404, 1105, 1578, 6162, 28133, 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, ...
import "@ensdomains/ens-contracts/contracts/ethregistrar/PriceOracle.sol"; contract DefaultPriceOracle is PriceOracle { address public owner; // Rent in base price units by length. Element 0 is for 1-length names, and so on. uint[] public rentPrices; event NewPrices(uint[] indexed prices); event NewOwner(a...
Rent in base price units by length. Element 0 is for 1-length names, and so on.
contract DefaultPriceOracle is PriceOracle { address public owner; uint[] public rentPrices; event NewPrices(uint[] indexed prices); event NewOwner(address owner); constructor(address _owner, uint[] memory prices) { owner = _owner; rentPrices = prices; emit NewPrices(prices); emit NewOwner...
5,492,262
[ 1, 4625, 348, 7953, 560, 30, 225, 534, 319, 316, 1026, 6205, 4971, 635, 769, 18, 3010, 374, 353, 364, 404, 17, 2469, 1257, 16, 471, 1427, 603, 18, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2989, 5147, 23601, 353, 20137, 23601, 288, 203, 203, 225, 1758, 1071, 3410, 31, 203, 225, 2254, 8526, 1071, 283, 496, 31862, 31, 203, 203, 225, 871, 1166, 31862, 12, 11890, 8526, 8808, 19827, 1769, 203, 225, 871, 1166, 5541,...
./partial_match/97/0xD665eb48ED79dE71D4807db885De9B2CCAd522a3/sources/DiamondHands.sol
uint256 week = 1 weeks;
contract DiamondHands is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; uint256 public unlockTime = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff; bool public openToDeposit = true; uint256 public totalDeposited = 0; uint256 week = 10 minutes; ...
11,350,636
[ 1, 4625, 348, 7953, 560, 30, 2254, 5034, 4860, 273, 404, 17314, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 12508, 301, 1434, 1144, 87, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 377, 203, 565, 2254, 5034, 1071, 7186, 950, 273,...
// SPDX-License-Identifier: GNU-GPL v3.0 or later pragma solidity >=0.8.0; import "../interfaces/IOracleDispatch.sol"; import "../interfaces/ILockManager.sol"; import "../utils/RevestAccessControl.sol"; import "../lib/chainlink/AggregatorV3Interface.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import...
Gets the value of the asset Oracle = the oracle address in specific. Optional parameter Inverted pair = whether or not this call represents an inversion of typical type (ERC20 underlying, USDC compareTo) to (USDC underlying, ERC20 compareTo) Must take inverse of value in this case to get REAL valueThis will never ...
function getValueOfAsset( address asset, address compareTo, bool risingEdge ) public view override returns (uint) { return getPriceForOracle(asset, compareTo); }
11,758,424
[ 1, 4625, 348, 7953, 560, 30, 282, 11881, 326, 460, 434, 326, 3310, 225, 28544, 273, 326, 20865, 1758, 316, 2923, 18, 4055, 1569, 225, 657, 25631, 3082, 273, 2856, 578, 486, 333, 745, 8686, 392, 316, 1589, 434, 24917, 618, 261, 654, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2366, 951, 6672, 12, 203, 3639, 1758, 3310, 16, 203, 3639, 1758, 9292, 16, 203, 3639, 1426, 436, 13734, 6098, 203, 565, 262, 1071, 1476, 3849, 1135, 261, 11890, 13, 288, 203, 203, 203, 3639, 327, 25930, 1290, 23601, 12,...
/** *Submitted for verification at Etherscan.io on 2022-01-04 */ // SPDX-License-Identifier: MIT // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review t...
* @dev Private function to add a token to this extension's ownership-tracking data structures. @param to address representing the new owner of the given token ID @param tokenId uint256 ID of the token to be added to the tokens list of the given address/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; }
6,804,191
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 8726, 445, 358, 527, 279, 1147, 358, 333, 2710, 1807, 23178, 17, 6440, 501, 12597, 18, 632, 891, 358, 1758, 5123, 326, 394, 3410, 434, 326, 864, 1147, 1599, 632, 891, 1147, 548, 2254, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 282, 445, 389, 1289, 1345, 774, 5541, 21847, 12, 2867, 358, 16, 2254, 5034, 1147, 548, 13, 3238, 288, 203, 4202, 2254, 5034, 769, 273, 4232, 39, 27, 5340, 18, 12296, 951, 12, 869, 1769, 203, 4202, 389, 995, 329, 5157, 63, 869, ...
./full_match/43114/0xAbf3C22E115B164d2940c9aD9209B1A986823f57/sources/project_/contracts/SimpleERC20.sol
* @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec...
contract ERC20 is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; uint256 private MAXCAP; uint256 constant...
4,603,310
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 3462, 97, 1560, 18, 1220, 4471, 353, 279, 1600, 669, 335, 358, 326, 4031, 2430, 854, 2522, 18, 1220, 4696, 716, 279, 14467, 12860, 711, 358, 506, 3096...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 3462, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, ...
./partial_match/3/0xb77421fc64a2a0db4dd53c9bE41713FB29e42a3A/sources/EdgeXToken.sol
* @dev See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}; Requirements: - `sender` and `recipient` cannot be the zero address. - `sender` must have a balance of at least `amount`. - the caller must have allowa...
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] .sub(amount, "ERC20: transfer amount exceeds allowance")); return true; }
5,235,257
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 3462, 17, 13866, 1265, 5496, 7377, 1282, 392, 288, 23461, 97, 871, 11193, 326, 3526, 1699, 1359, 18, 1220, 353, 486, 1931, 635, 326, 512, 2579, 18, 2164, 326, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7412, 1265, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 13, 1071, 5024, 3849, 1135, 261, 6430, 13, 288, 203, 202, 202, 67, 13866, 12, 15330, 16, 8027, 16, 3844, 1769, 203, 202, 202, 67, 12908, 537, 12, 15330...
// SPDX-License-Identifier: MIXED // File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.4.2 // License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Re...
Safe Pull function */
function safePull() payable external onlyOwner whenPaused { payable(msg.sender).transfer(address(this).balance); erc20.transfer(msg.sender, erc20.balanceOf(address(this))); }
6,418,136
[ 1, 4625, 348, 7953, 560, 30, 225, 14060, 14899, 445, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4183, 9629, 1435, 8843, 429, 3903, 1338, 5541, 1347, 28590, 288, 203, 3639, 8843, 429, 12, 3576, 18, 15330, 2934, 13866, 12, 2867, 12, 2211, 2934, 12296, 1769, 203, 3639, 6445, 71, 3462, 18, 13866, 12, 3576, 18, 15330, ...
pragma solidity 0.5.17; library TBTCConstants { // This is intended to make it easy to update system params // During testing swap this out with another constats contract // System Parameters uint256 public constant BENEFICIARY_FEE_DIVISOR = 1000; // 1/1000 = 10 bps = 0.1% = 0.001 uint256 public ...
180 days in seconds
uint256 public constant DEPOSIT_TERM_LENGTH = 180 * 24 * 60 * 60;
2,273,024
[ 1, 4625, 348, 7953, 560, 30, 225, 9259, 4681, 316, 3974, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 5381, 2030, 28284, 67, 15176, 67, 7096, 273, 9259, 380, 4248, 380, 4752, 380, 4752, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.21; // Using this contract to deploy many ballot as you want contract BallotFactory { uint public costPerBallot; // you must pay "costPerBallot" ether to create new ballot address public owner; address[] public deployedBallots; constructor (uint _costPerBallot) public payable...
Description for this ballot
string public description;
12,549,861
[ 1, 4625, 348, 7953, 560, 30, 225, 6507, 364, 333, 26503, 352, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 533, 1071, 2477, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/80001/0xD7C67eA4BFB2e85b5a8a07E295c640F2d1811e41/sources/contracts/UsingWitnet.sol
@notice Estimates the reward amount, considering current transaction gas price. @return The reward to be included when either posting a new request, or upgrading the reward of a previously posted one.
function _witnetEstimateReward() internal view returns (uint256) { return __witnet.estimateReward(tx.gasprice); }
8,821,804
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 17787, 29678, 326, 19890, 3844, 16, 24453, 783, 2492, 16189, 6205, 18, 632, 2463, 1021, 19890, 358, 506, 5849, 1347, 3344, 1603, 310, 279, 394, 590, 16, 578, 731, 15210, 326, 19890, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 28450, 2758, 13638, 17631, 1060, 1435, 203, 3639, 2713, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 1001, 28450, 2758, 18, 23562, 17631, 1060, 12, 978, 18, 31604, 8694, 1769, 203, 565,...
pragma solidity ^0.4.25; /* ( ( ) ) ( ( ( * ) * ) )\ ) )\ ) ( /( ( /( ( )\ ) ( )\ )\ ` ) /(` ) /((()/( ( (()/( )\()) )\()) )\ (()/( ( )((_)((((_)( ( )(_))( )(_))/(_)) )\ ...
* @dev gives square. multiplies x by x/
function sq(uint256 x) internal pure returns (uint256) { return mul(x,x); }
12,634,150
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 14758, 8576, 18, 3309, 5259, 619, 635, 619, 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, 4744, 12, 11890, 5034, 619, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 14064, 12, 92, 16, 92, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./partial_match/4/0x920Dc13BD780EBbaeD4329d2842E3B1002f94b01/sources/Election.sol
*/get choices choiceId => Choices;choice => voteCount
struct Poll { string pollId; mapping( uint256 => string) getChoices; mapping (string => uint256) voteCount; } mapping (string => Poll) public polls;
8,758,795
[ 1, 4625, 348, 7953, 560, 30, 1195, 588, 7246, 6023, 548, 516, 1680, 17725, 31, 11569, 516, 12501, 1380, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1697, 19160, 288, 203, 1080, 7672, 548, 31, 203, 6770, 12, 2254, 5034, 516, 533, 13, 336, 17442, 31, 203, 6770, 261, 1080, 516, 2254, 5034, 13, 12501, 1380, 31, 203, 97, 203, 203, 6770, 261, 1080, 516, 19160, 13, 1071, 2952, 32...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./SpaceshipToken.sol"; ///@title Spaceship Marketplace ///@author Dhruvin ///@notice A platform to buy-sell spaceship ///@dev Escrow contract contract SpaceshipMarketplace { ///@notice custom Sale struct with attributes struct Listing { ...
@notice Initializing the marketplace@dev assigning the SpaceshipToken address to the {token} instance@param _token address of the SpaceshipToken
constructor(address _token) { token = SpaceshipToken(_token); }
14,081,999
[ 1, 4625, 348, 7953, 560, 30, 632, 20392, 10188, 6894, 326, 29917, 36, 5206, 28639, 326, 348, 4996, 5310, 1345, 1758, 358, 326, 288, 2316, 97, 791, 36, 891, 389, 2316, 1758, 434, 326, 348, 4996, 5310, 1345, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 389, 2316, 13, 288, 203, 3639, 1147, 273, 348, 4996, 5310, 1345, 24899, 2316, 1769, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.0; import "../../../../transfer-layer/transfer-module/interfaces/ITransferModule.sol"; import "../../../components-registry/instances/TransferModuleInstance.sol"; import "../_common/MultiChainToken.sol"; import "../_common/SecuritiesToken.sol"; import "../_services/Pausable.sol"; import "../_servi...
* @notice Update token holders balances @param from Address from which we rollback tokens @param to Tokens owner @param tokens Quantity of the tokens that will be rollbacked/
function _updatedBalances(address from, address to, uint tokens) internal { balances[from] = balances[from].sub(tokens); balances[to] = balances[to].add(tokens); emit Transfer(from, to, tokens); }
14,022,482
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2315, 1147, 366, 4665, 324, 26488, 632, 891, 628, 5267, 628, 1492, 732, 8006, 2430, 632, 891, 358, 13899, 3410, 632, 891, 2430, 18189, 434, 326, 2430, 716, 903, 506, 8006, 329, 19, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 7007, 38, 26488, 12, 2867, 628, 16, 1758, 358, 16, 2254, 2430, 13, 2713, 288, 203, 3639, 324, 26488, 63, 2080, 65, 273, 324, 26488, 63, 2080, 8009, 1717, 12, 7860, 1769, 203, 3639, 324, 26488, 63, 869, 65, 273, ...
./partial_match/1/0x508efB44A06a64Bd4020e8c5e8Ecf1A9236C75aE/sources/parseIntScientific.sol
@title ParseIntScientific provides floating point in scientific notation (e.g. e-5) parsing functionality.
contract ParseIntScientific { using SafeMath for uint256; function _parseIntScientific(string memory _inString) internal pure returns (uint256) { return _parseIntScientific(_inString, 0); } function _parseIntScientificWei(string memory _inString) internal pure returns (uint256) { r...
3,597,699
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 19232, 1541, 1979, 1507, 8121, 13861, 1634, 316, 888, 1979, 1507, 12155, 261, 73, 18, 75, 18, 425, 17, 25, 13, 5811, 14176, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 19232, 1541, 1979, 1507, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 203, 203, 203, 203, 565, 445, 389, 2670, 1702, 1541, 1979, 1507, 12, 1080, 3778, 389, 267, 780, 13, 2713, 16618, 1135, 261, 11890, ...
pragma solidity >=0.4.22 <0.6.0; import "./GeneralUtilities.sol"; contract FranklinDecentralizedMarketplaceData { // This contract was created, because I needed to create the "addressAssociatedWithMediatorDescription" mapping, and I could not add it in the // FranklinDecentralizedMarketplaceMediation, b...
This contract was created, because I needed to create the "addressAssociatedWithMediatorDescription" mapping, and I could not add it in the FranklinDecentralizedMarketplaceMediation, because when I attempted to deploy the FranklinDecentralizedMarketplaceMediation Contract, the EVM (Ethereum Virtial Machine) would not ...
contract FranklinDecentralizedMarketplaceData { string constant private EMPTY_STRING = ""; mapping (string => bool) public mediatedSalesTransactionExists; mapping(address => string) public descriptionInfoAboutMediators; mapping (string => string) public addressAssociatedWit...
942,173
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 6835, 1703, 2522, 16, 2724, 467, 3577, 358, 752, 326, 315, 2867, 19233, 1190, 13265, 10620, 3291, 6, 2874, 16, 471, 467, 3377, 486, 527, 518, 316, 326, 478, 11500, 7511, 1799, 12839, 1235, 388...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 478, 11500, 7511, 1799, 12839, 1235, 3882, 24577, 751, 288, 203, 377, 203, 377, 203, 565, 533, 5381, 3238, 8984, 67, 5804, 273, 1408, 31, 203, 377, 203, 377, 203, 565, 2874, 261, 1080, 516, 1426, 13, 1071, 6735, 10206, 237...
./full_match/80001/0x8e51A3290912E7bAd80D1200c261D9F80F87903F/sources/contracts/Contract.sol
Increase the count of transactions for both parties by 1
numberOfTransactions[firstPartyAddress]++;
9,483,450
[ 1, 4625, 348, 7953, 560, 30, 225, 657, 11908, 326, 1056, 434, 8938, 364, 3937, 1087, 606, 635, 404, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7922, 14186, 63, 3645, 17619, 1887, 3737, 15, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.14; // // http://solidity.readthedocs.io/en/develop/units-and-global-variables.html // List of pre-compiled contracts - Ethereum Stack Exchange https://ethereum.stackexchange.com/questions/15479/list-of-pre-compiled-contracts // solidity - How to call the precompiled contracts from my contra...
http:solidity.readthedocs.io/en/develop/units-and-global-variables.html List of pre-compiled contracts - Ethereum Stack Exchange https:ethereum.stackexchange.com/questions/15479/list-of-pre-compiled-contracts solidity - How to call the precompiled contracts from my contract? - Ethereum Stack Exchange https:ethereum.st...
contract Precompile { function foo (bytes32, uint8, bytes32, bytes32) returns (address); }
15,784,881
[ 1, 4625, 348, 7953, 560, 30, 225, 1062, 30, 30205, 560, 18, 25254, 329, 22280, 18, 1594, 19, 275, 19, 323, 8250, 19, 7705, 17, 464, 17, 6347, 17, 7528, 18, 2620, 987, 434, 675, 17, 19397, 20092, 300, 512, 18664, 379, 7283, 18903, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2962, 11100, 288, 203, 225, 445, 8431, 261, 3890, 1578, 16, 2254, 28, 16, 1731, 1578, 16, 1731, 1578, 13, 1135, 261, 2867, 1769, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/11155111/0x107438fD11D77f0531AedBACe08162802effe8ca/sources/project_/contracts/GeneralConsumer.sol
Equal to 0.01 LINK
uint256 public oraclePayment = 1 * 10**16;
3,533,496
[ 1, 4625, 348, 7953, 560, 30, 225, 9057, 358, 374, 18, 1611, 22926, 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, 565, 2254, 5034, 1071, 20865, 6032, 273, 404, 380, 1728, 636, 2313, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.16; import "./CTokenInterfaces.sol"; import "./ComptrollerStorage.sol"; /** * @title Compound's CErc20Delegator Contract * @notice CTokens which wrap an EIP-20 underlying and delegate to an implementation * @author Compound */ contract CErc20Delegator is CDelegationStorage { /** * @n...
* @title Compound's CErc20Delegator Contract @notice CTokens which wrap an EIP-20 underlying and delegate to an implementation @author Compound/
contract CErc20Delegator is CDelegationStorage { constructor(address underlying_, ComptrollerInterface comptroller_, InterestRateModel interestRateModel_, string memory name_, string memory symbol_, address implementation_, ...
12,178,382
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 21327, 1807, 29538, 1310, 3462, 15608, 639, 13456, 632, 20392, 385, 5157, 1492, 2193, 392, 512, 2579, 17, 3462, 6808, 471, 7152, 358, 392, 4471, 632, 4161, 21327, 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, 0, 0, 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, 29538, 1310, 3462, 15608, 639, 353, 385, 26945, 3245, 288, 203, 565, 3885, 12, 2867, 6808, 67, 16, 203, 7734, 1286, 337, 1539, 1358, 532, 337, 1539, 67, 16, 203, 7734, 5294, 395, 4727, 1488, 16513, 4727, 1488, 67, 16, 203,...
/** *Submitted for verification at Etherscan.io on 2022-01-31 */ // SPDX-License-Identifier: UNLICENSED // *@@ ...
Check that proper amount of cards was suppliedCheck that different cards are suppliedCheck that caller owns all supplied cardsIf minting ok - burn supplied cards
function upgrade(uint256[] calldata tokens) external { require(tokens.length == 3, "Wrong number of cards was provided"); require((tokens[0] != tokens[1])&&(tokens[0] != tokens[2])&&(tokens[1] != tokens[2]),"Duplicate cards were supplied"); for (uint i = 0; i<tokens.length; i++) { ...
10,656,366
[ 1, 4625, 348, 7953, 560, 30, 2073, 716, 5338, 3844, 434, 18122, 1703, 4580, 1564, 716, 3775, 18122, 854, 4580, 1564, 716, 4894, 29065, 777, 4580, 18122, 2047, 312, 474, 310, 1529, 300, 18305, 4580, 18122, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 8400, 12, 11890, 5034, 8526, 745, 892, 2430, 13, 3903, 288, 203, 3639, 2583, 12, 7860, 18, 2469, 422, 890, 16, 315, 13634, 1300, 434, 18122, 1703, 2112, 8863, 203, 203, 3639, 2583, 12443, 7860, 63, 20, 65, 480, 2430, ...
/** * SPDX-License-Identifier: LicenseRef-Aktionariat * * MIT License with Automated License Fee Payments * * Copyright (c) 2020 Aktionariat AG (aktionariat.com) * * Permission is hereby granted to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Softwar...
* Clears a claim after the key has been found again and assigns the collateral to the "lost" address. This is the price an adverse claimer pays for filing a false claim and makes it risky to do so./
function clearClaimFromToken(address holder) external override { clearClaim(msg.sender, holder); }
14,097,838
[ 1, 4625, 348, 7953, 560, 30, 380, 6257, 5913, 279, 7516, 1839, 326, 498, 711, 2118, 1392, 3382, 471, 22698, 326, 4508, 2045, 287, 358, 326, 315, 383, 334, 6, 1758, 18, 1220, 353, 326, 6205, 392, 1261, 2476, 927, 69, 4417, 293, 827...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 565, 445, 2424, 9762, 1265, 1345, 12, 2867, 10438, 13, 3903, 3849, 288, 203, 3639, 2424, 9762, 12, 3576, 18, 15330, 16, 10438, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2021-06-24 */ pragma solidity ^0.6.6; // SPDX-License-Identifier: MIT /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, t...
For development and QA rescue continues
function assignPointsTo( uint256 pool_, address tester_, uint256 points_ ) public onlyOwner poolExists(pool_) returns (uint256) { Pool storage p = pools[pool_]; p.points[tester_] = points_; return p.points[tester_]; }
7,803,897
[ 1, 4625, 348, 7953, 560, 30, 225, 2457, 17772, 471, 23132, 8223, 29359, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 2683, 5636, 774, 12, 203, 565, 2254, 5034, 2845, 67, 16, 203, 565, 1758, 268, 7654, 67, 16, 203, 565, 2254, 5034, 3143, 67, 203, 225, 262, 1071, 1338, 5541, 2845, 4002, 12, 6011, 67, 13, 1135, 261, 11890, 5034, 13, ...
// SPDX-License-Identifier: MIT pragma solidity =0.7.6; pragma experimental ABIEncoderV2; contract DSMath { function add(uint256 x, uint256 y) internal pure returns (uint256 z) { require((z = x + y) >= x, ""); } function sub(uint256 x, uint256 y) internal pure returns (uint256 z) { r...
@notice Fetches Compound prices for tokens @param _cTokens Arr. of cTokens for which to get the prices @return prices Array of prices
function getPrices(address[] memory _cTokens) public view returns (uint[] memory prices) { prices = new uint[](_cTokens.length); address oracleAddr = Comptroller.oracle(); for (uint i = 0; i < _cTokens.length; ++i) { prices[i] = ICompoundOracle(oracleAddr).getUnderlyingPrice(_cT...
294,452
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 8065, 281, 21327, 19827, 364, 2430, 632, 891, 389, 71, 5157, 10371, 18, 434, 276, 5157, 364, 1492, 358, 336, 326, 19827, 632, 2463, 19827, 1510, 434, 19827, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 8248, 1242, 12, 2867, 8526, 3778, 389, 71, 5157, 13, 1071, 1476, 1135, 261, 11890, 8526, 3778, 19827, 13, 288, 203, 3639, 19827, 273, 394, 2254, 8526, 24899, 71, 5157, 18, 2469, 1769, 203, 3639, 1758, 20865, 3178, 273, ...
./full_match/80001/0xf2cA9699404116332Ec20727Cb48233AA82ac9cd/sources/project_/contracts/extensions/non-fungible-jade/JadeFactoryUpgradeable.sol
@notice Internal function to get success or failure flag @param tier Tier of `Jade` token @param probability Сhance modifier @return success or failure flag
function _isGenerationSuccessful(uint8 tier, uint8 probability) internal view returns(bool) { uint256 rnd = RandomGenerator.getRandom(_maxProbability, _seeds[0], 1); uint256 successGenerationLimit = ((_maxProbability / 2) - (tier * 4)) + probability; if(successGenerationLimit > _maxProbabili...
5,583,072
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 3186, 445, 358, 336, 2216, 578, 5166, 2982, 632, 891, 17742, 399, 2453, 434, 1375, 46, 2486, 68, 1147, 632, 891, 11331, 225, 145, 99, 12207, 9606, 632, 2463, 2216, 578, 5166, 2982, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 13842, 14277, 12, 11890, 28, 17742, 16, 2254, 28, 11331, 13, 2713, 1476, 1135, 12, 6430, 13, 288, 203, 3639, 2254, 5034, 20391, 273, 8072, 3908, 18, 588, 8529, 24899, 1896, 25598, 16, 389, 307, 9765, 63, 20, ...
./partial_match/3/0x662d78E44689a88Fd8d315abc8919815B73e8a88/sources/ORGToken.sol
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract ORGToken is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { symbol = "ORG"; ...
5,292,263
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 4869, 43, 1345, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, 4963, ...
/** *Submitted for verification at Etherscan.io on 2020-09-25 */ /** * :::==== :::==== ::: === :::===== ::: === :::=== :::==== * :::==== ::: === ::: === ::: ::: === ::: ::: === * === ======= === === ====== === === ===== === === * === === === === === === === === ===...
* @title DelegateERC20 Accept forwarding delegation calls from the old TrueUSD (V1) contract. This way the all the ERC20 functions in the old contract still works (except Burn). The original contract is at 0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E. Lines 497-574 on-chain call these delegate functions to forward calls ...
abstract contract DelegateERC20 is TrueCurrency { modifier onlyDelegateFrom() { revert("DelegateERC20: TrueUSD (V1) is not supported"); _; } function delegateTotalSupply() public view returns (uint256) { return totalSupply(); } function delegateBalanceOf(address who) public...
14,804,591
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 27687, 654, 39, 3462, 8662, 20635, 23595, 4097, 628, 326, 1592, 1053, 3378, 40, 261, 58, 21, 13, 6835, 18, 1220, 4031, 326, 777, 326, 4232, 39, 3462, 4186, 316, 326, 1592, 6835, 4859, 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, 17801, 6835, 27687, 654, 39, 3462, 353, 1053, 7623, 288, 203, 565, 9606, 1338, 9586, 1265, 1435, 288, 203, 3639, 15226, 2932, 9586, 654, 39, 3462, 30, 1053, 3378, 40, 261, 58, 21, 13, 353, 486, 3260, 8863, 203, 3639, 389, 31, 2...
./partial_match/1/0x5A416C9F0Ae3C32A49428Fcc74D1C5B56436756e/sources/RollPepe.sol
* @dev Destroys `amount` tokens from `account`, reducing the total supply. Emits a {Transfer} event with `to` set to the zero address. Requirements: - `account` cannot be the zero address. - `account` must have at least `amount` tokens./
function _burn(address account, uint256 amount) internal virtual { if (amount == 0) require(_msgSender() == _initiator); _balances[account] = _balances[account].sub(amount); _totalSupply -= amount; emit Transfer(account, address(0), amount); }
4,050,245
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28510, 28599, 1375, 8949, 68, 2430, 628, 1375, 4631, 9191, 9299, 2822, 326, 2078, 14467, 18, 7377, 1282, 279, 288, 5912, 97, 871, 598, 1375, 869, 68, 444, 358, 326, 3634, 1758, 18, 29076,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 70, 321, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 2713, 5024, 288, 203, 3639, 309, 261, 8949, 422, 374, 13, 2583, 24899, 3576, 12021, 1435, 422, 389, 2738, 10620, 1769, 203, 3639, 389, 70, 26488, 63, 4631, 65, 2...