Contract 0x6ad70613d14c34aa69e1604af91c39e0591a132e 6

 

Contract Overview

Augury Finance: Masterchef Staking
Txn Hash
Block
From
To
Value [Txn Fee]
0x046fa5433d9ce47e442ff092a8cfe0064e86006773a6e211394e94513ee84cd1173741812021-07-29 0:26:4817 secs ago0xa331f8ddf5fd58008d47195c8d31d785a050001b IN  Augury Finance: Masterchef Staking 0 MATIC0.000217458978
0x2d9541f652cf90ac4287e278c174243ce65630cf05212d384be9d140986961e7173741782021-07-29 0:26:4223 secs ago0x8f9be4310f9abb0e5843cc6363908c9b01dfeb3f IN  Augury Finance: Masterchef Staking 0 MATIC0.01447688
0x919a837e08a5d6a838e3e9529d7785650cba49313797417dc33a3dab3f378787173741732021-07-29 0:26:3233 secs ago0xc2fa554c96051717aa32930833bac68747112e68 IN  Augury Finance: Masterchef Staking 0 MATIC0.000217481795
0xb6c667b8f4ad873e7228ce0e36e1e74b2cc929f2a01231d33452c25b3b5bd682173741702021-07-29 0:26:2639 secs ago0x37e229da51d1c1e1bdf05e2c0d3e9493bfd33d6c IN  Augury Finance: Masterchef Staking 0 MATIC0.000217481795
0x1799d479ca3c989876900356849217496fad5c9d570cb48c2d4394f5a65fded4173741692021-07-29 0:26:2441 secs ago0x0b08dcc37e449c04a55a12454a8957a72e608994 IN  Augury Finance: Masterchef Staking 0 MATIC0.000369565038
0x72a70e6d97a469af1ecf2ff24afc6f02156e419d24c2c7927b479f3b32676106173741672021-07-29 0:26:2045 secs ago0xd37d0257eb7aa27db2f0c5769927d42d7cfea73b IN  Augury Finance: Masterchef Staking 0 MATIC0.000540006
0x8289ab125ace0843aa2871dc16a67c3e977ea717cd0231e992c2b79c896d5061173741582021-07-29 0:26:021 min ago0x0b08dcc37e449c04a55a12454a8957a72e608994 IN  Augury Finance: Masterchef Staking 0 MATIC0.000519919911
0x7053fe11043065cea92e05400ce3bb0ea4cdf46c13e3ca658d704d9cd44295d2173741532021-07-29 0:25:521 min ago0x7e768f35e52aae47fea86d1ea7ad05ee263c62ec IN  Augury Finance: Masterchef Staking 0 MATIC0.002700897429
0x58f5c4ad71bf2e7e0e0e12416be503d6710301cd3747859555cd99b6bf7091df173741502021-07-29 0:25:461 min ago0xa331f8ddf5fd58008d47195c8d31d785a050001b IN  Augury Finance: Masterchef Staking 0 MATIC0.000217436161
0x0fe8a605dab36b895c9fb0f92e08bcd3534943bf47986b818396b3827535c362173741472021-07-29 0:25:401 min ago0x0b08dcc37e449c04a55a12454a8957a72e608994 IN  Augury Finance: Masterchef Staking 0 MATIC0.000525243823
0xdebdcf4e3ecf40fef694da5486419bec3d655d043265f02e7008db59168e98cd173741412021-07-29 0:25:241 min ago0xa30464f0fb8b81e6db96424c29e04c9d397a0c20 IN  Augury Finance: Masterchef Staking 0 MATIC0.00042561442
0x02d14d9006514fb7dca791a5a1895ce15cd04432347906eb4ff07a4b5536bf90173741402021-07-29 0:25:221 min ago0xadb0dc3ea26318dd9e45ba7436b1984477e876cb IN  Augury Finance: Masterchef Staking 0 MATIC0.000420290509
0x17ee52f9d68337b1decc05e838409247e7c4b416b43e6e0c3db5728925badb95173741372021-07-29 0:25:161 min ago0xdac51a4f4b0a9a9dc9a7ad8e299a72a0f4ca5f40 IN  Augury Finance: Masterchef Staking 0 MATIC0.00042561442
0x003599e29f6103f4204eb2a2039b654a974f4c70de860999f93acfbdcb05a07c173741292021-07-29 0:25:002 mins ago0xa4000c005b851ea8cdacc5b5badd2992fa3859cb IN  Augury Finance: Masterchef Staking 0 MATIC0.00240919
0x38f8b5a7aa1d6d5ae647ef6040e1257dcb3ad8d0c551ce1436b1dc96918f1db1173741262021-07-29 0:24:542 mins ago0xa30464f0fb8b81e6db96424c29e04c9d397a0c20 IN  Augury Finance: Masterchef Staking 0 MATIC0.000217725173
0xa92c72ea95b49bd32222bc35fc8feecb62e0adcecdbbe945e1c447442bf5e446173741262021-07-29 0:24:542 mins ago0xa30464f0fb8b81e6db96424c29e04c9d397a0c20 IN  Augury Finance: Masterchef Staking 0 MATIC0.000209185999
0x7734b33d51ef113fcf76f30790e011beb2fa0e84c7441bc45b3a3974f0717a67173741212021-07-29 0:24:442 mins ago0xdac51a4f4b0a9a9dc9a7ad8e299a72a0f4ca5f40 IN  Augury Finance: Masterchef Staking 0 MATIC0.000217481795
0x0978275862381826e8523609bacd66aab2529508b557ed1110413ff5230de669173741152021-07-29 0:24:322 mins ago0xadb0dc3ea26318dd9e45ba7436b1984477e876cb IN  Augury Finance: Masterchef Staking 0 MATIC0.000209185999
0xb611525d42bb8160bacb9c39e070ff2989f9913aec39b4bf7c981b83127e698e173741092021-07-29 0:24:202 mins ago0x353d58ec8c20dd9f2f81fe46e58e0606aa5d36e4 IN  Augury Finance: Masterchef Staking 0 MATIC0.000217481795
0x1d05e04caf7fa83003174d30e0ffcdc8c6e5e67fe2f677819ad783f4b6eebc18173741072021-07-29 0:24:162 mins ago0x353d58ec8c20dd9f2f81fe46e58e0606aa5d36e4 IN  Augury Finance: Masterchef Staking 0 MATIC0.000209185999
0xc0afd633653e0a3c7b37ea2f5bbdef4a50eff5accac040fd75b6317cf44d121a173741062021-07-29 0:24:142 mins ago0xa4000c005b851ea8cdacc5b5badd2992fa3859cb IN  Augury Finance: Masterchef Staking 0 MATIC0.000635465
0xa1674b9bae733d32b4bbb63f89ed5e6f7dc973237be0fcf342cdecd22000ea6c173741032021-07-29 0:24:082 mins ago0x5c7439abd97fb0be1e5b63e2a5f7e79cc3c6d84b IN  Augury Finance: Masterchef Staking 0 MATIC0.00042561442
0x605e86dfcde8b2e41ecda81f26196c67450253d99fb4490673122d50e3ad9328173740952021-07-29 0:23:523 mins ago0xc0a0397c4455c807df0d5c758a067b7d81747e49 IN  Augury Finance: Masterchef Staking 0 MATIC0.000505089014
0x1a63c678418916a1d184ccf3971872f61762d39781a3a5d8cbf823ad5a93dfa4173740952021-07-29 0:23:523 mins ago0x0b08dcc37e449c04a55a12454a8957a72e608994 IN  Augury Finance: Masterchef Staking 0 MATIC0.000120850895
0xb1e9d59d308e209a882e9c56c5a56105de9659548fffef1db4fc48eb7cf48b09173740952021-07-29 0:23:523 mins ago0x5c7439abd97fb0be1e5b63e2a5f7e79cc3c6d84b IN  Augury Finance: Masterchef Staking 0 MATIC0.000217504611
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x754bffd75fb6102c28d00323ff1c9972e8167b2f01bd166342a0e65cb53cc5a3157642542021-06-16 1:04:4642 days 23 hrs ago Augury Finance: Masterchef Staking  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterAugur

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 15 : AugurDividendsV1.sol
// SPDX-License-Identifier: Augury Finance
// COPIED FROM https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/GovernorAlpha.sol
// Copyright Augury Finance, 2021. Do not re-use without permission.
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
// 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//

pragma solidity ^0.6.12;

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/access/Ownable.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/math/SafeMath.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/token/ERC20/SafeERC20.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/utils/ReentrancyGuard.sol';

import './libs/IDividends.sol';
import './Operators.sol';

