ETH Price: $2,512.72 (-1.10%)

Contract

0x323b7F57Ac8E5580b01de6e0Ca17342cE2Df5e89
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unstake180726392023-09-05 20:25:35359 days ago1693945535IN
0x323b7F57...cE2Df5e89
0 ETH0.0102233361.62568049
Set Staking Toke...180726352023-09-05 20:24:47359 days ago1693945487IN
0x323b7F57...cE2Df5e89
0 ETH0.0018456963.11811145
Set Staking Toke...180726262023-09-05 20:22:47359 days ago1693945367IN
0x323b7F57...cE2Df5e89
0 ETH0.0018188962.22689958
Set Staking Vaul...180725982023-09-05 20:17:11359 days ago1693945031IN
0x323b7F57...cE2Df5e89
0 ETH0.0010534835.94790762
Set Staking Toke...180725942023-09-05 20:16:23359 days ago1693944983IN
0x323b7F57...cE2Df5e89
0 ETH0.0009019130.84313068
Set Staking Vaul...180719652023-09-05 18:09:23360 days ago1693937363IN
0x323b7F57...cE2Df5e89
0 ETH0.0010580836.10479761
Set Staking Toke...180719582023-09-05 18:07:59360 days ago1693937279IN
0x323b7F57...cE2Df5e89
0 ETH0.0011466439.22825766
Stake180282522023-08-30 15:17:23366 days ago1693408643IN
0x323b7F57...cE2Df5e89
0 ETH0.0088559353.91180876
Set Staking Toke...180242772023-08-30 1:54:59366 days ago1693360499IN
0x323b7F57...cE2Df5e89
0 ETH0.000725324.80362795
Unstake159790322022-11-16 0:32:59653 days ago1668558779IN
0x323b7F57...cE2Df5e89
0 ETH0.0020812714.29475918
Unstake159605482022-11-13 10:36:47656 days ago1668335807IN
0x323b7F57...cE2Df5e89
0 ETH0.0004517813.56843159
Unstake159605412022-11-13 10:35:23656 days ago1668335723IN
0x323b7F57...cE2Df5e89
0 ETH0.0004515
Unstake159593042022-11-13 6:26:59656 days ago1668320819IN
0x323b7F57...cE2Df5e89
0 ETH0.0015407513.03327153
Unstake159592972022-11-13 6:25:35656 days ago1668320735IN
0x323b7F57...cE2Df5e89
0 ETH0.0019393313.63215158
Unstake159582502022-11-13 2:54:47656 days ago1668308087IN
0x323b7F57...cE2Df5e89
0 ETH0.0016655111.82944617
Unstake159580642022-11-13 2:17:23656 days ago1668305843IN
0x323b7F57...cE2Df5e89
0 ETH0.001915711.45970529
Unstake159580272022-11-13 2:09:59656 days ago1668305399IN
0x323b7F57...cE2Df5e89
0 ETH0.0020139112.89647657
Unstake159580162022-11-13 2:07:47656 days ago1668305267IN
0x323b7F57...cE2Df5e89
0 ETH0.0019446112.17757504
Unstake159580042022-11-13 2:05:23656 days ago1668305123IN
0x323b7F57...cE2Df5e89
0 ETH0.0018645911.15296179
Unstake159579912022-11-13 2:02:47656 days ago1668304967IN
0x323b7F57...cE2Df5e89
0 ETH0.0016128210.54609713
Unstake159579672022-11-13 1:57:59656 days ago1668304679IN
0x323b7F57...cE2Df5e89
0 ETH0.0018185312.39113339
Unstake159579102022-11-13 1:46:35656 days ago1668303995IN
0x323b7F57...cE2Df5e89
0 ETH0.0020077914.37292667
Unstake159578422022-11-13 1:32:59656 days ago1668303179IN
0x323b7F57...cE2Df5e89
0 ETH0.0015039212.27395826
Unstake159578222022-11-13 1:28:59656 days ago1668302939IN
0x323b7F57...cE2Df5e89
0 ETH0.0019300713.60789684
Unstake159578102022-11-13 1:26:35656 days ago1668302795IN
0x323b7F57...cE2Df5e89
0 ETH0.0017042512.85918304
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ForgeStaking

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : ForgeStaking.sol
//SPDX-License-Identifier: MIT

