Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 412 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 14538011 | 991 days ago | IN | 0 ETH | 0.00425045 | ||||
Claim | 14537661 | 991 days ago | IN | 0 ETH | 0.00450775 | ||||
Claim | 14537401 | 991 days ago | IN | 0 ETH | 0.00426383 | ||||
Claim | 14536812 | 991 days ago | IN | 0 ETH | 0.00240735 | ||||
Claim | 14536808 | 991 days ago | IN | 0 ETH | 0.00518249 | ||||
Claim | 14534612 | 991 days ago | IN | 0 ETH | 0.00377755 | ||||
Claim | 14533292 | 991 days ago | IN | 0 ETH | 0.00849533 | ||||
Claim | 14531490 | 992 days ago | IN | 0 ETH | 0.00325143 | ||||
Claim | 14529764 | 992 days ago | IN | 0 ETH | 0.00727749 | ||||
Claim | 14529655 | 992 days ago | IN | 0 ETH | 0.00790807 | ||||
Claim | 14528618 | 992 days ago | IN | 0 ETH | 0.00689419 | ||||
Claim | 14527227 | 992 days ago | IN | 0 ETH | 0.01158535 | ||||
Claim | 14526142 | 992 days ago | IN | 0 ETH | 0.00560907 | ||||
Claim | 14523505 | 993 days ago | IN | 0 ETH | 0.00565296 | ||||
Claim | 14523353 | 993 days ago | IN | 0 ETH | 0.00598951 | ||||
Claim | 14521871 | 993 days ago | IN | 0 ETH | 0.00812311 | ||||
Claim | 14520319 | 993 days ago | IN | 0 ETH | 0.00896215 | ||||
Claim | 14519385 | 993 days ago | IN | 0 ETH | 0.00411741 | ||||
Claim | 14518712 | 994 days ago | IN | 0 ETH | 0.00327418 | ||||
Claim | 14518282 | 994 days ago | IN | 0 ETH | 0.0050877 | ||||
Claim | 14518115 | 994 days ago | IN | 0 ETH | 0.00413902 | ||||
Claim | 14517760 | 994 days ago | IN | 0 ETH | 0.00433795 | ||||
Claim | 14516411 | 994 days ago | IN | 0 ETH | 0.00332653 | ||||
Claim | 14515948 | 994 days ago | IN | 0 ETH | 0.00436231 | ||||
Claim | 14513065 | 994 days ago | IN | 0 ETH | 0.00420742 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FraktalBonusAirdrop
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /*** * _ _ _ ___ * /_`/_//_//_///_// * / / \/ //`\// //_, * */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import {IERC20, SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract FraktalBonusAirdrop is Pausable, ReentrancyGuard, Ownable { using SafeERC20 for IERC20; IERC20 public immutable fraktalToken; uint256 public immutable MAXIMUM_AMOUNT_TO_CLAIM; bool public isMerkleRootSet; bytes32 public merkleRoot; uint256 public endTimestamp; uint256 public startBlock; mapping(address => bool) public hasClaimed; event AirdropRewardsClaim(address indexed user, uint256 amount); event MerkleRootSet(bytes32 merkleRoot); event NewEndTimestamp(uint256 endTimestamp); event TokensWithdrawn(uint256 amount); constructor( uint256 _endTimestamp,//1649332800 uint256 _maximumAmountToClaim,//150000 address _fraktalToken,//0x1f81f8f262714cc932141c7C79495B481eF27258 bytes32 _merkleRoot//0x960faec7cb7a86f2f83ba4f6e5b24d1e225fa3ce0f381018a16cdfe15dac14f2 ) { startBlock = block.timestamp; endTimestamp = _endTimestamp; MAXIMUM_AMOUNT_TO_CLAIM = _maximumAmountToClaim; fraktalToken = IERC20(_fraktalToken); merkleRoot = _merkleRoot; isMerkleRootSet = true; } function claim( uint256 amount, bytes32[] calldata merkleProof ) external whenNotPaused nonReentrant { require(isMerkleRootSet, "Airdrop: Merkle root not set"); require(amount <= MAXIMUM_AMOUNT_TO_CLAIM, "Airdrop: Amount too high"); require(block.timestamp > startBlock, "Airdrop: Too early to claim"); require(block.timestamp <= endTimestamp, "Airdrop: Too late to claim"); require(amount > 0, "Airdrop: Amount to low"); // Verify the user has claimed require(!hasClaimed[msg.sender], "Airdrop: Already claimed"); // Compute the node and verify the merkle proof bytes32 node = keccak256(abi.encodePacked(msg.sender,amount)); require(MerkleProof.verify(merkleProof, merkleRoot, node), "Airdrop: Invalid proof"); // Set as claimed hasClaimed[msg.sender] = true; // parse to Fraktal distribution uint256 frakAmount = amount * 10**18; // Transfer tokens fraktalToken.safeTransfer(msg.sender, frakAmount); emit AirdropRewardsClaim(msg.sender, frakAmount); } function canClaim( address user, uint256 amount, bytes32[] calldata merkleProof ) external view returns (bool) { if (block.timestamp <= endTimestamp) { // Compute the node and verify the merkle proof bytes32 node = keccak256(abi.encodePacked(user,amount)); return MerkleProof.verify(merkleProof, merkleRoot, node); } else { return false; } } function pauseAirdrop() external onlyOwner whenNotPaused { _pause(); } function unpauseAirdrop() external onlyOwner whenPaused { _unpause(); } function updateEndTimestamp(uint256 newEndTimestamp) external onlyOwner { require(block.timestamp + 30 days > newEndTimestamp, "Owner: New timestamp too far"); endTimestamp = newEndTimestamp; emit NewEndTimestamp(newEndTimestamp); } function withdrawTokenRewards() external onlyOwner { require(block.timestamp > (endTimestamp + 1 days), "Owner: Too early to remove rewards"); uint256 balanceToWithdraw = fraktalToken.balanceOf(address(this)); fraktalToken.safeTransfer(msg.sender, balanceToWithdraw); emit TokensWithdrawn(balanceToWithdraw); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_endTimestamp","type":"uint256"},{"internalType":"uint256","name":"_maximumAmountToClaim","type":"uint256"},{"internalType":"address","name":"_fraktalToken","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AirdropRewardsClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"MerkleRootSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endTimestamp","type":"uint256"}],"name":"NewEndTimestamp","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAXIMUM_AMOUNT_TO_CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fraktalToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMerkleRootSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newEndTimestamp","type":"uint256"}],"name":"updateEndTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokenRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b50604051620026ed380380620026ed833981810160405281019062000037919062000204565b60008060006101000a81548160ff02191690831515021790555060018081905550620000786200006c620000f160201b60201c565b620000f960201b60201c565b42600581905550836004819055508260a081815250508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050806003819055506001600260146101000a81548160ff0219169083151502179055505050505062000311565b600033905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001d081620002c3565b92915050565b600081519050620001e781620002dd565b92915050565b600081519050620001fe81620002f7565b92915050565b60008060008060808587031215620002215762000220620002be565b5b60006200023187828801620001ed565b94505060206200024487828801620001ed565b93505060406200025787828801620001bf565b92505060606200026a87828801620001d6565b91505092959194509250565b6000620002838262000294565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b620002ce8162000276565b8114620002da57600080fd5b50565b620002e8816200028a565b8114620002f457600080fd5b50565b6200030281620002b4565b81146200030e57600080fd5b50565b60805160601c60a05161239762000356600039600081816105c90152610b8e0152600081816103ae0152818161045e015281816108b40152610b6401526123976000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806373b2e80e116100a2578063bd69ba5011610071578063bd69ba501461025e578063c6afd5bb1461027c578063dc38bdb514610286578063e96ad3ad146102b6578063f2fde38b146102c05761010b565b806373b2e80e146101d45780638da5cb5b1461020457806392cedabd14610222578063a85adeab146102405761010b565b80635c975abb116100de5780635c975abb146101725780635ff10e39146101905780636e1613fb146101ae578063715018a6146101ca5761010b565b806315618acd146101105780632eb4a7ab1461011a5780632f52ebb71461013857806348cd4cb114610154575b600080fd5b6101186102dc565b005b6101226104dc565b60405161012f9190611a8f565b60405180910390f35b610152600480360381019061014d9190611657565b6104e2565b005b61015c610954565b6040516101699190611d07565b60405180910390f35b61017a61095a565b6040516101879190611a74565b60405180910390f35b610198610970565b6040516101a59190611a74565b60405180910390f35b6101c860048036038101906101c391906115fd565b610983565b005b6101d2610a90565b005b6101ee60048036038101906101e9919061152f565b610b18565b6040516101fb9190611a74565b60405180910390f35b61020c610b38565b6040516102199190611a30565b60405180910390f35b61022a610b62565b6040516102379190611aaa565b60405180910390f35b610248610b86565b6040516102559190611d07565b60405180910390f35b610266610b8c565b6040516102739190611d07565b60405180910390f35b610284610bb0565b005b6102a0600480360381019061029b919061155c565b610c7e565b6040516102ad9190611a74565b60405180910390f35b6102be610d19565b005b6102da60048036038101906102d5919061152f565b610de6565b005b6102e4610ede565b73ffffffffffffffffffffffffffffffffffffffff16610302610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610358576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034f90611c07565b60405180910390fd5b620151806004546103699190611d54565b42116103aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a190611c87565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104059190611a30565b60206040518083038186803b15801561041d57600080fd5b505afa158015610431573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610455919061162a565b90506104a233827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610ee69092919063ffffffff16565b7f9c6393f251205f9e03559951cab4c9ae71767b6174f77944a5b0c2fa51fbda9f816040516104d19190611d07565b60405180910390a150565b60035481565b6104ea61095a565b1561052a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052190611ba7565b60405180910390fd5b60026001541415610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056790611cc7565b60405180910390fd5b6002600181905550600260149054906101000a900460ff166105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be90611bc7565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561062a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062190611b87565b60405180910390fd5b600554421161066e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066590611be7565b60405180910390fd5b6004544211156106b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106aa90611c27565b60405180910390fd5b600083116106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed90611c67565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077a90611ce7565b60405180910390fd5b600033846040516020016107989291906119ed565b6040516020818303038152906040528051906020012090506107fe838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060035483610f6c565b61083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083490611b67565b60405180910390fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000670de0b6b3a7640000856108ab9190611daa565b90506108f833827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610ee69092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f19552fadade1a47d8fa44f6487230cfff67275de6e68fbfba65171532768fd7d8260405161093e9190611d07565b60405180910390a2505060018081905550505050565b60055481565b60008060009054906101000a900460ff16905090565b600260149054906101000a900460ff1681565b61098b610ede565b73ffffffffffffffffffffffffffffffffffffffff166109a9610b38565b73ffffffffffffffffffffffffffffffffffffffff16146109ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f690611c07565b60405180910390fd5b8062278d0042610a0f9190611d54565b11610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4690611b27565b60405180910390fd5b806004819055507fac7d83845fcc6871010ded05a8cb9bddee5cc49fdb8f2d24b96141d401b6bfed81604051610a859190611d07565b60405180910390a150565b610a98610ede565b73ffffffffffffffffffffffffffffffffffffffff16610ab6610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0390611c07565b60405180910390fd5b610b166000610f83565b565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60045481565b7f000000000000000000000000000000000000000000000000000000000000000081565b610bb8610ede565b73ffffffffffffffffffffffffffffffffffffffff16610bd6610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390611c07565b60405180910390fd5b610c3461095a565b15610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90611ba7565b60405180910390fd5b610c7c611049565b565b60006004544211610d0c5760008585604051602001610c9e9291906119ed565b604051602081830303815290604052805190602001209050610d04848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060035483610f6c565b915050610d11565b600090505b949350505050565b610d21610ede565b73ffffffffffffffffffffffffffffffffffffffff16610d3f610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8c90611c07565b60405180910390fd5b610d9d61095a565b610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390611ae7565b60405180910390fd5b610de46110eb565b565b610dee610ede565b73ffffffffffffffffffffffffffffffffffffffff16610e0c610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990611c07565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990611b07565b60405180910390fd5b610edb81610f83565b50565b600033905090565b610f678363a9059cbb60e01b8484604051602401610f05929190611a4b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061118c565b505050565b600082610f798584611253565b1490509392505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61105161095a565b15611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890611ba7565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110d4610ede565b6040516110e19190611a30565b60405180910390a1565b6110f361095a565b611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990611ae7565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611175610ede565b6040516111829190611a30565b60405180910390a1565b60006111ee826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112c89092919063ffffffff16565b905060008151111561124e578080602001905181019061120e91906115d0565b61124d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124490611ca7565b60405180910390fd5b5b505050565b60008082905060005b84518110156112bd57600085828151811061127a57611279611f65565b5b6020026020010151905080831161129c5761129583826112e0565b92506112a9565b6112a681846112e0565b92505b5080806112b590611ebf565b91505061125c565b508091505092915050565b60606112d784846000856112f7565b90509392505050565b600082600052816020526040600020905092915050565b60608247101561133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390611b47565b60405180910390fd5b6113458561140b565b611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90611c47565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516113ad9190611a19565b60006040518083038185875af1925050503d80600081146113ea576040519150601f19603f3d011682016040523d82523d6000602084013e6113ef565b606091505b50915091506113ff82828661141e565b92505050949350505050565b600080823b905060008111915050919050565b6060831561142e5782905061147e565b6000835111156114415782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114759190611ac5565b60405180910390fd5b9392505050565b6000813590506114948161231c565b92915050565b60008083601f8401126114b0576114af611f99565b5b8235905067ffffffffffffffff8111156114cd576114cc611f94565b5b6020830191508360208202830111156114e9576114e8611f9e565b5b9250929050565b6000815190506114ff81612333565b92915050565b6000813590506115148161234a565b92915050565b6000815190506115298161234a565b92915050565b60006020828403121561154557611544611fa8565b5b600061155384828501611485565b91505092915050565b6000806000806060858703121561157657611575611fa8565b5b600061158487828801611485565b945050602061159587828801611505565b935050604085013567ffffffffffffffff8111156115b6576115b5611fa3565b5b6115c28782880161149a565b925092505092959194509250565b6000602082840312156115e6576115e5611fa8565b5b60006115f4848285016114f0565b91505092915050565b60006020828403121561161357611612611fa8565b5b600061162184828501611505565b91505092915050565b6000602082840312156116405761163f611fa8565b5b600061164e8482850161151a565b91505092915050565b6000806000604084860312156116705761166f611fa8565b5b600061167e86828701611505565b935050602084013567ffffffffffffffff81111561169f5761169e611fa3565b5b6116ab8682870161149a565b92509250509250925092565b6116c081611e04565b82525050565b6116d76116d282611e04565b611f08565b82525050565b6116e681611e16565b82525050565b6116f581611e22565b82525050565b600061170682611d22565b6117108185611d38565b9350611720818560208601611e8c565b80840191505092915050565b61173581611e56565b82525050565b600061174682611d2d565b6117508185611d43565b9350611760818560208601611e8c565b61176981611fad565b840191505092915050565b6000611781601483611d43565b915061178c82611fcb565b602082019050919050565b60006117a4602683611d43565b91506117af82611ff4565b604082019050919050565b60006117c7601c83611d43565b91506117d282612043565b602082019050919050565b60006117ea602683611d43565b91506117f58261206c565b604082019050919050565b600061180d601683611d43565b9150611818826120bb565b602082019050919050565b6000611830601883611d43565b915061183b826120e4565b602082019050919050565b6000611853601083611d43565b915061185e8261210d565b602082019050919050565b6000611876601c83611d43565b915061188182612136565b602082019050919050565b6000611899601b83611d43565b91506118a48261215f565b602082019050919050565b60006118bc602083611d43565b91506118c782612188565b602082019050919050565b60006118df601a83611d43565b91506118ea826121b1565b602082019050919050565b6000611902601d83611d43565b915061190d826121da565b602082019050919050565b6000611925601683611d43565b915061193082612203565b602082019050919050565b6000611948602283611d43565b91506119538261222c565b604082019050919050565b600061196b602a83611d43565b91506119768261227b565b604082019050919050565b600061198e601f83611d43565b9150611999826122ca565b602082019050919050565b60006119b1601883611d43565b91506119bc826122f3565b602082019050919050565b6119d081611e4c565b82525050565b6119e76119e282611e4c565b611f2c565b82525050565b60006119f982856116c6565b601482019150611a0982846119d6565b6020820191508190509392505050565b6000611a2582846116fb565b915081905092915050565b6000602082019050611a4560008301846116b7565b92915050565b6000604082019050611a6060008301856116b7565b611a6d60208301846119c7565b9392505050565b6000602082019050611a8960008301846116dd565b92915050565b6000602082019050611aa460008301846116ec565b92915050565b6000602082019050611abf600083018461172c565b92915050565b60006020820190508181036000830152611adf818461173b565b905092915050565b60006020820190508181036000830152611b0081611774565b9050919050565b60006020820190508181036000830152611b2081611797565b9050919050565b60006020820190508181036000830152611b40816117ba565b9050919050565b60006020820190508181036000830152611b60816117dd565b9050919050565b60006020820190508181036000830152611b8081611800565b9050919050565b60006020820190508181036000830152611ba081611823565b9050919050565b60006020820190508181036000830152611bc081611846565b9050919050565b60006020820190508181036000830152611be081611869565b9050919050565b60006020820190508181036000830152611c008161188c565b9050919050565b60006020820190508181036000830152611c20816118af565b9050919050565b60006020820190508181036000830152611c40816118d2565b9050919050565b60006020820190508181036000830152611c60816118f5565b9050919050565b60006020820190508181036000830152611c8081611918565b9050919050565b60006020820190508181036000830152611ca08161193b565b9050919050565b60006020820190508181036000830152611cc08161195e565b9050919050565b60006020820190508181036000830152611ce081611981565b9050919050565b60006020820190508181036000830152611d00816119a4565b9050919050565b6000602082019050611d1c60008301846119c7565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611d5f82611e4c565b9150611d6a83611e4c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611d9f57611d9e611f36565b5b828201905092915050565b6000611db582611e4c565b9150611dc083611e4c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611df957611df8611f36565b5b828202905092915050565b6000611e0f82611e2c565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611e6182611e68565b9050919050565b6000611e7382611e7a565b9050919050565b6000611e8582611e2c565b9050919050565b60005b83811015611eaa578082015181840152602081019050611e8f565b83811115611eb9576000848401525b50505050565b6000611eca82611e4c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611efd57611efc611f36565b5b600182019050919050565b6000611f1382611f1a565b9050919050565b6000611f2582611fbe565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e65723a204e65772074696d657374616d7020746f6f2066617200000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f41697264726f703a20496e76616c69642070726f6f6600000000000000000000600082015250565b7f41697264726f703a20416d6f756e7420746f6f20686967680000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f41697264726f703a204d65726b6c6520726f6f74206e6f742073657400000000600082015250565b7f41697264726f703a20546f6f206561726c7920746f20636c61696d0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f41697264726f703a20546f6f206c61746520746f20636c61696d000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f41697264726f703a20416d6f756e7420746f206c6f7700000000000000000000600082015250565b7f4f776e65723a20546f6f206561726c7920746f2072656d6f766520726577617260008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f41697264726f703a20416c726561647920636c61696d65640000000000000000600082015250565b61232581611e04565b811461233057600080fd5b50565b61233c81611e16565b811461234757600080fd5b50565b61235381611e4c565b811461235e57600080fd5b5056fea26469706673582212208cbe84404cb1e134aa6cdefd370a22544ad3db2b9767a51a8dcd85e6dfb577f964736f6c6343000807003300000000000000000000000000000000000000000000000000000000624ed24000000000000000000000000000000000000000000000000000000000000249f00000000000000000000000001f81f8f262714cc932141c7c79495b481ef27258960faec7cb7a86f2f83ba4f6e5b24d1e225fa3ce0f381018a16cdfe15dac14f2
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806373b2e80e116100a2578063bd69ba5011610071578063bd69ba501461025e578063c6afd5bb1461027c578063dc38bdb514610286578063e96ad3ad146102b6578063f2fde38b146102c05761010b565b806373b2e80e146101d45780638da5cb5b1461020457806392cedabd14610222578063a85adeab146102405761010b565b80635c975abb116100de5780635c975abb146101725780635ff10e39146101905780636e1613fb146101ae578063715018a6146101ca5761010b565b806315618acd146101105780632eb4a7ab1461011a5780632f52ebb71461013857806348cd4cb114610154575b600080fd5b6101186102dc565b005b6101226104dc565b60405161012f9190611a8f565b60405180910390f35b610152600480360381019061014d9190611657565b6104e2565b005b61015c610954565b6040516101699190611d07565b60405180910390f35b61017a61095a565b6040516101879190611a74565b60405180910390f35b610198610970565b6040516101a59190611a74565b60405180910390f35b6101c860048036038101906101c391906115fd565b610983565b005b6101d2610a90565b005b6101ee60048036038101906101e9919061152f565b610b18565b6040516101fb9190611a74565b60405180910390f35b61020c610b38565b6040516102199190611a30565b60405180910390f35b61022a610b62565b6040516102379190611aaa565b60405180910390f35b610248610b86565b6040516102559190611d07565b60405180910390f35b610266610b8c565b6040516102739190611d07565b60405180910390f35b610284610bb0565b005b6102a0600480360381019061029b919061155c565b610c7e565b6040516102ad9190611a74565b60405180910390f35b6102be610d19565b005b6102da60048036038101906102d5919061152f565b610de6565b005b6102e4610ede565b73ffffffffffffffffffffffffffffffffffffffff16610302610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610358576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034f90611c07565b60405180910390fd5b620151806004546103699190611d54565b42116103aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a190611c87565b60405180910390fd5b60007f0000000000000000000000001f81f8f262714cc932141c7c79495b481ef2725873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104059190611a30565b60206040518083038186803b15801561041d57600080fd5b505afa158015610431573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610455919061162a565b90506104a233827f0000000000000000000000001f81f8f262714cc932141c7c79495b481ef2725873ffffffffffffffffffffffffffffffffffffffff16610ee69092919063ffffffff16565b7f9c6393f251205f9e03559951cab4c9ae71767b6174f77944a5b0c2fa51fbda9f816040516104d19190611d07565b60405180910390a150565b60035481565b6104ea61095a565b1561052a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052190611ba7565b60405180910390fd5b60026001541415610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056790611cc7565b60405180910390fd5b6002600181905550600260149054906101000a900460ff166105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be90611bc7565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000249f083111561062a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062190611b87565b60405180910390fd5b600554421161066e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066590611be7565b60405180910390fd5b6004544211156106b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106aa90611c27565b60405180910390fd5b600083116106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed90611c67565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077a90611ce7565b60405180910390fd5b600033846040516020016107989291906119ed565b6040516020818303038152906040528051906020012090506107fe838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060035483610f6c565b61083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083490611b67565b60405180910390fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000670de0b6b3a7640000856108ab9190611daa565b90506108f833827f0000000000000000000000001f81f8f262714cc932141c7c79495b481ef2725873ffffffffffffffffffffffffffffffffffffffff16610ee69092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f19552fadade1a47d8fa44f6487230cfff67275de6e68fbfba65171532768fd7d8260405161093e9190611d07565b60405180910390a2505060018081905550505050565b60055481565b60008060009054906101000a900460ff16905090565b600260149054906101000a900460ff1681565b61098b610ede565b73ffffffffffffffffffffffffffffffffffffffff166109a9610b38565b73ffffffffffffffffffffffffffffffffffffffff16146109ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f690611c07565b60405180910390fd5b8062278d0042610a0f9190611d54565b11610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4690611b27565b60405180910390fd5b806004819055507fac7d83845fcc6871010ded05a8cb9bddee5cc49fdb8f2d24b96141d401b6bfed81604051610a859190611d07565b60405180910390a150565b610a98610ede565b73ffffffffffffffffffffffffffffffffffffffff16610ab6610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0390611c07565b60405180910390fd5b610b166000610f83565b565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f0000000000000000000000001f81f8f262714cc932141c7c79495b481ef2725881565b60045481565b7f00000000000000000000000000000000000000000000000000000000000249f081565b610bb8610ede565b73ffffffffffffffffffffffffffffffffffffffff16610bd6610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390611c07565b60405180910390fd5b610c3461095a565b15610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90611ba7565b60405180910390fd5b610c7c611049565b565b60006004544211610d0c5760008585604051602001610c9e9291906119ed565b604051602081830303815290604052805190602001209050610d04848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060035483610f6c565b915050610d11565b600090505b949350505050565b610d21610ede565b73ffffffffffffffffffffffffffffffffffffffff16610d3f610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8c90611c07565b60405180910390fd5b610d9d61095a565b610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390611ae7565b60405180910390fd5b610de46110eb565b565b610dee610ede565b73ffffffffffffffffffffffffffffffffffffffff16610e0c610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990611c07565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990611b07565b60405180910390fd5b610edb81610f83565b50565b600033905090565b610f678363a9059cbb60e01b8484604051602401610f05929190611a4b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061118c565b505050565b600082610f798584611253565b1490509392505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61105161095a565b15611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890611ba7565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110d4610ede565b6040516110e19190611a30565b60405180910390a1565b6110f361095a565b611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990611ae7565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611175610ede565b6040516111829190611a30565b60405180910390a1565b60006111ee826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112c89092919063ffffffff16565b905060008151111561124e578080602001905181019061120e91906115d0565b61124d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124490611ca7565b60405180910390fd5b5b505050565b60008082905060005b84518110156112bd57600085828151811061127a57611279611f65565b5b6020026020010151905080831161129c5761129583826112e0565b92506112a9565b6112a681846112e0565b92505b5080806112b590611ebf565b91505061125c565b508091505092915050565b60606112d784846000856112f7565b90509392505050565b600082600052816020526040600020905092915050565b60608247101561133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390611b47565b60405180910390fd5b6113458561140b565b611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90611c47565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516113ad9190611a19565b60006040518083038185875af1925050503d80600081146113ea576040519150601f19603f3d011682016040523d82523d6000602084013e6113ef565b606091505b50915091506113ff82828661141e565b92505050949350505050565b600080823b905060008111915050919050565b6060831561142e5782905061147e565b6000835111156114415782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114759190611ac5565b60405180910390fd5b9392505050565b6000813590506114948161231c565b92915050565b60008083601f8401126114b0576114af611f99565b5b8235905067ffffffffffffffff8111156114cd576114cc611f94565b5b6020830191508360208202830111156114e9576114e8611f9e565b5b9250929050565b6000815190506114ff81612333565b92915050565b6000813590506115148161234a565b92915050565b6000815190506115298161234a565b92915050565b60006020828403121561154557611544611fa8565b5b600061155384828501611485565b91505092915050565b6000806000806060858703121561157657611575611fa8565b5b600061158487828801611485565b945050602061159587828801611505565b935050604085013567ffffffffffffffff8111156115b6576115b5611fa3565b5b6115c28782880161149a565b925092505092959194509250565b6000602082840312156115e6576115e5611fa8565b5b60006115f4848285016114f0565b91505092915050565b60006020828403121561161357611612611fa8565b5b600061162184828501611505565b91505092915050565b6000602082840312156116405761163f611fa8565b5b600061164e8482850161151a565b91505092915050565b6000806000604084860312156116705761166f611fa8565b5b600061167e86828701611505565b935050602084013567ffffffffffffffff81111561169f5761169e611fa3565b5b6116ab8682870161149a565b92509250509250925092565b6116c081611e04565b82525050565b6116d76116d282611e04565b611f08565b82525050565b6116e681611e16565b82525050565b6116f581611e22565b82525050565b600061170682611d22565b6117108185611d38565b9350611720818560208601611e8c565b80840191505092915050565b61173581611e56565b82525050565b600061174682611d2d565b6117508185611d43565b9350611760818560208601611e8c565b61176981611fad565b840191505092915050565b6000611781601483611d43565b915061178c82611fcb565b602082019050919050565b60006117a4602683611d43565b91506117af82611ff4565b604082019050919050565b60006117c7601c83611d43565b91506117d282612043565b602082019050919050565b60006117ea602683611d43565b91506117f58261206c565b604082019050919050565b600061180d601683611d43565b9150611818826120bb565b602082019050919050565b6000611830601883611d43565b915061183b826120e4565b602082019050919050565b6000611853601083611d43565b915061185e8261210d565b602082019050919050565b6000611876601c83611d43565b915061188182612136565b602082019050919050565b6000611899601b83611d43565b91506118a48261215f565b602082019050919050565b60006118bc602083611d43565b91506118c782612188565b602082019050919050565b60006118df601a83611d43565b91506118ea826121b1565b602082019050919050565b6000611902601d83611d43565b915061190d826121da565b602082019050919050565b6000611925601683611d43565b915061193082612203565b602082019050919050565b6000611948602283611d43565b91506119538261222c565b604082019050919050565b600061196b602a83611d43565b91506119768261227b565b604082019050919050565b600061198e601f83611d43565b9150611999826122ca565b602082019050919050565b60006119b1601883611d43565b91506119bc826122f3565b602082019050919050565b6119d081611e4c565b82525050565b6119e76119e282611e4c565b611f2c565b82525050565b60006119f982856116c6565b601482019150611a0982846119d6565b6020820191508190509392505050565b6000611a2582846116fb565b915081905092915050565b6000602082019050611a4560008301846116b7565b92915050565b6000604082019050611a6060008301856116b7565b611a6d60208301846119c7565b9392505050565b6000602082019050611a8960008301846116dd565b92915050565b6000602082019050611aa460008301846116ec565b92915050565b6000602082019050611abf600083018461172c565b92915050565b60006020820190508181036000830152611adf818461173b565b905092915050565b60006020820190508181036000830152611b0081611774565b9050919050565b60006020820190508181036000830152611b2081611797565b9050919050565b60006020820190508181036000830152611b40816117ba565b9050919050565b60006020820190508181036000830152611b60816117dd565b9050919050565b60006020820190508181036000830152611b8081611800565b9050919050565b60006020820190508181036000830152611ba081611823565b9050919050565b60006020820190508181036000830152611bc081611846565b9050919050565b60006020820190508181036000830152611be081611869565b9050919050565b60006020820190508181036000830152611c008161188c565b9050919050565b60006020820190508181036000830152611c20816118af565b9050919050565b60006020820190508181036000830152611c40816118d2565b9050919050565b60006020820190508181036000830152611c60816118f5565b9050919050565b60006020820190508181036000830152611c8081611918565b9050919050565b60006020820190508181036000830152611ca08161193b565b9050919050565b60006020820190508181036000830152611cc08161195e565b9050919050565b60006020820190508181036000830152611ce081611981565b9050919050565b60006020820190508181036000830152611d00816119a4565b9050919050565b6000602082019050611d1c60008301846119c7565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611d5f82611e4c565b9150611d6a83611e4c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611d9f57611d9e611f36565b5b828201905092915050565b6000611db582611e4c565b9150611dc083611e4c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611df957611df8611f36565b5b828202905092915050565b6000611e0f82611e2c565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611e6182611e68565b9050919050565b6000611e7382611e7a565b9050919050565b6000611e8582611e2c565b9050919050565b60005b83811015611eaa578082015181840152602081019050611e8f565b83811115611eb9576000848401525b50505050565b6000611eca82611e4c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611efd57611efc611f36565b5b600182019050919050565b6000611f1382611f1a565b9050919050565b6000611f2582611fbe565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e65723a204e65772074696d657374616d7020746f6f2066617200000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f41697264726f703a20496e76616c69642070726f6f6600000000000000000000600082015250565b7f41697264726f703a20416d6f756e7420746f6f20686967680000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f41697264726f703a204d65726b6c6520726f6f74206e6f742073657400000000600082015250565b7f41697264726f703a20546f6f206561726c7920746f20636c61696d0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f41697264726f703a20546f6f206c61746520746f20636c61696d000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f41697264726f703a20416d6f756e7420746f206c6f7700000000000000000000600082015250565b7f4f776e65723a20546f6f206561726c7920746f2072656d6f766520726577617260008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f41697264726f703a20416c726561647920636c61696d65640000000000000000600082015250565b61232581611e04565b811461233057600080fd5b50565b61233c81611e16565b811461234757600080fd5b50565b61235381611e4c565b811461235e57600080fd5b5056fea26469706673582212208cbe84404cb1e134aa6cdefd370a22544ad3db2b9767a51a8dcd85e6dfb577f964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000624ed24000000000000000000000000000000000000000000000000000000000000249f00000000000000000000000001f81f8f262714cc932141c7c79495b481ef27258960faec7cb7a86f2f83ba4f6e5b24d1e225fa3ce0f381018a16cdfe15dac14f2
-----Decoded View---------------
Arg [0] : _endTimestamp (uint256): 1649332800
Arg [1] : _maximumAmountToClaim (uint256): 150000
Arg [2] : _fraktalToken (address): 0x1f81f8f262714cc932141c7C79495B481eF27258
Arg [3] : _merkleRoot (bytes32): 0x960faec7cb7a86f2f83ba4f6e5b24d1e225fa3ce0f381018a16cdfe15dac14f2
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000624ed240
Arg [1] : 00000000000000000000000000000000000000000000000000000000000249f0
Arg [2] : 0000000000000000000000001f81f8f262714cc932141c7c79495b481ef27258
Arg [3] : 960faec7cb7a86f2f83ba4f6e5b24d1e225fa3ce0f381018a16cdfe15dac14f2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.