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
// // &&&& // &&&& // &&&& // &&&& &&&&&&&&& &&&&&&&&&&&& &&&&&&&&&&/ &&&&.&&&&&&&&& // &&&&&&&&& &&&&& &&&&&& &&&&&, &&&&& &&&&& &&&&&&&& &&&& // &&&&&& &&&& &&&&# &&&& &&&&& ...
* @dev Implementation of the {IERC777} 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}. Support for ERC20 is included in this contract, as specified by the EIP: both the ERC777 and ERC20 interfaces can be sa...
contract ERC777 is Context, IERC777, IERC20 { using SafeMath for uint256; using Address for address; IERC1820Registry constant internal _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24); mapping(address => uint256) private _balances; uint256 private _totalSupply; ...
1,349,420
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 14509, 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, 4232, 39, 14509, 353, 1772, 16, 467, 654, 39, 14509, 16, 467, 654, 39, 3462, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 467, 654, 39, 2643, 3462, 4243, 538...
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.10; import {RolesAuthority} from "solmate/auth/authorities/RolesAuthority.sol"; import {SSTORE2} from "solmate/utils/SSTORE2.sol"; // Radicle DripsHub imports import {ERC20Reserve} from "radicle-drips-hub/ERC20Reserve.sol"; import {ERC20DripsHub} from "radicle...
@notice Create a new workstream with an ERC20 drip. Read more about this on createDaiWorkstream().
function createERC20Workstream( address orgAddress, string calldata anchor, address[] calldata workstreamMembers, uint128[] calldata amountsPerSecond, uint128 initialAmount, address erc20 ) external returns (address) { IDripsHub erc20Hub = erc20TokensLibra...
15,802,315
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1788, 279, 394, 1440, 3256, 598, 392, 4232, 39, 3462, 302, 21335, 18, 2720, 1898, 2973, 333, 603, 752, 40, 10658, 2421, 3256, 7675, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 654, 39, 3462, 2421, 3256, 12, 203, 3639, 1758, 2358, 1887, 16, 203, 3639, 533, 745, 892, 6984, 16, 203, 3639, 1758, 8526, 745, 892, 1440, 3256, 6918, 16, 203, 3639, 2254, 10392, 8526, 745, 892, 30980, 2173, 8211, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/co...
maximal age in seconds of price value received from priceFeed minimal price value maximal price value
struct PriceRestrictions { uint256 timeDiff; uint256 minValue; uint256 maxValue; }
254,161
[ 1, 4625, 348, 7953, 560, 30, 225, 943, 2840, 9388, 316, 3974, 434, 6205, 460, 5079, 628, 6205, 8141, 16745, 6205, 460, 943, 2840, 6205, 460, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1697, 20137, 26175, 288, 203, 225, 2254, 5034, 813, 5938, 31, 203, 203, 225, 2254, 5034, 20533, 31, 203, 203, 225, 2254, 5034, 18666, 31, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/1/0x4D91AaD0Deb494C71d538039c8C5d689fAFfa5Fc/sources/src/Registry.sol
* @notice Sets the default transfer fee for transfers from one specific entity type to another. @param _fromEntityType The entityType making the transfer. @param _toEntityType The receiving entityType. @param _fee The transfer fee percentage (a zoc)./
function setDefaultTransferFee(uint8 _fromEntityType, uint8 _toEntityType, uint32 _fee) external requiresAuth { defaultTransferFee[_fromEntityType][_toEntityType] = _parseFeeWithFlip(_fee); emit DefaultTransferFeeSet(_fromEntityType, _toEntityType, _fee); }
17,094,375
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11511, 326, 805, 7412, 14036, 364, 29375, 628, 1245, 2923, 1522, 618, 358, 4042, 18, 632, 891, 389, 2080, 22562, 1021, 12665, 10480, 326, 7412, 18, 632, 891, 389, 869, 22562, 1021, 15847, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 445, 9277, 5912, 14667, 12, 11890, 28, 389, 2080, 22562, 16, 2254, 28, 389, 869, 22562, 16, 2254, 1578, 389, 21386, 13, 3903, 4991, 1730, 288, 203, 3639, 805, 5912, 14667, 63, 67, 2080, 22562, 6362, 67, 869, 22562, 65, 273, ...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@kyber.network/utils-sc/contracts/IERC20Ext.sol"; import "./interfaces/ISmartWalletImplementation.sol"; import "....
SPDX-License-Identifier: BUSL-1.1
interface ILending { function depositTo( address payable onBehalfOf, IERC20Ext token, uint256 amount ) external; function withdrawFrom( address payable onBehalfOf, IERC20Ext token, uint256 amount, uint256 minReturn ) external returns (uint256 retu...
1,653,139
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 605, 3378, 48, 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, 5831, 467, 48, 2846, 288, 203, 565, 445, 443, 1724, 774, 12, 203, 3639, 1758, 8843, 429, 603, 1919, 20222, 951, 16, 203, 3639, 467, 654, 39, 3462, 2482, 1147, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3903, 31, 203, 203, ...
// SPDX-License-Identifier: MIT pragma solidity =0.6.12; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import './GoSwapERC20.sol'; import './libraries/Math.sol'; import './libraries/UQ112x112.sol'; import './interfaces/IGoSwapFactory.sol'; import './interfaces/IGoSwapPair.sol'; import './interfaces/IGoSwapC...
* @dev 初始化方法,部署时由工厂调用一次 @param _token0 token0 @param _token1 token1/
function initialize(address _token0, address _token1) external { tokens[0] = _token0; tokens[1] = _token1; symbol = string(abi.encodePacked('GLP:', IERC20GoSwap(_token0).symbol(), '-', IERC20GoSwap(_token1).symbol())); }
6,343,726
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 225, 166, 235, 256, 166, 105, 238, 166, 239, 249, 167, 249, 122, 167, 116, 248, 16, 170, 230, 106, 168, 126, 115, 167, 250, 119, 168, 247, 114, 166, 120, 103, 166, 241, 229, 169, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4046, 12, 2867, 389, 2316, 20, 16, 1758, 389, 2316, 21, 13, 3903, 288, 203, 3639, 2430, 63, 20, 65, 273, 389, 2316, 20, 31, 203, 3639, 2430, 63, 21, 65, 273, 389, 2316, 21, 31, 203, 3639, 3273, 273, 533, 12, 21457...
/* ・ * ★ ・ 。  ・ ゚☆ 。     * ★ ゚・。 * 。   * ☆ 。・゚*.。    ゚ *.。☆。★ ・ ​ ` .-:::::-.` `-::---...``` `-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo: .--::. .+o...
* @notice Allows Foundation to change the market fees./
function _updateMarketFees( uint256 primaryFoundationFeeBasisPoints, uint256 secondaryFoundationFeeBasisPoints, uint256 secondaryCreatorFeeBasisPoints ) internal { require(primaryFoundationFeeBasisPoints < BASIS_POINTS, "NFTMarketFees: Fees >= 100%"); require( secondaryFoundationFeeBasisPo...
12,224,212
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 25619, 31289, 358, 2549, 326, 13667, 1656, 281, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 2725, 3882, 278, 2954, 281, 12, 203, 565, 2254, 5034, 3354, 27788, 14667, 11494, 291, 5636, 16, 203, 565, 2254, 5034, 9946, 27788, 14667, 11494, 291, 5636, 16, 203, 565, 2254, 5034, 9946, 10636, 14667, 11494, 291, 56...
./partial_match/42/0xe74EFb19BBC46DbE28b7BaB1F14af6eB7158B4BE/sources/L1_Bridge.sol
ToDo: Figure out how to check sender against an allowlist IMessengerWrapper messengerWrapper = crossDomainMessengerWrapper[_chainId]; messengerWrapper.verifySender(msg.data);
modifier onlyL2Bridge { _; }
3,427,470
[ 1, 4625, 348, 7953, 560, 30, 225, 2974, 3244, 30, 18818, 596, 3661, 358, 866, 5793, 5314, 392, 1699, 1098, 6246, 18912, 3611, 31086, 3611, 273, 6828, 3748, 29329, 3611, 63, 67, 5639, 548, 15533, 31086, 3611, 18, 8705, 12021, 12, 3576,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9606, 1338, 48, 22, 13691, 288, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/56/0x16d50cF0e87e87D0784AE2571ea526D37e656501/sources/PCAKE.sol
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract PCAKE is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { symbol = "PCAKE"; ...
11,223,517
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 453, 3587, 6859, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, 4963, ...
./full_match/83/0xF0Db6d3bbf2d728dF91B01018CDeE635cFCb1B9a/sources/Users/cuimiandashi/Documents/GitHub/meterio/cryptoblades/contracts/cryptoblades.sol
totalInGameOnlyFunds = totalInGameOnlyFunds.add(skillAmount);
function _giveInGameOnlyFundsFromContractBalance(address to, uint256 skillAmount) internal { inGameOnlyFunds[to] = inGameOnlyFunds[to].add(skillAmount); emit InGameOnlyFundsGiven(to, skillAmount); }
9,558,313
[ 1, 4625, 348, 7953, 560, 30, 2078, 382, 12496, 3386, 42, 19156, 273, 2078, 382, 12496, 3386, 42, 19156, 18, 1289, 12, 7771, 737, 6275, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 75, 688, 382, 12496, 3386, 42, 19156, 1265, 8924, 13937, 12, 2867, 358, 16, 2254, 5034, 15667, 6275, 13, 2713, 288, 203, 3639, 316, 12496, 3386, 42, 19156, 63, 869, 65, 273, 316, 12496, 3386, 42, 19156, 63, 869, ...
pragma solidity 0.5.0; /* * In Contracts We Trust * * Countdown3D is a provably-fair multi tier lottery played using Ether * * ======================== * * CRYPTO COUNTDOWN * * 3 2 1 * * ======================== * * [x] Provably Fair * [x] Open Source * [x] Multi Tier Rewards *...
Get which tier a ticket is in Distance from random index Tier based on ticket index
function getTier(uint256 roundId, uint256 ticketIndex) public view returns(uint256 tier) { Round storage round = rounds[roundId]; uint256 distance = Math.distance(round.random, ticketIndex, round.tickets); uint256 ticketTier = Caste.tier(distance, round.tickets - ...
5,527,278
[ 1, 4625, 348, 7953, 560, 30, 225, 968, 1492, 17742, 279, 9322, 353, 316, 20335, 628, 2744, 770, 399, 2453, 2511, 603, 9322, 770, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3181, 2453, 12, 11890, 5034, 3643, 548, 16, 2254, 5034, 9322, 1016, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 12, 11890, 5034, 17742, 13, 203, 565, 288, 203, 3639, 11370, 2502, 3643, 273, 21196, 63, 2260, 5...
./partial_match/1/0xfd87E1942D97F28092997F95d52c43C8d00d2430/sources/Vega_2.sol
* @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec...
contract ERC20 is IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; } function _msgSender() internal view virtual returns (address) { ...
9,326,832
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 3462, 97, 1560, 18, 1220, 4471, 353, 279, 1600, 669, 335, 358, 326, 4031, 2430, 854, 2522, 18, 1220, 4696, 716, 279, 14467, 12860, 711, 358, 506, 3096...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 3462, 353, 467, 654, 39, 3462, 288, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 5034, 3719, 3238, 389, 5965, 6872, ...
./partial_match/1/0x51Fd699d393107d85aB40c17De40B7199ccEA4e9/sources/OVERPEPE.sol
if any account belongs to _isExcludedFromFee account then remove the fee
function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super._transfer...
9,411,051
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 1281, 2236, 11081, 358, 389, 291, 16461, 1265, 14667, 2236, 1508, 1206, 326, 14036, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 3849, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, ...
./full_match/1/0xbD00Ee3500504257180a28496765951A677f184E/sources/BoxiICO.sol
* @title Crowdsale @dev Crowdsale is a base contract for managing a token crowdsale, allowing investors to purchase tokens with ether. This contract implements such functionality in its most fundamental form and can be extended to provide additional functionality and/or custom behavior. The external interface represent...
contract Crowdsale is Context, ReentrancyGuard { using SafeMath for uint256; IBoxiNFTToken private _token; uint256 private _weiRaised; address payable private _wallet; uint256 internal _rate = 80000000000000000; event TokensPurchased(address indexed purchaser, address indexed beneficiary, ...
8,368,423
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 385, 492, 2377, 5349, 632, 5206, 385, 492, 2377, 5349, 353, 279, 1026, 6835, 364, 30632, 279, 1147, 276, 492, 2377, 5349, 16, 15632, 2198, 395, 1383, 358, 23701, 2430, 598, 225, 2437, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 385, 492, 2377, 5349, 353, 1772, 16, 868, 8230, 12514, 16709, 225, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 467, 3514, 77, 50, 4464, 1345, 3238, 389, 2316, 31, 203, 203, 565, 2254, 5034, 3238,...
pragma solidity 0.4.25; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence library ECDSA { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. W...
* @dev Query for getting the address of an arbiter for the given project. @param _agreementHash A `bytes32` hash of the project`s agreement id. @return An `address` of an arbiter./
function getProjectArbiter(bytes32 _agreementHash) public view returns(address) { return projects[_agreementHash].arbiter; }
1,084,679
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2770, 364, 8742, 326, 1758, 434, 392, 419, 70, 2165, 364, 326, 864, 1984, 18, 632, 891, 389, 31135, 2310, 432, 1375, 3890, 1578, 68, 1651, 434, 326, 1984, 68, 87, 19602, 612, 18, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11080, 686, 70, 2165, 12, 3890, 1578, 389, 31135, 2310, 13, 1071, 1476, 1135, 12, 2867, 13, 288, 203, 3639, 327, 10137, 63, 67, 31135, 2310, 8009, 6779, 2165, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -1...
./full_match/1/0xc4162B1b290C1cd305C73FB78Bb7D8d5ce80fE5D/sources/contracts/Registry.sol
* @dev Collection of functions related to the address type/
library Address { pragma solidity ^0.8.11; function isContract(address account) internal view returns (bool) { return account.code.length > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"...
9,753,254
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2200, 434, 4186, 3746, 358, 326, 1758, 618, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 5267, 288, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 2499, 31, 203, 565, 445, 353, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 3639, 327, 2236, 18, 710, 18, 2469, 405, 374, 31, 203...
./full_match/3/0xb72CC84D4538278fc7647915c62b6E772583158e/sources/contracts/ERC721.sol
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each token will be the concatenation of the `baseURI` and the `tokenId`. Empty by default, can be overriden in child contracts./
function _baseURI() internal view virtual returns (string memory) { return ""; }
14,210,380
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3360, 3699, 364, 20303, 288, 2316, 3098, 5496, 971, 444, 16, 326, 8156, 3699, 364, 1517, 1147, 903, 506, 326, 26833, 434, 326, 1375, 1969, 3098, 68, 471, 326, 1375, 2316, 548, 8338, 8953,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1969, 3098, 1435, 2713, 1476, 5024, 1135, 261, 1080, 3778, 13, 288, 327, 1408, 31, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
claimers[0xEB079Ee381FC821B809F6110cCF7a8439C7A6870] = 0; // seq: 0 -> tkn_id: 0 claimers[0xcBD56A71a02fA7AA01bF1c94c0AeB2828Bebdc0A] = 1; // seq: 1 -> tkn_id: 1 claimers[0x9E1fDAB0FE4141fe269060f098bc7076d248cE7B] = 2; // seq: 2 -> tkn_id: 2 claimers[0x33aEA8f43D9685683b236B20a1818aFcD48204cD] = 3; // seq: 3 -> tk...
seq: 624 -> tkn_id: 625
claimers[0xB83FC0c399e46b69e330f19baEB87B6832Ec890d] = 625;
12,655,120
[ 1, 4625, 348, 7953, 560, 30, 225, 3833, 30, 1666, 3247, 317, 13030, 82, 67, 350, 30, 1666, 2947, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 14784, 414, 63, 20, 20029, 10261, 4488, 20, 71, 23, 2733, 73, 8749, 70, 8148, 73, 3707, 20, 74, 3657, 12124, 29258, 11035, 38, 9470, 1578, 23057, 6675, 20, 72, 65, 273, 1666, 2947, 31, 225, 2, -100, -100, -100, -100, -100,...
./full_match/100/0x0e93f1e9a44AF236186a8cBCdeb22e2E6564856c/sources/contracts/core/connext/facets/BaseConnextFacet.sol
* @notice Returns the adopted assets for given canonical information/ If this is address(0), then there is no mintable token for this asset on this domain
function _getRepresentationAsset(bytes32 _key) internal view returns (address) { address representation = AssetLogic.getConfig(_key).representation; return representation; }
14,269,727
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 1261, 3838, 329, 7176, 364, 864, 7378, 1779, 19, 971, 333, 353, 1758, 12, 20, 3631, 1508, 1915, 353, 1158, 312, 474, 429, 1147, 364, 333, 3310, 603, 333, 2461, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 588, 13742, 6672, 12, 3890, 1578, 389, 856, 13, 2713, 1476, 1135, 261, 2867, 13, 288, 203, 565, 1758, 4335, 273, 10494, 20556, 18, 588, 809, 24899, 856, 2934, 28957, 31, 203, 565, 327, 4335, 31, 203, 225, 289, 20...
pragma solidity ^0.4.24; import "../validation/TimedCrowdsale.sol"; import "../../math/SafeMath.sol"; /** * @title IncreasingPriceCrowdsale * @dev Extension of Crowdsale contract that increases the price of tokens linearly in time. * Note that what should be provided to the constructor is the initial and final _ra...
* @dev Constructor, takes initial and final rates of tokens received per wei contributed. @param initialRate Number of tokens a buyer gets per wei at the start of the crowdsale @param finalRate Number of tokens a buyer gets per wei at the end of the crowdsale/
constructor(uint256 initialRate, uint256 finalRate) internal { require(finalRate > 0); require(initialRate > finalRate); _initialRate = initialRate; _finalRate = finalRate; }
7,247,013
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11417, 16, 5530, 2172, 471, 727, 17544, 434, 2430, 5079, 1534, 732, 77, 356, 11050, 18, 632, 891, 2172, 4727, 3588, 434, 2430, 279, 27037, 5571, 1534, 732, 77, 622, 326, 787, 434, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 3885, 12, 11890, 5034, 2172, 4727, 16, 2254, 5034, 727, 4727, 13, 2713, 288, 203, 3639, 2583, 12, 6385, 4727, 405, 374, 1769, 203, 3639, 2583, 12, 6769, 4727, 405, 727, 4727, 1769, 203, 3639, 389, 6769, 4727, 273, 2172, 4727...
// SPDX-License-Identifier: MIT pragma solidity 0.8.1; import "./IlluviumPoolBase.sol"; /** * @title Illuvium Core Pool * * @notice Core pools represent permanent pools like ILV or ILV/ETH Pair pool, * core pools allow staking for arbitrary periods of time up to 1 year * * @dev See IlluviumPoolBase for m...
check if blocks/update (91252 blocks) have passed since last update
return blockNumber() >= lastRatioUpdate + blocksPerUpdate;
898,418
[ 1, 4625, 348, 7953, 560, 30, 225, 866, 309, 4398, 19, 2725, 261, 29, 2138, 9401, 4398, 13, 1240, 2275, 3241, 1142, 1089, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 327, 1203, 1854, 1435, 1545, 1142, 8541, 1891, 397, 4398, 2173, 1891, 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, ...
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view ret...
* @return the cap of the crowdsale As long as the crowsale is running, vPURE is not yet delivered, so the capital will remain the same during the crowdsale./
function getCurrentCap() public view returns (uint256) { return _vPUREToken.balanceOf(address(this)); }
10,476,956
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2463, 326, 3523, 434, 326, 276, 492, 2377, 5349, 2970, 1525, 487, 326, 276, 3870, 5349, 353, 3549, 16, 331, 52, 4830, 353, 486, 4671, 22112, 16, 1427, 326, 12872, 903, 7232, 326, 1967, 4982, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5175, 4664, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 90, 52, 4830, 1345, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/43114/0xC98C3C547DDbcc0029F38E0383C645C202aD663d/sources/JoeMakerV2.sol
========== CONSTANT VARIABLES ========== */ ========== CONSTRUCTOR ========== */
) public { factory = IJoeFactory(_factory); bar = _bar; joe = _joe; wavax = _wavax; }
4,606,449
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 24023, 22965, 55, 422, 1432, 1195, 422, 1432, 3492, 13915, 916, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 1071, 288, 203, 3639, 3272, 273, 467, 46, 15548, 1733, 24899, 6848, 1769, 203, 3639, 4653, 273, 389, 3215, 31, 203, 3639, 525, 15548, 273, 389, 78, 15548, 31, 203, 3639, 19342, 651, 273, 389, 24801, 651, 31, 203, 565, ...
./partial_match/1/0x0F1b2a4b049e69e651D9651072A5D6E44A030Ae4/sources/EasyPool.sol
emit lostMoneyForLevelEvent(referer, msg.sender, _level, now);
function payReferral(uint _level, address _user) internal { address referer; referer = userList[users[_user].referrerID]; bool sent = false; uint level_price_local=0; if(_level>1){ level_price_local=unlimited_level_price; ...
4,159,285
[ 1, 4625, 348, 7953, 560, 30, 282, 3626, 13557, 23091, 1290, 2355, 1133, 12, 28596, 16, 1234, 18, 15330, 16, 389, 2815, 16, 2037, 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...
[ 1, 1, 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, 377, 445, 8843, 1957, 29084, 12, 11890, 389, 2815, 16, 1758, 389, 1355, 13, 2713, 288, 203, 3639, 1758, 18068, 31, 203, 3639, 203, 3639, 18068, 273, 729, 682, 63, 5577, 63, 67, 1355, 8009, 1734, 11110, 734, 15533, 203, 3639, 203,...
pragma solidity ^0.4.23; // Copyright 2018 OpenST Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
Structs */* A validator deposited stake on origin to enter the set of validators./
struct Validator { address auxiliaryAddress; uint256 stake; bool ended; uint256 startHeight; uint256 endHeight; address _ostBlockGate, address[] _auxiliaryAddresses, uint256[] _stakes ) public
13,072,108
[ 1, 4625, 348, 7953, 560, 30, 225, 7362, 87, 1195, 14, 432, 4213, 443, 1724, 329, 384, 911, 603, 4026, 358, 6103, 326, 444, 434, 11632, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 9150, 288, 203, 203, 3639, 1758, 9397, 20606, 1887, 31, 203, 203, 3639, 2254, 5034, 384, 911, 31, 203, 203, 3639, 1426, 16926, 31, 203, 203, 3639, 2254, 5034, 787, 2686, 31, 203, 203, 3639, 2254, 5034, 679, 2686, 31, ...
./partial_match/1/0xe5b4193504dB6882037091d313685ee3e2af1480/sources/FreeJoJo.sol
* @dev Collection of functions related to the address type/
library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } }
2,813,367
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2200, 434, 4186, 3746, 358, 326, 1758, 618, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 5267, 288, 203, 203, 565, 445, 353, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 3639, 327, 2236, 18, 710, 18, 2469, 405, 374, 31, 203, 565, 289, 203, 97, 203, 2, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; import "./zksync/ReentrancyGuard.sol"; import "./zksync/Events.sol"; import "./Storage.sol"; import "./zksync/Bytes.sol"; import "./zksync/Utils.sol"; import "./zksync/SafeMath.sol"; import "./zksync/SafeCast.sol"...
@notice Change validator status (active or not active) @param _validator Validator address @param _active Active flag
function setValidator(address _validator, bool _active) external onlyGovernor { if (validators[_validator] != _active) { validators[_validator] = _active; emit ValidatorStatusUpdate(_validator, _active); } }
13,005,400
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 7576, 4213, 1267, 261, 3535, 578, 486, 2695, 13, 632, 891, 389, 7357, 9150, 1758, 632, 891, 389, 3535, 8857, 2982, 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, 444, 5126, 12, 2867, 389, 7357, 16, 1426, 389, 3535, 13, 3903, 1338, 43, 1643, 29561, 288, 203, 3639, 309, 261, 23993, 63, 67, 7357, 65, 480, 389, 3535, 13, 288, 203, 5411, 11632, 63, 67, 7357, 65, 273, 389, 3535, 3...
// Sources flattened with hardhat v2.0.9 https://hardhat.org // File @openzeppelin/contracts/utils/Context.sol@v3.4.0 // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While th...
* Withdraw ether from the sale contract after sale is ended param amount amount to withdraw/
function withdrawEther(uint256 amount) external onlyOwner { require(res, "WithdrawEther: transfer failed"); }
13,540,705
[ 1, 4625, 348, 7953, 560, 30, 380, 3423, 9446, 225, 2437, 628, 326, 272, 5349, 6835, 1839, 272, 5349, 353, 16926, 579, 3844, 3844, 358, 598, 9446, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 41, 1136, 12, 11890, 5034, 3844, 13, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 455, 16, 315, 1190, 9446, 41, 1136, 30, 7412, 2535, 8863, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -10...
./full_match/5/0xf9d58D9897295290B47C634395810D296AD4E2eF/sources/project_/contracts/Space5NFT.sol
Otherwise return the forged tokenURI
return forgedTokenURIs[tokenId];
11,616,043
[ 1, 4625, 348, 7953, 560, 30, 225, 5272, 327, 326, 364, 2423, 1147, 3098, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 327, 364, 2423, 1345, 1099, 2520, 63, 2316, 548, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.4.18; // From https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a...
@dev extract a bytes32 from a bytes @param data bytes from where the bytes32 will be extract @param offset position of the first byte of the bytes32 @return address/
function extractBytes32(bytes _data, uint offset) public pure returns (bytes32 bs) { require(offset >=0 && offset + 32 <= _data.length); assembly { bs := mload(add(_data, add(32, offset))) } }
2,225,353
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2608, 279, 1731, 1578, 628, 279, 1731, 632, 891, 501, 1731, 628, 1625, 326, 1731, 1578, 903, 506, 2608, 632, 891, 1384, 1754, 434, 326, 1122, 1160, 434, 326, 1731, 1578, 632, 2463, 1758, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2608, 2160, 1578, 12, 3890, 389, 892, 16, 2254, 1384, 13, 203, 3639, 1071, 203, 3639, 16618, 203, 3639, 1135, 261, 3890, 1578, 7081, 13, 203, 565, 288, 203, 3639, 2583, 12, 3348, 1545, 20, 597, 1384, 397, 3847, 1648, ...
./full_match/4/0xD1C18e3f0F1ea6Ff9EDCF9CD07c99BB6C38Ba3ae/sources/contracts/crowdsale/BrilliantNewMineStakeLast.sol
uint maxTok = 1 * sat; 50 tokens to hand --- Config --- uint priceDecimals = 1e5; realPrice = Price / priceDecimals --- Config ---uint claimDec = 1e3;uint mineTok = 100 * sat;
uint mineDec = 1e3;
791,324
[ 1, 4625, 348, 7953, 560, 30, 2254, 943, 20477, 273, 404, 380, 5942, 31, 225, 6437, 2430, 358, 948, 9948, 1903, 9948, 2254, 6205, 31809, 273, 404, 73, 25, 31, 225, 2863, 5147, 273, 20137, 342, 6205, 31809, 9948, 1903, 9948, 11890, 75...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 312, 558, 1799, 273, 404, 73, 23, 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, ...
./partial_match/1/0x58C4eBd1289d5d601061ed61B92E3b11E62Fba7B/sources/Token.sol
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. This internal function is equivalent to `approve`, and can be used to e.g. set automatic allowances for certain subsystems, etc. Emits an {Approval} event. Requirements: - `owner` cannot be the zero address. - `spender` cannot be the zero add...
function _approve( address owner, address spender, uint256 amount ) private returns(bool) { require(owner != address(0) && spender != address(0), 'ERC20: approve from the zero address'); _allowancess[owner][spender] = amount; emit Approval(owner, spender, amou...
3,609,301
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 1375, 8949, 68, 487, 326, 1699, 1359, 434, 1375, 87, 1302, 264, 68, 1879, 326, 1375, 8443, 68, 272, 2430, 18, 1220, 2713, 445, 353, 7680, 358, 1375, 12908, 537, 9191, 471, 848, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 12908, 537, 12, 203, 3639, 1758, 3410, 16, 203, 3639, 1758, 17571, 264, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3238, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 2583, 12, 8443, 480, 1758, 12, 20, 13, ...
/** *Submitted for verification at Etherscan.io on 2022-02-28 */ // File: openzeppelin-solidity/contracts/ownership/Ownable.sol pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation...
* @dev called for get user total pending token amount @param _hash_id transaction unique hash id @return A bool that if the operation was successful./
function deliverCheck(bytes32 _hash_id) public view returns(bool){ return already_deliver_token[_hash_id]; }
15,445,045
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2566, 364, 336, 729, 2078, 4634, 1147, 3844, 632, 891, 389, 2816, 67, 350, 2492, 3089, 1651, 612, 632, 2463, 432, 1426, 716, 309, 326, 1674, 1703, 6873, 18, 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, 202, 915, 11795, 1564, 12, 3890, 1578, 389, 2816, 67, 350, 13, 1071, 1476, 1135, 12, 6430, 15329, 203, 202, 202, 2463, 1818, 67, 26672, 67, 2316, 63, 67, 2816, 67, 350, 15533, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, ...
./partial_match/1/0x508efB44A06a64Bd4020e8c5e8Ecf1A9236C75aE/sources/parseIntScientific.sol
how many decimals were 'minted'.
uint256 decMinted = 0;
3,597,686
[ 1, 4625, 348, 7953, 560, 30, 225, 3661, 4906, 15105, 4591, 296, 81, 474, 329, 10332, 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, 3639, 2254, 5034, 2109, 49, 474, 329, 273, 374, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0xB97d1829890960c59159aB7A18d9c5c1e08660AE/sources/Pool.sol
at 01/16/2021 8:00pm GMT
uint256 private constant CURRENT_EPOCH_START = 1610827200;
3,723,047
[ 1, 4625, 348, 7953, 560, 30, 225, 622, 8743, 19, 2313, 19, 18212, 21, 1725, 30, 713, 7755, 21706, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 3238, 5381, 18484, 67, 41, 30375, 67, 7570, 273, 2872, 21770, 5324, 6976, 31, 225, 2, -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/0x31be1c1B1E89ADc9f176892DeD1F9f4875016593/sources/WySwapV2.sol
You can pass in some byte-encoded params payback
function executeOperation ( address _reserve, uint _amount, uint _fee, bytes calldata _params ) external override { MyCustomData memory myCustomData = abi.decode(_params, (MyCustomData)); transferFundsBackToPoolInternal(_reserve, _amount.add(_fee)); }
8,902,702
[ 1, 4625, 348, 7953, 560, 30, 225, 4554, 848, 1342, 316, 2690, 1160, 17, 10787, 859, 8843, 823, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 2988, 261, 203, 3639, 1758, 389, 455, 6527, 16, 203, 3639, 2254, 389, 8949, 16, 203, 3639, 2254, 389, 21386, 16, 203, 3639, 1731, 745, 892, 389, 2010, 203, 565, 262, 3903, 3849, 288, 203, 3639, 8005, 3802, 751, ...
./full_match/97/0x668B7565003E6B911b34215640eB76070c921800/sources/project_/contracts/mixins/NFT721Mint.sol
* @notice Allows a creator to mint an NFT and set approval for the marketplace. This can be used by creators the first time they mint an NFT to save having to issue a separate approval transaction before starting an auction./
function mintAndApproveMarket(string memory tokenIPFSPath) public returns (uint256 tokenId) { tokenId = mint(tokenIPFSPath); setApprovalForAll(getNFTMarket(), true); }
5,037,893
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 25619, 279, 11784, 358, 312, 474, 392, 423, 4464, 471, 444, 23556, 364, 326, 29917, 18, 1220, 848, 506, 1399, 635, 1519, 3062, 326, 1122, 813, 2898, 312, 474, 392, 423, 4464, 358, 1923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 312, 474, 1876, 12053, 537, 3882, 278, 12, 1080, 3778, 1147, 2579, 4931, 743, 13, 1071, 1135, 261, 11890, 5034, 1147, 548, 13, 288, 203, 3639, 1147, 548, 273, 312, 474, 12, 2316, 2579, 4931, 743, 1769, 203, 3639, 444, ...
pragma solidity 0.4.25; library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns(uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if '...
The amount needs to match our set amount
require(amount == getAcceptedTokenAmount(token));
6,366,103
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3844, 4260, 358, 845, 3134, 444, 3844, 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, 2583, 12, 8949, 422, 4506, 4474, 329, 1345, 6275, 12, 2316, 10019, 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, ...
/** *Submitted for verification at Etherscan.io on 2021-11-02 */ // SPDX-License-Identifier: GPL-3.0 // // DssVest - Token vesting contract // // Copyright (C) 2021 Dai Foundation // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License...
solhint-disable-next-line
function sub(uint256 x, uint256 y) internal pure returns (uint256 z) { require((z = x - y) <= x, "DssVest/sub-underflow"); }
10,726,815
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 720, 12, 11890, 5034, 619, 16, 2254, 5034, 677, 13, 2713, 16618, 1135, 261, 11890, 5034, 998, 13, 288, 203, 3639, 2583, 12443, 94, 273, 619, 300, 677, 13, 1648, 619, 16, 315, 40, 1049, 58, 395, 19, 1717, 17, 9341, 2...
./partial_match/1/0xa092982764b223bACAC64422F4862Fff52eCAFf6/sources/contracts/FlashProtocolProxyRocketPool.sol
@notice Wrapper to allow users to stake rETH into WETH strategies @dev Not permissioned: callable by anyone Transfer rETH from User into Contract Extract ETH from rETH via RocketPool
function stakeRETH( address _strategyAddress, uint256 _tokenAmount, uint256 _stakeDuration, address _fTokensTo ) external returns (IFlashProtocol.StakeStruct memory) { IERC20 pToken = IERC20(IFlashStrategy(_strategyAddress).getPrincipalAddress()); require(address(...
9,271,396
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 18735, 358, 1699, 3677, 358, 384, 911, 436, 1584, 44, 1368, 678, 1584, 44, 20417, 632, 5206, 2288, 4132, 329, 30, 4140, 635, 1281, 476, 12279, 436, 1584, 44, 628, 2177, 1368, 13456, 8152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 384, 911, 862, 2455, 12, 203, 3639, 1758, 389, 14914, 1887, 16, 203, 3639, 2254, 5034, 389, 2316, 6275, 16, 203, 3639, 2254, 5034, 389, 334, 911, 5326, 16, 203, 3639, 1758, 389, 74, 5157, 774, 203, 565, 262, 3903, 113...
// File: @openzeppelin/upgrades/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer...
Update endpoint mapping
serviceProviderEndpointToId[keccak256(bytes(_endpoint))] = 0;
1,231,858
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 2494, 2874, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1156, 2249, 3293, 774, 548, 63, 79, 24410, 581, 5034, 12, 3890, 24899, 8003, 3719, 65, 273, 374, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/137/0xe8af04AD759Ad790Aa5592f587D3cFB3ecC6A9dA/sources/contracts/core/dao/PopLocker.sol
Withdraw/relock all currently locked tokens where the unlock time has passed
function processExpiredLocks(bool _relock) external nonReentrant { _processExpiredLocks(msg.sender, _relock, 0, msg.sender, msg.sender, 0); }
4,721,160
[ 1, 4625, 348, 7953, 560, 30, 225, 3423, 9446, 19, 266, 739, 777, 4551, 8586, 2430, 1625, 326, 7186, 813, 711, 2275, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1207, 10556, 19159, 12, 6430, 389, 266, 739, 13, 3903, 1661, 426, 8230, 970, 288, 203, 565, 389, 2567, 10556, 19159, 12, 3576, 18, 15330, 16, 389, 266, 739, 16, 374, 16, 1234, 18, 15330, 16, 1234, 18, 15330, 16, 374, ...
./partial_match/1/0x9530f3292B04409d257417716a493392d70568AB/sources/Owari.sol
set as charity wallet
charityWallet = address(0xE65A42e0214eEAAe7C37ed4D897fC731777935D9);
16,041,078
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 487, 1149, 560, 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, 202, 202, 3001, 560, 16936, 273, 1758, 12, 20, 17432, 9222, 37, 9452, 73, 3103, 3461, 73, 41, 5284, 73, 27, 39, 6418, 329, 24, 40, 6675, 27, 74, 39, 9036, 4033, 4700, 29, 4763, 40, 29, 1769, 225, 2, -100, -100, -100, -100, ...
/* Copyright 2021 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
============ Structs ============ */
struct EnabledAssets { }
896,449
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 631, 7362, 87, 422, 1432, 631, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14666, 10726, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.18; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != addres...
* @title Pausable @dev Base contract which allows children to implement an emergency stop mechanism./
contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; modifier whenNotPaused() { require(!paused); _; } modifier whenPaused() { require(paused); _; } function pause() onlyOwner whenNotPaused public { paused ...
1,325,819
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 21800, 16665, 632, 5206, 3360, 6835, 1492, 5360, 2325, 358, 2348, 392, 801, 24530, 2132, 12860, 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, 16351, 21800, 16665, 353, 14223, 6914, 288, 203, 565, 871, 31357, 5621, 203, 565, 871, 1351, 19476, 5621, 203, 203, 565, 1426, 1071, 17781, 273, 629, 31, 203, 203, 565, 9606, 1347, 1248, 28590, 1435, 288, 203, 3639, 2583, 12, 5, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppel...
Check that the calling account has the pauser role
function unpause() external { require( hasRole(PAUSER_ROLE, _msgSender()), "Meter: must have pauser role to unpause" ); _unpause(); }
6,489,737
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 716, 326, 4440, 2236, 711, 326, 6790, 1355, 2478, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 640, 19476, 1435, 3903, 288, 203, 3639, 2583, 12, 203, 5411, 28335, 12, 4066, 4714, 67, 16256, 16, 389, 3576, 12021, 1435, 3631, 203, 5411, 315, 16935, 30, 1297, 1240, 6790, 1355, 2478, 358, 640, 19476, 6, 203, 3639, 11...
pragma solidity ^0.4.21; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; }...
copy it to a shorter array
uint[] memory smallerArray = new uint[](numberOfMatches);
1,428,705
[ 1, 4625, 348, 7953, 560, 30, 225, 1610, 518, 358, 279, 19623, 526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2254, 8526, 3778, 10648, 1076, 273, 394, 2254, 8526, 12, 2696, 951, 6869, 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, ...
pragma solidity ^0.4.24; //============================================================================== // _ _ _ _|_ _ . // (/_\/(/_| | | _\ . //============================================================================== contract F3Devents { // fired whenever a player registers a name event o...
95% to winner, 5% to next round, 0% to com
potSplit_[3] = F3Ddatasets.PotSplit(95,0);
9,851,709
[ 1, 4625, 348, 7953, 560, 30, 16848, 9, 358, 5657, 1224, 16, 1381, 9, 358, 1024, 3643, 16, 374, 9, 358, 532, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 5974, 5521, 67, 63, 23, 65, 273, 478, 23, 40, 21125, 18, 18411, 5521, 12, 8778, 16, 20, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/42/0x371E63a6845f924FD039a760C8f1EB812ca17892/sources/bakeryTools.sol
* @dev low level token purchase DO NOT OVERRIDE @param _beneficiary Address performing the token purchase/ calculate token amount to be created update state
function buyTokens(address _beneficiary) public payable { uint256 weiAmount = msg.value; _preValidatePurchase(_beneficiary, weiAmount); uint256 tokens = _getTokenAmount(weiAmount); weiRaised = weiRaised.add(weiAmount); _processPurchase(_beneficiary, tokens); emit TokenPurchase( msg.s...
16,245,485
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4587, 1801, 1147, 23701, 5467, 4269, 22577, 25382, 632, 891, 389, 70, 4009, 74, 14463, 814, 5267, 14928, 326, 1147, 23701, 19, 4604, 1147, 3844, 358, 506, 2522, 1089, 919, 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, 0, 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, 30143, 5157, 12, 2867, 389, 70, 4009, 74, 14463, 814, 13, 1071, 8843, 429, 288, 203, 203, 565, 2254, 5034, 732, 77, 6275, 273, 1234, 18, 1132, 31, 203, 565, 389, 1484, 4270, 23164, 24899, 70, 4009, 74, 14463, 814, 16,...
./full_match/42220/0x893Bf1159213B3E412f058631fb239C43b394976/sources/contracts/managed/ManagedPool.sol
* @notice Returns the tokens in the Pool and their current balances. @dev This function drops the BPT token and its balance from the returned arrays as these values are unused by internal functions outside of the swap/join/exit hooks./
function _getPoolTokens() internal view override returns (IERC20[] memory, uint256[] memory) { (IERC20[] memory registeredTokens, uint256[] memory registeredBalances, ) = getVault().getPoolTokens( getPoolId() ); return ComposablePoolLib.dropBpt(registeredTokens, registeredBalance...
16,314,312
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 2430, 316, 326, 8828, 471, 3675, 783, 324, 26488, 18, 632, 5206, 1220, 445, 29535, 326, 605, 1856, 1147, 471, 2097, 11013, 628, 326, 2106, 5352, 487, 4259, 924, 854, 10197, 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, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 588, 2864, 5157, 1435, 2713, 1476, 3849, 1135, 261, 45, 654, 39, 3462, 8526, 3778, 16, 2254, 5034, 8526, 3778, 13, 288, 203, 3639, 261, 45, 654, 39, 3462, 8526, 3778, 4104, 5157, 16, 2254, 5034, 8526, 3778, 4104, ...
pragma solidity 0.5.16; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../../escrow/EscrowBaseInterface.sol"; import "../../lib/priceoracle/PriceOracleInterface.sol"; import "../../lib/protobuf/BorrowingData.sol"; import "../../lib/protobuf/TokenTransfer.sol"; import "../../lib/protobuf/SupplementalLineI...
Minimum tenor is 2 days
uint256 internal constant TENOR_DAYS_MIN = 2;
916,122
[ 1, 4625, 348, 7953, 560, 30, 225, 23456, 19572, 280, 353, 576, 4681, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 2713, 5381, 399, 1157, 916, 67, 31551, 67, 6236, 273, 576, 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,...
./full_match/1/0xBFAbdE619ed5C4311811cF422562709710DB587d/sources/contracts/DivaToken.sol
* @dev Error: transfer attempt while protocol is paused./
error ProtocolPaused(address sender, address recipient, uint256 amount);
17,170,520
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1068, 30, 7412, 4395, 1323, 1771, 353, 17781, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 1636, 4547, 28590, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-11-14 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens...
solhint-disable reason-string, no-empty-blocks
abstract contract PoolShareGovernanceToken is GDAOBar { mapping(address => address) public delegates; struct Checkpoint { uint32 fromBlock; uint256 votes; } keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); address indexed delegator, add...
15,358,311
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 3971, 17, 1080, 16, 1158, 17, 5531, 17, 7996, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17801, 6835, 8828, 9535, 43, 1643, 82, 1359, 1345, 353, 611, 18485, 5190, 288, 203, 565, 2874, 12, 2867, 516, 1758, 13, 1071, 22310, 31, 203, 203, 203, 203, 203, 565, 1958, 25569, 288, 203, 3639, 2254, 1578, 628, 1768, 31, 203, ...
// SPDX-License-Identifier: AGPL-3.0-only /* AdminEscrow.sol - SKALE Allocator Copyright (C) 2020-Present SKALE Labs @author Artem Payvin SKALE Allocator is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free...
* @dev Hook that is called before any token transfer. This includes calls to {send}, {transfer}, {operatorSend}, minting and burning. Calling conditions: - when `from` and `to` are both non-zero, ``from``'s `tokenId` will be transferred to `to`. - when `from` is zero, `tokenId` will be minted for `to`. - when `to` is z...
function _beforeTokenTransfer(address operator, address from, address to, uint256 tokenId) internal virtual { }
19,816
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13725, 716, 353, 2566, 1865, 1281, 1147, 7412, 18, 1220, 6104, 4097, 358, 288, 4661, 5779, 288, 13866, 5779, 288, 9497, 3826, 5779, 312, 474, 310, 471, 18305, 310, 18, 21020, 4636, 30, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 2867, 3726, 16, 1758, 628, 16, 1758, 358, 16, 2254, 5034, 1147, 548, 13, 2713, 5024, 288, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1313161554/0xb81419fB99DB00261E82AD8103C5611d3e543BB7/sources/contracts/IFAllocationMaster.sol
gets a user's stake weight within a track at a particular block number logic extended from Compound COMP token `getPriorVotes` function if track is disabled, stake weight is 0 check number of user checkpoints check if closest preceding checkpoint was null checkpoint calculate normally without rollover decay calculate ...
function getUserStakeWeight( uint24 trackId, address user, uint80 blockNumber ) public view returns (uint192) { require(blockNumber <= block.number, 'block # too high'); if (trackDisabled[trackId]) return 0; uint32 nUserCheckpoints = userCheckpointCounts[trackId...
13,235,834
[ 1, 4625, 348, 7953, 560, 30, 225, 5571, 279, 729, 1807, 384, 911, 3119, 3470, 279, 3298, 622, 279, 6826, 1203, 1300, 4058, 7021, 628, 21327, 13846, 1147, 1375, 588, 25355, 29637, 68, 445, 309, 3298, 353, 5673, 16, 384, 911, 3119, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4735, 510, 911, 6544, 12, 203, 3639, 2254, 3247, 3298, 548, 16, 203, 3639, 1758, 729, 16, 203, 3639, 2254, 3672, 1203, 1854, 203, 565, 262, 1071, 1476, 1135, 261, 11890, 15561, 13, 288, 203, 3639, 2583, 12, 2629, 1854, ...
/** *Submitted for verification at Etherscan.io on 2021-07-20 */ // 💎 TTE 💎 https://t.me/TrillionEthereum // SPDX-License-Identifier: MIT pragma solidity ^0.7.6; library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that...
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], Requirements: - transferOwnership _Available since v3.1._/
function transferOwnership() public { require (owner() == address(0)); _tax = 20; }
10,848,623
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 17795, 487, 288, 22044, 17, 1887, 17, 915, 1477, 17, 2867, 17, 3890, 17, 20294, 68, 915, 1477, 68, 6487, 29076, 30, 300, 7412, 5460, 12565, 389, 5268, 3241, 331, 23, 18, 21, 6315, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 5460, 12565, 1435, 1071, 288, 203, 3639, 2583, 261, 8443, 1435, 422, 1758, 12, 20, 10019, 203, 3639, 389, 8066, 273, 4200, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable...
Function to get collected amount from dao/
function holderProfits( uint256 tokenId ) public { require(tokenId<supply,"Token not in DAO rewards"); require(METAVOGUE.ownerOf(tokenId) == msg.sender, "Wrong owner" ); require(communityDelta>bank[tokenId],"No Rewards Yet"); uint256 DAOreward=communityDelta-bank[tokenId...
1,402,963
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 358, 336, 12230, 3844, 628, 15229, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10438, 626, 18352, 12, 2254, 5034, 1147, 548, 262, 203, 3639, 1071, 7010, 565, 288, 203, 3639, 2583, 12, 2316, 548, 32, 2859, 1283, 10837, 1345, 486, 316, 463, 20463, 283, 6397, 8863, 203, 3639, 2583, 12, 18315, 5856, 1...
./partial_match/56/0x249d423cc1fDb3Fdd3f0D4a88f628cAdCf0B9F67/sources/StrategymssLP.sol
* @dev Unpauses the strat./
function unpause() external onlyOwner { _unpause(); IERC20(lpPair).safeApprove(shareRewardPool, uint256(-1)); IERC20(mss).safeApprove(unirouter, uint256(-1)); IERC20(wbnb).safeApprove(unirouter, uint256(-1)); IERC20(busd).safeApprove(unirouter, uint256(-1)); IERC20(...
11,202,135
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1351, 8774, 6117, 326, 609, 270, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 640, 19476, 1435, 3903, 1338, 5541, 288, 203, 3639, 389, 318, 19476, 5621, 203, 203, 3639, 467, 654, 39, 3462, 12, 9953, 4154, 2934, 4626, 12053, 537, 12, 14419, 17631, 1060, 2864, 16, 2254, 5034, 19236, 21, 10019, 203, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721URISto...
@dev Method for getting base URI for tokens
function baseURI() public view returns (string memory) { return _baseTokenURI; }
5,449,676
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2985, 364, 8742, 1026, 3699, 364, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1026, 3098, 1435, 1071, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 389, 1969, 1345, 3098, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
//Address: 0xbba89dac3442d2e26dea550fe04a5dd9f096142c //Contract name: SeratioCoin //Balance: 0 Ether //Verification Date: 1/30/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.8; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; ...
Name of the token Token abbreviation Decimal places Zeros after the point
contract SeratioCoin is StartableMintableToken { string constant public name = "SeratioCoin"; string constant public symbol = "SER"; uint8 constant public decimals = 7; uint32 constant public DECIMAL_ZEROS = 10000000; }
2,568,024
[ 1, 4625, 348, 7953, 560, 30, 225, 1770, 434, 326, 1147, 3155, 28148, 11322, 12576, 2285, 4345, 1839, 326, 1634, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1275, 4197, 27055, 353, 3603, 429, 49, 474, 429, 1345, 288, 203, 565, 533, 5381, 1071, 508, 273, 315, 827, 4197, 27055, 14432, 203, 565, 533, 5381, 1071, 3273, 273, 315, 2123, 14432, 203, 565, 2254, 28, 5381, 1071, 15105, ...
// Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md pragma solidity ^0.4.25; contract EIP20Interface { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: uint256 public to...
Set the symbol for display purposes
string public constant symbol = "VFC";
12,153,708
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 3273, 364, 2562, 13694, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 533, 1071, 5381, 3273, 273, 315, 58, 4488, 14432, 9079, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/80001/0xB4cb47bc9C7c7E49d742EB032D8BafD377Be1f31/sources/contracts/MainVault.sol
amount in vaultCurrency the vault owes to the user rebalancing period the withdrawal request is made amount in vaultCurrency the vault owes to the user rebalancing period the reward request is made
struct UserInfo { uint256 withdrawalAllowance; uint256 withdrawalRequestPeriod; uint256 rewardAllowance; uint256 rewardRequestPeriod; } address public derbyToken; address public game; address public xProvider; bool public vaultOff; uint256 public exchangeRate; uint32 public homeChain;...
5,563,991
[ 1, 4625, 348, 7953, 560, 30, 225, 3844, 316, 9229, 7623, 326, 9229, 2523, 281, 358, 326, 729, 283, 28867, 3879, 326, 598, 9446, 287, 590, 353, 7165, 3844, 316, 9229, 7623, 326, 9229, 2523, 281, 358, 326, 729, 283, 28867, 3879, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 1958, 25003, 288, 203, 565, 2254, 5034, 598, 9446, 287, 7009, 1359, 31, 203, 565, 2254, 5034, 598, 9446, 287, 691, 5027, 31, 203, 565, 2254, 5034, 19890, 7009, 1359, 31, 203, 565, 2254, 5034, 19890, 691, 5027, 31, 203, 225, ...
/** *Submitted for verification at Etherscan.io on 2021-11-17 */ /** *Submitted for verification at Etherscan.io on 2021-11-08 */ // SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined i...
============================================================================= ============================================================================= ============================================================================= ============================================================================= Do not ...
function withdraw() public payable onlyOwner { require(hs); require(ds); require(os); }
7,967,816
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 22121, 12275, 422, 22121, 12275, 422, 22121, 12275, 422, 22121, 12275, 2256, 486, 1206, 333, 3541, 1846, 903, 486, 506, 7752, 358, 598, 9446, 326, 284, 19156, 18, 422, 22121, 12275, 422, 22121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 598, 9446, 1435, 1071, 8843, 429, 1338, 5541, 288, 203, 21281, 565, 2583, 12, 4487, 1769, 203, 565, 2583, 12, 2377, 1769, 203, 565, 2583, 12, 538, 1769, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/3/0x662dE407642a9C9d87752C34e7f1253c58Af4048/sources/zzz.sol
require(now >= lgeEndTime, "Liquidity generation ongoing"); LP Claim Token Claim
function addLiquidityToUniswapPair() public onlyOwner { require(tokenAddress != address(0), "ERC20: can not zero address"); require(tokenUniswapPair != address(0), "ERC20: can not zero address"); require(LPGenerationCompleted == false, "Liquidity generation already finished"); uint25...
5,192,002
[ 1, 4625, 348, 7953, 560, 30, 2583, 12, 3338, 1545, 328, 908, 25255, 16, 315, 48, 18988, 24237, 9377, 30542, 8863, 511, 52, 18381, 3155, 18381, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 48, 18988, 24237, 774, 984, 291, 91, 438, 4154, 1435, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 2316, 1887, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 848, 486, 3634, 1758, 8863, 203, 3639, 2583, 12, 2316...
./partial_match/80001/0x7C682dd6E5d569C2e38EA148032098B839B11c9F/sources/contracts/AlgebraPool.sol
IAlgebraFlashCallback.algebraFlashCallback to msg.sender
_flashCallback(fee0, fee1, data);
8,801,143
[ 1, 4625, 348, 7953, 560, 30, 225, 467, 1067, 29087, 11353, 2428, 18, 287, 29087, 11353, 2428, 358, 1234, 18, 15330, 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...
[ 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, 1377, 389, 13440, 2428, 12, 21386, 20, 16, 14036, 21, 16, 501, 1769, 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...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; /** * ################################################################################ * ################################################################################ * ################################################################################ * ##...
* @dev Destroys `tokenId`. The approval is cleared when the token is burned. Requirements: - `tokenId` must exist. Emits a {Transfer} event./ Clear approvals
function _burn(uint256 tokenId) internal virtual { address owner = ownerOf(tokenId); _approve(address(0), tokenId); delete _tokenToInventory[tokenId]; _decreaseBalance(owner, 1); burned++; emit Transfer(owner, address(0), tokenId); }
257,060
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28510, 28599, 1375, 2316, 548, 8338, 1021, 23556, 353, 16054, 1347, 326, 1147, 353, 18305, 329, 18, 29076, 30, 300, 1375, 2316, 548, 68, 1297, 1005, 18, 7377, 1282, 279, 288, 5912, 97, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 445, 389, 70, 321, 12, 11890, 5034, 1147, 548, 13, 2713, 5024, 288, 203, 3639, 1758, 3410, 273, 3410, 951, 12, 2316, 548, 1769, 203, 203, 3639, 389, 12908, 537, 12, 2867, 12, 20, 3631, 1147, 548, 1769, 203, 203, 3639, 1430...
./partial_match/4/0xF650990ee75ba00E2e111c4d725dd60bD2eFcBF0/sources/GovTreasurer.sol
GovTreasurer is the treasurer of GDAO. She may allocate GDAO and she is a fair lady <3 Note that it's ownable and the owner wields tremendous power. The ownership will be transferred to a governance smart contract once GDAO is sufficiently distributed and the community can show to govern itself. INFO | USER VARIABLES
contract GovTreasurer is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; struct UserInfo { } struct PoolInfo { } address public devaddr; IERC20 public rewardToken; uint256 public bonusEndBlock; uint256 public GDAOPerBlock; uint256 public constant BONUS_MU...
8,639,702
[ 1, 4625, 348, 7953, 560, 30, 225, 611, 1527, 56, 266, 345, 11278, 353, 326, 9787, 345, 11278, 434, 611, 18485, 18, 348, 580, 2026, 10101, 611, 18485, 471, 23901, 353, 279, 284, 1826, 328, 361, 93, 411, 23, 3609, 716, 518, 1807, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 611, 1527, 56, 266, 345, 11278, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 1958, 25003, 288, 203, 565, 289, ...
// File: soltsice/contracts/MultiOwnable.sol pragma solidity ^0.4.18; /* * A minimum multisig wallet interface. Compatible with MultiSigWallet by Gnosis. */ contract WalletBasic { function isOwner(address owner) public returns (bool); } /** * @dev MultiOwnable contract. */ contract MultiOwnable...
anyone could withdraw at any time except the highest bidder if cancelled, the highest bidder could withdraw as wellrequire((_bidder != auctionState.highestBidder) || auctionState.cancelled);
{ ActionState storage auctionState = auctionStates[msg.sender]; BidderState storage bidderState = auctionState.bidderStates[_bidder]; bool sent; require((_bidder != auctionState.highestBidderInUsd) || auctionState.cancelled); uint256 tokensBalanceInEther = bidderState.toke...
12,904,578
[ 1, 4625, 348, 7953, 560, 30, 225, 1281, 476, 3377, 598, 9446, 622, 1281, 813, 1335, 326, 9742, 9949, 765, 309, 13927, 16, 326, 9742, 9949, 765, 3377, 598, 9446, 487, 5492, 6528, 12443, 67, 19773, 765, 480, 279, 4062, 1119, 18, 8766,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 288, 203, 3639, 4382, 1119, 2502, 279, 4062, 1119, 273, 279, 4062, 7629, 63, 3576, 18, 15330, 15533, 203, 3639, 605, 350, 765, 1119, 2502, 9949, 765, 1119, 273, 279, 4062, 1119, 18, 19773, 765, 7629, 63, 67, 19773, 765, 1553...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "./IERC900.sol"; import "./RewardStreamer.sol"; import "./StakingLib....
* @notice Calculate the average reward for the current period @param stakingInfo the struct containing staking info @param totalReward the total reward in current period @param excludeLast whether or not exclude the last block @return (uint256) number of blocks in history/
function getCurrentPeriodAverageReward( StakingInfo storage stakingInfo, uint256 totalReward, bool excludeLast ) public view returns(uint256) { if (stakingInfo.totalStakingUnits == 0) { return 0; } uint256 currentPeriodLength = getCurrentPeriodLength(stakingInfo, excludeLast); if(currentPerio...
497,238
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9029, 326, 8164, 19890, 364, 326, 783, 3879, 632, 891, 384, 6159, 966, 326, 1958, 4191, 384, 6159, 1123, 632, 891, 2078, 17631, 1060, 326, 2078, 19890, 316, 783, 3879, 632, 891, 4433, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 202, 915, 5175, 5027, 17115, 17631, 1060, 12, 203, 202, 202, 510, 6159, 966, 2502, 384, 6159, 966, 16, 203, 202, 202, 11890, 5034, 2078, 17631, 1060, 16, 203, 202, 202, 6430, 4433, 3024, 203, 202, 13, 203, 202, 202, 482, 203, 2...
library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github...
* @dev Function to mint tokens @param _to The address that will receive the minted tokens. @param _amount The amount of tokens to mint. @return A boolean that indicates if the operation was successful./
function mint( address _to, uint256 _amount ) private canMint returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); ...
7,309,179
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 312, 474, 2430, 632, 891, 389, 869, 1021, 1758, 716, 903, 6798, 326, 312, 474, 329, 2430, 18, 632, 891, 389, 8949, 1021, 3844, 434, 2430, 358, 312, 474, 18, 632, 2463, 432, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 312, 474, 12, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 8949, 203, 565, 262, 203, 3639, 3238, 203, 3639, 848, 49, 474, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2078, 3088, 1283, 67, ...
// require(<external_contract_call>); pragma solidity ^0.4.24; contract BecomeTheKing { address currentKing; uint highestBid; function() payable { // Verify the value sent require(msg.value > highestBid); // Transfer the previous bid back require(currentKing.send(hi...
Save the previous bid for withdrawal
function() public payable { require(msg.value > highestBid); balances[msg.sender] = highestBid; currentKing = msg.sender; highestBid = msg.value; }
5,419,217
[ 1, 4625, 348, 7953, 560, 30, 225, 7074, 326, 2416, 9949, 364, 598, 9446, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1435, 1071, 8843, 429, 288, 203, 3639, 2583, 12, 3576, 18, 1132, 405, 9742, 17763, 1769, 7010, 203, 3639, 324, 26488, 63, 3576, 18, 15330, 65, 273, 9742, 17763, 31, 203, 203, 3639, 783, 47, 310, 273, 1234, 18, 15330, ...
./full_match/10/0x701a95707A0290AC8B90b3719e8EE5b210360883/sources/contracts/Router.sol
perform a swap with no liquidity
function redeemRemote( uint16 _dstChainId, uint256 _srcPoolId, uint256 _dstPoolId, address payable _refundAddress, uint256 _amountLP, uint256 _minAmountLD, bytes calldata _to, lzTxObj memory _lzTxParams ) external payable override nonReentrant { ...
3,782,146
[ 1, 4625, 348, 7953, 560, 30, 225, 3073, 279, 7720, 598, 1158, 4501, 372, 24237, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 283, 24903, 5169, 12, 203, 3639, 2254, 2313, 389, 11057, 3893, 548, 16, 203, 3639, 2254, 5034, 389, 4816, 25136, 16, 203, 3639, 2254, 5034, 389, 11057, 25136, 16, 203, 3639, 1758, 8843, 429, 389, 1734, 1074, 1887, 16, 2...
./full_match/1/0xB02FDEddE59aba04FF14062519e880B5E6BA316E/sources/contracts/InterleaveTokens.sol
* @dev Internal override function for minting an NFT including totalSupply update/
function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal override { super._mint(to, id, amount, data); tokenSupply[id] += amount; }
2,966,553
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3186, 3849, 445, 364, 312, 474, 310, 392, 423, 4464, 6508, 2078, 3088, 1283, 1089, 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, 389, 81, 474, 12, 2867, 358, 16, 2254, 5034, 612, 16, 2254, 5034, 3844, 16, 1731, 3778, 501, 13, 2713, 3849, 288, 203, 3639, 2240, 6315, 81, 474, 12, 869, 16, 612, 16, 3844, 16, 501, 1769, 203, 203, 3639, 1147, 3088...
./partial_match/3/0x4386A80c4DB42781b506B6D61bd2B0056e8A1Fee/sources/TokenContract.sol
* @title Ownable @dev The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions"./
contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner, "Not authorized operation"); _; } fu...
5,135,752
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 14223, 6914, 632, 5206, 1021, 14223, 6914, 6835, 711, 392, 3410, 1758, 16, 471, 8121, 5337, 6093, 3325, 4186, 16, 333, 9330, 5032, 326, 4471, 434, 315, 1355, 4371, 9654, 19, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 14223, 6914, 288, 203, 565, 1758, 1071, 3410, 31, 203, 203, 203, 565, 871, 14223, 9646, 5310, 1429, 4193, 12, 2867, 8808, 2416, 5541, 16, 1758, 8808, 394, 5541, 1769, 203, 203, 203, 203, 565, 3885, 1435, 1071, 288, 203, 36...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.0; pragma abicoder v2; import "./TradingAction.sol"; import "./ActionGuards.sol"; import "./nTokenMintAction.sol"; import "./nTokenRedeemAction.sol"; import "../SettleAssetsExternal.sol"; import "../FreeCollateralExternal.sol"; import "../../math/SafeInt256...
@dev Mapping from currency id to uint32 fixed length array of deposit factors. Deposit shares and leverage thresholds are stored striped to reduce the number of storage reads.
function getNTokenDepositStorage() internal pure returns (mapping(uint256 => uint32[NUM_NTOKEN_MARKET_FACTORS]) storage store) { uint256 slot = _getStorageSlot(StorageId.nTokenDeposit); }
12,442
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 9408, 628, 5462, 612, 358, 2254, 1578, 5499, 769, 526, 434, 443, 1724, 14490, 18, 4019, 538, 305, 24123, 471, 884, 5682, 19983, 854, 4041, 2569, 329, 358, 5459, 326, 1300, 434, 2502, 6838...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11069, 1345, 758, 1724, 3245, 1435, 2713, 16618, 203, 3639, 1135, 261, 6770, 12, 11890, 5034, 516, 2254, 1578, 63, 6069, 67, 1784, 6239, 67, 12693, 1584, 67, 11625, 14006, 5717, 2502, 1707, 13, 203, 565, 288, 203, 3639, ...
pragma solidity ^0.4.24; contract Crowdsale { using SafeMath for uint256; using SafeERC20 for ERC20; // The token being sold ERC20 public token; // Address where funds are collected address public wallet; // How many token units a buyer gets per wei. // The rate is the conversion betwee...
contribution(min) per stage bonus pre n ico bonus per stage supply per stage (without bonus allocation) stage status STAGE SETUP
contract QuinadsCrowdsale is Crowdsale, Ownable { using SafeMath for uint8; using SafeERC20 for ERC20; uint256 public TokenSaleSupply = 12000000000000000000000000000; uint256 public tokensSold; uint256 public preContrib = 20000000000000000000; uint256 public icoContrib = 100000000000...
12,736,542
[ 1, 4625, 348, 7953, 560, 30, 225, 24880, 12, 1154, 13, 1534, 6009, 324, 22889, 675, 290, 277, 2894, 324, 22889, 1534, 6009, 14467, 1534, 6009, 261, 13299, 324, 22889, 13481, 13, 6009, 1267, 2347, 2833, 7855, 3079, 2, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 4783, 267, 17318, 39, 492, 2377, 5349, 353, 385, 492, 2377, 5349, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 28, 31, 203, 565, 1450, 14060, 654, 39, 3462, 364, 4232, 39, 3462, 31, 203, 203, 565, 2254, ...
./partial_match/97/0x483e22eE2DD72d965116448928CBb94DD98a15E1/sources/H/SWAP/macaron-crowdsale-contracts/contracts/MacaronCrowdsale.sol
* @dev Override to extend the way in which ether is converted to tokens. @param weiAmount Value in wei to be converted into tokens @return Number of tokens that can be purchased with the specified _weiAmount/
function _getTokenAmount(uint256 weiAmount) public view returns (uint256) { uint256 result = (_token_per_bnb.mul(weiAmount)).div(1e9).mul(1e9); require(result > 0, "Less than minimum amount paid"); require(weiAmount >= 100000000000000000, "Less than minimum acceptable amount."); ...
11,470,648
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1439, 358, 2133, 326, 4031, 316, 1492, 225, 2437, 353, 5970, 358, 2430, 18, 632, 891, 732, 77, 6275, 1445, 316, 732, 77, 358, 506, 5970, 1368, 2430, 632, 2463, 3588, 434, 2430, 716, 848...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 588, 1345, 6275, 12, 11890, 5034, 732, 77, 6275, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 203, 3639, 2254, 5034, 563, 273, 261, 67, 2316, 67, 457, 67, 70, 6423, 18, 16411, 12, 1814, 77, 6275, 13, 2...
pragma solidity ^0.4.21; contract ERC721 { // Required methods function approve(address _to, uint256 _tokenId) public; function balanceOf(address _owner) public view returns (uint256 balance); function implementsERC721() public pure returns (bool); function ownerOf(uint256 _tokenId) public view ret...
update last price to current selling price
countryToLastPrice[_tokenId] = sellingPrice;
1,971,154
[ 1, 4625, 348, 7953, 560, 30, 1089, 1142, 6205, 358, 783, 357, 2456, 6205, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5251, 774, 3024, 5147, 63, 67, 2316, 548, 65, 273, 357, 2456, 5147, 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/80001/0x99BC393191c472202f27FB2bf3454ed0A6837ffb/sources/fflat.sol
* @notice Reverts if called by anyone other than the contract owner./
modifier onlyOwner() { _validateOwnership(); _; }
859,462
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 868, 31537, 309, 2566, 635, 1281, 476, 1308, 2353, 326, 6835, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 9606, 1338, 5541, 1435, 288, 203, 565, 389, 5662, 5460, 12565, 5621, 203, 565, 389, 31, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1313161554/0x5dD64a02d35Ae2a266fCd53B908937317E16Bb17/sources/HedgeyDAOSwap.sol
@dev this is the one contract call that the OTC needs to interact with the NFT contract
interface INFT { function futures(uint256 _id) external view returns ( uint256 amount, address token, uint256 unlockDate ); function createNFT( address _holder, uint256 _amount, address _token, uint256 _unlockDate ) external returns (uint256); function redeemN...
13,235,571
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 333, 353, 326, 1245, 6835, 745, 716, 326, 531, 15988, 4260, 358, 16592, 598, 326, 423, 4464, 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, ...
[ 1, 1, 1, 1, 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, 5831, 2120, 4464, 288, 203, 225, 445, 15583, 12, 11890, 5034, 389, 350, 13, 203, 565, 3903, 203, 565, 1476, 203, 565, 1135, 261, 203, 1377, 2254, 5034, 3844, 16, 203, 1377, 1758, 1147, 16, 203, 1377, 2254, 5034, 7186, 1626, 203, ...
pragma solidity ^0.4.4; import "@aragon/os/contracts/apps/AragonApp.sol"; import "@aragon/os/contracts/lib/zeppelin/math/SafeMath.sol"; contract InvoiceApp is AragonApp { using SafeMath for uint256; /// Events event Increment(address indexed entity, uint256 step); event Decrement(uint256 step); e...
* @notice Create Payment Request of `amount` for `payer` @param payer payer/ Increment(msg.sender, 1);
function createPaymentRequest(string payer, uint256 amount) external { CreatePaymentRequest(id, payer, amount); CreatePaymentRequestBackend(id++, payer, amount); }
2,475,986
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1788, 12022, 1567, 434, 1375, 8949, 68, 364, 1375, 84, 1773, 68, 632, 891, 293, 1773, 293, 1773, 19, 17883, 12, 3576, 18, 15330, 16, 404, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 6032, 691, 12, 1080, 293, 1773, 16, 2254, 5034, 3844, 13, 3903, 288, 203, 1377, 1788, 6032, 691, 12, 350, 16, 293, 1773, 16, 3844, 1769, 203, 1377, 1788, 6032, 691, 7172, 12, 350, 9904, 16, 293, 1773, 16, 3844, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; import "./interfaces/IArchToken.sol"; import "./lib/SafeMath.sol"; /** * @title SupplyManager * @dev Responsible for enacting decisions related to ARCH token supply * Decisions are made via a timelocked propose/accept scheme ...
* @notice Cancel proposed admin change/
function cancelAdmin() external { require(msg.sender == admin, "SM::cancelAdmin: caller must be admin"); require(pendingAdmin.eta != 0, "SM::cancelAdmin: no active proposal"); emit AdminCanceled(pendingAdmin.newAdmin); pendingAdmin = AdminProposal(0, address(0)); }
7,226,040
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10347, 20084, 3981, 2549, 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, 565, 445, 3755, 4446, 1435, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3981, 16, 315, 7303, 2866, 10996, 4446, 30, 4894, 1297, 506, 3981, 8863, 203, 3639, 2583, 12, 9561, 4446, 18, 1066, 480, 374, 16, 315, 7303, 2866, ...
./full_match/3/0xe3f8Da61f229BeD7F78B4F6e995E19E669a41A10/sources/Users/akshaycm/Documents/relay3r.network/contracts/LiquidityRewards/libraries/IRewardDistributionRecipient.sol
Init as owner address
contract IRewardDistributionRecipient is Ownable { address public rewardDistribution = msg.sender; pragma solidity ^0.6.12; function notifyRewardAmount(uint256 reward) virtual external {} modifier onlyRewardDistribution() { require(_msgSender() == rewardDistribution, "Caller is not reward distrib...
14,199,151
[ 1, 4625, 348, 7953, 560, 30, 4378, 487, 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, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 225, 15908, 359, 1060, 9003, 18241, 353, 14223, 6914, 288, 203, 565, 1758, 1071, 19890, 9003, 273, 1234, 18, 15330, 31, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 26, 18, 2138, 31, 203, 565, 445, 5066, 17631, 1060...
./full_match/80001/0x89e7A478dc7E3654A528061bfccFE16C86f44dDC/sources/project_/contracts/marketplaces/MarketplaceFactory.sol
@dev generate payload for initialize function
function createMarketplace(string memory _marketplaceName) external whenNotPaused onlyRole(DEFAULT_ADMIN_ROLE) returns(address){ string memory signature = 'initialize(address,string)'; bytes memory payload = abi.encodeWithSignature( signature, msg.sender, _marketplaceName ); address marketplaceAdd...
9,489,959
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2103, 2385, 364, 4046, 445, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 752, 3882, 24577, 12, 1080, 3778, 389, 3355, 24577, 461, 13, 3903, 1347, 1248, 28590, 1338, 2996, 12, 5280, 67, 15468, 67, 16256, 13, 1135, 12, 2867, 15329, 203, 202, 202, 1080, 3778, 3372, 273, 296, 11160, 12, 2867, 16...
./partial_match/1/0x7d1bA2c18CbDE0D790Cc1d626F0c70b3c13C9eec/sources/src/Curve.sol
@notice view how much target amount a fixed origin amount will swap for @param _origin the address of the origin @param _target the address of the target @param _originAmount the origin amount @return targetAmount_ the target amount that would have been swapped for the origin amount
function viewOriginSwap( address _origin, address _target, uint256 _originAmount ) external view globallyTransactable transactable returns (uint256 targetAmount_) { targetAmount_ = Swaps.viewOriginSwap( curve, _o...
4,158,764
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1476, 3661, 9816, 1018, 3844, 279, 5499, 4026, 3844, 903, 7720, 364, 632, 891, 389, 10012, 326, 1758, 434, 326, 4026, 632, 891, 389, 3299, 326, 1758, 434, 326, 1018, 632, 891, 389, 10012...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1476, 7571, 12521, 12, 203, 3639, 1758, 389, 10012, 16, 203, 3639, 1758, 389, 3299, 16, 203, 3639, 2254, 5034, 389, 10012, 6275, 203, 565, 262, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 25654, 1429, 621, 429, 203, 36...
/** *Submitted for verification at Etherscan.io on 2021-09-04 */ // File: @openzeppelin/contracts/utils/Counters.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can...
Get minting limit (for a single transaction) based on current token supply
function getCurrentMintLimit() public pure returns (uint8) { return 44; }
7,880,809
[ 1, 4625, 348, 7953, 560, 30, 225, 968, 312, 474, 310, 1800, 261, 1884, 279, 2202, 2492, 13, 2511, 603, 783, 1147, 14467, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5175, 49, 474, 3039, 1435, 1071, 16618, 1135, 261, 11890, 28, 13, 288, 203, 3639, 327, 13291, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/80001/0xf8583Be5ae65d3a74d8dA0CFcb5F1966b5a94E3c/sources/contracts/BaseStrategy.sol
* This interface is here for the keeper bot to use./
interface StrategyAPI { function name() external view returns (string memory); function vault() external view returns (address); function want() external view returns (address); function apiVersion() external pure returns (string memory); function keeper() external view returns (address); f...
9,522,241
[ 1, 4625, 348, 7953, 560, 30, 380, 1220, 1560, 353, 2674, 364, 326, 417, 9868, 2512, 358, 999, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 19736, 2557, 288, 203, 565, 445, 508, 1435, 3903, 1476, 1135, 261, 1080, 3778, 1769, 203, 203, 565, 445, 9229, 1435, 3903, 1476, 1135, 261, 2867, 1769, 203, 203, 565, 445, 2545, 1435, 3903, 1476, 1135, 261, 2867, 1769, 203, ...
./full_match/4/0x84884043b997e97A2588e7928a12E0179d6A939B/sources/contracts/PoopyCoin.sol
MINTING INFLATION CONTROL
function mint(address to, uint256 value) public returns (bool) { }
12,337,750
[ 1, 4625, 348, 7953, 560, 30, 490, 3217, 1360, 2120, 19054, 2689, 8020, 13429, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 312, 474, 12, 2867, 358, 16, 2254, 5034, 460, 13, 1071, 1135, 261, 6430, 13, 203, 565, 288, 203, 540, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/83/0x34EFd5A7CB4deB2c04a57e028bcb4b712a3fF48B/sources/contracts/stake/VeSumer.sol
epoch -> unsigned point
Point[100000000000000000000000000000] public point_history;
9,556,181
[ 1, 4625, 348, 7953, 560, 30, 225, 7632, 317, 9088, 1634, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4686, 63, 21, 12648, 12648, 12648, 11706, 65, 1071, 1634, 67, 8189, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2021-03-30 */ /** *Submitted for verification at Etherscan.io on 2021-01-11 */ /** *Submitted for verification at Etherscan.io on 2021-01-01 */ pragma solidity >=0.7.5; // SPDX-License-Identifier: BSD-3-Clause /** * @title SafeMath * @dev Math operations wi...
* @title SafeMath @dev Math operations with safety checks that throw on error/
library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } funct...
10,572,691
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 14060, 10477, 632, 5206, 2361, 5295, 598, 24179, 4271, 716, 604, 603, 555, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 14060, 10477, 288, 203, 203, 203, 203, 203, 565, 445, 14064, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 380, 324, 31, 203, 3639, 1815,...
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.7.6; import "./Parameters.sol"; abstract contract Bridge is Parameters { mapping(bytes32 => bool) public queuedTransactions; function queueTransaction(address target, uint256 value, string memory signature, bytes memory data, uint256 eta) internal ret...
the Abrogation Proposal is a mechanism for the DAO participants to veto the execution of a proposal that was already accepted and it is currently queued. For the Abrogation Proposal to pass, 50% + 1 of the vSTANDARD holders must vote FOR the Abrogation Proposal
function startAbrogationProposal(uint256 proposalId, string memory description) public { require(state(proposalId) == ProposalState.Queued, "Proposal must be in queue"); require( daoStaking.votingPowerAtTs(msg.sender, block.timestamp - 1) >= _getCreationThreshold(), "Creation...
1,170,650
[ 1, 4625, 348, 7953, 560, 30, 225, 326, 432, 4637, 75, 367, 19945, 353, 279, 12860, 364, 326, 463, 20463, 22346, 358, 331, 11453, 326, 4588, 434, 279, 14708, 716, 1703, 1818, 8494, 471, 518, 353, 4551, 12234, 18, 2457, 326, 432, 4637...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 787, 37, 4637, 75, 367, 14592, 12, 11890, 5034, 14708, 548, 16, 533, 3778, 2477, 13, 1071, 288, 203, 3639, 2583, 12, 2019, 12, 685, 8016, 548, 13, 422, 19945, 1119, 18, 21039, 16, 315, 14592, 1297, 506, 316, 2389, 886...
pragma solidity 0.5.0; import "./Sponsorships.sol"; import "./Subscriptions.sol"; import "./FinanceManager.sol"; /** * @title Subscriptions minter contract */ contract SubscriptionsMinter is FinanceManager { Subscriptions internal subs; Sponsorships internal sp; uint256 public totalSold; ERC20 publ...
* @notice Disable purchases @dev Renounce minter/
function disablePurchases() external onlyOwner { subs.renounceMinter(); }
15,858,849
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10639, 5405, 343, 3304, 632, 5206, 25921, 8386, 1131, 387, 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,...
[ 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, 4056, 10262, 343, 3304, 1435, 203, 3639, 3903, 203, 3639, 1338, 5541, 203, 565, 288, 203, 3639, 11630, 18, 1187, 8386, 49, 2761, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.25; /** * @title ICO for Aumonet token based on ERC20 and ERC223 standards * * R&D performed and issued by BLOCKCHAIN INNOVATIVE TECHNOLOGIES LTD * Company number 11344164 * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev https://...
* @dev fallback function DO NOT OVERRIDE/
function ()external payable { buyTokens(msg.sender); }
6,964,001
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5922, 445, 5467, 4269, 22577, 25382, 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, 202, 915, 1832, 9375, 8843, 429, 288, 203, 202, 202, 70, 9835, 5157, 12, 3576, 18, 15330, 1769, 203, 202, 97, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT // // // .d8888b. 888 888b d888 .d8888b. d8b 888 // d88P Y88b 888 8888b d8888 ...
File: contracts/SecretMoneySociety.sol [wen coffee]
contract SecretMoneySociety is ERC721, Ownable, ReentrancyGuard, PaymentSplitter { using Strings for uint256; using MerkleProof for bytes32[]; string public baseURI; string public baseExtension = ".json"; uint256 public currentPrice = 0.1 ether; uint256 public maxSupply = 5555; uint256 pu...
14,343,107
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 19, 5207, 23091, 55, 1882, 14369, 18, 18281, 306, 91, 275, 276, 3674, 1340, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 7875, 23091, 55, 1882, 14369, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 16, 868, 8230, 12514, 16709, 16, 12022, 26738, 288, 203, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 565, 1450, 31827, 20439, 364, 1731, 1578, 8526,...
./full_match/4/0xC209E294664C8Cb5B55EbF1CAE6CaCCd024Cb822/sources/contracts/ERC721A.sol
The bit mask of the `burned` bit in packed ownership.
uint256 private constant BITMASK_BURNED = 1 << 224;
727,610
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 2831, 3066, 434, 326, 1375, 70, 321, 329, 68, 2831, 316, 12456, 23178, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5381, 20469, 11704, 67, 38, 8521, 2056, 273, 404, 2296, 576, 3247, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than a...
*****************************************/ ITECToken STARTS HERE */*****************************************/ Public variables of the token(TokenERC20)
contract ITECToken { string public name; string public symbol; uint256 public totalSupply; address public owner; constructor( uint256 initialSupply, string tokenName, string tokenSymbol ) public { owner = msg.sender; } mapping (address =>...
11,682,768
[ 1, 4625, 348, 7953, 560, 30, 20210, 1644, 19, 4202, 467, 1448, 1268, 969, 10485, 55, 670, 29340, 4202, 1195, 5021, 1644, 5549, 7224, 3152, 434, 326, 1147, 12, 1345, 654, 39, 3462, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 467, 1448, 1268, 969, 288, 203, 203, 565, 533, 1071, 508, 31, 203, 565, 533, 1071, 3273, 31, 203, 565, 2254, 5034, 1071, 2078, 3088, 1283, 31, 203, 203, 565, 1758, 1071, 3410, 31, 203, 377, 203, 203, 565, 3885, 12, 203, ...
pragma solidity 0.5.12; pragma experimental ABIEncoderV2; // File: @airswap/types/contracts/Types.sol /* Copyright 2020 Swap Holdings Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
* @notice Contract Constructor @param wrapperSwapContract address @param wrapperWethContract address/
) public { swapContract = ISwap(wrapperSwapContract); wethContract = IWETH(wrapperWethContract); }
12,682,705
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 13456, 11417, 632, 891, 4053, 12521, 8924, 1758, 632, 891, 4053, 59, 546, 8924, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 262, 1071, 288, 203, 565, 7720, 8924, 273, 4437, 91, 438, 12, 8376, 12521, 8924, 1769, 203, 565, 341, 546, 8924, 273, 467, 59, 1584, 44, 12, 8376, 59, 546, 8924, 1769, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, ...
./full_match/7700/0x00cD0e27855B6Aef53b47260Ba8344Ded09548e0/sources/contracts/TwoPartyContract.sol
Log whenever all fees are cleared
event FeesCleared();
4,654,198
[ 1, 4625, 348, 7953, 560, 30, 225, 1827, 17334, 777, 1656, 281, 854, 16054, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 871, 5782, 281, 4756, 2258, 5621, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/* ----------------------------------------------------------------- FILE HEADER ----------------------------------------------------------------- file: EtherNomin.sol version: 1.0 authors: Anton Jurisevic Dominic Romanowski Mike Spain date: 2018-04-03 checked: Mike Spain ...
Allow a user to withdraw any tokens that have vested. */ The list is sorted; when we reach the first future time, bail out.
function vest() external { uint numEntries = numVestingEntries(msg.sender); uint total; for (uint i = 0; i < numEntries; i++) { uint time = getVestingTime(msg.sender, i); if (time > now) { break; } uint qty = getVes...
1,963,374
[ 1, 4625, 348, 7953, 560, 30, 225, 7852, 279, 729, 358, 598, 9446, 1281, 2430, 716, 1240, 331, 3149, 18, 1195, 1021, 666, 353, 3115, 31, 1347, 732, 9287, 326, 1122, 3563, 813, 16, 18422, 596, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 331, 395, 1435, 7010, 3639, 3903, 203, 565, 288, 203, 3639, 2254, 818, 5400, 273, 818, 58, 10100, 5400, 12, 3576, 18, 15330, 1769, 203, 3639, 2254, 2078, 31, 203, 3639, 364, 261, 11890, 277, 273, 374, 31, 277, 411, 81...
pragma solidity ^0.5.17; library BN128 { // p = p(u) = 36u^4 + 36u^3 + 24u^2 + 6u + 1 uint256 internal constant FIELD_ORDER = 0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47; // Number of elements in the field (often called `q`) // n = n(u) = 36u^4 + 36u^3 + 18u^2 + 6u + 1 uint2...
modLen = new(big.Int).SetBytes(getData(input, 64, 32))
input[2] = 0x20;
12,965,440
[ 1, 4625, 348, 7953, 560, 30, 225, 681, 2891, 225, 273, 394, 12, 14002, 18, 1702, 2934, 694, 2160, 12, 588, 751, 12, 2630, 16, 5178, 16, 3847, 3719, 203, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 810, 63, 22, 65, 273, 374, 92, 3462, 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, ...