contract AugurDividendsV1 is Ownable, ReentrancyGuard, Operators, IDividends {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    struct EpochInfo {
        uint256 lpOmenStaked_d18;
        uint256 nlpOmenStaked_d18;

        uint256 lpUsdcToDistribute_d6;
        uint256 nlpUsdcToDistribute_d6;
    }

    struct UserInfo {
        uint256 lastNlpPositiveStakedTime;
        uint256 lastNlpZeroStakedTime;
        
        uint256 lastLpPositiveStakedTime;
        uint256 lastLpZeroStakedTime;

        uint256 lastEpochClaimed;

        uint256 lpOmenStaked_d18;
        uint256 nlpOmenStaked_d18;

        uint256 lastEpochPended;
        uint256 pendingUsdc_d6;
    }

    uint256 public constant MAX_UINT_256 = uint256(-1);

    IERC20 public dividendToken;

    uint256 public epochDurationSeconds;
    uint256 public epochDurationSecondsOffset;
    uint256 public lastClosedEpoch;
    uint256 public lastFundedEpoch;
    uint256 public lastFundedAtUtcSeconds;

    uint256 public totalLpOmenStaked_d18;
    uint256 public totalNlpOmenStaked_d18;

    mapping(uint256 => EpochInfo) public epochInfos;
    mapping(address => UserInfo) public userInfos;
    mapping(address => mapping(uint256 => uint256)) public userStakeHistories_nlp;
    mapping(address => mapping(uint256 => uint256)) public userStakeHistories_lp;
    mapping(uint256 => bool) public pidIsNlpPool;
    mapping(uint256 => bool) public pidIsLpPool;
    address[] public stakedUserAddresses;

    event DividendsCollected(address indexed user, uint256 amount);

    constructor(IERC20 _dividendToken) public {
        dividendToken = _dividendToken;

        // 1 week
        epochDurationSeconds = 1 weeks;
        // Fri May 28 2021 09:00:00 GMT-0500 (Central Daylight Time)
        epochDurationSecondsOffset = 1622210400;

        // staging:
        // 1 hours
        // epochDurationSeconds = 1 hours;
        // Tue Jun 15 2021 06:00:00 GMT-0500 (Central Daylight Time)
        // epochDurationSecondsOffset = 1623754800;

        require((now - 2 * epochDurationSeconds) > epochDurationSecondsOffset, 'epochDurationSecondsOffset must be at least two epochs in the past.');

        lastClosedEpoch = secondsToEpoch(getNow()) - 1;
        lastFundedEpoch = secondsToEpoch(getNow()) - 1;

        totalLpOmenStaked_d18 = 0;
        totalNlpOmenStaked_d18 = 0;
    }

    function getNow() public virtual view returns (uint256) {
        return now;
    }

    function getUserLastNlpStakedTime(address _user) public view returns (uint256) {
        return userInfos[_user].lastNlpPositiveStakedTime > userInfos[_user].lastNlpZeroStakedTime ? userInfos[_user].lastNlpPositiveStakedTime
            : userInfos[_user].lastNlpZeroStakedTime;
    }

    function getUserLastLpStakedTime(address _user) public view returns (uint256) {
        return userInfos[_user].lastLpPositiveStakedTime > userInfos[_user].lastLpZeroStakedTime ? userInfos[_user].lastLpPositiveStakedTime
            : userInfos[_user].lastLpZeroStakedTime;
    }

    function hasUserStaked(address _user) public view returns (bool) {
        return userInfos[_user].lastLpPositiveStakedTime > 0 ||
            userInfos[_user].lastNlpPositiveStakedTime > 0;
    }

    // Calculations...
    function calculateEpochUsdcAmount_d6(uint256 _epochUsdcTotal_d6, uint256 _epochTotalStakedOmen_d18, uint256 _userStakedOmen_d18) public pure returns (uint256) {
        if(_userStakedOmen_d18 == 0 || _epochTotalStakedOmen_d18 == 0) {
            return 0;
        }

        uint256 _numerator= _epochUsdcTotal_d6.mul(_userStakedOmen_d18).mul(1e18);
        uint256 _denominator = _epochTotalStakedOmen_d18;

        return _numerator.div(_denominator).div(1e18);
    }
    
    function secondsToEpoch(uint256 _seconds) public view returns (uint256) {
        return (_seconds - epochDurationSecondsOffset).div(epochDurationSeconds);
    }

    function currentEpoch() public view returns (uint256) {
        return secondsToEpoch(getNow());
    }

    function calculateOwedDividends_d6(address _address, uint256 _requestedEpoch) public view returns (uint256) {
        // the last epoch that we can safely calculate to is the last funded epoch
        uint256 lastEpoch = _requestedEpoch;
        if(lastFundedEpoch < _requestedEpoch) {
            lastEpoch = lastFundedEpoch;
        }

        // return lastFundedEpoch;
        if (lastEpoch <= userInfos[_address].lastEpochClaimed) {
            return 0;
        }

        // the user has never staked with us, so they have no rewards...
        if(!hasUserStaked(_address)) {
            return 0;
        }

        if(userInfos[_address].lastEpochClaimed == 0) {
            return 0;
        }

        uint256 _userNlpStakedAmount_d18 = 0;
        uint256 _userLpStakedAmount_d18 = 0; 
        
        uint256 _total = 0;
        for (uint256 pastEpoch = userInfos[_address].lastEpochClaimed + 1; pastEpoch <= lastEpoch; pastEpoch++) {
            _userNlpStakedAmount_d18 = userStakeHistories_nlp[_address][pastEpoch] == 0 ? _userNlpStakedAmount_d18
                : userStakeHistories_nlp[_address][pastEpoch];
            _userLpStakedAmount_d18 = userStakeHistories_lp[_address][pastEpoch] == 0 ? _userLpStakedAmount_d18
                : userStakeHistories_lp[_address][pastEpoch];

            if(_userNlpStakedAmount_d18 > 0 && _userNlpStakedAmount_d18 != MAX_UINT_256) {
                _total = _total.add(calculateEpochUsdcAmount_d6(epochInfos[pastEpoch].nlpUsdcToDistribute_d6, epochInfos[pastEpoch].nlpOmenStaked_d18, _userNlpStakedAmount_d18));
            }

            if(_userLpStakedAmount_d18 > 0 && _userNlpStakedAmount_d18 != MAX_UINT_256) {
                _total = _total.add(calculateEpochUsdcAmount_d6(epochInfos[pastEpoch].lpUsdcToDistribute_d6, epochInfos[pastEpoch].lpOmenStaked_d18, _userLpStakedAmount_d18));
            }
        }

        return _total;
    }
    function calculateOwedDividendsFromNow_d6(address _address) external view returns (uint256) {
        return calculateOwedDividends_d6(_address, lastFundedEpoch);
    }

    // contract state
    function _closeOpenEpochs(uint256 _epoch) private {
        while(lastClosedEpoch + 1 < _epoch) {
            lastClosedEpoch = lastClosedEpoch + 1;

            epochInfos[lastClosedEpoch].lpOmenStaked_d18 = totalLpOmenStaked_d18;
            epochInfos[lastClosedEpoch].nlpOmenStaked_d18 = totalNlpOmenStaked_d18;
        }
    }
    function closePreviousOpenEpochsFromNow() public {
        // this can be public because it is idempotent
        _closeOpenEpochs(currentEpoch());
    }
    
    function fundEpochDistributions(uint256 _epoch, uint256 _nlpUsdc_d6, uint256 _lpUsdc_d6) external onlyOperator nonReentrant {
        closePreviousOpenEpochsFromNow();

        require(_epoch <= lastClosedEpoch, 'expected epoch to be in the past.');
        require(_epoch == lastFundedEpoch + 1, 'expected epoch to be the next sequential epoch.');

        epochInfos[_epoch].nlpUsdcToDistribute_d6 = _nlpUsdc_d6;
        epochInfos[_epoch].lpUsdcToDistribute_d6 = _lpUsdc_d6;
        lastFundedEpoch = _epoch;
        lastFundedAtUtcSeconds = now;
    }

    // user state
    function _setUserStakedAmount(uint256 _pid, address _userAddress, uint256 _omenTotalStakedAmount_d18) private nonReentrant {
        uint256 _currentEpoch = currentEpoch();
        closePreviousOpenEpochsFromNow();
        
        uint256 _lastStakedAmount = userInfos[_userAddress].nlpOmenStaked_d18;
        if(_pid > 0) {
            _lastStakedAmount = userInfos[_userAddress].lpOmenStaked_d18;
        }

        // when the user first stakes with us, we need to set their lastFundedEpoch to the last epoch.
        if(!hasUserStaked(_userAddress)) {
            userInfos[_userAddress].lastEpochClaimed = lastFundedEpoch;
            stakedUserAddresses.push(_userAddress);
        }

        // when the user removes stake
        uint256 _decrementTotalBy = 0;
        if(_lastStakedAmount > _omenTotalStakedAmount_d18) {
            _decrementTotalBy = _lastStakedAmount.sub(_omenTotalStakedAmount_d18);
        }

        // when the user adds stake
        uint256 _incrementTotalBy = 0;
        if (_lastStakedAmount < _omenTotalStakedAmount_d18) {
            _incrementTotalBy = _omenTotalStakedAmount_d18.sub(_lastStakedAmount);
        }

        if(_pid == 0) {
            userInfos[_userAddress].nlpOmenStaked_d18 = _omenTotalStakedAmount_d18;
            totalNlpOmenStaked_d18 = totalNlpOmenStaked_d18.add(_incrementTotalBy).sub(_decrementTotalBy);
            userStakeHistories_nlp[_userAddress][_currentEpoch] = _omenTotalStakedAmount_d18;
            if(_omenTotalStakedAmount_d18 == 0) {
                userStakeHistories_nlp[_userAddress][_currentEpoch] = MAX_UINT_256;
            }

            if(_omenTotalStakedAmount_d18 == 0) {
                userInfos[_userAddress].lastNlpZeroStakedTime = getNow();
            } else {
                userInfos[_userAddress].lastNlpPositiveStakedTime = getNow();
            }
        } else {
            // this will only be the pid 1
            userInfos[_userAddress].lpOmenStaked_d18 = _omenTotalStakedAmount_d18;
            totalLpOmenStaked_d18 = totalLpOmenStaked_d18.add(_incrementTotalBy).sub(_decrementTotalBy);
            userStakeHistories_lp[_userAddress][_currentEpoch] = _omenTotalStakedAmount_d18;
            if(_omenTotalStakedAmount_d18 == 0) {
                userStakeHistories_lp[_userAddress][_currentEpoch] = MAX_UINT_256;
            }

            if(_omenTotalStakedAmount_d18 == 0) {
                userInfos[_userAddress].lastLpZeroStakedTime = getNow();
            } else {
                userInfos[_userAddress].lastLpPositiveStakedTime = getNow();
            }
        }
    }
    function setUserStakedAmount(uint256 _pid, address _userAddress, uint256 _omenTotalStakedAmount_d18) external override onlyOwner {
        // only add liquidity if the pool supports dividends
        if(_pid != 0 && _pid != 1) {
            return;
        }

        _setUserStakedAmount(_pid, _userAddress, _omenTotalStakedAmount_d18);
    }

    function _collectDividends(address _userAddress) private nonReentrant returns (uint256) {
        closePreviousOpenEpochsFromNow();

        require(userInfos[_userAddress].lastLpPositiveStakedTime > 0 || userInfos[_userAddress].lastNlpPositiveStakedTime > 0, 'you must stake tokens before you are eligible to claim dividends.');
        
        uint256 _totalDividends = calculateOwedDividends_d6(_userAddress, lastFundedEpoch);
        uint lastNlpStakeChangedEpoch = secondsToEpoch(getUserLastNlpStakedTime(_userAddress));
        uint lastLpStakeChangedEpoch = secondsToEpoch(getUserLastLpStakedTime(_userAddress));

        userStakeHistories_nlp[_userAddress][lastFundedEpoch + 1] = userStakeHistories_nlp[_userAddress][lastNlpStakeChangedEpoch];
        userStakeHistories_lp[_userAddress][lastFundedEpoch + 1] = userStakeHistories_lp[_userAddress][lastLpStakeChangedEpoch];
        userInfos[_userAddress].lastEpochClaimed = lastFundedEpoch;

        if (_totalDividends == 0) {
            return 0;
        }

        dividendToken.safeTransfer(address(_userAddress), _totalDividends);

        emit DividendsCollected(_userAddress, _totalDividends);
    }
    function collectDividends() external returns (uint256) {
        return _collectDividends(msg.sender);
    }

    // this method will allow us to completely flush this contract when we migrate to a new dividends contract.
    function distributeUnclaimedDividends(uint256 _from, uint256 _to) external {
        require(_from < _to, '_from must be less than _to.');
        require(_to < stakedUserAddresses.length, '_to must be less than the number of staked users.');

        for(uint256 i = _from; i < _to; i++) {
            _collectDividends(stakedUserAddresses[i]);
        }
    }
}

