ETH Price: $2,605.29 (-1.79%)

Contract

0xa4999B8d21707655aE21379f8A8386Eb5C224897
 

Overview

ETH Balance

0.000367955837066313 ETH

Eth Value

$0.96 (@ $2,605.29/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Emergency Withdr...189628482024-01-08 14:21:11265 days ago1704723671IN
0xa4999B8d...b5C224897
0 ETH0.0026831229.21262897
Unstake189623292024-01-08 12:34:59265 days ago1704717299IN
0xa4999B8d...b5C224897
0 ETH0.00072826
Unstake189623132024-01-08 12:31:47265 days ago1704717107IN
0xa4999B8d...b5C224897
0 ETH0.0008641630.32150292
Unstake189622912024-01-08 12:27:11265 days ago1704716831IN
0xa4999B8d...b5C224897
0 ETH0.0010983325.05736636
Unstake189622802024-01-08 12:24:59265 days ago1704716699IN
0xa4999B8d...b5C224897
0 ETH0.0006483830.44046972
Stake189113692024-01-01 8:21:35273 days ago1704097295IN
0xa4999B8d...b5C224897
0 ETH0.0012666210.30684276
Claim189113342024-01-01 8:14:35273 days ago1704096875IN
0xa4999B8d...b5C224897
0 ETH0.000427149.77079501
Claim188829812023-12-28 8:40:47277 days ago1703752847IN
0xa4999B8d...b5C224897
0 ETH0.0011518726.34915804
Unstake188761022023-12-27 9:27:47278 days ago1703669267IN
0xa4999B8d...b5C224897
0 ETH0.0024080922.9287535
Claim188760832023-12-27 9:23:35278 days ago1703669015IN
0xa4999B8d...b5C224897
0 ETH0.0007616817.42356266
Unstake188760642023-12-27 9:19:47278 days ago1703668787IN
0xa4999B8d...b5C224897
0 ETH0.0020698619.71054288
Claim188760582023-12-27 9:18:35278 days ago1703668715IN
0xa4999B8d...b5C224897
0 ETH0.0007658817.51967139
Claim188625002023-12-25 11:38:11279 days ago1703504291IN
0xa4999B8d...b5C224897
0 ETH0.0007838317.93005848
Claim188395672023-12-22 6:21:11283 days ago1703226071IN
0xa4999B8d...b5C224897
0 ETH0.0011560126.44378768
Unstake188143112023-12-18 17:18:59286 days ago1702919939IN
0xa4999B8d...b5C224897
0 ETH0.0069925666.58
Claim188142952023-12-18 17:15:47286 days ago1702919747IN
0xa4999B8d...b5C224897
0 ETH0.0025832559.09169072
Claim188070532023-12-17 16:53:59287 days ago1702832039IN
0xa4999B8d...b5C224897
0 ETH0.0018720642.82344927
Claim188070282023-12-17 16:48:59287 days ago1702831739IN
0xa4999B8d...b5C224897
0 ETH0.0019510144.62923902
Claim187933482023-12-15 18:37:59289 days ago1702665479IN
0xa4999B8d...b5C224897
0 ETH0.0024862856.87362855
Claim187865082023-12-14 19:38:23290 days ago1702582703IN
0xa4999B8d...b5C224897
0 ETH0.0021638349.4975827
Claim187815212023-12-14 2:50:35291 days ago1702522235IN
0xa4999B8d...b5C224897
0 ETH0.0022162550.6965603
Claim187792602023-12-13 19:14:59291 days ago1702494899IN
0xa4999B8d...b5C224897
0 ETH0.0023941154.76515008
Claim187597272023-12-11 1:36:59294 days ago1702258619IN
0xa4999B8d...b5C224897
0 ETH0.0010575924.19230895
Claim187474742023-12-09 8:27:11296 days ago1702110431IN
0xa4999B8d...b5C224897
0 ETH0.0014577233.34524868
Claim187474622023-12-09 8:24:35296 days ago1702110275IN
0xa4999B8d...b5C224897
0 ETH0.0012766129.20239924
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
189113692024-01-01 8:21:35273 days ago1704097295
0xa4999B8d...b5C224897
0.00001039 ETH
189113342024-01-01 8:14:35273 days ago1704096875
0xa4999B8d...b5C224897
0.0886624 ETH
188829812023-12-28 8:40:47277 days ago1703752847
0xa4999B8d...b5C224897
0.00464305 ETH
188761022023-12-27 9:27:47278 days ago1703669267
0xa4999B8d...b5C224897
0.00000437 ETH
188760832023-12-27 9:23:35278 days ago1703669015
0xa4999B8d...b5C224897
0.01451554 ETH
188760642023-12-27 9:19:47278 days ago1703668787
0xa4999B8d...b5C224897
0.00000084 ETH
188760582023-12-27 9:18:35278 days ago1703668715
0xa4999B8d...b5C224897
0.00978162 ETH
188625002023-12-25 11:38:11279 days ago1703504291
0xa4999B8d...b5C224897
0.02804838 ETH
188395672023-12-22 6:21:11283 days ago1703226071
0xa4999B8d...b5C224897
0.02644098 ETH
188143112023-12-18 17:18:59286 days ago1702919939
0xa4999B8d...b5C224897
0.00003898 ETH
188142952023-12-18 17:15:47286 days ago1702919747
0xa4999B8d...b5C224897
0.06843844 ETH
188070532023-12-17 16:53:59287 days ago1702832039
0xa4999B8d...b5C224897
0.01251473 ETH
188070282023-12-17 16:48:59287 days ago1702831739
0xa4999B8d...b5C224897
0.00843165 ETH
187933482023-12-15 18:37:59289 days ago1702665479
0xa4999B8d...b5C224897
0.02600517 ETH
187865082023-12-14 19:38:23290 days ago1702582703
0xa4999B8d...b5C224897
0.06580684 ETH
187815212023-12-14 2:50:35291 days ago1702522235
0xa4999B8d...b5C224897
0.04289596 ETH
187792602023-12-13 19:14:59291 days ago1702494899
0xa4999B8d...b5C224897
0.03943425 ETH
187597272023-12-11 1:36:59294 days ago1702258619
0xa4999B8d...b5C224897
0.07093845 ETH
187474742023-12-09 8:27:11296 days ago1702110431
0xa4999B8d...b5C224897
0.01096657 ETH
187474622023-12-09 8:24:35296 days ago1702110275
0xa4999B8d...b5C224897
0.01409912 ETH
187316552023-12-07 3:11:47298 days ago1701918707
0xa4999B8d...b5C224897
0.00001307 ETH
187316352023-12-07 3:07:47298 days ago1701918467
0xa4999B8d...b5C224897
0.00000062 ETH
187316342023-12-07 3:07:35298 days ago1701918455
0xa4999B8d...b5C224897
0.0173772 ETH
187308722023-12-07 0:34:23298 days ago1701909263
0xa4999B8d...b5C224897
0.00000487 ETH
187308702023-12-07 0:33:59298 days ago1701909239
0xa4999B8d...b5C224897
0.00000243 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingContract

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : StakingContract.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract StakingContract is ReentrancyGuard, Ownable {
    IERC20 public immutable photon;

    uint256 public rewardRate = 430; // 10% APR of price, updateable
    uint256 public constant MAX_REWARD_DURATION = 31536000; // 365 days
    uint256 public rewardDuration = MAX_REWARD_DURATION; // updateable
    uint256 public immutable contractStartTime; // Contract deployment time

    struct StakeInfo {
        uint256 amount;
        uint256 timestamp;
    }

    mapping(address => StakeInfo) public stakes;

    constructor(IERC20 _photon) {
        photon = _photon;
        contractStartTime = block.timestamp;
    }

     receive() external payable {}

    function stake(uint256 amount) external nonReentrant {
        require(
            photon.transferFrom(_msgSender(), address(this), amount),
            "Transfer Photon tokens failed"
        );

        StakeInfo storage stakeInfo = stakes[_msgSender()];
        if (stakeInfo.amount > 0) {
            uint256 pendingReward = calculateReward(
                stakeInfo.amount,
                stakeInfo.timestamp
            );
            payable(_msgSender()).transfer(pendingReward);
        }

        stakeInfo.amount += amount;
        stakeInfo.timestamp = block.timestamp;
    }

    function unstake(uint256 amount) external nonReentrant {
        StakeInfo storage stakeInfo = stakes[_msgSender()];
        require(stakeInfo.amount >= amount, "Unstaking more than staked");

        uint256 pendingReward = calculateReward(
            stakeInfo.amount,
            stakeInfo.timestamp
        );
        payable(_msgSender()).transfer(pendingReward);

        if (stakeInfo.amount == amount) {
            delete stakes[_msgSender()];
        } else {
            stakeInfo.amount -= amount;
            stakeInfo.timestamp = block.timestamp;
        }

        require(
            photon.transfer(_msgSender(), amount),
            "Transfer Photon tokens failed"
        );
    }

    function claim() external nonReentrant {
        StakeInfo storage stakeInfo = stakes[_msgSender()];
        require(stakeInfo.amount > 0, "No stake to claim rewards from");

        uint256 pendingReward = calculateReward(
            stakeInfo.amount,
            stakeInfo.timestamp
        );
        require(pendingReward > 0, "No rewards to claim");

        payable(_msgSender()).transfer(pendingReward);

        stakeInfo.timestamp = block.timestamp; // update last reward claim time
    }

    function calculateReward(
        uint256 amount,
        uint256 timestamp
    ) public view returns (uint256) {
        uint256 endTime = contractStartTime + rewardDuration;
        uint256 timeDiff;

        if (block.timestamp > endTime) {
            if (timestamp > endTime) return 0;
            timeDiff = endTime - timestamp;
        } else {
            timeDiff = block.timestamp > timestamp
                ? block.timestamp - timestamp
                : 0;
        }

        uint256 reward = (amount * rewardRate * timeDiff) /
            (MAX_REWARD_DURATION * 1_000_000_000);
        return reward;
    }

    function updateRewardRate(uint256 newRate) external onlyOwner {
        rewardRate = newRate;
    }

    function updateRewardDuration(uint256 newDuration) external onlyOwner {
        rewardDuration = newDuration;
    }

    function withdrawStuckETH(uint256 _amount) external onlyOwner {
        require(
            _amount <= address(this).balance,
            "Amount exceeds available ETH"
        );
        payable(owner()).transfer(_amount);
    }

    function emergencyWithdraw() external nonReentrant {
        StakeInfo storage stakeInfo = stakes[_msgSender()];
        require(stakeInfo.amount > 0, "No stake to withdraw");

        uint256 amountToWithdraw = stakeInfo.amount;
        delete stakes[_msgSender()]; // Delete the user's stake info

        require(
            photon.transfer(_msgSender(), amountToWithdraw),
            "Transfer Photon tokens failed"
        );
    }
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

File 3 of 5 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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);
}

