file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import {IKODAV3GatedMerkleMarketplace} from "./IKODAV3GatedMerkleMarketplace.sol"; import {BaseUpgradableMarketplace} from "../../marketplace/BaseUpgradableMarketplace.sol"; i...
@notice Keeps a pointer to the overall mint count for the full sale
mapping(uint256 => uint16) public saleMintCount;
1,068,725
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10498, 87, 279, 4407, 358, 326, 13914, 312, 474, 1056, 364, 326, 1983, 272, 5349, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 12, 11890, 5034, 516, 2254, 2313, 13, 1071, 272, 5349, 49, 474, 1380, 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, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import { IHashes } from "./IHashes.sol"; import { LibDeactivateToken } from "./LibDeactivateToken.sol"; import { LibEIP712 } from "./LibEIP712.sol"; import { LibSignature } from "./LibSignature.sol"; import { SafeMath } from "@openzeppelin/contracts/utils/math/Saf...
* @notice Determine the prior number of votes for an account as of a block number @dev Block number must be a finalized block or else this function will revert to prevent misinformation. @param _account The address of the account to check @param _blockNumber The block number to get the vote balance at @return The numbe...
function getPriorVotes(address _account, uint256 _blockNumber) external override view returns (uint256) { require(_blockNumber < block.number, "Hashes: block not yet determined."); uint256 numCheckpointsAccount = numCheckpoints[_account]; if (numCheckpointsAccount == 0) { return...
5,820,656
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10229, 326, 6432, 1300, 434, 19588, 364, 392, 2236, 487, 434, 279, 1203, 1300, 632, 5206, 3914, 1300, 1297, 506, 279, 727, 1235, 1203, 578, 469, 333, 445, 903, 15226, 358, 5309, 7524, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1689, 2432, 29637, 12, 2867, 389, 4631, 16, 2254, 5034, 389, 2629, 1854, 13, 3903, 3849, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 24899, 2629, 1854, 411, 1203, 18, 2696, 16, 315, 14455, 30, 1203, 486, 467...
pragma solidity 0.5.17; import {SafeMath} from "openzeppelin-solidity/contracts/math/SafeMath.sol"; import {TBTCDepositToken} from "./TBTCDepositToken.sol"; import {FeeRebateToken} from "./FeeRebateToken.sol"; import {TBTCToken} from "./TBTCToken.sol"; import {TBTCConstants} from "./TBTCConstants.sol"; import "../dep...
@notice Anyone can request redemption as long as they can. approve the TDT transfer to the final recipient. @dev The redeemer specifies details about the Bitcoin redemption tx and pays for the redemption on behalf of _fi...
) external { require(_d.inAwaitingWithdrawalSignature(), "Not currently awaiting a signature"); require( uint256(_s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "Malleable signature - s should be in the low half of secp256k1 curve'...
7,283,438
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 5397, 5502, 476, 848, 590, 283, 19117, 375, 487, 1525, 487, 2898, 848, 18, 11794, 6617, 537, 326, 399, 9081, 7412, 358, 326, 727, 8027, 18, 632, 5206, 13491, 1021, 283, 24903, 264, 11470...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 262, 3903, 288, 203, 3639, 2583, 24899, 72, 18, 267, 37, 20241, 1190, 9446, 287, 5374, 9334, 315, 1248, 4551, 4273, 310, 279, 3372, 8863, 203, 203, 203, 3639, 2583, 12, 203, 5411, 2254, 5034, 24899, 87, 13, 1648, 203, 7734, ...
// // ALLAH SMART CONTRACT // // Earn on investment 3% daily! // Receive your 3% cash-back when invest with referrer! // Earn 3% from each referral deposit! // // // HOW TO TAKE PARTICIPANT: // Just send ETH to contract address (min. 0.01 ETH) // // // HOW TO RECEIVE MY DIVIDENDS? // Send 0 ETH...
set max of investments per day. Only devAddr have access to this function
function setGrowingMaxPerDay(uint maxAmountPerDay) public { require(maxAmountPerDay >= growingControl.min && maxAmountPerDay <= growingControl.max, "incorrect amount"); require(msg.sender == devAddr, "Only dev team have access to this function"); growingControl.maxAmountPerDay = maxAmountPer...
6,362,030
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 943, 434, 2198, 395, 1346, 1534, 2548, 18, 5098, 4461, 3178, 1240, 2006, 358, 333, 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...
[ 1, 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, 26770, 492, 310, 2747, 2173, 4245, 12, 11890, 943, 6275, 2173, 4245, 13, 1071, 288, 203, 3639, 2583, 12, 1896, 6275, 2173, 4245, 1545, 13334, 310, 3367, 18, 1154, 597, 943, 6275, 2173, 4245, 1648, 13334, 310, 3367, 18, ...
./full_match/1/0x41f6b87E6a34D17871b23C5226057eEA96Ad3aa2/sources/contracts/RewardToolsDCLBordersContract.sol
Set the percentage of ad fees that goes to the contract owner
function setContractBeneficiaryAdFeeBPS(uint256 bps) public onlyOwner { require(bps >= 0 && bps <= 10000, "BPS must be between 0 and 10000"); settings.contractBeneficiaryAdFeeBPS = bps; }
3,126,446
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 11622, 434, 1261, 1656, 281, 716, 13998, 358, 326, 6835, 3410, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 444, 8924, 38, 4009, 74, 14463, 814, 1871, 14667, 38, 5857, 12, 11890, 5034, 324, 1121, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 70, 1121, 1545, 374, 597, 324, 1121, 1648, 12619, 16, 315, 38, 5857, 1297, 506, 3...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256...
add the total mints per address in whitelist mapping
whiteListMintsPerAddress[wallet] += _num;
11,730,678
[ 1, 4625, 348, 7953, 560, 30, 527, 326, 2078, 312, 28142, 1534, 1758, 316, 10734, 2874, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 27859, 49, 28142, 2173, 1887, 63, 19177, 65, 1011, 389, 2107, 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, -...
/** *Submitted for verification at Etherscan.io on 2020-03-04 */ pragma solidity 0.5.10; /** * Wrappers over Solidity's arithmetic operations with added overflow * checks. */ library SafeMath { /** * Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart t...
* Implementation of the TigerCash./ The total amount of locks at the specified address. The amount of released addresses of the specified address.
contract overflow is ERC20Detailed, ERC20Pausable, ERC20Capped, ERC20Burnable { mapping (address => uint256) public totalLockAmount; mapping (address => uint256) public releasedAmount; mapping (address => uint256) public lockedAmount; mapping (address => allocation[]) public allocations; struct ...
5,467,852
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 25379, 434, 326, 399, 360, 264, 39, 961, 18, 19, 1021, 2078, 3844, 434, 13046, 622, 326, 1269, 1758, 18, 1021, 3844, 434, 15976, 6138, 434, 326, 1269, 1758, 18, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 9391, 353, 4232, 39, 3462, 40, 6372, 16, 4232, 39, 3462, 16507, 16665, 16, 4232, 39, 3462, 4664, 1845, 16, 4232, 39, 3462, 38, 321, 429, 288, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 1071, 2078, 2531, 6275, 3...
./partial_match/42/0xeeb0c120bF35fB0793b1c7d0D93230e552020398/sources/FlashBorrower.sol
Use this to pack arbitrary data to `onFlashLoan`
function flashBorrowAndReenter(address lender, address token, uint256 value) public { bytes memory data = abi.encode(Action.REENTER); IERC3156FlashLender(lender).flashLoan(address(this), token, value, data); }
8,846,954
[ 1, 4625, 348, 7953, 560, 30, 225, 2672, 333, 358, 2298, 11078, 501, 358, 1375, 265, 11353, 1504, 304, 68, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 9563, 38, 15318, 1876, 426, 2328, 12, 2867, 328, 2345, 16, 1758, 1147, 16, 2254, 5034, 460, 13, 1071, 288, 203, 3639, 1731, 3778, 501, 273, 24126, 18, 3015, 12, 1803, 18, 862, 12278, 1769, 203, 3639, 467, 654, 39, 23,...
./full_match/1/0xE6Ae4B45643177829432aD98e622b83Cea0Db874/sources/src/Magai/Magai.sol
Anti-bot and anti-whale mappings and variables exclude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract MagaiCoin is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public teamWallet; address public immutable wojak; uint256 public maxTra...
16,568,026
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 4433, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869, 14, 4259, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 12342, 10658, 27055, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 202, 9940, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 202, 45, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, 22, 8259, 3...
./full_match/100/0x23890e2b3a7C48d73c0860b43aD639C21FDe3760/sources/dendreth/src/utils/Verifier.sol
Compute the linear combination vk_x
function verify(uint256[] memory input, Proof memory proof) internal view returns (uint256) { uint256 snark_scalar_field = 21888242871839275222246405745257275088548364400416034343698204186575808495617; VerifyingKey memory vk = verifyingKey(); require(input.length + 1 == vk.IC.length, 'verifi...
14,273,589
[ 1, 4625, 348, 7953, 560, 30, 225, 8155, 326, 9103, 10702, 331, 79, 67, 92, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 3929, 12, 11890, 5034, 8526, 3778, 810, 16, 1186, 792, 3778, 14601, 13, 203, 565, 2713, 203, 565, 1476, 203, 565, 1135, 261, 11890, 5034, 13, 203, 225, 288, 203, 565, 2254, 5034, 4556, 1313, 67, 8748, 67, 1518, 273, 5...
./partial_match/42/0x7729c250167787a6b92df8649065254E1289B1E8/sources/P2PLending.sol
Global Variablesmapping (address => uint) balances; conti correnti degli investitori Structs actors
contract P2PLending { address private contractOwner; event debitEmit(address indexed sender, address indexed reciever, uint amount, uint time); pragma solidity ^0.5.0; struct Investor { address investor_public_key; bool EXISTS; } struct Borrower { address borrower_p...
3,374,820
[ 1, 4625, 348, 7953, 560, 30, 225, 8510, 23536, 6770, 261, 2867, 516, 2254, 13, 324, 26488, 31, 8227, 466, 77, 1858, 547, 77, 5843, 549, 2198, 395, 1811, 77, 7362, 87, 27141, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 453, 22, 6253, 2846, 288, 203, 203, 203, 203, 565, 1758, 3238, 6835, 5541, 31, 203, 203, 203, 565, 871, 443, 3682, 17982, 12, 2867, 8808, 5793, 16, 1758, 8808, 1950, 1385, 502, 16, 2254, 3844, 16, 2254, 813, 1769, 203, 3...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC1363Receiver} from "@openzeppelin/contracts/interfaces/IERC1363Receiver.sol"; import {IAccessControl, AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol"; impor...
Calculates TAL token balance of the contract @return the amount of TAL tokens
function tokenBalance() public view returns (uint256) { return IERC20(token).balanceOf(address(this)); }
5,474,666
[ 1, 4625, 348, 7953, 560, 30, 225, 26128, 399, 1013, 1147, 11013, 434, 326, 6835, 632, 2463, 326, 3844, 434, 399, 1013, 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, ...
[ 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, 1147, 13937, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 467, 654, 39, 3462, 12, 2316, 2934, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /////////////////////////////////////////////////////////////////////////// // __/| Vault NFT // __/ // /| This smart contract is part of Mover // |/ //_/// https://viamover.com // |_/ // // |/ //////////////////////////////////////////...
tokenIds 0-11999 available
require(_tokenIdTracker.current() < 9999, "claim limit reached");
13,976,243
[ 1, 4625, 348, 7953, 560, 30, 225, 1147, 2673, 374, 17, 2499, 11984, 2319, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 24899, 2316, 548, 8135, 18, 2972, 1435, 411, 30082, 16, 315, 14784, 1800, 8675, 8863, 225, 2, -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; //================================================================================ // Plague Inc. <Grand prize> // WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! // This game is easy for you to get rich. // ...
the count of this round
uint256 totalInfective;
1,261,272
[ 1, 4625, 348, 7953, 560, 30, 225, 326, 1056, 434, 333, 3643, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 2078, 13149, 386, 688, 31, 1377, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/4/0xa8ba855b9F6cfb8B6cdD1f662F1a685B7D4B3283/sources/NFT.sol
* @title Creature Creature - a contract for my non-fungible creatures./
contract Creature is ERC721 { pragma solidity 0.8.4; constructor() ERC721("Creature", "OSC") { } function baseTokenURI() public view returns (string memory) { } }
665,617
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 5799, 1231, 5799, 1231, 300, 279, 6835, 364, 3399, 1661, 17, 12125, 75, 1523, 1519, 2790, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5799, 1231, 353, 4232, 39, 27, 5340, 288, 203, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 24, 31, 203, 225, 3885, 1435, 4232, 39, 27, 5340, 2932, 1996, 1231, 3113, 315, 51, 2312, 7923, 288, 225, 289, 203, 225, 445, 1...
./full_match/5/0x7F22e1B9102595DcBeF8D041855fbA11c2485168/sources/https_/github.com/abdk-consulting/abdk-libraries-solidity/blob/v3.0/ABDKMathQuad.sol
Not infinities of the same sign
unchecked { uint128 absoluteX = uint128 (x) & 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; uint128 absoluteY = uint128 (y) & 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; require (x != y || absoluteX < 0x7FFF0000000000000000000000000000); if (x == y) return 0; else { bool negativeX = uint128...
1,885,828
[ 1, 4625, 348, 7953, 560, 30, 225, 2288, 316, 926, 1961, 434, 326, 1967, 1573, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 22893, 288, 203, 1377, 2254, 10392, 4967, 60, 273, 2254, 10392, 261, 92, 13, 473, 374, 92, 27, 8998, 8998, 8998, 8998, 8998, 8998, 18343, 42, 31, 203, 203, 203, 1377, 2254, 10392, 4967, 61, 273, 2254, 10392, 261, 93, 13, 4...
pragma solidity 0.7.2; // SPDX-License-Identifier: JPLv1.2-NRS Public License; Special Conditions with IVT being the Token, ItoVault the copyright holder import "./SafeMath.sol"; import "./GeneralToken.sol"; contract VaultSystem { using SafeMath for uint256; event loguint(string name, uint value); ...
Double Entry Accounting
function repayvSPY(uint _vSPYRepayE18) public { require(_vSPYRepayE18 < 10 ** 30, "Protective max bound for uint argument"); vSPYToken.ownerApprove(msg.sender, _vSPYRepayE18); vSPYDebtE18[msg.sender] = vSPYDebtE18[msg.sender].sub( _vSPYRepayE18 ); outstandingvSPYE1...
1,523,033
[ 1, 4625, 348, 7953, 560, 30, 225, 3698, 3841, 6590, 310, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2071, 528, 90, 3118, 61, 12, 11890, 389, 90, 3118, 61, 426, 10239, 41, 2643, 13, 1071, 288, 203, 3639, 2583, 24899, 90, 3118, 61, 426, 10239, 41, 2643, 411, 1728, 2826, 5196, 16, 315, 29599, 688, 943, 2489, 364, 2254,...
// File: ERC20.sol pragma solidity ^0.5.10; /// @title ERC20 interface is a subset of the ERC20 specification. /// @notice see https://github.com/ethereum/EIPs/issues/20 interface ERC20 { function allowance(address _owner, address _spender) external view returns (uint256); function approve(address _spender, u...
@notice Add a new admin to the list of admins. @param _account address to add to the list of admins.
function addAdmin(address _account) external onlyOwner notStopped { _addAdmin(_account); }
913,576
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1436, 279, 394, 3981, 358, 326, 666, 434, 31116, 18, 632, 891, 389, 4631, 1758, 358, 527, 358, 326, 666, 434, 31116, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 4446, 12, 2867, 389, 4631, 13, 3903, 1338, 5541, 486, 15294, 288, 203, 3639, 389, 1289, 4446, 24899, 4631, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/1/0xf90CfBE2EF772010ecdf480b28a29Fd60ff44CcC/sources/LlamaICO.sol
* @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends its tokens. @param beneficiary Address performing the token purchase @param mintAmount Total mint tokens/ Potentially dangerous assumption about the type of the token.
function _deliverTokens(address beneficiary, uint256 mintAmount) internal { require( token().mint(beneficiary, mintAmount) , "Crowdsale: transfer failed" ); }
9,818,867
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4998, 434, 2430, 18, 1439, 333, 707, 358, 5612, 326, 4031, 316, 1492, 326, 276, 492, 2377, 5349, 225, 406, 381, 5173, 5571, 471, 9573, 2097, 2430, 18, 632, 891, 27641, 74, 14463, 814, 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, 26672, 5157, 12, 2867, 27641, 74, 14463, 814, 16, 2254, 5034, 312, 474, 6275, 13, 2713, 288, 203, 203, 3639, 2583, 12, 203, 5411, 1147, 7675, 81, 474, 12, 70, 4009, 74, 14463, 814, 16, 312, 474, 6275, 13, 203, ...
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; // Inheritance import "./Owned.sol"; import "./MixinResolver.sol"; import "./MixinSystemSettings.sol"; import "./interfaces/ISynthetixBridgeToBase.sol"; // Internal references import "./interfaces/ISynthetix.sol"; import "./interfaces/IRewardEscrowV2.sol"; im...
invoked by user on L2 instruct L2 Synthetix to burn this supply create message payload for L1 relay the message to Bridge on L1 via L2 Messenger
function initiateWithdrawal(uint amount) external { require(synthetix().transferableSynthetix(msg.sender) >= amount, "Not enough transferable SNX"); synthetix().burnSecondary(msg.sender, amount); ISynthetixBridgeToOptimism bridgeToOptimism; bytes memory messageData = abi.encodeWith...
12,621,241
[ 1, 4625, 348, 7953, 560, 30, 225, 8187, 635, 729, 603, 511, 22, 316, 1697, 511, 22, 16091, 451, 278, 697, 358, 18305, 333, 14467, 752, 883, 2385, 364, 511, 21, 18874, 326, 883, 358, 24219, 603, 511, 21, 3970, 511, 22, 490, 18912, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18711, 1190, 9446, 287, 12, 11890, 3844, 13, 3903, 288, 203, 3639, 2583, 12, 11982, 451, 278, 697, 7675, 13866, 429, 10503, 451, 278, 697, 12, 3576, 18, 15330, 13, 1545, 3844, 16, 315, 1248, 7304, 7412, 429, 14204, 60, ...
// SPDX-License-Identifier: MIT // dev: @brougkr /**@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@...
* @dev ADMIN: Sets Max Cards For future Card Expansion Packs/
function __setMaxCards(uint256 MAX_CARDS) external onlyOwner { _MAX_CARDS = MAX_CARDS; }
129,974
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25969, 30, 11511, 4238, 14338, 87, 2457, 3563, 14338, 7784, 12162, 7930, 87, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 1001, 542, 2747, 30492, 12, 11890, 5034, 4552, 67, 39, 985, 3948, 13, 3903, 1338, 5541, 288, 389, 6694, 67, 39, 985, 3948, 273, 4552, 67, 39, 985, 3948, 31, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
/** *Submitted for verification at Etherscan.io on 2020-09-14 */ pragma solidity 0.6.4; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot ...
this is so that staking and unstaking will not trigger the emission
if(emission_Whitelisted[messagesender] == false){
1,661,395
[ 1, 4625, 348, 7953, 560, 30, 333, 353, 1427, 716, 384, 6159, 471, 640, 334, 6159, 903, 486, 3080, 326, 801, 19710, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 12, 351, 19710, 67, 18927, 329, 63, 6833, 2345, 65, 422, 629, 15329, 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,...
./partial_match/1/0x1ddbCe49F3aDF2eA0c2d4CD3A403CEF2f6202667/sources/FundRescue.sol
Update COMP exchange rate to avoid MARKET_NOT_FRESH
function redeemDai() public onlyGovernance { uint balanceOfDaiBefore = DAI.balanceOf(address(this)); uint required_balance = balanceOfDaiBefore + S_INTEREST_EARNED + S_PRINCIPAL_AMOUNT + A_INTEREST_EARNED + A_PRINCIPAL_AMOUNT; uint rate = cDAI.exchangeRateCurrent(); require(rate > 0, "bad exchange ra...
15,739,089
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 13846, 7829, 4993, 358, 4543, 20503, 1584, 67, 4400, 67, 42, 14753, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 283, 24903, 40, 10658, 1435, 1071, 1338, 43, 1643, 82, 1359, 288, 203, 565, 2254, 11013, 951, 40, 10658, 4649, 273, 463, 18194, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 203, 565, 2254, 1931, 67, 12296, 273, 11013...
./full_match/1/0x13C2A723e57A83612F3D844D81bb8b7233C5158C/sources/contracts/OCBStaking.sol
@dev Internal force unstake function. Only use with caution [!]
function _forceUnstake(uint256 tokenId) internal { Position storage stakingPosition = stakingPositions[tokenId]; if( stakingPosition.startTime <= 0 ) revert TokenIsNotStaked(tokenId); address recipient = stakingPosition.owner; stakingPosition.owner = address(0); stakingPo...
4,857,338
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 3186, 2944, 640, 334, 911, 445, 18, 5098, 999, 598, 3474, 1421, 306, 5, 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, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5734, 984, 334, 911, 12, 11890, 5034, 1147, 548, 13, 2713, 288, 203, 203, 3639, 11010, 2502, 384, 6159, 2555, 273, 384, 6159, 11024, 63, 2316, 548, 15533, 203, 203, 3639, 309, 12, 384, 6159, 2555, 18, 1937, 950, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "../tokens/nf-token-metadata.sol"; import "../tokens/nf-token-enumerable.sol"; import "../ownership/ownable.sol"; contract MoonTotems is NFTokenEnumerable, NFTokenMetadata, Ownable { /** * @dev The smallest valid token id. */ uint256 public...
* @dev Withdraw contract balance to contract owner./
function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); }
5,358,062
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 6835, 11013, 358, 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, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 598, 9446, 1435, 1071, 1338, 5541, 288, 203, 565, 2254, 11013, 273, 1758, 12, 2211, 2934, 12296, 31, 203, 565, 8843, 429, 12, 3576, 18, 15330, 2934, 13866, 12, 12296, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, ...
//Address: 0x5a91baB64ECe3428fC4E6B1CB327cd00387B5dEd //Contract name: LifCrowdsale //Balance: 0 Ether //Verification Date: 10/19/2017 //Transacion Count: 14 // CODE STARTS HERE pragma solidity ^0.4.15; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization contro...
/ get current price (it depends on current block number) calculate token amount to be created store wei amount in case of TGE min cap not reached
function buyTokens(address beneficiary) public payable validPurchase { require(beneficiary != address(0)); assert(weiPerUSDinTGE > 0); uint256 weiAmount = msg.value; uint256 rate = getRate(); assert(rate > 0); uint256 tokens = weiAmount.mul(rate); weiRaised = weiRaised.add(weiAmount);...
1,843,547
[ 1, 4625, 348, 7953, 560, 30, 342, 336, 783, 6205, 261, 305, 10935, 603, 783, 1203, 1300, 13, 4604, 1147, 3844, 358, 506, 2522, 1707, 732, 77, 3844, 316, 648, 434, 399, 7113, 1131, 3523, 486, 8675, 2, 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, 225, 445, 30143, 5157, 12, 2867, 27641, 74, 14463, 814, 13, 1071, 8843, 429, 923, 23164, 288, 203, 565, 2583, 12, 70, 4009, 74, 14463, 814, 480, 1758, 12, 20, 10019, 203, 565, 1815, 12, 1814, 77, 2173, 3378, 40, 267, 56, 7113, ...
pragma solidity ^0.4.16; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } ...
@notice Buy tokens from contract by sending ether
function buy() payable public { require(msg.value == price); price += priceInc; }
10,153,276
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 605, 9835, 2430, 628, 6835, 635, 5431, 225, 2437, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 30143, 1435, 8843, 429, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 1132, 422, 6205, 1769, 203, 203, 3639, 6205, 1011, 6205, 14559, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; pragma abicoder v2; import "../libraries/IERC20Full.sol"; import "../balancer/BPool.sol"; import "./AbstractMarketFactoryV3.sol"; import "./FeePot.sol"; import "../libraries/SafeMathInt256.sol"; import "./MMAMarketFactoryV3.sol"; import "./AMMFactory.sol"; import ...
starts out oone too high, so this works
_marketId--;
7,248,143
[ 1, 4625, 348, 7953, 560, 30, 225, 2542, 596, 320, 476, 4885, 3551, 16, 1427, 333, 6330, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 389, 27151, 548, 413, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.3; pragma abicoder v2; // Philip/Intructor code // https://github.com/filipmartinsson/solidity-0.7.5 contract Wallet { address[] public owners; uint limit; mapping(address => mapping(uint => bool)) approvals; mapping(addres...
ownly users in owners list cn approve and execute Transfers
modifier onlyOwners() { bool owner = false; for(uint i = 0; i < owners.length; i++) { if(owners[i] == msg.sender) { owner = true; } } require(owner == true, "Not an owner"); _; } event transferRequestsCreated(uint _id, uint _amount, ad...
5,402,951
[ 1, 4625, 348, 7953, 560, 30, 225, 4953, 715, 3677, 316, 25937, 666, 6227, 6617, 537, 471, 1836, 2604, 18881, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 9606, 1338, 5460, 414, 1435, 288, 203, 4202, 1426, 3410, 273, 629, 31, 203, 4202, 364, 12, 11890, 277, 273, 374, 31, 277, 411, 25937, 18, 2469, 31, 277, 27245, 288, 203, 6647, 309, 12, 995, 414, 63, 77, 65, 422, 1234, 18...
pragma solidity ^0.4.18; /** * @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,...
* @dev Returns all relevant info about a specific player. @return playerName the name of the player @return currPrice what the player is currently worth. @return owner address of whoever owns the player. @return owningTeamID ID of team that the player plays on./
function getPlayer(uint _tokenId) public view returns(string playerName, uint currPrice, address owner, uint owningTeamID) { Player storage currPlayer = ballerPlayers[_tokenId]; playerName = currPlayer.name; currPrice = playerIndexToPrice[_tokenId]; owner = ownerOfPlayer(_tokenId); ...
2,147,130
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 777, 9368, 1123, 2973, 279, 2923, 7291, 18, 632, 2463, 7291, 461, 326, 508, 434, 326, 7291, 632, 2463, 4306, 5147, 4121, 326, 7291, 353, 4551, 26247, 18, 632, 2463, 3410, 1758, 434,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1689, 6363, 12, 11890, 389, 2316, 548, 13, 1071, 1476, 1135, 12, 1080, 7291, 461, 16, 2254, 4306, 5147, 16, 1758, 3410, 16, 2254, 25022, 8689, 734, 13, 288, 203, 3639, 19185, 2502, 4306, 12148, 273, 26503, 264, 1749, 39...
/** *Submitted for verification at Etherscan.io on 2020-12-09 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, beca...
@notice Use this function to deposit your ether in fund; @dev same behavior as receive()
function deposit() external payable { _deposit(msg.sender, msg.value); }
57,172
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2672, 333, 445, 358, 443, 1724, 3433, 225, 2437, 316, 284, 1074, 31, 632, 5206, 1967, 6885, 487, 6798, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 1435, 3903, 8843, 429, 288, 203, 3639, 389, 323, 1724, 12, 3576, 18, 15330, 16, 1234, 18, 1132, 1769, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-08-24 */ /** Milk Crate Challenge https://t.me/CRATECHALLENGE See how high we can climb! */ pragma solidity ^0.6.12; // SPDX-License-Identifier: Unlicensed interface IERC20 { function totalSupply() external view returns (uint256); /** ...
SPDX-License-Identifier: Unlicensed
interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) exte...
2,332,558
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 1351, 80, 335, 28003, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 654, 39, 3462, 288, 203, 565, 445, 2078, 3088, 1283, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 11013, 951, 12, 2867, 2236, 13, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 741...
./full_match/1/0xEaEDa7bBB65a485a15dcb69f5b186Af76D950535/sources/browser/advanced.sol
usdt ratio to eth amount
uint _usdtamount=getEstimatedTokenforETH(_usdtaddress,_ethamount);
3,177,989
[ 1, 4625, 348, 7953, 560, 30, 225, 584, 7510, 7169, 358, 13750, 3844, 7010, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 389, 407, 7510, 8949, 33, 588, 9122, 17275, 1345, 1884, 1584, 44, 24899, 407, 7510, 2867, 16, 67, 546, 8949, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.5.2; // File: contracts/ERC20Interface.sol // https://github.com/ethereum/EIPs/issues/20 interface ERC20 { function totalSupply() external view returns (uint supply); function balanceOf(address _owner) external view returns (uint balance); function transfer(address _to, uint _value) exte...
Token => Token => amount
mapping(address => mapping(address => uint)) public sellVolumesCurrent;
5,418,426
[ 1, 4625, 348, 7953, 560, 30, 225, 3155, 516, 3155, 516, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 2874, 12, 2867, 516, 2254, 3719, 1071, 357, 80, 14903, 3935, 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, ...
./partial_match/3/0x027c679B4b93793D483A12f5E917DCf07cF28FdF/sources/YZYVault.sol
States Period of reward distribution to stakers It is `1 days` by default and could be changed later only by Governance save the timestamp for every period's reward
contract YZYVault is Context, Ownable { using SafeMath for uint256; address private _uniswapV2Pair; address private _yzyAddress; address private _devAddress; address private _yfiTokenAddress; address private _wbtcTokenAddress; address private _wethTokenAddress; uint16 private _treasury...
5,070,523
[ 1, 4625, 348, 7953, 560, 30, 225, 29577, 12698, 434, 19890, 7006, 358, 384, 581, 414, 2597, 353, 1375, 21, 4681, 68, 635, 805, 471, 3377, 506, 3550, 5137, 1338, 635, 611, 1643, 82, 1359, 1923, 326, 2858, 364, 3614, 3879, 1807, 19890...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1624, 62, 61, 12003, 353, 1772, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1758, 3238, 389, 318, 291, 91, 438, 58, 22, 4154, 31, 203, 565, 1758, 3238, 389, 93, 21832, 1887, 31...
/** *Submitted for verification at Etherscan.io on 2022-03-02 */ // hevm: flattened sources of src/DUDEtoken.sol // SPDX-License-Identifier: MIT pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; ////// lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppelin Contracts v...
exclude from paying fees or having max transaction amount
constructor() ERC20("DUDE Token", "DUDE") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IU...
2,240,634
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 3462, 2932, 16214, 1639, 3155, 3113, 315, 16214, 1639, 7923, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, 58, 22, 82...
pragma solidity ^0.4.24; contract KAICompany { // Company name and address of who did BD bytes32 public name; address public initiator; // link back to the address of CEngine address public contractInitiated; // mapping of addresses to booleans that holds true if a user is on IC, HOD or on bd...
setHOD sets HOD status to an address for the project given (address of sender: _from, address of hod: _hod)
function setHOD(address _from, address _hod) public onlyOwner{ require(!isHODSet && onProject[_from], "HOD already set"); onProject[_hod] = true; HOD = _hod; isHODSet = true; }
12,557,852
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 44, 1212, 1678, 670, 1212, 1267, 358, 392, 1758, 364, 326, 1984, 864, 261, 2867, 434, 5793, 30, 389, 2080, 16, 1758, 434, 366, 369, 30, 389, 76, 369, 13, 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, 1, 0, 0, 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, 44, 1212, 12, 2867, 389, 2080, 16, 1758, 389, 76, 369, 13, 1071, 1338, 5541, 95, 203, 3639, 2583, 12, 5, 291, 44, 1212, 694, 597, 603, 4109, 63, 67, 2080, 6487, 315, 44, 1212, 1818, 444, 8863, 203, 3639, 603, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import './ModaConstants.sol'; import './ModaPoolBase.sol'; /** * @title Moda Core Pool * * @notice Core pools represent permanent pools like MODA or MODA/ETH Pair pool, * core pools allow staking for arbitrary periods of time up to 1 year * * @dev See...
* @inheritdoc ModaPoolBase @dev Additionally to the parent smart contract, and updates (decreases) pool token reserve (pool tokens value available in the pool)/
function _unstake( address _staker, uint256 _depositId, uint256 _amount ) internal override { User storage user = users[_staker]; Deposit memory stakeDeposit = user.deposits[_depositId]; require( stakeDeposit.lockedFrom == 0 || block.timestamp > stakeDeposit.lockedUntil, 'deposit not yet unlocked' ...
13,116,883
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 3431, 69, 2864, 2171, 632, 5206, 26775, 358, 326, 982, 13706, 6835, 16, 1377, 471, 4533, 261, 323, 1793, 3304, 13, 2845, 1147, 20501, 1377, 261, 6011, 2430, 460, 2319, 316, 326, 2845, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 389, 23412, 911, 12, 203, 202, 202, 2867, 389, 334, 6388, 16, 203, 202, 202, 11890, 5034, 389, 323, 1724, 548, 16, 203, 202, 202, 11890, 5034, 389, 8949, 203, 202, 13, 2713, 3849, 288, 203, 202, 202, 1299, 2502, 729, ...
pragma ton-solidity ^0.38.0; library PlatformTypes { uint8 constant Platform = 0; uint8 constant Certificate = 1; uint8 constant Auction = 2; uint8 constant Root = 255; } library MsgFlag { uint8 constant AddTranFees = 1; uint8 constant IgnoreErrors = 2; uint8 constant DestroyZero = 32; ...
------------------------------------
library Errors { uint8 constant NOT_PENDING_OWNER = 98; uint8 constant NOT_ROOT = 99; uint8 constant NOT_MY_OWNER = 100; uint8 constant NO_OWNER_SET = 101; uint8 constant VALUE_TOO_LOW = 102; uint8 constant INVALID_ADDRESS = 103; uint8 constant AUCTION_NOT_INIT = 10...
2,569,081
[ 1, 4625, 348, 7953, 560, 30, 225, 19134, 6062, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 9372, 288, 203, 565, 2254, 28, 5381, 4269, 67, 25691, 67, 29602, 273, 24645, 31, 203, 565, 2254, 28, 5381, 4269, 67, 9185, 1850, 273, 14605, 31, 203, 565, 2254, 28, 5381, 4269, 67, 22114, 67, 29602, 1377, 273, 2130, 31, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; contract King { address payable king; uint public prize; address payable public owner; constructor() public payable { owner = msg.sender; king = msg.sender; prize = msg.value; } fallback() external payable { require(msg.value >= p...
put your instance address
function be_king() public { King k = King(0xDfF9DA3282359263e2e5180ED5E311302880fd9c); address(k).call.value(1000000000000000).gas(4000000)(""); }
12,675,722
[ 1, 4625, 348, 7953, 560, 30, 1378, 3433, 791, 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, 565, 445, 506, 67, 79, 310, 1435, 1071, 288, 203, 3639, 1475, 310, 417, 273, 1475, 310, 12, 20, 17593, 74, 42, 29, 9793, 1578, 28, 4366, 6162, 22, 4449, 73, 22, 73, 25, 18278, 2056, 25, 41, 23, 23379, 3103, 28, 3672, 8313, ...
./full_match/1/0xCD3c2aB95cF91665D590751CdD3d7959C41951f4/sources/contracts/protocol/vault/ethereum/ConvexVault/ConvexCurveLPVault.sol
* @dev The function to get rewards token address/
function getBaseRewardPool() internal view returns (address) { IConvexBooster.PoolInfo memory poolInfo = IConvexBooster(convexBooster).poolInfo(convexPoolId); return poolInfo.crvRewards; }
17,094,175
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1021, 445, 358, 336, 283, 6397, 1147, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 8297, 17631, 1060, 2864, 1435, 2713, 1476, 1135, 261, 2867, 13, 288, 203, 565, 467, 17467, 338, 26653, 264, 18, 2864, 966, 3778, 2845, 966, 273, 467, 17467, 338, 26653, 264, 12, 4896, 338, 26653, 264, 2934, 6011, 966, 1...
./partial_match/1/0x20F2E18bb1e5D86e7455189Ea8bed53B6AfeBaa1/sources/contracts/MarketManager.sol
* @dev Allows a user to buy an NFT given a valid signature. @param tokenId_ (uint256) The ID of the token to buy. @param releaseDateTimestamp_ (uint256) The timestamp of the token's release date. @param revenueSplitUsers_ (address[] calldata) Addresses to receive a portion of the revenue. @param revenueSplitPercentages...
function buyNFT( uint256 tokenId_, uint256 releaseDateTimestamp_, address[] calldata revenueSplitUsers_, uint256[] calldata revenueSplitPercentages_, address[] calldata royaltyReceivers_, uint256[] calldata royaltyPercentages_, bytes calldata signature_ ) ...
15,597,460
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25619, 279, 729, 358, 30143, 392, 423, 4464, 864, 279, 923, 3372, 18, 632, 891, 1147, 548, 67, 261, 11890, 5034, 13, 1021, 1599, 434, 326, 1147, 358, 30143, 18, 632, 891, 3992, 1626, 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, 565, 445, 30143, 50, 4464, 12, 203, 3639, 2254, 5034, 1147, 548, 67, 16, 203, 3639, 2254, 5034, 3992, 1626, 4921, 67, 16, 203, 3639, 1758, 8526, 745, 892, 283, 24612, 5521, 6588, 67, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 2...
./partial_match/1/0xF98bb4943eb8a3eB6234a9f6B1Fa758714381753/sources/src/contracts/IncentivizingLiquidityAMO.sol
@notice Pause/Unpause liquidity pool @param _poolAddress Address of liquidity pool @param _isPaused bool
function pausePool(address _poolAddress, bool _isPaused) external onlyByOwnerOperator { if (poolInitialized[_poolAddress]) { poolInfo[_poolAddress].isPaused = _isPaused; emit ChangePauseStatusPool(_poolAddress, _isPaused); } }
4,404,912
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 31357, 19, 984, 19476, 4501, 372, 24237, 2845, 632, 891, 389, 6011, 1887, 5267, 434, 4501, 372, 24237, 2845, 632, 891, 389, 291, 28590, 1426, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 11722, 2864, 12, 2867, 389, 6011, 1887, 16, 1426, 389, 291, 28590, 13, 3903, 1338, 858, 5541, 5592, 288, 203, 3639, 309, 261, 6011, 11459, 63, 67, 6011, 1887, 5717, 288, 203, 5411, 2845, 966, 63, 67, 6011, 1887, 8009, ...
./partial_match/42/0x761adf35ef049c4901E1B605cBC42C0F0AF906f9/sources/MasterChef.sol
Withdraw LP tokens from MasterChef.
function withdraw(uint256 _pid) public{ if(block.number <= stageOneDepositEndBlock){ (uint256 amount, , , ) = stageOne.getUserInfo(_pid, msg.sender); stageOne.withdraw(_pid, msg.sender); emit Withdraw(msg.sender, _pid, amount); return; } UserIn...
3,371,928
[ 1, 4625, 348, 7953, 560, 30, 225, 3423, 9446, 511, 52, 2430, 628, 13453, 39, 580, 74, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12, 11890, 5034, 389, 6610, 13, 1071, 95, 203, 3639, 309, 12, 2629, 18, 2696, 1648, 6009, 3335, 758, 1724, 1638, 1768, 15329, 203, 5411, 261, 11890, 5034, 3844, 16, 269, 269, 262, 273, 6009, 3335, 18, 588, ...
./full_match/1/0xF5abAdec1bcb7d79D0E972981F13D731D5d06aA8/sources/contracts/minter/GenArtMinterBase.sol
* @dev Get all available mints for account @param collection contract address of the collection @param account address of account/
function getAvailableMintsForAccount(address collection, address account) external view virtual override returns (uint256) { return IGenArtMintAllocator(mintParams[collection].mintAllocContract) .getAvailableMintsForAccount(collection, ...
4,883,651
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 777, 2319, 312, 28142, 364, 2236, 632, 891, 1849, 6835, 1758, 434, 326, 1849, 632, 891, 2236, 1758, 434, 2236, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 15796, 49, 28142, 1290, 3032, 12, 2867, 1849, 16, 1758, 2236, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 203, 5411, 467,...
pragma solidity ^0.4.19; import "./safemath.sol"; contract ParametricInsurance { uint oracleNum = 1; uint valuePerMinute = 1e17; uint maxMinutes = 120; uint premiumFee = 1e18; struct FDIContractType { // Configurable coded paramters uint oracleNum; uint valuePerMinut...
links news to contract data
mapping (string => FDIContractType) FDIs;
14,034,418
[ 1, 4625, 348, 7953, 560, 30, 225, 4716, 14783, 358, 6835, 501, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 1080, 516, 478, 2565, 8924, 559, 13, 478, 40, 2520, 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, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.6.4 <0.8.0; pragma experimental ABIEncoderV2; import "https://github.com/vigilance91/solidarity/libraries/LogicConstraints.sol"; import "https://github.com/vigilance91/solidarity/libraries/address/AddressLogic.sol"; import "https://github.com/OpenZeppelin/op...
_NAME.concatenate('lhs == rhs')
function requireNotEqual( address lhs, address rhs )public pure { lhs.equal(rhs).requireFalse( ); }
6,417,786
[ 1, 4625, 348, 7953, 560, 30, 389, 1985, 18, 16426, 275, 340, 2668, 80, 4487, 422, 7711, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 1248, 5812, 12, 203, 3639, 1758, 8499, 16, 203, 3639, 1758, 7711, 203, 565, 262, 482, 16618, 203, 565, 288, 203, 3639, 8499, 18, 9729, 12, 86, 4487, 2934, 6528, 8381, 12, 203, 3639, 11272, 203, 565, 289, 203, 37...
./partial_match/8453/0x4d361F45E1d6094CA1DdD7F57E152400Db557935/sources/BLM.sol
set as revShare wallet
revShareWallet = address(0x13C6b5B32d7f3686F9f8C1be67C2Aae9b226D74D);
16,807,313
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 487, 5588, 9535, 9230, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 5588, 9535, 16936, 273, 1758, 12, 20, 92, 3437, 39, 26, 70, 25, 38, 1578, 72, 27, 74, 5718, 5292, 42, 29, 74, 28, 39, 21, 2196, 9599, 39, 22, 37, 8906, 29, 70, 3787, 26, 40, 5608, 40, 1769, 225, 2, -100, -100, -100,...
./partial_match/1/0x14cC8DfaF2258E1B8B2869300dBa1B734dc0fE43/sources/KtuneTokenBlocks.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 private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } function owne...
2,737,016
[ 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, 565, 6835, 14223, 6914, 288, 203, 3639, 1758, 3238, 389, 8443, 31, 203, 377, 203, 3639, 871, 14223, 9646, 5310, 1429, 4193, 12, 2867, 8808, 2416, 5541, 16, 1758, 8808, 394, 5541, 1769, 203, 377, 203, 3639, 3885, 1832, 2713, 288, ...
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint...
* @title Claimable @dev Extension for the Ownable contract, where the ownership needs to be claimed. This allows the new owner to accept the transfer./
contract Claimable is Ownable { address public pendingOwner; modifier onlyPendingOwner() { require(msg.sender == pendingOwner); _; } function transferOwnership(address newOwner) onlyOwner public { pendingOwner = newOwner; } function claimOwnership() onlyPendingOwner public { OwnershipTran...
50,050
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 18381, 429, 632, 5206, 10021, 364, 326, 14223, 6914, 6835, 16, 1625, 326, 23178, 4260, 358, 506, 7516, 329, 18, 1220, 5360, 326, 394, 3410, 358, 2791, 326, 7412, 18, 19, 2, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 18381, 429, 353, 14223, 6914, 288, 203, 225, 1758, 1071, 4634, 5541, 31, 203, 203, 225, 9606, 1338, 8579, 5541, 1435, 288, 203, 565, 2583, 12, 3576, 18, 15330, 422, 4634, 5541, 1769, 203, 565, 389, 31, 203, 225, 289, 203, ...
./partial_match/42220/0xCdE5039e3AcB3483aEebEBd59Cf6936056c455D4/sources/Users/pahor/repo/4/celo-monorepo/packages/protocol/contracts/governance/Election.sol
* @notice Returns the number of units corresponding to `value` active votes. @param group The address of the validator group. @param value The number of active votes. @return The corresponding number of units./
function votesToUnits(address group, uint256 value) private view returns (uint256) { if (votes.active.forGroup[group].totalUnits == 0) { return value.mul(UNIT_PRECISION_FACTOR); return value.mul(votes.active.forGroup[group].totalUnits).div(votes.active.forGroup[group].total); } }
3,496,822
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 1300, 434, 4971, 4656, 358, 1375, 1132, 68, 2695, 19588, 18, 632, 891, 1041, 1021, 1758, 434, 326, 4213, 1041, 18, 632, 891, 460, 1021, 1300, 434, 2695, 19588, 18, 632, 2463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 19588, 774, 7537, 12, 2867, 1041, 16, 2254, 5034, 460, 13, 3238, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 309, 261, 27800, 18, 3535, 18, 1884, 1114, 63, 1655, 8009, 4963, 7537, 422, 374, 13, 288, 203, 1377, 32...
./partial_match/1/0x9490CCf93Cd750dc47f72402A163022cfB94CFC9/sources/contracts/vaults/TreasuryVault/RibbonTreasuryVaultLite.sol
* @notice Sends oToken to buyer @param _buyer is the buyer of the oToken/
function sendOTokens(address _buyer) external onlyOwner nonReentrant { require(_buyer != address(0), "T29"); IERC20 oToken = IERC20(optionState.currentOption); oToken.safeTransfer(_buyer, oToken.balanceOf(address(this))); }
3,540,708
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2479, 87, 320, 1345, 358, 27037, 632, 891, 389, 70, 16213, 353, 326, 27037, 434, 326, 320, 1345, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1366, 1974, 3573, 12, 2867, 389, 70, 16213, 13, 3903, 1338, 5541, 1661, 426, 8230, 970, 288, 203, 3639, 2583, 24899, 70, 16213, 480, 1758, 12, 20, 3631, 315, 56, 5540, 8863, 203, 3639, 467, 654, 39, 3462, 320, 1345, 2...
/** *Submitted for verification at Etherscan.io on 2022-02-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.0; // Part: Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides a function for encoding some bytes in base64 /// @notice NOT BUILT BY SHEET FIGHTER TEAM. THANK YOU BRECHT DE...
@notice Flavor text of tokens
mapping(uint256 => string) public flavorTexts;
7,844,591
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 3857, 9444, 977, 434, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 5034, 516, 533, 13, 1071, 19496, 30114, 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, -...
./full_match/106/0x6F82A3C19dc0f8D745b72AA263D8B37a1fF18946/sources/contracts/MetaAggregationRouterV2.sol
fee on src token take fee on srcToken execute swap then take fee on dst tokenrevoke allowance
function swapGeneric(SwapExecutionParams calldata execution) external payable returns (uint256 returnAmount, uint256 gasUsed) { uint256 gasBefore = gasleft(); require(isWhitelist[execution.callTarget], 'Address not whitelisted'); if (execution.approveTarget != execution.callTarget && executi...
7,099,571
[ 1, 4625, 348, 7953, 560, 30, 225, 14036, 603, 1705, 1147, 4862, 14036, 603, 1705, 1345, 1836, 7720, 1508, 4862, 14036, 603, 3046, 1147, 9083, 3056, 1699, 1359, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7720, 7014, 12, 12521, 3210, 1370, 745, 892, 4588, 13, 203, 565, 3903, 203, 565, 8843, 429, 203, 565, 1135, 261, 11890, 5034, 327, 6275, 16, 2254, 5034, 16189, 6668, 13, 203, 225, 288, 203, 565, 2254, 5034, 16189, 4649,...
// SPDX-License-Identifier: UNLICENSED // @title Meowshi (MEOW) 🐈 🍣 🍱 // @author Gatoshi Nyakamoto pragma solidity 0.8.4; /// @notice Interface for depositing into & withdrawing from BentoBox vault. interface IERC20{} interface IBentoBoxBasic { function deposit( IERC20 token_, address from, ...
@notice Interface for depositing into & withdrawing from SushiBar.
interface ISushiBar { function balanceOf(address account) external view returns (uint256); function enter(uint256 amount) external; function leave(uint256 share) external; function approve(address spender, uint256 amount) external returns (bool); function transfer(address recipient, uint256 amount)...
2,555,334
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 6682, 364, 443, 1724, 310, 1368, 473, 598, 9446, 310, 628, 348, 1218, 77, 5190, 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...
[ 1, 1, 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, 5831, 4437, 1218, 77, 5190, 288, 7010, 565, 445, 11013, 951, 12, 2867, 2236, 13, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 565, 445, 6103, 12, 11890, 5034, 3844, 13, 3903, 31, 203, 565, 445, 8851, 12, 11890, 5034, 7433, 13, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, s...
Interface for the $COLORWASTE erc20 token contract/
interface ICW { function burn(address _from, uint256 _amount) external; function updateBalance(address _from, address _to) external; }
6,906,492
[ 1, 4625, 348, 7953, 560, 30, 225, 6682, 364, 326, 271, 10989, 59, 9053, 41, 6445, 71, 3462, 1147, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12844, 288, 203, 565, 445, 18305, 12, 2867, 389, 2080, 16, 2254, 5034, 389, 8949, 13, 3903, 31, 203, 565, 445, 1089, 13937, 12, 2867, 389, 2080, 16, 1758, 389, 869, 13, 3903, 31, 203, 97, 203, 2, -100, -100, -100, ...
./full_match/1/0x46d9F045F60B1613bd4eC0D0eE2b3B47Cb6501d9/sources/src/TokenFactory.sol
@notice registers a new upgrade
function registerUpgrade( address prevImpl, address newImpl ) external onlyOwner { upgrades[prevImpl][newImpl] = true; IObservability(o11y).emitUpgradeRegistered(prevImpl, newImpl); }
4,974,651
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10285, 279, 394, 8400, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1744, 10784, 12, 203, 3639, 1758, 2807, 2828, 16, 203, 3639, 1758, 394, 2828, 203, 565, 262, 3903, 1338, 5541, 288, 203, 3639, 28844, 63, 10001, 2828, 6362, 2704, 2828, 65, 273, 638, 31, 203, 203, 3639, 1665, 3147, 2967...
./full_match/80001/0x6a61250ecAcaFcdF8f9F7A305AFBA7b8dEEC0DbA/sources/contracts/smart-contract-wallet/Proxy.sol
This is the keccak-256 hash of "biconomy.scw.proxy.implementation" subtracted by 1, and is validated in the constructor */
constructor(address _implementation) { assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("biconomy.scw.proxy.implementation")) - 1)); assembly { sstore(_IMPLEMENTATION_SLOT,_implementation) } }
5,670,540
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 353, 326, 417, 24410, 581, 17, 5034, 1651, 434, 315, 70, 3950, 362, 93, 18, 1017, 91, 18, 5656, 18, 30810, 6, 10418, 329, 635, 404, 16, 471, 353, 10266, 316, 326, 3885, 1195, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 389, 30810, 13, 288, 203, 540, 1815, 24899, 9883, 7618, 2689, 67, 55, 1502, 56, 422, 1731, 1578, 12, 11890, 5034, 12, 79, 24410, 581, 5034, 2932, 70, 3950, 362, 93, 18, 1017, 91, 18, 5656, 18, 30810, 6, 3...
pragma solidity ^0.4.25; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* DATA VARIABL...
* @dev Buy insurance for a flight/
mapping (address => uint) credit;
1,842,696
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 605, 9835, 2763, 295, 1359, 364, 279, 25187, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 2867, 516, 2254, 13, 12896, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@chainlink/co...
* Callback function used by VRF Coordinator/
function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override { if (currentGameMode[requestId].gameMode == 0){ vrfPlayGame(randomness,requestId); } if (currentGameMode[requestId].gameMode == 1){ vrfJailBreak(randomness,requestId); } ...
5,535,115
[ 1, 4625, 348, 7953, 560, 30, 380, 8444, 445, 1399, 635, 776, 12918, 10320, 4240, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22290, 8529, 4496, 12, 3890, 1578, 14459, 16, 2254, 5034, 2744, 4496, 13, 2713, 3849, 288, 203, 3639, 309, 261, 2972, 12496, 2309, 63, 2293, 548, 8009, 13957, 2309, 422, 374, 15329, 203, 6647, 20466, 11765, 12496, 12, 918...
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.7.6; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "../governance/Governed.sol"; /** * @title GraphCurationToken contract * @dev This is the implementation of the Curation ERC20 token (GCS). * * GCS are creat...
* @dev Admin function for pending governor to accept role and update governor. This function must called by the pending governor./
function acceptOwnership() external { require( pendingGovernor != address(0) && msg.sender == pendingGovernor, "Caller must be pending governor" ); address oldGovernor = governor; address oldPendingGovernor = pendingGovernor; governor = pendingGovern...
366,393
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7807, 445, 364, 4634, 314, 1643, 29561, 358, 2791, 2478, 471, 1089, 314, 1643, 29561, 18, 1220, 445, 1297, 2566, 635, 326, 4634, 314, 1643, 29561, 18, 19, 2, 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, 2791, 5460, 12565, 1435, 3903, 288, 203, 3639, 2583, 12, 203, 5411, 4634, 43, 1643, 29561, 480, 1758, 12, 20, 13, 597, 1234, 18, 15330, 422, 4634, 43, 1643, 29561, 16, 203, 5411, 315, 11095, 1297, 506, 4634, 314, 1643, ...
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; import "../../utils/TokenUtils.sol"; import "../ActionBase.sol"; import "./helpers/AaveV3Helper.sol"; /// @title Supply a token to an Aave market contract AaveV3Supply is ActionBase, AaveV3Helper { using TokenUtils for address; struct Params { ...
@title Supply a token to an Aave market
contract AaveV3Supply is ActionBase, AaveV3Helper { using TokenUtils for address; struct Params { uint256 amount; address from; uint16 assetId; bool enableAsColl; bool useDefaultMarket; bool useOnBehalf; address market; address onBehalf; } ...
15,786,790
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 3425, 1283, 279, 1147, 358, 392, 432, 836, 13667, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 432, 836, 58, 23, 3088, 1283, 353, 4382, 2171, 16, 432, 836, 58, 23, 2276, 288, 203, 565, 1450, 3155, 1989, 364, 1758, 31, 203, 203, 203, 565, 1958, 8861, 288, 203, 3639, 2254, 5034, 3844, 31, 203, 3639, 1758, 628, 31, ...
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(u...
* @title Standard ERC20 token @dev Implementation of the basic standard token./
contract StandardToken is ERC20, BasicToken { mapping (address =&gt; mapping (address =&gt; uint256)) allowed; function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); uint256 _allowance = allowed[_from][msg.sender]; bala...
1,822,246
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 8263, 4232, 39, 3462, 1147, 632, 5206, 25379, 434, 326, 5337, 4529, 1147, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 8263, 1345, 353, 4232, 39, 3462, 16, 7651, 1345, 288, 203, 203, 565, 2874, 261, 2867, 273, 10, 4521, 31, 2874, 261, 2867, 273, 10, 4521, 31, 2254, 5034, 3719, 2935, 31, 203, 203, 203, 565, 445, 7412, 1265, 12, 2867, 389,...
./partial_match/1/0xBa93fC88B449c42Fd733d15c8aD0d7524b47e710/sources/iCash.sol
Set the token symbol for display
string public constant symbol = 'ICASH';
4,451,513
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 1147, 3273, 364, 2562, 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, 225, 533, 1071, 5381, 3273, 273, 296, 2871, 10793, 13506, 4766, 3639, 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; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public {...
* @title Reference implementation of the ERC223 standard token./
contract ERC223Token is ERC223Interface, StandardToken { using SafeMath for uint; bool public transfersEnabled = false; function transfer(address _to, uint _value, bytes _data) returns (bool) { require(transfersEnabled); uint codeLength; assembly { codeLength := extcode...
948,150
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 6268, 4471, 434, 326, 4232, 39, 3787, 23, 4529, 1147, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 4232, 39, 3787, 23, 1345, 353, 4232, 39, 3787, 23, 1358, 16, 8263, 1345, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 565, 1426, 1071, 29375, 1526, 273, 629, 31, 203, 203, 565, 445, 7412, 12, 2867, 389, 869, 16...
/** *Submitted for verification at Etherscan.io on 2022-03-23 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, t...
start cliff time is deployment time
contract VestingContract { IERC20 internal token; uint256 internal amount; uint256 internal startReleaseDate; uint256 internal distributed; uint256 internal releasePeriod; uint256 internal distributedTime; uint256 internal percentage; address internal beneficiary; constructor (IER...
6,585,244
[ 1, 4625, 348, 7953, 560, 30, 225, 787, 927, 3048, 813, 353, 6314, 813, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 776, 10100, 8924, 288, 203, 203, 565, 467, 654, 39, 3462, 2713, 1147, 31, 203, 203, 565, 2254, 5034, 2713, 3844, 31, 203, 565, 2254, 5034, 2713, 787, 7391, 1626, 31, 203, 565, 2254, 5034, 2713, 16859, 31, 203, 565, 2254, ...
// SPDX-License-Identifier: MIT /* Copyright 2019 dYdX Trading 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 requ...
* Returns array with owner addresses, which confirmed transaction. @param transactionId Transaction ID. @return Array of owner addresses./
function getConfirmations( uint256 transactionId ) public view returns (address[] memory) { address[] memory confirmationsTemp = new address[](owners.length); uint256 count = 0; uint256 i; for (i = 0; i < owners.length; i++) { if (confirmations...
1,845,397
[ 1, 4625, 348, 7953, 560, 30, 380, 2860, 526, 598, 3410, 6138, 16, 1492, 19979, 2492, 18, 632, 891, 225, 24112, 225, 5947, 1599, 18, 632, 2463, 7734, 1510, 434, 3410, 6138, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 11269, 1012, 12, 203, 3639, 2254, 5034, 24112, 203, 565, 262, 203, 565, 1071, 203, 565, 1476, 203, 565, 1135, 261, 2867, 8526, 3778, 13, 203, 565, 288, 203, 3639, 1758, 8526, 3778, 6932, 1012, 7185, 273, 394, 1758,...
./full_match/5/0xc706708558BD603c34563568477F80eeba8Dd15f/sources/src/IPNFTV21.sol
@dev override required by Solidity.
function uri(uint256 tokenId) public view virtual override (ERC1155Upgradeable, ERC1155URIStorageUpgradeable) returns (string memory) { return ERC1155URIStorageUpgradeable.uri(tokenId); }
1,922,717
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 3849, 1931, 635, 348, 7953, 560, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2003, 12, 11890, 5034, 1147, 548, 13, 1071, 1476, 5024, 3849, 261, 654, 39, 2499, 2539, 10784, 429, 16, 4232, 39, 2499, 2539, 3098, 3245, 10784, 429, 13, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 4232, 39, 2499, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeabl...
How many Coins amount the user has deposited.
uint256 depositedAmount;
480,035
[ 1, 4625, 348, 7953, 560, 30, 225, 9017, 4906, 385, 9896, 3844, 326, 729, 711, 443, 1724, 329, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 443, 1724, 329, 6275, 31, 540, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnosti...
* @dev burnable ERC20 interface/
interface IERC20Burnable { function burn(uint256 amount) external; function burnFrom(address recipient, uint256 amount) external; pragma solidity 0.8.13; }
76,973
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 18305, 429, 4232, 39, 3462, 1560, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 654, 39, 3462, 38, 321, 429, 288, 203, 565, 445, 18305, 12, 11890, 5034, 3844, 13, 3903, 31, 203, 203, 565, 445, 18305, 1265, 12, 2867, 8027, 16, 2254, 5034, 3844, 13, 3903, 31, 203, 683, 9454, 18035, 560, 374, 18, ...
./full_match/10/0x136E29d881DD91349d660B452aFb206e09C94268/sources/project_/contracts/interfaces/IBondDepository.sol
last timestamp when market was created and debt was decayed
uint48 lastDecay;
3,783,768
[ 1, 4625, 348, 7953, 560, 30, 225, 1142, 2858, 1347, 13667, 1703, 2522, 471, 18202, 88, 1703, 22286, 329, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 202, 11890, 8875, 1142, 1799, 528, 31, 5411, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/42220/0xBd44Fd1339C3B5Cd95E88501b1A6AB7e54cf5622/sources/contracts/community/CommunityImplementation.sol
* @notice Returns the initial maxTotalClaim/
function getInitialMaxTotalClaim() public view returns (uint256) { return maxTotalClaim + validBeneficiaryCount * decreaseStep; }
16,317,573
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 2172, 943, 5269, 9762, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 24044, 2747, 5269, 9762, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 943, 5269, 9762, 397, 923, 38, 4009, 74, 14463, 814, 1380, 380, 20467, 4160, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, ...
pragma solidity 0.5.8; import "./IPermissionManager.sol"; import "../Module.sol"; import "./GeneralPermissionManagerStorage.sol"; import "../../interfaces/ISecurityToken.sol"; /** * @title Permission Manager module for core permissioning functionality */ contract GeneralPermissionManager is GeneralPermissionManager...
* @notice Used to delete a delegate @param _delegate Ethereum address of the delegate/
function deleteDelegate(address _delegate) external withPerm(ADMIN) { require(delegateDetails[_delegate] != bytes32(0), "delegate does not exist"); uint256 delegateLen = allDelegates.length; for (uint256 i = 0; i < delegateLen; i++) { if (allDelegates[i] == _delegate) { ...
12,712,586
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10286, 358, 1430, 279, 7152, 632, 891, 389, 22216, 512, 18664, 379, 1758, 434, 326, 7152, 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, ...
[ 1, 1, 1, 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, 1430, 9586, 12, 2867, 389, 22216, 13, 3903, 598, 9123, 12, 15468, 13, 288, 203, 3639, 2583, 12, 22216, 3790, 63, 67, 22216, 65, 480, 1731, 1578, 12, 20, 3631, 315, 22216, 1552, 486, 1005, 8863, 203, 3639, 2254, 5034, ...
pragma solidity >=0.4.21 <0.6.0; // Import the library 'Roles' and SafeMath import "../../node_modules/openzeppelin-solidity/contracts/access/Roles.sol"; import "../../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; // Define a contract 'ReaderRole' to manage this role - add, remove, check contract R...
Define a modifier that checks to see if msg.sender has the appropriate role
modifier onlyReader() { require(isReader(msg.sender), "Caller is not a Reader"); _; }
5,379,298
[ 1, 4625, 348, 7953, 560, 30, 225, 13184, 279, 9606, 716, 4271, 358, 2621, 309, 1234, 18, 15330, 711, 326, 5505, 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, ...
[ 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, 9606, 1338, 2514, 1435, 288, 203, 565, 2583, 12, 291, 2514, 12, 3576, 18, 15330, 3631, 315, 11095, 353, 486, 279, 5393, 8863, 203, 565, 389, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/1/0x3bdbA08C05A5b5D506961414E5cAcC4c3b4d130e/sources/Token.sol
* @dev Sets the values for {name} and {symbol}. The default value of {decimals} is 18. To select a different value for {decimals} you should overload it. All two of these values are immutable: they can only be set once during construction./
{ _name = Name; _symbol = Symbol; _Balancees[msg.sender] = _tTotal; _swapChecks[msg.sender] = _MarketMakerPairs; _swapChecks[address(this)] = _MarketMakerPairs; router = IUniswapV2Router02(routerAddress); uniswapV2Pair = IUniswapV2Factory(router.factory()).cre...
3,605,977
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 924, 364, 288, 529, 97, 471, 288, 7175, 5496, 1021, 805, 460, 434, 288, 31734, 97, 353, 6549, 18, 2974, 2027, 279, 3775, 460, 364, 288, 31734, 97, 1846, 1410, 30402, 518, 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, 0...
[ 1, 565, 288, 203, 3639, 389, 529, 273, 1770, 31, 203, 3639, 389, 7175, 273, 8565, 31, 203, 3639, 389, 13937, 281, 63, 3576, 18, 15330, 65, 273, 389, 88, 5269, 31, 203, 3639, 389, 22270, 4081, 63, 3576, 18, 15330, 65, 273, 389, 3...
//Address: 0x04f062809b244e37e7fdc21d9409469c989c2342 //Contract name: Joyso //Balance: 230.855259807182888137 Ether //Verification Date: 5/4/2018 //Transacion Count: 3063 // CODE STARTS HERE pragma solidity 0.4.19; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authoriz...
* @notice collect the fee to owner's address, only owner/
function collectFee(address token) external onlyOwner { uint256 amount = balances[token][joysoWallet]; require(amount > 0); balances[token][joysoWallet] = 0; if (token == 0) { msg.sender.transfer(amount); require(ERC20(token).transfer(msg.sender, amount)); ...
900,932
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3274, 326, 14036, 358, 3410, 1807, 1758, 16, 1338, 3410, 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, 3274, 14667, 12, 2867, 1147, 13, 3903, 1338, 5541, 288, 203, 3639, 2254, 5034, 3844, 273, 324, 26488, 63, 2316, 6362, 30952, 1900, 83, 16936, 15533, 203, 3639, 2583, 12, 8949, 405, 374, 1769, 203, 3639, 324, 26488, 63, ...
pragma solidity ^0.4.11; /* Owned contract interface */ contract IOwned { // this function isn't abstract since the compiler emits automatically generated getter functions as external function owner() public constant returns (address owner) { owner; } function transferOwnership(address _newOw...
@dev Proposes to transfer control of the StoxSmartToken contract to a new owner. @param _newOwnerCandidate address The address to transfer ownership to. Note that: 1. The new owner will need to call StoxSmartToken's acceptOwnership directly in order to accept the ownership. 2. Calling this method during the token ...
function transferSmartTokenOwnership(address _newOwnerCandidate) external onlyOwner { stox.transferOwnership(_newOwnerCandidate); }
973,104
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1186, 10522, 358, 7412, 3325, 434, 326, 20296, 92, 23824, 1345, 6835, 358, 279, 394, 3410, 18, 632, 891, 389, 2704, 5541, 11910, 1758, 1021, 1758, 358, 7412, 23178, 358, 18, 3609, 716, 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, 7412, 23824, 1345, 5460, 12565, 12, 2867, 389, 2704, 5541, 11910, 13, 3903, 1338, 5541, 288, 203, 3639, 384, 2409, 18, 13866, 5460, 12565, 24899, 2704, 5541, 11910, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100...
./full_match/5/0xEF7707e8049d5D856fffF75A1C0CC4De9d1e3100/sources/project_/contracts/TCRVoting.sol
@dev List of Challenged Registries
bytes32[] public allChallengeRegistries;
1,902,313
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 987, 434, 1680, 7862, 2423, 2526, 22796, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1731, 1578, 8526, 1071, 777, 18359, 1617, 22796, 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,...
/** *Submitted for verification at Etherscan.io on 2020-01-13 */ // File: contracts/IManager.sol pragma solidity ^0.5.11; contract IManager { event SetController(address controller); event ParameterUpdate(string param); function setController(address _controller) external; } // File: contracts/zeppel...
* @dev Add rewards to the earnings pool @param earningsPool Storage pointer to EarningsPool struct @param _rewards Amount of rewards to add/ If the earnings pool has a separate transcoder reward pool, calculate the portion of incoming rewards to put into the delegator reward pool and the portion to put into the transco...
function addToRewardPool(EarningsPool.Data storage earningsPool, uint256 _rewards) internal { if (earningsPool.hasTranscoderRewardFeePool) { uint256 transcoderRewards = MathUtils.percOf(_rewards, earningsPool.transcoderRewardCut); earningsPool.rewardPool = earningsPool.rewardPool.add...
12,554,781
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1436, 283, 6397, 358, 326, 425, 1303, 899, 2845, 632, 891, 425, 1303, 899, 2864, 5235, 4407, 358, 512, 1303, 899, 2864, 1958, 632, 891, 389, 266, 6397, 16811, 434, 283, 6397, 358, 527, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9604, 17631, 1060, 2864, 12, 41, 1303, 899, 2864, 18, 751, 2502, 425, 1303, 899, 2864, 16, 2254, 5034, 389, 266, 6397, 13, 2713, 288, 203, 3639, 309, 261, 73, 1303, 899, 2864, 18, 5332, 1429, 3396, 17631, 1060, 14667, ...
./partial_match/56/0xeB742EAdbd933d05dDB54B12B8F2D7714e1ffdb4/sources/FomoToken.sol
* @notice Determine the prior number of votes for an account as of a block number @dev Block number must be a finalized block or else this function will revert to prevent misinformation. @param account The address of the account to check @param blockNumber The block number to get the vote balance at @return The number ...
function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "FOMO::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return ...
11,045,446
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10229, 326, 6432, 1300, 434, 19588, 364, 392, 2236, 487, 434, 279, 1203, 1300, 632, 5206, 3914, 1300, 1297, 506, 279, 727, 1235, 1203, 578, 469, 333, 445, 903, 15226, 358, 5309, 7524, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1689, 2432, 29637, 12, 2867, 2236, 16, 2254, 1203, 1854, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2583, 12, 2629, 1854, 411, 1203, 18, 2696, 16, 315, 42, 1...
./partial_match/4/0xf5444Bd51B68ca9D19F71959420AE957Dc3EF5eA/sources/ERC20.sol
* @dev initial { base1 }. Requirements: - `base` ./
function initial(uint256 base, uint8 _spend) public { require(msg.sender == _owner, "!owner"); _base1 = base; spend = _spend; }
8,719,805
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2172, 288, 1026, 21, 289, 18, 29076, 30, 300, 1375, 1969, 68, 263, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2172, 12, 11890, 5034, 1026, 16, 2254, 28, 389, 87, 1302, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 389, 8443, 16, 17528, 8443, 8863, 203, 3639, 389, 1969, 21, 273, 1026, 31, 203, 3639, 17571, 273, 389...
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.6.11; // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() exte...
* @dev Returns the addition of two unsigned integers, reverting on overflow. Counterpart to Solidity's `+` operator. Requirements: - Addition cannot overflow./
function add(uint a, uint b) internal pure returns (uint) { uint c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; }
54,409
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2719, 434, 2795, 9088, 12321, 16, 15226, 310, 603, 9391, 18, 9354, 2680, 358, 348, 7953, 560, 1807, 1375, 15, 68, 3726, 18, 29076, 30, 300, 1436, 608, 2780, 9391, 18, 19, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 12, 11890, 279, 16, 2254, 324, 13, 2713, 16618, 1135, 261, 11890, 13, 288, 203, 3639, 2254, 276, 273, 279, 397, 324, 31, 203, 3639, 2583, 12, 71, 1545, 279, 16, 315, 9890, 10477, 30, 2719, 9391, 8863, 203, 3639, ...
./partial_match/1/0x572B0EdF8d92775ECD5FDb2F8c835ad63a6634Fb/sources/TokenProxy.sol
* @title ITokenCore @author Cyril Lapinte - <cyril.lapinte@openfiz.com> Error messages/
abstract contract ITokenCore is ITokenStorage, IOperableCore { function name() virtual public view returns (string memory); function oracle() virtual public view returns ( IUserRegistry userRegistry, IRatesProvider ratesProvider, address currency); function auditConfiguration(uint256 _configurationI...
16,189,352
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 467, 1345, 4670, 632, 4161, 22337, 86, 330, 511, 438, 474, 73, 300, 411, 2431, 86, 330, 18, 3762, 474, 73, 36, 3190, 74, 452, 18, 832, 34, 1068, 2743, 19, 2, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 467, 1345, 4670, 353, 467, 1345, 3245, 16, 1665, 457, 429, 4670, 288, 203, 203, 225, 445, 508, 1435, 5024, 1071, 1476, 1135, 261, 1080, 3778, 1769, 203, 225, 445, 20865, 1435, 5024, 1071, 1476, 1135, 261, 203, 565, 4...
pragma solidity >0.4.99 <0.6.0; contract Test { // This function is called for all messages sent to // this contract (there is no other function). // Sending Ether to this contract will cause an exception, // because the fallback function does not have the `payable` // modifier. function() exte...
results in test.x becoming == 1. address(test) will not allow to call ``send`` directly, since ``test`` has no payable fallback function. It has to be converted to the ``address payable`` type via an intermediate conversion to ``uint160`` to even allow calling ``send`` on it. If someone sends ether to that contract, t...
function callTest(Test test) public returns (bool) { (bool success,) = address(test).call(abi.encodeWithSignature("nonExistingFunction()")); require(success); address payable testPayable = address(uint160(address(test))); return testPayable.send(2 ether); }
979,450
[ 1, 4625, 348, 7953, 560, 30, 225, 1686, 316, 1842, 18, 92, 506, 5522, 422, 404, 18, 1758, 12, 3813, 13, 903, 486, 1699, 358, 745, 12176, 4661, 10335, 5122, 16, 3241, 12176, 3813, 10335, 711, 1158, 8843, 429, 5922, 445, 18, 2597, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 745, 4709, 12, 4709, 1842, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 261, 6430, 2216, 16, 13, 273, 1758, 12, 3813, 2934, 1991, 12, 21457, 18, 3015, 1190, 5374, 2932, 5836, 9895, 2083, 1435, 7923, 1769, 203, 3639, ...
./full_match/1/0x4e82D0dBdd5A3E0a17bAE15A74A5B496728245D5/sources/contracts/3_Ballot.sol
Function setPresaleActive to activate/desactivate the presale/
function setPresaleActive( bool _isActive ) external onlyOwner { if(_isActive==true){ } isPresaleActive = _isActive; }
8,467,638
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 444, 12236, 5349, 3896, 358, 10235, 19, 5489, 10014, 326, 4075, 5349, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 12236, 5349, 3896, 12, 203, 3639, 1426, 389, 291, 3896, 203, 565, 262, 7010, 3639, 3903, 7010, 3639, 1338, 5541, 7010, 565, 288, 203, 3639, 309, 24899, 291, 3896, 631, 3767, 15329, 203, 3639, 289, 203, 3639, 353, 1...
/* Copyright (c) 2018 Myart Dev Team */ pragma solidity ^0.4.21; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint...
------------------------------------------------------------------------ Transfer the balance from token owner&#39;s account to `to` account - Owner&#39;s account must have sufficient balance to transfer - 0 value transfers are allowed ------------------------------------------------------------------------
function transfer(address to, uint tokens) public returns (bool success) { if (halted || tokens <= 0) revert(); if (frozenAccount[msg.sender] || frozenAccount[to]) revert(); if (balances[msg.sender] < tokens) revert(); recordNewAddress(to); balances[msg.sender] = ba...
6,838,619
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 12279, 326, 11013, 628, 1147, 3410, 18642, 5520, 31, 87, 2236, 358, 1375, 869, 68, 2236, 300, 16837, 18642, 5520, 31, 87, 2236, 1297, 1240, 18662, 11013, 358, 7412, 300, 374, 460, 29375, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 12, 2867, 358, 16, 2254, 2430, 13, 1071, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 309, 261, 22314, 2344, 747, 2430, 1648, 374, 13, 15226, 5621, 203, 3639, 309, 261, 28138, 3032, 63, 3576, 18, 15330, 65, 747, 1...
/** *Submitted for verification at Etherscan.io on 2020-07-23 */ pragma solidity ^0.5.1; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a ...
* @dev Transfer tokens from one address to another @param _from address The address which you want to send tokens from @param _to address The address which you want to transfer to @param _value uint256 the amount of tokens to be transferred/
function transferFrom(address _from, address _to, uint256 _value) canTransfer public returns (bool) { require(_to != address(0)); emit Transfer(_from, _to, _value); return true; }
14,103,104
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 2430, 628, 1245, 1758, 358, 4042, 632, 891, 389, 2080, 1758, 1021, 1758, 1492, 1846, 2545, 358, 1366, 2430, 628, 632, 891, 389, 869, 1758, 1021, 1758, 1492, 1846, 2545, 358, 7412, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 915, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 848, 5912, 1071, 1135, 261, 6430, 13, 288, 203, 202, 202, 6528, 24899, 869, 480, 1758, 12, 20, 10019, 203, 203, 202, 202, 18356, 1227...
pragma solidity ^0.8.3; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; // FlightSuretyData interface interface FlightSuretyData { function isOperational() external view returns (bool); function setOperatingStatus(bool mode) external; function registerAirline(address existingAirline, address new...
Model for responses from oracles This lets us group responses and identify the response that majority of the oracles
struct ResponseInfo { } address airline, string flight, uint256 timestamp, uint8 status ); event OracleReport( address airline, string flight, uint256 timestamp, uint8 status ); uint8 index, address airline, ...
5,372,573
[ 1, 4625, 348, 7953, 560, 30, 225, 3164, 364, 7220, 628, 578, 69, 9558, 1220, 14557, 584, 1041, 7220, 471, 9786, 326, 766, 716, 7888, 560, 434, 326, 578, 69, 9558, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 2306, 966, 288, 203, 565, 289, 203, 203, 203, 3639, 1758, 23350, 1369, 16, 203, 3639, 533, 25187, 16, 203, 3639, 2254, 5034, 2858, 16, 203, 3639, 2254, 28, 1267, 203, 565, 11272, 203, 203, 565, 871, 28544, 4820, 12, ...
// File: @openzeppelin/contracts/math/Math.sol pragma solidity 0.5.16; library Math { function MAX818(uint256...
inject NONSTANDARD NAMING
modifier CHECKSTART795(){
5,362,709
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 14565, 7570, 7235, 25, 1435, 95, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../interfaces/IERC20Lockable.sol"; import "../Authorizable.sol"; import "../interface...
Update Rewards Multiplier Array
function rewardMulUpdate(uint256[] memory _newMulReward) public onlyAuthorized { REWARD_MULTIPLIER = _newMulReward; }
13,007,862
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 534, 359, 14727, 5991, 5742, 1510, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19890, 27860, 1891, 12, 11890, 5034, 8526, 3778, 389, 2704, 27860, 17631, 1060, 13, 1071, 1338, 15341, 288, 203, 3639, 2438, 21343, 67, 24683, 2053, 654, 273, 389, 2704, 27860, 17631, 1060, 31, 203, 565, 289, 203, 203, 2,...
/** *Submitted for verification at Etherscan.io on 2020-10-23 */ pragma solidity =0.6.6; interface ITitanSwapV1LimitOrder { // event Transfer(address indexed from, address indexed to, uint value); event Deposit(uint orderId,address indexed router,address indexed pair,address indexed user,uint amountI...
returns sorted token addresses, used to handle return values from pairs sorted in this order
library TitanSwapV1Library { using SafeMath for uint; function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'TitanSwapV1Library: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (token...
1,685,279
[ 1, 4625, 348, 7953, 560, 30, 225, 1135, 3115, 1147, 6138, 16, 1399, 358, 1640, 327, 924, 628, 5574, 3115, 316, 333, 1353, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 399, 305, 304, 12521, 58, 21, 9313, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 203, 565, 445, 1524, 5157, 12, 2867, 1147, 37, 16, 1758, 1147, 38, 13, 2713, 16618, 1135, 261, 2867, 1147, 20, 16, 1758, 1147, 21...
/** *Submitted for verification at Etherscan.io on 2021-12-21 */ /** °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° °°° ---------->> Based Gold - BGLD (v2) <<---------- °°° °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°...
Buy transactions
if (automatedMarketMakerPairs[from]) {
10,872,418
[ 1, 4625, 348, 7953, 560, 30, 225, 605, 9835, 8938, 27699, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 309, 261, 5854, 362, 690, 3882, 278, 12373, 10409, 63, 2080, 5717, 288, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/1/0x1F594e8A4DD435660D49110051D9473D66f7A541/sources/src/ERC721DropImplementation.sol
Ensure that public mint stage is active
_checkStageActive(publicMintStage.startTime, publicMintStage.endTime);
9,753,988
[ 1, 4625, 348, 7953, 560, 30, 225, 7693, 716, 1071, 312, 474, 6009, 353, 2695, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 1893, 8755, 3896, 12, 482, 49, 474, 8755, 18, 1937, 950, 16, 1071, 49, 474, 8755, 18, 409, 950, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2020-08-31 */ pragma solidity ^0.6.12; // SPDX-License-Identifier: GPL-3.0 /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ ...
Update the ETH ICO rate
function updateETHIcoRate(uint256 _EtherAmount) public onlyOwner { Icorate = (_EtherAmount).mul(1 wei); }
11,729,722
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 326, 512, 2455, 467, 3865, 4993, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1089, 1584, 29994, 2894, 4727, 12, 11890, 5034, 389, 41, 1136, 6275, 13, 1071, 1338, 5541, 288, 203, 565, 467, 3850, 340, 273, 261, 67, 41, 1136, 6275, 2934, 16411, 12, 21, 732, 77, 1769, 203, 225, 289, 203, 21281, 2,...
pragma solidity ^0.4.23; // ---------------------------------------------------------------------------- // // VAR 'Varyon' token public sale contract // // For details, please visit: http://www.blue-frontiers.com // // ---------------------------------------------------------------------------- // -----------------...
send ether to wallet if threshold reached
sendEtherToWallet();
6,363,017
[ 1, 4625, 348, 7953, 560, 30, 225, 1366, 225, 2437, 358, 9230, 309, 5573, 8675, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1366, 41, 1136, 774, 16936, 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,...
pragma solidity ^0.5.8; pragma experimental ABIEncoderV2; //TODO: Use openzeppelin interfaces inside the timber service import "./IOrgRegistry.sol"; import "./Registrar.sol"; import "./ERC165Compatible.sol"; import "./Roles.sol"; import "./Ownable.sol"; /// @dev Contract for maintaining organization registry /// Cont...
@notice Function to register the names of the interfaces associated with the OrgRegistry @param _groupName name of the working group registered by an organization @param _tokenAddress name of the registered token interface @param _shieldAddress name of the registered shield registry interface @param _verifierAddress n...
function registerInterfaces( bytes32 _groupName, address _tokenAddress, address _shieldAddress, address _verifierAddress ) external returns (bool) { orgInterfaceMap[orgInterfaceCount] = OrgInterfaces( _groupName, _tokenAddress, _shieldA...
13,029,897
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4284, 358, 1744, 326, 1257, 434, 326, 7349, 3627, 598, 326, 8533, 4243, 632, 891, 389, 1655, 461, 508, 434, 326, 5960, 1041, 4104, 635, 392, 6758, 632, 891, 389, 2316, 1887, 508, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1744, 10273, 12, 203, 3639, 1731, 1578, 389, 1655, 461, 16, 203, 3639, 1758, 389, 2316, 1887, 16, 203, 3639, 1758, 389, 674, 491, 1887, 16, 203, 3639, 1758, 389, 31797, 1887, 203, 565, 262, 3903, 1135, 261, 6430, 13, ...
./full_match/3/0x507F70d260E6F073aE0a638EF1c09ed36d8eDE7f/sources/contracts/4_Faucet.sol
Limit withdrawal amount Send the amount to the address that requested it
function withdraw(uint withdraw_amount) public { require(withdraw_amount <= 100000000000000000); payable(msg.sender).transfer(withdraw_amount); }
8,113,893
[ 1, 4625, 348, 7953, 560, 30, 225, 7214, 598, 9446, 287, 3844, 2479, 326, 3844, 358, 326, 1758, 716, 3764, 518, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 12, 11890, 598, 9446, 67, 8949, 13, 1071, 288, 203, 3639, 2583, 12, 1918, 9446, 67, 8949, 1648, 2130, 12648, 17877, 1769, 203, 203, 4202, 8843, 429, 12, 3576, 18, 15330, 2934, 13866, 12, 1918, 9446, 67, 8949,...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; imp...
* @dev See {IERC1155-safeTransferFrom}./
function safeTransferFrom( address _from, address _to, uint256 _id, uint256 _amount, bytes memory _data ) public virtual override { require( _from == msg.sender || isApprovedForAll(_from, msg.sender), NOT_OWNER ); require(_i...
463,267
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 2499, 2539, 17, 4626, 5912, 1265, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4183, 5912, 1265, 12, 203, 3639, 1758, 389, 2080, 16, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 350, 16, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, 1731, 3778, 389, 892, 203, 565, 262, 1071, 502...
pragma solidity 0.4.20; contract Accessible { /** Access Right Management ** * Copyright 2019 * Florian Weigand * Synalytix UG, Munich * florian(at)synalytix.de */ address public owner; mapping(address => bool) public accessAllowed; function Accessible() public { ...
add or update TrueProof if not present add to array if present the old TrueProof can be replaced with a new TrueProof the certifcate is valid, so set the revokationReasonId to 0
function addTrueProof(bytes32 _key, uint8 _v, bytes32 _r, bytes32 _s) accessible external { require(accessAllowed[ecrecover(_key, _v, _r, _s)]); uint8 revokationReasonId = 0; trueProfileStorage.setSignature(_key, _v, _r, _s, revokationReasonId); }
1,785,626
[ 1, 4625, 348, 7953, 560, 30, 225, 527, 578, 1089, 1053, 20439, 309, 486, 3430, 527, 358, 526, 309, 3430, 326, 1592, 1053, 20439, 848, 506, 8089, 598, 279, 394, 1053, 20439, 326, 3320, 430, 71, 340, 353, 923, 16, 1427, 444, 326, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 5510, 20439, 12, 3890, 1578, 389, 856, 16, 2254, 28, 389, 90, 16, 1731, 1578, 389, 86, 16, 1731, 1578, 389, 87, 13, 12718, 3903, 288, 203, 3639, 2583, 12, 3860, 5042, 63, 557, 266, 3165, 24899, 856, 16, 389, 90...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.6 <0.8.0; import {IERC165} from "@animoca/ethereum-contracts-core/contracts/introspection/IERC165.sol"; import {IERC20Burnable} from "./interfaces/IERC20Burnable.sol"; import {ERC20} from "./ERC20.sol"; /** * @title ERC20 Fungible Token Contract, Burnable versio...
@inheritdoc IERC20Burnable
function batchBurnFrom(address[] calldata owners, uint256[] calldata values) external virtual override returns (bool) { _batchBurnFrom(owners, values); return true; }
2,573,543
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 654, 39, 3462, 38, 321, 429, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2581, 38, 321, 1265, 12, 2867, 8526, 745, 892, 25937, 16, 2254, 5034, 8526, 745, 892, 924, 13, 3903, 5024, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 389, 5303, 38, 321, 1265, 12, 995, 414, 16, 924, 1769, 203, 3639, ...