Contract 0x81adc0842711b8135aff00ee2adcd2f6fe09cde0

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd67b80151b8c23b65590bf6cd68b12c3473ef60f5ec6c53981eccee6c1fd77fcGet Reward144954332022-01-19 7:35:3012 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xa91f83469e7b6575f1c17163738539d671e2c0dff43a941ee8d7c40225a60a8cGet Reward144954312022-01-19 7:35:2412 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00045109
0xa4dd181727c813b0b3c5878f71a62f2761f5897a5e2ba64a97980fa13d531c3aGet Reward144954312022-01-19 7:35:2412 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x3542d1f213be3061365afa3a45658503a79151308c96c185b9ca13e85de1517cGet Reward144954272022-01-19 7:35:1213 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x7ea238a2b0e0e205395bba32f7ab1257af541b93a82588c82e6982d49cdcc444Get Reward144954262022-01-19 7:35:0913 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xdcbd2dcaf04a954b082b529a4ee7a9c08bb999a41e45d58b709b7ec437917841Get Reward144954232022-01-19 7:35:0013 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xbf990182ffa6997f008ecc7502a69742bdd866eb40b023b04f67cc66fdd820baGet Reward144954222022-01-19 7:34:5713 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x63affb37d1e10cba615fc2216769789cabe24afced48e999da803196c0f2726eGet Reward144954202022-01-19 7:34:5113 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xa6081862f6d6e48b5dc4a931b5d6873ba4e987f0dd61f0165994e0b72f892461Get Reward144954192022-01-19 7:34:4813 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x3f4b230433c426fa66d6345d5ed4b71a558318cae308e74bb780456b0ea02b11Get Reward144954162022-01-19 7:34:3913 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x7c7caac451e4e36f0406326c218341d7a408dea9f6571f143da2fbe2fc7bbfb3Get Reward144954142022-01-19 7:34:3313 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00045109
0x35cd4d3eb47c3693f255e445d2e185f50452447a97d7a9c90403985392a2b3ccGet Reward144954142022-01-19 7:34:3313 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x2f00b9d12865dbb295b87fdd6e6b2aa90e8523dbf0cda74438e9b4628633762aGet Reward144954132022-01-19 7:34:3013 mins ago0x38ebedb53c81f98f1c54ec20593ddf9c3c08120e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xf31a942a0481748fc7ee3cea85742b7912384ed8f5351593f9ab38c9295d4f08Get Reward144953232022-01-19 7:30:0018 mins ago0xaa40185438464c451625212c08e445707ae88883 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xae1a8bdb681b923c0826ee29ca595da2d3368255090a5916c95a16352e9ac124Get Reward144948412022-01-19 7:05:5442 mins ago0x78991bc115b5908c3754065f433753d2af69497a IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00056854
0x080b556be6a9e057aa103023d430c6a34c611fe5ecf778fff0cb21cd58ddf9a0Get Reward144944992022-01-19 6:48:4859 mins ago0x0b32617a19707a2d82cb03867c6c39638ddf3f7e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xac5d89ab96c481a18dcac6983a1fbb2c5ed425a3fe68129d7801ad15859ff490Get Reward144944942022-01-19 6:48:3359 mins ago0x0b32617a19707a2d82cb03867c6c39638ddf3f7e IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xf585012a39761148e1032f5c46d4d5dfcc335ab2a41c42cb9094f43e402156f2Get Reward144941492022-01-19 6:31:181 hr 17 mins ago0xc0914b967a0b02baec389808962493e9c2b6b536 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x06e83f0020a2b3b548d6aba80096e458395d4415ac876b375ccc43f16c71a80dGet Reward144941222022-01-19 6:29:571 hr 18 mins ago0xc0914b967a0b02baec389808962493e9c2b6b536 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x621032745f2318d388507658498d2b1ee8a71485631c8823f20684e90ca732a8Get Reward144941052022-01-19 6:29:061 hr 19 mins ago0xc0914b967a0b02baec389808962493e9c2b6b536 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x1c5b162b469927b263762ec70d09a1d8c2cd636737b7305ee937eeb2c9f7d861Get Reward144938152022-01-19 6:14:361 hr 33 mins ago0x835a7449b33e041834f4808b488db3dbdb848103 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x0935f350e0ae848e81ad8ef57a753e4219e2172f973dc2bed1b3928d7bd4897aGet Reward144938112022-01-19 6:14:241 hr 33 mins ago0x835a7449b33e041834f4808b488db3dbdb848103 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x5fcd791ed271b7f0b7ed736da8e28695cf0dc1223e05183d5a97662298bffa8eGet Reward144938082022-01-19 6:14:151 hr 34 mins ago0x835a7449b33e041834f4808b488db3dbdb848103 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0x6e77616aa587fe7365a6575227cf184c2d0cb35d72767742da1e3cb70b8d5e28Get Reward144938042022-01-19 6:14:031 hr 34 mins ago0x835a7449b33e041834f4808b488db3dbdb848103 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00049354
0xeee22d6b4f8e3d43252fa824c49cc82adbf857bdc72ab9ad7cf280ea8621ad98Get Reward144937862022-01-19 6:13:091 hr 35 mins ago0x835a7449b33e041834f4808b488db3dbdb848103 IN  0x81adc0842711b8135aff00ee2adcd2f6fe09cde00 BNB0.00056854
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x9570c93D0D1C0b2C525E704C0864bD435a2E94ba

Contract Name:
BinoFarm

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 16: BinoFarm.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

import "./SafeMath.sol";
import "./Math.sol";
import "./Context.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./SafeERC20.sol";
import "./IMaterials.sol";
import "./IStakingProof.sol";
import "./IERC721.sol";
import "./IHousesNFT.sol";
import "./IERC721Receiver.sol";
import "./ReentrancyGuard.sol";
import "./RewardsDistributionRecipient.sol";