File 2 of 15 : MasterAugur.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/access/Ownable.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/math/SafeMath.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/token/ERC20/SafeERC20.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/utils/ReentrancyGuard.sol';

import './OmenToken.sol';
import './Operators.sol';
import './libs/IDividends.sol';
import './libs/IReferral.sol';
import './AugurDividendsV1.sol';

// MasterAugur sees all within Augury.
// Eventually, this will be governed by our community.
// Have fun reading it. Hopefully it's bug-free. God bless. :)

contract MasterAugur is Ownable, ReentrancyGuard, Operators {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of OMEN
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accOmenPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accOmenPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. OMEN to distribute per block.
        uint256 lastRewardBlock;  // Last block number that OMEN distribution occurs.
        uint256 accOmenPerShare;   // Accumulated OMEN per share, times 1e18. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
    }

    /* Augury: Omen */
    OmenToken public omen;
    IDividends public dividends;

    /**
        Advisors, Partners and Developers have a vesting schedule on their tokens (see below)
    **/
    address public communityAddress;
    address public devAddress;

    // OMEN tokens created per block.
    uint256 public maxSupply = 777777777 ether; // 777m
    uint256 public omenPerBlock = 17777 finney; // 17.777

    // 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 block number when OMEN mining starts.
    uint256 public startBlock;

    // Omen referrals contract address.
    IReferral public referral;
    // Referral commission rate in basis points.
    uint16 public referralCommissionRate = 0;
    // Max referral commission rate: 5%.
    uint16 public constant MAXIMUM_REFERRAL_COMMISSION_RATE = 500;

    // dividends
    address public dividendsContractAddress;

    /************************
        Addresses 
    *************************/

    // Vesting:
    event SetCommunityAddress(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);

    // Other/Misc:
    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);

    // Referral bonuses:
    event SetReferralAddress(address indexed user, IReferral indexed newAddress);
    event ReferralCommissionPaid(address indexed user, address indexed referrer, uint256 commissionAmount);

    // Allows us to change the emission rate (see gitbook)
    event UpdateEmissionRate(address indexed user, uint256 omenPerBlock);
    
    // Watched by our Sentinel Auditing System. This function should only be used if the community requires it. 
    event UpdateMaxSupply(address indexed user, uint256 maxSupply);
    
    constructor(
        OmenToken _omen,
        IERC20 _usdc,
        uint256 _startBlock,
        address _communityAddress,
        address _devAddress
    ) public {
        omen = _omen;
        startBlock = _startBlock;

        communityAddress = _communityAddress;
        devAddress = _devAddress;
        
        dividends = new AugurDividendsV1(_usdc);
        // TODO: Determine which of these we should use...
        dividends.updateOperator(_devAddress, true);
        dividends.updateOperator(msg.sender, true);
        dividends.updateOperator(address(this), true);
        
        dividendsContractAddress = address(dividends);
    }

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

    mapping(IERC20 => bool) public poolExistence;
    modifier nonDuplicated(IERC20 _lpToken) {
        require(poolExistence[_lpToken] == false, 'nonDuplicated: duplicated');
        _;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function _addPool(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP) private {
        require(_depositFeeBP <= 10000, 'add: invalid deposit fee basis points');
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accOmenPerShare: 0,
            depositFeeBP: _depositFeeBP
        }));
    }
    function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP) external onlyOwner nonDuplicated(_lpToken) {
        _addPool(_allocPoint, _lpToken, _depositFeeBP);
    }
    function operatorsAddPool(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP) external onlyOperator {
        _addPool(_allocPoint, _lpToken, _depositFeeBP);
    }

    // Update the given pool's OMEN allocation point and deposit fee. Can only be called by the owner.
    function _setPool(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP) private {
        require(_depositFeeBP <= 10000, 'set: invalid deposit fee basis points');
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
    }
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP) external onlyOwner {
        _setPool(_pid, _allocPoint, _depositFeeBP);
    }
    function operatorSetPool(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP) external onlyOperator {
        _setPool(_pid, _allocPoint, _depositFeeBP);
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (omen.totalSupply() >= maxSupply) {
            return 0;
        }
        return _to.sub(_from);
    }

    // View function to see pending OMEN on frontend.
    function pendingOmen(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accOmenPerShare = pool.accOmenPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 omenReward = multiplier.mul(omenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accOmenPerShare = accOmenPerShare.add(omenReward.mul(1e18).div(lpSupply));
        }
        return user.amount.mul(accOmenPerShare).div(1e18).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 omenReward = multiplier.mul(omenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        omen.mint(devAddress, omenReward.div(10));
        omen.mint(address(this), omenReward);
        pool.accOmenPerShare = pool.accOmenPerShare.add(omenReward.mul(1e18).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }
    
    function deposit(uint256 _pid, uint256 _amount, address _referrer) external nonReentrant {
        _deposit(_pid, _amount, msg.sender, _referrer);
    }
    
    function withdraw(uint256 _pid, uint256 _amount) external nonReentrant {
        _withdraw(_pid, _amount, msg.sender);
    }
    
    // Restricted deposit function for our own contracts
    function deposit(uint256 _pid, uint256 _amount, address _to, address _referrer) external nonReentrant onlyOperator {
        _deposit(_pid, _amount, _to, _referrer);
    }
    
    // Restricted withdraw function for our own contracts
    function withdraw(uint256 _pid, uint256 _amount, address _to) external nonReentrant onlyOperator {
        _withdraw(_pid, _amount, _to);
    }
    
    // Deposit LP tokens to MasterAugur for OMEN allocation.
    function _deposit(uint256 _pid, uint256 _amount, address _to, address _referrer) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_to];
        updatePool(_pid);
        if (_amount > 0 && address(referral) != address(0) && _referrer != address(0) && _referrer != _to) {
            referral.recordReferral(_to, _referrer);
        }
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accOmenPerShare).div(1e18).sub(user.rewardDebt);
            if (pending > 0) {
                safeOmenTransfer(_to, pending);
                payReferralCommission(_to, pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount);
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(devAddress, depositFee.mul(4).div(10));
                pool.lpToken.safeTransfer(communityAddress, depositFee.mul(6).div(10));
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }

            dividends.setUserStakedAmount(_pid, _to, user.amount);
        }
        user.rewardDebt = user.amount.mul(pool.accOmenPerShare).div(1e18);
        emit Deposit(_to, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function _withdraw(uint256 _pid, uint256 _amount, address _to) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, 'withdraw: not good');
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accOmenPerShare).div(1e18).sub(user.rewardDebt);
        if (pending > 0) {
            safeOmenTransfer(_to, pending);
            payReferralCommission(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(_to, _amount);
            dividends.setUserStakedAmount(_pid, _to,  user.amount);
        }
        user.rewardDebt = user.amount.mul(pool.accOmenPerShare).div(1e18);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        dividends.setUserStakedAmount(_pid, msg.sender, 0);
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe omen transfer function, just in case if rounding error causes pool to not have enough OMEN.
    function safeOmenTransfer(address _to, uint256 _amount) internal {
        uint256 omenBalance = omen.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > omenBalance) {
            transferSuccess = omen.transfer(_to, omenBalance);
        } else {
            transferSuccess = omen.transfer(_to, _amount);
        }
        require(transferSuccess, 'safeOmenTransfer: Transfer failed');
    }

    function setCommunityAddress(address _communityAddress) external onlyOwner {
        communityAddress = _communityAddress;
        emit SetCommunityAddress(msg.sender, _communityAddress);
    }
    
    function _setDevAddress(address _devAddress) private {
        devAddress = _devAddress;
        emit SetDevAddress(msg.sender, _devAddress);
    }
    function setDevAddress(address _devAddress) external onlyOwner {
        _setDevAddress(_devAddress);
    }
    function operatorSetDevAddress(address _devAddress) external onlyOperator {
        _setDevAddress(_devAddress);
    }
    
    function updateEmissionRate(uint256 _omenPerBlock) external onlyOwner {
        massUpdatePools();
        omenPerBlock = _omenPerBlock;
        emit UpdateEmissionRate(msg.sender, _omenPerBlock);
    }
    
    function updateMaxSupply(uint256 _maxSupply) external onlyOwner {

        maxSupply = _maxSupply;
        emit UpdateMaxSupply(msg.sender, _maxSupply);
    }

    // Update the referral contract address by the owner
    function setReferralAddress(IReferral _referral) external onlyOwner {
        referral = _referral;
        emit SetReferralAddress(msg.sender, _referral);
    }

    // Update referral commission rate by the owner
    function setReferralCommissionRate(uint16 _referralCommissionRate) external onlyOwner {
        require(_referralCommissionRate <= MAXIMUM_REFERRAL_COMMISSION_RATE, 'setReferralCommissionRate: invalid referral commission rate basis points');
        referralCommissionRate = _referralCommissionRate;
    }

    // Pay referral commission to the referrer who referred this user.
    function payReferralCommission(address _user, uint256 _pending) internal {
        if (address(referral) != address(0) && referralCommissionRate > 0) {
            address referrer = referral.getReferrer(_user);
            uint256 commissionAmount = _pending.mul(referralCommissionRate).div(10000);

            if (referrer != address(0) && commissionAmount > 0) {
                omen.mint(referrer, commissionAmount);
                emit ReferralCommissionPaid(_user, referrer, commissionAmount);
            }
        }
    }

    // Only update before start of farm
    function updateStartBlock(uint256 _startBlock) external onlyOwner {
	    require(startBlock > block.number, 'Farm already started');
        startBlock = _startBlock;
    }

    // Dividends
    function changeDividendsContract(IDividends _dividends) external onlyOperator {
        dividends = _dividends;
        dividends.updateOperator(address(_dividends), true);
        dividendsContractAddress = address(_dividends);
    }

    function setDividendsOperator(address _operatorAddress, bool _access) external onlyOperator {
        dividends.updateOperator(_operatorAddress, _access);
    }
}

