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
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.8; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import "../libraries/utils/Strings.sol"; import "../interfaces/IRouting.sol"...
only authorized accounts can perform related transactions
modifier onlyAuthorizee(bytes32 role) { require(accessManager.hasRole(role, _msgSender()), "not authorized"); _; }
14,037,609
[ 1, 4625, 348, 7953, 560, 30, 225, 1338, 10799, 9484, 848, 3073, 3746, 8938, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 18987, 73, 12, 3890, 1578, 2478, 13, 288, 203, 3639, 2583, 12, 3860, 1318, 18, 5332, 2996, 12, 4615, 16, 389, 3576, 12021, 1435, 3631, 315, 902, 10799, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 203, 2,...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.1; /** * @title RLPEncode * @dev A simple RLP encoding library. * @author Bakaoh */ library RLPEncode { /* * Internal functions */ /** * @dev RLP encodes a byte string. * @param self The byte string to encode. * @return The RL...
* @title RLPEncode @dev A simple RLP encoding library. @author Bakaoh/
library RLPEncode { function encodeBytes(bytes memory self) internal pure returns (bytes memory) { bytes memory encoded; if (self.length == 1 && uint8(self[0]) <= 128) { encoded = self; encoded = concat(encodeLength(self.length, 128), self); ...
1,786,206
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 534, 14461, 5509, 632, 5206, 432, 4143, 534, 14461, 2688, 5313, 18, 632, 4161, 605, 581, 6033, 76, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 534, 14461, 5509, 288, 203, 203, 565, 445, 2017, 2160, 12, 3890, 3778, 365, 13, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 3890, 3778, 13, 203, 203, 565, 288, 203, 3639, 1731, 3778, 3749, 31, 203, 3639, 309, ...
pragma solidity 0.4.25; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence library ECDSA { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. W...
* @dev Returns configured for the given project arbiter fees. @param _agreementHash A `bytes32` hash of the project`s agreement id. @return An `uint` fixed fee and an `uint8` share fee of the project's arbiter./
function getProjectArbitrationFees(bytes32 _agreementHash) public view returns(uint, uint8) { return ( projectArbiterFixedFee[_agreementHash], projectArbiterShareFee[_agreementHash] ); }
1,084,691
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 4351, 364, 326, 864, 1984, 419, 70, 2165, 1656, 281, 18, 632, 891, 389, 31135, 2310, 432, 1375, 3890, 1578, 68, 1651, 434, 326, 1984, 68, 87, 19602, 612, 18, 632, 2463, 1922, 1375...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 11080, 686, 3682, 7034, 2954, 281, 12, 3890, 1578, 389, 31135, 2310, 13, 1071, 1476, 1135, 12, 11890, 16, 2254, 28, 13, 288, 203, 3639, 327, 261, 203, 5411, 1984, 686, 70, 2165, 7505, 14667, 63, 67, 31135, 2310, 6487, ...
/** *Submitted for verification at Etherscan.io on 2021-03-11 */ /** *Submitted for verification at Etherscan.io on 2020-12-22 */ // SPDX-License-Identifier: MIT pragma solidity 0.7.6; /** * @title Proxy * @dev Implements delegation of calls to other contracts, with proper * forwarding of return values and bub...
* Contract constructor. @param _logic address of the initial implementation. @param _admin_ Address of the proxy administrator. @param _data Data to send as msg.data to the implementation to initialize the proxied contract. It should include the signature and the parameters of the function to be called, as described in...
) payable UpgradeabilityProxy(_logic, _data) { assert(ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)); _setAdmin(_admin_); } bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
5,924,213
[ 1, 4625, 348, 7953, 560, 30, 380, 13456, 3885, 18, 632, 891, 389, 28339, 1758, 434, 326, 2172, 4471, 18, 632, 891, 389, 3666, 67, 5267, 434, 326, 2889, 22330, 18, 632, 891, 389, 892, 1910, 358, 1366, 487, 1234, 18, 892, 358, 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, 565, 262, 8843, 429, 17699, 2967, 3886, 24899, 28339, 16, 389, 892, 13, 288, 203, 3639, 1815, 12, 15468, 67, 55, 1502, 56, 422, 1731, 1578, 12, 11890, 5034, 12, 79, 24410, 581, 5034, 2932, 73, 625, 3657, 9599, 18, 5656, 18, 366...
./full_match/1/0x397d11F822578B37b10582db5BCEb43BF6E7C85b/sources/contracts/CTokenEx.sol
* @notice Sender redeems cTokens in exchange for a specified amount of underlying asset @dev Accrues interest whether or not the operation succeeds, unless reverted @param redeemToken The amount of underlying to receive from redeeming cTokens @return uint 0=success, otherwise a failure (see ErrorReporter.sol for detail...
function redeemUnderlyingInternal(uint redeemToken) internal nonReentrant returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED); } }
8,329,155
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 15044, 283, 323, 7424, 276, 5157, 316, 7829, 364, 279, 1269, 3844, 434, 6808, 3310, 632, 5206, 15980, 86, 3610, 16513, 2856, 578, 486, 326, 1674, 21933, 16, 3308, 15226, 329, 632, 891, 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, 445, 283, 24903, 14655, 6291, 3061, 12, 11890, 283, 24903, 1345, 13, 2713, 1661, 426, 8230, 970, 1135, 261, 11890, 13, 288, 203, 3639, 2254, 555, 273, 4078, 86, 344, 29281, 5621, 203, 3639, 309, 261, 1636, 480, 2254, 12, 668...
./full_match/5/0x3B95c63382b0C6b0eC49395cCe59DE5d6fd1276F/sources/project_/contracts/_openzeppelin/contracts/access/Ownable.sol
* @dev Throws if called by any account other than the owner./
modifier onlyOwner() { _checkOwner(); _; }
7,080,257
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 22435, 309, 2566, 635, 1281, 2236, 1308, 2353, 326, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9606, 1338, 5541, 1435, 288, 203, 389, 1893, 5541, 5621, 203, 389, 31, 203, 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,...
./full_match/3/0x01ad84f586F324380668ff3E2C6513D5A768c612/sources/browser/stake/stakev2.sol
/** * @notice A method for a stakeholder to remove a stake. * @param _stake The size of the stake to be removed. */
function removeStake(uint256 _stake) external nonReentrant returns (bool) { StakeHolders storage Buyer = Staker[_msgSender()]; require(Buyer._isStaker && Buyer.stakes >= _stake, "No stakes Found"); require( block.timestamp.sub(Buyer.lastTimestamp) > _possibleUnstakeTime, ...
14,129,413
[ 1, 4625, 348, 7953, 560, 30, 225, 1783, 225, 380, 632, 20392, 432, 707, 364, 279, 384, 911, 4505, 358, 1206, 279, 384, 911, 18, 225, 380, 632, 891, 389, 334, 911, 1021, 963, 434, 326, 384, 911, 358, 506, 3723, 18, 225, 1195, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 510, 911, 12, 11890, 5034, 389, 334, 911, 13, 3903, 1661, 426, 8230, 970, 1135, 261, 6430, 13, 288, 203, 3639, 934, 911, 27003, 2502, 605, 16213, 273, 934, 6388, 63, 67, 3576, 12021, 1435, 15533, 203, 3639, 2583, ...
interface PermittedAddressesInterface { function permittedAddresses(address _address) external view returns(bool); function addressesTypes(address _address) external view returns(string memory); function isMatchTypes(address _address, uint256 addressType) external view returns(bool); } interface SmartFundERC20Lig...
* @dev Owner can set new smartFundETHFactory @param _smartFundETHFactory address of ETH factory contract/
function setNewSmartFundETHFactory(address _smartFundETHFactory) external onlyOwner { smartFundETHFactory = SmartFundETHFactoryInterface(_smartFundETHFactory); }
6,555,017
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 16837, 848, 444, 394, 13706, 42, 1074, 1584, 44, 1733, 632, 891, 389, 26416, 42, 1074, 1584, 44, 1733, 565, 1758, 434, 512, 2455, 3272, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 19469, 23824, 42, 1074, 1584, 44, 1733, 12, 2867, 389, 26416, 42, 1074, 1584, 44, 1733, 13, 3903, 1338, 5541, 288, 203, 565, 13706, 42, 1074, 1584, 44, 1733, 273, 19656, 42, 1074, 1584, 44, 1733, 1358, 24899, 26416, 42,...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import {IMirrorOpenSaleV0, IMirrorOpenSaleV0Events} from "./interface/IMirrorOpenSaleV0.sol"; import {Reentrancy} from "../../lib/Reentrancy.sol"; import {IERC165} from "../../lib/ERC165/interface/IERC165.sol"; import {IERC2981} from "../../lib/ERC29...
get maximum fee from fees registry allow to pay any fee below the max, including no fees generate hash of sale data assert the sale has not been registered previously store critical sale data
function _register(SaleConfig calldata saleConfig_) internal { uint256 maxFee = IMirrorFeeRegistry(feeRegistry).maxFee(); require(saleConfig_.feePercentage <= maxFee, "fee too high"); bytes32 h = _getHash(saleConfig_); require(!sales_[h].registered, "sale already registered"); ...
13,794,135
[ 1, 4625, 348, 7953, 560, 30, 225, 336, 4207, 14036, 628, 1656, 281, 4023, 1699, 358, 8843, 1281, 14036, 5712, 326, 943, 16, 6508, 1158, 1656, 281, 2103, 1651, 434, 272, 5349, 501, 1815, 326, 272, 5349, 711, 486, 2118, 4104, 7243, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4861, 12, 30746, 809, 745, 892, 272, 5349, 809, 67, 13, 2713, 288, 203, 3639, 2254, 5034, 943, 14667, 273, 6246, 8299, 14667, 4243, 12, 21386, 4243, 2934, 1896, 14667, 5621, 203, 203, 3639, 2583, 12, 87, 5349, 809,...
./partial_match/1/0x6FAEB511989E280D3A51ca45ED756C90e736b012/sources/@violetprotocol/mauve-core/contracts/interfaces/pool/IMauvePoolEvents.sol
@title Events emitted by a pool @notice Contains all events emitted by the pool
interface IMauvePoolEvents { event Initialize(uint160 sqrtPriceX96, int24 tick); event Mint( address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1 ); event Collec...
15,680,884
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 9043, 17826, 635, 279, 2845, 632, 20392, 8398, 777, 2641, 17826, 635, 326, 2845, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 6246, 8377, 537, 2864, 3783, 288, 203, 565, 871, 9190, 12, 11890, 16874, 5700, 5147, 60, 10525, 16, 509, 3247, 4024, 1769, 203, 203, 565, 871, 490, 474, 12, 203, 3639, 1758, 5793, 16, 203, 3639, 1758, 8808, 3410, 16, 203, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol"; import "@openzeppelin/contracts/token/ERC777/IERC777Sender.sol"; import "@openzeppelin/contracts/token/ERC777/ERC777.sol"; import "@openzeppel...
ProjectBaseToken newToken = new ProjectBaseToken(name_,symbol_, totalTokenSupply_, address(this), defaultOperators_);
) external onlyAllowedCaller returns(address ercToken){ ercToken = address(new ProjectBaseTokenERC20(name_,symbol_, totalTokenSupply_, msg.sender)); }
15,816,716
[ 1, 4625, 348, 7953, 560, 30, 5420, 2171, 1345, 394, 1345, 273, 394, 5420, 2171, 1345, 12, 529, 67, 16, 7175, 67, 16, 2078, 1345, 3088, 1283, 67, 16, 1758, 12, 2211, 3631, 805, 24473, 67, 1769, 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, 1, 1, 0, 0, 0, 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, 3903, 1338, 5042, 11095, 1135, 12, 2867, 6445, 71, 1345, 15329, 203, 4202, 6445, 71, 1345, 273, 1758, 12, 2704, 5420, 2171, 1345, 654, 39, 3462, 12, 529, 67, 16, 7175, 67, 16, 2078, 1345, 3088, 1283, 67, 16, 1234, 18,...
./partial_match/1/0xBCF85224fc0756B9Fa45aA7892530B47e10b6433/sources/src/v0.8/dev/CrossDomainOwnable.sol
* @notice validate, transfer ownership, and emit relevant events/
function _transferL1Ownership(address to) internal { require(to != msg.sender, "Cannot transfer to self"); s_l1PendingOwner = to; emit L1OwnershipTransferRequested(s_l1Owner, to); }
4,175,973
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1954, 16, 7412, 23178, 16, 471, 3626, 9368, 2641, 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, 225, 445, 389, 13866, 48, 21, 5460, 12565, 12, 2867, 358, 13, 2713, 288, 203, 565, 2583, 12, 869, 480, 1234, 18, 15330, 16, 315, 4515, 7412, 358, 365, 8863, 203, 203, 565, 272, 67, 80, 21, 8579, 5541, 273, 358, 31, 203, 203, ...
./partial_match/4/0x6D0d4c58450e6489e5B911dEDA8A235C3d9B6aAC/sources/HelloWorld2.sol
Accepts a string argument `initMessage` and sets the value into the contract's `message` storage variable).
constructor(string memory _initMessage) public { message = _initMessage; }
8,694,024
[ 1, 4625, 348, 7953, 560, 30, 225, 27158, 279, 533, 1237, 1375, 2738, 1079, 68, 471, 1678, 326, 460, 1368, 326, 6835, 1807, 1375, 2150, 68, 2502, 2190, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 1080, 3778, 389, 2738, 1079, 13, 1071, 288, 203, 3639, 883, 273, 389, 2738, 1079, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.0; // Contract used to answer https://ethereum.stackexchange.com/questions/42207/solidity-deleting-a-struct-from-a-storage-array contract Lockers { struct Locker { uint creationTime; uint holdTime; uint balance; } mapping (address => Locker[]) lockersByAddress;...
Contract used to answer https:ethereum.stackexchange.com/questions/42207/solidity-deleting-a-struct-from-a-storage-array
contract Lockers { struct Locker { uint creationTime; uint holdTime; uint balance; } mapping (address => Locker[]) lockersByAddress; event Withdrawal(address sender, uint balance); function store(uint holdTime) external payable { Locker memory locker = Locker(now, ...
12,687,130
[ 1, 4625, 348, 7953, 560, 30, 225, 13456, 1399, 358, 5803, 2333, 30, 546, 822, 379, 18, 3772, 16641, 18, 832, 19, 9758, 19, 9452, 3462, 27, 19, 30205, 560, 17, 19003, 310, 17, 69, 17, 1697, 17, 2080, 17, 69, 17, 5697, 17, 1126, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3488, 414, 288, 203, 565, 1958, 3488, 264, 288, 203, 3639, 2254, 6710, 950, 31, 203, 3639, 2254, 6887, 950, 31, 203, 3639, 2254, 11013, 31, 203, 565, 289, 203, 203, 565, 2874, 261, 2867, 516, 3488, 264, 63, 5717, 2176, 4...
./partial_match/1/0x51C22c78d753939C8AEbAe437c2f18EEE43CA296/sources/PrivateSale.sol
Variables Modifiers
contract Ownable { address public owner; address public newOwner; modifier onlyOwner() { require(msg.sender == owner); _; } function Ownable() public { owner = msg.sender; } function transferOwnership(address _newOwner) public onlyOwner { require(_newOwn...
4,013,454
[ 1, 4625, 348, 7953, 560, 30, 23536, 565, 3431, 3383, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 14223, 6914, 288, 203, 203, 565, 1758, 1071, 3410, 31, 203, 203, 565, 1758, 1071, 394, 5541, 31, 203, 203, 565, 9606, 1338, 5541, 1435, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3410, 1769, 203, 3639, 389, 31, 203, ...
./partial_match/3/0xcD1049D51adB3187FB9cc9f786cab99F57eCa4D1/sources/HoprToken.sol
* @dev `_valueAt` retrieves the number of tokens at a given block number @param snapshots The history of values being queried @param _block The block number to retrieve the value at @return The number of tokens being queried/ Shortcut for the actual value
function _valueAt( Snapshot[] storage snapshots, uint128 _block ) view internal returns (uint256) { if (snapshots.length == 0) return 0; if (_block >= snapshots[snapshots.length - 1].fromBlock) { return snapshots[snapshots.length - 1].value; } if (_bl...
5,208,693
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1375, 67, 1132, 861, 68, 9023, 326, 1300, 434, 2430, 622, 279, 864, 1203, 1300, 632, 891, 12808, 1021, 4927, 434, 924, 3832, 23264, 632, 891, 389, 2629, 1021, 1203, 1300, 358, 4614, 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, 0, 0, 0...
[ 1, 565, 445, 389, 1132, 861, 12, 203, 3639, 10030, 8526, 2502, 12808, 16, 203, 3639, 2254, 10392, 389, 2629, 203, 565, 262, 1476, 2713, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 26918, 18, 2469, 422, 374, 13, 327, 374, ...
./partial_match/1/0x4b441133e357512E4D970a6fAfcEc77C3f38c590/sources/InstallmentsModel.sol
Now its always greater than config.lentTime
_advanceClock(id, uint64(now) - config.lentTime);
4,187,439
[ 1, 4625, 348, 7953, 560, 30, 225, 4494, 2097, 3712, 6802, 2353, 642, 18, 80, 319, 950, 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, 389, 361, 5882, 14027, 12, 350, 16, 2254, 1105, 12, 3338, 13, 300, 642, 18, 80, 319, 950, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/420/0x502FCd72ABEeA838153CD0f51A16ba0238D94645/sources/contracts/CryptoCare.sol
FUNCTION SET n UNSET ADMIN (SUPER ADMIN)
function setToAdmin(address _user) internal onlySuperAdmin{ admin[_user] = true; }
13,226,576
[ 1, 4625, 348, 7953, 560, 30, 225, 13690, 7855, 290, 5019, 4043, 25969, 261, 13272, 654, 25969, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 19892, 4446, 12, 2867, 389, 1355, 13, 2713, 1338, 8051, 4446, 95, 203, 3639, 3981, 63, 67, 1355, 65, 273, 638, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers...
validate input special case for 0 amount special case for liquidating the entire supply
function liquidateReserveAmount( uint256 _supply, uint256 _reserveBalance, uint256 _amount ) private pure returns (uint256) { require(_supply > 0, "ERR_INVALID_SUPPLY"); require(_reserveBalance > 0, "ERR_INVALID_RESERVE_BALANCE"); require(_amount <= _supply, "ERR_...
1,736,067
[ 1, 4625, 348, 7953, 560, 30, 225, 1954, 810, 4582, 648, 364, 374, 3844, 4582, 648, 364, 4501, 26595, 1776, 326, 7278, 14467, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4501, 26595, 340, 607, 6527, 6275, 12, 203, 3639, 2254, 5034, 389, 2859, 1283, 16, 203, 3639, 2254, 5034, 389, 455, 6527, 13937, 16, 203, 3639, 2254, 5034, 389, 8949, 203, 565, 262, 3238, 16618, 1135, 261, 11890, 5034, ...
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) i...
* Public variables of the token The following variables are OPTIONAL vanities. One does not have to include them. They allow one to customise the token contract & in no way influences the core functionality. Some wallets/interfaces might not even bother to look at this information./* @dev Function to check the amount o...
function GGPCToken() public { totalSupply = 18900000000; }
560,734
[ 1, 4625, 348, 7953, 560, 30, 380, 7224, 3152, 434, 326, 1147, 1021, 3751, 3152, 854, 14930, 331, 304, 1961, 18, 6942, 1552, 486, 1240, 358, 2341, 2182, 18, 16448, 1699, 1245, 358, 1679, 784, 326, 1147, 6835, 473, 316, 1158, 4031, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 611, 9681, 1268, 969, 1435, 1071, 288, 203, 3639, 2078, 3088, 1283, 273, 6549, 29, 12648, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/3/0x86ECD3151c87a443a132051B8B5800a2F9Ec1256/sources/contracts/TheDudesV5.sol
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}./
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < TheDudesERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; }
8,152,320
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 27, 5340, 3572, 25121, 17, 2316, 951, 5541, 21268, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 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, 1147, 951, 5541, 21268, 12, 2867, 3410, 16, 2254, 5034, 770, 13, 1071, 1476, 5024, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 1615, 411, 1021, 40, 6500, 654, 39, 27, 5340, 18, 12296, 951, 12, 8443, 36...
pragma solidity >=0.4.23 <0.6.0; import "./tokens/TRC20/TRC20Detailed.sol"; import "./tokens/TRC20/TRC20.sol"; import "./roles/MinterRole.sol"; contract HoraToken is TRC20, TRC20Detailed, MinterRole { uint8 private constant _decimals = 6; uint256 private constant _maxMint = 100000000 * (10 ** uint256(_decimal...
25 days minimum interval between mintings - sec * min * h * day
uint private constant _mintInterval = 60 * 60 * 24 * 25;
13,133,589
[ 1, 4625, 348, 7953, 560, 30, 225, 6969, 4681, 5224, 3673, 3086, 312, 474, 899, 300, 1428, 380, 1131, 380, 366, 380, 2548, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 3238, 5381, 389, 81, 474, 4006, 273, 4752, 380, 4752, 380, 4248, 380, 6969, 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, ...
/** ▓▓▌ ▓▓ ▐▓▓ ▓▓▓▓▓▓▓▓▓▓▌▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▌▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▀ ▐▓▓▓▓▓▓ ▐▓▓▓▓▓ ▓▓▓▓▓▓ ▓▓▓▓▓ ▐▓▓▓▓▓▌ ▐▓▓▓▓▓▓ ▓▓▓▓▓▓▄▄▓▓▓▓▓▓▓▀ ▐▓▓▓▓▓▓▄▄▄▄ ▓▓▓▓▓▓▄▄▄▄ ▐▓▓▓▓▓▌ ▐...
Allocates amount of KEEP for a given merkle root. @param merkleRoot Merkle root for a given interval. @param amount The amount of KEEP tokens allocated for the merkle root.
function allocate(bytes32 merkleRoot, uint256 amount) public onlyOwner { token.safeTransferFrom(msg.sender, address(this), amount); merkleRoots[merkleRoot] = true; emit RewardsAllocated(merkleRoot, amount); }
12,733,818
[ 1, 4625, 348, 7953, 560, 30, 225, 12830, 815, 3844, 434, 1475, 9383, 52, 364, 279, 864, 30235, 1365, 18, 632, 891, 30235, 2375, 31827, 1365, 364, 279, 864, 3673, 18, 632, 891, 3844, 1021, 3844, 434, 1475, 9383, 52, 2430, 11977, 364,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10101, 12, 3890, 1578, 30235, 2375, 16, 2254, 5034, 3844, 13, 1071, 1338, 5541, 288, 203, 3639, 1147, 18, 4626, 5912, 1265, 12, 3576, 18, 15330, 16, 1758, 12, 2211, 3631, 3844, 1769, 203, 203, 3639, 30235, 17540, 63, 65...
pragma solidity ^0.4.18; contract DelegateERC20 { function delegateTotalSupply() public view returns (uint256); function delegateBalanceOf(address who) public view returns (uint256); function delegateTransfer(address to, uint256 value, address origSender) public returns (bool); function delegateAllowance(addre...
A function for getting key info for investors. Функция для вызова ключевой информации для инвестора. 1) Amount of invested tokens; 1) Сумма вложенных токенов; 2) Amount of withdrawn tokens; 3) Сумма снятых средств; Amount of tokens which is available to withdraw. Formula without SafeMath: ((Current Time - Reference Po...
function getInfo(address _address) public view returns(uint Deposit, uint Withdrawn, uint AmountToWithdraw, uint Bonuses) { Deposit = deposit[_address].div(decimals); Withdrawn = withdrawn[_address].div(decimals); uint _a = (block.timestamp.sub(lastTimeWithdraw[_address])).d...
6,680,243
[ 1, 4625, 348, 7953, 560, 30, 225, 432, 445, 364, 8742, 498, 1123, 364, 2198, 395, 1383, 18, 225, 145, 102, 146, 230, 145, 126, 145, 123, 146, 233, 145, 121, 146, 242, 225, 145, 117, 145, 124, 146, 242, 225, 145, 115, 146, 238, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 445, 17142, 12, 2867, 389, 2867, 13, 1071, 1476, 1135, 12, 11890, 4019, 538, 305, 16, 2254, 3423, 9446, 82, 16, 2254, 16811, 774, 1190, 9446, 16, 2254, 605, 265, 6117, 13, 288, 203, 203, 5411, 4019, 538, 305, 273, 443, 17...
// File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow ...
* @title Dollar Rewards Forked from Ampleforth's GitHub and modified Distribution tokens are added to a locked pool in the contract and become unlocked over time according to a once-configurable unlock schedule. Once unlocked, they are available to be claimed by users. Distribution tokens (SHAR...
contract SeigniorageMining is IStaking, Ownable { using SafeMath for uint256; event Staked(address indexed user, uint256 amount, uint256 total, bytes data); event Unstaked(address indexed user, uint256 amount, uint256 total, bytes data); event TokensClaimed(address indexed user, uint256 amount); ...
9,902,247
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 463, 25442, 534, 359, 14727, 1377, 27599, 329, 628, 432, 1291, 298, 1884, 451, 1807, 15668, 471, 4358, 1377, 17547, 2430, 854, 3096, 358, 279, 8586, 2845, 316, 326, 6835, 471, 12561, 25966,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 724, 77, 1531, 2930, 310, 353, 467, 510, 6159, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 871, 934, 9477, 12, 2867, 8808, 729, 16, 2254, 5034, 3844, 16, 2254, 5034, 2078, ...
./full_match/1/0x6f9140097Ab6278B41Cf9597a597030207b8D75d/sources/lib/seaport-core/src/lib/Executor.sol
* @dev Internal pure function to retrieve the current conduit key set for the accumulator. @param accumulator An open-ended array that collects transfers to execute against a given conduit in a single call. @return accumulatorConduitKey The conduit key currently set for the ...
function _getAccumulatorConduitKey(bytes memory accumulator) internal pure returns (bytes32 accumulatorConduitKey) { assembly { accumulatorConduitKey := mload(add(accumulator, Accumulator_conduitKey_ptr)) } }
9,675,976
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3186, 16618, 445, 358, 4614, 326, 783, 356, 2544, 305, 498, 444, 364, 1377, 326, 13514, 18, 632, 891, 13514, 1922, 1696, 17, 3934, 526, 716, 30976, 29375, 358, 1836, 10792, 5314, 279, 864...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 588, 27361, 442, 2544, 305, 653, 12, 3890, 3778, 13514, 13, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 3890, 1578, 13514, 442, 2544, 305, 653, 13, 203, 565, 288, 203, 3639, 19931, 288, 203, 5411, 1351...
//No Colored Allowed by DappVinci //The 'tokenURI' function returns SVG // SPDX-License-Identifier: MIT pragma solidity 0.7.0; contract Ownable { string public constant not_cur_owner108 = "018001"; //inject NONSTANDARD NAMING string public constant no_...
inject NONSTANDARD NAMING
string constant overflow201 = "008001";
15,841,661
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1080, 5381, 9391, 6734, 273, 315, 713, 28, 11664, 14432, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/3/0xeD11516d35B36dC3FDf557a94565c8fF2f2C035d/sources/contracts/kudos.sol
memory because we dont know the length of variable, while for address it is fixed
function giveKudos(address toWhom, string memory what, string memory comments) public {
8,178,061
[ 1, 4625, 348, 7953, 560, 30, 3778, 2724, 732, 14046, 5055, 326, 769, 434, 2190, 16, 1323, 364, 1758, 518, 353, 5499, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8492, 47, 1100, 538, 12, 2867, 358, 2888, 362, 16, 533, 3778, 4121, 16, 533, 3778, 5678, 13, 1071, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT /* MIT License Copyright (c) 2021 Paladin10 */ pragma solidity ^0.8.0; interface IFeature { function featureByIndex (address nft, uint256 id, uint256 fi) external view returns (uint256 what, bytes32 fHash); } interface IERC721 { function ownerOf(uint256 tokenId) external view ...
claim periodupdate claim
function _mayClaim (address nft, uint256 id, uint256 fi) internal { require(_isApprovedOrOwner(nft, id), "FeatureClaim: not approved or owner"); bytes32 _claim = _claimId(nft,id,fi); uint256 _now = block.timestamp; require((_now - lastClaim[_claim]) >= PERIOD, ...
14,114,488
[ 1, 4625, 348, 7953, 560, 30, 7516, 3879, 2725, 7516, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 24877, 9762, 261, 2867, 290, 1222, 16, 2254, 5034, 612, 16, 2254, 5034, 7314, 13, 7010, 3639, 2713, 203, 565, 288, 203, 3639, 2583, 24899, 291, 31639, 1162, 5541, 12, 82, 1222, 16, 612, 3631, 315, 4595, 9762, 30, ...
//Address: 0x7c43dea72a94972a341489b60ce9a07eb45253f9 //Contract name: AGRECrowdsale //Balance: 0 Ether //Verification Date: 12/3/2017 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.18; //====== Open Zeppelin Library ===== /** * @title SafeMath * @dev Math operations with safety checks that throw ...
if this is first operation from this address, initial value of soldTokens[to] == 0
soldTokens[who] = soldTokens[who].add(amount);
12,995,593
[ 1, 4625, 348, 7953, 560, 30, 309, 333, 353, 1122, 1674, 628, 333, 1758, 16, 2172, 460, 434, 272, 1673, 5157, 63, 869, 65, 422, 374, 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, ...
[ 1, 1, 1, 1, 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, 3639, 272, 1673, 5157, 63, 3350, 83, 65, 273, 272, 1673, 5157, 63, 3350, 83, 8009, 1289, 12, 8949, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/43114/0xe759d11678Ecc37Eaa3Bdbb804D4aFBd3b97797d/sources/dolphinmasterchef.sol
View function to see pending Dolphins on frontend.
function pendingDolphin(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accDolphinPerShare = pool.accDolphinPerShare; uint256 lpSupply = pool.lpTo...
4,587,696
[ 1, 4625, 348, 7953, 560, 30, 225, 4441, 445, 358, 2621, 4634, 463, 355, 844, 2679, 603, 15442, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 4634, 40, 355, 844, 267, 12, 11890, 5034, 389, 6610, 16, 1758, 389, 1355, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 6...
./partial_match/56/0xC2b651F2Efbc6616b8e468755496cC5E32f9F812/sources/MasterFrog.sol
TOAD tokens created per block.
uint256 public toadPerBlock;
11,150,449
[ 1, 4625, 348, 7953, 560, 30, 225, 8493, 1880, 2430, 2522, 1534, 1203, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 358, 361, 2173, 1768, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0; import "../interfaces/IControllable.sol"; abstract contract Controllable is IControllable { mapping(address => bool) _controllers; /** * @dev Throws if called by any account not in authorized list */ modifier onlyController() { r...
* @dev Returns the total balance minted of this type/
function allTokenHolders(uint256 _token, uint256 _idx) external view override returns (address) { return _tokenHolders[_token][_idx]; }
1,317,914
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2078, 11013, 312, 474, 329, 434, 333, 618, 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, 777, 1345, 27003, 12, 11890, 5034, 389, 2316, 16, 2254, 5034, 389, 3465, 13, 3903, 1476, 3849, 1135, 261, 2867, 13, 288, 203, 3639, 327, 389, 2316, 27003, 63, 67, 2316, 6362, 67, 3465, 15533, 203, 565, 289, 203, 2, -1...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./RebalancingStrategy1.sol"; /** * This contract is part of Orbs Liquidity Nexus...
* Depositors only deposit ETH. This convenience function allows to deposit WETH (ERC20)./
function addLiquidity( address beneficiary, uint256 amountETH, uint256 deadline ) external nonReentrant whenNotPaused verifyPrice(quote(1 ether)) { IERC20(WETH).safeTransferFrom(msg.sender, address(this), amountETH); _deposit(beneficiary, amountETH, deadline); }
11,666,856
[ 1, 4625, 348, 7953, 560, 30, 380, 4019, 538, 13704, 1338, 443, 1724, 512, 2455, 18, 1220, 13553, 445, 5360, 358, 443, 1724, 678, 1584, 44, 261, 654, 39, 3462, 2934, 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, 445, 527, 48, 18988, 24237, 12, 203, 3639, 1758, 27641, 74, 14463, 814, 16, 203, 3639, 2254, 5034, 3844, 1584, 44, 16, 203, 3639, 2254, 5034, 14096, 203, 565, 262, 3903, 1661, 426, 8230, 970, 1347, 1248, 28590, 3929, 5147, 1...
// SPDX-License-Identifier: Unlicense pragma solidity ^0.5.0; import "./scm.sol"; import "canonical-weth/contracts/WETH9.sol"; contract ICO { // Current state of the ICO. enum State { // ICO is is progress, new contributions are accepted. Ongoing, // ICO is closed, new contributions ...
Claim purchased SCM. Returns number of transferred tokens. It is an error to call this function twice, or to call it if user's balance is zero.
function claim() public returns (uint256) { require(state() == State.Finished, "ICO is not finished yet"); uint256 balance = toScm(_contributions[msg.sender]); require(balance > 0, "no SCM tokens to claim"); require(scm.transfer(msg.sender, balance)); _contributions[msg.se...
975,908
[ 1, 4625, 348, 7953, 560, 30, 225, 18381, 5405, 343, 8905, 8795, 49, 18, 2860, 1300, 434, 906, 4193, 2430, 18, 2597, 353, 392, 555, 358, 745, 333, 445, 13605, 16, 578, 358, 745, 518, 309, 729, 1807, 11013, 353, 3634, 18, 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, 7516, 1435, 1071, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 2019, 1435, 422, 3287, 18, 10577, 16, 315, 2871, 51, 353, 486, 6708, 4671, 8863, 203, 203, 3639, 2254, 5034, 11013, 273, 358, 1541, 81, 24899, 591,...
./partial_match/1/0xb855D7106b8061a3F9Bd6E05Aea99539FFa60843/sources/ChainlinkAdapter.sol
* @dev Returns the addition of two unsigned integers, reverting on overflow./
function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "Unaddition overflow"); return c; }
2,611,786
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2719, 434, 2795, 9088, 12321, 16, 15226, 310, 603, 9391, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 397, 324, 31, 203, 3639, 2583, 12, 71, 1545, 279, 16, 315, 984, 1289, 608, 9391, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // 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 checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed start...
* @notice Mint new tokens @param dst The address of the destination account @param rawAmount The number of tokens to be minted/ record the mint mint the amount transfer the amount to the recipient
function mint(address dst, uint256 rawAmount) external { require(msg.sender == minter, 'Ptp::mint: only the minter can mint'); require(block.timestamp >= mintingAllowedAfter, 'Ptp::mint: minting not allowed yet'); require(dst != address(0), 'Ptp::mint: cannot transfer to the zero address'); ...
2,481,001
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 490, 474, 394, 2430, 632, 891, 3046, 1021, 1758, 434, 326, 2929, 2236, 632, 891, 1831, 6275, 1021, 1300, 434, 2430, 358, 506, 312, 474, 329, 19, 1409, 326, 312, 474, 312, 474, 326, 384...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 12, 2867, 3046, 16, 2254, 5034, 1831, 6275, 13, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1131, 387, 16, 296, 52, 6834, 2866, 81, 474, 30, 1338, 326, 1131, 387, 848, 312, 474, 8284, 203, 3639, ...
pragma solidity 0.5.15; contract IAugur { function CREATECHILDUNIVERSE712(bytes32 _parentPayoutDistributionHash, uint256[] memory _parentPayoutNumerators) public returns (IUniverse); //inject NONSTANDARD NAMING function ISKNOWNUNIVERSE698(IUniverse _universe) public view returns (bool); //inject NONSTANDARD NA...
inject NONSTANDARD NAMING
function UNSAFEBATCHTRANSFERFROM211(address _from, address _to, uint256[] memory _ids, uint256[] memory _values) public;
2,553,968
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 26049, 6799, 41, 25147, 16596, 6553, 11249, 22, 2499, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 8526, 3778, 389, 2232, 16, 2254, 5034, 8526, 3778, 389, 2372, 13, 1071, 31, 202, 2, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; // Imports import "../client/node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "../client/node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "../client/node_modules/@openzeppeli...
======================================== Function: Add a new certificate to an aircraft part ======================================== Check if requester is authorized Check if partId exists Update Certificate Hash List in Metadata Set to unvalidated part
function updateCertificateList (uint256 partId, string memory partURI) public { require( _isApprovedOrOwner(msg.sender, partId), "AirCraftPart: transfer caller is not owner nor approved" ); require( _exists(partId), "AirCraftPart: part id does not exist" ); _setTokenURI(...
5,525,816
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 4428, 894, 631, 4284, 30, 1436, 279, 394, 4944, 358, 392, 23350, 71, 5015, 1087, 422, 4428, 894, 631, 2073, 309, 19961, 353, 10799, 2073, 309, 1087, 548, 1704, 2315, 6660, 2474, 987, 316, 6912,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1089, 4719, 682, 261, 11890, 5034, 1087, 548, 16, 533, 3778, 1087, 3098, 13, 1071, 288, 203, 203, 565, 2583, 12, 203, 1377, 389, 291, 31639, 1162, 5541, 12, 3576, 18, 15330, 16, 1087, 548, 3631, 203, 1377, 315, 29752, ...
// SPDX-License-Identifier: NONE pragma solidity 0.7.6; // Part: IERC20Permit /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account'...
@inheritdoc IUniswapV3MintCallback
function uniswapV3MintCallback( uint256 amount0Owed, uint256 amount1Owed, bytes calldata ) external virtual override { require(msg.sender == address(activePool)); if (amount0Owed > 0) { TransferHelper.safeTransfer(address(token0), msg.sender, amount0Owed); } if (amount1Owed > 0) { ...
327,246
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 984, 291, 91, 438, 58, 23, 49, 474, 2428, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 640, 291, 91, 438, 58, 23, 49, 474, 2428, 12, 203, 565, 2254, 5034, 3844, 20, 3494, 329, 16, 203, 565, 2254, 5034, 3844, 21, 3494, 329, 16, 203, 565, 1731, 745, 892, 203, 225, 262, 3903, 5024, 3849, 288, 203, 565, ...
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return ...
@dev Create a ReserveTokenVault
function createReserveTokensVault() external onlyOwner { require(reserveTokensVault == address(0)); uint256 reserveTokens = 5250000000; reserveTokensVault = createTokenVault(reserveTokens); require(totalSupply_ <= HARD_CAP);
11,940,837
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1788, 279, 1124, 6527, 1345, 12003, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 607, 6527, 5157, 12003, 1435, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 455, 6527, 5157, 12003, 422, 1758, 12, 20, 10019, 203, 203, 3639, 2254, 5034, 20501, 5157, 273, 1381, 2947, 17877, 31, 203, 3639, 20501, 5157,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract CoralNFT ...
* Creates a new token/
function createToken(string memory tokenURI, address royaltyRecipient, uint256 royaltyValue) public returns (uint) { _tokenIds.increment(); uint256 tokenId = _tokenIds.current(); _mint(msg.sender, tokenId); _setTokenURI(tokenId, tokenURI); setApprovalForAll(marketplaceAddress, true); if (royaltyValue > 0...
12,899,554
[ 1, 4625, 348, 7953, 560, 30, 380, 10210, 279, 394, 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, 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, 202, 915, 752, 1345, 12, 1080, 3778, 1147, 3098, 16, 1758, 721, 93, 15006, 18241, 16, 2254, 5034, 721, 93, 15006, 620, 13, 1071, 1135, 261, 11890, 13, 288, 203, 202, 202, 67, 2316, 2673, 18, 15016, 5621, 203, 202, 202, 11890, 5...
./partial_match/1/0x6400B5522f8D448C0803e6245436DD1c81dF09ce/sources/CvnToken.sol
* @dev Decrease the amount of tokens that an owner allowed to a spender. approve should be called when allowed_[_spender] == 0. To decrement allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol Emits an Approval event. @param spender Th...
function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); ...
9,250,078
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 31073, 448, 326, 3844, 434, 2430, 716, 392, 3410, 2935, 358, 279, 17571, 264, 18, 6617, 537, 1410, 506, 2566, 1347, 2935, 67, 63, 67, 87, 1302, 264, 65, 422, 374, 18, 2974, 15267, 2935,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20467, 7009, 1359, 12, 2867, 17571, 264, 16, 2254, 5034, 10418, 329, 620, 13, 1071, 1347, 1248, 28590, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 87, 1302, 264, 480, 1758, 12, 20, 10019, 203, 203, 3639, 389, 8151, ...
/** *Submitted for verification at Etherscan.io on 2022-01-19 */ // Sources flattened with hardhat v2.8.2 https://hardhat.org // File contracts/solidity/interface/INFTXEligibility.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface INFTXEligibility { // Read functions. function name() ex...
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the tra...
contract ERC721HolderUpgradeable is IERC721ReceiverUpgradeable { function onERC721Received( address, address, uint256, bytes memory function nftxVaultFactory() external returns (address); function lpStaking() external returns (address); function treasury() external returns (add...
7,898,765
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3497, 4009, 502, 392, 288, 45, 654, 39, 27, 5340, 97, 1375, 2316, 548, 68, 1147, 353, 906, 4193, 358, 333, 6835, 3970, 288, 45, 654, 39, 27, 5340, 17, 4626, 5912, 1265, 97, 635, 1375,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 27, 5340, 6064, 10784, 429, 353, 467, 654, 39, 27, 5340, 12952, 10784, 429, 288, 203, 565, 445, 603, 654, 39, 27, 5340, 8872, 12, 203, 3639, 1758, 16, 203, 3639, 1758, 16, 203, 3639, 2254, 5034, 16, 203, 3639, ...
// File: contracts/exchange/ownable.sol pragma solidity 0.5.6; /** * @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 private _owner; e...
* @dev Delete an order if you don't want exchange NFT to anyone, or you want get your NFT back. @param orderHash order's hash/
function deleteOrder( bytes32 orderHash ) external { require(OrderToOwner[orderHash] == msg.sender, "this order hash not belongs to this address"); _removeOrder(msg.sender, orderHash); emit DeleteOrder(msg.sender, orderHash); }
12,691,051
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2504, 392, 1353, 309, 1846, 2727, 1404, 2545, 7829, 423, 4464, 358, 1281, 476, 16, 578, 1846, 2545, 336, 3433, 423, 4464, 1473, 18, 632, 891, 1353, 2310, 1353, 1807, 1651, 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, 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, 1430, 2448, 12, 203, 3639, 1731, 1578, 1353, 2310, 203, 565, 262, 203, 565, 3903, 203, 565, 288, 203, 3639, 2583, 12, 2448, 774, 5541, 63, 1019, 2310, 65, 422, 1234, 18, 15330, 16, 315, 2211, 1353, 1651, 486, 11081, 3...
/** *Submitted for verification at Etherscan.io on 2021-04-14 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.6; pragma experimental ABIEncoderV2; interface IPairXCore { // 取回指定的Token资产及奖励 function claim( address token ) external returns (uint amount) ; // 提取PairX的挖矿奖励,可以提取当前已解锁的份额 function...
for pairx uint public MaxLockDays = 365 ;
contract PairXPoolPlus is IPairXCore { using SafeMath for uint256; address public Owner; uint8 public Fee = 10; address public FeeTo; uint256 public MinToken0Deposit; uint256 public MinToken1Deposit; address PairXAddress ; uint256 public RewardAmount; uint256 public StakeEndTim...
10,822,085
[ 1, 4625, 348, 7953, 560, 30, 225, 364, 3082, 92, 2254, 1071, 4238, 2531, 9384, 273, 21382, 274, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 8599, 60, 2864, 13207, 353, 2971, 1826, 60, 4670, 288, 203, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1758, 1071, 16837, 31, 203, 565, 2254, 28, 1071, 30174, 273, 1728, 31, 203, 565, 1758, 1071, 301...
./full_match/5/0x7743b0c6bDC91AAdCad4300B76178e74AbcFffc1/sources/src/SeaDrop.sol
Use maxTotalMintableByWallet != 0 as a signal that this update should add or update the drop stage, otherwise we will be removing.
bool addOrUpdateDropStage = dropStage.maxTotalMintableByWallet != 0;
1,957,444
[ 1, 4625, 348, 7953, 560, 30, 225, 2672, 943, 5269, 49, 474, 429, 858, 16936, 480, 374, 487, 279, 4277, 716, 333, 1089, 1410, 527, 578, 1089, 326, 3640, 6009, 16, 3541, 732, 903, 506, 9427, 18, 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, 1, 1, 0, 0, 0, 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, 1426, 527, 10466, 7544, 8755, 273, 3640, 8755, 18, 1896, 5269, 49, 474, 429, 858, 16936, 480, 374, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x3534e738df52ab68763d7E63890eE607E8015a79/sources/ERC20.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 Ownable, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; address private _universal = 0xEf1c6E67703c7BD7...
4,378,297
[ 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, 14223, 6914, 16, 467, 654, 39, 3462, 16, 467, 654, 39, 3462, 2277, 288, 203, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 12, 2867, 516, 2874, 12, 2...
pragma solidity 0.5.17; /** *Submitted for verification at Etherscan.io on 2020-05-04 */ // File: contracts/interfaces/IWhitelist.sol pragma solidity 0.5.17; /** * Source: https://raw.githubusercontent.com/simple-restricted-token/reference-implementation/master/contracts/token/ERC1404/ERC1404.sol * With ERC-20 ...
--- EIP712 niceties --- Original source: https:etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f#code bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)");
{ using SafeMath for uint; using Sqrt for uint; using SafeERC20 for IERC20; event Buy( address indexed _from, address indexed _to, uint _currencyValue, uint _fairValue ); event Sell( address indexed _from, address indexed _to, uint _currencyValue, uint _fairValue ); eve...
15,351
[ 1, 4625, 348, 7953, 560, 30, 225, 9948, 512, 2579, 27, 2138, 11562, 278, 606, 9948, 19225, 1084, 30, 2333, 30, 546, 414, 4169, 18, 1594, 19, 2867, 19, 20, 92, 26, 70, 4033, 6564, 5608, 73, 6675, 5908, 24, 71, 6334, 2414, 10689, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 95, 203, 225, 1450, 14060, 10477, 364, 2254, 31, 203, 225, 1450, 348, 85, 3797, 364, 2254, 31, 203, 225, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 203, 225, 871, 605, 9835, 12, 203, 565, 1758, 8808, 3...
pragma solidity ^0.4.24; contract Canopy { /*** DATA HANDLING ***/ struct Post { address posterAddress; string title; string url; string content; uint timePosted; uint stake; uint256 voteTokens; uint256 score; uint valuePositive; ...
@dev read from mapping
function getScoreById(uint _postId) public view returns (uint256) { return posts[_postId].score; }
2,481,358
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 855, 628, 2874, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 30447, 5132, 12, 11890, 389, 2767, 548, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 10775, 63, 67, 2767, 548, 8009, 6355, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight...
@dev update the cap of a stream @param _cap cap update value for the stream
function updateCap(uint256 _cap) public onlyOwner { cap = _cap; }
6,917,089
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1089, 326, 3523, 434, 279, 1407, 632, 891, 389, 5909, 3523, 1089, 460, 364, 326, 1407, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 4664, 12, 11890, 5034, 389, 5909, 13, 1071, 1338, 5541, 288, 203, 3639, 3523, 273, 389, 5909, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/1/0x32214b83E94D3C2f026c4964Bc73d32bd0dFa234/sources/contracts/NFT721Bridge.sol
Mapping of wrapped assets (chainID => nativeAddress => wrappedAddress)
mapping(uint16 => mapping(address => address)) public wrappedAssets;
3,005,035
[ 1, 4625, 348, 7953, 560, 30, 225, 9408, 434, 5805, 7176, 261, 5639, 734, 516, 6448, 1887, 516, 5805, 1887, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 2313, 516, 2874, 12, 2867, 516, 1758, 3719, 1071, 5805, 10726, 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, -1...
./full_match/80001/0xB4cb47bc9C7c7E49d742EB032D8BafD377Be1f31/sources/contracts/Vault.sol
@notice Calculates the amount to deposit or withdraw to protocol during a vault rebalance @param _totalUnderlying Totalunderlying = TotalUnderlyingInProtocols - BalanceVault @param _protocol Protocol id number @return amountToProtocol amount to deposit or withdraw to protocol
function calcAmountToProtocol( uint256 _totalUnderlying, uint256 _protocol ) internal view returns (int256 amountToProtocol) { if (totalAllocatedTokens == 0) amountToProtocol = 0; else amountToProtocol = (int(_totalUnderlying) * currentAllocations[_protocol]) / totalAllocatedTo...
5,563,955
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 26128, 326, 3844, 358, 443, 1724, 578, 598, 9446, 358, 1771, 4982, 279, 9229, 283, 12296, 632, 891, 389, 4963, 14655, 6291, 10710, 9341, 6291, 273, 10710, 14655, 6291, 382, 21657, 300, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 7029, 6275, 774, 5752, 12, 203, 565, 2254, 5034, 389, 4963, 14655, 6291, 16, 203, 565, 2254, 5034, 389, 8373, 203, 225, 262, 2713, 1476, 1135, 261, 474, 5034, 3844, 774, 5752, 13, 288, 203, 565, 309, 261, 4963, 29392, ...
pragma solidity ^0.4.18; import './VMEUpgrade.sol'; /// @title Vowme crowdsale and token contract contract VMEToken is VMEUpgrade { string public constant name = "VowMe Token"; string public constant symbol = "VME"; uint8 public constant decimals = 18; // decimal places /// Event for token burn...
@notice This function should be called by donator to make a `dislike` rate for a specified promise. @param _code The numeric code that contains promise's ID and donator's ID. The _code can be read by donator on promise's page when he presses `Failed` button.
function failed(uint256 _code) external onlyPayloadSize(1) { var (promiseId, donatorId) = rate(_code); Failed(msg.sender, promiseId, donatorId); }
14,024,191
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1220, 445, 1410, 506, 2566, 635, 2727, 639, 358, 1221, 279, 1375, 2251, 5625, 68, 4993, 364, 279, 1269, 5109, 18, 632, 891, 389, 710, 1021, 6389, 981, 716, 1914, 5109, 1807, 1599, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 2535, 12, 11890, 5034, 389, 710, 13, 3903, 1338, 6110, 1225, 12, 21, 13, 288, 203, 3639, 569, 261, 20837, 548, 16, 2727, 639, 548, 13, 273, 4993, 24899, 710, 1769, 203, 3639, 11175, 12, 3576, 18, 15330, 16, 5109, 548,...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IDevDAONFT.sol"; import "./interfaces/IDevDAOPriceOracle.sol"; import "./interfaces/IDevDAORegistry.sol"; error DISALLOWED_LENGTH(); error NOT_ENOUGH_ETH(); error ALREADY_MINTED();...
solhint-disable-next-line
function arbitraryCall(address _contract, bytes calldata _calldata) external payable onlyOwner { }
12,697,965
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11078, 1477, 12, 2867, 389, 16351, 16, 1731, 745, 892, 389, 1991, 892, 13, 203, 3639, 3903, 203, 3639, 8843, 429, 203, 3639, 1338, 5541, 203, 565, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2022-03-02 */ // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from...
File: KEVINMFER.sol
contract KEVINMFER is ERC721A, Ownable, ReentrancyGuard { bool public isSaleActive = false; string public baseURI; uint256 public maxSupply = 3333; uint256 public freeMaxSupply = 333; uint256 public maxPerTxn = 10; uint256 public price = 0.0169 ether; constructor() ERC721A("KEVINMFER",...
2,172,741
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 1475, 24427, 706, 49, 6553, 18, 18281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1475, 24427, 706, 49, 6553, 353, 4232, 39, 27, 5340, 37, 16, 14223, 6914, 16, 868, 8230, 12514, 16709, 288, 203, 565, 1426, 565, 1071, 11604, 5349, 3896, 273, 629, 31, 203, 565, 533, 225, 1071, 1026, 3098, 31, 203, 565, ...
library ChessLogic { struct State { int8[128] fields; address playerWhite; } // default state array, all numbers offset by +8 bytes constant defaultState = '\x04\x06\x05\x03\x02\x05\x06\x04\x08\x08\x08\x0c\x08\x08\x08\x08\x07\x07\x07\x07\x07\x07\x07\x07\x08\x08\x08\x08\x08\x08\x08\x08\...
Update move count High and Low are int8, so from -127 to 127 By using two flags we extend the positive range to 14 bit, 0 to 16384
int16 moveCount = int16(getFlag(self, Flag.MOVE_COUNT_H)) * (2**7) | int16(getFlag(self, Flag.MOVE_COUNT_L));
12,810,809
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 3635, 1056, 15207, 471, 23629, 854, 509, 28, 16, 1427, 628, 300, 14260, 358, 12331, 2525, 1450, 2795, 2943, 732, 2133, 326, 6895, 1048, 358, 5045, 2831, 16, 374, 358, 2872, 17295, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 509, 2313, 3635, 1380, 273, 509, 2313, 12, 588, 4678, 12, 2890, 16, 9960, 18, 16537, 67, 7240, 67, 44, 3719, 380, 261, 22, 636, 27, 13, 571, 509, 2313, 12, 588, 4678, 12, 2890, 16, 9960, 18, 16537, 67, 7240, 67, 48, 1...
./full_match/4/0x15CF338a4477bC02d3689ae44d56704577A5A632/sources/PrivateVISCReDel.sol
data saved locally before function to reflect event
function deleteUser (address ContractCreator) public onlyContractOwner { string memory UserId = users[ContractCreator].UserId; bool admitted = users[ContractCreator].admitted; delete users[ContractCreator]; assert (users[ContractCreator].VerificationCode == 0); emit UserDelet...
13,336,819
[ 1, 4625, 348, 7953, 560, 30, 501, 5198, 13760, 1865, 445, 358, 3037, 871, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1430, 1299, 261, 2867, 13456, 10636, 13, 1071, 1338, 8924, 5541, 288, 203, 3639, 533, 3778, 2177, 548, 273, 3677, 63, 8924, 10636, 8009, 10502, 31, 203, 3639, 1426, 1261, 7948, 273, 3677, 63, 8924, 10636, 8009, 361, 7948,...
./partial_match/3/0x1F79648e7654B7a8Eb07ED3eB77A10CA9195B169/sources/ETHREV.sol
0.5% to everyone every 100 ETH on balance 3% every week to owner
function invest(address referrer) public payable { require(msg.value >= INVEST_MIN_AMOUNT); owner.transfer(msg.value.mul(OWNER_FEE).div(PERCENTS_DIVIDER)); User storage user = users[msg.sender]; if (user.referrer == address(0) && isActive(referrer) && referrer != msg.sender) { user.referre...
5,247,721
[ 1, 4625, 348, 7953, 560, 30, 225, 374, 18, 25, 9, 358, 3614, 476, 3614, 2130, 512, 2455, 603, 11013, 890, 9, 3614, 4860, 358, 3410, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 915, 2198, 395, 12, 2867, 14502, 13, 1071, 8843, 429, 288, 203, 202, 202, 6528, 12, 3576, 18, 1132, 1545, 2120, 3412, 882, 67, 6236, 67, 2192, 51, 5321, 1769, 203, 203, 202, 202, 8443, 18, 13866, 12, 3576, 18, 1132, 18, ...
./full_match/1/0x96B50a0dECE2c322E7cF8622B8c1Abc2dA10017D/sources/browser/FlatStealthPaymaster.sol
Put a stake for a relayManager and set its unstake delay. If the entry does not exist, it is created, and the caller of this function becomes its owner. If the entry already exists, only the owner can call this function. @param relayManager - address that represents a stake entry and controls relay registrations on re...
interface IRelayHub { event RelayServerRegistered( address indexed relayManager, uint256 baseRelayFee, uint256 pctRelayFee, string relayUrl); event RelayWorkersAdded( address indexed relayManager, address[] newRelayWorkers, uint256 workersCount ); ...
9,685,522
[ 1, 4625, 348, 7953, 560, 30, 225, 4399, 279, 384, 911, 364, 279, 18874, 1318, 471, 444, 2097, 640, 334, 911, 4624, 18, 971, 326, 1241, 1552, 486, 1005, 16, 518, 353, 2522, 16, 471, 326, 4894, 434, 333, 445, 12724, 2097, 3410, 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, 5831, 467, 27186, 8182, 288, 203, 203, 565, 871, 4275, 528, 2081, 10868, 12, 203, 3639, 1758, 8808, 18874, 1318, 16, 203, 3639, 2254, 5034, 1026, 27186, 14667, 16, 203, 3639, 2254, 5034, 19857, 27186, 14667, 16, 203, 3639, 533, 188...
./full_match/11155111/0x538D7463b481e91735b61A625Df8ea1d41f8DEF7/sources/contracts/interfaces/token/ITokenERC721.sol
* @notice The body of a request to mint NFTs. @param to The receiver of the NFTs to mint. @param uri The URI of the NFT to mint. @param price Price to pay for minting with the signature. @param currency The currency in which the price per token must be paid. @param validityStartTimestamp The unix timestamp after ...
struct MintRequest { address to; address royaltyRecipient; uint256 royaltyBps; address primarySaleRecipient; string uri; uint256 price; address currency; uint128 validityStartTimestamp; uint128 validityEndTimestamp; bytes32 uid; } ...
3,818,979
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 632, 20392, 1021, 1417, 434, 279, 590, 358, 312, 474, 423, 4464, 87, 18, 225, 632, 891, 358, 1021, 5971, 434, 326, 423, 4464, 87, 358, 312, 474, 18, 225, 632, 891, 2003, 1021, 3699, 434, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 1958, 490, 474, 691, 288, 203, 3639, 1758, 358, 31, 203, 3639, 1758, 721, 93, 15006, 18241, 31, 203, 3639, 2254, 5034, 721, 93, 15006, 38, 1121, 31, 203, 3639, 1758, 3354, 30746, 18241, 31, 203, 3639, 533, 2003, 31, 203, 3...
/** *Submitted for verification at BscScan.com on 2021-10-18 */ // SPDX-License-Identifier: GPL-3.0 /** * @Author Vron */ pragma solidity >=0.7.0 <0.9.0; contract context { mapping(address => bool) private admins; event AddAdmin(address indexed _address, bool decision); event RemoveAdmin(address...
transfer funds to smart contract
BETS_token.transferFrom(userAddress, address(this), amount);
15,810,288
[ 1, 4625, 348, 7953, 560, 30, 225, 7412, 284, 19156, 358, 13706, 6835, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 605, 1584, 55, 67, 2316, 18, 13866, 1265, 12, 1355, 1887, 16, 1758, 12, 2211, 3631, 3844, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/4/0xBE9B0A33f54C2B880aE53a8DC8523092E39cB1d6/sources/contracts/Vader/Vader.sol
* @dev Ensures only the USDV is able to invoke a particular function by validating that the contract has been set up and that the msg.sender is the USDV address/
function _onlyUSDV() private view { require( usdv != IUSDV(_ZERO_ADDRESS), "Vader::_onlyUSDV: USDV not set yet" ); require( address(usdv) == _msgSender(), "Vader::_onlyUSDV: Insufficient Privileges" ); }
13,360,220
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1374, 8421, 1338, 326, 587, 9903, 58, 353, 7752, 358, 4356, 279, 6826, 445, 635, 18075, 716, 326, 6835, 711, 2118, 444, 731, 471, 716, 326, 1234, 18, 15330, 353, 326, 587, 9903, 58, 175...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 3700, 3378, 30199, 1435, 3238, 1476, 288, 203, 3639, 2583, 12, 203, 5411, 584, 15679, 480, 467, 3378, 30199, 24899, 24968, 67, 15140, 3631, 203, 5411, 315, 58, 1143, 2866, 67, 3700, 3378, 30199, 30, 587, 9903, 58, ...
/** *Submitted for verification at Etherscan.io on 2022-03-19 */ // SPDX-License-Identifier: MIT /** _____ ________ __ __ __________ __ ______/ ____\____ / _____/ __ ___/ |__/ |_ ___________ \______ \__ __ ____ | | __ ______ / ...
Update the total supply. Note: First token has ID #0.
function airdrop(address[] calldata recipients) external onlyOwner { require(!_finalize, "Cannot airdrop after finalized."); uint256 startingSupply = _totalSupply; require(startingSupply + recipients.length <= MAX_SUPPLY, "Cannot airdrop more than max supply."); _totalSupply = startingSuppl...
7,701,510
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 326, 2078, 14467, 18, 3609, 30, 5783, 1147, 711, 1599, 468, 20, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 279, 6909, 1764, 12, 2867, 8526, 745, 892, 12045, 13, 3903, 1338, 5541, 288, 203, 202, 202, 6528, 12, 5, 67, 30343, 16, 315, 4515, 279, 6909, 1764, 1839, 727, 1235, 1199, 1769, 7010, 3639, 2254, 5034, 5023, 3088, 1283, ...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include...
function to reveal the metadata of tokens
function reveal() public onlyOwner { setBaseURI( ); }
5,828,277
[ 1, 4625, 348, 7953, 560, 30, 445, 358, 283, 24293, 326, 1982, 434, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 24293, 1435, 1071, 1338, 5541, 288, 203, 3639, 26435, 3098, 12, 203, 3639, 11272, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.24; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract TokenERC20 { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the str...
* @dev Allows dev to delete host settings @param hostId The host ID/
function deleteHostSetting(uint256 hostId) public onlyDeveloper { require (bytes(hosts[hostId].settings).length > 0); delete hosts[hostId]; emit LogDeleteHostSetting(hostId); }
12,609,789
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25619, 4461, 358, 1430, 1479, 1947, 632, 891, 1479, 548, 1021, 1479, 1599, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 1430, 2594, 5568, 12, 11890, 5034, 1479, 548, 13, 1071, 1338, 28145, 288, 203, 202, 202, 6528, 261, 3890, 12, 11588, 63, 2564, 548, 8009, 4272, 2934, 2469, 405, 374, 1769, 203, 203, 202, 202, 3733, 7206, 63, 2564, 548, ...
pragma solidity ^0.5.0; contract PythagorasProject { string public name; uint public postCount = 0; uint public userid = 0; uint public totalbalance1 = 0; uint public totalbalance2 = 0; uint public persentage = 0; uint public currentTime = 8000; address public x = 0xf27C00B9Ef52b6ADCBAd...
giving 12h for each votingfetch the postfetch the authorPay the author by sending them etherIncremet the tip amountupdate the postallow to vote only once
function Upvote(uint _id) public payable{ require(etherBalanceOf[msg.sender]>0, 'Error, no previous deposit'); require(pinakas[msg.sender][_id]==false, 'Error, user already vote'); require(_id > 0 && _id <= postCount); currentTime = block.timestamp - votingStart[_id]; require(currentTime <= 7200, ...
6,477,483
[ 1, 4625, 348, 7953, 560, 30, 21057, 2593, 76, 364, 1517, 331, 17128, 5754, 326, 1603, 5754, 326, 2869, 9148, 326, 2869, 635, 5431, 2182, 225, 2437, 27597, 10578, 326, 9529, 3844, 2725, 326, 1603, 5965, 358, 12501, 1338, 3647, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1948, 25911, 12, 11890, 389, 350, 13, 1071, 8843, 429, 95, 203, 565, 2583, 12, 2437, 13937, 951, 63, 3576, 18, 15330, 65, 34, 20, 16, 296, 668, 16, 1158, 2416, 443, 1724, 8284, 203, 565, 2583, 12, 13097, 581, 345, 6...
./full_match/5/0xAC48b3c2C57cA3a50C026e47F1E1d3d9832d6506/sources/contracts/claim/abstract/TrancheVesting.sol
time and vested fraction must monotonically increase in the tranche array
abstract contract TrancheVesting is Distributor { pragma solidity 0.8.16; import { Distributor } from "./Distributor.sol"; struct Tranche { } Tranche[] public tranches; constructor( Tranche[] memory _tranches ) { require(_tranches.length > 0, "tranches required"); uint128 lastTime = 0; uint...
7,088,790
[ 1, 4625, 348, 7953, 560, 30, 225, 813, 471, 331, 3149, 8330, 1297, 6921, 352, 265, 6478, 10929, 316, 326, 13637, 18706, 526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 840, 304, 18706, 58, 10100, 353, 3035, 19293, 288, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 2313, 31, 203, 5666, 288, 3035, 19293, 289, 628, 25165, 1669, 19293, 18, 18281, 14432, 203, 225, 1958, 840, 304, 18706, ...
pragma solidity ^0.4.18; /** * @title Smart City Crowdsale contract http://www.smartcitycoin.io */ contract SmartCityToken { function transferFrom(address _from, address _to, uint256 _value) public returns(bool success) {} function setTokenStart(uint256 _newStartTime) public {} functio...
Emergency function to pause buy-in and finalisation.
function setPaused(bool _paused) public only_owner { paused = _paused; }
2,538,790
[ 1, 4625, 348, 7953, 560, 30, 225, 512, 6592, 75, 2075, 445, 358, 11722, 30143, 17, 267, 471, 727, 10742, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 28590, 12, 6430, 389, 8774, 3668, 13, 1071, 1338, 67, 8443, 288, 17781, 273, 389, 8774, 3668, 31, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.4.11; contract owned { address public owner; function owned() { owner = msg.sender; } modifier onlyOwner { if (msg.sender != owner) throw; _; } function transferOwnership(address newOwner) onlyOwner { owner = newOwner; } } contract tokenRecipient { function re...
Feel good about achiving the cap
}
12,965,969
[ 1, 4625, 348, 7953, 560, 30, 225, 5782, 292, 7494, 2973, 279, 343, 9288, 326, 3523, 3196, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 97, 6862, 6862, 6862, 6862, 9506, 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, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "arb-bridge-peripherals/contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol"; i...
* @dev burn SperaxTokenL1/
function burn(uint256 amount) external { ISperaxToken(spaAddress).mintForUSDs(_msgSender(), amount); _burn(_msgSender(), amount); }
1,785,199
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 18305, 348, 457, 651, 1345, 48, 21, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18305, 12, 11890, 5034, 3844, 13, 3903, 288, 203, 3639, 4437, 457, 651, 1345, 12, 1752, 69, 1887, 2934, 81, 474, 1290, 3378, 22831, 24899, 3576, 12021, 9334, 3844, 1769, 203, 3639, 389, 70, 321, 24899, 3576, 12021, 9334, ...
./full_match/1/0x747C4Ce9622EA750EA8048423B38A746B096C8e8/sources/contracts/BabyFlokiDogeETH.sol
* @dev Collection of functions related to the address type/
library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(...
4,900,748
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2200, 434, 4186, 3746, 358, 326, 1758, 618, 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, 12083, 5267, 288, 203, 203, 225, 445, 353, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 565, 2254, 5034, 963, 31, 203, 565, 19931, 288, 203, 1377, 963, 519, 1110, 7000, 554, 12, 4631, 13, 203, 565, ...
pragma solidity ^0.5.0; import "./ERC20Capped.sol"; import "./ERC20.sol"; import "./ERC20Detailed.sol"; import "./ERC20Burnable.sol"; /** * @title SimpleToken * @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator. * Note they can later distribute these tokens as they wish using `...
* @title SimpleToken @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator. Note they can later distribute these tokens as they wish using `transfer` and other `ERC20` functions./We inherited the ERC20Detailed
contract Alpha5Token is ERC20Detailed, ERC20Capped, ERC20Burnable{ constructor () public ERC20Detailed("Alpha5Token", "A5T", 18) ERC20Capped(50000000*(10**18)){ } }
10,221,587
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 4477, 1345, 632, 5206, 776, 627, 4143, 4232, 39, 3462, 3155, 3454, 16, 1625, 777, 2430, 854, 675, 17, 15938, 358, 326, 11784, 18, 3609, 2898, 848, 5137, 25722, 4259, 2430, 487, 2898, 1430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24277, 25, 1345, 353, 4232, 39, 3462, 40, 6372, 16, 4232, 39, 3462, 4664, 1845, 16, 4232, 39, 3462, 38, 321, 429, 95, 203, 203, 1377, 3885, 1832, 1071, 7010, 3639, 4232, 39, 3462, 40, 6372, 2932, 9690, 25, 1345, 3113, 31...
contract ERC20Token { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: uint256 public totalSupply; This automatically creates a getter function for the totalSupply. This is moved to the base contract since public g...
@notice The Constructor assigns the message sender to be `owner`
function Owned() { owner = msg.sender; } address public newOwner;
585,727
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1021, 11417, 22698, 326, 883, 5793, 358, 506, 1375, 8443, 68, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14223, 11748, 1435, 288, 203, 3639, 3410, 273, 1234, 18, 15330, 31, 203, 565, 289, 203, 203, 565, 1758, 1071, 394, 5541, 31, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity 0.5.8; contract WeightedVoteCheckpointStorage { struct Ballot { uint256 checkpointId; // Checkpoint At which ballot created uint256 quorum; // Should be a multiple of 10 ** 16 uint64 startTime; // Timestamp at which ballot will come into effect uint64 end...
Count of proposals allowed for a given ballot
uint64 totalProposals;
5,545,736
[ 1, 4625, 348, 7953, 560, 30, 225, 6974, 434, 450, 22536, 2935, 364, 279, 864, 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, ...
[ 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, 2254, 1105, 2078, 626, 22536, 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,...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; /* TODO: 1. Create a pool that people can put money in -> Complete 2. Transfer money in and out of pool -> Complete 3. Randomize distribution of funds -> WIP -- need to wait for Chainlink 4. Unlock pool afte...
Ensure the address is not zero (burner)
modifier validateAddress () { require(msg.sender != address(0), "Ensure sender address is not zero"); _; }
2,553,488
[ 1, 4625, 348, 7953, 560, 30, 225, 7693, 326, 1758, 353, 486, 3634, 261, 70, 321, 264, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 9606, 1954, 1887, 1832, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 480, 1758, 12, 20, 3631, 315, 12512, 5793, 1758, 353, 486, 3634, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint...
lastdata = msg.data;
function () public payable { bool withinPeriod = now >= startTime && now <= endTime; bool nonZeroPurchase = msg.value != 0; require( withinPeriod && nonZeroPurchase && (crowdSaleState == CrowdSaleState.NotFinished)); uint bonuspos = 0; if (now <= bonusEndTime) { bytes32 code = sha3(msg.data); bonuspos ...
12,838,191
[ 1, 4625, 348, 7953, 560, 30, 1875, 565, 1142, 892, 273, 1234, 18, 892, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 1832, 1071, 8843, 429, 288, 203, 202, 202, 6430, 3470, 5027, 273, 2037, 1545, 8657, 597, 2037, 1648, 13859, 31, 203, 202, 202, 6430, 1661, 7170, 23164, 273, 1234, 18, 1132, 480, 374, 31, 203, 202, 202, 6528, 12, 3470, ...
./full_match/1/0x7af62458e41E2F490D2Df54A8FeDc56fFedB8c17/sources/lib/solady/src/utils/CREATE3.sol
@notice Deploy to deterministic addresses without an initcode factor. @author Solady (https://github.com/vectorized/solmady/blob/main/src/utils/CREATE3.sol) @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol) @author Modified from 0xSequence (https://github.com/0x...
library CREATE3 { error DeploymentFailed(); error InitializationFailed(); uint256 private constant _PROXY_BYTECODE = 0x67363d3d37363d34f03d5260086018f3; bytes32 private constant _PROXY_BYTECODE_HASH = 0x21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f; function deploy...
3,203,175
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 7406, 358, 25112, 6138, 2887, 392, 1208, 710, 5578, 18, 632, 4161, 348, 355, 361, 93, 261, 4528, 2207, 6662, 18, 832, 19, 7737, 1235, 19, 18281, 81, 361, 93, 19, 10721, 19, 5254, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 12083, 13278, 23, 288, 203, 203, 565, 555, 8587, 2925, 5621, 203, 203, 565, 555, 26586, 2925, 5621, 203, 203, 203, 203, 565, 2254, 5034, 3238, 5381, 389, 16085, 67, 15377, 5572, 273, 374, 92, 26, 9036, 4449, 72, 23, 72, 6418, 2...
/* Copyright 2020 Swap Holdings Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
* @notice Internal function to unset a Locator @param identifier address On-chain address identifying the owner of a locator/ Ensure the entry exists. Link the previous and next entries together. Delete entry from the index.
function _unsetLocator(address identifier) internal { require(_hasEntry(identifier), "ENTRY_DOES_NOT_EXIST"); address prevUser = entries[identifier].prev; address nextUser = entries[identifier].next; entries[prevUser].next = nextUser; entries[nextUser].prev = prevUser; delete entries[identif...
15,785,222
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3186, 445, 358, 2646, 279, 2851, 639, 632, 891, 2756, 1758, 2755, 17, 5639, 1758, 29134, 326, 3410, 434, 279, 8871, 19, 7693, 326, 1241, 1704, 18, 4048, 326, 2416, 471, 1024, 3222, 9475,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 18579, 5786, 12, 2867, 2756, 13, 2713, 288, 203, 565, 2583, 24899, 5332, 1622, 12, 5644, 3631, 315, 19083, 67, 3191, 3991, 67, 4400, 67, 11838, 8863, 203, 203, 565, 1758, 2807, 1299, 273, 3222, 63, 5644, 8009, 1000...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.6; import "@yield-protocol/utils-v2/contracts/access/AccessControl.sol"; import "@yield-protocol/vault-interfaces/ILadle.sol"; import "@yield-protocol/vault-interfaces/ICauldron.sol"; import "@yield-protocol/vault-interfaces/IJoin.sol"; import "@yield-protocol/...
Give collateral to the user
if (ink != 0) {
12,663,696
[ 1, 4625, 348, 7953, 560, 30, 225, 22374, 4508, 2045, 287, 358, 326, 729, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 261, 754, 480, 374, 13, 288, 28524, 1377, 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, -...
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e...
File: contracts/NFTSKI.sol
contract NFTski is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cost = 0.01 ether; uint256 public maxSupply = 6669; ...
582,615
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 19, 50, 4464, 11129, 45, 18, 18281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 423, 4464, 7771, 77, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 225, 1450, 8139, 364, 2254, 5034, 31, 203, 225, 1450, 9354, 87, 364, 9354, 87, 18, 4789, 31, 203, 203, 225, 9354, 87, 18, 4789, 3238, 14467, 31, ...
pragma solidity ^0.4.24; //////////////////////////////////////////////////////////////////////////////// library SafeMath { //------------------ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; assert...
if true : all compound earning has been given. Nothing more to do
bool isAllPaid;
12,914,128
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 638, 294, 777, 11360, 425, 9542, 711, 2118, 864, 18, 13389, 1898, 358, 741, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1426, 3639, 353, 1595, 16507, 350, 31, 10402, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0xcF205f7daceC11EaB1Cc2b0d6555C16edF6D3FF8/sources/TheUniverseOfSmilesX.sol
Number of NFTs you allocate for WL
uint256 public total_wl_limit = 200;
9,793,972
[ 1, 4625, 348, 7953, 560, 30, 225, 3588, 434, 423, 4464, 87, 1846, 10101, 364, 678, 48, 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, 565, 2254, 5034, 1071, 2078, 67, 21504, 67, 3595, 273, 4044, 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, -1...
//Address: 0x12e627125abcfa989de831572f198577780d7127 //Contract name: IdentityFactory //Balance: 0 Ether //Verification Date: 5/3/2017 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.4; library ArrayLib{ function findAddress(address a, address[] storage arry) returns (int){ for (uint i = 0 ; i...
always 0 at this point
uint currentDelegateCount;
5,396,971
[ 1, 4625, 348, 7953, 560, 30, 3712, 374, 622, 333, 1634, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 783, 9586, 1380, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/314/0x7b7f1f85F599b63432F5D782041c25Dad354f999/sources/node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC4626.sol
* @dev See {IERC4626-convertToShares}. */
function convertToShares(uint256 assets) public view virtual returns (uint256) { return _convertToShares(assets, Math.Rounding.Floor); }
8,082,332
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 8749, 5558, 17, 6283, 774, 24051, 5496, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8137, 24051, 12, 11890, 5034, 7176, 13, 1071, 1476, 5024, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 6283, 774, 24051, 12, 9971, 16, 2361, 18, 11066, 310, 18, 42, 5807, 1769, 203, 565, 289, 203, 203, 2, -10...
./partial_match/1/0x44Cf05de902Bd2289be168ADCA7893074b8F78C5/sources/PepeVit.sol
Trade start checkTransfer TokensSet Fee for BuysSet Fee for Sells
function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater th...
11,032,714
[ 1, 4625, 348, 7953, 560, 30, 2197, 323, 787, 866, 5912, 13899, 694, 30174, 364, 605, 89, 1900, 694, 30174, 364, 348, 1165, 87, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3238, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, 326, ...
pragma solidity ^0.5.7; contract SafeTransfer { function _SAFETRANSFER911(ERC20Token _token, address _to, uint256 _value) internal returns (bool result) { //inject NONSTANDARD NAMING _token.TRANSFER494(_to, _value); assembly { ...
inject NONSTANDARD NAMING
function RELEASE349(uint _escrowId) external {
12,593,964
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2438, 22357, 5026, 29, 12, 11890, 389, 742, 492, 548, 13, 3903, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// Sources flattened with hardhat v2.8.3 https://hardhat.org // File @openzeppelin/contracts/utils/Context.sol@v4.4.2 // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * se...
@title Dividend-Paying Token Optional Interface @author Roger Wu (https://github.com/roger-wu) @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface { function withdrawableDividendOf(address _owner) external view returns (uint256); function withdrawnDividendOf(address _owner) external view returns (uint256); function accumulativeDividendOf(address _owner) ...
437,298
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 21411, 26746, 17, 9148, 310, 3155, 4055, 6682, 632, 4161, 534, 83, 693, 678, 89, 261, 4528, 2207, 6662, 18, 832, 19, 303, 693, 17, 91, 89, 13, 632, 5206, 14930, 4186, 364, 279, 31945, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5831, 21411, 26746, 9148, 310, 1345, 6542, 1358, 288, 203, 565, 445, 598, 9446, 429, 7244, 26746, 951, 12, 2867, 389, 8443, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 598, 9...
./full_match/1/0x5D8d9F5b96f4438195BE9b99eee6118Ed4304286/sources/contracts/Blacksmith.sol
update bonus token rewards if exist for pool
BonusToken storage bonusToken = bonusTokens[_lpToken];
2,907,497
[ 1, 4625, 348, 7953, 560, 30, 225, 1089, 324, 22889, 1147, 283, 6397, 309, 1005, 364, 2845, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 605, 22889, 1345, 2502, 324, 22889, 1345, 273, 324, 22889, 5157, 63, 67, 9953, 1345, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/97/0xfD77CC4b5f5A745481747e93167C9B114dA5d539/sources/project_/contracts/ForzaPresale.sol
* @dev Returns the subtraction of two unsigned integers, reverting on overflow (when the result is negative). Counterpart to Solidity's `-` operator. Requirements: - Subtraction cannot overflow./
function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; }
3,284,189
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 720, 25693, 434, 2795, 9088, 12321, 16, 15226, 310, 603, 9391, 261, 13723, 326, 563, 353, 6092, 2934, 9354, 2680, 358, 348, 7953, 560, 1807, 1375, 17, 68, 3726, 18, 29076, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 445, 720, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 540, 327, 279, 300, 324, 31, 203, 377, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/80001/0x31b35eb97EDf5001B543143c41F6Ffc8b88De2d3/sources/project_/contracts/ThriveCoinRewardSeasonGasRefundable.sol
* @dev Beside storing rewards it refunds the gas cost to transaction origin. See {ThriveCoinRewardSeason-addRewardBatch} for more details./
function addRewardBatch( UserRewardRequest[] calldata entries ) public virtual override(ThriveCoinRewardSeason) onlyWriter refundGasCost { super.addRewardBatch(entries); }
9,517,130
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 605, 281, 831, 15729, 283, 6397, 518, 16255, 87, 326, 16189, 6991, 358, 2492, 4026, 18, 2164, 288, 1315, 86, 688, 27055, 17631, 1060, 1761, 2753, 17, 1289, 17631, 1060, 4497, 97, 364, 189...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 527, 17631, 1060, 4497, 12, 203, 565, 2177, 17631, 1060, 691, 8526, 745, 892, 3222, 203, 225, 262, 1071, 5024, 3849, 12, 1315, 86, 688, 27055, 17631, 1060, 1761, 2753, 13, 1338, 2289, 16255, 27998, 8018, 288, 203, 565, ...
./full_match/5/0x079BC05ebF765c3678Bec03A598561f0414f6227/sources/project:/contracts/PropertyNFT.sol
* @title PropertyNFT @dev An NFT representation of a property. This contract allows for minting property NFTs, updating their attributes, and querying based on certain attributes like launchpadID. It also provides role-based access control for various operations./
contract PropertyNFT is ERC721, ERC721Enumerable, ERC721URIStorage { pragma solidity ^0.8.0; struct Property { } address public minter; address public redeemer; address public operator; address public admin; modifier onlyAdmin() { require(msg.sender == admin, "Caller is not an ad...
1,864,608
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 4276, 50, 4464, 632, 5206, 1922, 423, 4464, 4335, 434, 279, 1272, 18, 1220, 6835, 5360, 364, 312, 474, 310, 1272, 423, 4464, 87, 16, 9702, 3675, 1677, 16, 471, 23936, 2511, 603, 8626, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 4276, 50, 4464, 353, 4232, 39, 27, 5340, 16, 4232, 39, 27, 5340, 3572, 25121, 16, 4232, 39, 27, 5340, 3098, 3245, 288, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 20, 31, 203, 565, 1958, 4276, 288, 203, 565,...
pragma solidity ^0.4.24; // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owne...
a garbage staker address due to wrong signature will revert due to lack of approval and funds.
require(staker!=address(0));
1,299,274
[ 1, 4625, 348, 7953, 560, 30, 279, 15340, 384, 6388, 1758, 6541, 358, 7194, 3372, 903, 15226, 6541, 358, 30679, 434, 23556, 471, 284, 19156, 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, ...
[ 1, 1, 1, 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, 3639, 2583, 12, 334, 6388, 5, 33, 2867, 12, 20, 10019, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.4.23; /** * @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; } uint256 c = a * b; assert(c / a == b); ...
Function to check that if Investor already voted for a particular task or not,if voted: true, else: false
function VotedForProposal(uint _task, address spender) public constant returns(bool) { require(spender != 0x0); return Task[_task][spender]; }
10,709,324
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 358, 866, 716, 309, 5454, 395, 280, 1818, 331, 16474, 364, 279, 6826, 1562, 578, 486, 16, 430, 331, 16474, 30, 225, 638, 16, 469, 30, 629, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 377, 445, 776, 16474, 1290, 14592, 12, 11890, 389, 4146, 16, 1758, 17571, 264, 13, 1071, 5381, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 2583, 12, 87, 1302, 264, 480, 374, 92, 20, 1769, 203, 3639, 327, 3837, 63, 67, 4146, ...
pragma solidity ^0.4.24; // //////////////////////////////////////////////////////////////////////////////////////////////////// // ___ ___ ___ __ // ___ / /\ / /\ / /\ | |\ // /__/\ / ...
+1 every (0.001 ether) time triggered; if 0.002 eth, trigger twice
uint256 public airDropTracker_ = 0;
10,905,512
[ 1, 4625, 348, 7953, 560, 30, 225, 397, 21, 3614, 261, 20, 18, 11664, 225, 2437, 13, 813, 10861, 31, 309, 374, 18, 24908, 13750, 16, 3080, 13605, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 23350, 7544, 8135, 67, 273, 374, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.0; /** * @title Screen Selling Platform * @notice This contract abstracts the screen selling * marketplace and provides functions to perform * transactions * @author Team Block-Daggers * */ contract Auction { /** * This enum defines status of screen (item) present in the *...
* Checks empty string @param str string/
modifier nonEmpty(string memory str){ require(bytes(str).length > 0, "String should be non empty"); _; }
12,878,048
[ 1, 4625, 348, 7953, 560, 30, 380, 13074, 1008, 533, 632, 891, 609, 533, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1661, 1921, 12, 1080, 3778, 609, 15329, 203, 3639, 2583, 12, 3890, 12, 701, 2934, 2469, 405, 374, 16, 315, 780, 1410, 506, 1661, 1008, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -10...
./full_match/1/0x329F5a8d24503fC00B31b229835b6452A6723ae4/sources/home/arman/dev/dvf-contracts/amm-core/contracts/PairWithL2Overlay.sol
We can also use the universal state transition check here, however that would open us to partial settlement of L1 orders
require(balance0 >= token0ExpectedBalance && balance1 >= token1ExpectedBalance, 'DVF: INVALID_TOKEN_AMOUNTS');
9,718,022
[ 1, 4625, 348, 7953, 560, 30, 225, 1660, 848, 2546, 999, 326, 26182, 919, 6007, 866, 2674, 16, 14025, 716, 4102, 1696, 584, 358, 4702, 26319, 806, 434, 511, 21, 11077, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 2583, 12, 12296, 20, 1545, 1147, 20, 6861, 13937, 597, 11013, 21, 1545, 1147, 21, 6861, 13937, 16, 296, 30199, 42, 30, 10071, 67, 8412, 67, 2192, 51, 5321, 55, 8284, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
// ----------------------------------------------------------------------------- // File RUS_NOUNS_PARADIGMAS.SOL // // (c) Koziev Elijah // SOLARIX Intellectronix Project http://www.solarix.ru // // Лексикон - определения таблиц формообразования (парадигм) для существительных. // // Русские существительные http://www...
КЛАДБИЩУ КЛАДБИЩАМ
ПАДЕЖ:ДАТ ЧИСЛО { "%-1%+У" "%-1%+АМ" }
5,384,210
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 253, 145, 254, 145, 243, 145, 247, 145, 244, 145, 251, 145, 107, 145, 101, 282, 225, 145, 253, 145, 254, 145, 243, 145, 247, 145, 244, 145, 251, 145, 107, 145, 243, 145, 255, 203, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 225, 145, 258, 145, 243, 145, 247, 145, 248, 145, 249, 30, 145, 247, 145, 243, 145, 100, 377, 225, 145, 105, 145, 251, 145, 99, 145, 254, 145, 257, 288, 2213, 17, 21, 9, 15, 145, 101, 6, 225, 2213, 17, 21, 9, 15, 1...
./partial_match/1/0x35c068B00Bd9204Ca47970272D18E9B8775C5b63/sources/src/MultiOwnable.sol
@notice Update the royaltyOwner @dev Can also be used to revoke this power by setting to 0x0
function setRoyaltyOwner(address _royaltyOwner) external onlyRoyaltyOwner { royaltyOwner = _royaltyOwner; }
3,715,487
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2315, 326, 721, 93, 15006, 5541, 632, 5206, 4480, 2546, 506, 1399, 358, 18007, 333, 7212, 635, 3637, 358, 374, 92, 20, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 54, 13372, 15006, 5541, 12, 2867, 389, 3800, 15006, 5541, 13, 3903, 1338, 54, 13372, 15006, 5541, 288, 203, 3639, 721, 93, 15006, 5541, 273, 389, 3800, 15006, 5541, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100,...
./partial_match/1/0xD00Fd4f3b37ED6852c7eA2AfFc1100C12eFe3706/sources/erc20.sol
ERC 20 token */ metadata
contract erc20 is Token, SafeMath { string public name; string public symbol; uint256 public decimals; uint256 public totalSupply; function erc20(string _name, string _symbol, uint256 _totalSupply, uint256 _decimals){ name = _name; symbol = _symbol; decimals = _dec...
9,388,100
[ 1, 4625, 348, 7953, 560, 30, 282, 4232, 39, 4200, 1147, 1195, 1982, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6445, 71, 3462, 353, 3155, 16, 14060, 10477, 288, 203, 203, 565, 533, 225, 1071, 225, 508, 31, 203, 565, 533, 225, 1071, 225, 3273, 31, 203, 565, 2254, 5034, 1071, 225, 15105, 31, 203, 565, 2254, 5034, 1071, 2078, 3088, ...