MOVR Price: $13.40 (-25.92%)
Gas: 3 GWei

Contract

0x0329867a8c457e9F75e25b0685011291CD30904F

Overview

MOVR Balance

Moonriver Chain LogoMoonriver Chain LogoMoonriver Chain Logo0 MOVR

MOVR Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Deposit65376112024-04-13 3:29:301 hr ago1712978970IN
0x0329867a...1CD30904F
0 MOVR0.002879153.2385
Deposit65375092024-04-13 3:08:361 hr ago1712977716IN
0x0329867a...1CD30904F
0 MOVR0.000992272.75
Deposit65375092024-04-13 3:08:361 hr ago1712977716IN
0x0329867a...1CD30904F
0 MOVR0.002422462.75
Deposit With Per...65373112024-04-13 2:27:422 hrs ago1712975262IN
0x0329867a...1CD30904F
0 MOVR0.00192133.2385
Deposit With Per...65372972024-04-13 2:24:482 hrs ago1712975088IN
0x0329867a...1CD30904F
0 MOVR0.00192133.2385
Deposit With Per...65367762024-04-13 0:35:423 hrs ago1712968542IN
0x0329867a...1CD30904F
0 MOVR0.001518351.62
Deposit65367212024-04-13 0:24:124 hrs ago1712967852IN
0x0329867a...1CD30904F
0 MOVR0.000537431.62
Deposit65367182024-04-13 0:23:364 hrs ago1712967816IN
0x0329867a...1CD30904F
0 MOVR0.001018991.62
Deposit65367182024-04-13 0:23:364 hrs ago1712967816IN
0x0329867a...1CD30904F
0 MOVR0.000828231.62
Deposit65367152024-04-13 0:23:004 hrs ago1712967780IN
0x0329867a...1CD30904F
0 MOVR0.001084861.62
Deposit65367132024-04-13 0:22:304 hrs ago1712967750IN
0x0329867a...1CD30904F
0 MOVR0.001352241.62
Deposit65363932024-04-12 23:16:185 hrs ago1712963778IN
0x0329867a...1CD30904F
0 MOVR0.002477792.75
Deposit65363932024-04-12 23:16:185 hrs ago1712963778IN
0x0329867a...1CD30904F
0 MOVR0.001449542.75
Withdraw65361342024-04-12 22:22:306 hrs ago1712960550IN
0x0329867a...1CD30904F
0 MOVR0.001407263.25
Deposit65360862024-04-12 22:12:366 hrs ago1712959956IN
0x0329867a...1CD30904F
0 MOVR0.002823773.2385
Deposit With Per...65359782024-04-12 21:50:126 hrs ago1712958612IN
0x0329867a...1CD30904F
0 MOVR0.001176641.25
Deposit65359712024-04-12 21:48:426 hrs ago1712958522IN
0x0329867a...1CD30904F
0 MOVR0.00111131.25
Deposit65359622024-04-12 21:46:486 hrs ago1712958408IN
0x0329867a...1CD30904F
0 MOVR0.001089921.25
Withdraw65359032024-04-12 21:34:486 hrs ago1712957688IN
0x0329867a...1CD30904F
0 MOVR0.000121531.25
Deposit65359032024-04-12 21:34:486 hrs ago1712957688IN
0x0329867a...1CD30904F
0 MOVR0.000736513.177
Withdraw65359032024-04-12 21:34:486 hrs ago1712957688IN
0x0329867a...1CD30904F
0 MOVR0.001025332.75
Deposit65352962024-04-12 19:28:009 hrs ago1712950080IN
0x0329867a...1CD30904F
0 MOVR0.002673752.96094611
Withdraw65352692024-04-12 19:22:129 hrs ago1712949732IN
0x0329867a...1CD30904F
0 MOVR0.000978312.75
Withdraw65351732024-04-12 19:01:429 hrs ago1712948502IN
0x0329867a...1CD30904F
0 MOVR0.002425022.75
Deposit65351712024-04-12 19:01:189 hrs ago1712948478IN
0x0329867a...1CD30904F
0 MOVR0.002893343.1415
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SolarDistributorV2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 9 : SolarDistributorV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./rewarders/IComplexRewarder.sol";
import "./libraries/BoringERC20.sol";
import "./ISolarPair.sol";