File 3 of 15 : OmenToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/access/Ownable.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/token/ERC20/ERC20.sol';

contract OmenToken is ERC20('Augury Finance', 'OMEN'), Ownable {
    
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @dev A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @dev A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @dev The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @dev The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256('EIP712Domain(string name,uint256 chainId,address verifyingContract)');

    /// @dev The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256('Delegation(address delegatee,uint256 nonce,uint256 expiry)');

    /// @dev A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @dev An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @dev An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @dev Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @dev Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @dev Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), 'EGG::delegateBySig: invalid signature');
        require(nonce == nonces[signatory]++, 'EGG::delegateBySig: invalid nonce');
        require(now <= expiry, 'EGG::delegateBySig: signature expired');
        return _delegate(signatory, delegatee);
    }

    /**
     * @dev Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @dev Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, 'EGG::getPriorVotes: not yet determined');

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying EGGs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, 'EGG::_writeCheckpoint: block number exceeds 32 bits');

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

File 4 of 15 : Operators.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/token/ERC20/SafeERC20.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/access/Ownable.sol';

import './libs/IOperable.sol';

contract Operators is Ownable, IOperable {
    mapping(address => bool) public operators;

    event OperatorUpdated(address indexed operator, bool indexed status);

    constructor () internal {
        operators[msg.sender] = true;
        emit OperatorUpdated(msg.sender, true);
    }

    modifier onlyOperator() {
        require(operators[msg.sender], 'Operator: caller is not the operator');
        _;
    }

    // Update the status of the operator
    function updateOperator(address _operator, bool _status) external override onlyOwner {
        operators[_operator] = _status;
        emit OperatorUpdated(_operator, _status);
    }
}

File 5 of 15 : IDividends.sol
// SPDX-License-Identifier: MIT

// Referral Interface

pragma solidity ^0.6.12;

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/access/Ownable.sol';

import './IOperable.sol';

interface IDividends is IOperable {
  function setUserStakedAmount(uint256 _pid, address _userAddress, uint256 _omenTotalStakedAmount_d18) external;
}

File 6 of 15 : IOperable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

interface IOperable {
    // Update the status of the operator
    function updateOperator(address _operator, bool _status) external;
}

File 7 of 15 : IReferral.sol
// SPDX-License-Identifier: MIT

// Referral Interface

pragma solidity ^0.6.12;

interface IReferral {
    /**
     * @dev Record referral.
     */
    function recordReferral(address user, address referrer) external;

    /**
     * @dev Get the referrer address that referred the user.
     */
    function getReferrer(address user) external view returns (address);
}

File 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

pragma solidity ^0.6.0;

import '../GSN/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.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

File 11 of 15 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import '../../GSN/Context.sol';
import './IERC20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, 'ERC20: transfer amount exceeds allowance'));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'ERC20: decreased allowance below zero'));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), 'ERC20: transfer from the zero address');
        require(recipient != address(0), 'ERC20: transfer to the zero address');

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, 'ERC20: transfer amount exceeds balance');
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), 'ERC20: mint to the zero address');

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), 'ERC20: burn from the zero address');

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, 'ERC20: burn amount exceeds balance');
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), 'ERC20: approve from the zero address');
        require(spender != address(0), 'ERC20: approve to the zero address');

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 12 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

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

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

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

pragma solidity ^0.6.0;

import './IERC20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

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

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

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

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

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

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

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

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

File 14 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, 'ReentrancyGuard: reentrant call');

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

        _;

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