File 5 of 5 : Context.sol
// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_photon","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX_REWARD_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"calculateReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"photon","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"updateRewardDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"updateRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526101ae6002556301e133806003553480156200001f57600080fd5b5060405162001a9d38038062001a9d8339818101604052810190620000459190620001fc565b60016000819055506200006d62000061620000b060201b60201c565b620000b860201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250504260a08181525050506200022e565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001b08262000183565b9050919050565b6000620001c482620001a3565b9050919050565b620001d681620001b7565b8114620001e257600080fd5b50565b600081519050620001f681620001cb565b92915050565b6000602082840312156200021557620002146200017e565b5b60006200022584828501620001e5565b91505092915050565b60805160a05161182d62000270600039600081816103da0152610404015260008181610676015281816109be01528181610c8c0152610e05015261182d6000f3fe6080604052600436106101025760003560e01c8063715018a611610095578063a694fc3a11610064578063a694fc3a14610307578063db2e21bc14610330578063f2fde38b14610347578063f520e7e514610370578063f58f0d561461039b57610109565b8063715018a6146102715780637b0a47ee146102885780638da5cb5b146102b35780639ef3a261146102de57610109565b80632e17de78116100d15780632e17de78146101dd5780632f1f0bcc146102065780633f4520f51461022f5780634e71d92d1461025a57610109565b8063070a888f1461010e5780630c3d51571461013757806313ed08461461016257806316934fc41461019f57610109565b3661010957005b600080fd5b34801561011a57600080fd5b5061013560048036038101906101309190611007565b6103c6565b005b34801561014357600080fd5b5061014c6103d8565b6040516101599190611043565b60405180910390f35b34801561016e57600080fd5b506101896004803603810190610184919061105e565b6103fc565b6040516101969190611043565b60405180910390f35b3480156101ab57600080fd5b506101c660048036038101906101c191906110fc565b6104c5565b6040516101d4929190611129565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190611007565b6104e9565b005b34801561021257600080fd5b5061022d60048036038101906102289190611007565b610765565b005b34801561023b57600080fd5b50610244610801565b6040516102519190611043565b60405180910390f35b34801561026657600080fd5b5061026f610809565b005b34801561027d57600080fd5b5061028661095e565b005b34801561029457600080fd5b5061029d610972565b6040516102aa9190611043565b60405180910390f35b3480156102bf57600080fd5b506102c8610978565b6040516102d59190611161565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190611007565b6109a2565b005b34801561031357600080fd5b5061032e60048036038101906103299190611007565b6109b4565b005b34801561033c57600080fd5b50610345610b8f565b005b34801561035357600080fd5b5061036e600480360381019061036991906110fc565b610d7a565b005b34801561037c57600080fd5b50610385610dfd565b6040516103929190611043565b60405180910390f35b3480156103a757600080fd5b506103b0610e03565b6040516103bd91906111db565b60405180910390f35b6103ce610e27565b8060038190555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806003547f000000000000000000000000000000000000000000000000000000000000000061042d9190611225565b905060008142111561045f578184111561044c576000925050506104bf565b83826104589190611259565b905061047d565b83421161046d57600061047a565b83426104799190611259565b5b90505b6000633b9aca006301e13380610493919061128d565b82600254886104a2919061128d565b6104ac919061128d565b6104b691906112fe565b90508093505050505b92915050565b60046020528060005260406000206000915090508060000154908060010154905082565b6104f1610ea5565b6000600460006104ff610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015610582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105799061138c565b60405180910390fd5b6000610596826000015483600101546103fc565b90506105a0610ef4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156105e5573d6000803e3d6000fd5b508282600001540361064f57600460006105fd610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090555050610674565b828260000160008282546106639190611259565b925050819055504282600101819055505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6106b8610ef4565b856040518363ffffffff1660e01b81526004016106d69291906113ac565b6020604051808303816000875af11580156106f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610719919061140d565b610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074f90611486565b60405180910390fd5b5050610762610efc565b50565b61076d610e27565b478111156107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a7906114f2565b60405180910390fd5b6107b8610978565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156107fd573d6000803e3d6000fd5b5050565b6301e1338081565b610811610ea5565b60006004600061081f610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154116108a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108999061155e565b60405180910390fd5b60006108b6826000015483600101546103fc565b9050600081116108fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f2906115ca565b60405180910390fd5b610903610ef4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610948573d6000803e3d6000fd5b50428260010181905550505061095c610efc565b565b610966610e27565b6109706000610f06565b565b60025481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109aa610e27565b8060028190555050565b6109bc610ea5565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd610a00610ef4565b30846040518463ffffffff1660e01b8152600401610a20939291906115ea565b6020604051808303816000875af1158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a63919061140d565b610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990611486565b60405180910390fd5b600060046000610ab0610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541115610b5f576000610b0d826000015483600101546103fc565b9050610b17610ef4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b5c573d6000803e3d6000fd5b50505b81816000016000828254610b739190611225565b9250508190555042816001018190555050610b8c610efc565b50565b610b97610ea5565b600060046000610ba5610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015411610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f9061166d565b60405180910390fd5b60008160000154905060046000610c3d610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905550507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610cce610ef4565b836040518363ffffffff1660e01b8152600401610cec9291906113ac565b6020604051808303816000875af1158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f919061140d565b610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6590611486565b60405180910390fd5b5050610d78610efc565b565b610d82610e27565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de8906116ff565b60405180910390fd5b610dfa81610f06565b50565b60035481565b7f000000000000000000000000000000000000000000000000000000000000000081565b610e2f610ef4565b73ffffffffffffffffffffffffffffffffffffffff16610e4d610978565b73ffffffffffffffffffffffffffffffffffffffff1614610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a9061176b565b60405180910390fd5b565b600260005403610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee1906117d7565b60405180910390fd5b6002600081905550565b600033905090565b6001600081905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b610fe481610fd1565b8114610fef57600080fd5b50565b60008135905061100181610fdb565b92915050565b60006020828403121561101d5761101c610fcc565b5b600061102b84828501610ff2565b91505092915050565b61103d81610fd1565b82525050565b60006020820190506110586000830184611034565b92915050565b6000806040838503121561107557611074610fcc565b5b600061108385828601610ff2565b925050602061109485828601610ff2565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006110c98261109e565b9050919050565b6110d9816110be565b81146110e457600080fd5b50565b6000813590506110f6816110d0565b92915050565b60006020828403121561111257611111610fcc565b5b6000611120848285016110e7565b91505092915050565b600060408201905061113e6000830185611034565b61114b6020830184611034565b9392505050565b61115b816110be565b82525050565b60006020820190506111766000830184611152565b92915050565b6000819050919050565b60006111a161119c6111978461109e565b61117c565b61109e565b9050919050565b60006111b382611186565b9050919050565b60006111c5826111a8565b9050919050565b6111d5816111ba565b82525050565b60006020820190506111f060008301846111cc565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061123082610fd1565b915061123b83610fd1565b9250828201905080821115611253576112526111f6565b5b92915050565b600061126482610fd1565b915061126f83610fd1565b9250828203905081811115611287576112866111f6565b5b92915050565b600061129882610fd1565b91506112a383610fd1565b92508282026112b181610fd1565b915082820484148315176112c8576112c76111f6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061130982610fd1565b915061131483610fd1565b925082611324576113236112cf565b5b828204905092915050565b600082825260208201905092915050565b7f556e7374616b696e67206d6f7265207468616e207374616b6564000000000000600082015250565b6000611376601a8361132f565b915061138182611340565b602082019050919050565b600060208201905081810360008301526113a581611369565b9050919050565b60006040820190506113c16000830185611152565b6113ce6020830184611034565b9392505050565b60008115159050919050565b6113ea816113d5565b81146113f557600080fd5b50565b600081519050611407816113e1565b92915050565b60006020828403121561142357611422610fcc565b5b6000611431848285016113f8565b91505092915050565b7f5472616e736665722050686f746f6e20746f6b656e73206661696c6564000000600082015250565b6000611470601d8361132f565b915061147b8261143a565b602082019050919050565b6000602082019050818103600083015261149f81611463565b9050919050565b7f416d6f756e74206578636565647320617661696c61626c652045544800000000600082015250565b60006114dc601c8361132f565b91506114e7826114a6565b602082019050919050565b6000602082019050818103600083015261150b816114cf565b9050919050565b7f4e6f207374616b6520746f20636c61696d20726577617264732066726f6d0000600082015250565b6000611548601e8361132f565b915061155382611512565b602082019050919050565b600060208201905081810360008301526115778161153b565b9050919050565b7f4e6f207265776172647320746f20636c61696d00000000000000000000000000600082015250565b60006115b460138361132f565b91506115bf8261157e565b602082019050919050565b600060208201905081810360008301526115e3816115a7565b9050919050565b60006060820190506115ff6000830186611152565b61160c6020830185611152565b6116196040830184611034565b949350505050565b7f4e6f207374616b6520746f207769746864726177000000000000000000000000600082015250565b600061165760148361132f565b915061166282611621565b602082019050919050565b600060208201905081810360008301526116868161164a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006116e960268361132f565b91506116f48261168d565b604082019050919050565b60006020820190508181036000830152611718816116dc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061175560208361132f565b91506117608261171f565b602082019050919050565b6000602082019050818103600083015261178481611748565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006117c1601f8361132f565b91506117cc8261178b565b602082019050919050565b600060208201905081810360008301526117f0816117b4565b905091905056fea26469706673582212203265b5c7ccb05220c08345b263d18f56d2addb75111c66f3ceec45f6ae07fd3c64736f6c63430008130033000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e3