contract BinoFarm is Context, Ownable, RewardsDistributionRecipient, ReentrancyGuard, IERC721Receiver {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== STATE VARIABLES ========== */

    // BINO token
    IERC20 public rewardsToken;
    // This ERC721 token is used to transfer ownership while Staking; methods: ownerOf, safeMint, burn
    IStakingProof public stakingProof;
    // Staking ERC721 housesNFT; can not be withdraw but be burned;
    IERC721 public housesERC721;
    IHousesNFT public housesNFT;
    // When housesNFT is burned, 50% of materials will be minted to its stakingProof owner;
    // Notice: not mint to the original owner of housesNFT, if it was transfered to another address
    IMaterials public materials;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 14 days;  // default by 2 weeks
    uint256 public lastUpdateTime;
    uint256 public rewardPerPointStored;
    
    uint256 public constant RENTING_PERIOD = 8 hours;
    uint256 public constant PROTECTING_PERIOD = 5 minutes;
    // default for sharing 50%, can be modified by the admin. from 0 to 100
    uint256 public share = 50;
    uint256 public collectionCardId = 18;
    uint256 public collectionCardAmounts = 1;
    uint256 public binoFee = 0; // defaule 0 Bino


    // tokenId => bool
    mapping(uint256 => bool) public isStaked;
    // tokenId => harvest time
    mapping(uint256 => uint256) public harvestTime;
    // tokenId => bino amount
    mapping(uint256 => uint256) public userRewardPerPointPaid;
    // tokenId => bino amount
    mapping(uint256 => uint256) public rewards;
    // accumulated staking NFT houses points
    uint256 private _totalSupply;
    // tokenId => points for this staking Id house
    mapping(uint256 => uint256) private _balances;

    // house's level => material's ids array
    mapping(uint256 => uint256[]) private _levelToIds;
    // house's level => material's amounts array
    mapping(uint256 => uint256[]) private _levelToAmounts;


    /* ========== EVENTS ========== */

    event RewardAdded(uint256 indexed reward);
    event Staked(address indexed user, uint256 indexed tokenId, uint256 indexed initialHarvestTime);
    event Withdrawn(address indexed user, uint256 indexed tokenId, uint256 indexed withdrawTime);
    event RewardPaid(address indexed user, uint256 indexed reward, uint256 indexed nextHarvestTime);
    event RewardsDurationUpdated(uint256 indexed newDuration);
    event Recovered(address token, uint256 amount);


    /* ========== CONSTRUCTOR ========== */

    constructor() public {
        rewardsToken = IERC20(0xA2dF7a11baF8bB555E93b99684A2DE0f105eB592);
        stakingProof = IStakingProof(0x5b1556212a0B4BE284741165bb93F1189082C54a);
        housesERC721 = IERC721(0x3158B2432d19287E0166bf87698BFefe89460573);
        housesNFT = IHousesNFT(0x3158B2432d19287E0166bf87698BFefe89460573);
        materials = IMaterials(0xeDEe132Fcf90FE3157C389706b30c6A1c7A6C88D);
        // set the initial distributor as the contract deployer
        rewardsDistribution = _msgSender();

        _setLevelIds();
        _setLevelAmounts();
    }

    function setShare(uint256 _newShare) public onlyOwner {
        share = _newShare;
    }

    function setBinoFee(uint256 _newFee) public onlyOwner {
        binoFee = _newFee;
    }


    /* ========== VIEWS ========== */

    // accumulated points for all staking NFT houses
    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    // points for each NFT house
    function balanceOf(uint256 tokenId) external view returns (uint256) {
        require(isStaked[tokenId], "this house NFT is not staked yet");
        return _balances[tokenId];
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerPoint() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerPointStored;
        }
        return
            rewardPerPointStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply)
            );
    }

    function earned(uint256 tokenId) public view returns (uint256) {
        require(isStaked[tokenId], "this house NFT is not staked yet");
        return _balances[tokenId].mul(rewardPerPoint().sub(userRewardPerPointPaid[tokenId])).div(1e18).add(rewards[tokenId]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

    function isReadyToHarvest(uint256 tokenId) public view returns (bool) {
        require(isStaked[tokenId], "this house NFT is not staked yet");
        return block.timestamp > harvestTime[tokenId] ? true : false;
    }

    function isReadyToSteal(uint256 tokenId) public view returns (bool) {
        require(isStaked[tokenId], "this house NFT is not staked yet");
        return block.timestamp > harvestTime[tokenId].add(PROTECTING_PERIOD) ? true : false;
    }

    function checkUserStakedTokenIds(address account) public view returns (uint256[] memory) {
        uint256 proofBalance = stakingProof.balanceOf(account);
        uint256[] memory result = new uint256[](proofBalance);

        if (proofBalance > 0) {
            for(uint256 i = 0; i < proofBalance; ++i) {
                result[i] = stakingProof.tokenOfOwnerByIndex(account, i);
            }
        }
        return result;
    }


    /* ========== MUTATIVE FUNCTIONS ========== */
    // house NFT contract: approve before use this method
    // this contract must be the Minter of staking proof contract
    function stake(uint256 tokenId) external nonReentrant {
        require(!isStaked[tokenId], "this house NFT has been staked");
        // only lv 1-4 houses can be staked in public lands
        uint256 level = housesNFT.checkHouseLevel(tokenId);
        require(level <= 4, "only lv 1-4 houses can be staked in public lands");
        // update reward counting for this token
        rewardPerPointStored = rewardPerPoint();          // add rewards of this period of time to total rewards before
        lastUpdateTime = lastTimeRewardApplicable();      // reset the update timestamp
        rewards[tokenId] = 0;
        userRewardPerPointPaid[tokenId] = rewardPerPointStored;

        // read info for this tokenId
        uint256 points = housesNFT.checkHouseLuxury(tokenId);
        _totalSupply = _totalSupply.add(points);
        _balances[tokenId] = points;
        // stake house NFT
        housesERC721.safeTransferFrom(_msgSender(), address(this), tokenId);
        // send a staking proof(ERC721) to its owner
        stakingProof.safeMint(_msgSender(), tokenId);
        harvestTime[tokenId] = block.timestamp.add(RENTING_PERIOD);

        isStaked[tokenId] = true;

        emit Staked(msg.sender, tokenId, harvestTime[tokenId]);
    }

    // only the staking proof's owner can trigger this method to burn NFT house
    // and receive half amounts of materials.
    // staking proof contract: approve before use this method
    // this contract must be the Minter of materials contract
    function withdraw(uint256 tokenId) public nonReentrant {
        require(isStaked[tokenId], "this house NFT is not staked yet");
        require(stakingProof.ownerOf(tokenId) == _msgSender(), "caller is not the staking proof owner");
        _updateReward(tokenId);

        // read info for this tokenId
        uint256 level = housesNFT.checkHouseLevel(tokenId);
        uint256 points = housesNFT.checkHouseLuxury(tokenId);
        _totalSupply = _totalSupply.sub(points);
        _balances[tokenId] = 0;
        // burn house NFT and its staking proof
        housesNFT.burn(tokenId);
        stakingProof.burn(tokenId);
        // mint half materials
        uint256[] memory ids = _levelToIds[level];
        uint256[] memory amounts = _levelToAmounts[level];
        materials.mintBatch(_msgSender(), ids, amounts, "");

        // reset harvest time to 0?
        harvestTime[tokenId] = 0;

        // can not getReward anymore after withdraw
        isStaked[tokenId] = false;

        emit Withdrawn(msg.sender, tokenId, block.timestamp);
    }

    // Materials: must "setApprovalForAll" for non-owners
    // Bino: must "approve" for non-owners
    function getReward(uint256 tokenId) public nonReentrant {
        require(isStaked[tokenId], "this house NFT is not staked yet");
        // must reach the 8 hours Renting period
        require(block.timestamp > harvestTime[tokenId], "Renting period has not ended yet, try later");
        _updateReward(tokenId);
        
        // the total rewards until now for this NFT staking house
        uint256 reward = rewards[tokenId];
        require(reward > 0, "Your reward is 0 now, try later");
        // read this staking house's proof owner
        address proofOwner = stakingProof.ownerOf(tokenId);

        rewards[tokenId] = 0;
        // within the protecting period: only staking proof owner can getReward
        if (_msgSender() == proofOwner) {
            rewardsToken.safeTransfer(proofOwner, reward);
            // reset 8 hours locking time
            harvestTime[tokenId] = block.timestamp.add(RENTING_PERIOD);
        } else { // beyond the protecting period: msgSender shares 50% profits with staking proof owner
            require(block.timestamp >= harvestTime[tokenId].add(PROTECTING_PERIOD), "Not allowed: within Protection period");
            // consume collectionCard
            materials.burn(_msgSender(), collectionCardId, collectionCardAmounts);
            if (binoFee > 0) {
                // pay binoFee
                rewardsToken.safeTransferFrom(_msgSender(), address(this), binoFee);
            }
            uint256 shareReward = reward.mul(share).div(100);
            uint256 remaining = reward.sub(shareReward);
            rewardsToken.safeTransfer(proofOwner, remaining);
            rewardsToken.safeTransfer(_msgSender(), shareReward);
            // reset 8 hours locking time
            harvestTime[tokenId] = block.timestamp.add(RENTING_PERIOD);
        }

        emit RewardPaid(proofOwner, reward, harvestTime[tokenId]);
    }

    function getRewardAndWithdraw(uint256 tokenId) external {
        // change order: getReward first, then withdraw
        // can not getReward after withdraw, because "isStaked == false" after withdraw
        getReward(tokenId);
        withdraw(tokenId);
    }


    /* ========== RESTRICTED FUNCTIONS ========== */

    // 1. trasfer 'reward' amount BINO to this Farm address
    // 2. Reward Distributor address triggers this function, and START FARMING
    function notifyRewardAmount(uint256 reward) external onlyRewardsDistribution {
        // updateReward
        rewardPerPointStored = rewardPerPoint();

        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    // Added to support recovering LP Rewards from other systems to be distributed to holders
    function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the duration for the new period"
        );
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }


    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(address, address, uint256, bytes memory) public override returns (bytes4) {
        return this.onERC721Received.selector;
    }

    function _updateReward(uint256 tokenId) private {
        rewardPerPointStored = rewardPerPoint();          // add rewards of this period of time to total rewards before
        lastUpdateTime = lastTimeRewardApplicable();      // reset the update timestamp

        rewards[tokenId] = earned(tokenId);
        userRewardPerPointPaid[tokenId] = rewardPerPointStored;
    }

    function _setLevelIds() private {
        _levelToIds[1] = [1, 2];
        _levelToIds[2] = [1, 7, 3];
        _levelToIds[3] = [6, 7, 8, 9];
        _levelToIds[4] = [6, 7, 8, 9, 10];
        _levelToIds[5] = [6, 7, 8, 9, 10];
        _levelToIds[6] = [6, 7, 8, 9, 10];
    }

    function _setLevelAmounts() private {
        _levelToAmounts[1] = [2400, 3600];
        _levelToAmounts[2] = [5000, 3525, 3330];
        _levelToAmounts[3] = [2750, 3675, 4500, 2100];
        _levelToAmounts[4] = [4000, 4500, 7650, 6000, 3750];
        _levelToAmounts[5] = [35000, 18750, 13500, 30000, 47500];
        _levelToAmounts[6] = [350000, 90000, 90000, 250000, 500000];
    }
}