Settings
{
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"contract OmenToken","name":"_omen","type":"address"},{"internalType":"contract IERC20","name":"_usdc","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"address","name":"_communityAddress","type":"address"},{"internalType":"address","name":"_devAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"operator","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"OperatorUpdated","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":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"commissionAmount","type":"uint256"}],"name":"ReferralCommissionPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetCommunityAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"contract IReferral","name":"newAddress","type":"address"}],"name":"SetReferralAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"omenPerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"UpdateMaxSupply","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_REFERRAL_COMMISSION_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IDividends","name":"_dividends","type":"address"}],"name":"changeDividendsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividends","outputs":[{"internalType":"contract IDividends","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendsContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"omen","outputs":[{"internalType":"contract OmenToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"omenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"operatorSetDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"operatorSetPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"operatorsAddPool","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":"pendingOmen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accOmenPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referral","outputs":[{"internalType":"contract IReferral","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralCommissionRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_communityAddress","type":"address"}],"name":"setCommunityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operatorAddress","type":"address"},{"internalType":"bool","name":"_access","type":"bool"}],"name":"setDividendsOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IReferral","name":"_referral","type":"address"}],"name":"setReferralAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_referralCommissionRate","type":"uint16"}],"name":"setReferralCommissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_omenPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"updateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"updateStartBlock","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"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526b02835cd9c6d6f2156b24000060075567f6b497503c1e80006008556000600b556000600d60146101000a81548161ffff021916908361ffff1602179055503480156200005057600080fd5b506040516200881e3803806200881e833981810160405260a08110156200007657600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000c1620005da60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600180819055506001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600115153373ffffffffffffffffffffffffffffffffffffffff167f966c160e1c4dbc7df8d69af4ace01e9297c3cf016397b7914971f2fbfa32672d60405160405180910390a384600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c8190555081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083604051620002de90620005e2565b808273ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f0801580156200031b573d6000803e3d6000fd5b50600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d44a3b28260016040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b158015620003f357600080fd5b505af115801562000408573d6000803e3d6000fd5b50505050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d44a3b23360016040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b158015620004a357600080fd5b505af1158015620004b8573d6000803e3d6000fd5b50505050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d44a3b23060016040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b1580156200055357600080fd5b505af115801562000568573d6000803e3d6000fd5b50505050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050620005f0565b600033905090565b61351a806200530483390190565b614d0480620006006000396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c80636d44a3b211610151578063b3caba5a116100c3578063d5abeb0111610087578063d5abeb0114610bc2578063dd4a18a814610be0578063f103b43314610c26578063f2fde38b14610c54578063f7ce447914610c98578063fac2b9ba14610cdc57610274565b8063b3caba5a14610a7a578063c5891ca314610abe578063cbd258b514610b02578063d0d41fe114610b5c578063d30ef61b14610ba057610274565b806386e476dd1161011557806386e476dd146108a35780638da5cb5b146108d75780638dbb1e3a1461090b5780638dbdbe6d1461095757806391ee0809146109af57806393f1a40b14610a1157610274565b80636d44a3b21461076f578063715018a6146107bf57806374adc121146107c95780637b03adab146107e757806384715b111461082b57610274565b80632e24dae6116101ea57806348b22bfb116101ae57806348b22bfb1461069757806348cd4cb1146106b957806351eb05a6146106d75780635312ea8e1461070557806355dbc82614610733578063630b5ba11461076557610274565b80632e24dae61461057357806335d97405146105c35780633ad10ef6146105f7578063441a3e701461062b57806347be80221461066357610274565b806313e7c9d81161023c57806313e7c9d8146103ad5780631441a5a9146104075780631526fe271461043b57806317caf6f1146104b35780631ca1e6ab146104d157806324bcb38c1461052d57610274565b8063025cf0e31461027957806306539275146102ad578063081e3eda146103095780630ad58d2f146103275780630ba84cd21461037f575b600080fd5b610281610d0a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610307600480360360608110156102c357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190505050610d30565b005b610311610ed0565b6040518082815260200191505060405180910390f35b61037d6004803603606081101561033d57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610edd565b005b6103ab6004803603602081101561039557600080fd5b8101908080359060200190929190505050611017565b005b6103ef600480360360208110156103c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061113f565b60405180821515815260200191505060405180910390f35b61040f61115f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104676004803603602081101561045157600080fd5b8101908080359060200190929190505050611185565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018261ffff1681526020019550505050505060405180910390f35b6104bb6111f6565b6040518082815260200191505060405180910390f35b61052b600480360360608110156104e757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff1690602001909291905050506111fc565b005b6105716004803603606081101561054357600080fd5b810190808035906020019092919080359060200190929190803561ffff1690602001909291905050506112ae565b005b6105c16004803603604081101561058957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611386565b005b6105cb6114d9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105ff6114ff565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106616004803603604081101561064157600080fd5b810190808035906020019092919080359060200190929190505050611525565b005b61066b6115bc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61069f6115e2565b604051808261ffff16815260200191505060405180910390f35b6106c16115e8565b6040518082815260200191505060405180910390f35b610703600480360360208110156106ed57600080fd5b81019080803590602001909291905050506115ee565b005b6107316004803603602081101561071b57600080fd5b810190808035906020019092919050505061194c565b005b6107636004803603602081101561074957600080fd5b81019080803561ffff169060200190929190505050611bbc565b005b61076d611d07565b005b6107bd6004803603604081101561078557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611d34565b005b6107c7611e9d565b005b6107d1612023565b6040518082815260200191505060405180910390f35b610829600480360360208110156107fd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612029565b005b6108a16004803603608081101561084157600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120d7565b005b6108ab612213565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108df612239565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109416004803603604081101561092157600080fd5b810190808035906020019092919080359060200190929190505050612262565b6040518082815260200191505060405180910390f35b6109ad6004803603606081101561096d57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612334565b005b6109fb600480360360408110156109c557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123cd565b6040518082815260200191505060405180910390f35b610a5d60048036036040811015610a2757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612619565b604051808381526020018281526020019250505060405180910390f35b610abc60048036036020811015610a9057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061264a565b005b610b0060048036036020811015610ad457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127b0565b005b610b4460048036036020811015610b1857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612985565b60405180821515815260200191505060405180910390f35b610b9e60048036036020811015610b7257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506129a5565b005b610ba8612a79565b604051808261ffff16815260200191505060405180910390f35b610bca612a8d565b6040518082815260200191505060405180910390f35b610c2460048036036060811015610bf657600080fd5b810190808035906020019092919080359060200190929190803561ffff169060200190929190505050612a93565b005b610c5260048036036020811015610c3c57600080fd5b8101908080359060200190929190505050612b45565b005b610c9660048036036020811015610c6a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c65565b005b610cda60048036036020811015610cae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e70565b005b610d0860048036036020811015610cf257600080fd5b8101908080359060200190929190505050612fd6565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d3861311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610df8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8160001515600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610ebf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b610eca848484613127565b50505050565b6000600980549050905090565b60026001541415610f56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b61100b83838361330d565b60018081905550505050565b61101f61311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110e7611d07565b806008819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b60026020528060005260406000206000915054906101000a900460ff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6009818154811061119257fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16905085565b600b5481565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661129e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b6112a9838383613127565b505050565b6112b661311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611376576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611381838383613633565b505050565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611428576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d44a3b283836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b1580156114bd57600080fd5b505af11580156114d1573d6000803e3d6000fd5b505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002600154141561159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506115b182823361330d565b600180819055505050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101f481565b600c5481565b6000600982815481106115fd57fe5b906000526020600020906005020190508060020154431161161e5750611949565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116ab57600080fd5b505afa1580156116bf573d6000803e3d6000fd5b505050506040513d60208110156116d557600080fd5b8101908080519060200190929190505050905060008114806116fb575060008260010154145b15611710574382600201819055505050611949565b6000611720836002015443612262565b90506000611763600b5461175586600101546117476008548761373e90919063ffffffff16565b61373e90919063ffffffff16565b6137c490919063ffffffff16565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117da600a856137c490919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561182d57600080fd5b505af1158015611841573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156118d857600080fd5b505af11580156118ec573d6000803e3d6000fd5b5050505061193361192084611912670de0b6b3a76400008561373e90919063ffffffff16565b6137c490919063ffffffff16565b856003015461380e90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b600260015414156119c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600982815481106119dc57fe5b906000526020600020906005020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f09c3a68853360006040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611aef57600080fd5b505af1158015611b03573d6000803e3d6000fd5b5050505060008260010181905550611b6033828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138969092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b611bc461311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101f461ffff168161ffff161115611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526048815260200180614bac6048913960600191505060405180910390fd5b80600d60146101000a81548161ffff021916908361ffff16021790555050565b6000600980549050905060005b81811015611d3057611d25816115ee565b806001019050611d14565b5050565b611d3c61311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167f966c160e1c4dbc7df8d69af4ace01e9297c3cf016397b7914971f2fbfa32672d60405160405180910390a35050565b611ea561311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60085481565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166120cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b6120d481613938565b50565b60026001541415612150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166121fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b612206848484846139d6565b6001808190555050505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600754600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156122cf57600080fd5b505afa1580156122e3573d6000803e3d6000fd5b505050506040513d60208110156122f957600080fd5b810190808051906020019092919050505010612318576000905061232e565b61232b8383613ff090919063ffffffff16565b90505b92915050565b600260015414156123ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506123c1838333846139d6565b60018081905550505050565b600080600984815481106123dd57fe5b906000526020600020906005020190506000600a600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156124d757600080fd5b505afa1580156124eb573d6000803e3d6000fd5b505050506040513d602081101561250157600080fd5b81019080805190602001909291905050509050836002015443118015612528575060008114155b156125c657600061253d856002015443612262565b90506000612580600b5461257288600101546125646008548761373e90919063ffffffff16565b61373e90919063ffffffff16565b6137c490919063ffffffff16565b90506125c16125b2846125a4670de0b6b3a76400008561373e90919063ffffffff16565b6137c490919063ffffffff16565b8561380e90919063ffffffff16565b935050505b61260d83600101546125ff670de0b6b3a76400006125f186886000015461373e90919063ffffffff16565b6137c490919063ffffffff16565b613ff090919063ffffffff16565b94505050505092915050565b600a602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b61265261311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612712576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fee63201fedda9e28e92efef9abb99bd9d2f90208a4fd0d0186c14daf364a273160405160405180910390a350565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612852576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636d44a3b28260016040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b15801561292957600080fd5b505af115801561293d573d6000803e3d6000fd5b5050505080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6129ad61311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a6d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b612a7681613938565b50565b600d60149054906101000a900461ffff1681565b60075481565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614cab6024913960400191505060405180910390fd5b612b40838383613633565b505050565b612b4d61311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806007819055503373ffffffffffffffffffffffffffffffffffffffff167f9aa5c6748cea78ab609aee5c5f0b10ea3e2a061a6a451259a21456f43ae26c0d826040518082815260200191505060405180910390a250565b612c6d61311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612d2d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614bf46026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612e7861311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612f38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb5c33b5c7955ad2d23c8d016f24378f2ab70b7d917bb0012cbc9bcf956967aab60405160405180910390a350565b612fde61311f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461309e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b43600c5411613115576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4661726d20616c7265616479207374617274656400000000000000000000000081525060200191505060405180910390fd5b80600c8190555050565b600033905090565b6127108161ffff161115613186576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180614b876025913960400191505060405180910390fd5b6000600c54431161319957600c5461319b565b435b90506131b284600b5461380e90919063ffffffff16565b600b819055506001600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060096040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff168152602001868152602001838152602001600081526020018461ffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff160217905550505050505050565b60006009848154811061331c57fe5b906000526020600020906005020190506000600a600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905083816000015410156133fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b613403856115ee565b60006134508260010154613442670de0b6b3a76400006134348760030154876000015461373e90919063ffffffff16565b6137c490919063ffffffff16565b613ff090919063ffffffff16565b9050600081111561347057613465848261403a565b61346f338261430e565b5b600085111561359f57613490858360000154613ff090919063ffffffff16565b82600001819055506134e784868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138969092919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f09c3a68878685600001546040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561358657600080fd5b505af115801561359a573d6000803e3d6000fd5b505050505b6135d4670de0b6b3a76400006135c68560030154856000015461373e90919063ffffffff16565b6137c490919063ffffffff16565b8260010181905550853373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b6127108161ffff161115613692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180614c3b6025913960400191505060405180910390fd5b6136d7826136c9600986815481106136a657fe5b906000526020600020906005020160010154600b54613ff090919063ffffffff16565b61380e90919063ffffffff16565b600b8190555081600984815481106136eb57fe5b906000526020600020906005020160010181905550806009848154811061370e57fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550505050565b60008083141561375157600090506137be565b600082840290508284828161376257fe5b04146137b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614c1a6021913960400191505060405180910390fd5b809150505b92915050565b600061380683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506145e7565b905092915050565b60008082840190508381101561388c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6139338363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506146ad565b505050565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b6000600985815481106139e557fe5b906000526020600020906005020190506000600a600087815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050613a52866115ee565b600085118015613ab15750600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b8015613aea5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015613b2257508373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15613be957600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c7f7b6b85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b158015613bd057600080fd5b505af1158015613be4573d6000803e3d6000fd5b505050505b600081600001541115613c65576000613c438260010154613c35670de0b6b3a7640000613c278760030154876000015461373e90919063ffffffff16565b6137c490919063ffffffff16565b613ff090919063ffffffff16565b90506000811115613c6357613c58858261403a565b613c62858261430e565b5b505b6000851115613f5c57613cbf3330878560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661479c909392919063ffffffff16565b60008260040160009054906101000a900461ffff1661ffff161115613e84576000613d1d612710613d0f8560040160009054906101000a900461ffff1661ffff168961373e90919063ffffffff16565b6137c490919063ffffffff16565b9050613db6600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613d6c600a613d5e60048661373e90919063ffffffff16565b6137c490919063ffffffff16565b8560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138969092919063ffffffff16565b613e4d600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613e03600a613df560068661373e90919063ffffffff16565b6137c490919063ffffffff16565b8560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138969092919063ffffffff16565b613e7681613e6888856000015461380e90919063ffffffff16565b613ff090919063ffffffff16565b826000018190555050613ea4565b613e9b85826000015461380e90919063ffffffff16565b81600001819055505b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f09c3a68878684600001546040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015613f4357600080fd5b505af1158015613f57573d6000803e3d6000fd5b505050505b613f91670de0b6b3a7640000613f838460030154846000015461373e90919063ffffffff16565b6137c490919063ffffffff16565b8160010181905550858473ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15876040518082815260200191505060405180910390a3505050505050565b600061403283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061485d565b905092915050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156140c557600080fd5b505afa1580156140d9573d6000803e3d6000fd5b505050506040513d60208110156140ef57600080fd5b810190808051906020019092919050505090506000818311156141e157600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561419f57600080fd5b505af11580156141b3573d6000803e3d6000fd5b505050506040513d60208110156141c957600080fd5b810190808051906020019092919050505090506142b2565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561427457600080fd5b505af1158015614288573d6000803e3d6000fd5b505050506040513d602081101561429e57600080fd5b810190808051906020019092919050505090505b80614308576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614c8a6021913960400191505060405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561438157506000600d60149054906101000a900461ffff1661ffff16115b156145e3576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a9fefc7846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561441157600080fd5b505afa158015614425573d6000803e3d6000fd5b505050506040513d602081101561443b57600080fd5b81019080805190602001909291905050509050600061448b61271061447d600d60149054906101000a900461ffff1661ffff168661373e90919063ffffffff16565b6137c490919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156144ca5750600081115b156145e057600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561456257600080fd5b505af1158015614576573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f86ddab457291316e0f5496737e5ca67c4037234c32c3be04c48ae96186893a7b836040518082815260200191505060405180910390a35b50505b5050565b60008083118290614693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561465857808201518184015260208101905061463d565b50505050905090810190601f1680156146855780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161469f57fe5b049050809150509392505050565b606061470f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661491d9092919063ffffffff16565b90506000815111156147975780806020019051602081101561473057600080fd5b8101908080519060200190929190505050614796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614c60602a913960400191505060405180910390fd5b5b505050565b614857846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506146ad565b50505050565b600083831115829061490a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156148cf5780820151818401526020810190506148b4565b50505050905090810190601f1680156148fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b606061492c8484600085614935565b90509392505050565b606061494085614b3b565b6149b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614a0257805182526020820191506020810190506020830392506149df565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614a64576040519150601f19603f3d011682016040523d82523d6000602084013e614a69565b606091505b50915091508115614a7e578092505050614b33565b600081511115614a915780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614af8578082015181840152602081019050614add565b50505050905090810190601f168015614b255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015614b7d57506000801b8214155b9250505091905056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473736574526566657272616c436f6d6d697373696f6e526174653a20696e76616c696420726566657272616c20636f6d6d697373696f6e207261746520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564736166654f6d656e5472616e736665723a205472616e73666572206661696c65644f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f72a26469706673582212203b0c8d08934aa3651b7713425266bea72008ca4b8d7f035874e6a6175281108764736f6c634300060c003360806040523480156200001157600080fd5b506040516200351a3803806200351a833981810160405260208110156200003757600080fd5b810190808051906020019092919050505060006200005a620002c060201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600180819055506001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600115153373ffffffffffffffffffffffffffffffffffffffff167f966c160e1c4dbc7df8d69af4ace01e9297c3cf016397b7914971f2fbfa32672d60405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062093a806004819055506360b0f76060058190555060055460045460020242031162000257576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526043815260200180620034d76043913960600191505060405180910390fd5b6001620002796200026d620002c860201b60201c565b620002d060201b60201c565b036006819055506001620002a262000296620002c860201b60201c565b620002d060201b60201c565b0360078190555060006009819055506000600a819055505062000416565b600033905090565b600042905090565b6000620002f26004546005548403620002f960201b62001d661790919060201c565b9050919050565b60006200034383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200034b60201b60201c565b905092915050565b60008083118290620003fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620003bf578082015181840152602081019050620003a2565b50505050905090810190601f168015620003ed5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200040857fe5b049050809150509392505050565b6130b180620004266000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80636d44a3b211610125578063bbe4fd50116100ad578063d44a3e2a1161007c578063d44a3e2a14610930578063f09c3a6814610987578063f2fde38b146109df578063f8f0faf714610a23578063ff05a33e14610a6557610211565b8063bbe4fd5014610846578063cfca0c2c14610864578063d1d5b0be146108ba578063d3063c7d1461091257610211565b8063898d7806116100f4578063898d7806146106bc5780638da5cb5b146107165780639a56c2f51461074a5780639bd2da90146107ac578063b48c0115146107e457610211565b80636d44a3b2146105ec578063715018a61461063c57806376671808146106465780637fd771371461066457610211565b806343b0215f116101a857806351b581e01161017757806351b581e01461051c57806356d9bcf31461053a57806357a35939146105585780635fe0576c146105b05780636baeb2e1146105ce57610211565b806343b0215f146103d257806343c00f5f14610462578063458bdf20146104a65780634b96f33b146104c457610211565b80632263f9e4116101e45780632263f9e4146102f25780632b23ee85146103345780633d41a26b1461035257806341a961661461037057610211565b80630f5100da1461021657806313e7c9d8146102205780631582358e1461027a5780631ecf9a23146102ae575b600080fd5b61021e610a83565b005b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a95565b60405180821515815260200191505060405180910390f35b610282610ab5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102da600480360360208110156102c457600080fd5b8101908080359060200190929190505050610adb565b60405180821515815260200191505060405180910390f35b61031e6004803603602081101561030857600080fd5b8101908080359060200190929190505050610afb565b6040518082815260200191505060405180910390f35b61033c610b1d565b6040518082815260200191505060405180910390f35b61035a610b23565b6040518082815260200191505060405180910390f35b6103bc6004803603604081101561038657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b47565b6040518082815260200191505060405180910390f35b610414600480360360208110156103e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b6c565b604051808a8152602001898152602001888152602001878152602001868152602001858152602001848152602001838152602001828152602001995050505050505050505060405180910390f35b61048e6004803603602081101561047857600080fd5b8101908080359060200190929190505050610bba565b60405180821515815260200191505060405180910390f35b6104ae610bda565b6040518082815260200191505060405180910390f35b610506600480360360208110156104da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bea565b6040518082815260200191505060405180910390f35b610524610bff565b6040518082815260200191505060405180910390f35b610542610c05565b6040518082815260200191505060405180910390f35b61059a6004803603602081101561056e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c0b565b6040518082815260200191505060405180910390f35b6105b8610d2b565b6040518082815260200191505060405180910390f35b6105d6610d31565b6040518082815260200191505060405180910390f35b61063a6004803603604081101561060257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d37565b005b610644610ea0565b005b61064e611026565b6040518082815260200191505060405180910390f35b6106906004803603602081101561067a57600080fd5b810190808035906020019092919050505061103d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106fe600480360360208110156106d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611079565b60405180821515815260200191505060405180910390f35b61071e611114565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107966004803603604081101561076057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061113d565b6040518082815260200191505060405180910390f35b6107e2600480360360408110156107c257600080fd5b810190808035906020019092919080359060200190929190505050611162565b005b610830600480360360408110156107fa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611295565b6040518082815260200191505060405180910390f35b61084e611642565b6040518082815260200191505060405180910390f35b6108a46004803603606081101561087a57600080fd5b8101908080359060200190929190803590602001909291908035906020019092919050505061164a565b6040518082815260200191505060405180910390f35b6108fc600480360360208110156108d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116d7565b6040518082815260200191505060405180910390f35b61091a6117f7565b6040518082815260200191505060405180910390f35b61095c6004803603602081101561094657600080fd5b81019080803590602001909291905050506117fd565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6109dd6004803603606081101561099d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061182d565b005b610a21600480360360208110156109f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611922565b005b610a6360048036036060811015610a3957600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050611b2d565b005b610a6d611d60565b6040518082815260200191505060405180910390f35b610a93610a8e611026565b611db0565b565b60026020528060005260406000206000915054906101000a900460ff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60106020528060005260406000206000915054906101000a900460ff1681565b6000610b166004546005548403611d6690919063ffffffff16565b9050919050565b60065481565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b600e602052816000526040600020602052806000526040600020600091509150505481565b600c6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154908060070154908060080154905089565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000610be533611e10565b905090565b6000610bf882600754611295565b9050919050565b60085481565b60045481565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411610ce057600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154610d24565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001545b9050919050565b60095481565b60055481565b610d3f61221a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167f966c160e1c4dbc7df8d69af4ace01e9297c3cf016397b7914971f2fbfa32672d60405160405180910390a35050565b610ea861221a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000611038611033611642565b610afb565b905090565b6011818154811061104a57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154118061110d57506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154115b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d602052816000526040600020602052806000526040600020600091509150505481565b8082106111d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f5f66726f6d206d757374206265206c657373207468616e205f746f2e0000000081525060200191505060405180910390fd5b6011805490508110611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061304b6031913960400191505060405180910390fd5b60008290505b81811015611290576112826011828154811061125257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611e10565b50808060010191505061123a565b505050565b6000808290508260075410156112ab5760075490505b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206004015481116112fe57600091505061163c565b61130784611079565b61131557600091505061163c565b6000600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040154141561136a57600091505061163c565b6000806000806001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401540190505b848111611633576000600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020541461146e57600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002054611470565b835b93506000600e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020541461152057600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002054611522565b825b925060008411801561155457507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8414155b156115a5576115a2611593600b600084815260200190815260200160002060030154600b6000858152602001908152602001600020600101548761164a565b8361222290919063ffffffff16565b91505b6000831180156115d557507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8414155b1561162657611623611614600b600084815260200190815260200160002060020154600b6000858152602001908152602001600020600001548661164a565b8361222290919063ffffffff16565b91505b80806001019150506113b9565b50809450505050505b92915050565b600042905090565b60008082148061165a5750600083145b1561166857600090506116d0565b6000611697670de0b6b3a764000061168985886122aa90919063ffffffff16565b6122aa90919063ffffffff16565b905060008490506116cb670de0b6b3a76400006116bd8385611d6690919063ffffffff16565b611d6690919063ffffffff16565b925050505b9392505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030154600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154116117ac57600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301546117f0565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201545b9050919050565b60075481565b600b6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b61183561221a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008314158015611907575060018314155b156119115761191d565b61191c838383612330565b5b505050565b61192a61221a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612f466026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806130276024913960400191505060405180910390fd5b60026001541415611c48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550611c58610a83565b600654831115611cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f256021913960400191505060405180910390fd5b6001600754018314611d10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612f8d602f913960400191505060405180910390fd5b81600b60008581526020019081526020016000206003018190555080600b600085815260200190815260200160002060020181905550826007819055504260088190555060018081905550505050565b600a5481565b6000611da883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061295a565b905092915050565b5b806001600654011015611e0d57600160065401600681905550600954600b6000600654815260200190815260200160002060000181905550600a54600b6000600654815260200190815260200160002060010181905550611db1565b50565b600060026001541415611e8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550611e9b610a83565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201541180611f2e57506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154115b611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180612fbc6041913960600191505060405180910390fd5b6000611f9183600754611295565b90506000611fa6611fa185610c0b565b610afb565b90506000611fbb611fb6866116d7565b610afb565b9050600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600160075401815260200190815260200160002081905550600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002054600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600160075401815260200190815260200160002081905550600754600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040181905550600083141561216f576000935050505061220e565b6121bc8584600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612a209092919063ffffffff16565b8473ffffffffffffffffffffffffffffffffffffffff167f97e6e78d2df94abb37cadd04b8120a3ff229c90b3495b36dadc97ce7b49542c4846040518082815260200191505060405180910390a25050505b60018081905550919050565b600033905090565b6000808284019050838110156122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156122bd576000905061232a565b60008284029050828482816122ce57fe5b0414612325576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f6c6021913960400191505060405180910390fd5b809150505b92915050565b600260015414156123a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006123bb611026565b90506123c5610a83565b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600601549050600085111561245b57600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206005015490505b61246484611079565b61251557600754600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401819055506011849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600083821115612535576125328483612ac290919063ffffffff16565b90505b600084831015612555576125528386612ac290919063ffffffff16565b90505b60008714156127565784600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600601819055506125cc826125be83600a5461222290919063ffffffff16565b612ac290919063ffffffff16565b600a8190555084600d60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000208190555060008514156126a6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600d60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020819055505b6000851415612702576126b7611642565b600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550612751565b61270a611642565b600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055505b61294a565b84600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501819055506127c4826127b68360095461222290919063ffffffff16565b612ac290919063ffffffff16565b60098190555084600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002081905550600085141561289e577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020819055505b60008514156128fa576128af611642565b600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030181905550612949565b612902611642565b600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b5050505060018081905550505050565b60008083118290612a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129cb5780820151818401526020810190506129b0565b50505050905090810190601f1680156129f85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612a1257fe5b049050809150509392505050565b612abd8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612b0c565b505050565b6000612b0483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bfb565b905092915050565b6060612b6e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612cbb9092919063ffffffff16565b9050600081511115612bf657808060200190516020811015612b8f57600080fd5b8101908080519060200190929190505050612bf5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612ffd602a913960400191505060405180910390fd5b5b505050565b6000838311158290612ca8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c6d578082015181840152602081019050612c52565b50505050905090810190601f168015612c9a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060612cca8484600085612cd3565b90509392505050565b6060612cde85612ed9565b612d50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612da05780518252602082019150602081019050602083039250612d7d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e02576040519150601f19603f3d011682016040523d82523d6000602084013e612e07565b606091505b50915091508115612e1c578092505050612ed1565b600081511115612e2f5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e96578082015181840152602081019050612e7b565b50505050905090810190601f168015612ec35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015612f1b57506000801b8214155b9250505091905056fe65787065637465642065706f636820746f20626520696e2074686520706173742e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7765787065637465642065706f636820746f20626520746865206e6578742073657175656e7469616c2065706f63682e796f75206d757374207374616b6520746f6b656e73206265666f726520796f752061726520656c696769626c6520746f20636c61696d206469766964656e64732e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f725f746f206d757374206265206c657373207468616e20746865206e756d626572206f66207374616b65642075736572732ea26469706673582212208916f751cc36173640ea8beca8a837ab9f68f55d1862302cb6a9b26c4db4acf164736f6c634300060c003365706f63684475726174696f6e5365636f6e64734f6666736574206d757374206265206174206c656173742074776f2065706f63687320696e2074686520706173742e00000000000000000000000076e63a3e7ba1e2e61d3da86a87479f983de89a7e0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000000000000000000000000000000000000000f0efb000000000000000000000000057831e532fc14846511d3b8a86aa692528e06a9a000000000000000000000000e2e26bac2ff37a7ae219ecef74c5a1bf95d5f854

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

00000000000000000000000076e63a3e7ba1e2e61d3da86a87479f983de89a7e0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000000000000000000000000000000000000000f0efb000000000000000000000000057831e532fc14846511d3b8a86aa692528e06a9a000000000000000000000000e2e26bac2ff37a7ae219ecef74c5a1bf95d5f854

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000076e63a3e7ba1e2e61d3da86a87479f983de89a7e
Arg [1] : 0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174
Arg [2] : 0000000000000000000000000000000000000000000000000000000000f0efb0
Arg [3] : 00000000000000000000000057831e532fc14846511d3b8a86aa692528e06a9a
Arg [4] : 000000000000000000000000e2e26bac2ff37a7ae219ecef74c5a1bf95d5f854


Deployed ByteCode Sourcemap

836:15606:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2289:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6079:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5119:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10030:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14234:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;374:41:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3106:25:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2708:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2945:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6263:171;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6913:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16280:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2316:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2497:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9600:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3358:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3273:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3034:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8636:792;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;12643:452;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14886:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;8388:175;;;:::i;:::-;;789:182:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1689:145:8;;;:::i;:::-;;2623:42:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14106:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9791:171;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2460:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1066:77:8;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7302:198:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9438:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7560:748;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2788:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;14667:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16040:234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5218:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13994:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3186:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2567:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7066:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14446:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1983:240:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13639:193:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15845:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2289:21;;;;;;;;;;;;;:::o;6079:179::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6185:8:1::1;5353:5;5326:32;;:13;:23;5340:8;5326:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;5318:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;6205:46:::2;6214:11;6227:8;6237:13;6205:8;:46::i;:::-;1339:1:8::1;6079:179:1::0;;;:::o;5119:93::-;5164:7;5190:8;:15;;;;5183:22;;5119:93;:::o;10030:143::-;1671:1:14;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;;;;662:9:3::1;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10137:29:1::2;10147:4;10153:7;10162:3;10137:9;:29::i;:::-;1628:1:14::0;2563:7;:22;;;;10030:143:1;;;:::o;14234:202::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14314:17:1::1;:15;:17::i;:::-;14356:13;14341:12;:28;;;;14403:10;14384:45;;;14415:13;14384:45;;;;;;;;;;;;;;;;;;14234:202:::0;:::o;374:41:3:-;;;;;;;;;;;;;;;;;;;;;;:::o;3106:25:1:-;;;;;;;;;;;;;:::o;2708:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2945:34::-;;;;:::o;6263:171::-;662:9:3;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6381:46:1::1;6390:11;6403:8;6413:13;6381:8;:46::i;:::-;6263:171:::0;;;:::o;6913:148::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7012:42:1::1;7021:4;7027:11;7040:13;7012:8;:42::i;:::-;6913:148:::0;;;:::o;16280:160::-;662:9:3;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16382:9:1::1;;;;;;;;;;;:24;;;16407:16;16425:7;16382:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;16280:160:::0;;:::o;2316:27::-;;;;;;;;;;;;;:::o;2497:25::-;;;;;;;;;;;;;:::o;9600:124::-;1671:1:14;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;;;;9681:36:1::1;9691:4;9697:7;9706:10;9681:9;:36::i;:::-;1628:1:14::0;2563:7;:22;;;;9600:124:1;;:::o;3358:39::-;;;;;;;;;;;;;:::o;3273:61::-;3331:3;3273:61;:::o;3034:25::-;;;;:::o;8636:792::-;8687:21;8711:8;8720:4;8711:14;;;;;;;;;;;;;;;;;;8687:38;;8755:4;:20;;;8739:12;:36;8735:73;;8791:7;;;8735:73;8817:16;8836:4;:12;;;;;;;;;;;;:22;;;8867:4;8836:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8817:56;;8899:1;8887:8;:13;:37;;;;8923:1;8904:4;:15;;;:20;8887:37;8883:123;;;8963:12;8940:4;:20;;:35;;;;8989:7;;;;8883:123;9015:18;9036:49;9050:4;:20;;;9072:12;9036:13;:49::i;:::-;9015:70;;9095:18;9116:70;9170:15;;9116:49;9149:4;:15;;;9116:28;9131:12;;9116:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;9095:91;;9196:4;;;;;;;;;;;:9;;;9206:10;;;;;;;;;;;9218:18;9233:2;9218:10;:14;;:18;;;;:::i;:::-;9196:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9247:4;;;;;;;;;;;:9;;;9265:4;9272:10;9247:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9316:60;9341:34;9366:8;9341:20;9356:4;9341:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;9316:4;:20;;;:24;;:60;;;;:::i;:::-;9293:4;:20;;:83;;;;9409:12;9386:4;:20;;:35;;;;8636:792;;;;;;:::o;12643:452::-;1671:1:14;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;;;;12716:21:1::1;12740:8;12749:4;12740:14;;;;;;;;;;;;;;;;;;12716:38;;12764:21;12788:8;:14;12797:4;12788:14;;;;;;;;;;;:26;12803:10;12788:26;;;;;;;;;;;;;;;12764:50;;12824:14;12841:4;:11;;;12824:28;;12876:1;12862:4;:11;;:15;;;;12887:9;;;;;;;;;;;:29;;;12917:4;12923:10;12935:1;12887:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;12965:1;12947:4;:15;;:19;;;;12976:54;13010:10;13023:6;12976:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;13075:4;13063:10;13045:43;;;13081:6;13045:43;;;;;;;;;;;;;;;;;;2419:1:14;;;1628::::0;2563:7;:22;;;;12643:452:1;:::o;14886:305::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3331:3:1::1;14990:59;;:23;:59;;;;14982:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15161:23;15136:22;;:48;;;;;;;;;;;;;;;;;;14886:305:::0;:::o;8388:175::-;8432:14;8449:8;:15;;;;8432:32;;8479:11;8474:83;8502:6;8496:3;:12;8474:83;;;8531:15;8542:3;8531:10;:15::i;:::-;8510:5;;;;;8474:83;;;;8388:175;:::o;789:182:3:-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;907:7:3::1;884:9;:20;894:9;884:20;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;956:7;929:35;;945:9;929:35;;;;;;;;;;;;789:182:::0;;:::o;1689:145:8:-;1280:12;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:1:::1;1758:40;;1779:6;::::0;::::1;;;;;;;;1758:40;;;;;;;;;;;;1825:1;1808:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1689:145::o:0;2623:42:1:-;;;;:::o;14106:118::-;662:9:3;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14190:27:1::1;14205:11;14190:14;:27::i;:::-;14106:118:::0;:::o;9791:171::-;1671:1:14;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;;;;662:9:3::1;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9916:39:1::2;9925:4;9931:7;9940:3;9945:9;9916:8;:39::i;:::-;1628:1:14::0;2563:7;:22;;;;9791:171:1;;;;:::o;2460:31::-;;;;;;;;;;;;;:::o;1066:77:8:-;1104:7;1130:6;;;;;;;;;;;1123:13;;1066:77;:::o;7302:198:1:-;7374:7;7419:9;;7397:4;;;;;;;;;;;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:31;7393:70;;7451:1;7444:8;;;;7393:70;7479:14;7487:5;7479:3;:7;;:14;;;;:::i;:::-;7472:21;;7302:198;;;;;:::o;9438:152::-;1671:1:14;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;;;;9537:46:1::1;9546:4;9552:7;9561:10;9573:9;9537:8;:46::i;:::-;1628:1:14::0;2563:7;:22;;;;9438:152:1;;;:::o;7560:748::-;7633:7;7652:21;7676:8;7685:4;7676:14;;;;;;;;;;;;;;;;;;7652:38;;7700:21;7724:8;:14;7733:4;7724:14;;;;;;;;;;;:21;7739:5;7724:21;;;;;;;;;;;;;;;7700:45;;7755:23;7781:4;:20;;;7755:46;;7811:16;7830:4;:12;;;;;;;;;;;;:22;;;7861:4;7830:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7811:56;;7896:4;:20;;;7881:12;:35;:52;;;;;7932:1;7920:8;:13;;7881:52;7877:345;;;7949:18;7970:49;7984:4;:20;;;8006:12;7970:13;:49::i;:::-;7949:70;;8033:18;8054:70;8108:15;;8054:49;8087:4;:15;;;8054:28;8069:12;;8054:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;8033:91;;8156:55;8176:34;8201:8;8176:20;8191:4;8176:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;8156:15;:19;;:55;;;;:::i;:::-;8138:73;;7877:345;;;8238:63;8285:4;:15;;;8238:42;8275:4;8238:32;8254:15;8238:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;:46;;:63;;;;:::i;:::-;8231:70;;;;;;7560:748;;;;:::o;2788:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14667:161::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14756:9:1::1;14745:8;;:20;;;;;;;;;;;;;;;;;;14811:9;14780:41;;14799:10;14780:41;;;;;;;;;;;;14667:161:::0;:::o;16040:234::-;662:9:3;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16140:10:1::1;16128:9;;:22;;;;;;;;;;;;;;;;;;16160:9;;;;;;;;;;;:24;;;16193:10;16206:4;16160:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;16256:10;16221:24;;:46;;;;;;;;;;;;;;;;;;16040:234:::0;:::o;5218:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;13994:107::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14067:27:1::1;14082:11;14067:14;:27::i;:::-;13994:107:::0;:::o;3186:40::-;;;;;;;;;;;;;:::o;2567:42::-;;;;:::o;7066:163::-;662:9:3;:21;672:10;662:21;;;;;;;;;;;;;;;;;;;;;;;;;654:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7180:42:1::1;7189:4;7195:11;7208:13;7180:8;:42::i;:::-;7066:163:::0;;;:::o;14446:158::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14533:10:1::1;14521:9;:22;;;;14574:10;14558:39;;;14586:10;14558:39;;;;;;;;;;;;;;;;;;14446:158:::0;:::o;1983:240:8:-;1280:12;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2091:1:::1;2071:22;;:8;:22;;;;2063:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2180:8;2151:38;;2172:6;::::0;::::1;;;;;;;;2151:38;;;;;;;;;;;;2208:8;2199:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;1983:240:::0;:::o;13639:193:1:-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13743:17:1::1;13724:16;;:36;;;;;;;;;;;;;;;;;;13807:17;13775:50;;13795:10;13775:50;;;;;;;;;;;;13639:193:::0;:::o;15845:172::-;1280:12:8;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15939:12:1::1;15926:10;;:25;15918:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;15999:11;15986:10;:24;;;;15845:172:::0;:::o;590:104:7:-;643:15;677:10;670:17;;590:104;:::o;5478:596:1:-;5599:5;5582:13;:22;;;;5574:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5656:23;5697:10;;5682:12;:25;:53;;5725:10;;5682:53;;;5710:12;5682:53;5656:79;;5763:32;5783:11;5763:15;;:19;;:32;;;;:::i;:::-;5745:15;:50;;;;5831:4;5805:13;:23;5819:8;5805:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;5845:8;5859:207;;;;;;;;5891:8;5859:207;;;;;;5925:11;5859:207;;;;5967:15;5859:207;;;;6013:1;5859:207;;;;6042:13;5859:207;;;;;5845:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5478:596;;;;:::o;11731:844::-;11813:21;11837:8;11846:4;11837:14;;;;;;;;;;;;;;;;;;11813:38;;11861:21;11885:8;:14;11894:4;11885:14;;;;;;;;;;;:26;11900:10;11885:26;;;;;;;;;;;;;;;11861:50;;11944:7;11929:4;:11;;;:22;;11921:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11984:16;11995:4;11984:10;:16::i;:::-;12010:15;12028:68;12080:4;:15;;;12028:47;12070:4;12028:37;12044:4;:20;;;12028:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;12010:86;;12120:1;12110:7;:11;12106:128;;;12137:30;12154:3;12159:7;12137:16;:30::i;:::-;12181:42;12203:10;12215:7;12181:21;:42::i;:::-;12106:128;12257:1;12247:7;:11;12243:201;;;12288:24;12304:7;12288:4;:11;;;:15;;:24;;;;:::i;:::-;12274:4;:11;;:38;;;;12326:39;12352:3;12357:7;12326:4;:12;;;;;;;;;;;;:25;;;;:39;;;;;:::i;:::-;12379:9;;;;;;;;;;;:29;;;12409:4;12415:3;12421:4;:11;;;12379:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12243:201;12471:47;12513:4;12471:37;12487:4;:20;;;12471:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;12453:4;:15;;:65;;;;12554:4;12542:10;12533:35;;;12560:7;12533:35;;;;;;;;;;;;;;;;;;11731:844;;;;;;:::o;6543:365::-;6661:5;6644:13;:22;;;;6636:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6736:63;6787:11;6736:46;6756:8;6765:4;6756:14;;;;;;;;;;;;;;;;;;:25;;;6736:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;6718:15;:81;;;;6837:11;6809:8;6818:4;6809:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;6888:13;6858:8;6867:4;6858:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;6543:365;;;:::o;2180:459:9:-;2238:7;2484:1;2479;:6;2475:45;;;2508:1;2501:8;;;;2475:45;2530:9;2546:1;2542;:5;2530:17;;2574:1;2569;2565;:5;;;;;;:10;2557:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2631:1;2624:8;;;2180:459;;;;;:::o;3101:130::-;3159:7;3185:39;3189:1;3192;3185:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3178:46;;3101:130;;;;:::o;874:176::-;932:7;951:9;967:1;963;:5;951:17;;991:1;986;:6;;978:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1042:1;1035:8;;;874:176;;;;:::o;696:175:12:-;778:86;798:5;828:23;;;853:2;857:5;805:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:19;:86::i;:::-;696:175;;;:::o;13842:147:1:-;13918:11;13905:10;;:24;;;;;;;;;;;;;;;;;;13970:11;13944:38;;13958:10;13944:38;;;;;;;;;;;;13842:147;:::o;10244:1438::-;10344:21;10368:8;10377:4;10368:14;;;;;;;;;;;;;;;;;;10344:38;;10392:21;10416:8;:14;10425:4;10416:14;;;;;;;;;;;:19;10431:3;10416:19;;;;;;;;;;;;;;;10392:43;;10445:16;10456:4;10445:10;:16::i;:::-;10485:1;10475:7;:11;:46;;;;;10519:1;10490:31;;10498:8;;;;;;;;;;;10490:31;;;;10475:46;:73;;;;;10546:1;10525:23;;:9;:23;;;;10475:73;:93;;;;;10565:3;10552:16;;:9;:16;;;;10475:93;10471:163;;;10584:8;;;;;;;;;;;:23;;;10608:3;10613:9;10584:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10471:163;10661:1;10647:4;:11;;;:15;10643:278;;;10678:15;10696:68;10748:4;:15;;;10696:47;10738:4;10696:37;10712:4;:20;;;10696:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;10678:86;;10792:1;10782:7;:11;10778:133;;;10813:30;10830:3;10835:7;10813:16;:30::i;:::-;10861:35;10883:3;10888:7;10861:21;:35::i;:::-;10778:133;10643:278;;10944:1;10934:7;:11;10930:629;;;10961:65;10991:10;11011:4;11018:7;10961:4;:12;;;;;;;;;;;;:29;;;;:65;;;;;;:::i;:::-;11064:1;11044:4;:17;;;;;;;;;;;;:21;;;11040:441;;;11085:18;11106:41;11141:5;11106:30;11118:4;:17;;;;;;;;;;;;11106:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;11085:62;;11165:64;11191:10;;;;;;;;;;;11203:25;11225:2;11203:17;11218:1;11203:10;:14;;:17;;;;:::i;:::-;:21;;:25;;;;:::i;:::-;11165:4;:12;;;;;;;;;;;;:25;;;;:64;;;;;:::i;:::-;11247:70;11273:16;;;;;;;;;;;11291:25;11313:2;11291:17;11306:1;11291:10;:14;;:17;;;;:::i;:::-;:21;;:25;;;;:::i;:::-;11247:4;:12;;;;;;;;;;;;:25;;;;:70;;;;;:::i;:::-;11349:40;11378:10;11349:24;11365:7;11349:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;11335:4;:11;;:54;;;;11040:441;;;;11442:24;11458:7;11442:4;:11;;;:15;;:24;;;;:::i;:::-;11428:4;:11;;:38;;;;11040:441;11495:9;;;;;;;;;;;:29;;;11525:4;11531:3;11536:4;:11;;;11495:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10930:629;11586:47;11628:4;11586:37;11602:4;:20;;;11586:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;11568:4;:15;;:65;;;;11661:4;11656:3;11648:27;;;11667:7;11648:27;;;;;;;;;;;;;;;;;;10244:1438;;;;;;:::o;1321:134:9:-;1379:7;1405:43;1409:1;1412;1405:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1398:50;;1321:134;;;;:::o;13205:428:1:-;13280:19;13302:4;;;;;;;;;;;:14;;;13325:4;13302:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13280:51;;13341:20;13393:11;13383:7;:21;13379:177;;;13438:4;;;;;;;;;;;:13;;;13452:3;13457:11;13438:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13420:49;;13379:177;;;13518:4;;;;;;;;;;;:13;;;13532:3;13537:7;13518:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13500:45;;13379:177;13573:15;13565:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13205:428;;;;:::o;15268:531::-;15384:1;15355:31;;15363:8;;;;;;;;;;;15355:31;;;;:61;;;;;15415:1;15390:22;;;;;;;;;;;:26;;;15355:61;15351:442;;;15432:16;15451:8;;;;;;;;;;;:20;;;15472:5;15451:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15432:46;;15492:24;15519:47;15560:5;15519:36;15532:22;;;;;;;;;;;15519:36;;:8;:12;;:36;;;;:::i;:::-;:40;;:47;;;;:::i;:::-;15492:74;;15605:1;15585:22;;:8;:22;;;;:46;;;;;15630:1;15611:16;:20;15585:46;15581:202;;;15651:4;;;;;;;;;;;:9;;;15661:8;15671:16;15651:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15741:8;15711:57;;15734:5;15711:57;;;15751:16;15711:57;;;;;;;;;;;;;;;;;;15581:202;15351:442;;;15268:531;;:::o;3713:272:9:-;3799:7;3830:1;3826;:5;3833:12;3818:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3856:9;3872:1;3868;:5;;;;;;3856:17;;3977:1;3970:8;;;3713:272;;;;;:::o;2959:751:12:-;3378:23;3404:69;3432:4;3404:69;;;;;;;;;;;;;;;;;3412:5;3404:27;;;;:69;;;;;:::i;:::-;3378:95;;3507:1;3487:10;:17;:21;3483:221;;;3627:10;3616:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3608:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3483:221;2959:751;;;:::o;877:203::-;977:96;997:5;1027:27;;;1056:4;1062:2;1066:5;1004:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;977:19;:96::i;:::-;877:203;;;;:::o;1746:187:9:-;1832:7;1864:1;1859;:6;;1867:12;1851:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1890:9;1906:1;1902;:5;1890:17;;1925:1;1918:8;;;1746:187;;;;;:::o;3770:194:13:-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;3904:22;:53::i;:::-;3897:60;;3770:194;;;;;:::o;5117:958::-;5247:12;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;:11;;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;5516:17;;;;;;5489:580;5654:1;5634:10;:17;:21;5630:429;;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6031:12;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5117:958;;;;;;;:::o;718:610::-;778:4;1036:16;1062:19;1084:66;1062:88;;;;1251:7;1239:20;1227:32;;1290:11;1278:8;:23;;:42;;;;;1317:3;1305:15;;:8;:15;;1278:42;1270:51;;;;718:610;;;:::o

Swarm Source

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