/**
 * Staking Contract:
 * 1- holders of Radiate token can stake their tokens in this contract and receive an APY of 180%
 * 2- rewards are paid from staking vault
 */

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

pragma solidity 0.8.8;

contract DSMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }
    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, "ds-math-sub-underflow");
    }
    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }

    function min(uint x, uint y) internal pure returns (uint z) {
        return x <= y ? x : y;
    }
    function max(uint x, uint y) internal pure returns (uint z) {
        return x >= y ? x : y;
    }
    function imin(int x, int y) internal pure returns (int z) {
        return x <= y ? x : y;
    }
    function imax(int x, int y) internal pure returns (int z) {
        return x >= y ? x : y;
    }

    uint constant WAD = 10 ** 18;
    uint constant RAY = 10 ** 27;

    function wmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }
    function rmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }
    function wdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, WAD), y / 2) / y;
    }
    function rdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    // This famous algorithm is called "exponentiation by squaring"
    // and calculates x^n with x as fixed-point and n as regular unsigned.
    //
    // It's O(log n), instead of O(n) for naive repeated multiplication.
    //
    // These facts are why it works:
    //
    //  If n is even, then x^n = (x^2)^(n/2).
    //  If n is odd,  then x^n = x * x^(n-1),
    //   and applying the equation for even x gives
    //    x^n = x * (x^2)^((n-1) / 2).
    //
    //  Also, EVM division is flooring and
    //    floor[(n-1) / 2] = floor[n / 2].
    //
    function rpow(uint x, uint n) internal pure returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }
}