contract SolarDistributorV2 is Ownable, ReentrancyGuard {
    using BoringERC20 for IBoringERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        uint256 rewardLockedUp; // Reward locked up.
        uint256 nextHarvestUntil; // When can the user harvest again.
    }

    // Info of each pool.
    struct PoolInfo {
        IBoringERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. Solar to distribute per block.
        uint256 lastRewardTimestamp; // Last block number that Solar distribution occurs.
        uint256 accSolarPerShare; // Accumulated Solar per share, times 1e18. See below.
        uint16 depositFeeBP; // Deposit fee in basis points
        uint256 harvestInterval; // Harvest interval in seconds
        uint256 totalLp; // Total token in Pool
        IComplexRewarder[] rewarders; // Array of rewarder contract for pools with incentives
    }

    IBoringERC20 public solar;

    // Solar tokens created per second
    uint256 public solarPerSec;

    // Max harvest interval: 14 days
    uint256 public constant MAXIMUM_HARVEST_INTERVAL = 14 days;

    // Maximum deposit fee rate: 10%
    uint16 public constant MAXIMUM_DEPOSIT_FEE_RATE = 1000;

    // Info of each pool
    PoolInfo[] public poolInfo;

    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    // The timestamp when Solar mining starts.
    uint256 public startTimestamp;

    // Total locked up rewards
    uint256 public totalLockedUpRewards;

    // Total Solar in Solar Pools (can be multiple pools)
    uint256 public totalSolarInPools = 0;

    // Team address.
    address public teamAddress;

    // Treasury address.
    address public treasuryAddress;

    // Investor address.
    address public investorAddress;

    // Percentage of pool rewards that goto the team.
    uint256 public teamPercent;

    // Percentage of pool rewards that goes to the treasury.
    uint256 public treasuryPercent;

    // Percentage of pool rewards that goes to the investor.
    uint256 public investorPercent;

    // The precision factor
    uint256 private immutable ACC_TOKEN_PRECISION = 1e12;

    modifier validatePoolByPid(uint256 _pid) {
        require(_pid < poolInfo.length, "Pool does not exist");
        _;
    }

    event Add(
        uint256 indexed pid,
        uint256 allocPoint,
        IBoringERC20 indexed lpToken,
        uint16 depositFeeBP,
        uint256 harvestInterval,
        IComplexRewarder[] indexed rewarders
    );

    event Set(
        uint256 indexed pid,
        uint256 allocPoint,
        uint16 depositFeeBP,
        uint256 harvestInterval,
        IComplexRewarder[] indexed rewarders
    );

    event UpdatePool(
        uint256 indexed pid,
        uint256 lastRewardTimestamp,
        uint256 lpSupply,
        uint256 accSolarPerShare
    );

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);

    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);

    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    event EmissionRateUpdated(
        address indexed caller,
        uint256 previousValue,
        uint256 newValue
    );

    event RewardLockedUp(
        address indexed user,
        uint256 indexed pid,
        uint256 amountLockedUp
    );

    event AllocPointsUpdated(
        address indexed caller,
        uint256 previousAmount,
        uint256 newAmount
    );

    event SetTeamAddress(
        address indexed oldAddress,
        address indexed newAddress
    );

    event SetTreasuryAddress(
        address indexed oldAddress,
        address indexed newAddress
    );

    event SetInvestorAddress(
        address indexed oldAddress,
        address indexed newAddress
    );

    event SetTeamPercent(uint256 oldPercent, uint256 newPercent);

    event SetTreasuryPercent(uint256 oldPercent, uint256 newPercent);

    event SetInvestorPercent(uint256 oldPercent, uint256 newPercent);

    constructor(
        IBoringERC20 _solar,
        uint256 _solarPerSec,
        address _teamAddress,
        address _treasuryAddress,
        address _investorAddress,
        uint256 _teamPercent,
        uint256 _treasuryPercent,
        uint256 _investorPercent
    ) {
        require(
            _teamPercent <= 1000,
            "constructor: invalid team percent value"
        );
        require(
            _treasuryPercent <= 1000,
            "constructor: invalid treasury percent value"
        );
        require(
            _investorPercent <= 1000,
            "constructor: invalid investor percent value"
        );
        require(
            _teamPercent + _treasuryPercent + _investorPercent <= 1000,
            "constructor: total percent over max"
        );

        //StartBlock always many years later from contract const ruct, will be set later in StartFarming function
        startTimestamp = block.timestamp + (60 * 60 * 24 * 365);

        solar = _solar;
        solarPerSec = _solarPerSec;

        teamAddress = _teamAddress;
        treasuryAddress = _treasuryAddress;
        investorAddress = _investorAddress;

        teamPercent = _teamPercent;
        treasuryPercent = _treasuryPercent;
        investorPercent = _investorPercent;
    }

    // Set farming start, can call only once
    function startFarming() public onlyOwner {
        require(
            block.timestamp < startTimestamp,
            "start farming: farm started already"
        );

        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            pool.lastRewardTimestamp = block.timestamp;
        }

        startTimestamp = block.timestamp;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // Can add multiple pool with same lp token without messing up rewards, because each pool's balance is tracked using its own totalLp
    function add(
        uint256 _allocPoint,
        IBoringERC20 _lpToken,
        uint16 _depositFeeBP,
        uint256 _harvestInterval,
        IComplexRewarder[] calldata _rewarders
    ) public onlyOwner {
        require(_rewarders.length <= 10, "add: too many rewarders");
        require(
            _depositFeeBP <= MAXIMUM_DEPOSIT_FEE_RATE,
            "add: deposit fee too high"
        );
        require(
            _harvestInterval <= MAXIMUM_HARVEST_INTERVAL,
            "add: invalid harvest interval"
        );
        require(
            Address.isContract(address(_lpToken)),
            "add: LP token must be a valid contract"
        );

        for (
            uint256 rewarderId = 0;
            rewarderId < _rewarders.length;
            ++rewarderId
        ) {
            require(
                Address.isContract(address(_rewarders[rewarderId])),
                "add: rewarder must be contract"
            );
        }

        _massUpdatePools();

        uint256 lastRewardTimestamp = block.timestamp > startTimestamp
            ? block.timestamp
            : startTimestamp;

        totalAllocPoint += _allocPoint;

        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardTimestamp: lastRewardTimestamp,
                accSolarPerShare: 0,
                depositFeeBP: _depositFeeBP,
                harvestInterval: _harvestInterval,
                totalLp: 0,
                rewarders: _rewarders
            })
        );

        emit Add(
            poolInfo.length - 1,
            _allocPoint,
            _lpToken,
            _depositFeeBP,
            _harvestInterval,
            _rewarders
        );
    }

    // Update the given pool's Solar allocation point and deposit fee. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        uint16 _depositFeeBP,
        uint256 _harvestInterval,
        IComplexRewarder[] calldata _rewarders
    ) public onlyOwner validatePoolByPid(_pid) {
        require(_rewarders.length <= 10, "set: too many rewarders");

        require(
            _depositFeeBP <= MAXIMUM_DEPOSIT_FEE_RATE,
            "set: deposit fee too high"
        );
        require(
            _harvestInterval <= MAXIMUM_HARVEST_INTERVAL,
            "set: invalid harvest interval"
        );

        for (
            uint256 rewarderId = 0;
            rewarderId < _rewarders.length;
            ++rewarderId
        ) {
            require(
                Address.isContract(address(_rewarders[rewarderId])),
                "set: rewarder must be contract"
            );
        }

        _massUpdatePools();

        totalAllocPoint =
            totalAllocPoint -
            poolInfo[_pid].allocPoint +
            _allocPoint;

        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].harvestInterval = _harvestInterval;
        poolInfo[_pid].rewarders = _rewarders;

        emit Set(
            _pid,
            _allocPoint,
            _depositFeeBP,
            _harvestInterval,
            _rewarders
        );
    }

    // View function to see pending rewards on frontend.
    function pendingTokens(uint256 _pid, address _user)
        external
        view
        validatePoolByPid(_pid)
        returns (
            address[] memory addresses,
            string[] memory symbols,
            uint256[] memory decimals,
            uint256[] memory amounts
        )
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accSolarPerShare = pool.accSolarPerShare;
        uint256 lpSupply = pool.totalLp;

        if (block.timestamp > pool.lastRewardTimestamp && lpSupply != 0) {
            uint256 multiplier = block.timestamp - pool.lastRewardTimestamp;
            uint256 total = 1000;
            uint256 lpPercent = total -
                teamPercent -
                treasuryPercent -
                investorPercent;

            uint256 solarReward = (multiplier *
                solarPerSec *
                pool.allocPoint *
                lpPercent) /
                totalAllocPoint /
                total;

            accSolarPerShare += (
                ((solarReward * ACC_TOKEN_PRECISION) / lpSupply)
            );
        }

        uint256 pendingSolar = (((user.amount * accSolarPerShare) /
            ACC_TOKEN_PRECISION) - user.rewardDebt) + user.rewardLockedUp;

        addresses = new address[](pool.rewarders.length + 1);
        symbols = new string[](pool.rewarders.length + 1);
        amounts = new uint256[](pool.rewarders.length + 1);
        decimals = new uint256[](pool.rewarders.length + 1);

        addresses[0] = address(solar);
        symbols[0] = IBoringERC20(solar).safeSymbol();
        decimals[0] = IBoringERC20(solar).safeDecimals();
        amounts[0] = pendingSolar;

        for (
            uint256 rewarderId = 0;
            rewarderId < pool.rewarders.length;
            ++rewarderId
        ) {
            addresses[rewarderId + 1] = address(
                pool.rewarders[rewarderId].rewardToken()
            );

            symbols[rewarderId + 1] = IBoringERC20(
                pool.rewarders[rewarderId].rewardToken()
            ).safeSymbol();

            decimals[rewarderId + 1] = IBoringERC20(
                pool.rewarders[rewarderId].rewardToken()
            ).safeDecimals();

            amounts[rewarderId + 1] = pool.rewarders[rewarderId].pendingTokens(
                _pid,
                _user
            );
        }
    }

    /// @notice View function to see pool rewards per sec
    function poolRewardsPerSec(uint256 _pid)
        external
        view
        validatePoolByPid(_pid)
        returns (
            address[] memory addresses,
            string[] memory symbols,
            uint256[] memory decimals,
            uint256[] memory rewardsPerSec
        )
    {
        PoolInfo storage pool = poolInfo[_pid];

        addresses = new address[](pool.rewarders.length + 1);
        symbols = new string[](pool.rewarders.length + 1);
        decimals = new uint256[](pool.rewarders.length + 1);
        rewardsPerSec = new uint256[](pool.rewarders.length + 1);

        addresses[0] = address(solar);
        symbols[0] = IBoringERC20(solar).safeSymbol();
        decimals[0] = IBoringERC20(solar).safeDecimals();

        uint256 total = 1000;
        uint256 lpPercent = total -
            teamPercent -
            treasuryPercent -
            investorPercent;

        rewardsPerSec[0] =
            (pool.allocPoint * solarPerSec * lpPercent) /
            totalAllocPoint /
            total;

        for (
            uint256 rewarderId = 0;
            rewarderId < pool.rewarders.length;
            ++rewarderId
        ) {
            addresses[rewarderId + 1] = address(
                pool.rewarders[rewarderId].rewardToken()
            );

            symbols[rewarderId + 1] = IBoringERC20(
                pool.rewarders[rewarderId].rewardToken()
            ).safeSymbol();

            decimals[rewarderId + 1] = IBoringERC20(
                pool.rewarders[rewarderId].rewardToken()
            ).safeDecimals();

            rewardsPerSec[rewarderId + 1] = pool
                .rewarders[rewarderId]
                .poolRewardsPerSec(_pid);
        }
    }

    // View function to see rewarders for a pool
    function poolRewarders(uint256 _pid)
        external
        view
        validatePoolByPid(_pid)
        returns (address[] memory rewarders)
    {
        PoolInfo storage pool = poolInfo[_pid];
        rewarders = new address[](pool.rewarders.length);
        for (
            uint256 rewarderId = 0;
            rewarderId < pool.rewarders.length;
            ++rewarderId
        ) {
            rewarders[rewarderId] = address(pool.rewarders[rewarderId]);
        }
    }

    // View function to see if user can harvest Solar.
    function canHarvest(uint256 _pid, address _user)
        public
        view
        validatePoolByPid(_pid)
        returns (bool)
    {
        UserInfo storage user = userInfo[_pid][_user];
        return
            block.timestamp >= startTimestamp &&
            block.timestamp >= user.nextHarvestUntil;
    }

    // Update reward vairables for all pools. Be careful of gas spending!
    function massUpdatePools() external nonReentrant {
        _massUpdatePools();
    }

    // Internal method for massUpdatePools
    function _massUpdatePools() internal {
        for (uint256 pid = 0; pid < poolInfo.length; ++pid) {
            _updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) external nonReentrant {
        _updatePool(_pid);
    }

    // Internal method for _updatePool
    function _updatePool(uint256 _pid) internal validatePoolByPid(_pid) {
        PoolInfo storage pool = poolInfo[_pid];

        if (block.timestamp <= pool.lastRewardTimestamp) {
            return;
        }

        uint256 lpSupply = pool.totalLp;

        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardTimestamp = block.timestamp;
            return;
        }

        uint256 multiplier = block.timestamp - pool.lastRewardTimestamp;

        uint256 solarReward = ((multiplier * solarPerSec) * pool.allocPoint) /
            totalAllocPoint;

        uint256 total = 1000;
        uint256 lpPercent = total -
            teamPercent -
            treasuryPercent -
            investorPercent;

        solar.mint(teamAddress, (solarReward * teamPercent) / total);
        solar.mint(treasuryAddress, (solarReward * treasuryPercent) / total);
        solar.mint(investorAddress, (solarReward * investorPercent) / total);
        solar.mint(address(this), (solarReward * lpPercent) / total);

        pool.accSolarPerShare +=
            (solarReward * ACC_TOKEN_PRECISION * lpPercent) /
            pool.totalLp /
            total;

        pool.lastRewardTimestamp = block.timestamp;

        emit UpdatePool(
            _pid,
            pool.lastRewardTimestamp,
            lpSupply,
            pool.accSolarPerShare
        );
    }

    function depositWithPermit(
        uint256 pid,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public nonReentrant validatePoolByPid(pid) {
        PoolInfo storage pool = poolInfo[pid];
        ISolarPair pair = ISolarPair(address(pool.lpToken));
        pair.permit(msg.sender, address(this), amount, deadline, v, r, s);
        _deposit(pid, amount);
    }

    // Deposit tokens for Solar allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        _deposit(_pid, _amount);
    }

    // Deposit tokens for Solar allocation.
    function _deposit(uint256 _pid, uint256 _amount)
        internal
        validatePoolByPid(_pid)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        _updatePool(_pid);

        payOrLockupPendingSolar(_pid);

        if (_amount > 0) {
            uint256 beforeDeposit = pool.lpToken.balanceOf(address(this));
            pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount);
            uint256 afterDeposit = pool.lpToken.balanceOf(address(this));

            _amount = afterDeposit - beforeDeposit;

            if (pool.depositFeeBP > 0) {
                uint256 depositFee = (_amount * pool.depositFeeBP) / 10000;
                pool.lpToken.safeTransfer(treasuryAddress, depositFee);

                _amount = _amount - depositFee;
            }

            user.amount += _amount;

            if (address(pool.lpToken) == address(solar)) {
                totalSolarInPools += _amount;
            }
        }
        user.rewardDebt =
            (user.amount * pool.accSolarPerShare) /
            ACC_TOKEN_PRECISION;

        for (
            uint256 rewarderId = 0;
            rewarderId < pool.rewarders.length;
            ++rewarderId
        ) {
            pool.rewarders[rewarderId].onSolarReward(
                _pid,
                msg.sender,
                user.amount
            );
        }

        if (_amount > 0) {
            pool.totalLp += _amount;
        }

        emit Deposit(msg.sender, _pid, _amount);
    }

    //withdraw tokens
    function withdraw(uint256 _pid, uint256 _amount)
        public
        nonReentrant
        validatePoolByPid(_pid)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        //this will make sure that user can only withdraw from his pool
        require(user.amount >= _amount, "withdraw: user amount not enough");

        //cannot withdraw more than pool's balance
        require(pool.totalLp >= _amount, "withdraw: pool total not enough");

        _updatePool(_pid);

        payOrLockupPendingSolar(_pid);

        if (_amount > 0) {
            user.amount -= _amount;
            if (address(pool.lpToken) == address(solar)) {
                totalSolarInPools -= _amount;
            }
            pool.lpToken.safeTransfer(msg.sender, _amount);
        }

        user.rewardDebt =
            (user.amount * pool.accSolarPerShare) /
            ACC_TOKEN_PRECISION;

        for (
            uint256 rewarderId = 0;
            rewarderId < pool.rewarders.length;
            ++rewarderId
        ) {
            pool.rewarders[rewarderId].onSolarReward(
                _pid,
                msg.sender,
                user.amount
            );
        }

        if (_amount > 0) {
            pool.totalLp -= _amount;
        }

        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;

        //Cannot withdraw more than pool's balance
        require(
            pool.totalLp >= amount,
            "emergency withdraw: pool total not enough"
        );

        user.amount = 0;
        user.rewardDebt = 0;
        user.rewardLockedUp = 0;
        user.nextHarvestUntil = 0;
        pool.totalLp -= amount;

        for (
            uint256 rewarderId = 0;
            rewarderId < pool.rewarders.length;
            ++rewarderId
        ) {
            pool.rewarders[rewarderId].onSolarReward(_pid, msg.sender, 0);
        }

        if (address(pool.lpToken) == address(solar)) {
            totalSolarInPools -= amount;
        }

        pool.lpToken.safeTransfer(msg.sender, amount);

        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Pay or lockup pending Solar.
    function payOrLockupPendingSolar(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.nextHarvestUntil == 0 && block.timestamp >= startTimestamp) {
            user.nextHarvestUntil = block.timestamp + pool.harvestInterval;
        }

        uint256 pending = ((user.amount * pool.accSolarPerShare) /
            ACC_TOKEN_PRECISION) - user.rewardDebt;

        if (canHarvest(_pid, msg.sender)) {
            if (pending > 0 || user.rewardLockedUp > 0) {
                uint256 pendingRewards = pending + user.rewardLockedUp;

                // reset lockup
                totalLockedUpRewards -= user.rewardLockedUp;
                user.rewardLockedUp = 0;
                user.nextHarvestUntil = block.timestamp + pool.harvestInterval;

                // send rewards
                safeSolarTransfer(msg.sender, pendingRewards);
            }
        } else if (pending > 0) {
            totalLockedUpRewards += pending;
            user.rewardLockedUp += pending;
            emit RewardLockedUp(msg.sender, _pid, pending);
        }
    }

    // Safe Solar transfer function, just in case if rounding error causes pool do not have enough Solar.
    function safeSolarTransfer(address _to, uint256 _amount) internal {
        if (solar.balanceOf(address(this)) > totalSolarInPools) {
            //solarBal = total Solar in SolarDistributor - total Solar in Solar pools, this will make sure that SolarDistributor never transfer rewards from deposited Solar pools
            uint256 solarBal = solar.balanceOf(address(this)) -
                totalSolarInPools;
            if (_amount >= solarBal) {
                solar.safeTransfer(_to, solarBal);
            } else if (_amount > 0) {
                solar.safeTransfer(_to, _amount);
            }
        }
    }

    function updateEmissionRate(uint256 _solarPerSec) public onlyOwner {
        _massUpdatePools();

        emit EmissionRateUpdated(msg.sender, solarPerSec, _solarPerSec);

        solarPerSec = _solarPerSec;
    }

    function updateAllocPoint(uint256 _pid, uint256 _allocPoint)
        public
        onlyOwner
    {
        _massUpdatePools();

        emit AllocPointsUpdated(
            msg.sender,
            poolInfo[_pid].allocPoint,
            _allocPoint
        );

        totalAllocPoint =
            totalAllocPoint -
            poolInfo[_pid].allocPoint +
            _allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    function poolTotalLp(uint256 pid) external view returns (uint256) {
        return poolInfo[pid].totalLp;
    }

    // Function to harvest many pools in a single transaction
    function harvestMany(uint256[] calldata _pids) public nonReentrant {
        require(_pids.length <= 30, "harvest many: too many pool ids");
        for (uint256 index = 0; index < _pids.length; ++index) {
            _deposit(_pids[index], 0);
        }
    }

    // Update team address by the previous team address.
    function setTeamAddress(address _teamAddress) public {
        require(
            msg.sender == teamAddress,
            "set team address: only previous team address can call this method"
        );
        require(
            _teamAddress != address(0),
            "set team address: invalid new team address"
        );
        teamAddress = _teamAddress;
        emit SetTeamAddress(msg.sender, _teamAddress);
    }

    function setTeamPercent(uint256 _newTeamPercent) public onlyOwner {
        require(
            _newTeamPercent <= 1000,
            "set team percent: invalid percent value"
        );
        require(
            treasuryPercent + _newTeamPercent + investorPercent <= 1000,
            "set team percent: total percent over max"
        );
        emit SetTeamPercent(teamPercent, _newTeamPercent);
        teamPercent = _newTeamPercent;
    }

    // Update treasury address by the previous treasury.
    function setTreasuryAddress(address _treasuryAddress) public {
        require(
            msg.sender == treasuryAddress,
            "set treasury address: only previous treasury address can call this method"
        );
        require(
            _treasuryAddress != address(0),
            "set treasury address: invalid new treasury address"
        );
        treasuryAddress = _treasuryAddress;
        emit SetTreasuryAddress(msg.sender, _treasuryAddress);
    }

    function setTreasuryPercent(uint256 _newTreasuryPercent) public onlyOwner {
        require(
            _newTreasuryPercent <= 1000,
            "set treasury percent: invalid percent value"
        );
        require(
            teamPercent + _newTreasuryPercent + investorPercent <= 1000,
            "set treasury percent: total percent over max"
        );
        emit SetTreasuryPercent(treasuryPercent, _newTreasuryPercent);
        treasuryPercent = _newTreasuryPercent;
    }

    // Update the investor address by the previous investor.
    function setInvestorAddress(address _investorAddress) public {
        require(
            msg.sender == investorAddress,
            "set investor address: only previous investor can call this method"
        );
        require(
            _investorAddress != address(0),
            "set investor address: invalid new investor address"
        );
        investorAddress = _investorAddress;
        emit SetInvestorAddress(msg.sender, _investorAddress);
    }

    function setInvestorPercent(uint256 _newInvestorPercent) public onlyOwner {
        require(
            _newInvestorPercent <= 1000,
            "set investor percent: invalid percent value"
        );
        require(
            teamPercent + _newInvestorPercent + treasuryPercent <= 1000,
            "set investor percent: total percent over max"
        );
        emit SetInvestorPercent(investorPercent, _newInvestorPercent);
        investorPercent = _newInvestorPercent;
    }
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and 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 2 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 2 of 9 : IComplexRewarder.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "../libraries/IBoringERC20.sol";

interface IComplexRewarder {
    function onSolarReward(
        uint256 pid,
        address user,
        uint256 newLpAmount
    ) external;

    function pendingTokens(uint256 pid, address user)
        external
        view
        returns (uint256 pending);

    function rewardToken() external view returns (IBoringERC20);

    function poolRewardsPerSec(uint256 pid) external view returns (uint256);
}

File 2 of 9 : BoringERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

// solhint-disable avoid-low-level-calls
import "./IBoringERC20.sol";

library BoringERC20 {
    bytes4 private constant SIG_SYMBOL = 0x95d89b41; // symbol()
    bytes4 private constant SIG_NAME = 0x06fdde03; // name()
    bytes4 private constant SIG_DECIMALS = 0x313ce567; // decimals()
    bytes4 private constant SIG_TRANSFER = 0xa9059cbb; // transfer(address,uint256)
    bytes4 private constant SIG_TRANSFER_FROM = 0x23b872dd; // transferFrom(address,address,uint256)

    function returnDataToString(bytes memory data)
        internal
        pure
        returns (string memory)
    {
        if (data.length >= 64) {
            return abi.decode(data, (string));
        } else if (data.length == 32) {
            uint8 i = 0;
            while (i < 32 && data[i] != 0) {
                i++;
            }
            bytes memory bytesArray = new bytes(i);
            for (i = 0; i < 32 && data[i] != 0; i++) {
                bytesArray[i] = data[i];
            }
            return string(bytesArray);
        } else {
            return "???";
        }
    }

    /// @notice Provides a safe ERC20.symbol version which returns '???' as fallback string.
    /// @param token The address of the ERC-20 token contract.
    /// @return (string) Token symbol.
    function safeSymbol(IBoringERC20 token)
        internal
        view
        returns (string memory)
    {
        (bool success, bytes memory data) = address(token).staticcall(
            abi.encodeWithSelector(SIG_SYMBOL)
        );
        return success ? returnDataToString(data) : "???";
    }

    /// @notice Provides a safe ERC20.name version which returns '???' as fallback string.
    /// @param token The address of the ERC-20 token contract.
    /// @return (string) Token name.
    function safeName(IBoringERC20 token)
        internal
        view
        returns (string memory)
    {
        (bool success, bytes memory data) = address(token).staticcall(
            abi.encodeWithSelector(SIG_NAME)
        );
        return success ? returnDataToString(data) : "???";
    }

    /// @notice Provides a safe ERC20.decimals version which returns '18' as fallback value.
    /// @param token The address of the ERC-20 token contract.
    /// @return (uint8) Token decimals.
    function safeDecimals(IBoringERC20 token) internal view returns (uint8) {
        (bool success, bytes memory data) = address(token).staticcall(
            abi.encodeWithSelector(SIG_DECIMALS)
        );
        return success && data.length == 32 ? abi.decode(data, (uint8)) : 18;
    }

    /// @notice Provides a safe ERC20.transfer version for different ERC-20 implementations.
    /// Reverts on a failed transfer.
    /// @param token The address of the ERC-20 token.
    /// @param to Transfer tokens to.
    /// @param amount The token amount.
    function safeTransfer(
        IBoringERC20 token,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(
            abi.encodeWithSelector(SIG_TRANSFER, to, amount)
        );
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "BoringERC20: Transfer failed"
        );
    }

    /// @notice Provides a safe ERC20.transferFrom version for different ERC-20 implementations.
    /// Reverts on a failed transfer.
    /// @param token The address of the ERC-20 token.
    /// @param from Transfer tokens from.
    /// @param to Transfer tokens to.
    /// @param amount The token amount.
    function safeTransferFrom(
        IBoringERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(
            abi.encodeWithSelector(SIG_TRANSFER_FROM, from, to, amount)
        );
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "BoringERC20: TransferFrom failed"
        );
    }
}