File 2 of 16: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 3 of 16: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 16: IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 5 of 16: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view 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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Adds 'Mint' into this ERC20 interface.
     * in order to use it in other contracts to mint tokens.
     */
    function mint(address account, uint256 amount) external returns (bool);

    /**
     * @dev Adds 'burn' into this ERC20 interface.
     * in order to use it in other contracts to burn tokens.
     */
    function burn(uint256 amount) external returns (bool);

    /**
     * @dev Adds 'burnFrom' into this ERC20 interface.
     * in order to use it in other contracts to burn tokens.
     */
    function burnFrom(address account, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 6 of 16: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transfered from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 7 of 16: IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

File 8 of 16: IHousesNFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface IHousesNFT {

    function safeMint(address to, uint256 tokenId, uint256 level) external;

    function burn(uint256 tokenId) external;

    function checkHouseLevel(uint256 tokenId) external view returns (uint256);

    function checkHouseBulidingPeriod(uint256 tokenId) external view returns (uint256);

    function checkHouseArea(uint256 tokenId) external view returns (uint256);

    function checkHouseLuxury(uint256 tokenId) external view returns (uint256);

    function checkHouseDurability(uint256 tokenId) external view returns (uint256);

    function checkHouseLuck(uint256 tokenId) external view returns (uint256);

    function checkHouseRentingPeriod(uint256 tokenId) external view returns (uint256);

    function checkHouseProtectingPeriod(uint256 tokenId) external view returns (uint256);
}

File 9 of 16: IMaterials.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface IMaterials {
    
    function materialName(uint256 id) external view returns (string memory);

    function totalSupply(uint256 id) external view returns (uint256);

    function exists(uint256 id) external view returns (bool);

    function mint(address account, uint256 id, uint256 amount, bytes memory data) external;

    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) external;

    function burn(address account, uint256 id, uint256 amount) external;

    function burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) external;
}

File 10 of 16: IStakingProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface IStakingProof {
    
    function ownerOf(uint256 tokenId) external view returns (address);

    function safeMint(address to, uint256 tokenId) external;

    function burn(uint256 tokenId) external;

    function balanceOf(address owner) external view returns (uint256 balance);

    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
}

