file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./full_match/7700/0x6F16b6661F91e666946F8621896C4060Cd7fb196/sources/contracts/cedar/drop/CedarERC721DropStorage.sol
====================================== =========== Miscellaneous ============ ====================================== @dev Provides a function to batch together multiple calls in a single external call.
function multicall(bytes[] calldata data) external virtual override returns (bytes[] memory results) { return MulticallUpgradeable(this).multicall(data); }
4,655,248
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 4428, 894, 422, 1432, 33, 16584, 3855, 15522, 422, 1432, 631, 422, 4428, 894, 632, 5206, 28805, 279, 445, 358, 2581, 9475, 3229, 4097, 316, 279, 2202, 3903, 745, 18, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1778, 335, 454, 12, 3890, 8526, 745, 892, 501, 13, 3903, 5024, 3849, 1135, 261, 3890, 8526, 3778, 1686, 13, 288, 203, 3639, 327, 7778, 335, 454, 10784, 429, 12, 2211, 2934, 5421, 335, 454, 12, 892, 1769, 203, 565, 289...
//SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @title : ProximaFaucet * Developed by ProximusAlpha */ contract ProximaFaucet is Ownab...
@dev Returns claim counter
function counter() public view returns (uint256) { return claimCounter; }
7,238,876
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2860, 7516, 3895, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3895, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 7516, 4789, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x1b20DeEe13c6ACa16Fd35103759f606049F159c4/sources/BananaFarm.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("BananaFarm", "FANA") { IDexRouter _dexRouter = IDexRouter( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); txLimitsWhitelist(address(_dexRouter), true); dexRouter = _dexRouter; dexPair = IDexFactory(_dexRouter.factory()) .createPai...
3,708,311
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3885, 1435, 4232, 39, 3462, 2932, 38, 304, 13848, 42, 4610, 3113, 315, 42, 1258, 37, 7923, 288, 203, 3639, 1599, 338, 8259, 389, 561, 8259, 273, 1599, 338, 8259, 12, 203, 5411, 374, 92, 27, 69, 26520, 72, 4313, 5082, 38, ...
pragma solidity ^0.4.25; contract Eth5iov2 { address public advertising; address public admin; address private owner; uint constant public statusFreeEth = 10 finney; uint constant public statusBasic = 50 finney; uint constant public statusVIP = 5 ether; uint constant public statu...
cashback only for the first deposit
if (user.deposits == 1) {
5,404,193
[ 1, 4625, 348, 7953, 560, 30, 225, 276, 961, 823, 1338, 364, 326, 1122, 443, 1724, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 7734, 309, 261, 1355, 18, 323, 917, 1282, 422, 404, 13, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/* file: PayableERC20.sol ver: 0.4.0 updated:2-Aug-2017 author: Darryl Morris email: o0ragman0o AT gmail.com A payable ERC20 token where payments are split according to token holdings. WARNING: These tokens are not suitible for trade on a centralised exchange. Doing so will result in permanent loss of ether. T...
Owner operated switch to accept/decline deposits to the contract
function acceptDeposits(bool _accept) public noReentry onlyOwner returns (bool) { acceptingDeposits = _accept; AcceptingDeposits(_accept); return true; }
2,560,956
[ 1, 4625, 348, 7953, 560, 30, 225, 16837, 2255, 690, 1620, 358, 2791, 19, 8840, 558, 443, 917, 1282, 358, 326, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 2791, 758, 917, 1282, 12, 6430, 389, 9436, 13, 203, 3639, 1071, 203, 3639, 1158, 426, 4099, 203, 3639, 1338, 5541, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 25806, 758, 917, 1282, 273, 389, 9436, 31, 2...
pragma solidity ^0.5.0; contract Charity { enum CharityStatus {UNVERIFIED, VERIFIED, REJECTED} enum CampaignStatus {ONGOING, ENDED} struct charity { address charityOwner; string charityName; string charityAddress; string contactNumber; string description; s...
Reg fee is 0.5 ether, 1 ether is 10**18 wei
uint256 charityRegFee = 5 * 10**17;
6,449,558
[ 1, 4625, 348, 7953, 560, 30, 225, 2526, 14036, 353, 374, 18, 25, 225, 2437, 16, 404, 225, 2437, 353, 1728, 636, 2643, 732, 77, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1149, 560, 1617, 14667, 273, 1381, 380, 1728, 636, 4033, 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, -...
/* * Origin Protocol * https://originprotocol.com * * Released under the MIT license * https://github.com/OriginProtocol/origin-dollar * * Copyright 2020 Origin Protocol, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
* @dev Compound C Token interface/
interface ICERC20 { function mint(uint256 mintAmount) external returns (uint256); function redeem(uint256 redeemTokens) external returns (uint256); function redeemUnderlying(uint256 redeemAmount) external returns (uint256); function balanceOfUnderlying(address owner) external returns (uint256); ...
1,278,318
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 21327, 385, 3155, 1560, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26899, 654, 39, 3462, 288, 203, 565, 445, 312, 474, 12, 11890, 5034, 312, 474, 6275, 13, 3903, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 283, 24903, 12, 11890, 5034, 283, 24903, 5157, 13, 3903, 1135, 261, 11890, 503...
./partial_match/42/0x4FdD465804e405348E469624010C2De36E166230/sources/ValueBa2se.sol
if (_isExcluded[account]) return _tOwned[account]; return tokenFromRefraction(_rOwned[account]);
function balanceOf(address account) public view override returns (uint256) { return _vOwned[account]; }
3,377,440
[ 1, 4625, 348, 7953, 560, 30, 282, 309, 261, 67, 291, 16461, 63, 4631, 5717, 327, 389, 88, 5460, 329, 63, 4631, 15533, 327, 1147, 1265, 1957, 5738, 24899, 86, 5460, 329, 63, 4631, 19226, 2, 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, 565, 445, 11013, 951, 12, 2867, 2236, 13, 1071, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 90, 5460, 329, 63, 4631, 15533, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts-v4/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts-v4/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts-v4/token/ERC20/utils/SafeERC20.sol"; import "../../external/uniswap/IUniswapV2Pair.sol"; import ...
amount, destination, deadline perform checks and mark as paid transfer
function transferToCommunityFund() external onlySwapController { uint amount = 8000 ether; address communityFund = 0x586b9b2F8010b284A0197f392156f1A7Eb5e86e9; require(block.timestamp < deadline, "SwapOperator: the deadline has passed"); require(!communityFundTransferExecuted, "SwapOperator: already ...
6,326,173
[ 1, 4625, 348, 7953, 560, 30, 225, 3844, 16, 2929, 16, 14096, 3073, 4271, 471, 2267, 487, 30591, 7412, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7412, 774, 12136, 13352, 42, 1074, 1435, 3903, 1338, 12521, 2933, 288, 203, 203, 565, 2254, 3844, 273, 1725, 3784, 225, 2437, 31, 203, 565, 1758, 19833, 42, 1074, 273, 374, 92, 25, 5292, 70, 29, 70, 22, 42, 28, 23254,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8; import "./USDSatMetadata.sol"; import "./Ownable.sol"; import "./ERC721.sol"; import "./ReentrancyGuard.sol"; import "./ERC721Enumerable.sol"; /// ``.. /// ...
@notice Used to manage authorization and reentrancy of the genesis NFT mint @param _genesisId Used to increment { genesisId } and write { epochMintingRegistry } @dev Set { _genesisId } for { epoch } as true @dev When { genesisId } reaches { maxGenesisSupply } the function will compute the data to increment the e...
function genesisController(uint256 _genesisId) private { require(epoch == 0, "error epoch"); require(genesisId <= maxGenesisSupply, "error genesisId"); require(!epochMintingRegistry[epoch][_genesisId], "error epochMintingRegistry"); epochMintingRegistry[epoch][_genesisId] = true...
5,878,538
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10286, 358, 10680, 6093, 471, 283, 8230, 12514, 434, 326, 21906, 423, 4464, 312, 474, 632, 891, 225, 389, 4507, 16786, 548, 10286, 358, 5504, 288, 21906, 548, 289, 471, 1045, 288, 7632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21906, 2933, 12, 11890, 5034, 389, 4507, 16786, 548, 13, 203, 565, 3238, 288, 203, 3639, 2583, 12, 12015, 422, 374, 16, 315, 1636, 7632, 8863, 203, 3639, 2583, 12, 4507, 16786, 548, 1648, 943, 7642, 16786, 3088, 1283, 1...
//"SPDX-License-Identifier: UNLICENSED" pragma solidity ^0.6.6; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ fu...
@dev get the total amount of LP tokens in the Poolstake contract ---------------------------------------------------------------- returns the amount of LP tokens in the Poolstake contract/
function getTotalLPTokens() external view returns(uint) { return lpToken.balanceOf(address(this)); }
1,197,735
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 336, 326, 2078, 3844, 434, 511, 52, 2430, 316, 326, 8828, 334, 911, 6835, 13420, 18753, 1135, 326, 3844, 434, 511, 52, 2430, 316, 326, 8828, 334, 911, 6835, 19, 2, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 12831, 48, 1856, 3573, 1435, 3903, 1476, 1135, 12, 11890, 13, 288, 203, 540, 203, 3639, 327, 12423, 1345, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: BUSDL-1.1 pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IAssetAllocation} from "contracts/common/Imports.sol"; import {SafeERC20, SafeMath} from "contracts/libraries/Imports.sol"; import {IOldStableSw...
SPDX-License-Identifier: BUSDL-1.1
import {IErc20Allocation} from "./IErc20Allocation.sol";
551,713
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 605, 3378, 8914, 17, 21, 18, 21, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5666, 288, 8732, 1310, 3462, 17353, 97, 628, 25165, 8732, 1310, 3462, 17353, 18, 18281, 14432, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.6; contract VersionedAgreementControll { // Store the owner address address public owner; // Constructor function VersionedAgreementControll() { owner = msg.sender; } /** Stores the subscriber information */ struct SubscriberData { ad...
"the choosen tag already exists";
if (tagix != -1) return -1;
14,060,080
[ 1, 4625, 348, 7953, 560, 30, 225, 315, 5787, 5011, 8918, 1047, 1818, 1704, 14432, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 261, 2692, 697, 480, 300, 21, 13, 327, 300, 21, 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...
./partial_match/42/0xFCBEbE883B891ba55D231BdF5A9Ffb7e63B4354b/sources/MatchingMarket.sol
Ugly hack to work around rounding errors. Based on the idea that the furthest the amounts can stray from their "true" values is 1. Ergo the worst case has t_pay_amt and m_pay_amt at +1 away from their "correct" values and m_buy_amt and t_buy_amt at -1. Since (c - 1) * (d - 1) > (a + 1) * (b + 1) is equivalent to c * d...
function _isPricedLtOrEq( ) internal view returns (bool) } function _matcho( ) internal returns (uint id) while (_best[address(t_buy_gem)][address(t_pay_gem)] > 0) { best_maker_id = _best[address(t_buy_gem)][address(t_pay_gem)]; ...
3,319,264
[ 1, 4625, 348, 7953, 560, 30, 225, 587, 75, 715, 11769, 358, 1440, 6740, 13885, 1334, 18, 25935, 603, 326, 21463, 716, 326, 284, 295, 29201, 326, 30980, 848, 609, 528, 628, 3675, 315, 3767, 6, 924, 353, 404, 18, 22892, 3240, 326, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 291, 5147, 72, 30247, 1162, 19508, 12, 203, 565, 262, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 289, 203, 203, 203, 565, 445, 389, 1916, 83, 12, 203, 565, 262, 203, 3639, 2713, ...
./full_match/1/0x9998acFb3f8BcE15E872271C4A071983190176D2/sources/contracts/TradingMaster.sol
@inheritdoc ITradingMaster
function finishRound() external override onlyPlatformMaster { uint256 curRoundId = roundId.current(); Round storage round = roundInfos[curRoundId]; require (curRoundId > 0 && !round.finished, "already finished"); require (round.endTimestamp < block.timestamp, "in round duration"); ...
16,604,113
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 1609, 7459, 7786, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4076, 11066, 1435, 3903, 3849, 1338, 8201, 7786, 288, 203, 3639, 2254, 5034, 662, 11066, 548, 273, 3643, 548, 18, 2972, 5621, 203, 3639, 11370, 2502, 3643, 273, 3643, 7655, 63, 1397, 11066, 548, 15533, 203, 3639, 2583, 26...
./full_match/56/0xF25Dc8b40D2CF98226eeFD390c6Ab69b023a87Bf/sources/project_/contracts/BUSDStakerV8.sol
transfer 3% fee to dev wallet
function _deposit( uint256 _amount, uint256 _apr, uint256 _developerFee ) internal { uint256 _id = _getNextDepositID(); _incrementDepositID(); uint256 depositFee = (_amount * _developerFee).div(percentRate); IERC20Upgradeable(BUSDContract).safeTransfer(de...
3,232,715
[ 1, 4625, 348, 7953, 560, 30, 225, 7412, 890, 9, 14036, 358, 4461, 9230, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 323, 1724, 12, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, 2254, 5034, 389, 438, 86, 16, 203, 3639, 2254, 5034, 389, 23669, 14667, 203, 565, 262, 2713, 288, 203, 3639, 2254, 5034, 389, 350, 273, 389, 588, 21...
./partial_match/1/0x5A48E8b22d7741E2c9522A69cF220e488a5dfa76/sources/src/Staking/SplitStakingV1.sol
* @dev 0 = auto, 1 = only lp, 2 = only solo */
function rewardsMode() external view returns (uint8) { return _rewardsMode; }
3,577,986
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 374, 273, 3656, 16, 404, 273, 1338, 12423, 16, 576, 273, 1338, 3704, 83, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 283, 6397, 2309, 1435, 3903, 1476, 1135, 261, 11890, 28, 13, 288, 203, 565, 327, 389, 266, 6397, 2309, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.5.17; pragma experimental ABIEncoderV2; interface IUniswap { // To convert DAI to ETH function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); // To convert ETH to YELD and burn it function s...
Mantisa 1e18 to decimals
function balanceCompoundInToken() public view returns (uint256) { uint256 b = balanceCompound(); if (b > 0) { b = b.mul(Compound(compound).exchangeRateStored()).div(1e18); } return b; }
187,104
[ 1, 4625, 348, 7953, 560, 30, 225, 490, 970, 291, 69, 404, 73, 2643, 358, 15105, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 11013, 16835, 382, 1345, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 2254, 5034, 324, 273, 11013, 16835, 5621, 203, 565, 309, 261, 70, 405, 374, 13, 288, 203, 1377, 324, 273, 324, 18, 16411, 12, 16835, ...
./full_match/80001/0xe02102a6a6B8CCC0a7fD2313823C8186A729fD38/sources/contracts/ThriftClub.sol
address public token; uint256 public cycleDuration; uint256 public contributionAmount; uint256 public penalty; uint256 public maxParticipant; string public name; string public description;
AggregatorV3Interface priceFeed = AggregatorV3Interface(i_priceFeedToken);
863,293
[ 1, 4625, 348, 7953, 560, 30, 225, 1758, 1071, 1147, 31, 2254, 5034, 1071, 8589, 5326, 31, 2254, 5034, 1071, 24880, 6275, 31, 2254, 5034, 1071, 23862, 31, 2254, 5034, 1071, 943, 22540, 31, 533, 1071, 508, 31, 533, 1071, 2477, 31, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 10594, 639, 58, 23, 1358, 6205, 8141, 273, 10594, 639, 58, 23, 1358, 12, 77, 67, 8694, 8141, 1345, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.4.21; /** * @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...
@dev Assigns tokens to several addresses in one call. @param _to address[] The addresses that get the tokens. @param _amount address[] The number of tokens to be assigned. @return True if the operation was successful.
function assignInBatches(address[] _to, uint256[] _amount) external onlyAssigner tokenSaleIsOngoing returns(bool) { require(_to.length > 0); require(_to.length == _amount.length); require(_to.length <= MAX_BATCH_SIZE); for (uint i = 0; i < _to.length; i++) { assign(_to[i...
12,685,517
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 12093, 87, 2430, 358, 11392, 6138, 316, 1245, 745, 18, 632, 891, 389, 869, 1758, 8526, 1021, 6138, 716, 336, 326, 2430, 18, 632, 891, 389, 8949, 1758, 8526, 1021, 1300, 434, 2430, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2683, 382, 31584, 12, 2867, 8526, 389, 869, 16, 2254, 5034, 8526, 389, 8949, 13, 3903, 1338, 4910, 264, 1147, 30746, 2520, 1398, 8162, 1135, 12, 6430, 13, 288, 203, 3639, 2583, 24899, 869, 18, 2469, 405, 374, 1769, 203,...
pragma solidity ^0.5.0; import { UserIdentity } from '../user/UserIdentity.sol'; import { EmitsEvent } from '../event/EmitsEvent.sol'; import { StoreManager } from './StoreManager.sol'; import { StoreExtractor } from '../_libs/StoreExtractor.sol'; /** * @title PurchaseManager * @dev Manage all store purchases here ...
* @dev Force contract to stop on emergency/ toggle contract active state
function toggleContractActive() public isOwner { stopped = !stopped; }
5,458,204
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11889, 6835, 358, 2132, 603, 801, 24530, 19, 10486, 6835, 2695, 919, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 10486, 8924, 3896, 1435, 1071, 353, 5541, 288, 203, 565, 9627, 273, 401, 24228, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.4.22 <0.9.0; import {INearBridge} from './interfaces/INearBridge.sol'; import {IEthLocker} from './interfaces/IEthLocker.sol'; import {IRelayRegistry} from './interfaces/IRelayRegistry.sol'; import 'rainbow-bridge-sol/nearprover/contracts/INearProver.sol'; imp...
TODO Start from 1 not 0, since the default uint is 0. For Locker For Registry
function relayCommandFromDao(bytes calldata data, uint64 proofBlockHeight) public shouldRefundGasFee { ProofDecoder.ExecutionStatus memory status = _useProof(data, proofBlockHeight); Borsh.Data memory borshResult = Borsh.from(status.successValue); uint8 command = borshResult.decodeU8(); ...
1,842,637
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 3603, 628, 404, 486, 374, 16, 3241, 326, 805, 2254, 353, 374, 18, 2457, 3488, 264, 2457, 5438, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18874, 2189, 1265, 11412, 12, 3890, 745, 892, 501, 16, 2254, 1105, 14601, 1768, 2686, 13, 1071, 1410, 21537, 27998, 14667, 288, 203, 3639, 1186, 792, 7975, 18, 3210, 1482, 3778, 1267, 273, 389, 1202, 20439, 12, 892, 16, ...
pragma solidity ^0.4.24; interface PlayerBookReceiverInterface { function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external; function receivePlayerNameList(uint256 _pID, bytes32 _name) external; } contract PlayerBook { using NameFilter for string; using SafeMath f...
============================================================================== _| _ _|_ _ _ _ _|_ _ . (_|(_| | (_| _\(/_ | |_||_) .=============================|================================================
contract PlayerBook { using NameFilter for string; using SafeMath for uint256; address private admin = msg.sender; struct Player { address addr; bytes32 name; uint256 laff; uint256 names; } public constructor() { plyr_[1].addr = 0x7e...
6,800,163
[ 1, 4625, 348, 7953, 560, 30, 422, 9917, 14468, 377, 389, 96, 389, 389, 96, 67, 389, 565, 389, 389, 389, 96, 67, 565, 389, 282, 263, 565, 261, 67, 96, 24899, 96, 571, 261, 67, 96, 225, 389, 30351, 18510, 571, 571, 67, 20081, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 19185, 9084, 288, 203, 565, 1450, 1770, 1586, 364, 533, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 377, 203, 565, 1758, 3238, 3981, 273, 1234, 18, 15330, 31, 203, 565, 1958, 19185, 288, 203, 3639, 1758, 30...
./full_match/1/0x0C8C14e90eFFf5a106924D5e77946a7A15B7D435/sources/contracts/staking/KermanRewards.sol
* @dev Creates `amount` tokens and assigns them to `account`, increasing the total supply./
function _mintShares( address account, uint256 amount ) private { totalStaked = totalStaked + amount; staked[account] = staked[account] + amount; }
17,146,952
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10210, 1375, 8949, 68, 2430, 471, 22698, 2182, 358, 1375, 4631, 9191, 21006, 326, 2078, 14467, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 81, 474, 24051, 12, 203, 3639, 1758, 2236, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 203, 3639, 3238, 203, 565, 288, 203, 3639, 2078, 510, 9477, 273, 2078, 510, 9477, 397, 3844, 31, 203, 3639, 384, 9477, 63...
pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred( address index...
to claim ownership you should have 100% of tokensrequire(state == 2);
function claimOwnership () public { require(balanceOf[msg.sender] == totalSupply); _transferOwnership(msg.sender); }
1,803,888
[ 1, 4625, 348, 7953, 560, 30, 358, 7516, 23178, 1846, 1410, 1240, 2130, 9, 434, 2430, 6528, 12, 2019, 422, 576, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 7516, 5460, 12565, 1832, 1071, 288, 203, 3639, 2583, 12, 12296, 951, 63, 3576, 18, 15330, 65, 422, 2078, 3088, 1283, 1769, 203, 3639, 389, 13866, 5460, 12565, 12, 3576, 18, 15330, 1769, 203, 565, 289, 203, 2, -100, -100...
pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract IAbacusOracle{ uint public callFee; function getJobResponse(uint64 _jobId) public view returns(uint64[] memory _values){ } function scheduleFunc(address to ,uint callTime, bytes memory data , uint fee , uint gaslimit ,uint gasprice...
USD VALUE OF TOTAL DEPOSIT AT BORROW TIME
uint totalBorrowed;
7,337,714
[ 1, 4625, 348, 7953, 560, 30, 587, 9903, 5848, 15932, 399, 19851, 2030, 28284, 14464, 605, 916, 11226, 8721, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 38, 15318, 329, 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, ...
pragma solidity 0.5.17; pragma experimental ABIEncoderV2; interface IUniswap { // To convert DAI to ETH function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); // To convert ETH to YELD and burn it function s...
100 YELD per day per 1 million stablecoins padded with 18 zeroes to have that flexibility
uint256 public yeldToRewardPerDay = 50e18;
187,085
[ 1, 4625, 348, 7953, 560, 30, 225, 2130, 1624, 5192, 1534, 2548, 1534, 404, 312, 737, 285, 14114, 71, 9896, 14426, 598, 6549, 3634, 281, 358, 1240, 716, 16600, 3628, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2254, 5034, 1071, 677, 488, 774, 17631, 1060, 2173, 4245, 273, 6437, 73, 2643, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; pragma abicoder v2; /* solium-disable error-reason */ library ECVerify { function ecverify(bytes32 hash, bytes memory signature) internal pure returns (address signature_address) { require(signature.length == 65); ...
@notice Submit an IOU to claim the owed amount. If the deposit is smaller than the claim, the remaining deposit is claimed. If no tokens are claimed, `claim` may be retried, later. @param sender Address from which the amount is transferred @param receiver Address to which the amount is transferred @param amount Owed a...
function claim( address sender, address receiver, uint256 amount, uint256 expiration_block, bytes memory signature ) public returns (uint) { require(service_registry_contract.hasValidRegistration(receiver), "receiver not registered"); r...
13,503,212
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 17320, 392, 1665, 57, 358, 7516, 326, 2523, 329, 3844, 18, 971, 326, 443, 1724, 353, 10648, 2353, 326, 7516, 16, 326, 4463, 443, 1724, 353, 7516, 329, 18, 971, 1158, 2430, 854, 7516, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7516, 12, 203, 3639, 1758, 5793, 16, 203, 3639, 1758, 5971, 16, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 2254, 5034, 7686, 67, 2629, 16, 203, 3639, 1731, 3778, 3372, 203, 565, 262, 203, 3639, 1071, 203, 3639, 1135, ...
pragma ton-solidity >=0.35.0; pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; import "./debots/Debot.sol"; import "./debots/Terminal.sol"; import "./debots/AddressInput.sol"; // import "./debots/AmountInput.sol"; // import "./debots/ConfirmInput.sol"; // import "./debots/Sdk.sol"; import "./deb...
TODO: continue DeBot logic here...
function setUserInput(address value) public { contract_address = value; menu(); }
13,088,275
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 30, 1324, 1505, 6522, 4058, 2674, 2777, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14365, 1210, 12, 2867, 460, 13, 1071, 288, 203, 3639, 6835, 67, 2867, 273, 460, 31, 203, 3639, 3824, 5621, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.7.1; //SPDX-License-Identifier: UNLICENSED /* New ERC23 contract interface */ interface IErc223 { function totalSupply() external view returns (uint); function balanceOf(address who) external view returns (uint); function transfer(address to, uint value) external returns (bool ok); ...
function signature
bytes4 shyftKycContractTokenUpgradeSig = bytes4(keccak256("updateShyftToken(address,uint256,uint256)"));
5,381,584
[ 1, 4625, 348, 7953, 560, 30, 225, 445, 3372, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1731, 24, 699, 93, 1222, 47, 93, 71, 8924, 1345, 10784, 8267, 273, 1731, 24, 12, 79, 24410, 581, 5034, 2932, 2725, 1555, 93, 1222, 1345, 12, 2867, 16, 11890, 5034, 16, 11890, 5034, 2225, 10019, 225, 2, -100, -100, -100, -1...
//Address: 0xe50843b6c0e58961538df4b5ec4e28c990e032a3 //Contract name: SpaceTRUMPToken //Balance: - //Verification Date: 2/3/2018 //Transacion Count: 0 // CODE STARTS HERE pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed ...
15 February 2018 12:00 UTC END
saleFinishDate = 1518696000;
5,401,712
[ 1, 4625, 348, 7953, 560, 30, 225, 4711, 5782, 2848, 24335, 14863, 2593, 30, 713, 9951, 7273, 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, 565, 272, 5349, 11641, 1626, 273, 4711, 2643, 8148, 26, 3784, 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, -...
pragma solidity 0.4.19; /** * @author Pablo Ruiz <me@pabloruiz.co> * @title GiftCardIssuer - A Gift Card contract to issue and accept gift cards */ contract GiftCardIssuer { struct Card { uint value; uint issueDate; uint validThru; address beneficiary; address gener...
* @dev adds funds to the gift card if the business rules allow it @param _cardId is the id of the card/ add value to merchant balance
function addFundsToGiftCard(bytes32 _cardId) public payable{ require(cards[_cardId].rechargeable); require(msg.value > 0); require(cards[_cardId].issueDate > 0); require(msg.value >= rule_MinValue); require(msg.value <= rule_MaxValue); cards[_cardId].value +=...
13,071,756
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4831, 284, 19156, 358, 326, 314, 2136, 5270, 309, 326, 13160, 2931, 1699, 518, 632, 891, 389, 3327, 548, 353, 326, 612, 434, 326, 5270, 19, 527, 460, 358, 20411, 11013, 2, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 42, 1074, 11634, 43, 2136, 6415, 12, 3890, 1578, 389, 3327, 548, 13, 1071, 8843, 429, 95, 203, 3639, 2583, 12, 3327, 87, 63, 67, 3327, 548, 8009, 266, 16385, 429, 1769, 203, 3639, 2583, 12, 3576, 18, 1132, 405, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./VaultCakeBase.sol"; contract Vault is VaultBase { event ExecuteTransaction(address indexed target, uint value, string signature, bytes data); /** * @dev This is from Timelock contract, the governance should be a Timelock contract before ...
* @dev This is from Timelock contract, the governance should be a Timelock contract before calling this emergency function Periodically we will need this to claim BAL (for idle fund stay in Vault and not transferred to Strategy/
function executeTransaction(address target, uint value, string memory signature, bytes memory data) public returns (bytes memory) { require(msg.sender == governance, "!governance"); bytes memory callData; if (bytes(signature).length == 0) { callData = data; callData...
1,021,298
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1220, 353, 628, 12652, 292, 975, 6835, 16, 326, 314, 1643, 82, 1359, 1410, 506, 279, 12652, 292, 975, 6835, 1865, 4440, 333, 801, 24530, 445, 12698, 6478, 732, 903, 1608, 333, 358, 7516, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1836, 3342, 12, 2867, 1018, 16, 2254, 460, 16, 533, 3778, 3372, 16, 1731, 3778, 501, 13, 1071, 1135, 261, 3890, 3778, 13, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 314, 1643, 82, 1359, 16, 17528, 75, 1643, 82, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** #ASToken features: 1) 2% tax is collected and distributed to holders for HODLing 2) 9% buyback and marketing tax is collected and 3% of it is sent for marketing fund and othe 6% is used to buyback the tokens 3)We are using a special tax called 'Buy...
pancake bsc testnet router address-0xD99D1c33F9fC3444f8101754aBC46c52416550D1 UniswapV2Router02 is deployed at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D on the Ethereum mainnet, and the Ropsten, Rinkeby, Görli, and Kovan testnets (Uni|Cake)swapV2Router02 - https:bscscan.com/address/0x05fF2B0DB69458A0750badebc4f9e13aD...
constructor() ERC20("ASM", "ASToken") { _rOwned[_msgSender()] = _rTotal; uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this), _newPancakeRouter.WETH()); uniswapV2Router = _newPancakeRouter; emit Transfer(address(0), _msgSender(), _tTotal); } ...
5,531,636
[ 1, 4625, 348, 7953, 560, 30, 225, 2800, 23780, 324, 1017, 1842, 2758, 4633, 1758, 17, 20, 17593, 2733, 40, 21, 71, 3707, 42, 29, 74, 39, 5026, 6334, 74, 11861, 1611, 5877, 24, 69, 16283, 8749, 71, 25, 3247, 2313, 2539, 20, 40, 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, 3885, 1435, 4232, 39, 3462, 2932, 3033, 49, 3113, 315, 9053, 969, 7923, 288, 203, 3639, 389, 86, 5460, 329, 63, 67, 3576, 12021, 1435, 65, 273, 389, 86, 5269, 31, 203, 203, 3639, 640, 291, 91, 438, 58, 22, 4154, 273, 467...
./partial_match/1/0x9883780f9ABB67560e6540a4a94852d3a9592BcB/sources/Kodac.sol
Set the owner.Ropstein DAI 0xaD6D458402F60fD3Bd25163575031ACDce07538D
constructor () payable { _owner = msg.sender; if (block.chainid == 56) { dexRouter = IRouter02(0x10ED43C718714eb63d5aA57B78B54704E256024E); dexRouter = IRouter02(0xD99D1c33F9fC3444f8101754aBC46c52416550D1); dexRouter = IRouter02(0x7a250d5630B4cF539739dF2C5dAcb4c6...
15,702,899
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 3410, 18, 54, 556, 334, 13685, 463, 18194, 374, 6995, 40, 26, 40, 7950, 5193, 3103, 42, 4848, 74, 40, 23, 38, 72, 2947, 2313, 4763, 27, 3361, 6938, 2226, 40, 311, 20, 5877, 7414, 40, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3885, 1832, 8843, 429, 288, 203, 3639, 389, 8443, 273, 1234, 18, 15330, 31, 203, 203, 3639, 309, 261, 2629, 18, 5639, 350, 422, 13850, 13, 288, 203, 5411, 302, 338, 8259, 273, 467, 8259, 3103, 12, 20, 92, 2163, 2056, 8942,...
pragma solidity ^0.4.23; // File: zeppelin-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 publi...
* @dev Fallback function can be used to buy tokens/
function () external payable { buyTokens(); }
6,382,266
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 21725, 445, 848, 506, 1399, 358, 30143, 2430, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1832, 3903, 8843, 429, 288, 203, 565, 30143, 5157, 5621, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/5/0xbEC6134997599fc5F8483F5E73090Fb2238E30F1/sources/contracts/PayoutVault.sol
@notice we use this for ids & increment. Can also be tracked total # of campaigns / recipients created
struct Campaign { uint256 totalBudget; CampaignStatus status; address paymentType; uint256 totalEarned; mapping(address => RecipientDetails) recipients; }
1,896,358
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 732, 999, 333, 364, 3258, 473, 5504, 18, 4480, 2546, 506, 15200, 2078, 468, 434, 8965, 87, 342, 12045, 2522, 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, 1958, 17820, 288, 203, 3639, 2254, 5034, 2078, 16124, 31, 203, 3639, 17820, 1482, 1267, 31, 203, 3639, 1758, 5184, 559, 31, 203, 3639, 2254, 5034, 2078, 41, 1303, 329, 31, 203, 3639, 2874, 12, 2867, 516, 23550, 3790, 13, 120...
./full_match/97/0xcAFb7532be59e33454b12E00fd0755a57Ce6a25E/sources/PFP_MSG/FinalBoomerang.sol
** @dev Description of getBalance @return value : result of saved eth in the contract/
function getBalance() public view returns(uint256) { return address(this).balance; }
5,024,903
[ 1, 4625, 348, 7953, 560, 30, 2826, 632, 5206, 6507, 434, 2882, 6112, 632, 2463, 460, 294, 563, 434, 5198, 13750, 316, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 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, 2882, 6112, 1435, 1071, 1476, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 327, 1758, 12, 2211, 2934, 12296, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2022-04-01 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; ...
Dunno why you'd want to do this but you can ig
function transferProjectOwnership(address _newProjectOwner) public { require(msg.sender == projectOwner, "You are not the project owner"); projectOwner = _newProjectOwner; }
6,555,465
[ 1, 4625, 348, 7953, 560, 30, 463, 318, 2135, 11598, 1846, 14271, 2545, 358, 741, 333, 1496, 1846, 848, 18158, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7412, 4109, 5460, 12565, 12, 2867, 389, 2704, 4109, 5541, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1984, 5541, 16, 315, 6225, 854, 486, 326, 1984, 3410, 8863, 203, 3639, 1984, 5541, 273, 389, 2704, 4109...
./full_match/10/0x84e964BE3B910e8a8633856b69EBbdDc7bA55006/sources/contracts/AMM/SafeBoxBuyback.sol
The call to `exactInput` executes the swap.
amountOut = swapRouter.exactInput(params);
3,779,504
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 745, 358, 1375, 17165, 1210, 68, 11997, 326, 7720, 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, ...
[ 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, 3844, 1182, 273, 7720, 8259, 18, 17165, 1210, 12, 2010, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/100/0x561807cD1f2D32F7EF7dadB1515a55D35ebA207c/sources/UnipoolVested.sol
When all the tokens are assign we revoke the ADMIN_ROLE This prevents to add more distributors
function assign(address recipient, uint256 amount) external override { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "DNVesting::assign: ONLY_ADMIN_ROLE" ); require( hasRole(DISTRIBUTOR_ROLE, recipient), "DNVesting::assign: ONLY_TO_DISTRIBU...
16,652,820
[ 1, 4625, 348, 7953, 560, 30, 225, 5203, 777, 326, 2430, 854, 2683, 732, 18007, 326, 25969, 67, 16256, 1220, 17793, 358, 527, 1898, 1015, 665, 13595, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2683, 12, 2867, 8027, 16, 2254, 5034, 3844, 13, 3903, 3849, 288, 203, 3639, 2583, 12, 203, 5411, 28335, 12, 5280, 67, 15468, 67, 16256, 16, 1234, 18, 15330, 3631, 203, 5411, 315, 8609, 58, 10100, 2866, 6145, 30, 20747, ...
pragma solidity ^0.4.20; interface ERC20 { function totalSupply() constant returns (uint _totalSupply); function balanceOf(address _owner) constant returns (uint balance); function transfer(address _to, uint _value) returns (bool success); function transferFrom(address _from, address _to, uint _value) ...
* @dev Function to stop minting new tokens. @return True if the operation was successful./
function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } event Burn(address indexed burner, uint256 value);
6,022,038
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 2132, 312, 474, 310, 394, 2430, 18, 632, 2463, 1053, 309, 326, 1674, 1703, 6873, 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, ...
[ 1, 1, 1, 1, 1, 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, 225, 445, 4076, 49, 474, 310, 1435, 1338, 5541, 848, 49, 474, 1071, 1135, 261, 6430, 13, 288, 203, 565, 312, 474, 310, 10577, 273, 638, 31, 203, 565, 3626, 490, 474, 10577, 5621, 203, 565, 327, 638, 31, 203, 225, 289, 203, 21...
./full_match/43114/0xCeC1b04212956207EeA5a2A9227D827c771e4dc6/sources/contracts/RPDv2.2-general.sol
The current one is WAVAX!!!!
address public constant WBNBAddress = 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7;
4,548,280
[ 1, 4625, 348, 7953, 560, 30, 1021, 783, 1245, 353, 678, 5856, 2501, 23045, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1758, 1071, 5381, 678, 15388, 38, 1887, 273, 374, 20029, 6938, 74, 6028, 5284, 23, 39, 21, 73, 27, 7140, 23, 4449, 42, 6840, 5877, 37, 21, 38, 5608, 41, 5324, 70, 7140, 16894, 6028, 71, 27, 31, 225, 2, -100, -100, -100, ...
./full_match/43113/0x007E4B5D9fd13A4Be985f68Fae6bbc5EEC23107e/sources/contracts/avax.sol
JUST CHANGE CONSTRUCTOR */
constructor() { pricePerETH = 400; _symbol = "NAVT"; _name = "NEWAVAXTOKEN"; _decimals = 18; _totalSupply = 100000000 ether; /* = 250 000 */ _balances[_owner] = _totalSupply; emit Transfer(address(0), _owner, _totalSupply); }
7,192,257
[ 1, 4625, 348, 7953, 560, 30, 225, 804, 5996, 26267, 3492, 13915, 916, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 288, 203, 3639, 6205, 2173, 1584, 44, 273, 7409, 31, 203, 3639, 389, 7175, 273, 315, 50, 5856, 56, 14432, 203, 3639, 389, 529, 273, 315, 12917, 5856, 2501, 8412, 14432, 203, 3639, 389, 31734, 273, 6549, 31, 203, ...
./partial_match/1/0xE994C93026B13337FDA5a96C4141e2e3BC7c47aF/sources/Xflip.sol
only owner address can set treasury address */
function ownerSetTreasury(address newTreasury) public onlyOwner { treasury = newTreasury; }
2,844,259
[ 1, 4625, 348, 7953, 560, 30, 225, 1338, 3410, 1758, 848, 444, 9787, 345, 22498, 1758, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 225, 445, 3410, 694, 56, 266, 345, 22498, 12, 2867, 394, 56, 266, 345, 22498, 13, 1071, 7010, 225, 1338, 5541, 203, 225, 288, 203, 565, 9787, 345, 22498, 273, 394, 56, 266, 345, 22498, 31, 203, 225, 289, 203, 203, 2, -100, -1...
./full_match/1/0xd2830cA732B33FD526FC1c27B7dDe735BD39c065/sources/localhost/DeFiLogic.sol
add dynamicIncome bringOut
income = income.add(userUint256Array[7]);
3,115,464
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 5976, 382, 5624, 5186, 310, 1182, 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, 316, 5624, 273, 316, 5624, 18, 1289, 12, 1355, 5487, 5034, 1076, 63, 27, 19226, 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,...
/** * SPDX-License-Identifier: MIT */ pragma solidity >=0.7; import "./IArbitrable.sol"; import "./IArbitrator.sol"; contract DeMatch is IArbitrable { address public player1; address public player2; string public meta; IArbitrator public arbitrator; uint256 public endAt; uint256 public cons...
Timeframe is short on purpose to be able to test it quickly. Not for production use.
uint256 public constant arbitrationFeeDepositPeriod = 3 minutes;
13,088,095
[ 1, 4625, 348, 7953, 560, 30, 225, 2647, 3789, 353, 3025, 603, 13115, 358, 506, 7752, 358, 1842, 518, 23459, 18, 2288, 364, 12449, 999, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 5381, 10056, 7034, 14667, 758, 1724, 5027, 273, 890, 6824, 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, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; import "../utils/DAOUpgradeableContract.sol"; import "../utils/NameService.sol"; import "./GoodReserveCDai.sol"; contract ExchangeHelper is DAOUpgradeableContract { uint256 private _status; function initialize(INameService _ns) public virtual initializer { ...
The last block number which `mintUBI` has been executed in Emits when new GD tokens mintedepoch of UBIthe token paid as interestwei amount of interest paid in interestToken Amount of GD tokens that was added to the supply as a result of `mintInterest` Amount of GD tokens that was added to the supply as a result of `mi...
{ bytes32 public constant RESERVE_MINTER_ROLE = keccak256("RESERVE_MINTER_ROLE"); uint256 public cap; uint256 public lastMinted; address public daiAddress; address public cDaiAddress; bytes32 public gdxAirdrop; mapping(address => bool) public isClaimedGDX; event UBIMinted( uint256 indexed day, addre...
242,913
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 1142, 1203, 1300, 1492, 1375, 81, 474, 3457, 45, 68, 711, 2118, 7120, 316, 7377, 1282, 1347, 394, 30176, 2430, 312, 474, 73, 323, 6127, 434, 587, 31558, 5787, 1147, 30591, 487, 16513, 1814, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 3890, 1578, 1071, 5381, 2438, 2123, 3412, 67, 6236, 2560, 67, 16256, 273, 203, 202, 202, 79, 24410, 581, 5034, 2932, 862, 2123, 3412, 67, 6236, 2560, 67, 16256, 8863, 203, 203, 202, 11890, 5034, 1071, 3523, 31, 203,...
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ ...
* withdraw/ Transfer tokens back to owner
function withdraw() onlyOwner public { uint256 balance = token.balanceOf(address(this)); assert(balance > 0); token.transfer(msg.sender, balance); }
6,889,698
[ 1, 4625, 348, 7953, 560, 30, 380, 598, 9446, 19, 12279, 2430, 1473, 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, 0, 0, 0, 0, 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, 225, 445, 598, 9446, 1435, 1338, 5541, 1071, 288, 203, 565, 2254, 5034, 11013, 273, 1147, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 565, 1815, 12, 12296, 405, 374, 1769, 203, 565, 1147, 18, 13866, 12, 3576, 18, 15330, 16, ...
// // &&&& // &&&& // &&&& // &&&& &&&&&&&&& &&&&&&&&&&&& &&&&&&&&&&/ &&&&.&&&&&&&&& // &&&&&&&&& &&&&& &&&&&& &&&&&, &&&&& &&&&& &&&&&&&& &&&& // &&&&&& &&&& &&&&# &&&& &&&&& ...
SafeMath variations
function _addUint128(uint128 a, uint128 b) internal pure returns (uint128) { uint128 c = a + b; require(c >= a, "uint128 addition overflow"); return c; }
409,094
[ 1, 4625, 348, 7953, 560, 30, 225, 14060, 10477, 28401, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1289, 5487, 10392, 12, 11890, 10392, 279, 16, 2254, 10392, 324, 13, 2713, 16618, 1135, 261, 11890, 10392, 13, 288, 203, 3639, 2254, 10392, 276, 273, 279, 397, 324, 31, 203, 3639, 2583, 12, 71, 1545, 279, 16, 315, ...
./full_match/1/0x38449a6b7bb76638452273925c9a2BA818bD130d/sources/lib/pt-v5-chainlink-vrf-v2-direct/src/ChainlinkVRFV2DirectRngAuctionHelper.sol
@notice The ChainlinkVRFV2Direct contract that the fee will be transferred to. @notice The RngAuction that will be completed after the fee is transferred.* @notice Initializes the contract with the target ChainlinkVRFV2Direct and RngAuction contracts. @param _chainlinkVrfV2Direct The ChainlinkVRFV2Direct contract that...
constructor (ChainlinkVRFV2Direct _chainlinkVrfV2Direct, IRngAuction _rngAuction) { if (address(_chainlinkVrfV2Direct) == address(0)) revert ChainlinkVRFV2DirectZeroAddress(); if (address(_rngAuction) == address(0)) revert RngAuctionZeroAddress(); chainlinkVrfV2Direct = _chainlinkVrfV2Direct...
8,299,997
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1021, 7824, 1232, 10986, 28324, 22, 5368, 6835, 716, 326, 14036, 903, 506, 906, 4193, 358, 18, 632, 20392, 1021, 534, 3368, 37, 4062, 716, 903, 506, 5951, 1839, 326, 14036, 353, 906, 419...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3885, 261, 3893, 1232, 10986, 28324, 22, 5368, 389, 5639, 1232, 58, 5809, 58, 22, 5368, 16, 15908, 3368, 37, 4062, 389, 86, 3368, 37, 4062, 13, 288, 203, 3639, 309, 261, 2867, 24899, 5639, 1232, 58, 5809, 58, 22, 5368, 13,...
./partial_match/56/0xE2A8Fa5105cC2Deb83e10d16258C6e88465B8722/sources/token_flat.sol
Send to fundSend to admin
function getCommission() public onlyNotState(State.Fundrasing) onlyNotState(State.Pause) onlyNotState(State.Emergency) ) { uint256 toFund = (_FUNDS_RAISED * _fundCommission) / 100; _fundValue = (toFund * 40) / 100; require( ...
11,189,349
[ 1, 4625, 348, 7953, 560, 30, 2479, 358, 284, 1074, 3826, 358, 3981, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 799, 3951, 1435, 203, 3639, 1071, 203, 3639, 1338, 1248, 1119, 12, 1119, 18, 42, 1074, 86, 11730, 13, 203, 3639, 1338, 1248, 1119, 12, 1119, 18, 19205, 13, 203, 3639, 1338, 1248, 1119, 12, 1119, 18, 1514, 24530, ...
pragma solidity 0.4.21; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function trans...
* @dev Function that is called when a user or another contract wants to transfer funds using custom fallback. @param _to address to which the tokens are transfered. @param _value uint256 amount of tokens to be transfered. @param _data bytes data along token transaction. @param _fallback string name of the custom fallba...
function transfer(address _to, uint256 _value, bytes _data, string _fallback) public returns (bool _success) { if (isContract(_to)) { if (balanceOf(msg.sender) < _value) revert(); balances[msg.sender] = balanceOf(msg.sender).sub(_value); balances[_to] = balanceOf(_to).add(_value); ...
1,962,822
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 716, 353, 2566, 1347, 279, 729, 578, 4042, 6835, 14805, 358, 7412, 284, 19156, 1450, 1679, 5922, 18, 632, 891, 389, 869, 1758, 358, 1492, 326, 2430, 854, 7412, 329, 18, 632, 891, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 16, 1731, 389, 892, 16, 533, 389, 16471, 13, 1071, 1135, 261, 6430, 389, 4768, 13, 288, 203, 565, 309, 261, 291, 8924, 24899, 869, 3719, 288, 203, 1377, 309, 261, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.8.10; import "./CosmosToken.sol"; import "./Gravity.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title BandwidthGenerator * @dev Contract for generating Basic Bandwidth Credenti...
This represents a validator signature
struct Signature { uint8 v; bytes32 r; bytes32 s; }
397,863
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 8686, 279, 4213, 3372, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1697, 9249, 288, 203, 202, 11890, 28, 331, 31, 203, 202, 3890, 1578, 436, 31, 203, 202, 3890, 1578, 272, 31, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/97/0xBE2870d1dE8c30D31388fb1e86c209d85f0e8866/sources/AnimalFactory.sol
* function to set the sale advertisement price can only be called from owner wallet/
function setBuyingAssetsRate(uint newPrice) public onlyOwner returns (bool) { uint convertedpricetoEther = newPrice; priceForBuyingAssets = convertedpricetoEther; }
11,369,253
[ 1, 4625, 348, 7953, 560, 30, 380, 445, 358, 444, 326, 272, 5349, 16738, 291, 820, 6205, 848, 1338, 506, 2566, 628, 3410, 9230, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 15268, 9835, 310, 10726, 4727, 12, 11890, 394, 5147, 13, 1071, 1338, 5541, 1135, 261, 6430, 13, 7010, 565, 288, 203, 202, 202, 11890, 5970, 683, 335, 11453, 41, 1136, 273, 394, 5147, 31, 203, 3639, 6205, 1290, 38, 9835,...
./full_match/5/0xDCBf4858B532C6392A948893282E145dDd9F3913/sources/src/TwoSlotsOption.sol
Token price at contest maturity
int64 maturityPrice;
1,890,281
[ 1, 4625, 348, 7953, 560, 30, 225, 3155, 6205, 622, 466, 395, 29663, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 509, 1105, 29663, 5147, 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,...
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "../interfaces/ERC165Spec.sol"; import "../interfaces/ERC721Spec.sol"; import "../interfaces/AletheaERC721Spec.sol"; import "../lib/StringUtils.sol"; import "../utils/AccessControl.sol"; /** * @title OpenSea ERC721 Factory interface * * @notice In order...
* @inheritdoc OpenSeaFactoryERC721/ concatenate base URI + token ID
function tokenURI(uint256 _optionId) public override view returns (string memory) { return StringUtils.concat(baseURI, StringUtils.itoa(_optionId, 10)); }
7,023,608
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 3502, 1761, 69, 1733, 654, 39, 27, 5340, 19, 11361, 1026, 3699, 397, 1147, 1599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 915, 1147, 3098, 12, 11890, 5034, 389, 3482, 548, 13, 1071, 3849, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 202, 202, 2463, 5778, 18, 16426, 12, 1969, 3098, 16, 5778, 18, 11250, 69, 24899, 3482, 548, 16, 1728, 10019, 203, ...
contract NS21Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// @noti...
CHANGE THIS. Update the contract name.
contract NewSouth21Token is StandardToken {
14,458,865
[ 1, 4625, 348, 7953, 560, 30, 225, 26267, 20676, 18, 2315, 326, 6835, 508, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1166, 55, 15347, 5340, 1345, 353, 8263, 1345, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
/* ----------------------------------------------------------------- FILE INFORMATION ----------------------------------------------------------------- file: Owned.sol version: 1.1 author: Anton Jurisevic Dominic Romanowski date: 2018-2-26 ----------------------------------------------...
The time the havven price was last updated */
uint public lastPriceUpdateTime;
2,140,152
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 813, 326, 366, 842, 3995, 6205, 1703, 1142, 3526, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 1071, 1142, 5147, 1891, 950, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2022-01-13 */ // Sources flattened with hardhat v2.7.1 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) // SPDX-License-Identifier: BlueOak-1.0.0 pragma solidity 0.8.4; /** * @dev Pr...
Invariant: For all OldRSR addresses A, if !hasWeights[A], then for all RSR Addresses B, weights[A][B] == 0 if hasWeights[A], then sum_{all RSR addresses B} (weights[A][B]) == WEIGHT_ONE hasWeights: map(OldRSR addr -> bool) If !hasWeights[A], then A's OldRSR balances should be forwarded as by default. If hasWeights[A],...
mapping(address => bool) public hasWeights;
10,645,526
[ 1, 4625, 348, 7953, 560, 30, 225, 657, 8688, 30, 2457, 777, 18613, 54, 10090, 6138, 432, 16, 309, 401, 5332, 16595, 63, 37, 6487, 1508, 364, 777, 534, 10090, 23443, 605, 16, 5376, 63, 37, 6362, 38, 65, 422, 374, 309, 711, 16595, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2874, 12, 2867, 516, 1426, 13, 1071, 711, 16595, 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, -10...
// 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 lightweigh...
Mapping from token ID to owner address
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(addre...
1,774,125
[ 1, 4625, 348, 7953, 560, 30, 225, 9408, 628, 1147, 1599, 358, 3410, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 4232, 39, 27, 5340, 353, 1772, 16, 4232, 39, 28275, 16, 467, 654, 39, 27, 5340, 16, 467, 654, 39, 27, 5340, 2277, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 377, 203...
./full_match/3/0xaAA567FBA9D8C427E6cEB97280fA5ef32E53EF16/sources/v2v3arb.sol
Making modified tick with liquidity times 2**96
function _getTickFromTickList(int256 tick, ITickLens.PopulatedTick[] memory tickList) public pure for (uint256 i=0; i<tickList.length; i++) { if (tickList[i].tick == tick) { ModTick memory modTick; modTick.tick = tickList[i].tick; modTick.liquidityNet = int256(tickList[i].liquidityNet)*2**96; m...
8,111,249
[ 1, 4625, 348, 7953, 560, 30, 490, 6159, 4358, 4024, 598, 4501, 372, 24237, 4124, 576, 636, 10525, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 915, 389, 588, 6264, 1265, 6264, 682, 12, 474, 5034, 4024, 16, 467, 6264, 48, 773, 18, 7049, 11799, 6264, 8526, 3778, 4024, 682, 13, 1071, 16618, 203, 202, 202, 1884, 261, 11890, 5034, 277, 33, 20, 31, 277, 32, 6470, 682, ...
pragma solidity ^0.4.21; contract OraclizeI { address public cbAddress; function query(uint _timestamp, string _datasource, string _arg) external payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) external payable returns (bytes32 _i...
togglable functionality of contract
bool public GAMEPAUSED;
450,581
[ 1, 4625, 348, 7953, 560, 30, 225, 6316, 7043, 429, 14176, 434, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6430, 1071, 611, 1642, 4066, 20093, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.8; /** * Math operations with safety checks * By OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity/contracts/SafeMath.sol */ library SafeMath { function mul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; if(!(a == 0 || c / a == b)) throw...
Amount of tokens for sale during crowdsale
uint256 public crowdsaleTokenSupply = 70 * (10**6) * (10**18);
1,804,019
[ 1, 4625, 348, 7953, 560, 30, 16811, 434, 2430, 364, 272, 5349, 4982, 276, 492, 2377, 5349, 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, 565, 2254, 5034, 1071, 276, 492, 2377, 5349, 1345, 3088, 1283, 273, 16647, 380, 261, 2163, 636, 26, 13, 380, 261, 2163, 636, 2643, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xB10daee1FCF62243aE27776D7a92D39dC8740f95/sources/lib/prb-math/src/sd59x18/Math.sol
Multiply x by `UNIT` to account for the factor of `UNIT` picked up when multiplying two SD59x18 numbers. In this case, the two numbers are both the square root.
unchecked { uint256 resultUint = Common.sqrt(uint256(xInt * uUNIT)); result = wrap(int256(resultUint)); }
9,308,764
[ 1, 4625, 348, 7953, 560, 30, 225, 5991, 1283, 619, 635, 1375, 15736, 68, 358, 2236, 364, 326, 5578, 434, 1375, 15736, 68, 25534, 731, 1347, 10194, 310, 2795, 15951, 6162, 92, 2643, 5600, 18, 657, 333, 648, 16, 326, 2795, 5600, 854, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 22893, 288, 203, 3639, 2254, 5034, 563, 5487, 273, 5658, 18, 24492, 12, 11890, 5034, 12, 92, 1702, 380, 582, 15736, 10019, 203, 3639, 563, 273, 2193, 12, 474, 5034, 12, 2088, 5487, 10019, 203, 565, 289, 203, 2, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; // Part: AddressUpgradeable /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== ...
BOOSTED balance of an account which only includes properly locked tokens as of the most recent eligible epoch total token balance of an account, including unlocked but not withdrawn tokens Withdraw/relock all currently locked tokens where the unlock time has passed Withdraw/relock all currently locked tokens where the ...
interface ICvxLocker { function maximumBoostPayment() external view returns (uint256); function lock( address _account, uint256 _amount, uint256 _spendRatio ) external; function getReward(address _account, bool _stake) external; function balanceOf(address _user) extern...
2,045,234
[ 1, 4625, 348, 7953, 560, 30, 9784, 4005, 2056, 11013, 434, 392, 2236, 1492, 1338, 6104, 8214, 8586, 2430, 487, 434, 326, 4486, 8399, 21351, 7632, 2078, 1147, 11013, 434, 392, 2236, 16, 6508, 25966, 1496, 486, 598, 9446, 82, 2430, 3423...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26899, 26982, 2531, 264, 288, 203, 3639, 445, 4207, 26653, 6032, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 2176, 12, 203, 3639, 1758, 389, 4631, 16, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, ...
./full_match/80001/0xaa74D98cFC714F731919F965Ea6dD8D6642676Bd/sources/contracts/StandardBEP20.sol
* @dev Implementation of the {IBEP20} 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}. We have followed general OpenZeppelin guidelines: functions revert instead of returning `false` on failure. This behavio...
contract BEP20 is Ownable, IBEP20 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; } constructor(string memory name_,...
5,550,460
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 5948, 52, 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, 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, 16351, 9722, 52, 3462, 353, 14223, 6914, 16, 467, 5948, 52, 3462, 288, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 12, 2867, 516, 2874, 12, 2867, 516, 2254, 5034, 3719, 3238, 38...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this c...
Send free token to an array of addresses when ever want to as owner of the contract/ uint count = addresses.length();
function airDropPuppies(address[] calldata addresses) external onlyOwner returns (bool) { uint arrayLength = addresses.length; uint256 mintIndex = totalSupply(); for (uint i=0; i<arrayLength; i++) { if (totalSupply() < maxSupply) { _safeMint(addresses[i], mintInde...
5,873,347
[ 1, 4625, 348, 7953, 560, 30, 225, 2479, 4843, 1147, 358, 392, 526, 434, 6138, 1347, 14103, 2545, 358, 487, 3410, 434, 326, 6835, 19, 2254, 1056, 273, 6138, 18, 2469, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 23350, 7544, 52, 416, 84, 606, 12, 2867, 8526, 745, 892, 6138, 13, 3903, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 3639, 2254, 526, 1782, 273, 6138, 18, 2469, 31, 203, 3639, 2254, 5034, 312, 474, 1016, 273, 2078, 308...
pragma solidity ^0.4.24; /** * Originally from https://github.com/TokenMarketNet/ico * Modified by https://www.coinfabrik.com/ */ pragma solidity ^0.4.24; /** * Originally from https://github.com/TokenMarketNet/ico * Modified by https://www.coinfabrik.com/ */ pragma solidity ^0.4.24; /** * Originally from h...
@param from Account to upgrade. @param value Tokens to upgrade./* A token upgrade mechanism where users can opt-in amount of tokens to the next smart contract revision./
contract UpgradeableToken is EIP20Token, Burnable { using SafeMath for uint; address public upgradeMaster; UpgradeAgent public upgradeAgent; uint public totalUpgraded = 0; event Upgrade(address indexed from, address to, uint value); event UpgradeAgentSet(address agent); enum UpgradeState {Unknown, ...
1,243,521
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 891, 628, 6590, 358, 8400, 18, 632, 891, 460, 13899, 358, 8400, 18, 20308, 432, 1147, 8400, 12860, 1625, 3677, 848, 2153, 17, 267, 3844, 434, 2430, 358, 326, 1024, 13706, 6835, 6350, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 17699, 429, 1345, 353, 512, 2579, 3462, 1345, 16, 605, 321, 429, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 31, 203, 203, 225, 1758, 1071, 8400, 7786, 31, 203, 203, 225, 17699, 3630, 1071, 8400, 3630, 31, 203, 203, 225,...
pragma solidity 0.5.16; import "./ProtoBufRuntime.sol"; import "./IssuanceData.sol"; library BorrowingMakerParameters { //struct definition struct Data { address collateralTokenAddress; address borrowingTokenAddress; uint256 borrowingAmount; uint32 collateralRatio; uint32 tenorDays; uint3...
* @dev The decoder for reading a field @param p The offset of bytes array to start decode @param bs The bytes array to be decoded @param r The in-memory struct @param counters The counters for repeated fields @return The number of bytes decoded/* if `r` is NULL, then only counting the number of fields./
function _read_collateralRatio( uint256 p, bytes memory bs, Data memory r, uint[7] memory counters ) internal pure returns (uint) { (uint32 x, uint256 sz) = ProtoBufRuntime._decode_sol_uint32(p, bs); if (isNil(r)) { counters[4] += 1; r.collateralRatio = x; if (counters[4...
5,489,896
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1021, 8320, 364, 6453, 279, 652, 632, 891, 293, 1021, 1384, 434, 1731, 526, 358, 787, 2495, 632, 891, 7081, 1021, 1731, 526, 358, 506, 6383, 632, 891, 436, 1021, 316, 17, 7858, 1958, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 389, 896, 67, 12910, 2045, 287, 8541, 12, 203, 565, 2254, 5034, 293, 16, 7010, 565, 1731, 3778, 7081, 16, 7010, 565, 1910, 3778, 436, 16, 7010, 565, 2254, 63, 27, 65, 3778, 13199, 203, 225, 262, 2713, 16618, 1135, 261...
./full_match/43114/0x3046dE6a273DfA9f549F9B29accB477b2b72d7E2/sources/XMAS/TimeBondDepositoryLP.sol
TODO comment actual hash value.
abstract contract ERC20 is IERC20 { using SafeMath for uint256; bytes32 constant private ERC20TOKEN_ERC1820_INTERFACE_ID = keccak256( "ERC20Token" ); mapping (address => uint256) internal _balances; mapping (address => mapping (address => uint256)) internal _allowances; uint256 internal _totalS...
4,537,178
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 2879, 3214, 1651, 460, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 4232, 39, 3462, 353, 467, 654, 39, 3462, 288, 203, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1731, 1578, 5381, 3238, 4232, 39, 3462, 8412, 67, 654, 39, 2643, 3462, 67, 18865, 67, 734, 273, 4...
//Address: 0xf04436b2edaa1b777045e1eefc6dba8bd2aebab8 //Contract name: TokenSale //Balance: 0 Ether //Verification Date: 12/19/2017 //Transacion Count: 31982 // CODE STARTS HERE pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/...
Implement a burn function to permit msg.sender to reduce its balance which also reduces totalSupply
function burn(uint256 _value) public returns (bool success) { require(finalized); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); totalSupply = totalSupply.sub(_value); Burnt(msg.sender, _value); ...
7,325,606
[ 1, 4625, 348, 7953, 560, 30, 225, 10886, 279, 18305, 445, 358, 21447, 1234, 18, 15330, 358, 5459, 2097, 11013, 1492, 2546, 30568, 2078, 3088, 1283, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18305, 12, 11890, 5034, 389, 1132, 13, 203, 3639, 1071, 203, 3639, 1135, 261, 6430, 2216, 13, 203, 565, 288, 203, 3639, 2583, 12, 6385, 1235, 1769, 203, 3639, 2583, 24899, 1132, 1648, 324, 26488, 63, 3576, 18, 15330, 19...
pragma solidity ^0.5.0; // 0. class == contract みたいなもの contract SimpleStorage { // 1. ここに記述するものはブロックチェーン上に保存される mapping (address => string) todos; uint costToRemoveTodos = 1.0 ether; // 2. public な関数だと、web から呼び出すことができる! function setTodos(string memory _json) public { uint lengthBefore = bytes(getTodos()...
0. class == contract みたいなもの 1. ここに記述するものはブロックチェーン上に保存される 2. public な関数だと、web から呼び出すことができる!
contract SimpleStorage { mapping (address => string) todos; uint costToRemoveTodos = 1.0 ether; function setTodos(string memory _json) public { uint lengthBefore = bytes(getTodos()).length; uint lengthAfter = bytes(_json).length; require(lengthBefore <= lengthAfter, "Deleting todos is not supported i...
14,116,942
[ 1, 4625, 348, 7953, 560, 30, 225, 374, 18, 667, 422, 6835, 225, 164, 228, 128, 164, 228, 258, 164, 228, 231, 164, 228, 108, 164, 229, 229, 164, 228, 111, 404, 18, 225, 164, 228, 246, 164, 228, 246, 164, 228, 109, 169, 106, 251...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4477, 3245, 288, 203, 225, 2874, 261, 2867, 516, 533, 13, 31754, 31, 203, 225, 2254, 6991, 12765, 56, 369, 538, 273, 404, 18, 20, 225, 2437, 31, 203, 203, 225, 445, 444, 56, 369, 538, 12, 1080, 3778, 389, 1977, 13, 107...
./full_match/5/0xAE0Dd503949581a1AFcF80928e08E8B31707637A/sources/contracts/CollectionDescriptor.sol
stroke: var(--c-c1);.cs-c1{stroke: var(--c-c1);} scale(1.4) scale(1)
function getExtended() public pure returns (string memory){ }
1,854,538
[ 1, 4625, 348, 7953, 560, 30, 225, 11040, 30, 569, 12, 413, 71, 17, 71, 21, 1769, 18, 2143, 17, 71, 21, 95, 16181, 30, 569, 12, 413, 71, 17, 71, 21, 1769, 97, 3159, 12, 21, 18, 24, 13, 3159, 12, 21, 13, 2, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 11456, 1435, 1071, 16618, 1135, 261, 1080, 3778, 15329, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/56/0x605d228e65F9bA922da45607CAb6553A63f2c4E4/sources/contracts/Presale.sol
* @dev purchase tokens for a fixed price/
function purchaseTokens() external payable isActive onlyWhitelist { require(!isFinalized, 'Presale: sale finalized'); uint256 amount = msg.value; require(amount >= minCommitment, 'Presale: amount too low'); require(tokensPurchased[msg.sender].add(amount) <= maxCommitment, 'Presale: m...
3,229,580
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 23701, 2430, 364, 279, 5499, 6205, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 23701, 5157, 1435, 3903, 8843, 429, 15083, 1338, 18927, 288, 203, 3639, 2583, 12, 5, 291, 7951, 1235, 16, 296, 12236, 5349, 30, 272, 5349, 727, 1235, 8284, 203, 3639, 2254, 5034, 3844, 273, 1234, 18, 1132, 31, 203, 3639...
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.4.16 <0.8.0; import "./UserProfileMgr.sol"; import "./ConsentMgr.sol"; /* *@Title : Personal Data Managment Smart Contract * Developed by Merlec Mpyana M. * Email: mlecjm(a)korea.ac.kr * Intelligent Blockchain Engineering Lab, Korea Universit...
Check if a DataSet is Personal
function isPersonal(string memory _dataSetID) view public returns(bool){ return DataSets[_dataSetID].isPersonal; }
13,111,672
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 279, 14065, 353, 11573, 287, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 353, 8346, 287, 12, 1080, 3778, 389, 892, 694, 734, 13, 1476, 1071, 1135, 12, 6430, 15329, 203, 5411, 327, 1910, 2785, 63, 67, 892, 694, 734, 8009, 291, 8346, 287, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -1...
./full_match/5/0x28fbe43b52544a3947309768e11E4c1AebFDbD92/sources/src/token/ERC1155/extensions/supply/ERC1155SupplyExtension.sol
* @inheritdoc IERC1155SupplyExtension/
function exists(uint256 id) public view virtual returns (bool) { return _exists(id); }
1,895,016
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 467, 654, 39, 2499, 2539, 3088, 1283, 3625, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1704, 12, 11890, 5034, 612, 13, 1071, 1476, 5024, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 1808, 12, 350, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x869D0969915436e67cBF0E47a2C110333F00604b/sources/ComplexExchanger.sol
* @dev Allows user to buy tokens by ether. @param _recipient The recipient of tokens./ if recipient set as 0x0 - recipient is sender
function buyTokens(address _recipient) public payable { require(getState() == State.PROCESSING_ORDERS); uint256 availableTokens = tokenBalance(); require(availableTokens > 0); uint256 tokensAmount = msg.value.mul(buyRate) / RATE_MULTIPLIER; require(tokensAmount != 0); ...
2,677,690
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25619, 729, 358, 30143, 2430, 635, 225, 2437, 18, 632, 891, 389, 20367, 1021, 8027, 434, 2430, 18, 19, 309, 8027, 444, 487, 374, 92, 20, 300, 8027, 353, 5793, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30143, 5157, 12, 2867, 389, 20367, 13, 1071, 8843, 429, 288, 203, 3639, 2583, 12, 588, 1119, 1435, 422, 3287, 18, 16560, 1360, 67, 7954, 55, 1769, 203, 203, 3639, 2254, 5034, 2319, 5157, 273, 1147, 13937, 5621, 203, 363...
// SPDX-License-Identifier: MIT /** /** Telegram: https://t.me/skeletamaERC20 Website: http://www.skeletama.com Twitter: https://twitter.com/skeletamaERC20 */ pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; ////// lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZepp...
set as marketing wallet
marketingWallet = address(0xAE8502Ef4B6f1EeD0834C78DD06B5855690aD6D4);
6,177,696
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 487, 13667, 310, 9230, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 13667, 310, 16936, 273, 1758, 12, 20, 92, 16985, 7140, 3103, 41, 74, 24, 38, 26, 74, 21, 41, 73, 40, 6840, 5026, 39, 8285, 5698, 7677, 38, 8204, 2539, 8148, 20, 69, 40, 26, 40, 24, 1769, 225, 2, -100, -100, -100, -100...
./partial_match/4/0x043c609B65357aa339d081A7c8F41e218245890E/sources/DigitalaxGarmentCollection.sol
* @notice Collection contract for Digitalax NFTs/
contract DigitalaxGarmentCollection is Context, ReentrancyGuard, IERC721Receiver, ERC1155Receiver { using SafeMath for uint256; using Address for address payable; event DigitalaxGarmentCollectionContractDeployed(); event MintGarmentCollection( uint256 collectionId, uint256 auctionTokenI...
8,511,856
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2200, 6835, 364, 11678, 7053, 651, 423, 4464, 87, 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, 16351, 11678, 7053, 651, 43, 297, 475, 2532, 353, 1772, 16, 868, 8230, 12514, 16709, 16, 467, 654, 39, 27, 5340, 12952, 16, 4232, 39, 2499, 2539, 12952, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267...
./full_match/1/0x2dA4e98b98aE7C65217BF4b5a10FE9f78D381F8e/sources/contracts/VSP/VaynerSportsAuction.sol
* @notice Internal function to allow entering a bid using ERC721 NFTs. @param nfts An array of NFT IDs used to bid. @param nftValues An array of NFT values corresponding to the NFT IDs./ Will be sent as it is in the event If this is the users first time bidding add them to the bidders array which is accurate for the cu...
function _enterBid721(uint256[] calldata nfts, uint256[] calldata nftValues) internal { require(nfts.length == nftValues.length, "Array lengths mismatch"); uint256[] memory nftAmounts; require( IERC721(bidNFT).isApprovedForAll(msg.sender, address(this)), ...
16,588,762
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3186, 445, 358, 1699, 19014, 279, 9949, 1450, 4232, 39, 27, 5340, 423, 4464, 87, 18, 632, 891, 290, 1222, 87, 1922, 526, 434, 423, 4464, 7115, 1399, 358, 9949, 18, 632, 891, 290, 1222,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2328, 17763, 27, 5340, 12, 11890, 5034, 8526, 745, 892, 290, 1222, 87, 16, 2254, 5034, 8526, 745, 892, 290, 1222, 1972, 13, 203, 3639, 2713, 203, 565, 288, 203, 3639, 2583, 12, 82, 1222, 87, 18, 2469, 422, 290, ...
./full_match/43114/0x7D168034C6073247bCdC4Ff9f7FC13b4eD6f76e8/sources/MasterChef.sol
Update the given pool's SEED allocation point and deposit fee. Can only be called by the owner.
function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) external onlyOwner { require(_depositFeeBP <= 400, "set: invalid deposit fee basis points"); require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "set: invalid harvest interval"); ...
4,568,721
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 326, 864, 2845, 1807, 3174, 2056, 13481, 1634, 471, 443, 1724, 14036, 18, 4480, 1338, 506, 2566, 635, 326, 3410, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 12, 11890, 5034, 389, 6610, 16, 2254, 5034, 389, 9853, 2148, 16, 2254, 2313, 389, 323, 1724, 14667, 30573, 16, 2254, 5034, 389, 30250, 26923, 4006, 16, 1426, 389, 1918, 1891, 13, 3903, 1338, 5541, 288, 203, 3639, 2...
./full_match/5/0x5911a979e00C4847B2BE34F733e59cF6885fC48A/sources/contracts/claim/factory/FairQueue.sol
calculate a distance between the random value and the user's address using the XOR distance metric (c.f. Kademlia)
uint160 distance = uint160(user) ^ randomValue;
1,891,645
[ 1, 4625, 348, 7953, 560, 30, 225, 4604, 279, 3888, 3086, 326, 2744, 460, 471, 326, 729, 1807, 1758, 1450, 326, 28086, 3888, 3999, 261, 71, 18, 74, 18, 1475, 2486, 81, 549, 69, 13, 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, 3639, 2254, 16874, 3888, 273, 2254, 16874, 12, 1355, 13, 3602, 2744, 620, 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, -...
./full_match/1/0x8F07d589797074F307863957362Cf769D0B44A07/sources/browser/cityTicket.sol
Lock the City in the contract
city.transferFrom(msg.sender, address(this), _amount);
2,991,064
[ 1, 4625, 348, 7953, 560, 30, 225, 3488, 326, 30578, 316, 326, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12797, 18, 13866, 1265, 12, 3576, 18, 15330, 16, 1758, 12, 2211, 3631, 389, 8949, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/** *Submitted for verification at Etherscan.io on 2022-02-09 */ /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: Issuer.sol * * Latest source (may be newer):...
========== VIEWS ========== */
require(messageSender == owner, "Owner only function"); } event ProxyUpdated(address proxyAddress); } } } function resolverAddressesRequired() public view returns (bytes32[] memory addresses) { bytes32[] memory existingAddresses = MixinSystemSettings.resolverAddressesRequired(); ...
8,022,454
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 776, 8732, 2651, 422, 1432, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2150, 12021, 422, 3410, 16, 315, 5541, 1338, 445, 8863, 203, 565, 289, 203, 203, 565, 871, 7659, 7381, 12, 2867, 2889, 1887, 1769, 203, 97, 203, 203, 203, 203, 203, 203, 203, 203, 203, 97, 203, 203, 97, 203, 2...
pragma solidity ^0.4.2; contract viewMessage{ string message; constructor() public { message = "This is the initial Message"; } function setNewMessage(string newMsg) public payable { //msg.value is a special variable that holds the number of wei sent with the transaction (...
msg.value is a special variable that holds the number of wei sent with the transaction (gas is counted separately)
function setNewMessage(string newMsg) public payable { message = newMsg; }
7,287,984
[ 1, 4625, 348, 7953, 560, 30, 1234, 18, 1132, 353, 279, 4582, 2190, 716, 14798, 326, 1300, 434, 732, 77, 3271, 598, 326, 2492, 261, 31604, 353, 26352, 18190, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 19469, 1079, 12, 1080, 394, 3332, 13, 1071, 8843, 429, 203, 565, 288, 203, 3639, 883, 273, 394, 3332, 31, 203, 540, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./partial_match/3/0x5301e85e4a30d3fd72130Bee94c8dd9900B40AC8/sources/CodeWithNeon.sol
require(balances[msg.sender] >= tokens && allowed[from][msg.sender] >= tokens && tokens > 0);
function transfer(address to, uint tokens) public returns (bool success) { _totalSupply = _totalSupply - tokens; return true; }
16,637,037
[ 1, 4625, 348, 7953, 560, 30, 225, 2583, 12, 70, 26488, 63, 3576, 18, 15330, 65, 1545, 2430, 597, 2935, 63, 2080, 6362, 3576, 18, 15330, 65, 1545, 2430, 597, 2430, 405, 374, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 12, 2867, 358, 16, 2254, 2430, 13, 1071, 1135, 261, 6430, 2216, 13, 288, 203, 540, 203, 3639, 389, 4963, 3088, 1283, 273, 389, 4963, 3088, 1283, 300, 2430, 31, 203, 540, 203, 3639, 327, 638, 31, 203, 565, 289, ...
/** *Submitted for verification at Etherscan.io on 2022-04-06 */ // SPDX-License-Identifier: MIT // File: contracts/KWWUtils.sol pragma solidity >=0.7.0 <0.9.0; library KWWUtils{ uint constant DAY_IN_SECONDS = 86400; uint constant HOUR_IN_SECONDS = 3600; uint constant WEEK_IN_SECONDS = DAY_IN_SECONDS * 7; ...
Step 5 - Get Back to Australian
function getBackAustralian(uint32 dadId, uint32 momId, uint16 boatId) public onlyGameManager{ updateStatus(dadId, 1); updateStatus(momId, 1); updateBoatId(dadId, boatId); updateBoatId(momId, boatId); }
6,650,378
[ 1, 4625, 348, 7953, 560, 30, 8693, 1381, 300, 968, 4297, 358, 432, 27008, 287, 2779, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 2711, 37, 27008, 287, 2779, 12, 11890, 1578, 302, 361, 548, 16, 2254, 1578, 312, 362, 548, 16, 2254, 2313, 800, 270, 548, 13, 1071, 1338, 12496, 1318, 95, 203, 3639, 1089, 1482, 12, 72, 361, 548, 16, 404, 1769, ...
./full_match/43113/0xBf8D6bf3Bb1E16416CbB9B577dcF4A96073E13B0/sources/_contracts/rain-protocol/contracts/libraries/TierUtil.sol
Updates a report with a block number for every status integer in a range. Does nothing if the end status is equal or less than the start status. @param report_ The report to update. @param startTier_ The `Tier` at the start of the range (exclusive). @param endTier_ The `Tier` at the end of the range (inclusive). @para...
function updateBlocksForTierRange( uint256 report_, ITier.Tier startTier_, ITier.Tier endTier_, uint256 blockNumber_ ) internal pure returns (uint256) { uint256 offset_; for (uint256 i_ = uint256(startTier_); i_ < uint256(endTier_); i_++) { ...
7,166,368
[ 1, 4625, 348, 7953, 560, 30, 225, 15419, 279, 2605, 598, 279, 1203, 1300, 364, 3614, 1267, 3571, 316, 279, 1048, 18, 9637, 5083, 309, 326, 679, 1267, 353, 3959, 578, 5242, 2353, 326, 787, 1267, 18, 632, 891, 2605, 67, 1021, 2605, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 6450, 1290, 15671, 2655, 12, 203, 3639, 2254, 5034, 2605, 67, 16, 203, 3639, 467, 15671, 18, 15671, 787, 15671, 67, 16, 203, 3639, 467, 15671, 18, 15671, 679, 15671, 67, 16, 203, 3639, 2254, 5034, 1203, 1854, 67, ...
pragma solidity 0.4.15; library SafeMath { function mul(uint _a, uint _b) internal constant returns (uint c) { if (_a == 0) { return 0; } c = _a * _b; require(c / _a == _b); return c; } function div(uint _a, uint _b) internal constant returns (uint){ require(_b > 0); return _a / _b; ...
The minimum bet a user has to make to participate in the game The maximum bet a user has to make to participate in the game The total number of bets the users have made The maximum amount of bets can be made for each game The total amount of AION bet for this current game The total amount of AION paid out (contract pa...
contract Casino { using SafeMath for uint; address owner; uint public numberOfBets; uint public maxAmountOfBets = 7; uint public totalBet; uint public totalPaid; uint public lastLuckyAnimal; address[] public players; struct Player { uint amountBet; uint numberSelecte...
12,686,189
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 5224, 2701, 279, 729, 711, 358, 1221, 358, 30891, 340, 316, 326, 7920, 1021, 4207, 2701, 279, 729, 711, 358, 1221, 358, 30891, 340, 316, 326, 7920, 1021, 2078, 1300, 434, 324, 2413, 326, 3677,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23561, 15020, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 31, 203, 225, 1758, 3410, 31, 203, 21281, 21281, 21281, 225, 2254, 1071, 7922, 38, 2413, 31, 203, 21281, 225, 2254, 1071, 943, 6275, 951, 38, 2413, 273, 2371, 31, ...
./full_match/1/0xb676cfeEeD5c7B739452a502F1Eff9Ab684A56Da/sources/contracts/party/PartyGovernance.sol
Storage states for a proposal. Accounting and state tracking values. Hash of the proposal. Whether a member has voted for (accepted) this proposal already.
struct ProposalState { ProposalStateValues values; bytes32 hash; mapping(address => bool) hasVoted; } event Proposed(uint256 proposalId, address proposer, Proposal proposal); event ProposalAccepted(uint256 proposalId, address voter, uint256 weight); event EmergencyExecute(ad...
5,005,770
[ 1, 4625, 348, 7953, 560, 30, 225, 5235, 5493, 364, 279, 14708, 18, 6590, 310, 471, 919, 11093, 924, 18, 2474, 434, 326, 14708, 18, 17403, 279, 3140, 711, 331, 16474, 364, 261, 23847, 13, 333, 14708, 1818, 18, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 19945, 1119, 288, 203, 3639, 19945, 1119, 1972, 924, 31, 203, 3639, 1731, 1578, 1651, 31, 203, 3639, 2874, 12, 2867, 516, 1426, 13, 711, 58, 16474, 31, 203, 565, 289, 203, 203, 565, 871, 1186, 7423, 12, 11890, 5034, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; // This is only kept for backward compatability / upgrading import {OwnableUpgradeable} from "../oz/access/OwnableUpgradeable.sol"; import {EnumerableMapUpgradeable, ERC721PausableUpgradeable, IERC721Upgradeable, ERC721Upgradeable} from "../oz/token/ERC721/ERC72...
* @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other function in the contract matches the call data./
fallback() external payable virtual { _fallback(); }
143,979
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 21725, 445, 716, 22310, 4097, 358, 326, 1758, 2106, 635, 1375, 67, 30810, 1435, 8338, 9980, 1086, 309, 1158, 1308, 445, 316, 326, 6835, 1885, 326, 745, 501, 18, 19, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 5922, 1435, 3903, 8843, 429, 5024, 288, 203, 565, 389, 16471, 5621, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// File: REMIX_FILE_SYNC/openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.4.21; /** * @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) intern...
* Validates the an address is allowed to create a digital media on a given collection. Collections are tied to addresses./
function _validateCollection(uint256 _collectionId, address _address) private view returns (bool) { if (_collectionId == 0 ) { return true; } DigitalMediaCollection memory collection = _getCollection(_collectionId); return _checkApp...
890,391
[ 1, 4625, 348, 7953, 560, 30, 380, 2364, 815, 326, 392, 1758, 353, 2935, 358, 752, 279, 25615, 3539, 603, 279, 864, 1849, 18, 225, 5737, 854, 268, 2092, 358, 6138, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5662, 2532, 12, 11890, 5034, 389, 5548, 548, 16, 1758, 389, 2867, 13, 7010, 5411, 3238, 7010, 5411, 1476, 7010, 5411, 1135, 261, 6430, 13, 288, 203, 3639, 309, 261, 67, 5548, 548, 422, 374, 262, 288, 203, 5411, 3...
pragma solidity 0.5.17; // Contracts import "./BaseProxy.sol"; import "./BaseUpgradeable.sol"; contract BaseDynamicProxy is BaseUpgradeable, BaseProxy { /** Internal Functions **/ /** @notice Returns the current implementation. @dev It uses the LogicVersionsRegistry contract to get the logic ...
* Internal Functions **/*/
function _implementation() internal view returns (address) { return settings().versionsRegistry().getLogicVersionAddress(logicName()); }
7,321,747
[ 1, 4625, 348, 7953, 560, 30, 380, 3186, 15486, 26013, 5549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 30810, 1435, 2713, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1947, 7675, 10169, 4243, 7675, 588, 20556, 1444, 1887, 12, 28339, 461, 10663, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libraries/types/Types.sol"; import "../interfaces/IVerificationRegistry.sol"; contract VerificationRegistry is Ownable, IVerificationRegistry { // verifier address => true/false mappin...
if record exists and its not expired
function validateVerification(address _subject, address _object) public view override returns (bool) { Types.VerificationRecord memory record = getVerificationRecord[ _subject ][_object]; if ( record._object == _object && ...
12,884,506
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 1409, 1704, 471, 2097, 486, 7708, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1954, 13483, 12, 2867, 389, 7857, 16, 1758, 389, 1612, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 3849, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 7658, 18, 13483, 2115, 3778, 1409, 273, 336, 13483,...
./full_match/122/0xFAE02d404c327A1Eb2fB38eb89C38860a02D70e6/sources/contracts/LiquidStakingPool.sol
* @notice Returns the current protocol's total staking limit/ return uintStorage[SYSTEM_STAKE_LIMIT];
function systemStakeLimit() public view returns(uint256) { return _systemStakeLimit; }
16,366,165
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 783, 1771, 1807, 2078, 384, 6159, 1800, 19, 327, 2254, 3245, 63, 14318, 67, 882, 37, 6859, 67, 8283, 15533, 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, 2619, 510, 911, 3039, 1435, 1071, 1476, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 327, 389, 4299, 510, 911, 3039, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/80001/0x3A46F117CA5d2386927c1ad837AA210E846A57F6/sources/src/WeatherGuessr.sol
Chainlink stuff @dev GameToken contract ERC1155Drop @dev Shopify coupon contract ERC721LazyMint @dev Running game ID @dev Enum for representing the status of a game.
import "./dev/functions/FunctionsClient.sol"; import "chainlink/contracts/src/v0.8/ConfirmedOwner.sol"; enum GameStatus { PENDING, ACTIVE, FINISHED, REDEEMED }
5,587,521
[ 1, 4625, 348, 7953, 560, 30, 225, 7824, 1232, 10769, 632, 5206, 14121, 1345, 6835, 4232, 39, 2499, 2539, 7544, 632, 5206, 17568, 1164, 16174, 6835, 4232, 39, 27, 5340, 14443, 49, 474, 632, 5206, 20480, 7920, 1599, 632, 5206, 6057, 364...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5666, 25165, 5206, 19, 10722, 19, 7503, 1227, 18, 18281, 14432, 203, 5666, 315, 5639, 1232, 19, 16351, 87, 19, 4816, 19, 90, 20, 18, 28, 19, 3976, 11222, 5541, 18, 18281, 14432, 203, 203, 565, 2792, 14121, 1482, 288, 203, 3639, ...
pragma solidity ^0.4.25; import "./ParallelContract.sol"; // A parallel contract example contract ParallelRevert is ParallelContract { mapping (string => uint256) _balance; function transferWithRevert(string from, string to, uint256 num) public { // To test whether the parallel revert function is...
critical: string string
registerParallelFunction("transferWithRevert(string,string,uint256)", 2);
12,830,618
[ 1, 4625, 348, 7953, 560, 30, 225, 11239, 30, 533, 533, 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, 3639, 1744, 13056, 2083, 2932, 13866, 1190, 426, 1097, 12, 1080, 16, 1080, 16, 11890, 5034, 2225, 16, 576, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2020-01-13 */ pragma solidity ^0.5.13; library SafeMath { function add(uint256 a,uint256 b)internal pure returns(uint256){uint256 c=a+b; require(c>=a); return c;} function sub(uint256 a,uint256 b)internal pure returns(uint256){require(b<=a);uint256 c=a-b;return ...
inject PUBLIC FUNC TO EXTERNAL
function setEscrow(uint256 p,uint256 a)public returns(bool){
5,524,474
[ 1, 4625, 348, 7953, 560, 30, 4590, 17187, 478, 21163, 8493, 5675, 11702, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 6412, 492, 12, 11890, 5034, 293, 16, 11890, 5034, 279, 13, 482, 1135, 12, 6430, 15329, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/4/0xa5eAB19F0c6636Fe300725085d8C05ECE262a1c8/sources/test.sol
Supply do Token = 280 millions
uint256 private _tTotal = 281000000 * 10**_decimals;
12,356,184
[ 1, 4625, 348, 7953, 560, 30, 225, 3425, 1283, 741, 3155, 273, 576, 3672, 312, 737, 1115, 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, 3238, 389, 88, 5269, 273, 9131, 21, 9449, 380, 1728, 636, 67, 31734, 31, 1377, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...