Deployed Bytecode

0x6080604052600436106101025760003560e01c8063715018a611610095578063a694fc3a11610064578063a694fc3a14610307578063db2e21bc14610330578063f2fde38b14610347578063f520e7e514610370578063f58f0d561461039b57610109565b8063715018a6146102715780637b0a47ee146102885780638da5cb5b146102b35780639ef3a261146102de57610109565b80632e17de78116100d15780632e17de78146101dd5780632f1f0bcc146102065780633f4520f51461022f5780634e71d92d1461025a57610109565b8063070a888f1461010e5780630c3d51571461013757806313ed08461461016257806316934fc41461019f57610109565b3661010957005b600080fd5b34801561011a57600080fd5b5061013560048036038101906101309190611007565b6103c6565b005b34801561014357600080fd5b5061014c6103d8565b6040516101599190611043565b60405180910390f35b34801561016e57600080fd5b506101896004803603810190610184919061105e565b6103fc565b6040516101969190611043565b60405180910390f35b3480156101ab57600080fd5b506101c660048036038101906101c191906110fc565b6104c5565b6040516101d4929190611129565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190611007565b6104e9565b005b34801561021257600080fd5b5061022d60048036038101906102289190611007565b610765565b005b34801561023b57600080fd5b50610244610801565b6040516102519190611043565b60405180910390f35b34801561026657600080fd5b5061026f610809565b005b34801561027d57600080fd5b5061028661095e565b005b34801561029457600080fd5b5061029d610972565b6040516102aa9190611043565b60405180910390f35b3480156102bf57600080fd5b506102c8610978565b6040516102d59190611161565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190611007565b6109a2565b005b34801561031357600080fd5b5061032e60048036038101906103299190611007565b6109b4565b005b34801561033c57600080fd5b50610345610b8f565b005b34801561035357600080fd5b5061036e600480360381019061036991906110fc565b610d7a565b005b34801561037c57600080fd5b50610385610dfd565b6040516103929190611043565b60405180910390f35b3480156103a757600080fd5b506103b0610e03565b6040516103bd91906111db565b60405180910390f35b6103ce610e27565b8060038190555050565b7f0000000000000000000000000000000000000000000000000000000064e740cf81565b6000806003547f0000000000000000000000000000000000000000000000000000000064e740cf61042d9190611225565b905060008142111561045f578184111561044c576000925050506104bf565b83826104589190611259565b905061047d565b83421161046d57600061047a565b83426104799190611259565b5b90505b6000633b9aca006301e13380610493919061128d565b82600254886104a2919061128d565b6104ac919061128d565b6104b691906112fe565b90508093505050505b92915050565b60046020528060005260406000206000915090508060000154908060010154905082565b6104f1610ea5565b6000600460006104ff610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015610582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105799061138c565b60405180910390fd5b6000610596826000015483600101546103fc565b90506105a0610ef4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156105e5573d6000803e3d6000fd5b508282600001540361064f57600460006105fd610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090555050610674565b828260000160008282546106639190611259565b925050819055504282600101819055505b7f000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6106b8610ef4565b856040518363ffffffff1660e01b81526004016106d69291906113ac565b6020604051808303816000875af11580156106f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610719919061140d565b610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074f90611486565b60405180910390fd5b5050610762610efc565b50565b61076d610e27565b478111156107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a7906114f2565b60405180910390fd5b6107b8610978565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156107fd573d6000803e3d6000fd5b5050565b6301e1338081565b610811610ea5565b60006004600061081f610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154116108a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108999061155e565b60405180910390fd5b60006108b6826000015483600101546103fc565b9050600081116108fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f2906115ca565b60405180910390fd5b610903610ef4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610948573d6000803e3d6000fd5b50428260010181905550505061095c610efc565b565b610966610e27565b6109706000610f06565b565b60025481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109aa610e27565b8060028190555050565b6109bc610ea5565b7f000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e373ffffffffffffffffffffffffffffffffffffffff166323b872dd610a00610ef4565b30846040518463ffffffff1660e01b8152600401610a20939291906115ea565b6020604051808303816000875af1158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a63919061140d565b610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990611486565b60405180910390fd5b600060046000610ab0610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541115610b5f576000610b0d826000015483600101546103fc565b9050610b17610ef4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b5c573d6000803e3d6000fd5b50505b81816000016000828254610b739190611225565b9250508190555042816001018190555050610b8c610efc565b50565b610b97610ea5565b600060046000610ba5610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015411610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f9061166d565b60405180910390fd5b60008160000154905060046000610c3d610ef4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905550507f000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610cce610ef4565b836040518363ffffffff1660e01b8152600401610cec9291906113ac565b6020604051808303816000875af1158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f919061140d565b610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6590611486565b60405180910390fd5b5050610d78610efc565b565b610d82610e27565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de8906116ff565b60405180910390fd5b610dfa81610f06565b50565b60035481565b7f000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e381565b610e2f610ef4565b73ffffffffffffffffffffffffffffffffffffffff16610e4d610978565b73ffffffffffffffffffffffffffffffffffffffff1614610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a9061176b565b60405180910390fd5b565b600260005403610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee1906117d7565b60405180910390fd5b6002600081905550565b600033905090565b6001600081905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b610fe481610fd1565b8114610fef57600080fd5b50565b60008135905061100181610fdb565b92915050565b60006020828403121561101d5761101c610fcc565b5b600061102b84828501610ff2565b91505092915050565b61103d81610fd1565b82525050565b60006020820190506110586000830184611034565b92915050565b6000806040838503121561107557611074610fcc565b5b600061108385828601610ff2565b925050602061109485828601610ff2565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006110c98261109e565b9050919050565b6110d9816110be565b81146110e457600080fd5b50565b6000813590506110f6816110d0565b92915050565b60006020828403121561111257611111610fcc565b5b6000611120848285016110e7565b91505092915050565b600060408201905061113e6000830185611034565b61114b6020830184611034565b9392505050565b61115b816110be565b82525050565b60006020820190506111766000830184611152565b92915050565b6000819050919050565b60006111a161119c6111978461109e565b61117c565b61109e565b9050919050565b60006111b382611186565b9050919050565b60006111c5826111a8565b9050919050565b6111d5816111ba565b82525050565b60006020820190506111f060008301846111cc565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061123082610fd1565b915061123b83610fd1565b9250828201905080821115611253576112526111f6565b5b92915050565b600061126482610fd1565b915061126f83610fd1565b9250828203905081811115611287576112866111f6565b5b92915050565b600061129882610fd1565b91506112a383610fd1565b92508282026112b181610fd1565b915082820484148315176112c8576112c76111f6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061130982610fd1565b915061131483610fd1565b925082611324576113236112cf565b5b828204905092915050565b600082825260208201905092915050565b7f556e7374616b696e67206d6f7265207468616e207374616b6564000000000000600082015250565b6000611376601a8361132f565b915061138182611340565b602082019050919050565b600060208201905081810360008301526113a581611369565b9050919050565b60006040820190506113c16000830185611152565b6113ce6020830184611034565b9392505050565b60008115159050919050565b6113ea816113d5565b81146113f557600080fd5b50565b600081519050611407816113e1565b92915050565b60006020828403121561142357611422610fcc565b5b6000611431848285016113f8565b91505092915050565b7f5472616e736665722050686f746f6e20746f6b656e73206661696c6564000000600082015250565b6000611470601d8361132f565b915061147b8261143a565b602082019050919050565b6000602082019050818103600083015261149f81611463565b9050919050565b7f416d6f756e74206578636565647320617661696c61626c652045544800000000600082015250565b60006114dc601c8361132f565b91506114e7826114a6565b602082019050919050565b6000602082019050818103600083015261150b816114cf565b9050919050565b7f4e6f207374616b6520746f20636c61696d20726577617264732066726f6d0000600082015250565b6000611548601e8361132f565b915061155382611512565b602082019050919050565b600060208201905081810360008301526115778161153b565b9050919050565b7f4e6f207265776172647320746f20636c61696d00000000000000000000000000600082015250565b60006115b460138361132f565b91506115bf8261157e565b602082019050919050565b600060208201905081810360008301526115e3816115a7565b9050919050565b60006060820190506115ff6000830186611152565b61160c6020830185611152565b6116196040830184611034565b949350505050565b7f4e6f207374616b6520746f207769746864726177000000000000000000000000600082015250565b600061165760148361132f565b915061166282611621565b602082019050919050565b600060208201905081810360008301526116868161164a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006116e960268361132f565b91506116f48261168d565b604082019050919050565b60006020820190508181036000830152611718816116dc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061175560208361132f565b91506117608261171f565b602082019050919050565b6000602082019050818103600083015261178481611748565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006117c1601f8361132f565b91506117cc8261178b565b602082019050919050565b600060208201905081810360008301526117f0816117b4565b905091905056fea26469706673582212203265b5c7ccb05220c08345b263d18f56d2addb75111c66f3ceec45f6ae07fd3c64736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e3

-----Decoded View---------------
Arg [0] : _photon (address): 0xf3820318197108c078C88Be4720466c98dCFb2E3

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f3820318197108c078c88be4720466c98dcfb2e3


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.