File 2 of 9 : ISolarPair.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

interface ISolarPair {
    function initialize(address, address) external;

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

File 2 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 2 of 9 : IBoringERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

interface IBoringERC20 {
    function mint(address to, uint256 amount) external;

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

    /// @notice EIP 2612
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IBoringERC20","name":"_solar","type":"address"},{"internalType":"uint256","name":"_solarPerSec","type":"uint256"},{"internalType":"address","name":"_teamAddress","type":"address"},{"internalType":"address","name":"_treasuryAddress","type":"address"},{"internalType":"address","name":"_investorAddress","type":"address"},{"internalType":"uint256","name":"_teamPercent","type":"uint256"},{"internalType":"uint256","name":"_treasuryPercent","type":"uint256"},{"internalType":"uint256","name":"_investorPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"contract IBoringERC20","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"harvestInterval","type":"uint256"},{"indexed":true,"internalType":"contract IComplexRewarder[]","name":"rewarders","type":"address[]"}],"name":"Add","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"AllocPointsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"EmissionRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountLockedUp","type":"uint256"}],"name":"RewardLockedUp","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"harvestInterval","type":"uint256"},{"indexed":true,"internalType":"contract IComplexRewarder[]","name":"rewarders","type":"address[]"}],"name":"Set","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetInvestorAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"SetInvestorPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetTeamAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"SetTeamPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetTreasuryAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"SetTreasuryPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accSolarPerShare","type":"uint256"}],"name":"UpdatePool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAXIMUM_DEPOSIT_FEE_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_HARVEST_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBoringERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"contract IComplexRewarder[]","name":"_rewarders","type":"address[]"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"depositWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_pids","type":"uint256[]"}],"name":"harvestMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"investorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"investorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingTokens","outputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"string[]","name":"symbols","type":"string[]"},{"internalType":"uint256[]","name":"decimals","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBoringERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"internalType":"uint256","name":"accSolarPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"harvestInterval","type":"uint256"},{"internalType":"uint256","name":"totalLp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"poolRewarders","outputs":[{"internalType":"address[]","name":"rewarders","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"poolRewardsPerSec","outputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"string[]","name":"symbols","type":"string[]"},{"internalType":"uint256[]","name":"decimals","type":"uint256[]"},{"internalType":"uint256[]","name":"rewardsPerSec","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"}],"name":"poolTotalLp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"contract IComplexRewarder[]","name":"_rewarders","type":"address[]"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_investorAddress","type":"address"}],"name":"setInvestorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newInvestorPercent","type":"uint256"}],"name":"setInvestorPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamAddress","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTeamPercent","type":"uint256"}],"name":"setTeamPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTreasuryPercent","type":"uint256"}],"name":"setTreasuryPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"solar","outputs":[{"internalType":"contract IBoringERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"solarPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startFarming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLockedUpRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSolarInPools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"updateAllocPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_solarPerSec","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"rewardLockedUp","type":"uint256"},{"internalType":"uint256","name":"nextHarvestUntil","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526000600681905560095564e8d4a510006080523480156200002457600080fd5b5060405162005ec238038062005ec28339810160408190526200004791620002cf565b62000052336200027f565b600180556103e8831115620000be5760405162461bcd60e51b815260206004820152602760248201527f636f6e7374727563746f723a20696e76616c6964207465616d2070657263656e604482015266742076616c756560c81b60648201526084015b60405180910390fd5b6103e8821115620001265760405162461bcd60e51b815260206004820152602b60248201527f636f6e7374727563746f723a20696e76616c696420747265617375727920706560448201526a7263656e742076616c756560a81b6064820152608401620000b5565b6103e88111156200018e5760405162461bcd60e51b815260206004820152602b60248201527f636f6e7374727563746f723a20696e76616c696420696e766573746f7220706560448201526a7263656e742076616c756560a81b6064820152608401620000b5565b6103e8816200019e84866200035e565b620001aa91906200035e565b1115620002065760405162461bcd60e51b815260206004820152602360248201527f636f6e7374727563746f723a20746f74616c2070657263656e74206f766572206044820152620dac2f60eb1b6064820152608401620000b5565b62000216426301e133806200035e565b600755600280546001600160a01b03199081166001600160a01b039a8b1617909155600397909755600a8054881696891696909617909555600b8054871694881694909417909355600c80549095169190951617909255600d92909255600e55600f556200039e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600080610100898b031215620002ed57600080fd5b8851620002fa8162000385565b60208a015160408b01519199509750620003148162000385565b60608a0151909650620003278162000385565b60808a01519095506200033a8162000385565b60a08a015160c08b015160e0909b0151999c989b5096999598909790945092505050565b600082198211156200038057634e487b7160e01b600052601160045260246000fd5b500190565b6001600160a01b03811681146200039b57600080fd5b50565b608051615ae5620003dd600039600081816111ad01528181613897015281816138e50152818161429a015281816143c10152614b850152615ae56000f3fe608060405234801561001057600080fd5b50600436106102e95760003560e01c80636690864e11610191578063d761595c116100e3578063e6fa6d6d11610097578063eff8976b11610071578063eff8976b146106a0578063f2fde38b146106c0578063ffcd4263146106d357600080fd5b8063e6fa6d6d14610664578063e6fd48bc14610684578063eddf96521461068d57600080fd5b8063de73149d116100c8578063de73149d1461063e578063e164ac5014610648578063e2bbb1581461065157600080fd5b8063d761595c14610622578063dc640ac91461062b57600080fd5b80638da5cb5b116101455780639a26c2fa1161011f5780639a26c2fa146105f1578063afbcfea1146105fa578063c5f956af1461060257600080fd5b80638da5cb5b1461056057806393f1a40b1461057e578063949e6302146105de57600080fd5b8063812c64f111610176578063812c64f11461051e578063876d3c9c1461053a57806389a2bc251461054d57600080fd5b80636690864e14610503578063715018a61461051657600080fd5b806342602f1e1161024a578063515bc323116101fe578063630b5ba1116101d8578063630b5ba1146104d5578063654c9ece146104dd5780636605bfda146104f057600080fd5b8063515bc3231461049c57806351eb05a6146104af5780635312ea8e146104c257600080fd5b8063465e81ec1161022f578063465e81ec1461045d578063474fa63014610480578063508593ab1461048957600080fd5b806342602f1e14610437578063441a3e701461044a57600080fd5b80631526fe27116102a15780631c75f085116102865780631c75f085146103e15780632081ccc4146104015780632e6c998d1461041457600080fd5b80631526fe271461037557806317caf6f1146103d857600080fd5b8063081e3eda116102d2578063081e3eda146103135780630ba84cd21461031b57806312e228fd1461033057600080fd5b806304ef9d58146102ee5780630735b2081461030a575b600080fd5b6102f7600e5481565b6040519081526020015b60405180910390f35b6102f7600f5481565b6004546102f7565b61032e610329366004615563565b6106e6565b005b600c546103509073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610301565b610388610383366004615563565b6107b7565b6040805173ffffffffffffffffffffffffffffffffffffffff9098168852602088019690965294860193909352606085019190915261ffff16608084015260a083015260c082015260e001610301565b6102f760065481565b600a546103509073ffffffffffffffffffffffffffffffffffffffff1681565b61032e61040f366004615661565b610821565b610427610422366004615595565b610c7f565b6040519015158152602001610301565b61032e6104453660046153fa565b610d3d565b61032e61045836600461563f565b610f1e565b61047061046b366004615563565b61131a565b6040516103019493929190615800565b6102f760085481565b61032e6104973660046155c5565b611a86565b61032e6104aa366004615691565b611fab565b61032e6104bd366004615563565b612178565b61032e6104d0366004615563565b6121fa565b61032e6124e7565b6102f76104eb366004615563565b612567565b61032e6104fe3660046153fa565b612595565b61032e6105113660046153fa565b612776565b61032e612957565b6105276103e881565b60405161ffff9091168152602001610301565b61032e610548366004615563565b6129e4565b61032e61055b366004615563565b612be4565b60005473ffffffffffffffffffffffffffffffffffffffff16610350565b6105be61058c366004615595565b600560209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610301565b61032e6105ec366004615563565b612de4565b6102f760035481565b61032e612fe4565b600b546103509073ffffffffffffffffffffffffffffffffffffffff1681565b6102f760095481565b61032e610639366004615417565b61314c565b6102f76212750081565b6102f7600d5481565b61032e61065f36600461563f565b613270565b6002546103509073ffffffffffffffffffffffffffffffffffffffff1681565b6102f760075481565b61032e61069b36600461563f565b6132f4565b6106b36106ae366004615563565b61346a565b60405161030191906157ed565b61032e6106ce3660046153fa565b6135e9565b6104706106e1366004615595565b613719565b60005473ffffffffffffffffffffffffffffffffffffffff16331461076c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610774613e24565b600354604080519182526020820183905233917feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d9511910160405180910390a2600355565b600481815481106107c757600080fd5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460069096015473ffffffffffffffffffffffffffffffffffffffff909516965092949193909261ffff16919087565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6004548690811061090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b600a82111561097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7365743a20746f6f206d616e79207265776172646572730000000000000000006044820152606401610763565b6103e861ffff861611156109ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f7365743a206465706f7369742066656520746f6f2068696768000000000000006044820152606401610763565b62127500841115610a57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f7365743a20696e76616c6964206861727665737420696e74657276616c0000006044820152606401610763565b60005b82811015610b0857610a92848483818110610a7757610a77615a20565b9050602002016020810190610a8c91906153fa565b3b151590565b610af8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7365743a207265776172646572206d75737420626520636f6e747261637400006044820152606401610763565b610b0181615998565b9050610a5a565b50610b11613e24565b8560048881548110610b2557610b25615a20565b906000526020600020906008020160010154600654610b449190615955565b610b4e91906158c5565b6006819055508560048881548110610b6857610b68615a20565b9060005260206000209060080201600101819055508460048881548110610b9157610b91615a20565b906000526020600020906008020160040160006101000a81548161ffff021916908361ffff1602179055508360048881548110610bd057610bd0615a20565b906000526020600020906008020160050181905550828260048981548110610bfa57610bfa615a20565b90600052602060002090600802016007019190610c18929190615285565b508282604051610c29929190615782565b6040805191829003822088835261ffff881660208401529082018690529088907f5ed6f0deef9ab49d02900b40d596df4cd637a2a7fbfa56bbcb377389d3ce8d289060600160405180910390a350505050505050565b60045460009083908110610cef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b600084815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290206007544210801590610d34575080600301544210155b95945050505050565b600c5473ffffffffffffffffffffffffffffffffffffffff163314610e0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f73657420696e766573746f7220616464726573733a206f6e6c7920707265766960448201527f6f757320696e766573746f722063616e2063616c6c2074686973206d6574686f60648201527f6400000000000000000000000000000000000000000000000000000000000000608482015260a401610763565b73ffffffffffffffffffffffffffffffffffffffff8116610ead576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f73657420696e766573746f7220616464726573733a20696e76616c6964206e6560448201527f7720696e766573746f72206164647265737300000000000000000000000000006064820152608401610763565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f6260cb34f06b782e83bde168f7d74ab2133041cb53b63ce22b127822a92b679190600090a350565b60026001541415610f8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b600260015560045482908110610ffd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b60006004848154811061101257611012615a20565b6000918252602080832087845260058252604080852033865290925292208054600890920290920192508411156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f77697468647261773a207573657220616d6f756e74206e6f7420656e6f7567686044820152606401610763565b8382600601541015611113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f77697468647261773a20706f6f6c20746f74616c206e6f7420656e6f756768006044820152606401610763565b61111c85613e4a565b6111258561434d565b83156111a4578381600001600082825461113f9190615955565b9091555050600254825473ffffffffffffffffffffffffffffffffffffffff9081169116141561118157836009600082825461117b9190615955565b90915550505b81546111a49073ffffffffffffffffffffffffffffffffffffffff163386614502565b600382015481547f0000000000000000000000000000000000000000000000000000000000000000916111d691615918565b6111e091906158dd565b600182015560005b60078301548110156112b75782600701818154811061120957611209615a20565b60009182526020909120015482546040517ffe8343fb00000000000000000000000000000000000000000000000000000000815260048101899052336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063fe8343fb90606401600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b50505050806112b090615998565b90506111e8565b5083156112d857838260060160008282546112d29190615955565b90915550505b604051848152859033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a3505060018055505050565b60608060608084600480549050811061138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600487815481106113a4576113a4615a20565b90600052602060002090600802019050806007018054905060016113c891906158c5565b67ffffffffffffffff8111156113e0576113e0615a4f565b604051908082528060200260200182016040528015611409578160200160208202803683370190505b50600782015490965061141d9060016158c5565b67ffffffffffffffff81111561143557611435615a4f565b60405190808252806020026020018201604052801561146857816020015b60608152602001906001900390816114535790505b50600782015490955061147c9060016158c5565b67ffffffffffffffff81111561149457611494615a4f565b6040519080825280602002602001820160405280156114bd578160200160208202803683370190505b5060078201549094506114d19060016158c5565b67ffffffffffffffff8111156114e9576114e9615a4f565b604051908082528060200260200182016040528015611512578160200160208202803683370190505b50600254875191945073ffffffffffffffffffffffffffffffffffffffff1690879060009061154357611543615a20565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526002546115739116614672565b8560008151811061158657611586615a20565b60209081029190910101526002546115b39073ffffffffffffffffffffffffffffffffffffffff1661478a565b60ff16846000815181106115c9576115c9615a20565b60200260200101818152505060006103e890506000600f54600e54600d54846115f29190615955565b6115fc9190615955565b6116069190615955565b90508160065482600354866001015461161f9190615918565b6116299190615918565b61163391906158dd565b61163d91906158dd565b8560008151811061165057611650615a20565b60200260200101818152505060005b6007840154811015611a7a5783600701818154811061168057611680615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b1580156116ef57600080fd5b505afa158015611703573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611727919061547b565b896117338360016158c5565b8151811061174357611743615a20565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061185784600701828154811061179557611795615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b15801561180457600080fd5b505afa158015611818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183c919061547b565b73ffffffffffffffffffffffffffffffffffffffff16614672565b886118638360016158c5565b8151811061187357611873615a20565b602002602001018190525061195884600701828154811061189657611896615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b15801561190557600080fd5b505afa158015611919573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193d919061547b565b73ffffffffffffffffffffffffffffffffffffffff1661478a565b60ff16876119678360016158c5565b8151811061197757611977615a20565b60200260200101818152505083600701818154811061199857611998615a20565b6000918252602090912001546040517f465e81ec000000000000000000000000000000000000000000000000000000008152600481018c905273ffffffffffffffffffffffffffffffffffffffff9091169063465e81ec9060240160206040518083038186803b158015611a0b57600080fd5b505afa158015611a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a43919061557c565b86611a4f8360016158c5565b81518110611a5f57611a5f615a20565b6020908102919091010152611a7381615998565b905061165f565b50505050509193509193565b60005473ffffffffffffffffffffffffffffffffffffffff163314611b07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b600a811115611b72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f6164643a20746f6f206d616e79207265776172646572730000000000000000006044820152606401610763565b6103e861ffff85161115611be2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6164643a206465706f7369742066656520746f6f2068696768000000000000006044820152606401610763565b62127500831115611c4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6164643a20696e76616c6964206861727665737420696e74657276616c0000006044820152606401610763565b843b611cdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f6164643a204c5020746f6b656e206d75737420626520612076616c696420636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152608401610763565b60005b81811015611d7357611cfd838383818110610a7757610a77615a20565b611d63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f6164643a207265776172646572206d75737420626520636f6e747261637400006044820152606401610763565b611d6c81615998565b9050611ce0565b50611d7c613e24565b60006007544211611d8f57600754611d91565b425b90508660066000828254611da591906158c5565b9250508190555060046040518061010001604052808873ffffffffffffffffffffffffffffffffffffffff168152602001898152602001838152602001600081526020018761ffff168152602001868152602001600081526020018585808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250939094525050835460018082018655948252602091829020845160089092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9092169190911781558382015194810194909455604083015160028501556060830151600385015560808301516004850180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90921691909117905560a0830151600585015560c0830151600685015560e08301518051939493611f1b93506007850192919091019061530d565b5050508282604051611f2e929190615782565b60405190819003902060045473ffffffffffffffffffffffffffffffffffffffff881690611f5e90600190615955565b604080518b815261ffff8a1660208201529081018890527f5ed295c4f5af5aeb1ccd905e1cd55a86ab3bb9fc1fe2346ff64ac47dbef366619060600160405180910390a450505050505050565b60026001541415612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b60026001556004548690811061208a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b60006004888154811061209f5761209f615a20565b6000918252602090912060089091020180546040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018a90526064810189905260ff8816608482015260a4810187905260c4810186905291925073ffffffffffffffffffffffffffffffffffffffff1690819063d505accf9060e401600060405180830381600087803b15801561214757600080fd5b505af115801561215b573d6000803e3d6000fd5b50505050612169898961487d565b50506001805550505050505050565b600260015414156121e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b60026001556121f381613e4a565b5060018055565b60026001541415612267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b600260018190555060006004828154811061228457612284615a20565b60009182526020808320858452600582526040808520338652909252922080546008929092029092016006810154909350811115612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f656d657267656e63792077697468647261773a20706f6f6c20746f74616c206e60448201527f6f7420656e6f75676800000000000000000000000000000000000000000000006064820152608401610763565b6000808355600183018190556002830181905560038301819055600684018054839290612372908490615955565b90915550600090505b60078401548110156124455783600701818154811061239c5761239c615a20565b60009182526020822001546040517ffe8343fb00000000000000000000000000000000000000000000000000000000815260048101889052336024820152604481019290925273ffffffffffffffffffffffffffffffffffffffff169063fe8343fb90606401600060405180830381600087803b15801561241c57600080fd5b505af1158015612430573d6000803e3d6000fd5b505050508061243e90615998565b905061237b565b50600254835473ffffffffffffffffffffffffffffffffffffffff9081169116141561248357806009600082825461247d9190615955565b90915550505b82546124a69073ffffffffffffffffffffffffffffffffffffffff163383614502565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050600180555050565b60026001541415612554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b6002600155612561613e24565b60018055565b60006004828154811061257c5761257c615a20565b9060005260206000209060080201600601549050919050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314612662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f73657420747265617375727920616464726573733a206f6e6c7920707265766960448201527f6f757320747265617375727920616464726573732063616e2063616c6c20746860648201527f6973206d6574686f640000000000000000000000000000000000000000000000608482015260a401610763565b73ffffffffffffffffffffffffffffffffffffffff8116612705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f73657420747265617375727920616464726573733a20696e76616c6964206e6560448201527f77207472656173757279206164647265737300000000000000000000000000006064820152608401610763565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f61885cdba916be748ff3e3f6f15e4206153b8ea3b7acabade9d04b4063a8351090600090a350565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f736574207465616d20616464726573733a206f6e6c792070726576696f75732060448201527f7465616d20616464726573732063616e2063616c6c2074686973206d6574686f60648201527f6400000000000000000000000000000000000000000000000000000000000000608482015260a401610763565b73ffffffffffffffffffffffffffffffffffffffff81166128e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f736574207465616d20616464726573733a20696e76616c6964206e657720746560448201527f616d2061646472657373000000000000000000000000000000000000000000006064820152608401610763565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f42fbc17d847fdc3e5c82da842a5ef3979c64f3b94cd4e7382310fd5525c6ee0f90600090a350565b60005473ffffffffffffffffffffffffffffffffffffffff1633146129d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6129e26000614cee565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314612a65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6103e8811115612af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f73657420696e766573746f722070657263656e743a20696e76616c696420706560448201527f7263656e742076616c75650000000000000000000000000000000000000000006064820152608401610763565b6103e8600e5482600d54612b0b91906158c5565b612b1591906158c5565b1115612ba3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f73657420696e766573746f722070657263656e743a20746f74616c207065726360448201527f656e74206f766572206d617800000000000000000000000000000000000000006064820152608401610763565b600f5460408051918252602082018390527f905b464403a98b455243c8b4d30c545b8fbd70cda670142b9326425b2c039f3b910160405180910390a1600f55565b60005473ffffffffffffffffffffffffffffffffffffffff163314612c65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6103e8811115612cf7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f7365742074726561737572792070657263656e743a20696e76616c696420706560448201527f7263656e742076616c75650000000000000000000000000000000000000000006064820152608401610763565b6103e8600f5482600d54612d0b91906158c5565b612d1591906158c5565b1115612da3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f7365742074726561737572792070657263656e743a20746f74616c207065726360448201527f656e74206f766572206d617800000000000000000000000000000000000000006064820152608401610763565b600e5460408051918252602082018390527fa565895c0101fca10e6a7b85742e56cf52ac5f58b09ce030425d3555b47069fd910160405180910390a1600e55565b60005473ffffffffffffffffffffffffffffffffffffffff163314612e65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6103e8811115612ef7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f736574207465616d2070657263656e743a20696e76616c69642070657263656e60448201527f742076616c7565000000000000000000000000000000000000000000000000006064820152608401610763565b6103e8600f5482600e54612f0b91906158c5565b612f1591906158c5565b1115612fa3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f736574207465616d2070657263656e743a20746f74616c2070657263656e742060448201527f6f766572206d61780000000000000000000000000000000000000000000000006064820152608401610763565b600d5460408051918252602082018390527f204a076f4a2e4e5e646bb8841cc285306bf747e277f40dbfd5750e782e17b7a6910160405180910390a1600d55565b60005473ffffffffffffffffffffffffffffffffffffffff163314613065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b60075442106130f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f7374617274206661726d696e673a206661726d207374617274656420616c726560448201527f61647900000000000000000000000000000000000000000000000000000000006064820152608401610763565b60045460005b818110156131445760006004828154811061311957613119615a20565b90600052602060002090600802019050428160020181905550508061313d90615998565b90506130fc565b505042600755565b600260015414156131b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b6002600155601e811115613229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f68617276657374206d616e793a20746f6f206d616e7920706f6f6c20696473006044820152606401610763565b60005b818110156132675761325783838381811061324957613249615a20565b90506020020135600061487d565b61326081615998565b905061322c565b50506001805550565b600260015414156132dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b60026001556132ec828261487d565b505060018055565b60005473ffffffffffffffffffffffffffffffffffffffff163314613375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b61337d613e24565b3373ffffffffffffffffffffffffffffffffffffffff167f802633c8d26237616d81bdac01bc40fcdf36e098832601582ec19d7e431c5ef3600484815481106133c8576133c8615a20565b906000526020600020906008020160010154836040516133f2929190918252602082015260400190565b60405180910390a2806004838154811061340e5761340e615a20565b90600052602060002090600802016001015460065461342d9190615955565b61343791906158c5565b600681905550806004838154811061345157613451615a20565b9060005260206000209060080201600101819055505050565b600454606090829081106134da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600484815481106134ef576134ef615a20565b90600052602060002090600802019050806007018054905067ffffffffffffffff81111561351f5761351f615a4f565b604051908082528060200260200182016040528015613548578160200160208202803683370190505b50925060005b60078201548110156135e15781600701818154811061356f5761356f615a20565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168482815181106135ac576135ac615a20565b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101526135da81615998565b905061354e565b505050919050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461366a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b73ffffffffffffffffffffffffffffffffffffffff811661370d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610763565b61371681614cee565b50565b60608060608085600480549050811061378e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600488815481106137a3576137a3615a20565b600091825260208083208b845260058252604080852073ffffffffffffffffffffffffffffffffffffffff8d168652909252922060036008909202909201908101546006820154600283015492945090914211801561380157508015155b156138d75760008460020154426138189190615955565b905060006103e890506000600f54600e54600d54846138379190615955565b6138419190615955565b61384b9190615955565b9050600082600654838a60010154600354886138679190615918565b6138719190615918565b61387b9190615918565b61388591906158dd565b61388f91906158dd565b9050846138bc7f000000000000000000000000000000000000000000000000000000000000000083615918565b6138c691906158dd565b6138d090876158c5565b9550505050505b6000836002015484600101547f00000000000000000000000000000000000000000000000000000000000000008587600001546139149190615918565b61391e91906158dd565b6139289190615955565b61393291906158c5565b60078601549091506139459060016158c5565b67ffffffffffffffff81111561395d5761395d615a4f565b604051908082528060200260200182016040528015613986578160200160208202803683370190505b506007860154909a5061399a9060016158c5565b67ffffffffffffffff8111156139b2576139b2615a4f565b6040519080825280602002602001820160405280156139e557816020015b60608152602001906001900390816139d05790505b5060078601549099506139f99060016158c5565b67ffffffffffffffff811115613a1157613a11615a4f565b604051908082528060200260200182016040528015613a3a578160200160208202803683370190505b506007860154909750613a4e9060016158c5565b67ffffffffffffffff811115613a6657613a66615a4f565b604051908082528060200260200182016040528015613a8f578160200160208202803683370190505b506002548b5191995073ffffffffffffffffffffffffffffffffffffffff16908b90600090613ac057613ac0615a20565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152600254613af09116614672565b89600081518110613b0357613b03615a20565b6020908102919091010152600254613b309073ffffffffffffffffffffffffffffffffffffffff1661478a565b60ff1688600081518110613b4657613b46615a20565b6020026020010181815250508087600081518110613b6657613b66615a20565b60200260200101818152505060005b6007860154811015613e1457856007018181548110613b9657613b96615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b158015613c0557600080fd5b505afa158015613c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c3d919061547b565b8b613c498360016158c5565b81518110613c5957613c59615a20565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613cab86600701828154811061179557611795615a20565b8a613cb78360016158c5565b81518110613cc757613cc7615a20565b6020026020010181905250613cea86600701828154811061189657611896615a20565b60ff1689613cf98360016158c5565b81518110613d0957613d09615a20565b602002602001018181525050856007018181548110613d2a57613d2a615a20565b6000918252602090912001546040517fffcd4263000000000000000000000000000000000000000000000000000000008152600481018f905273ffffffffffffffffffffffffffffffffffffffff8e811660248301529091169063ffcd42639060440160206040518083038186803b158015613da557600080fd5b505afa158015613db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ddd919061557c565b88613de98360016158c5565b81518110613df957613df9615a20565b6020908102919091010152613e0d81615998565b9050613b75565b5050505050505092959194509250565b60005b60045481101561371657613e3a81613e4a565b613e4381615998565b9050613e27565b60045481908110613eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b600060048381548110613ecc57613ecc615a20565b9060005260206000209060080201905080600201544211613eec57505050565b6006810154801580613f0057506001820154155b15613f115750426002909101555050565b6000826002015442613f239190615955565b90506000600654846001015460035484613f3d9190615918565b613f479190615918565b613f5191906158dd565b905060006103e890506000600f54600e54600d5484613f709190615955565b613f7a9190615955565b613f849190615955565b600254600a54600d5492935073ffffffffffffffffffffffffffffffffffffffff918216926340c10f1992909116908590613fbf9088615918565b613fc991906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561403457600080fd5b505af1158015614048573d6000803e3d6000fd5b5050600254600b54600e5473ffffffffffffffffffffffffffffffffffffffff92831694506340c10f19935091169085906140839088615918565b61408d91906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156140f857600080fd5b505af115801561410c573d6000803e3d6000fd5b5050600254600c54600f5473ffffffffffffffffffffffffffffffffffffffff92831694506340c10f19935091169085906141479088615918565b61415191906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156141bc57600080fd5b505af11580156141d0573d6000803e3d6000fd5b505060025473ffffffffffffffffffffffffffffffffffffffff1691506340c10f19905030846142008588615918565b61420a91906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561427557600080fd5b505af1158015614289573d6000803e3d6000fd5b5050506006870154839150826142bf7f000000000000000000000000000000000000000000000000000000000000000087615918565b6142c99190615918565b6142d391906158dd565b6142dd91906158dd565b8660030160008282546142f091906158c5565b909155505042600287018190556003870154604080519283526020830188905282015288907f3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f469060600160405180910390a25050505050505b5050565b60006004828154811061436257614362615a20565b60009182526020808320858452600582526040808520338652909252922060038101546008909202909201925015801561439e57506007544210155b156143b85760058201546143b290426158c5565b60038201555b600081600101547f0000000000000000000000000000000000000000000000000000000000000000846003015484600001546143f49190615918565b6143fe91906158dd565b6144089190615955565b90506144148433610c7f565b1561448c57600081118061442c575060008260020154115b1561448757600082600201548261444391906158c5565b905082600201546008600082825461445b9190615955565b909155505060006002840155600584015461447690426158c5565b60038401556144853382614d63565b505b6144fc565b80156144fc5780600860008282546144a491906158c5565b92505081905550808260020160008282546144bf91906158c5565b9091555050604051818152849033907fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c19060200160405180910390a35b50505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052915160009283929087169161459991906157d1565b6000604051808303816000865af19150503d80600081146145d6576040519150601f19603f3d011682016040523d82523d6000602084013e6145db565b606091505b50915091508180156146055750805115806146055750808060200190518101906146059190615459565b61466b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f426f72696e6745524332303a205472616e73666572206661696c6564000000006044820152606401610763565b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b41000000000000000000000000000000000000000000000000000000001790529051606091600091829173ffffffffffffffffffffffffffffffffffffffff8616916146f491906157d1565b600060405180830381855afa9150503d806000811461472f576040519150601f19603f3d011682016040523d82523d6000602084013e614734565b606091505b509150915081614779576040518060400160405280600381526020017f3f3f3f0000000000000000000000000000000000000000000000000000000000815250614782565b61478281614f19565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829173ffffffffffffffffffffffffffffffffffffffff86169161480b91906157d1565b600060405180830381855afa9150503d8060008114614846576040519150601f19603f3d011682016040523d82523d6000602084013e61484b565b606091505b509150915081801561485e575080516020145b614869576012614782565b8080602001905181019061478291906156e4565b600454829081106148ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600484815481106148ff576148ff615a20565b6000918252602080832087845260058252604080852033865290925292206008909102909101915061493085613e4a565b6149398561434d565b8315614b7c5781546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b1580156149a857600080fd5b505afa1580156149bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149e0919061557c565b8354909150614a079073ffffffffffffffffffffffffffffffffffffffff1633308861510c565b82546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b158015614a7057600080fd5b505afa158015614a84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aa8919061557c565b9050614ab48282615955565b600485015490965061ffff1615614b2357600484015460009061271090614adf9061ffff1689615918565b614ae991906158dd565b600b548654919250614b159173ffffffffffffffffffffffffffffffffffffffff908116911683614502565b614b1f8188615955565b9650505b85836000016000828254614b3791906158c5565b9091555050600254845473ffffffffffffffffffffffffffffffffffffffff90811691161415614b79578560096000828254614b7391906158c5565b90915550505b50505b600382015481547f000000000000000000000000000000000000000000000000000000000000000091614bae91615918565b614bb891906158dd565b600182015560005b6007830154811015614c8f57826007018181548110614be157614be1615a20565b60009182526020909120015482546040517ffe8343fb00000000000000000000000000000000000000000000000000000000815260048101899052336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063fe8343fb90606401600060405180830381600087803b158015614c6657600080fd5b505af1158015614c7a573d6000803e3d6000fd5b5050505080614c8890615998565b9050614bc0565b508315614cb05783826006016000828254614caa91906158c5565b90915550505b604051848152859033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a35050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546002546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b158015614dcf57600080fd5b505afa158015614de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e07919061557c565b1115614349576009546002546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000929173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b158015614e7b57600080fd5b505afa158015614e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614eb3919061557c565b614ebd9190615955565b9050808210614eef57600254614eea9073ffffffffffffffffffffffffffffffffffffffff168483614502565b505050565b8115614eea57600254614eea9073ffffffffffffffffffffffffffffffffffffffff168484614502565b60606040825110614f3e5781806020019051810190614f389190615498565b92915050565b8151602014156150ce5760005b60208160ff16108015614f985750828160ff1681518110614f6e57614f6e615a20565b01602001517fff000000000000000000000000000000000000000000000000000000000000001615155b15614faf5780614fa7816159d1565b915050614f4b565b60008160ff1667ffffffffffffffff811115614fcd57614fcd615a4f565b6040519080825280601f01601f191660200182016040528015614ff7576020820181803683370190505b509050600091505b60208260ff1610801561504c5750838260ff168151811061502257615022615a20565b01602001517fff000000000000000000000000000000000000000000000000000000000000001615155b156150c757838260ff168151811061506657615066615a20565b602001015160f81c60f81b818360ff168151811061508657615086615a20565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350816150bf816159d1565b925050614fff565b9392505050565b505060408051808201909152600381527f3f3f3f0000000000000000000000000000000000000000000000000000000000602082015290565b919050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905291516000928392908816916151ab91906157d1565b6000604051808303816000865af19150503d80600081146151e8576040519150601f19603f3d011682016040523d82523d6000602084013e6151ed565b606091505b50915091508180156152175750805115806152175750808060200190518101906152179190615459565b61527d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f426f72696e6745524332303a205472616e7366657246726f6d206661696c65646044820152606401610763565b505050505050565b8280548282559060005260206000209081019282156152fd579160200282015b828111156152fd5781547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8435161782556020909201916001909101906152a5565b50615309929150615387565b5090565b8280548282559060005260206000209081019282156152fd579160200282015b828111156152fd57825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617825560209092019160019091019061532d565b5b808211156153095760008155600101615388565b60008083601f8401126153ae57600080fd5b50813567ffffffffffffffff8111156153c657600080fd5b6020830191508360208260051b85010111156153e157600080fd5b9250929050565b803561ffff8116811461510757600080fd5b60006020828403121561540c57600080fd5b81356150c781615a7e565b6000806020838503121561542a57600080fd5b823567ffffffffffffffff81111561544157600080fd5b61544d8582860161539c565b90969095509350505050565b60006020828403121561546b57600080fd5b815180151581146150c757600080fd5b60006020828403121561548d57600080fd5b81516150c781615a7e565b6000602082840312156154aa57600080fd5b815167ffffffffffffffff808211156154c257600080fd5b818401915084601f8301126154d657600080fd5b8151818111156154e8576154e8615a4f565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561552e5761552e615a4f565b8160405282815287602084870101111561554757600080fd5b61555883602083016020880161596c565b979650505050505050565b60006020828403121561557557600080fd5b5035919050565b60006020828403121561558e57600080fd5b5051919050565b600080604083850312156155a857600080fd5b8235915060208301356155ba81615a7e565b809150509250929050565b60008060008060008060a087890312156155de57600080fd5b8635955060208701356155f081615a7e565b94506155fe604088016153e8565b935060608701359250608087013567ffffffffffffffff81111561562157600080fd5b61562d89828a0161539c565b979a9699509497509295939492505050565b6000806040838503121561565257600080fd5b50508035926020909101359150565b60008060008060008060a0878903121561567a57600080fd5b86359550602087013594506155fe604088016153e8565b60008060008060008060c087890312156156aa57600080fd5b86359550602087013594506040870135935060608701356156ca81615aa0565b9598949750929560808101359460a0909101359350915050565b6000602082840312156156f657600080fd5b81516150c781615aa0565b600081518084526020808501945080840160005b8381101561574757815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101615715565b509495945050505050565b600081518084526020808501945080840160005b8381101561574757815187529582019590820190600101615766565b60008184825b858110156157c657813561579b81615a7e565b73ffffffffffffffffffffffffffffffffffffffff1683526020928301929190910190600101615788565b509095945050505050565b600082516157e381846020870161596c565b9190910192915050565b6020815260006150c76020830184615701565b6080815260006158136080830187615701565b6020838203818501528187518084528284019150828160051b850101838a0160005b83811015615899577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808885030186528251805180865261587b818a88018b850161596c565b96880196601f01909116939093018601925090850190600101615835565b505086810360408801526158ad818a615752565b94505050505082810360608401526155588185615752565b600082198211156158d8576158d86159f1565b500190565b600082615913577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615950576159506159f1565b500290565b600082821015615967576159676159f1565b500390565b60005b8381101561598757818101518382015260200161596f565b838111156144fc5750506000910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156159ca576159ca6159f1565b5060010190565b600060ff821660ff8114156159e8576159e86159f1565b60010192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff8116811461371657600080fd5b60ff8116811461371657600080fdfea264697066735822122091f75ae2090b2a1b88a492d17a8fc00cfac8d113462e3b3fcc38575e037855a664736f6c634300080700330000000000000000000000006bd193ee6d2104f14f94e2ca6efefae561a4334b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006a064567b6e9a929ba53bd2f4139a0934d50d160000000000000000000000001375d820e32eec62cdd75c3e95b1e71a830b214900000000000000000000000050c34db193fc612f5295b9adbbcc7c02094e3f2d000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102e95760003560e01c80636690864e11610191578063d761595c116100e3578063e6fa6d6d11610097578063eff8976b11610071578063eff8976b146106a0578063f2fde38b146106c0578063ffcd4263146106d357600080fd5b8063e6fa6d6d14610664578063e6fd48bc14610684578063eddf96521461068d57600080fd5b8063de73149d116100c8578063de73149d1461063e578063e164ac5014610648578063e2bbb1581461065157600080fd5b8063d761595c14610622578063dc640ac91461062b57600080fd5b80638da5cb5b116101455780639a26c2fa1161011f5780639a26c2fa146105f1578063afbcfea1146105fa578063c5f956af1461060257600080fd5b80638da5cb5b1461056057806393f1a40b1461057e578063949e6302146105de57600080fd5b8063812c64f111610176578063812c64f11461051e578063876d3c9c1461053a57806389a2bc251461054d57600080fd5b80636690864e14610503578063715018a61461051657600080fd5b806342602f1e1161024a578063515bc323116101fe578063630b5ba1116101d8578063630b5ba1146104d5578063654c9ece146104dd5780636605bfda146104f057600080fd5b8063515bc3231461049c57806351eb05a6146104af5780635312ea8e146104c257600080fd5b8063465e81ec1161022f578063465e81ec1461045d578063474fa63014610480578063508593ab1461048957600080fd5b806342602f1e14610437578063441a3e701461044a57600080fd5b80631526fe27116102a15780631c75f085116102865780631c75f085146103e15780632081ccc4146104015780632e6c998d1461041457600080fd5b80631526fe271461037557806317caf6f1146103d857600080fd5b8063081e3eda116102d2578063081e3eda146103135780630ba84cd21461031b57806312e228fd1461033057600080fd5b806304ef9d58146102ee5780630735b2081461030a575b600080fd5b6102f7600e5481565b6040519081526020015b60405180910390f35b6102f7600f5481565b6004546102f7565b61032e610329366004615563565b6106e6565b005b600c546103509073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610301565b610388610383366004615563565b6107b7565b6040805173ffffffffffffffffffffffffffffffffffffffff9098168852602088019690965294860193909352606085019190915261ffff16608084015260a083015260c082015260e001610301565b6102f760065481565b600a546103509073ffffffffffffffffffffffffffffffffffffffff1681565b61032e61040f366004615661565b610821565b610427610422366004615595565b610c7f565b6040519015158152602001610301565b61032e6104453660046153fa565b610d3d565b61032e61045836600461563f565b610f1e565b61047061046b366004615563565b61131a565b6040516103019493929190615800565b6102f760085481565b61032e6104973660046155c5565b611a86565b61032e6104aa366004615691565b611fab565b61032e6104bd366004615563565b612178565b61032e6104d0366004615563565b6121fa565b61032e6124e7565b6102f76104eb366004615563565b612567565b61032e6104fe3660046153fa565b612595565b61032e6105113660046153fa565b612776565b61032e612957565b6105276103e881565b60405161ffff9091168152602001610301565b61032e610548366004615563565b6129e4565b61032e61055b366004615563565b612be4565b60005473ffffffffffffffffffffffffffffffffffffffff16610350565b6105be61058c366004615595565b600560209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610301565b61032e6105ec366004615563565b612de4565b6102f760035481565b61032e612fe4565b600b546103509073ffffffffffffffffffffffffffffffffffffffff1681565b6102f760095481565b61032e610639366004615417565b61314c565b6102f76212750081565b6102f7600d5481565b61032e61065f36600461563f565b613270565b6002546103509073ffffffffffffffffffffffffffffffffffffffff1681565b6102f760075481565b61032e61069b36600461563f565b6132f4565b6106b36106ae366004615563565b61346a565b60405161030191906157ed565b61032e6106ce3660046153fa565b6135e9565b6104706106e1366004615595565b613719565b60005473ffffffffffffffffffffffffffffffffffffffff16331461076c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610774613e24565b600354604080519182526020820183905233917feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d9511910160405180910390a2600355565b600481815481106107c757600080fd5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460069096015473ffffffffffffffffffffffffffffffffffffffff909516965092949193909261ffff16919087565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6004548690811061090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b600a82111561097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7365743a20746f6f206d616e79207265776172646572730000000000000000006044820152606401610763565b6103e861ffff861611156109ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f7365743a206465706f7369742066656520746f6f2068696768000000000000006044820152606401610763565b62127500841115610a57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f7365743a20696e76616c6964206861727665737420696e74657276616c0000006044820152606401610763565b60005b82811015610b0857610a92848483818110610a7757610a77615a20565b9050602002016020810190610a8c91906153fa565b3b151590565b610af8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7365743a207265776172646572206d75737420626520636f6e747261637400006044820152606401610763565b610b0181615998565b9050610a5a565b50610b11613e24565b8560048881548110610b2557610b25615a20565b906000526020600020906008020160010154600654610b449190615955565b610b4e91906158c5565b6006819055508560048881548110610b6857610b68615a20565b9060005260206000209060080201600101819055508460048881548110610b9157610b91615a20565b906000526020600020906008020160040160006101000a81548161ffff021916908361ffff1602179055508360048881548110610bd057610bd0615a20565b906000526020600020906008020160050181905550828260048981548110610bfa57610bfa615a20565b90600052602060002090600802016007019190610c18929190615285565b508282604051610c29929190615782565b6040805191829003822088835261ffff881660208401529082018690529088907f5ed6f0deef9ab49d02900b40d596df4cd637a2a7fbfa56bbcb377389d3ce8d289060600160405180910390a350505050505050565b60045460009083908110610cef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b600084815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290206007544210801590610d34575080600301544210155b95945050505050565b600c5473ffffffffffffffffffffffffffffffffffffffff163314610e0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f73657420696e766573746f7220616464726573733a206f6e6c7920707265766960448201527f6f757320696e766573746f722063616e2063616c6c2074686973206d6574686f60648201527f6400000000000000000000000000000000000000000000000000000000000000608482015260a401610763565b73ffffffffffffffffffffffffffffffffffffffff8116610ead576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f73657420696e766573746f7220616464726573733a20696e76616c6964206e6560448201527f7720696e766573746f72206164647265737300000000000000000000000000006064820152608401610763565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f6260cb34f06b782e83bde168f7d74ab2133041cb53b63ce22b127822a92b679190600090a350565b60026001541415610f8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b600260015560045482908110610ffd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b60006004848154811061101257611012615a20565b6000918252602080832087845260058252604080852033865290925292208054600890920290920192508411156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f77697468647261773a207573657220616d6f756e74206e6f7420656e6f7567686044820152606401610763565b8382600601541015611113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f77697468647261773a20706f6f6c20746f74616c206e6f7420656e6f756768006044820152606401610763565b61111c85613e4a565b6111258561434d565b83156111a4578381600001600082825461113f9190615955565b9091555050600254825473ffffffffffffffffffffffffffffffffffffffff9081169116141561118157836009600082825461117b9190615955565b90915550505b81546111a49073ffffffffffffffffffffffffffffffffffffffff163386614502565b600382015481547f000000000000000000000000000000000000000000000000000000e8d4a51000916111d691615918565b6111e091906158dd565b600182015560005b60078301548110156112b75782600701818154811061120957611209615a20565b60009182526020909120015482546040517ffe8343fb00000000000000000000000000000000000000000000000000000000815260048101899052336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063fe8343fb90606401600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b50505050806112b090615998565b90506111e8565b5083156112d857838260060160008282546112d29190615955565b90915550505b604051848152859033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a3505060018055505050565b60608060608084600480549050811061138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600487815481106113a4576113a4615a20565b90600052602060002090600802019050806007018054905060016113c891906158c5565b67ffffffffffffffff8111156113e0576113e0615a4f565b604051908082528060200260200182016040528015611409578160200160208202803683370190505b50600782015490965061141d9060016158c5565b67ffffffffffffffff81111561143557611435615a4f565b60405190808252806020026020018201604052801561146857816020015b60608152602001906001900390816114535790505b50600782015490955061147c9060016158c5565b67ffffffffffffffff81111561149457611494615a4f565b6040519080825280602002602001820160405280156114bd578160200160208202803683370190505b5060078201549094506114d19060016158c5565b67ffffffffffffffff8111156114e9576114e9615a4f565b604051908082528060200260200182016040528015611512578160200160208202803683370190505b50600254875191945073ffffffffffffffffffffffffffffffffffffffff1690879060009061154357611543615a20565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526002546115739116614672565b8560008151811061158657611586615a20565b60209081029190910101526002546115b39073ffffffffffffffffffffffffffffffffffffffff1661478a565b60ff16846000815181106115c9576115c9615a20565b60200260200101818152505060006103e890506000600f54600e54600d54846115f29190615955565b6115fc9190615955565b6116069190615955565b90508160065482600354866001015461161f9190615918565b6116299190615918565b61163391906158dd565b61163d91906158dd565b8560008151811061165057611650615a20565b60200260200101818152505060005b6007840154811015611a7a5783600701818154811061168057611680615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b1580156116ef57600080fd5b505afa158015611703573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611727919061547b565b896117338360016158c5565b8151811061174357611743615a20565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061185784600701828154811061179557611795615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b15801561180457600080fd5b505afa158015611818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183c919061547b565b73ffffffffffffffffffffffffffffffffffffffff16614672565b886118638360016158c5565b8151811061187357611873615a20565b602002602001018190525061195884600701828154811061189657611896615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b15801561190557600080fd5b505afa158015611919573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193d919061547b565b73ffffffffffffffffffffffffffffffffffffffff1661478a565b60ff16876119678360016158c5565b8151811061197757611977615a20565b60200260200101818152505083600701818154811061199857611998615a20565b6000918252602090912001546040517f465e81ec000000000000000000000000000000000000000000000000000000008152600481018c905273ffffffffffffffffffffffffffffffffffffffff9091169063465e81ec9060240160206040518083038186803b158015611a0b57600080fd5b505afa158015611a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a43919061557c565b86611a4f8360016158c5565b81518110611a5f57611a5f615a20565b6020908102919091010152611a7381615998565b905061165f565b50505050509193509193565b60005473ffffffffffffffffffffffffffffffffffffffff163314611b07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b600a811115611b72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f6164643a20746f6f206d616e79207265776172646572730000000000000000006044820152606401610763565b6103e861ffff85161115611be2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6164643a206465706f7369742066656520746f6f2068696768000000000000006044820152606401610763565b62127500831115611c4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6164643a20696e76616c6964206861727665737420696e74657276616c0000006044820152606401610763565b843b611cdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f6164643a204c5020746f6b656e206d75737420626520612076616c696420636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152608401610763565b60005b81811015611d7357611cfd838383818110610a7757610a77615a20565b611d63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f6164643a207265776172646572206d75737420626520636f6e747261637400006044820152606401610763565b611d6c81615998565b9050611ce0565b50611d7c613e24565b60006007544211611d8f57600754611d91565b425b90508660066000828254611da591906158c5565b9250508190555060046040518061010001604052808873ffffffffffffffffffffffffffffffffffffffff168152602001898152602001838152602001600081526020018761ffff168152602001868152602001600081526020018585808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250939094525050835460018082018655948252602091829020845160089092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9092169190911781558382015194810194909455604083015160028501556060830151600385015560808301516004850180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90921691909117905560a0830151600585015560c0830151600685015560e08301518051939493611f1b93506007850192919091019061530d565b5050508282604051611f2e929190615782565b60405190819003902060045473ffffffffffffffffffffffffffffffffffffffff881690611f5e90600190615955565b604080518b815261ffff8a1660208201529081018890527f5ed295c4f5af5aeb1ccd905e1cd55a86ab3bb9fc1fe2346ff64ac47dbef366619060600160405180910390a450505050505050565b60026001541415612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b60026001556004548690811061208a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b60006004888154811061209f5761209f615a20565b6000918252602090912060089091020180546040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018a90526064810189905260ff8816608482015260a4810187905260c4810186905291925073ffffffffffffffffffffffffffffffffffffffff1690819063d505accf9060e401600060405180830381600087803b15801561214757600080fd5b505af115801561215b573d6000803e3d6000fd5b50505050612169898961487d565b50506001805550505050505050565b600260015414156121e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b60026001556121f381613e4a565b5060018055565b60026001541415612267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b600260018190555060006004828154811061228457612284615a20565b60009182526020808320858452600582526040808520338652909252922080546008929092029092016006810154909350811115612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f656d657267656e63792077697468647261773a20706f6f6c20746f74616c206e60448201527f6f7420656e6f75676800000000000000000000000000000000000000000000006064820152608401610763565b6000808355600183018190556002830181905560038301819055600684018054839290612372908490615955565b90915550600090505b60078401548110156124455783600701818154811061239c5761239c615a20565b60009182526020822001546040517ffe8343fb00000000000000000000000000000000000000000000000000000000815260048101889052336024820152604481019290925273ffffffffffffffffffffffffffffffffffffffff169063fe8343fb90606401600060405180830381600087803b15801561241c57600080fd5b505af1158015612430573d6000803e3d6000fd5b505050508061243e90615998565b905061237b565b50600254835473ffffffffffffffffffffffffffffffffffffffff9081169116141561248357806009600082825461247d9190615955565b90915550505b82546124a69073ffffffffffffffffffffffffffffffffffffffff163383614502565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050600180555050565b60026001541415612554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b6002600155612561613e24565b60018055565b60006004828154811061257c5761257c615a20565b9060005260206000209060080201600601549050919050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314612662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f73657420747265617375727920616464726573733a206f6e6c7920707265766960448201527f6f757320747265617375727920616464726573732063616e2063616c6c20746860648201527f6973206d6574686f640000000000000000000000000000000000000000000000608482015260a401610763565b73ffffffffffffffffffffffffffffffffffffffff8116612705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f73657420747265617375727920616464726573733a20696e76616c6964206e6560448201527f77207472656173757279206164647265737300000000000000000000000000006064820152608401610763565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f61885cdba916be748ff3e3f6f15e4206153b8ea3b7acabade9d04b4063a8351090600090a350565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f736574207465616d20616464726573733a206f6e6c792070726576696f75732060448201527f7465616d20616464726573732063616e2063616c6c2074686973206d6574686f60648201527f6400000000000000000000000000000000000000000000000000000000000000608482015260a401610763565b73ffffffffffffffffffffffffffffffffffffffff81166128e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f736574207465616d20616464726573733a20696e76616c6964206e657720746560448201527f616d2061646472657373000000000000000000000000000000000000000000006064820152608401610763565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f42fbc17d847fdc3e5c82da842a5ef3979c64f3b94cd4e7382310fd5525c6ee0f90600090a350565b60005473ffffffffffffffffffffffffffffffffffffffff1633146129d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6129e26000614cee565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314612a65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6103e8811115612af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f73657420696e766573746f722070657263656e743a20696e76616c696420706560448201527f7263656e742076616c75650000000000000000000000000000000000000000006064820152608401610763565b6103e8600e5482600d54612b0b91906158c5565b612b1591906158c5565b1115612ba3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f73657420696e766573746f722070657263656e743a20746f74616c207065726360448201527f656e74206f766572206d617800000000000000000000000000000000000000006064820152608401610763565b600f5460408051918252602082018390527f905b464403a98b455243c8b4d30c545b8fbd70cda670142b9326425b2c039f3b910160405180910390a1600f55565b60005473ffffffffffffffffffffffffffffffffffffffff163314612c65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6103e8811115612cf7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f7365742074726561737572792070657263656e743a20696e76616c696420706560448201527f7263656e742076616c75650000000000000000000000000000000000000000006064820152608401610763565b6103e8600f5482600d54612d0b91906158c5565b612d1591906158c5565b1115612da3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f7365742074726561737572792070657263656e743a20746f74616c207065726360448201527f656e74206f766572206d617800000000000000000000000000000000000000006064820152608401610763565b600e5460408051918252602082018390527fa565895c0101fca10e6a7b85742e56cf52ac5f58b09ce030425d3555b47069fd910160405180910390a1600e55565b60005473ffffffffffffffffffffffffffffffffffffffff163314612e65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b6103e8811115612ef7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f736574207465616d2070657263656e743a20696e76616c69642070657263656e60448201527f742076616c7565000000000000000000000000000000000000000000000000006064820152608401610763565b6103e8600f5482600e54612f0b91906158c5565b612f1591906158c5565b1115612fa3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f736574207465616d2070657263656e743a20746f74616c2070657263656e742060448201527f6f766572206d61780000000000000000000000000000000000000000000000006064820152608401610763565b600d5460408051918252602082018390527f204a076f4a2e4e5e646bb8841cc285306bf747e277f40dbfd5750e782e17b7a6910160405180910390a1600d55565b60005473ffffffffffffffffffffffffffffffffffffffff163314613065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b60075442106130f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f7374617274206661726d696e673a206661726d207374617274656420616c726560448201527f61647900000000000000000000000000000000000000000000000000000000006064820152608401610763565b60045460005b818110156131445760006004828154811061311957613119615a20565b90600052602060002090600802019050428160020181905550508061313d90615998565b90506130fc565b505042600755565b600260015414156131b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b6002600155601e811115613229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f68617276657374206d616e793a20746f6f206d616e7920706f6f6c20696473006044820152606401610763565b60005b818110156132675761325783838381811061324957613249615a20565b90506020020135600061487d565b61326081615998565b905061322c565b50506001805550565b600260015414156132dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610763565b60026001556132ec828261487d565b505060018055565b60005473ffffffffffffffffffffffffffffffffffffffff163314613375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b61337d613e24565b3373ffffffffffffffffffffffffffffffffffffffff167f802633c8d26237616d81bdac01bc40fcdf36e098832601582ec19d7e431c5ef3600484815481106133c8576133c8615a20565b906000526020600020906008020160010154836040516133f2929190918252602082015260400190565b60405180910390a2806004838154811061340e5761340e615a20565b90600052602060002090600802016001015460065461342d9190615955565b61343791906158c5565b600681905550806004838154811061345157613451615a20565b9060005260206000209060080201600101819055505050565b600454606090829081106134da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600484815481106134ef576134ef615a20565b90600052602060002090600802019050806007018054905067ffffffffffffffff81111561351f5761351f615a4f565b604051908082528060200260200182016040528015613548578160200160208202803683370190505b50925060005b60078201548110156135e15781600701818154811061356f5761356f615a20565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168482815181106135ac576135ac615a20565b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101526135da81615998565b905061354e565b505050919050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461366a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b73ffffffffffffffffffffffffffffffffffffffff811661370d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610763565b61371681614cee565b50565b60608060608085600480549050811061378e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600488815481106137a3576137a3615a20565b600091825260208083208b845260058252604080852073ffffffffffffffffffffffffffffffffffffffff8d168652909252922060036008909202909201908101546006820154600283015492945090914211801561380157508015155b156138d75760008460020154426138189190615955565b905060006103e890506000600f54600e54600d54846138379190615955565b6138419190615955565b61384b9190615955565b9050600082600654838a60010154600354886138679190615918565b6138719190615918565b61387b9190615918565b61388591906158dd565b61388f91906158dd565b9050846138bc7f000000000000000000000000000000000000000000000000000000e8d4a5100083615918565b6138c691906158dd565b6138d090876158c5565b9550505050505b6000836002015484600101547f000000000000000000000000000000000000000000000000000000e8d4a510008587600001546139149190615918565b61391e91906158dd565b6139289190615955565b61393291906158c5565b60078601549091506139459060016158c5565b67ffffffffffffffff81111561395d5761395d615a4f565b604051908082528060200260200182016040528015613986578160200160208202803683370190505b506007860154909a5061399a9060016158c5565b67ffffffffffffffff8111156139b2576139b2615a4f565b6040519080825280602002602001820160405280156139e557816020015b60608152602001906001900390816139d05790505b5060078601549099506139f99060016158c5565b67ffffffffffffffff811115613a1157613a11615a4f565b604051908082528060200260200182016040528015613a3a578160200160208202803683370190505b506007860154909750613a4e9060016158c5565b67ffffffffffffffff811115613a6657613a66615a4f565b604051908082528060200260200182016040528015613a8f578160200160208202803683370190505b506002548b5191995073ffffffffffffffffffffffffffffffffffffffff16908b90600090613ac057613ac0615a20565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152600254613af09116614672565b89600081518110613b0357613b03615a20565b6020908102919091010152600254613b309073ffffffffffffffffffffffffffffffffffffffff1661478a565b60ff1688600081518110613b4657613b46615a20565b6020026020010181815250508087600081518110613b6657613b66615a20565b60200260200101818152505060005b6007860154811015613e1457856007018181548110613b9657613b96615a20565b60009182526020918290200154604080517ff7c618c1000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263f7c618c192600480840193829003018186803b158015613c0557600080fd5b505afa158015613c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c3d919061547b565b8b613c498360016158c5565b81518110613c5957613c59615a20565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613cab86600701828154811061179557611795615a20565b8a613cb78360016158c5565b81518110613cc757613cc7615a20565b6020026020010181905250613cea86600701828154811061189657611896615a20565b60ff1689613cf98360016158c5565b81518110613d0957613d09615a20565b602002602001018181525050856007018181548110613d2a57613d2a615a20565b6000918252602090912001546040517fffcd4263000000000000000000000000000000000000000000000000000000008152600481018f905273ffffffffffffffffffffffffffffffffffffffff8e811660248301529091169063ffcd42639060440160206040518083038186803b158015613da557600080fd5b505afa158015613db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ddd919061557c565b88613de98360016158c5565b81518110613df957613df9615a20565b6020908102919091010152613e0d81615998565b9050613b75565b5050505050505092959194509250565b60005b60045481101561371657613e3a81613e4a565b613e4381615998565b9050613e27565b60045481908110613eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b600060048381548110613ecc57613ecc615a20565b9060005260206000209060080201905080600201544211613eec57505050565b6006810154801580613f0057506001820154155b15613f115750426002909101555050565b6000826002015442613f239190615955565b90506000600654846001015460035484613f3d9190615918565b613f479190615918565b613f5191906158dd565b905060006103e890506000600f54600e54600d5484613f709190615955565b613f7a9190615955565b613f849190615955565b600254600a54600d5492935073ffffffffffffffffffffffffffffffffffffffff918216926340c10f1992909116908590613fbf9088615918565b613fc991906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561403457600080fd5b505af1158015614048573d6000803e3d6000fd5b5050600254600b54600e5473ffffffffffffffffffffffffffffffffffffffff92831694506340c10f19935091169085906140839088615918565b61408d91906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156140f857600080fd5b505af115801561410c573d6000803e3d6000fd5b5050600254600c54600f5473ffffffffffffffffffffffffffffffffffffffff92831694506340c10f19935091169085906141479088615918565b61415191906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156141bc57600080fd5b505af11580156141d0573d6000803e3d6000fd5b505060025473ffffffffffffffffffffffffffffffffffffffff1691506340c10f19905030846142008588615918565b61420a91906158dd565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561427557600080fd5b505af1158015614289573d6000803e3d6000fd5b5050506006870154839150826142bf7f000000000000000000000000000000000000000000000000000000e8d4a5100087615918565b6142c99190615918565b6142d391906158dd565b6142dd91906158dd565b8660030160008282546142f091906158c5565b909155505042600287018190556003870154604080519283526020830188905282015288907f3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f469060600160405180910390a25050505050505b5050565b60006004828154811061436257614362615a20565b60009182526020808320858452600582526040808520338652909252922060038101546008909202909201925015801561439e57506007544210155b156143b85760058201546143b290426158c5565b60038201555b600081600101547f000000000000000000000000000000000000000000000000000000e8d4a51000846003015484600001546143f49190615918565b6143fe91906158dd565b6144089190615955565b90506144148433610c7f565b1561448c57600081118061442c575060008260020154115b1561448757600082600201548261444391906158c5565b905082600201546008600082825461445b9190615955565b909155505060006002840155600584015461447690426158c5565b60038401556144853382614d63565b505b6144fc565b80156144fc5780600860008282546144a491906158c5565b92505081905550808260020160008282546144bf91906158c5565b9091555050604051818152849033907fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c19060200160405180910390a35b50505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052915160009283929087169161459991906157d1565b6000604051808303816000865af19150503d80600081146145d6576040519150601f19603f3d011682016040523d82523d6000602084013e6145db565b606091505b50915091508180156146055750805115806146055750808060200190518101906146059190615459565b61466b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f426f72696e6745524332303a205472616e73666572206661696c6564000000006044820152606401610763565b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b41000000000000000000000000000000000000000000000000000000001790529051606091600091829173ffffffffffffffffffffffffffffffffffffffff8616916146f491906157d1565b600060405180830381855afa9150503d806000811461472f576040519150601f19603f3d011682016040523d82523d6000602084013e614734565b606091505b509150915081614779576040518060400160405280600381526020017f3f3f3f0000000000000000000000000000000000000000000000000000000000815250614782565b61478281614f19565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829173ffffffffffffffffffffffffffffffffffffffff86169161480b91906157d1565b600060405180830381855afa9150503d8060008114614846576040519150601f19603f3d011682016040523d82523d6000602084013e61484b565b606091505b509150915081801561485e575080516020145b614869576012614782565b8080602001905181019061478291906156e4565b600454829081106148ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f506f6f6c20646f6573206e6f74206578697374000000000000000000000000006044820152606401610763565b6000600484815481106148ff576148ff615a20565b6000918252602080832087845260058252604080852033865290925292206008909102909101915061493085613e4a565b6149398561434d565b8315614b7c5781546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b1580156149a857600080fd5b505afa1580156149bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149e0919061557c565b8354909150614a079073ffffffffffffffffffffffffffffffffffffffff1633308861510c565b82546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b158015614a7057600080fd5b505afa158015614a84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aa8919061557c565b9050614ab48282615955565b600485015490965061ffff1615614b2357600484015460009061271090614adf9061ffff1689615918565b614ae991906158dd565b600b548654919250614b159173ffffffffffffffffffffffffffffffffffffffff908116911683614502565b614b1f8188615955565b9650505b85836000016000828254614b3791906158c5565b9091555050600254845473ffffffffffffffffffffffffffffffffffffffff90811691161415614b79578560096000828254614b7391906158c5565b90915550505b50505b600382015481547f000000000000000000000000000000000000000000000000000000e8d4a5100091614bae91615918565b614bb891906158dd565b600182015560005b6007830154811015614c8f57826007018181548110614be157614be1615a20565b60009182526020909120015482546040517ffe8343fb00000000000000000000000000000000000000000000000000000000815260048101899052336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063fe8343fb90606401600060405180830381600087803b158015614c6657600080fd5b505af1158015614c7a573d6000803e3d6000fd5b5050505080614c8890615998565b9050614bc0565b508315614cb05783826006016000828254614caa91906158c5565b90915550505b604051848152859033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a35050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546002546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b158015614dcf57600080fd5b505afa158015614de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e07919061557c565b1115614349576009546002546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000929173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b158015614e7b57600080fd5b505afa158015614e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614eb3919061557c565b614ebd9190615955565b9050808210614eef57600254614eea9073ffffffffffffffffffffffffffffffffffffffff168483614502565b505050565b8115614eea57600254614eea9073ffffffffffffffffffffffffffffffffffffffff168484614502565b60606040825110614f3e5781806020019051810190614f389190615498565b92915050565b8151602014156150ce5760005b60208160ff16108015614f985750828160ff1681518110614f6e57614f6e615a20565b01602001517fff000000000000000000000000000000000000000000000000000000000000001615155b15614faf5780614fa7816159d1565b915050614f4b565b60008160ff1667ffffffffffffffff811115614fcd57614fcd615a4f565b6040519080825280601f01601f191660200182016040528015614ff7576020820181803683370190505b509050600091505b60208260ff1610801561504c5750838260ff168151811061502257615022615a20565b01602001517fff000000000000000000000000000000000000000000000000000000000000001615155b156150c757838260ff168151811061506657615066615a20565b602001015160f81c60f81b818360ff168151811061508657615086615a20565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350816150bf816159d1565b925050614fff565b9392505050565b505060408051808201909152600381527f3f3f3f0000000000000000000000000000000000000000000000000000000000602082015290565b919050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905291516000928392908816916151ab91906157d1565b6000604051808303816000865af19150503d80600081146151e8576040519150601f19603f3d011682016040523d82523d6000602084013e6151ed565b606091505b50915091508180156152175750805115806152175750808060200190518101906152179190615459565b61527d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f426f72696e6745524332303a205472616e7366657246726f6d206661696c65646044820152606401610763565b505050505050565b8280548282559060005260206000209081019282156152fd579160200282015b828111156152fd5781547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8435161782556020909201916001909101906152a5565b50615309929150615387565b5090565b8280548282559060005260206000209081019282156152fd579160200282015b828111156152fd57825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617825560209092019160019091019061532d565b5b808211156153095760008155600101615388565b60008083601f8401126153ae57600080fd5b50813567ffffffffffffffff8111156153c657600080fd5b6020830191508360208260051b85010111156153e157600080fd5b9250929050565b803561ffff8116811461510757600080fd5b60006020828403121561540c57600080fd5b81356150c781615a7e565b6000806020838503121561542a57600080fd5b823567ffffffffffffffff81111561544157600080fd5b61544d8582860161539c565b90969095509350505050565b60006020828403121561546b57600080fd5b815180151581146150c757600080fd5b60006020828403121561548d57600080fd5b81516150c781615a7e565b6000602082840312156154aa57600080fd5b815167ffffffffffffffff808211156154c257600080fd5b818401915084601f8301126154d657600080fd5b8151818111156154e8576154e8615a4f565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561552e5761552e615a4f565b8160405282815287602084870101111561554757600080fd5b61555883602083016020880161596c565b979650505050505050565b60006020828403121561557557600080fd5b5035919050565b60006020828403121561558e57600080fd5b5051919050565b600080604083850312156155a857600080fd5b8235915060208301356155ba81615a7e565b809150509250929050565b60008060008060008060a087890312156155de57600080fd5b8635955060208701356155f081615a7e565b94506155fe604088016153e8565b935060608701359250608087013567ffffffffffffffff81111561562157600080fd5b61562d89828a0161539c565b979a9699509497509295939492505050565b6000806040838503121561565257600080fd5b50508035926020909101359150565b60008060008060008060a0878903121561567a57600080fd5b86359550602087013594506155fe604088016153e8565b60008060008060008060c087890312156156aa57600080fd5b86359550602087013594506040870135935060608701356156ca81615aa0565b9598949750929560808101359460a0909101359350915050565b6000602082840312156156f657600080fd5b81516150c781615aa0565b600081518084526020808501945080840160005b8381101561574757815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101615715565b509495945050505050565b600081518084526020808501945080840160005b8381101561574757815187529582019590820190600101615766565b60008184825b858110156157c657813561579b81615a7e565b73ffffffffffffffffffffffffffffffffffffffff1683526020928301929190910190600101615788565b509095945050505050565b600082516157e381846020870161596c565b9190910192915050565b6020815260006150c76020830184615701565b6080815260006158136080830187615701565b6020838203818501528187518084528284019150828160051b850101838a0160005b83811015615899577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808885030186528251805180865261587b818a88018b850161596c565b96880196601f01909116939093018601925090850190600101615835565b505086810360408801526158ad818a615752565b94505050505082810360608401526155588185615752565b600082198211156158d8576158d86159f1565b500190565b600082615913577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615950576159506159f1565b500290565b600082821015615967576159676159f1565b500390565b60005b8381101561598757818101518382015260200161596f565b838111156144fc5750506000910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156159ca576159ca6159f1565b5060010190565b600060ff821660ff8114156159e8576159e86159f1565b60010192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff8116811461371657600080fd5b60ff8116811461371657600080fdfea264697066735822122091f75ae2090b2a1b88a492d17a8fc00cfac8d113462e3b3fcc38575e037855a664736f6c63430008070033

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

0000000000000000000000006bd193ee6d2104f14f94e2ca6efefae561a4334b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006a064567b6e9a929ba53bd2f4139a0934d50d160000000000000000000000001375d820e32eec62cdd75c3e95b1e71a830b214900000000000000000000000050c34db193fc612f5295b9adbbcc7c02094e3f2d000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : _solar (address): 0x6bD193Ee6D2104F14F94E2cA6efefae561A4334B
Arg [1] : _solarPerSec (uint256): 0
Arg [2] : _teamAddress (address): 0x06A064567b6E9a929ba53BD2F4139a0934D50D16
Arg [3] : _treasuryAddress (address): 0x1375D820e32Eec62cDd75c3e95b1E71A830B2149
Arg [4] : _investorAddress (address): 0x50c34Db193fC612F5295b9aDBbcC7c02094E3F2D
Arg [5] : _teamPercent (uint256): 100
Arg [6] : _treasuryPercent (uint256): 100
Arg [7] : _investorPercent (uint256): 100

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000006bd193ee6d2104f14f94e2ca6efefae561a4334b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 00000000000000000000000006a064567b6e9a929ba53bd2f4139a0934d50d16
Arg [3] : 0000000000000000000000001375d820e32eec62cdd75c3e95b1e71a830b2149
Arg [4] : 00000000000000000000000050c34db193fc612f5295b9adbbcc7c02094e3f2d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000064


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.