contract ForgeStaking is Ownable, DSMath {
    //  So we said were doing the tier system, so for the first tier no time limit, 2nd is 7 days, 3rd is 14 days, 4th is 30 days
    // ex : No unstake limit : 50% APY , 7 days : 75% APY , 14 days : 100% APY , 30 days : 160% APY ?
    //On the dapp/website for staking call the tiers of staking : 1. Electromagnetic Staking, 2. Neutron Staking, 3. Beta Staking, 4. Alpha Staking
    struct Pool {
        uint256 Id;
        uint256 APY;
        uint256 MinTime;
    }

    struct StakeProfile {
        uint256 totalStaked;
        uint256 stakeEnd;
        uint256 stakeId;
        uint256 paidRewards;
        uint256 stakeStart;
    }

    //Pool Electromagnetic
    Pool private Bronze = Pool(0, 50, 0);
    //Pool Neutron
    Pool private Gold = Pool(0, 75, 7 days);
    //Pool Beta
    Pool private Platinum = Pool(0, 100, 14 days);
    //Pool Alpha
    Pool private Diamond = Pool(0, 160, 30 days);

    mapping(uint256=>Pool) Pools;

    //Staking Settings
    IERC20 public stakingToken;
    address public stakingVault;

    //Stakers
    uint256 public totalStaked;
    mapping(uint256=>mapping(address=>StakeProfile)) stakers;


    constructor() {
        Pools[0] = Bronze;
        Pools[1] = Gold;
        Pools[2] = Platinum;
        Pools[3] = Diamond;
    }


    function stake(uint256 _stakeNumber, uint256 poolId) external {
        //Validating...
        require(_stakeNumber > 0, "can not stake 0 tokens!");
        require(poolId < 4, "Invalid Pool!");

        //Getting corresponding stake pool
        Pool memory targetPool = Pools[poolId];

        //updating staker profile:
        StakeProfile memory profile = stakers[poolId][msg.sender];
        //Adding tokens to staker profile
        profile.totalStaked += _stakeNumber;
        //Setting stake end time but first making sure that we are not overwriting it!
        if(profile.stakeEnd == 0){
            profile.stakeEnd = block.timestamp + targetPool.MinTime;
        }
        //Setting stake start time if not already set
        if(profile.stakeStart == 0){
            profile.stakeStart = block.timestamp;
        }
        //setting stake Id
        profile.stakeId = poolId;
 
        stakers[poolId][msg.sender] = profile;

        //Transfering tokens and increasing total staked amount
        totalStaked += _stakeNumber;
        stakingToken.transferFrom(msg.sender, address(this), _stakeNumber);
    }


    function unstake(uint256 _unstakeNumber, uint256 poolId) external {
        //getting corresponding stake profile
        StakeProfile memory profile = stakers[poolId][msg.sender];

        //Validating
        require(profile.totalStaked >= _unstakeNumber, "Can't unstake more than balance.");
        require(block.timestamp >= profile.stakeEnd, "Can't unstake before end time!");
        require(poolId < 4, "Invalid Pool!");

        //calculating rewards if there is any
        uint256 totalRewards = getRewards(msg.sender, poolId);

        //Updating staker profile
        //- Reducing unstake amount
        profile.totalStaked -= _unstakeNumber;

        if(totalRewards > 0){
            profile.paidRewards += totalRewards;
        }

        //- Reseting time if unstaked all
        if(profile.totalStaked == 0){
            profile.stakeEnd = 0;
            profile.stakeStart = 0;
            profile.paidRewards = 0;
        }
        //- Writing updated profile to storage
        stakers[poolId][msg.sender] = profile;

        //- Reducing from total staked
        totalStaked -= _unstakeNumber;

        //sending tokens to staker
        if(stakingToken.balanceOf(stakingVault) >= totalRewards && totalRewards > 0){
            stakingToken.transferFrom(stakingVault, msg.sender, totalRewards);
        }
        stakingToken.transfer(msg.sender, _unstakeNumber);
    }

    //Setters
    function setStakingVault(address newVault) external onlyOwner{
        stakingVault = newVault;
    }

    function setStakingToken(address newStakingToken) external onlyOwner{
        stakingToken = IERC20(newStakingToken);
    }

    //Getters
    function getRewards(address _staker, uint256 poolId) public view returns(uint256){
        //getting corresponding stake profile
        StakeProfile memory profile = stakers[poolId][_staker];
        if(profile.totalStaked == 0){
            return 0;
        }
        uint256 elapsedTime = block.timestamp - profile.stakeStart;
        uint256 apy = Pools[poolId].APY;
        uint256 Interest = calculateInteresetInSeconds(profile.totalStaked, apy, elapsedTime);
        if(Interest > profile.totalStaked + profile.paidRewards){
            return Interest - (profile.totalStaked + profile.paidRewards);
        }else{
            return 0;
        }
    }

    //put apy in %, example : 100% == 100, 160% = 160
    function calculateInteresetInSeconds(uint256 principal, uint256 apy, uint256 _seconds) public pure returns(uint256){
        //Calculating the ratio per second
        //ratio per seconds
        uint256 _ratio = ratio(apy);
        //Interest after _seconds
        return accrueInterest(principal, _ratio, _seconds);
    }

    function ratio(uint256 n) internal pure returns(uint256){
        uint256 numerator = n * 10 ** 25;
        uint256 denominator = 365 * 86400;
        uint256 result = uint256(10 ** 27) + uint256(numerator / denominator);
        return result;
    }

    function accrueInterest(uint _principal, uint _rate, uint _age) internal pure returns (uint) {
        return rmul(_principal, rpow(_rate, _age));
    }

    function getStakerProfile(address _staker, uint256 _poolId) public view returns(StakeProfile memory){
        return stakers[_poolId][_staker];
    }

    function getPoolInfo(uint256 poolId) public view returns(Pool memory){
        return Pools[poolId];
    }

    function getStakedInPool(address account, uint256 poolId) public view returns(uint256){
        return stakers[poolId][account].totalStaked;
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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);
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 4 of 4 : 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[{"internalType":"uint256","name":"principal","type":"uint256"},{"internalType":"uint256","name":"apy","type":"uint256"},{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"calculateInteresetInSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"poolId","type":"uint256"}],"name":"getPoolInfo","outputs":[{"components":[{"internalType":"uint256","name":"Id","type":"uint256"},{"internalType":"uint256","name":"APY","type":"uint256"},{"internalType":"uint256","name":"MinTime","type":"uint256"}],"internalType":"struct ForgeStaking.Pool","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"uint256","name":"poolId","type":"uint256"}],"name":"getRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"poolId","type":"uint256"}],"name":"getStakedInPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"}],"name":"getStakerProfile","outputs":[{"components":[{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"stakeEnd","type":"uint256"},{"internalType":"uint256","name":"stakeId","type":"uint256"},{"internalType":"uint256","name":"paidRewards","type":"uint256"},{"internalType":"uint256","name":"stakeStart","type":"uint256"}],"internalType":"struct ForgeStaking.StakeProfile","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newStakingToken","type":"address"}],"name":"setStakingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVault","type":"address"}],"name":"setStakingVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stakeNumber","type":"uint256"},{"internalType":"uint256","name":"poolId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","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":[{"internalType":"uint256","name":"_unstakeNumber","type":"uint256"},{"internalType":"uint256","name":"poolId","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180606001604052806000815260200160328152602001600081525060016000820151816000015560208201518160010155604082015181600201555050604051806060016040528060008152602001604b815260200162093a808152506004600082015181600001556020820151816001015560408201518160020155505060405180606001604052806000815260200160648152602001621275008152506007600082015181600001556020820151816001015560408201518160020155505060405180606001604052806000815260200160a0815260200162278d00815250600a600082015181600001556020820151816001015560408201518160020155505034801561011657600080fd5b5061013361012861021360201b60201c565b61021b60201b60201c565b6001600d60008081526020019081526020016000206000820154816000015560018201548160010155600282015481600201559050506004600d6000600181526020019081526020016000206000820154816000015560018201548160010155600282015481600201559050506007600d600060028152602001908152602001600020600082015481600001556001820154816001015560028201548160020155905050600a600d6000600381526020019081526020016000206000820154816000015560018201548160010155600282015481600201559050506102df565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611ce8806102ee6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80637b0472f011610097578063a1d72b3211610066578063a1d72b3214610260578063dc4e4f7e14610290578063f2fde38b146102c0578063fe560792146102dc576100f5565b80637b0472f0146101ec578063817b1cd2146102085780638da5cb5b146102265780639e2c8a5b14610244576100f5565b80636a184d80116100d35780636a184d8014610164578063715018a61461019457806372f702f31461019e5780637387f44d146101bc576100f5565b80631e9b12ef146100fa57806324e7964a146101165780632f380b3514610134575b600080fd5b610114600480360381019061010f9190611350565b6102f8565b005b61011e610344565b60405161012b919061138c565b60405180910390f35b61014e600480360381019061014991906113dd565b61036a565b60405161015b919061145b565b60405180910390f35b61017e60048036038101906101799190611476565b6103b5565b60405161018b91906114d8565b60405180910390f35b61019c6103d8565b005b6101a66103ec565b6040516101b39190611552565b60405180910390f35b6101d660048036038101906101d1919061156d565b610412565b6040516101e391906114d8565b60405180910390f35b610206600480360381019061020191906115ad565b610551565b005b610210610861565b60405161021d91906114d8565b60405180910390f35b61022e610867565b60405161023b919061138c565b60405180910390f35b61025e600480360381019061025991906115ad565b610890565b005b61027a6004803603810190610275919061156d565b610d76565b60405161028791906114d8565b60405180910390f35b6102aa60048036038101906102a5919061156d565b610dd4565b6040516102b79190611655565b60405180910390f35b6102da60048036038101906102d59190611350565b610e71565b005b6102f660048036038101906102f19190611350565b610ef5565b005b610300610f41565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61037261129d565b600d600083815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b6000806103c184610fbf565b90506103ce858285611016565b9150509392505050565b6103e0610f41565b6103ea6000611034565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806011600084815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090506000816000015114156104bb57600091505061054b565b60008160800151426104cd919061169f565b90506000600d600086815260200190815260200160002060010154905060006104fb846000015183856103b5565b90508360600151846000015161051191906116d3565b811115610542578360600151846000015161052c91906116d3565b81610537919061169f565b94505050505061054b565b60009450505050505b92915050565b60008211610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b90611786565b60405180910390fd5b600481106105d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ce906117f2565b60405180910390fd5b6000600d60008381526020019081526020016000206040518060600160405290816000820154815260200160018201548152602001600282015481525050905060006011600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905083816000018181516106ba91906116d3565b915081815250506000816020015114156106e8578160400151426106de91906116d3565b8160200181815250505b60008160800151141561070057428160800181815250505b82816040018181525050806011600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015590505083601060008282546107a291906116d3565b92505081905550600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330876040518463ffffffff1660e01b815260040161080893929190611812565b602060405180830381600087803b15801561082257600080fd5b505af1158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611881565b5050505050565b60105481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006011600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090508281600001511015610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f906118fa565b60405180910390fd5b80602001514210156109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690611966565b60405180910390fd5b600482106109f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e9906117f2565b60405180910390fd5b60006109fe3384610412565b90508382600001818151610a12919061169f565b915081815250506000811115610a3c578082606001818151610a3491906116d3565b915081815250505b600082600001511415610a6b576000826020018181525050600082608001818152505060008260600181815250505b816011600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050508360106000828254610b03919061169f565b9250508190555080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401610b88919061138c565b60206040518083038186803b158015610ba057600080fd5b505afa158015610bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd8919061199b565b10158015610be65750600081115b15610cc057600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633846040518463ffffffff1660e01b8152600401610c6c93929190611812565b602060405180830381600087803b158015610c8657600080fd5b505af1158015610c9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbe9190611881565b505b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33866040518363ffffffff1660e01b8152600401610d1d9291906119c8565b602060405180830381600087803b158015610d3757600080fd5b505af1158015610d4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6f9190611881565b5050505050565b60006011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154905092915050565b610ddc6112be565b6011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905092915050565b610e79610f41565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee090611a63565b60405180910390fd5b610ef281611034565b50565b610efd610f41565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f496110f8565b73ffffffffffffffffffffffffffffffffffffffff16610f67610867565b73ffffffffffffffffffffffffffffffffffffffff1614610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490611acf565b60405180910390fd5b565b6000806a084595161401484a00000083610fd99190611aef565b905060006301e13380905060008183610ff29190611b78565b6b033b2e3c9fd0803ce800000061100991906116d3565b9050809350505050919050565b600061102b846110268585611100565b61118b565b90509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000806002836111109190611ba9565b1415611128576b033b2e3c9fd0803ce800000061112a565b825b90506002826111399190611b78565b91505b600082146111855761114e838461118b565b9250600060028361115f9190611ba9565b146111715761116e818461118b565b90505b60028261117e9190611b78565b915061113c565b92915050565b60006b033b2e3c9fd0803ce80000006111c56111a785856111d7565b60026b033b2e3c9fd0803ce80000006111c09190611b78565b611244565b6111cf9190611b78565b905092915050565b6000808214806111ff5750828283856111f09190611aef565b9250826111fd9190611b78565b145b61123e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123590611c26565b60405180910390fd5b92915050565b600082828461125391906116d3565b9150811015611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e90611c92565b60405180910390fd5b92915050565b60405180606001604052806000815260200160008152602001600081525090565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061131d826112f2565b9050919050565b61132d81611312565b811461133857600080fd5b50565b60008135905061134a81611324565b92915050565b600060208284031215611366576113656112ed565b5b60006113748482850161133b565b91505092915050565b61138681611312565b82525050565b60006020820190506113a1600083018461137d565b92915050565b6000819050919050565b6113ba816113a7565b81146113c557600080fd5b50565b6000813590506113d7816113b1565b92915050565b6000602082840312156113f3576113f26112ed565b5b6000611401848285016113c8565b91505092915050565b611413816113a7565b82525050565b60608201600082015161142f600085018261140a565b506020820151611442602085018261140a565b506040820151611455604085018261140a565b50505050565b60006060820190506114706000830184611419565b92915050565b60008060006060848603121561148f5761148e6112ed565b5b600061149d868287016113c8565b93505060206114ae868287016113c8565b92505060406114bf868287016113c8565b9150509250925092565b6114d2816113a7565b82525050565b60006020820190506114ed60008301846114c9565b92915050565b6000819050919050565b600061151861151361150e846112f2565b6114f3565b6112f2565b9050919050565b600061152a826114fd565b9050919050565b600061153c8261151f565b9050919050565b61154c81611531565b82525050565b60006020820190506115676000830184611543565b92915050565b60008060408385031215611584576115836112ed565b5b60006115928582860161133b565b92505060206115a3858286016113c8565b9150509250929050565b600080604083850312156115c4576115c36112ed565b5b60006115d2858286016113c8565b92505060206115e3858286016113c8565b9150509250929050565b60a082016000820151611603600085018261140a565b506020820151611616602085018261140a565b506040820151611629604085018261140a565b50606082015161163c606085018261140a565b50608082015161164f608085018261140a565b50505050565b600060a08201905061166a60008301846115ed565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006116aa826113a7565b91506116b5836113a7565b9250828210156116c8576116c7611670565b5b828203905092915050565b60006116de826113a7565b91506116e9836113a7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561171e5761171d611670565b5b828201905092915050565b600082825260208201905092915050565b7f63616e206e6f74207374616b65203020746f6b656e7321000000000000000000600082015250565b6000611770601783611729565b915061177b8261173a565b602082019050919050565b6000602082019050818103600083015261179f81611763565b9050919050565b7f496e76616c696420506f6f6c2100000000000000000000000000000000000000600082015250565b60006117dc600d83611729565b91506117e7826117a6565b602082019050919050565b6000602082019050818103600083015261180b816117cf565b9050919050565b6000606082019050611827600083018661137d565b611834602083018561137d565b61184160408301846114c9565b949350505050565b60008115159050919050565b61185e81611849565b811461186957600080fd5b50565b60008151905061187b81611855565b92915050565b600060208284031215611897576118966112ed565b5b60006118a58482850161186c565b91505092915050565b7f43616e277420756e7374616b65206d6f7265207468616e2062616c616e63652e600082015250565b60006118e4602083611729565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b7f43616e277420756e7374616b65206265666f726520656e642074696d65210000600082015250565b6000611950601e83611729565b915061195b8261191a565b602082019050919050565b6000602082019050818103600083015261197f81611943565b9050919050565b600081519050611995816113b1565b92915050565b6000602082840312156119b1576119b06112ed565b5b60006119bf84828501611986565b91505092915050565b60006040820190506119dd600083018561137d565b6119ea60208301846114c9565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611a4d602683611729565b9150611a58826119f1565b604082019050919050565b60006020820190508181036000830152611a7c81611a40565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611ab9602083611729565b9150611ac482611a83565b602082019050919050565b60006020820190508181036000830152611ae881611aac565b9050919050565b6000611afa826113a7565b9150611b05836113a7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611b3e57611b3d611670565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611b83826113a7565b9150611b8e836113a7565b925082611b9e57611b9d611b49565b5b828204905092915050565b6000611bb4826113a7565b9150611bbf836113a7565b925082611bcf57611bce611b49565b5b828206905092915050565b7f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000600082015250565b6000611c10601483611729565b9150611c1b82611bda565b602082019050919050565b60006020820190508181036000830152611c3f81611c03565b9050919050565b7f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000600082015250565b6000611c7c601483611729565b9150611c8782611c46565b602082019050919050565b60006020820190508181036000830152611cab81611c6f565b905091905056fea26469706673582212208b112a0720f64ca7edc16fea165551146add189001a23927942ceb1980ceb65b64736f6c63430008080033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80637b0472f011610097578063a1d72b3211610066578063a1d72b3214610260578063dc4e4f7e14610290578063f2fde38b146102c0578063fe560792146102dc576100f5565b80637b0472f0146101ec578063817b1cd2146102085780638da5cb5b146102265780639e2c8a5b14610244576100f5565b80636a184d80116100d35780636a184d8014610164578063715018a61461019457806372f702f31461019e5780637387f44d146101bc576100f5565b80631e9b12ef146100fa57806324e7964a146101165780632f380b3514610134575b600080fd5b610114600480360381019061010f9190611350565b6102f8565b005b61011e610344565b60405161012b919061138c565b60405180910390f35b61014e600480360381019061014991906113dd565b61036a565b60405161015b919061145b565b60405180910390f35b61017e60048036038101906101799190611476565b6103b5565b60405161018b91906114d8565b60405180910390f35b61019c6103d8565b005b6101a66103ec565b6040516101b39190611552565b60405180910390f35b6101d660048036038101906101d1919061156d565b610412565b6040516101e391906114d8565b60405180910390f35b610206600480360381019061020191906115ad565b610551565b005b610210610861565b60405161021d91906114d8565b60405180910390f35b61022e610867565b60405161023b919061138c565b60405180910390f35b61025e600480360381019061025991906115ad565b610890565b005b61027a6004803603810190610275919061156d565b610d76565b60405161028791906114d8565b60405180910390f35b6102aa60048036038101906102a5919061156d565b610dd4565b6040516102b79190611655565b60405180910390f35b6102da60048036038101906102d59190611350565b610e71565b005b6102f660048036038101906102f19190611350565b610ef5565b005b610300610f41565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61037261129d565b600d600083815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b6000806103c184610fbf565b90506103ce858285611016565b9150509392505050565b6103e0610f41565b6103ea6000611034565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806011600084815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090506000816000015114156104bb57600091505061054b565b60008160800151426104cd919061169f565b90506000600d600086815260200190815260200160002060010154905060006104fb846000015183856103b5565b90508360600151846000015161051191906116d3565b811115610542578360600151846000015161052c91906116d3565b81610537919061169f565b94505050505061054b565b60009450505050505b92915050565b60008211610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b90611786565b60405180910390fd5b600481106105d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ce906117f2565b60405180910390fd5b6000600d60008381526020019081526020016000206040518060600160405290816000820154815260200160018201548152602001600282015481525050905060006011600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905083816000018181516106ba91906116d3565b915081815250506000816020015114156106e8578160400151426106de91906116d3565b8160200181815250505b60008160800151141561070057428160800181815250505b82816040018181525050806011600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015590505083601060008282546107a291906116d3565b92505081905550600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330876040518463ffffffff1660e01b815260040161080893929190611812565b602060405180830381600087803b15801561082257600080fd5b505af1158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611881565b5050505050565b60105481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006011600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090508281600001511015610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f906118fa565b60405180910390fd5b80602001514210156109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690611966565b60405180910390fd5b600482106109f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e9906117f2565b60405180910390fd5b60006109fe3384610412565b90508382600001818151610a12919061169f565b915081815250506000811115610a3c578082606001818151610a3491906116d3565b915081815250505b600082600001511415610a6b576000826020018181525050600082608001818152505060008260600181815250505b816011600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050508360106000828254610b03919061169f565b9250508190555080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401610b88919061138c565b60206040518083038186803b158015610ba057600080fd5b505afa158015610bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd8919061199b565b10158015610be65750600081115b15610cc057600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633846040518463ffffffff1660e01b8152600401610c6c93929190611812565b602060405180830381600087803b158015610c8657600080fd5b505af1158015610c9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbe9190611881565b505b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33866040518363ffffffff1660e01b8152600401610d1d9291906119c8565b602060405180830381600087803b158015610d3757600080fd5b505af1158015610d4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6f9190611881565b5050505050565b60006011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154905092915050565b610ddc6112be565b6011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905092915050565b610e79610f41565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee090611a63565b60405180910390fd5b610ef281611034565b50565b610efd610f41565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f496110f8565b73ffffffffffffffffffffffffffffffffffffffff16610f67610867565b73ffffffffffffffffffffffffffffffffffffffff1614610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490611acf565b60405180910390fd5b565b6000806a084595161401484a00000083610fd99190611aef565b905060006301e13380905060008183610ff29190611b78565b6b033b2e3c9fd0803ce800000061100991906116d3565b9050809350505050919050565b600061102b846110268585611100565b61118b565b90509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000806002836111109190611ba9565b1415611128576b033b2e3c9fd0803ce800000061112a565b825b90506002826111399190611b78565b91505b600082146111855761114e838461118b565b9250600060028361115f9190611ba9565b146111715761116e818461118b565b90505b60028261117e9190611b78565b915061113c565b92915050565b60006b033b2e3c9fd0803ce80000006111c56111a785856111d7565b60026b033b2e3c9fd0803ce80000006111c09190611b78565b611244565b6111cf9190611b78565b905092915050565b6000808214806111ff5750828283856111f09190611aef565b9250826111fd9190611b78565b145b61123e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123590611c26565b60405180910390fd5b92915050565b600082828461125391906116d3565b9150811015611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e90611c92565b60405180910390fd5b92915050565b60405180606001604052806000815260200160008152602001600081525090565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061131d826112f2565b9050919050565b61132d81611312565b811461133857600080fd5b50565b60008135905061134a81611324565b92915050565b600060208284031215611366576113656112ed565b5b60006113748482850161133b565b91505092915050565b61138681611312565b82525050565b60006020820190506113a1600083018461137d565b92915050565b6000819050919050565b6113ba816113a7565b81146113c557600080fd5b50565b6000813590506113d7816113b1565b92915050565b6000602082840312156113f3576113f26112ed565b5b6000611401848285016113c8565b91505092915050565b611413816113a7565b82525050565b60608201600082015161142f600085018261140a565b506020820151611442602085018261140a565b506040820151611455604085018261140a565b50505050565b60006060820190506114706000830184611419565b92915050565b60008060006060848603121561148f5761148e6112ed565b5b600061149d868287016113c8565b93505060206114ae868287016113c8565b92505060406114bf868287016113c8565b9150509250925092565b6114d2816113a7565b82525050565b60006020820190506114ed60008301846114c9565b92915050565b6000819050919050565b600061151861151361150e846112f2565b6114f3565b6112f2565b9050919050565b600061152a826114fd565b9050919050565b600061153c8261151f565b9050919050565b61154c81611531565b82525050565b60006020820190506115676000830184611543565b92915050565b60008060408385031215611584576115836112ed565b5b60006115928582860161133b565b92505060206115a3858286016113c8565b9150509250929050565b600080604083850312156115c4576115c36112ed565b5b60006115d2858286016113c8565b92505060206115e3858286016113c8565b9150509250929050565b60a082016000820151611603600085018261140a565b506020820151611616602085018261140a565b506040820151611629604085018261140a565b50606082015161163c606085018261140a565b50608082015161164f608085018261140a565b50505050565b600060a08201905061166a60008301846115ed565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006116aa826113a7565b91506116b5836113a7565b9250828210156116c8576116c7611670565b5b828203905092915050565b60006116de826113a7565b91506116e9836113a7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561171e5761171d611670565b5b828201905092915050565b600082825260208201905092915050565b7f63616e206e6f74207374616b65203020746f6b656e7321000000000000000000600082015250565b6000611770601783611729565b915061177b8261173a565b602082019050919050565b6000602082019050818103600083015261179f81611763565b9050919050565b7f496e76616c696420506f6f6c2100000000000000000000000000000000000000600082015250565b60006117dc600d83611729565b91506117e7826117a6565b602082019050919050565b6000602082019050818103600083015261180b816117cf565b9050919050565b6000606082019050611827600083018661137d565b611834602083018561137d565b61184160408301846114c9565b949350505050565b60008115159050919050565b61185e81611849565b811461186957600080fd5b50565b60008151905061187b81611855565b92915050565b600060208284031215611897576118966112ed565b5b60006118a58482850161186c565b91505092915050565b7f43616e277420756e7374616b65206d6f7265207468616e2062616c616e63652e600082015250565b60006118e4602083611729565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b7f43616e277420756e7374616b65206265666f726520656e642074696d65210000600082015250565b6000611950601e83611729565b915061195b8261191a565b602082019050919050565b6000602082019050818103600083015261197f81611943565b9050919050565b600081519050611995816113b1565b92915050565b6000602082840312156119b1576119b06112ed565b5b60006119bf84828501611986565b91505092915050565b60006040820190506119dd600083018561137d565b6119ea60208301846114c9565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611a4d602683611729565b9150611a58826119f1565b604082019050919050565b60006020820190508181036000830152611a7c81611a40565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611ab9602083611729565b9150611ac482611a83565b602082019050919050565b60006020820190508181036000830152611ae881611aac565b9050919050565b6000611afa826113a7565b9150611b05836113a7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611b3e57611b3d611670565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611b83826113a7565b9150611b8e836113a7565b925082611b9e57611b9d611b49565b5b828204905092915050565b6000611bb4826113a7565b9150611bbf836113a7565b925082611bcf57611bce611b49565b5b828206905092915050565b7f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000600082015250565b6000611c10601483611729565b9150611c1b82611bda565b602082019050919050565b60006020820190508181036000830152611c3f81611c03565b9050919050565b7f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000600082015250565b6000611c7c601483611729565b9150611c8782611c46565b602082019050919050565b60006020820190508181036000830152611cab81611c6f565b905091905056fea26469706673582212208b112a0720f64ca7edc16fea165551146add189001a23927942ceb1980ceb65b64736f6c63430008080033

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  ]

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.