File 11 of 16: Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 12 of 16: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./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.
 *
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 13 of 16: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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].
 */
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 () internal {
        _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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 14 of 16: RewardsDistributionRecipient.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

import "./Ownable.sol";

contract RewardsDistributionRecipient is Ownable {
    address public rewardsDistribution;

    modifier onlyRewardsDistribution() {
        require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract");
        _;
    }

    function setRewardsDistribution(address _rewardsDistribution) external onlyOwner {
        rewardsDistribution = _rewardsDistribution;
    }
}

File 15 of 16: SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 16 of 16: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"nextHarvestTime","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"initialHarvestTime","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"withdrawTime","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"PROTECTING_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RENTING_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"binoFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkUserStakedTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionCardAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionCardId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardAndWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"harvestTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"housesERC721","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"housesNFT","outputs":[{"internalType":"contract IHousesNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isReadyToHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isReadyToSteal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isStaked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"materials","outputs":[{"internalType":"contract IMaterials","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerPointStored","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":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setBinoFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newShare","type":"uint256"}],"name":"setShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"share","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingProof","outputs":[{"internalType":"contract IStakingProof","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"","type":"uint256"}],"name":"userRewardPerPointPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600855600060095562127500600a556032600d556012600e556001600f5560006010553480156200003657600080fd5b5060006200004362000168565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600255600380546001600160a01b031990811673a2df7a11baf8bb555e93b99684a2de0f105eb59217909155600480548216735b1556212a0b4be284741165bb93f1189082c54a179055600580548216733158b2432d19287e0166bf87698bfefe8946057390811790915560068054831690911790556007805490911673edee132fcf90fe3157c389706b30c6a1c7a6c88d1790556200012e62000168565b600180546001600160a01b0319166001600160a01b0392909216919091179055620001586200016c565b62000162620003ba565b62000713565b3390565b604080518082019091526001808252600260208084018290526000929092526017909152620001bd917ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f916200061e565b5060408051606081018252600181526007602080830191909152600392820183905260026000526017905262000216917fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca91906200061e565b5060408051608081018252600681526007602080830191909152600892820192909252600960608201526003600052601790915262000279907fd8b2bced50346359af71f91110b86cdf684b6ab1c6ca64a7583c044d5c24de5c9060046200061e565b506040805160a08101825260068152600760208083019190915260089282019290925260096060820152600a608082015260046000526017909152620002e3907f68052a315987b3c92fe6f7df77391bc5a825cabe4950d34f36f8f4e8a6abcb4d9060056200061e565b506040805160a08101825260068152600760208083019190915260089282019290925260096060820152600a60808201526005600081905260179092526200034e917f70266c3d5b8b2375fded59c72bf5f0d74bbb12fdf645a4c8630629f0191fb31791906200061e565b506040805160a0810182526006808252600760208084019190915260089383019390935260096060830152600a60808301526000526017909152620003b7907fdba639bd458ad7aa817aa5e381ad7ed79ea3aeac2e3d9b2d7c51df9a9229709d9060056200061e565b50565b604080518082019091526109608152610e106020808301919091526001600052601890526200040d907ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d90600262000673565b50604080516060810182526113888152610dc5602080830191909152610d0292820192909252600260005260189091526200046c907f2bacf7cca723d030d12aee795132f2c5f2d14ad131f16f3f27eeba3e79d18b8c90600362000673565b5060408051608081018252610abe8152610e5b60208083019190915261119492820192909252610834606082015260036000526018909152620004d3907f7a6340a7048c03c55288da75abed74d2ce9194201bafb03be53c0a7cca59149590600462000673565b506040805160a081018252610fa08152611194602080830191909152611de2928201929092526117706060820152610ea660808201526004600052601890915262000542907f5b650d93b25a5c652bc6f9215f522b521daf6d36977dcec1343c2a8310b869d690600562000673565b506040805160a0810182526188b8815261493e6020808301919091526134bc92820192909252617530606082015261b98c6080820152600560008190526018909252620005b2917f2288853b49db4f36075bf4a8cfdae4e5e3b39b7b03937d0a9148b051a6f64c5c919062000673565b506040805160a08101825262055730815262015f906020808301829052928201526203d09060608201526207a120608082015260066000526018909152620003b7907f33d69b83f8d9644c8360a50d7275bf12a50019a4cd4e17926d0b315da648c58d906005620006b7565b82805482825590600052602060002090810192821562000661579160200282015b8281111562000661578251829060ff169055916020019190600101906200063f565b506200066f929150620006fc565b5090565b82805482825590600052602060002090810192821562000661579160200282015b8281111562000661578251829061ffff1690559160200191906001019062000694565b82805482825590600052602060002090810192821562000661579160200282015b8281111562000661578251829062ffffff16905591602001919060010190620006d8565b5b808211156200066f5760008155600101620006fd565b61278780620007236000396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c80638b2269ce11610151578063cc1a378f116100c3578063d902c92711610087578063d902c9271461069e578063ebe2b12b146106bb578063f2de4ba9146106c3578063f2fde38b146106cb578063f301af42146106f1578063faacabb41461070e57610274565b8063cc1a378f146105f3578063ce0c6abe14610610578063d0c5c5f814610618578063d1af0c7d1461068e578063d42069211461069657610274565b8063a3087b5311610115578063a3087b5314610599578063a694fc3a146105a1578063a8d5fd65146105be578063b6b7ae59146105c6578063baa51f86146105ce578063c8f33c91146105eb57610274565b80638b2269ce146105325780638da5cb5b1461054f57806395b7fc141461055757806399a4d2011461055f5780639cc7f7081461057c57610274565b806340cf9b1e116101ea5780636e382eca116101ae5780636e382eca146104de578063715018a6146104e65780637b0a47ee146104ee57806380faa57d146104f657806388e56055146104fe5780638980f11f1461050657610274565b806340cf9b1e146104625780634d6ed8c41461047f5780635148f66f1461049c578063683b6796146104a45780636b1cef2c146104c157610274565b80631c1f78eb1161023c5780631c1f78eb146103d75780631c4b774b146103df5780632e1a7d4d146103fc578063386a9525146104195780633c6b16ab146104215780633fc6df6e1461043e57610274565b80630a0e277a1461027957806310e16cc914610293578063150b7a02146102c457806318160ddd146103a757806319762143146103af575b600080fd5b610281610716565b60408051918252519081900360200190f35b6102b0600480360360208110156102a957600080fd5b503561071c565b604080519115158252519081900360200190f35b61038a600480360360808110156102da57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561031557600080fd5b82018360208201111561032757600080fd5b8035906020019184600183028401116401000000008311171561034957600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061079e945050505050565b604080516001600160e01b03199092168252519081900360200190f35b6102816107af565b6103d5600480360360208110156103c557600080fd5b50356001600160a01b03166107b6565b005b610281610830565b6103d5600480360360208110156103f557600080fd5b503561084e565b6103d56004803603602081101561041257600080fd5b5035610c71565b6102816111fd565b6103d56004803603602081101561043757600080fd5b5035611203565b6104466113dc565b604080516001600160a01b039092168252519081900360200190f35b6102816004803603602081101561047857600080fd5b50356113eb565b6102816004803603602081101561049557600080fd5b50356113fd565b6104466114ad565b6103d5600480360360208110156104ba57600080fd5b50356114bc565b6103d5600480360360208110156104d757600080fd5b5035611519565b61028161152e565b6103d5611534565b6102816115d6565b6102816115dc565b6104466115ea565b6103d56004803603604081101561051c57600080fd5b506001600160a01b0381351690602001356115f9565b6102816004803603602081101561054857600080fd5b50356116b5565b6104466116c7565b6104466116d6565b6103d56004803603602081101561057557600080fd5b50356116e5565b6102816004803603602081101561059257600080fd5b5035611742565b6102816117a6565b6103d5600480360360208110156105b757600080fd5b50356117ac565b610281611b66565b610446611b6c565b6102b0600480360360208110156105e457600080fd5b5035611b7b565b610281611b90565b6103d56004803603602081101561060957600080fd5b5035611b96565b610281611c61565b61063e6004803603602081101561062e57600080fd5b50356001600160a01b0316611caf565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561067a578181015183820152602001610662565b505050509050019250505060405180910390f35b610446611e35565b610281611e44565b6102b0600480360360208110156106b457600080fd5b5035611e4a565b610281611eb7565b610281611ebd565b6103d5600480360360208110156106e157600080fd5b50356001600160a01b0316611ec3565b6102816004803603602081101561070757600080fd5b5035611fbb565b610281611fcd565b60105481565b60008181526011602052604081205460ff1661076d576040805162461bcd60e51b8152602060048201819052602482015260008051602061261d833981519152604482015290519081900360640190fd5b6000828152601260205260409020546107889061012c611fd3565b4211610795576000610798565b60015b92915050565b630a85bd0160e11b5b949350505050565b6015545b90565b6107be61202d565b6000546001600160a01b0390811691161461080e576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000610849600a5460095461203190919063ffffffff16565b905090565b6002805414156108a5576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002805560008181526011602052604090205460ff166108fa576040805162461bcd60e51b8152602060048201819052602482015260008051602061261d833981519152604482015290519081900360640190fd5b60008181526012602052604090205442116109465760405162461bcd60e51b815260040180806020018281038252602b815260200180612727602b913960400191505060405180910390fd5b61094f8161208a565b600081815260146020526040902054806109b0576040805162461bcd60e51b815260206004820152601f60248201527f596f7572207265776172642069732030206e6f772c20747279206c6174657200604482015290519081900360640190fd5b60048054604080516331a9108f60e11b8152928301859052516000926001600160a01b0390921691636352211e916024808301926020929190829003018186803b1580156109fd57600080fd5b505afa158015610a11573d6000803e3d6000fd5b505050506040513d6020811015610a2757600080fd5b505160008481526014602052604081205590506001600160a01b038116610a4c61202d565b6001600160a01b03161415610a9257600354610a72906001600160a01b031682846120cb565b610a7e42617080611fd3565b600084815260126020526040902055610c23565b600083815260126020526040902054610aad9061012c611fd3565b421015610aeb5760405162461bcd60e51b815260040180806020018281038252602581526020018061263d6025913960400191505060405180910390fd5b6007546001600160a01b031663f5298aca610b0461202d565b600e54600f546040518463ffffffff1660e01b815260040180846001600160a01b031681526020018381526020018281526020019350505050600060405180830381600087803b158015610b5757600080fd5b505af1158015610b6b573d6000803e3d6000fd5b5050505060006010541115610b9d57610b9d610b8561202d565b6010546003546001600160a01b031691903090612122565b6000610bbf6064610bb9600d548661203190919063ffffffff16565b90612182565b90506000610bcd84836121c4565b600354909150610be7906001600160a01b031684836120cb565b610c05610bf261202d565b6003546001600160a01b031690846120cb565b610c1142617080611fd3565b60008681526012602052604090205550505b600083815260126020526040808220549051909184916001600160a01b038516917fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f5191a45050600160025550565b600280541415610cc8576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002805560008181526011602052604090205460ff16610d1d576040805162461bcd60e51b8152602060048201819052602482015260008051602061261d833981519152604482015290519081900360640190fd5b610d2561202d565b60048054604080516331a9108f60e11b8152928301859052516001600160a01b039384169390911691636352211e916024808301926020929190829003018186803b158015610d7357600080fd5b505afa158015610d87573d6000803e3d6000fd5b505050506040513d6020811015610d9d57600080fd5b50516001600160a01b031614610de45760405162461bcd60e51b81526004018080602001828103825260258152602001806125d26025913960400191505060405180910390fd5b610ded8161208a565b60065460408051632c56554760e21b81526004810184905290516000926001600160a01b03169163b159551c916024808301926020929190829003018186803b158015610e3957600080fd5b505afa158015610e4d573d6000803e3d6000fd5b505050506040513d6020811015610e6357600080fd5b5051600654604080516357dca37f60e11b81526004810186905290519293506000926001600160a01b039092169163afb946fe91602480820192602092909190829003018186803b158015610eb757600080fd5b505afa158015610ecb573d6000803e3d6000fd5b505050506040513d6020811015610ee157600080fd5b5051601554909150610ef390826121c4565b6015556000838152601660205260408082208290556006548151630852cd8d60e31b81526004810187905291516001600160a01b03909116926342966c68926024808201939182900301818387803b158015610f4e57600080fd5b505af1158015610f62573d6000803e3d6000fd5b50506004805460408051630852cd8d60e31b8152928301889052516001600160a01b0390911693506342966c689250602480830192600092919082900301818387803b158015610fb157600080fd5b505af1158015610fc5573d6000803e3d6000fd5b505050600083815260176020908152604091829020805483518184028101840190945280845260609450909183018282801561102057602002820191906000526020600020905b81548152602001906001019080831161100c575b5050505050905060606018600085815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561108657602002820191906000526020600020905b815481526020019060010190808311611072575b5050600754939450506001600160a01b039092169150631f7fdffa90506110ab61202d565b84846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b838110156111135781810151838201526020016110fb565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561115257818101518382015260200161113a565b505050509050018481038252600081526020016020019650505050505050600060405180830381600087803b15801561118a57600080fd5b505af115801561119e573d6000803e3d6000fd5b50505060008681526012602090815260408083208390556011909152808220805460ff1916905551429250879133917f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc69190a450506001600255505050565b600a5481565b6001546001600160a01b0316331461124c5760405162461bcd60e51b815260040180806020018281038252602a8152602001806126a3602a913960400191505060405180910390fd5b611254611c61565b600c55600854421061127657600a5461126e908290612182565b6009556112b9565b60085460009061128690426121c4565b9050600061129f6009548361203190919063ffffffff16565b600a549091506112b390610bb98584611fd3565b60095550505b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561130457600080fd5b505afa158015611318573d6000803e3d6000fd5b505050506040513d602081101561132e57600080fd5b5051600a54909150611341908290612182565b6009541115611397576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b42600b819055600a546113aa9190611fd3565b60085560405182907fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d90600090a25050565b6001546001600160a01b031681565b60126020526000908152604090205481565b60008181526011602052604081205460ff1661144e576040805162461bcd60e51b8152602060048201819052602482015260008051602061261d833981519152604482015290519081900360640190fd5b60008281526014602090815260408083205460139092529091205461079891906114a790670de0b6b3a764000090610bb9906114929061148c611c61565b906121c4565b60008881526016602052604090205490612031565b90611fd3565b6004546001600160a01b031681565b6114c461202d565b6000546001600160a01b03908116911614611514576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b601055565b6115228161084e565b61152b81610c71565b50565b600c5481565b61153c61202d565b6000546001600160a01b0390811691161461158c576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60095481565b600061084942600854612206565b6006546001600160a01b031681565b61160161202d565b6000546001600160a01b03908116911614611651576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b61166d61165c6116c7565b6001600160a01b03841690836120cb565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b60136020526000908152604090205481565b6000546001600160a01b031690565b6005546001600160a01b031681565b6116ed61202d565b6000546001600160a01b0390811691161461173d576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b600d55565b60008181526011602052604081205460ff16611793576040805162461bcd60e51b8152602060048201819052602482015260008051602061261d833981519152604482015290519081900360640190fd5b5060009081526016602052604090205490565b600e5481565b600280541415611803576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002805560008181526011602052604090205460ff161561186b576040805162461bcd60e51b815260206004820152601e60248201527f7468697320686f757365204e465420686173206265656e207374616b65640000604482015290519081900360640190fd5b60065460408051632c56554760e21b81526004810184905290516000926001600160a01b03169163b159551c916024808301926020929190829003018186803b1580156118b757600080fd5b505afa1580156118cb573d6000803e3d6000fd5b505050506040513d60208110156118e157600080fd5b5051905060048111156119255760405162461bcd60e51b81526004018080602001828103825260308152602001806126f76030913960400191505060405180910390fd5b61192d611c61565b600c556119386115dc565b600b556000828152601460209081526040808320839055600c54601383528184205560065481516357dca37f60e11b81526004810187905291516001600160a01b039091169263afb946fe9260248082019391829003018186803b15801561199f57600080fd5b505afa1580156119b3573d6000803e3d6000fd5b505050506040513d60208110156119c957600080fd5b50516015549091506119db9082611fd3565b60155560008381526016602052604090208190556005546001600160a01b03166342842e0e611a0861202d565b30866040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b158015611a6057600080fd5b505af1158015611a74573d6000803e3d6000fd5b50506004546001600160a01b0316915063a14481949050611a9361202d565b856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015611ada57600080fd5b505af1158015611aee573d6000803e3d6000fd5b50505050611b0761708042611fd390919063ffffffff16565b600084815260126020818152604080842094855560118252808420805460ff1916600117905591905291549151859133917f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee909190a45050600160025550565b600d5481565b6007546001600160a01b031681565b60116020526000908152604090205460ff1681565b600b5481565b611b9e61202d565b6000546001600160a01b03908116911614611bee576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b6008544211611c2e5760405162461bcd60e51b815260040180806020018281038252605881526020018061257a6058913960600191505060405180910390fd5b600a81905560405181907ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d390600090a250565b600060155460001415611c775750600c546107b3565b610849611ca6601554610bb9670de0b6b3a7640000611ca0600954611ca0600b5461148c6115dc565b90612031565b600c5490611fd3565b60048054604080516370a0823160e01b81526001600160a01b0385811694820194909452905160609360009316916370a08231916024808301926020929190829003018186803b158015611d0257600080fd5b505afa158015611d16573d6000803e3d6000fd5b505050506040513d6020811015611d2c57600080fd5b5051905060608167ffffffffffffffff81118015611d4957600080fd5b50604051908082528060200260200182016040528015611d73578160200160208202803683370190505b5090508115611e2e5760005b82811015611e2c576004805460408051632f745c5960e01b81526001600160a01b03898116948201949094526024810185905290519290911691632f745c5991604480820192602092909190829003018186803b158015611ddf57600080fd5b505afa158015611df3573d6000803e3d6000fd5b505050506040513d6020811015611e0957600080fd5b50518251839083908110611e1957fe5b6020908102919091010152600101611d7f565b505b9392505050565b6003546001600160a01b031681565b61708081565b60008181526011602052604081205460ff16611e9b576040805162461bcd60e51b8152602060048201819052602482015260008051602061261d833981519152604482015290519081900360640190fd5b6000828152601260205260409020544211610795576000610798565b60085481565b600f5481565b611ecb61202d565b6000546001600160a01b03908116911614611f1b576040805162461bcd60e51b81526020600482018190526024820152600080516020612683833981519152604482015290519081900360640190fd5b6001600160a01b038116611f605760405162461bcd60e51b81526004018080602001828103825260268152602001806125f76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60146020526000908152604090205481565b61012c81565b600082820183811015611e2e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b60008261204057506000610798565b8282028284828161204d57fe5b0414611e2e5760405162461bcd60e51b81526004018080602001828103825260218152602001806126626021913960400191505060405180910390fd5b612092611c61565b600c5561209d6115dc565b600b556120a9816113fd565b600091825260146020908152604080842092909255600c546013909152912055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261211d90849061221c565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261217c90859061221c565b50505050565b6000611e2e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122cd565b6000611e2e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061236f565b60008183106122155781611e2e565b5090919050565b6060612271826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123c99092919063ffffffff16565b80519091501561211d5780806020019051602081101561229057600080fd5b505161211d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806126cd602a913960400191505060405180910390fd5b600081836123595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561231e578181015183820152602001612306565b50505050905090810190601f16801561234b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161236557fe5b0495945050505050565b600081848411156123c15760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561231e578181015183820152602001612306565b505050900390565b60606107a7848460008560606123de85612540565b61242f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061246e5780518252601f19909201916020918201910161244f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124d0576040519150601f19603f3d011682016040523d82523d6000602084013e6124d5565b606091505b509150915081156124e95791506107a79050565b8051156124f95780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561231e578181015183820152602001612306565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906107a757505015159291505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f6463616c6c6572206973206e6f7420746865207374616b696e672070726f6f66206f776e65724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573737468697320686f757365204e4654206973206e6f74207374616b6564207965744e6f7420616c6c6f7765643a2077697468696e2050726f74656374696f6e20706572696f64536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565646f6e6c79206c7620312d3420686f757365732063616e206265207374616b656420696e207075626c6963206c616e647352656e74696e6720706572696f6420686173206e6f7420656e646564207965742c20747279206c61746572a26469706673582212207c2f471f7ba829ef8d3224f8a6737d0489a6493f141807b30aa65fed3453356664736f6c634300060c0033

Deployed ByteCode Sourcemap

419:13905:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:26;;;:::i;:::-;;;;;;;;;;;;;;;;5304:240;;;;;;;;;;;;;;;;-1:-1:-1;5304:240:1;;:::i;:::-;;;;;;;;;;;;;;;;;;13116:154;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13116:154:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13116:154:1;;-1:-1:-1;13116:154:1;;-1:-1:-1;;;;;13116:154:1:i;:::-;;;;-1:-1:-1;;;;;;13116:154:1;;;;;;;;;;;;;;3899:91;;;:::i;335:140:13:-;;;;;;;;;;;;;;;;-1:-1:-1;335:140:13;-1:-1:-1;;;;;335:140:13;;:::i;:::-;;4954:119:1;;;:::i;8832:1888::-;;;;;;;;;;;;;;;;-1:-1:-1;8832:1888:1;;:::i;7671:1054::-;;;;;;;;;;;;;;;;-1:-1:-1;7671:1054:1;;:::i;1264:40::-;;;:::i;11188:1113::-;;;;;;;;;;;;;;;;-1:-1:-1;11188:1113:1;;:::i;137:34:13:-;;;:::i;:::-;;;;-1:-1:-1;;;;;137:34:13;;;;;;;;;;;;;;1874:46:1;;;;;;;;;;;;;;;;-1:-1:-1;1874:46:1;;:::i;4680:268::-;;;;;;;;;;;;;;;;-1:-1:-1;4680:268:1;;:::i;794:33::-;;;:::i;3712:88::-;;;;;;;;;;;;;;;;-1:-1:-1;3712:88:1;;:::i;10726:262::-;;;;;;;;;;;;;;;;-1:-1:-1;10726:262:1;;:::i;1368:35::-;;;:::i;1376:145:11:-;;;:::i;1229:29:1:-;;;:::i;4217:129::-;;;:::i;934:27::-;;;:::i;12401:207::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12401:207:1;;;;;;;;:::i;1956:57::-;;;;;;;;;;;;;;;;-1:-1:-1;1956:57:1;;:::i;753:77:11:-;;;:::i;901:27:1:-;;;:::i;3618:88::-;;;;;;;;;;;;;;;;-1:-1:-1;3618:88:1;;:::i;4029:182::-;;;;;;;;;;;;;;;;-1:-1:-1;4029:182:1;;:::i;1634:36::-;;;:::i;6165:1250::-;;;;;;;;;;;;;;;;-1:-1:-1;6165:1250:1;;:::i;1603:25::-;;;:::i;1159:27::-;;;:::i;1797:40::-;;;;;;;;;;;;;;;;-1:-1:-1;1797:40:1;;:::i;1333:29::-;;;:::i;12614:353::-;;;;;;;;;;;;;;;;-1:-1:-1;12614:353:1;;:::i;4352:322::-;;;:::i;5550:433::-;;;;;;;;;;;;;;;;-1:-1:-1;5550:433:1;-1:-1:-1;;;;;5550:433:1;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;659:26;;;:::i;1414:48::-;;;:::i;5079:219::-;;;;;;;;;;;;;;;;-1:-1:-1;5079:219:1;;:::i;1192:31::-;;;:::i;1676:40::-;;;:::i;1670:240:11:-;;;;;;;;;;;;;;;;-1:-1:-1;1670:240:11;-1:-1:-1;;;;;1670:240:11;;:::i;2049:42:1:-;;;;;;;;;;;;;;;;-1:-1:-1;2049:42:1;;:::i;1468:53::-;;;:::i;1722:26::-;;;;:::o;5304:240::-;5366:4;5390:17;;;:8;:17;;;;;;;;5382:62;;;;;-1:-1:-1;;;5382:62:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5382:62:1;;;;;;;;;;;;;;;5479:20;;;;:11;:20;;;;;;:43;;1512:9;5479:24;:43::i;:::-;5461:15;:61;:76;;5532:5;5461:76;;;5525:4;5461:76;5454:83;5304:240;-1:-1:-1;;5304:240:1:o;13116:154::-;-1:-1:-1;;;13116:154:1;;;;;;;:::o;3899:91::-;3971:12;;3899:91;;:::o;335:140:13:-;967:12:11;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;426:19:13::1;:42:::0;;-1:-1:-1;;;;;;426:42:13::1;-1:-1:-1::0;;;;;426:42:13;;;::::1;::::0;;;::::1;::::0;;335:140::o;4954:119:1:-;5009:7;5035:31;5050:15;;5035:10;;:14;;:31;;;;:::i;:::-;5028:38;;4954:119;:::o;8832:1888::-;1671:1:12;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:18;;8906:17:1::1;::::0;;;:8:::1;:17;::::0;;;;;::::1;;8898:62;;;::::0;;-1:-1:-1;;;8898:62:1;;::::1;;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;;;;;;;;;8898:62:1;;;;;;;;;;;;;::::1;;9045:20;::::0;;;:11:::1;:20;::::0;;;;;9027:15:::1;:38;9019:94;;;;-1:-1:-1::0;;;9019:94:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9123:22;9137:7;9123:13;:22::i;:::-;9230:14;9247:16:::0;;;:7:::1;:16;::::0;;;;;9281:10;9273:54:::1;;;::::0;;-1:-1:-1;;;9273:54:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;9407:12;::::0;;:29:::1;::::0;;-1:-1:-1;;;9407:29:1;;;;::::1;::::0;;;;9386:18:::1;::::0;-1:-1:-1;;;;;9407:12:1;;::::1;::::0;:20:::1;::::0;:29;;;;;::::1;::::0;;;;;;;;:12;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9407:29:1;9466:1:::1;9447:16:::0;;;:7:::1;9407:29;9447:16:::0;;;;:20;9407:29;-1:-1:-1;;;;;;9561:26:1;::::1;:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;9561:26:1::1;;9557:1089;;;9603:12;::::0;:45:::1;::::0;-1:-1:-1;;;;;9603:12:1::1;9629:10:::0;9641:6;9603:25:::1;:45::i;:::-;9727:35;:15;1455:7;9727:19;:35::i;:::-;9704:20;::::0;;;:11:::1;:20;::::0;;;;:58;9557:1089:::1;;;9907:20;::::0;;;:11:::1;:20;::::0;;;;;:43:::1;::::0;1512:9:::1;9907:24;:43::i;:::-;9888:15;:62;;9880:112;;;;-1:-1:-1::0;;;9880:112:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10044:9;::::0;-1:-1:-1;;;;;10044:9:1::1;:14;10059:12;:10;:12::i;:::-;10073:16;;10091:21;;10044:69;;;;;;;;;;;;;-1:-1:-1::0;;;;;10044:69:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10141:1;10131:7;;:11;10127:148;;;10193:67;10223:12;:10;:12::i;:::-;10252:7;::::0;10193:12:::1;::::0;-1:-1:-1;;;;;10193:12:1::1;::::0;:67;10245:4:::1;::::0;10193:29:::1;:67::i;:::-;10288:19;10310:26;10332:3;10310:17;10321:5;;10310:6;:10;;:17;;;;:::i;:::-;:21:::0;::::1;:26::i;:::-;10288:48:::0;-1:-1:-1;10350:17:1::1;10370:23;:6:::0;10288:48;10370:10:::1;:23::i;:::-;10407:12;::::0;10350:43;;-1:-1:-1;10407:48:1::1;::::0;-1:-1:-1;;;;;10407:12:1::1;10433:10:::0;10350:43;10407:25:::1;:48::i;:::-;10469:52;10495:12;:10;:12::i;:::-;10469;::::0;-1:-1:-1;;;;;10469:12:1::1;::::0;10509:11;10469:25:::1;:52::i;:::-;10600:35;:15;1455:7;10600:19;:35::i;:::-;10577:20;::::0;;;:11:::1;:20;::::0;;;;:58;-1:-1:-1;;9557:1089:1::1;10692:20;::::0;;;:11:::1;:20;::::0;;;;;;10661:52;;10692:20;;10684:6;;-1:-1:-1;;;;;10661:52:1;::::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;1628:1:12;2563:7;:22;-1:-1:-1;8832:1888:1:o;7671:1054::-;1671:1:12;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:18;;7744:17:1::1;::::0;;;:8:::1;:17;::::0;;;;;::::1;;7736:62;;;::::0;;-1:-1:-1;;;7736:62:1;;::::1;;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;;;;;;;;;7736:62:1;;;;;;;;;;;;;::::1;;7849:12;:10;:12::i;:::-;7816;::::0;;:29:::1;::::0;;-1:-1:-1;;;7816:29:1;;;;::::1;::::0;;;;-1:-1:-1;;;;;7816:45:1;;::::1;::::0;:12;;::::1;::::0;:20:::1;::::0;:29;;;;;::::1;::::0;;;;;;;;:12;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7816:29:1;-1:-1:-1;;;;;7816:45:1::1;;7808:95;;;;-1:-1:-1::0;;;7808:95:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7913:22;7927:7;7913:13;:22::i;:::-;8000:9;::::0;:34:::1;::::0;;-1:-1:-1;;;8000:34:1;;::::1;::::0;::::1;::::0;;;;;7984:13:::1;::::0;-1:-1:-1;;;;;8000:9:1::1;::::0;:25:::1;::::0;:34;;;;;::::1;::::0;;;;;;;;:9;:34;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8000:34:1;8061:9:::1;::::0;:35:::1;::::0;;-1:-1:-1;;;8061:35:1;;::::1;::::0;::::1;::::0;;;;;8000:34;;-1:-1:-1;8044:14:1::1;::::0;-1:-1:-1;;;;;8061:9:1;;::::1;::::0;:26:::1;::::0;:35;;;;;8000:34:::1;::::0;8061:35;;;;;;;;:9;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8061:35:1;8121:12:::1;::::0;8061:35;;-1:-1:-1;8121:24:1::1;::::0;8061:35;8121:16:::1;:24::i;:::-;8106:12;:39:::0;8176:1:::1;8155:18:::0;;;:9:::1;:18;::::0;;;;;:22;;;8235:9:::1;::::0;:23;;-1:-1:-1;;;8235:23:1;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;8235:9:1;;::::1;::::0;:14:::1;::::0;:23;;;;;;;;;;;8176:1;8235:9;:23;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8268:12:1::1;::::0;;:26:::1;::::0;;-1:-1:-1;;;8268:26:1;;;;::::1;::::0;;;;-1:-1:-1;;;;;8268:12:1;;::::1;::::0;-1:-1:-1;8268:17:1::1;::::0;-1:-1:-1;8268:26:1;;;;;:12:::1;::::0;:26;;;;;;;:12;;:26;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;8358:18:1::1;::::0;;;:11:::1;:18;::::0;;;;;;;;8335:41;;;;;;::::1;::::0;;;;;;;;;;:20:::1;::::0;-1:-1:-1;8358:18:1;;8335:41;::::1;8358:18:::0;8335:41;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8386:24;8413:15;:22;8429:5;8413:22;;;;;;;;;;;8386:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;8445:9:1::1;::::0;8386:49;;-1:-1:-1;;;;;;;8445:9:1;;::::1;::::0;-1:-1:-1;8445:19:1::1;::::0;-1:-1:-1;8465:12:1::1;:10;:12::i;:::-;8479:3;8484:7;8445:51;;;;;;;;;;;;;-1:-1:-1::0;;;;;8445:51:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;8566:1:1::1;8543:20:::0;;;:11:::1;:20;::::0;;;;;;;:24;;;8630:8:::1;:17:::0;;;;;;:25;;-1:-1:-1;;8630:25:1::1;::::0;;8671:47;8702:15:::1;::::0;-1:-1:-1;8555:7:1;;8681:10:::1;::::0;8671:47:::1;::::0;8566:1;8671:47:::1;-1:-1:-1::0;;1628:1:12;2563:7;:22;-1:-1:-1;;;7671:1054:1:o;1264:40::-;;;;:::o;11188:1113::-;245:19:13;;-1:-1:-1;;;;;245:19:13;231:10;:33;223:88;;;;-1:-1:-1;;;223:88:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11322:16:1::1;:14;:16::i;:::-;11299:20;:39:::0;11372:12:::1;::::0;11353:15:::1;:31;11349:312;;11424:15;::::0;11413:27:::1;::::0;:6;;:10:::1;:27::i;:::-;11400:10;:40:::0;11349:312:::1;;;11491:12;::::0;11471:17:::1;::::0;11491:33:::1;::::0;11508:15:::1;11491:16;:33::i;:::-;11471:53;;11538:16;11557:25;11571:10;;11557:9;:13;;:25;;;;:::i;:::-;11634:15;::::0;11538:44;;-1:-1:-1;11609:41:1::1;::::0;:20:::1;:6:::0;11538:44;11609:10:::1;:20::i;:41::-;11596:10;:54:::0;-1:-1:-1;;11349:312:1::1;12030:12;::::0;:37:::1;::::0;;-1:-1:-1;;;12030:37:1;;12061:4:::1;12030:37;::::0;::::1;::::0;;;12015:12:::1;::::0;-1:-1:-1;;;;;12030:12:1::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;12030:37:1;12111:15:::1;::::0;12030:37;;-1:-1:-1;12099:28:1::1;::::0;12030:37;;12099:11:::1;:28::i;:::-;12085:10;;:42;;12077:79;;;::::0;;-1:-1:-1;;;12077:79:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;12184:15;12167:14;:32:::0;;;12244:15:::1;::::0;12224:36:::1;::::0;12184:15;12224:19:::1;:36::i;:::-;12209:12;:51:::0;12275:19:::1;::::0;12287:6;;12275:19:::1;::::0;;;::::1;321:1:13;11188:1113:1::0;:::o;137:34:13:-;;;-1:-1:-1;;;;;137:34:13;;:::o;1874:46:1:-;;;;;;;;;;;;;:::o;4680:268::-;4734:7;4761:17;;;:8;:17;;;;;;;;4753:62;;;;;-1:-1:-1;;;4753:62:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4753:62:1;;;;;;;;;;;;;;;4924:16;;;;:7;:16;;;;;;;;;4876:22;:31;;;;;;;4832:109;;4924:16;4832:87;;4914:4;;4832:77;;4855:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;4832:18;;;;:9;:18;;;;;;;:22;:77::i;:87::-;:91;;:109::i;794:33::-;;;-1:-1:-1;;;;;794:33:1;;:::o;3712:88::-;967:12:11;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;3776:7:1::1;:17:::0;3712:88::o;10726:262::-;10936:18;10946:7;10936:9;:18::i;:::-;10964:17;10973:7;10964:8;:17::i;:::-;10726:262;:::o;1368:35::-;;;;:::o;1376:145:11:-;967:12;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;1482:1:::1;1466:6:::0;;1445:40:::1;::::0;-1:-1:-1;;;;;1466:6:11;;::::1;::::0;1445:40:::1;::::0;1482:1;;1445:40:::1;1512:1;1495:19:::0;;-1:-1:-1;;;;;;1495:19:11::1;::::0;;1376:145::o;1229:29:1:-;;;;:::o;4217:129::-;4274:7;4300:39;4309:15;4326:12;;4300:8;:39::i;934:27::-;;;-1:-1:-1;;;;;934:27:1;;:::o;12401:207::-;967:12:11;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;12495:55:1::1;12529:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;12495:33:1;::::1;::::0;12538:11;12495:33:::1;:55::i;:::-;12565:36;::::0;;-1:-1:-1;;;;;12565:36:1;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;12401:207:::0;;:::o;1956:57::-;;;;;;;;;;;;;:::o;753:77:11:-;791:7;817:6;-1:-1:-1;;;;;817:6:11;753:77;:::o;901:27:1:-;;;-1:-1:-1;;;;;901:27:1;;:::o;3618:88::-;967:12:11;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;3682:5:1::1;:17:::0;3618:88::o;4029:182::-;4088:7;4115:17;;;:8;:17;;;;;;;;4107:62;;;;;-1:-1:-1;;;4107:62:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4107:62:1;;;;;;;;;;;;;;;-1:-1:-1;4186:18:1;;;;:9;:18;;;;;;;4029:182::o;1634:36::-;;;;:::o;6165:1250::-;1671:1:12;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:18;;6238:17:1::1;::::0;;;:8:::1;:17;::::0;;;;;::::1;;6237:18;6229:61;;;::::0;;-1:-1:-1;;;6229:61:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;6376:9;::::0;:34:::1;::::0;;-1:-1:-1;;;6376:34:1;;::::1;::::0;::::1;::::0;;;;;6360:13:::1;::::0;-1:-1:-1;;;;;6376:9:1::1;::::0;:25:::1;::::0;:34;;;;;::::1;::::0;;;;;;;;:9;:34;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;6376:34:1;;-1:-1:-1;6437:1:1::1;6428:10:::0;::::1;;6420:71;;;;-1:-1:-1::0;;;6420:71:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6573:16;:14;:16::i;:::-;6550:20;:39:::0;6687:26:::1;:24;:26::i;:::-;6670:14;:43:::0;6777:1:::1;6758:16:::0;;;:7:::1;:16;::::0;;;;;;;:20;;;6822::::1;::::0;6788:22:::1;:31:::0;;;;;:54;6908:9:::1;::::0;:35;;-1:-1:-1;;;6908:35:1;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;6908:9:1;;::::1;::::0;:26:::1;::::0;:35;;;;;;;;;;;:9;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;6908:35:1;6968:12:::1;::::0;6908:35;;-1:-1:-1;6968:24:1::1;::::0;6908:35;6968:16:::1;:24::i;:::-;6953:12;:39:::0;7002:18:::1;::::0;;;:9:::1;:18;::::0;;;;:27;;;7066:12:::1;::::0;-1:-1:-1;;;;;7066:12:1::1;:29;7096:12;:10;:12::i;:::-;7118:4;7125:7;7066:67;;;;;;;;;;;;;-1:-1:-1::0;;;;;7066:67:1::1;;;;;;-1:-1:-1::0;;;;;7066:67:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;7196:12:1::1;::::0;-1:-1:-1;;;;;7196:12:1::1;::::0;-1:-1:-1;7196:21:1::1;::::0;-1:-1:-1;7218:12:1::1;:10;:12::i;:::-;7232:7;7196:44;;;;;;;;;;;;;-1:-1:-1::0;;;;;7196:44:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7273:35;1455:7;7273:15;:19;;:35;;;;:::i;:::-;7250:20;::::0;;;:11:::1;:20;::::0;;;;;;;:58;;;7319:8:::1;:17:::0;;;;;:24;;-1:-1:-1;;7319:24:1::1;7339:4;7319:24;::::0;;7387:20;;;;;7359:49;;7262:7;;7366:10:::1;::::0;7359:49:::1;::::0;7250:20;7359:49:::1;-1:-1:-1::0;;1628:1:12;2563:7;:22;-1:-1:-1;6165:1250:1:o;1603:25::-;;;;:::o;1159:27::-;;;-1:-1:-1;;;;;1159:27:1;;:::o;1797:40::-;;;;;;;;;;;;;;;:::o;1333:29::-;;;;:::o;12614:353::-;967:12:11;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;12736:12:1::1;;12718:15;:30;12697:165;;;;-1:-1:-1::0;;;12697:165:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12872:15;:34:::0;;;12921:39:::1;::::0;12890:16;;12921:39:::1;::::0;;;::::1;12614:353:::0;:::o;4352:322::-;4399:7;4422:12;;4438:1;4422:17;4418:75;;;-1:-1:-1;4462:20:1;;4455:27;;4418:75;4521:146;4563:90;4640:12;;4563:72;4630:4;4563:62;4614:10;;4563:46;4594:14;;4563:26;:24;:26::i;:46::-;:50;;:62::i;:90::-;4521:20;;;:24;:146::i;5550:433::-;5672:12;;;:31;;;-1:-1:-1;;;5672:31:1;;-1:-1:-1;;;;;5672:31:1;;;;;;;;;;;;5621:16;;5649:20;;5672:12;;:22;;:31;;;;;;;;;;;;;;:12;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5672:31:1;;-1:-1:-1;5713:23:1;5672:31;5739:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5739:27:1;-1:-1:-1;5713:53:1;-1:-1:-1;5781:16:1;;5777:177;;5817:9;5813:131;5836:12;5832:1;:16;5813:131;;;5885:12;;;:44;;;-1:-1:-1;;;5885:44:1;;-1:-1:-1;;;;;5885:44:1;;;;;;;;;;;;;;;;;;:12;;;;;:32;;:44;;;;;;;;;;;;;;;:12;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5885:44:1;5873:9;;:6;;5880:1;;5873:9;;;;;;;;;;;;;;;:56;5850:3;;5813:131;;;;5777:177;5970:6;5550:433;-1:-1:-1;;;5550:433:1:o;659:26::-;;;-1:-1:-1;;;;;659:26:1;;:::o;1414:48::-;1455:7;1414:48;:::o;5079:219::-;5143:4;5167:17;;;:8;:17;;;;;;;;5159:62;;;;;-1:-1:-1;;;5159:62:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5159:62:1;;;;;;;;;;;;;;;5256:20;;;;:11;:20;;;;;;5238:15;:38;:53;;5286:5;5238:53;;1192:31;;;;:::o;1676:40::-;;;;:::o;1670:240:11:-;967:12;:10;:12::i;:::-;957:6;;-1:-1:-1;;;;;957:6:11;;;:22;;;949:67;;;;;-1:-1:-1;;;949:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;949:67:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;1758:22:11;::::1;1750:73;;;;-1:-1:-1::0;;;1750:73:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1859:6;::::0;;1838:38:::1;::::0;-1:-1:-1;;;;;1838:38:11;;::::1;::::0;1859:6;::::1;::::0;1838:38:::1;::::0;::::1;1886:6;:17:::0;;-1:-1:-1;;;;;;1886:17:11::1;-1:-1:-1::0;;;;;1886:17:11;;;::::1;::::0;;;::::1;::::0;;1670:240::o;2049:42:1:-;;;;;;;;;;;;;:::o;1468:53::-;1512:9;1468:53;:::o;874:176:15:-;932:7;963:5;;;986:6;;;;978:46;;;;;-1:-1:-1;;;978:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;590:104:2;677:10;590:104;:::o;2180:459:15:-;2238:7;2479:6;2475:45;;-1:-1:-1;2508:1:15;2501:8;;2475:45;2542:5;;;2546:1;2542;:5;:1;2565:5;;;;;:10;2557:56;;;;-1:-1:-1;;;2557:56:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13276:372:1;13357:16;:14;:16::i;:::-;13334:20;:39;13471:26;:24;:26::i;:::-;13454:14;:43;13562:15;13569:7;13562:6;:15::i;:::-;13543:16;;;;:7;:16;;;;;;;;:34;;;;13621:20;;13587:22;:31;;;;;:54;13276:372::o;677:175:14:-;786:58;;;-1:-1:-1;;;;;786:58:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;786:58:14;-1:-1:-1;;;786:58:14;;;759:86;;779:5;;759:19;:86::i;:::-;677:175;;;:::o;858:203::-;985:68;;;-1:-1:-1;;;;;985:68:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;985:68:14;-1:-1:-1;;;985:68:14;;;958:96;;978:5;;958:19;:96::i;:::-;858:203;;;;:::o;3101:130:15:-;3159:7;3185:39;3189:1;3192;3185:39;;;;;;;;;;;;;;;;;:3;:39::i;1321:134::-;1379:7;1405:43;1409:1;1412;1405:43;;;;;;;;;;;;;;;;;:3;:43::i;391:104:10:-;449:7;479:1;475;:5;:13;;487:1;475:13;;;-1:-1:-1;483:1:10;;391:104;-1:-1:-1;391:104:10:o;2940:751:14:-;3359:23;3385:69;3413:4;3385:69;;;;;;;;;;;;;;;;;3393:5;-1:-1:-1;;;;;3385:27:14;;;:69;;;;;:::i;:::-;3468:17;;3359:95;;-1:-1:-1;3468:21:14;3464:221;;3608:10;3597:30;;;;;;;;;;;;;;;-1:-1:-1;3597:30:14;3589:85;;;;-1:-1:-1;;;3589:85:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3713:272:15;3799:7;3833:12;3826:5;3818:28;;;;-1:-1:-1;;;3818:28:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3856:9;3872:1;3868;:5;;;;;;;3713:272;-1:-1:-1;;;;;3713:272:15:o;1746:187::-;1832:7;1867:12;1859:6;;;;1851:29;;;;-1:-1:-1;;;1851:29:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1902:5:15;;;1746:187::o;3770:194:0:-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;5247;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;-1:-1:-1;;;5271:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;-1:-1:-1;;;;;5443:11:0;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5443:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;-1:-1:-1;5516:17:0;;-1:-1:-1;5516:17:0;5489:580;5634:17;;:21;5630:429;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6024:20;;-1:-1:-1;;;6024:20:0;;;;;;;;;;;;;;;;;6031:12;;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;718:610;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;;1305:15:0;;;1270:51;-1:-1:-1;;718:610:0:o

Swarm Source

ipfs://7c2f471f7ba829ef8d3224f8a6737d0489a6493f141807b30aa65fed34533566
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.