CRO Price: $0.08 (+0.94%)

Token

Wario (WARIO)

Overview

Max Total Supply

100,000,000,000 WARIO

Holders

98

Total Transfers

-

Market

Price

$0.00 @ 0.000000 CRO

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
WARIO

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
paris EvmVersion
File 1 of 11 : wario.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./libraries/IterableMapping.sol";
import "./interfaces/IDex.sol";
import "./DividendPayingToken.sol";

contract WARIO is ERC20, Ownable {

    IDexRouter public mainRouter;
    address public dexPair;

    // External rewards Router
    IDexRouter public rewardsRouter;

    bool private swapping;

    WARIODividendTracker public dividendTracker;

    address public deadWallet = 0x000000000000000000000000000000000000dEaD;

    IERC20 public rewardsToken;

    uint256 public swapTokensAtAmount = 500000000 * (10**18);
    uint256 public maxSellTokensAmount;

    uint256 public rewardsFee = 3;
    uint256 public ecosystemFee = 3;
    uint256 public totalFees = rewardsFee + ecosystemFee;

    address public _ecosystemWalletAddress;

    // use by default 300,000 gas to process auto-claiming dividends
    uint256 public gasForProcessing = 300000;

    // exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    mapping(address => bool) public automatedMarketMakerPairs;

    error InvalidDividendTracker();
    event DividendTrackerReplaced(address indexed newTracker);

    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );

    event DividendTrackerBalanceSetError(
        address indexed account, 
        uint256 balance, 
        string reason
    );

    error ZeroAddress();
    error SameAddress();
    error ZeroAmount();

    constructor(
        string memory name, 
        string memory symbol, 
        address _rewardsToken,
        address _rewardsRouter, 
        address _router, 
        address _ecosystemWallet
    ) ERC20(name, symbol) {
        rewardsToken = IERC20(_rewardsToken);
        rewardsRouter = IDexRouter(_rewardsRouter);
        dividendTracker = new WARIODividendTracker(_rewardsToken);
        _ecosystemWalletAddress = _ecosystemWallet;
        IDexRouter _mainRouter = IDexRouter(_router);
        // Create a dex pair for this new token
        address _dexPair = IDexFactory(_mainRouter.factory())
            .createPair(address(this), _mainRouter.WETH());

        mainRouter = _mainRouter;
        dexPair = _dexPair;

        _setAutomatedMarketMakerPair(_dexPair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(deadWallet);
        dividendTracker.excludeFromDividends(address(_router));
        dividendTracker.excludeFromDividends(address(_rewardsRouter));

        // exclude from paying fees or having max transaction amount
        excludeFromFees(_ecosystemWalletAddress, true);
        excludeFromFees(address(this), true);

        _mint(_ecosystemWallet, 100000000000 * (10**18));
    }

    receive() external payable {}

    function rescueCRO(uint256 amount) external onlyOwner {
        payable(msg.sender).transfer(amount);
    }

    function rescueTokens(address _token, uint256 _amount) external onlyOwner {
        IERC20(_token).transfer(msg.sender, _amount);
    }

    function updateMainRouter(address newAddress) public onlyOwner {
        require(newAddress != address(mainRouter), "Same");
        mainRouter = IDexRouter(newAddress);
        address _dexPair = IDexFactory(mainRouter.factory())
            .createPair(address(this), mainRouter.WETH());
        dexPair = _dexPair;
    }

    function updateRewardsRouter(address newAddress) external onlyOwner {
        require(newAddress != address(rewardsRouter), "Same");
        rewardsRouter = IDexRouter(newAddress);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(_isExcludedFromFees[account] != excluded, "Excluded");
        _isExcludedFromFees[account] = excluded;
    }

    function setEcosystemWallet(address payable wallet) external onlyOwner {
        if (wallet == address(0))revert ZeroAddress();
        _ecosystemWalletAddress = wallet;
    }

    function setRewardsToken(address newAddress) external onlyOwner {
        if (newAddress == address(0))revert ZeroAddress();
        rewardsToken = IERC20(newAddress);
        dividendTracker.setRewardsToken(newAddress);
    }
    
    function replaceDividendTracker(address _newDividendTracker) external onlyOwner {
        if (_newDividendTracker == address(0)) revert ZeroAddress();
        
        WARIODividendTracker newTracker = WARIODividendTracker(_newDividendTracker);
        try newTracker.claimWait() returns (uint256) {
            // Basic check. If this succeeds, it means the contract has the expected interface
            dividendTracker = newTracker;
            
            emit DividendTrackerReplaced(_newDividendTracker);
        } catch {
            revert InvalidDividendTracker();
        }
    }

    function setSwapTokensAtAmount(uint256 _newAmount) external onlyOwner {
        if (_newAmount == 0) revert ZeroAmount();
        swapTokensAtAmount = _newAmount;
    }

    function setMaxSellTokensAmount(uint256 _maxSellTokensAmount) external onlyOwner {
        require(_maxSellTokensAmount >= swapTokensAtAmount, "Must be >= swapTokensAtAmount");
        maxSellTokensAmount = _maxSellTokensAmount;
    }

    function setFees(
        uint256 _ecosystemFee,
        uint256 _rewardFee
    ) external onlyOwner {
        require(_ecosystemFee + _rewardFee <= 10, "Total fees must not exceed 10%");
        
        rewardsFee = _rewardFee;
        ecosystemFee = _ecosystemFee;
        totalFees = rewardsFee + ecosystemFee;
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(pair != dexPair, "Same");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(automatedMarketMakerPairs[pair] != value, "Same Value");
        automatedMarketMakerPairs[pair] = value;

        if (value) {
            dividendTracker.excludeFromDividends(pair);
        }
    }

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }

    function getClaimWait() external view returns (uint256) {
        return dividendTracker.claimWait();
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return dividendTracker.totalDividendsDistributed();
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function withdrawableDividendOf(address account)
        public
        view
        returns (uint256)
    {
        return dividendTracker.withdrawableDividendOf(account);
    }

    function dividendTokenBalanceOf(address account)
        public
        view
        returns (uint256)
    {
        return dividendTracker.balanceOf(account);
    }

    function excludeFromDividends(address account) external onlyOwner {
        dividendTracker.excludeFromDividends(account);
    }

    function includeInDividends(address account) external onlyOwner {
        uint256 balance = balanceOf(account);
        if (balance > 0) {
            dividendTracker.includeInDividends(payable(account), balance);
        }
    }

    function updateGasForProcessing(uint256 newGasForProcessing) external onlyOwner {
        require(newGasForProcessing != gasForProcessing, "New value must be different");
        gasForProcessing = newGasForProcessing;
    }

    function updateMinimumBalanceForDividends(uint256 newMinimumBalance) external onlyOwner {
        dividendTracker.updateMinimumTokenBalanceForDividends(newMinimumBalance);
    }

    function getAccountDividendsInfo(address account)
        external
        view
        returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return dividendTracker.getAccount(account);
    }

    function getAccountDividendsInfoAtIndex(uint256 index)
        external
        view
        returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return dividendTracker.getAccountAtIndex(index);
    }

    function processDividendTracker(uint256 gas) external {
        dividendTracker.process(gas);
    }

    function claim() external {
        dividendTracker.processAccount(payable(msg.sender), false);
    }

    function getLastProcessedIndex() external view returns (uint256) {
        return dividendTracker.getLastProcessedIndex();
    }

    function getNumberOfDividendTokenHolders() external view returns (uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if(from == address(0)) revert ZeroAddress();
        if(to == address(0)) revert ZeroAddress();
        if (amount == 0) revert ZeroAmount();

        bool isDirectTransfer = !automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to];

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            !isDirectTransfer &&
            automatedMarketMakerPairs[to] &&
            from != owner() &&
            to != owner() &&
            totalFees > 0
        ) {
            swapping = true;
            uint256 sellTokens = balanceOf(address(this));
            if (maxSellTokensAmount > 0 && sellTokens > maxSellTokensAmount) {
                sellTokens = maxSellTokensAmount;
            }
            swapAndSendDividends(sellTokens);

            swapping = false;
        }

        bool takeFee = !swapping && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !isDirectTransfer;

        if (takeFee && totalFees > 0 && (automatedMarketMakerPairs[from] || automatedMarketMakerPairs[to])) {
            uint256 fees = (amount * totalFees) / 100;
            amount -= fees;
            super._transfer(from, address(this), fees);
        }

        super._transfer(from, to, amount);            

        if (!dividendTracker.excludedFromDividends(from)) {
            try dividendTracker.setBalance(payable(from), balanceOf(from)) {} 
            catch Error(string memory reason) {
                emit DividendTrackerBalanceSetError(from, balanceOf(from), reason);
            } catch (bytes memory /*lowLevelData*/) {
                emit DividendTrackerBalanceSetError(from, balanceOf(from), "Low-level error");
            }
        }
        
        if (!dividendTracker.excludedFromDividends(to)) {
            try dividendTracker.setBalance(payable(to), balanceOf(to)) {} 
            catch Error(string memory reason) {
                emit DividendTrackerBalanceSetError(to, balanceOf(to), reason);
            } catch (bytes memory /*lowLevelData*/) {
                emit DividendTrackerBalanceSetError(to, balanceOf(to), "Low-level error");
            }
        }
        // Process dividends only for AMM trades
        if (!isDirectTransfer && !swapping && dividendTracker.getNumberOfTokenHolders() > 0) {
            uint256 gas = gasForProcessing;

            try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
                emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
            }
            catch {

            }
        }
    }

    function swapTokensForCRO(uint256 tokenAmount) private {
        // generate the pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = mainRouter.WETH();

        _approve(address(this), address(mainRouter), tokenAmount);

        mainRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function swapCroForToken(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = rewardsRouter.WETH();
        path[1] = address(rewardsToken);

        _approve(address(this), address(rewardsRouter), tokenAmount);

        rewardsRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function swapAndSendDividends(uint256 tokens) private {
        // Capture the contract's current (CRO) balance
        uint256 initialBalance = address(this).balance;
        // Swap tokens for CRO to support multi Dex
        swapTokensForCRO(tokens);
        // Calculate the swapped CRO amount
        uint256 totalCRO = address(this).balance - initialBalance;
        // now let's swap the CRO for reward tokens
        swapCroForToken(totalCRO);
        // Get the rewards token balance received from the swap
        uint256 rewardsBalance = IERC20(rewardsToken).balanceOf(address(this));
        // Calculate the ecosystem and dividend portions based on their fee proportion
        uint256 ecosystemProportion = ecosystemFee * 100 / totalFees;
        uint256 rewardsProportion = rewardsFee * 100 / totalFees;
        // Calculate the amounts for ecosystem and dividends
        uint256 ecosystemAmount = (rewardsBalance * ecosystemProportion) / 100;
        uint256 dividendAmount = (rewardsBalance * rewardsProportion) / 100;
        // Transfer ecosystem fee to the ecosystem wallet address
        if (ecosystemFee > 0 && ecosystemAmount > 0) {
            IERC20(rewardsToken).transfer(_ecosystemWalletAddress, ecosystemAmount);
        }
        // Transfer dividends
        if (dividendAmount > 0) {
            bool success = IERC20(rewardsToken).transfer(address(dividendTracker), dividendAmount);
            require(success, "Dividend transfer failed");
            dividendTracker.distributeDividends(dividendAmount);
        }
    }
}

contract WARIODividendTracker is Ownable, DividendPayingToken {
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping (address => bool) public excludedFromDividends;
    mapping (address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event Claim(address indexed account, uint256 amount, bool indexed automatic);

    constructor(address _rewardsToken) DividendPayingToken("WARIO Dividends Tracker", "WARIO_DIVIDENDS", _rewardsToken)
    {
        claimWait = 3600;
        minimumTokenBalanceForDividends = 200000 * (10**18); //must hold 200000+ tokens
    }

    function _transfer(address, address, uint256) internal pure override {
        require(false, "No transfers allowed");
    }

    function withdrawDividend() public pure override {
        require(false, "withdrawDividend disabled. Use the 'claim' function on the main contract.");
    }
    
    function updateMinimumTokenBalanceForDividends(uint256 _newMinimumBalance) external onlyOwner {
        require(_newMinimumBalance != minimumTokenBalanceForDividends, "New mimimum balance for dividend cannot be same as current minimum balance");
        minimumTokenBalanceForDividends = _newMinimumBalance;
    }

    function excludeFromDividends(address account) external onlyOwner {
        require(!excludedFromDividends[account]);
        excludedFromDividends[account] = true;

        _setBalance(account, 0);
        tokenHoldersMap.remove(account);

        emit ExcludeFromDividends(account);
    }

    function includeInDividends(address payable account, uint256 newBalance)external onlyOwner{
        require(excludedFromDividends[account], "Account is already included in dividends");
        excludedFromDividends[account] = false;

        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 3_600 && newClaimWait <= 86_400, "claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function setLastProcessedIndex(uint256 index) external onlyOwner {
        lastProcessedIndex = index;
    }

    function getLastProcessedIndex() external view returns(uint256) {
        return lastProcessedIndex;
    }

    function getNumberOfTokenHolders() external view returns(uint256) {
        return tokenHoldersMap.keys.length;
    }

    function getAccount(address _account)
        public view returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

        if(index >= 0) {
            if(uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index - int256(lastProcessedIndex);
            }
            else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ?
                                                        tokenHoldersMap.keys.length - lastProcessedIndex :
                                                        0;

                iterationsUntilProcessed = index + int256(processesUntilEndOfArray);
            }
        }

        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ?
                                    lastClaimTime + claimWait :
                                    0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime - block.timestamp :
                                                    0;
    }

    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
        if(index >= tokenHoldersMap.size()) {
            return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
        if(lastClaimTime > block.timestamp)  {
            return false;
        }

        return block.timestamp - lastClaimTime >= claimWait;
    }

    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
        if(excludedFromDividends[account]) {
            return;
        }
        if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        }
        else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }
        // Pre-check for dividend amount before processing
        uint256 pendingDividends = _withdrawDividendOfUser(account);
        if (pendingDividends > 0) {
            processAccount(account, true);
        }
    }

    function process(uint256 gas) public returns (uint256, uint256, uint256) {
        uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;

        if(numberOfTokenHolders == 0) {
            return (0, 0, lastProcessedIndex);
        }

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

        while(gasUsed < gas && iterations < numberOfTokenHolders) {
            _lastProcessedIndex++;

            if(_lastProcessedIndex >= tokenHoldersMap.keys.length) {
                _lastProcessedIndex = 0;
            }

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

            if(canAutoClaim(lastClaimTimes[account])) {
                if(processAccount(payable(account), true)) {
                    claims++;
                }
            }

            iterations++;

            uint256 newGasLeft = gasleft();

            if(gasLeft > newGasLeft) {
                gasUsed += gasLeft - newGasLeft;
            }

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

        if(amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
            return true;
        }

        return false;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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 Contracts guidelines: functions revert
 * instead 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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 this function is
     * overridden;
     *
     * 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 virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        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] + 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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` 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 += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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 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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

pragma solidity ^0.8.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 6 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 11 : DividendPayingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/DividendPayingTokenInterface.sol";
import "./interfaces/DividendPayingTokenOptionalInterface.sol";

contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {

    address public rewardsToken;

    // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
    // For more discussion about choosing the value of `magnitude`,
    //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
    uint256 internal constant magnitude = 2**128;

    uint256 internal magnifiedDividendPerShare;

    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;

    uint256 public totalDividendsDistributed;

    constructor(string memory _name, string memory _symbol, address _rewardsToken)
    ERC20(_name, _symbol){
        rewardsToken = _rewardsToken;
    }

    function setRewardsToken(address newAddress) public onlyOwner {
        require(newAddress != address(0), "Cannot set zero address");
        rewardsToken = newAddress;
    }

    function distributeDividends(uint256 amount) public onlyOwner {
        require(totalSupply() > 0);

        if (amount > 0) {
            magnifiedDividendPerShare += (amount * magnitude) / totalSupply();
            emit DividendsDistributed(msg.sender, amount);

            totalDividendsDistributed += amount;
        }
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function withdrawDividend() public virtual override {
        _withdrawDividendOfUser(payable(msg.sender));
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[user] += _withdrawableDividend;
            emit DividendWithdrawn(user, _withdrawableDividend);
            bool success = IERC20(rewardsToken).transfer(user, _withdrawableDividend);

            if(!success) {
                withdrawnDividends[user] -= _withdrawableDividend;
                return 0;
            }

            return _withdrawableDividend;
        }
        return 0;
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner) public view override returns (uint256) {
        return withdrawableDividendOf(_owner);
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(address _owner)
        public
        view
        override
        returns (uint256)
    {
        return accumulativeDividendOf(_owner) - withdrawnDividends[_owner];
    }

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(address _owner) public view override returns(uint256) {
        return withdrawnDividends[_owner];
    }

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(address _owner) public view override returns(uint256) {
        return uint256(
            (int256(magnifiedDividendPerShare * balanceOf(_owner)) 
            + magnifiedDividendCorrections[_owner]) / int256(magnitude)
        );
    }
    /// @dev Internal function that transfer tokens from one address to another.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param from The address to transfer from.
    /// @param to The address to transfer to.
    /// @param value The amount to be transferred.
    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual override {
        require(false);
        int256 _magCorrection = int256(magnifiedDividendPerShare * value);
        magnifiedDividendCorrections[from] += _magCorrection;
        magnifiedDividendCorrections[to] -= _magCorrection;
    }

    /// @dev Internal function that mints tokens to an account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account that will receive the created tokens.
    /// @param value The amount that will be created.
    function _mint(address account, uint256 value) internal override {
        super._mint(account, value);
        magnifiedDividendCorrections[account] -= int256(magnifiedDividendPerShare * value);

    }
    
    /// @dev Internal function that burns an amount of the token of a given account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account whose tokens will be burnt.
    /// @param value The amount that will be burnt.
    function _burn(address account, uint256 value) internal override {
        super._burn(account, value);
        magnifiedDividendCorrections[account] += 
            int256(magnifiedDividendPerShare * value);
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = balanceOf(account);

        if (newBalance > currentBalance) {
            uint256 mintAmount = newBalance - currentBalance;
            _mint(account, mintAmount);
        } else if (newBalance < currentBalance) {
            uint256 burnAmount = currentBalance - newBalance;
            _burn(account, burnAmount);
        }
    }
}

File 8 of 11 : DividendPayingTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;

interface DividendPayingTokenInterface {
    function dividendOf(address _owner) external view returns(uint256);
    function withdrawDividend() external;
  
    event DividendsDistributed(
        address indexed from,
        uint256 weiAmount
    );
    event DividendWithdrawn(
        address indexed to,
        uint256 weiAmount
    );
}

File 9 of 11 : DividendPayingTokenOptionalInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

interface DividendPayingTokenOptionalInterface {
    function withdrawableDividendOf(address _owner) external view returns(uint256);
    function withdrawnDividendOf(address _owner) external view returns(uint256);
    function accumulativeDividendOf(address _owner) external view returns(uint256);
}

File 10 of 11 : IDex.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;

interface IDexFactory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IDexRouter01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IDexRouter is IDexRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

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

pragma solidity 0.8.28;

library IterableMapping {
    struct Map {
        address[] keys;
        mapping(address => uint) values;
        mapping(address => uint) indexOf;
        mapping(address => bool) inserted;
    }

    function get(Map storage map, address key) public view returns (uint) {
        return map.values[key];
    }

    function getIndexOfKey(Map storage map, address key) public view returns (int) {
        if(!map.inserted[key]) {
            return -1;
        }
        return int(map.indexOf[key]);
    }

    function getKeyAtIndex(Map storage map, uint index) public view returns (address) {
        return map.keys[index];
    }

    function size(Map storage map) public view returns (uint) {
        return map.keys.length;
    }

    function set(Map storage map, address key, uint val) public {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }

    function remove(Map storage map, address key) public {
        if (!map.inserted[key]) {
            return;
        }

        delete map.inserted[key];
        delete map.values[key];

        uint index = map.indexOf[key];
        uint lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];

        map.indexOf[lastKey] = index;
        delete map.indexOf[key];

        map.keys[index] = lastKey;
        map.keys.pop();
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {
    "contracts/libraries/IterableMapping.sol": {
      "IterableMapping": "0xc55B9bDb51108e1c5B87107C683052716549e756"
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_rewardsRouter","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_ecosystemWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidDividendTracker","type":"error"},{"inputs":[],"name":"SameAddress","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroAmount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"DividendTrackerBalanceSetError","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTracker","type":"address"}],"name":"DividendTrackerReplaced","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":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_ecosystemWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract WARIODividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecosystemFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTokensAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDividendTracker","type":"address"}],"name":"replaceDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueCRO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setEcosystemWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ecosystemFee","type":"uint256"},{"internalType":"uint256","name":"_rewardFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSellTokensAmount","type":"uint256"}],"name":"setMaxSellTokensAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setRewardsToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGasForProcessing","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateMainRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinimumBalance","type":"uint256"}],"name":"updateMinimumBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateRewardsRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600a80546001600160a01b03191661dead1790556b019d971e4fe8401e74000000600c556003600e819055600f81905561003e9080610800565b601055620493e060125534801561005457600080fd5b506040516182aa3803806182aa833981016040819052610073916108fc565b858560036100818382610a2e565b50600461008e8282610a2e565b5050506100a76100a26104e660201b60201c565b6104ea565b600b80546001600160a01b038087166001600160a01b031992831617909255600880549286169290911691909117905560405184906100e5906107f3565b6001600160a01b039091168152602001604051809103906000f080158015610111573d6000803e3d6000fd5b50600980546001600160a01b03199081166001600160a01b0393841617909155601180549091168383161790556040805163c45a015560e01b8152905184926000929084169163c45a0155916004808201926020929091908290030181865afa158015610182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a69190610aec565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102179190610aec565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102889190610aec565b600680546001600160a01b038086166001600160a01b031992831617909255600780549284169290911691909117905590506102c581600161053c565b60095460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b15801561030b57600080fd5b505af115801561031f573d6000803e3d6000fd5b505060095460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b15801561036857600080fd5b505af115801561037c573d6000803e3d6000fd5b5050600954600a5460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156103c957600080fd5b505af11580156103dd573d6000803e3d6000fd5b505060095460405163031e79db60e41b81526001600160a01b03888116600483015290911692506331e79db09150602401600060405180830381600087803b15801561042857600080fd5b505af115801561043c573d6000803e3d6000fd5b505060095460405163031e79db60e41b81526001600160a01b03898116600483015290911692506331e79db09150602401600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b50506011546104b792506001600160a01b03169050600161062f565b6104c230600161062f565b6104d9836c01431e0fae6d7217caa000000061070f565b5050505050505050610b0e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526014602052604090205481151560ff90911615150361059e5760405162461bcd60e51b815260206004820152600a60248201526953616d652056616c756560b01b60448201526064015b60405180910390fd5b6001600160a01b0382166000908152601460205260409020805460ff1916821580159190911790915561062b5760095460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b15801561061257600080fd5b505af1158015610626573d6000803e3d6000fd5b505050505b5050565b6005546001600160a01b031633146106895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610595565b6001600160a01b03821660009081526013602052604090205481151560ff9091161515036106e45760405162461bcd60e51b8152602060048201526008602482015267115e18db1d59195960c21b6044820152606401610595565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b0382166107655760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610595565b80600260008282546107779190610800565b90915550506001600160a01b038216600090815260208190526040812080548392906107a4908490610800565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b612e9b8061540f83390190565b8082018082111561082157634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261084e57600080fd5b81516001600160401b0381111561086757610867610827565b604051601f8201601f19908116603f011681016001600160401b038111828210171561089557610895610827565b6040528181528382016020018510156108ad57600080fd5b60005b828110156108cc576020818601810151838301820152016108b0565b506000918101602001919091529392505050565b80516001600160a01b03811681146108f757600080fd5b919050565b60008060008060008060c0878903121561091557600080fd5b86516001600160401b0381111561092b57600080fd5b61093789828a0161083d565b602089015190975090506001600160401b0381111561095557600080fd5b61096189828a0161083d565b955050610970604088016108e0565b935061097e606088016108e0565b925061098c608088016108e0565b915061099a60a088016108e0565b90509295509295509295565b600181811c908216806109ba57607f821691505b6020821081036109da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156107ee57806000526020600020601f840160051c81016020851015610a075750805b601f840160051c820191505b81811015610a275760008155600101610a13565b5050505050565b81516001600160401b03811115610a4757610a47610827565b610a5b81610a5584546109a6565b846109e0565b6020601f821160018114610a8f5760008315610a775750848201515b600019600385901b1c1916600184901b178455610a27565b600084815260208120601f198516915b82811015610abf5787850151825560209485019460019092019101610a9f565b5084821015610add5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600060208284031215610afe57600080fd5b610b07826108e0565b9392505050565b6148f280610b1d6000396000f3fe60806040526004361061036f5760003560e01c806395d89b41116101c6578063c0f306ef116100f7578063e2f4560511610095578063f242ab411161006f578063f242ab4114610aea578063f27fd25414610b17578063f2fde38b14610b37578063f3ff43da14610b5757600080fd5b8063e2f4560514610a9f578063e7841ec014610ab5578063e98030c714610aca57600080fd5b8063d1af0c7d116100d1578063d1af0c7d146109d2578063dd62ed3e146109ff578063de320cc114610a52578063e152c34a14610a7257600080fd5b8063c0f306ef14610965578063cde5da3114610985578063cf188ad0146109a557600080fd5b8063a8b9d24011610164578063afa4f3b21161013e578063afa4f3b2146108df578063b1fb0e97146108ff578063b62496f514610915578063c02466681461094557600080fd5b8063a8b9d2401461082d578063a9059cbb1461084d578063ad56c13c1461086d57600080fd5b80639c1b8af5116101a05780639c1b8af5146107c25780639e0de4d2146107d8578063a26579ad146107f8578063a457c2d71461080d57600080fd5b806395d89b411461076d5780639a7a23d6146107825780639b74490c146107a257600080fd5b80634e71d92d116102a0578063715018a61161023e57806385141a771161021857806385141a77146106c8578063871c128d146106f55780638bbf5af0146107155780638da5cb5b1461074257600080fd5b8063715018a6146106735780637c5b572314610688578063810d0fda146106a857600080fd5b806364b0f6531161027a57806364b0f653146105db5780636843cd84146105f0578063700bb1911461061057806370a082311461063057600080fd5b80634e71d92d146105605780634fbee1931461057557806357376198146105bb57600080fd5b80632bb14e1d1161030d578063313ce567116102e7578063313ce567146104e457806331e79db01461050057806339509351146105205780633b364da81461054057600080fd5b80632bb14e1d146104675780632c1f52161461047d57806330bb4cff146104cf57600080fd5b806313114a9d1161034957806313114a9d146103f857806318160ddd1461041c57806323b872dd1461043157806328df5b571461045157600080fd5b806306fdde031461037b578063095ea7b3146103a65780630b78f9c0146103d657600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610b77565b60405161039d91906142bb565b60405180910390f35b3480156103b257600080fd5b506103c66103c13660046142f7565b610c09565b604051901515815260200161039d565b3480156103e257600080fd5b506103f66103f1366004614323565b610c20565b005b34801561040457600080fd5b5061040e60105481565b60405190815260200161039d565b34801561042857600080fd5b5060025461040e565b34801561043d57600080fd5b506103c661044c366004614345565b610d35565b34801561045d57600080fd5b5061040e600d5481565b34801561047357600080fd5b5061040e600e5481565b34801561048957600080fd5b506009546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161039d565b3480156104db57600080fd5b5061040e610e1b565b3480156104f057600080fd5b506040516012815260200161039d565b34801561050c57600080fd5b506103f661051b366004614386565b610eb4565b34801561052c57600080fd5b506103c661053b3660046142f7565b610fbe565b34801561054c57600080fd5b506103f661055b3660046143a3565b611007565b34801561056c57600080fd5b506103f66110df565b34801561058157600080fd5b506103c6610590366004614386565b73ffffffffffffffffffffffffffffffffffffffff1660009081526013602052604090205460ff1690565b3480156105c757600080fd5b506103f66105d63660046142f7565b61117d565b3480156105e757600080fd5b5061040e61129a565b3480156105fc57600080fd5b5061040e61060b366004614386565b61130a565b34801561061c57600080fd5b506103f661062b3660046143a3565b6113a0565b34801561063c57600080fd5b5061040e61064b366004614386565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561067f57600080fd5b506103f661143b565b34801561069457600080fd5b506103f66106a33660046143a3565b6114c8565b3480156106b457600080fd5b506103f66106c3366004614386565b61157a565b3480156106d457600080fd5b50600a546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561070157600080fd5b506103f66107103660046143a3565b6116c9565b34801561072157600080fd5b506011546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561074e57600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166104aa565b34801561077957600080fd5b506103906117ba565b34801561078e57600080fd5b506103f661079d3660046143ca565b6117c9565b3480156107ae57600080fd5b506103f66107bd366004614386565b6118db565b3480156107ce57600080fd5b5061040e60125481565b3480156107e457600080fd5b506103f66107f3366004614386565b611ae0565b34801561080457600080fd5b5061040e611e32565b34801561081957600080fd5b506103c66108283660046142f7565b611ea2565b34801561083957600080fd5b5061040e610848366004614386565b611f7a565b34801561085957600080fd5b506103c66108683660046142f7565b611fd3565b34801561087957600080fd5b5061088d610888366004614386565b611fe0565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161039d565b3480156108eb57600080fd5b506103f66108fa3660046143a3565b6120a1565b34801561090b57600080fd5b5061040e600f5481565b34801561092157600080fd5b506103c6610930366004614386565b60146020526000908152604090205460ff1681565b34801561095157600080fd5b506103f66109603660046143ca565b612161565b34801561097157600080fd5b506103f6610980366004614386565b6122cf565b34801561099157600080fd5b506103f66109a03660046143a3565b61240d565b3480156109b157600080fd5b506006546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156109de57600080fd5b50600b546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610a0b57600080fd5b5061040e610a1a366004614403565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610a5e57600080fd5b506103f6610a6d366004614386565b6124ff565b348015610a7e57600080fd5b506008546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610aab57600080fd5b5061040e600c5481565b348015610ac157600080fd5b5061040e612654565b348015610ad657600080fd5b506103f6610ae53660046143a3565b6126c4565b348015610af657600080fd5b506007546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610b2357600080fd5b5061088d610b323660046143a3565b61279c565b348015610b4357600080fd5b506103f6610b52366004614386565b612804565b348015610b6357600080fd5b506103f6610b72366004614386565b612931565b606060038054610b8690614431565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb290614431565b8015610bff5780601f10610bd457610100808354040283529160200191610bff565b820191906000526020600020905b815481529060010190602001808311610be257829003601f168201915b5050505050905090565b6000610c16338484612a46565b5060015b92915050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610ca6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600a610cb282846144b3565b1115610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f546f74616c2066656573206d757374206e6f74206578636565642031302500006044820152606401610c9d565b600e819055600f829055610d2e82826144b3565b6010555050565b6000610d42848484612bf9565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482811015610e03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610c9d565b610e108533858403612a46565b506001949350505050565b600954604080517f85a6b3ae000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916385a6b3ae9160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf91906144c6565b905090565b60055473ffffffffffffffffffffffffffffffffffffffff163314610f35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6009546040517f31e79db000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152909116906331e79db0906024015b600060405180830381600087803b158015610fa357600080fd5b505af1158015610fb7573d6000803e3d6000fd5b5050505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610c169185906110029086906144b3565b612a46565b60055473ffffffffffffffffffffffffffffffffffffffff163314611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6009546040517f0dcb2e890000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690630dcb2e8990602401610f89565b6009546040517fbc4c4b370000000000000000000000000000000000000000000000000000000081523360048201526000602482015273ffffffffffffffffffffffffffffffffffffffff9091169063bc4c4b37906044016020604051808303816000875af1158015611156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117a91906144df565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146111fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810182905273ffffffffffffffffffffffffffffffffffffffff83169063a9059cbb906044016020604051808303816000875af1158015611271573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129591906144df565b505050565b600954604080517f09bbedde000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916309bbedde9160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b6009546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009216906370a08231906024015b602060405180830381865afa15801561137c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1a91906144c6565b6009546040517fffb2c4790000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff9091169063ffb2c479906024016060604051808303816000875af1158015611411573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143591906144fc565b50505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146114bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6114c66000613721565b565b60055473ffffffffffffffffffffffffffffffffffffffff163314611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b604051339082156108fc029083906000818181858888f19350505050158015611576573d6000803e3d6000fd5b5050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146115fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60085473ffffffffffffffffffffffffffffffffffffffff90811690821603611682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9060208082526004908201527f53616d6500000000000000000000000000000000000000000000000000000000604082015260600190565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff16331461174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60125481036117b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4e65772076616c7565206d75737420626520646966666572656e7400000000006044820152606401610c9d565b601255565b606060048054610b8690614431565b60055473ffffffffffffffffffffffffffffffffffffffff16331461184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60075473ffffffffffffffffffffffffffffffffffffffff908116908316036118d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9060208082526004908201527f53616d6500000000000000000000000000000000000000000000000000000000604082015260600190565b6115768282613798565b60055473ffffffffffffffffffffffffffffffffffffffff16331461195c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166119a9576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff16636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611a33575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611a30918101906144c6565b60015b611a69576040517f8a87e58400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84811691909117909155604051908416907fe3b4d7b525fde85c2cf630f2172f5e4bc1630ad323a06c2377fa11c86a813e2c90600090a2505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611b61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60065473ffffffffffffffffffffffffffffffffffffffff90811690821603611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9060208082526004908201527f53616d6500000000000000000000000000000000000000000000000000000000604082015260600190565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604080517fc45a015500000000000000000000000000000000000000000000000000000000815290516000929163c45a01559160048083019260209291908290030181865afa158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca6919061452a565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d53919061452a565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff9283166004820152911660248201526044016020604051808303816000875af1158015611dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de9919061452a565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff929092169190911790555050565b600954604080517f6f2789ec000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691636f2789ec9160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015611f63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610c9d565b611f703385858403612a46565b5060019392505050565b6009546040517fa8b9d24000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152600092169063a8b9d2409060240161135f565b6000610c16338484612bf9565b6009546040517ffbcbc0f100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa158015612062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120869190614547565b97509750975097509750975097509750919395975091939597565b60055473ffffffffffffffffffffffffffffffffffffffff163314612122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b8060000361215c576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c55565b60055473ffffffffffffffffffffffffffffffffffffffff1633146121e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff821660009081526013602052604090205481151560ff909116151503612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4578636c756465640000000000000000000000000000000000000000000000006044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260136020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff163314612350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020548015611576576009546040517fb817d72500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018490529091169063b817d725906044015b600060405180830381600087803b1580156123f157600080fd5b505af1158015612405573d6000803e3d6000fd5b505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461248e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b600c548110156124fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d757374206265203e3d2073776170546f6b656e734174416d6f756e740000006044820152606401610c9d565b600d55565b60055473ffffffffffffffffffffffffffffffffffffffff163314612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166125cd576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8381169182179092556009546040517fde320cc100000000000000000000000000000000000000000000000000000000815260048101929092529091169063de320cc190602401610f89565b600954604080517fe7841ec0000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163e7841ec09160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b60055473ffffffffffffffffffffffffffffffffffffffff163314612745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6009546040517fe98030c70000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff9091169063e98030c790602401610f89565b6009546040517f5183d6fd00000000000000000000000000000000000000000000000000000000815260048101839052600091829182918291829182918291829173ffffffffffffffffffffffffffffffffffffffff90911690635183d6fd90602401612044565b60055473ffffffffffffffffffffffffffffffffffffffff163314612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8116612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c9d565b61117a81613721565b60055473ffffffffffffffffffffffffffffffffffffffff1633146129b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166129ff576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff8316612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8216612b8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316612c46576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612c93576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003612ccd576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526014602052604081205460ff16158015612d29575073ffffffffffffffffffffffffffffffffffffffff831660009081526014602052604090205460ff16155b30600090815260208190526040902054600c549192509081108015908190612d6c575060085474010000000000000000000000000000000000000000900460ff16155b8015612d76575082155b8015612da7575073ffffffffffffffffffffffffffffffffffffffff851660009081526014602052604090205460ff165b8015612dce575060055473ffffffffffffffffffffffffffffffffffffffff878116911614155b8015612df5575060055473ffffffffffffffffffffffffffffffffffffffff868116911614155b8015612e0357506000601054115b15612ea957600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790553060009081526020819052604081205490506000600d54118015612e6c5750600d5481115b15612e765750600d545b612e7f816138df565b50600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60085460009074010000000000000000000000000000000000000000900460ff16158015612efd575073ffffffffffffffffffffffffffffffffffffffff871660009081526013602052604090205460ff16155b8015612f2f575073ffffffffffffffffffffffffffffffffffffffff861660009081526013602052604090205460ff16155b8015612f39575083155b9050808015612f4a57506000601054115b8015612faa575073ffffffffffffffffffffffffffffffffffffffff871660009081526014602052604090205460ff1680612faa575073ffffffffffffffffffffffffffffffffffffffff861660009081526014602052604090205460ff165b15612fe6576000606460105487612fc191906145db565b612fcb91906145f2565b9050612fd7818761462d565b9550612fe4883083613c63565b505b612ff1878787613c63565b6009546040517f4e7b827f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff898116600483015290911690634e7b827f90602401602060405180830381865afa158015613061573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308591906144df565b61329c5760095473ffffffffffffffffffffffffffffffffffffffff1663e30443bc886130d48173ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561313f57600080fd5b505af1925050508015613150575060015b61329c5761315c614640565b806308c379a0036131e057506131706146ce565b8061317b57506131e2565b73ffffffffffffffffffffffffffffffffffffffff88166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b090836040516131d292919061478f565b60405180910390a25061329c565b505b3d80801561320c576040519150601f19603f3d011682016040523d82523d6000602084013e613211565b606091505b5073ffffffffffffffffffffffffffffffffffffffff88166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b0906040805191825260208201819052600f908201527f4c6f772d6c6576656c206572726f72000000000000000000000000000000000060608201526080016131d2565b6009546040517f4e7b827f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015290911690634e7b827f90602401602060405180830381865afa15801561330c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061333091906144df565b6135475760095473ffffffffffffffffffffffffffffffffffffffff1663e30443bc8761337f8173ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156133ea57600080fd5b505af19250505080156133fb575060015b61354757613407614640565b806308c379a00361348b575061341b6146ce565b80613426575061348d565b73ffffffffffffffffffffffffffffffffffffffff87166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b0908360405161347d92919061478f565b60405180910390a250613547565b505b3d8080156134b7576040519150601f19603f3d011682016040523d82523d6000602084013e6134bc565b606091505b5073ffffffffffffffffffffffffffffffffffffffff87166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b0906040805191825260208201819052600f908201527f4c6f772d6c6576656c206572726f720000000000000000000000000000000000606082015260800161347d565b83158015613570575060085474010000000000000000000000000000000000000000900460ff16155b801561360d5750600954604080517f09bbedde000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916309bbedde9160048083019260209291908290030181865afa1580156135e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360b91906144c6565b115b15613718576012546009546040517fffb2c4790000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff9091169063ffb2c479906024016060604051808303816000875af19250505080156136c0575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136bd918101906144fc565b60015b156137165760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b50505050505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526014602052604090205481151560ff90911615150361382f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f53616d652056616c7565000000000000000000000000000000000000000000006044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260146020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215801591909117909155611576576009546040517f31e79db000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152909116906331e79db0906024016123d7565b476138e982613f16565b60006138f5824761462d565b905061390081614093565b600b546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561396f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061399391906144c6565b90506000601054600f5460646139a991906145db565b6139b391906145f2565b90506000601054600e5460646139c991906145db565b6139d391906145f2565b9050600060646139e384866145db565b6139ed91906145f2565b9050600060646139fd84876145db565b613a0791906145f2565b90506000600f54118015613a1b5750600082115b15613ac157600b546011546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810185905291169063a9059cbb906044016020604051808303816000875af1158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abf91906144df565b505b801561371657600b546009546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af1158015613b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b6b91906144df565b905080613bd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4469766964656e64207472616e73666572206661696c656400000000000000006044820152606401610c9d565b6009546040517f3243c7910000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff90911690633243c79190602401600060405180830381600087803b158015613c4057600080fd5b505af1158015613c54573d6000803e3d6000fd5b50505050505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316613d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8216613da9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015613e5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290613ea39084906144b3565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613f0991815260200190565b60405180910390a3611435565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613f4b57613f4b6147b0565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015613fca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fee919061452a565b81600181518110614001576140016147b0565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546140349130911684612a46565b6006546040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063791ac947906123d7908590600090869030904290600401614831565b6040805160028082526060820183526000926020830190803683375050600854604080517fad5c4648000000000000000000000000000000000000000000000000000000008152905193945073ffffffffffffffffffffffffffffffffffffffff9091169263ad5c4648925060048083019260209291908290030181865afa158015614123573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614147919061452a565b8160008151811061415a5761415a6147b0565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152600b54825191169082906001908110614198576141986147b0565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526008546141cb9130911684612a46565b6008546040517fb6f9de9500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b6f9de9590849061422a9060009086903090429060040161487a565b6000604051808303818588803b15801561424357600080fd5b505af1158015613718573d6000803e3d6000fd5b6000815180845260005b8181101561427d57602081850181015186830182015201614261565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006142ce6020830184614257565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461117a57600080fd5b6000806040838503121561430a57600080fd5b8235614315816142d5565b946020939093013593505050565b6000806040838503121561433657600080fd5b50508035926020909101359150565b60008060006060848603121561435a57600080fd5b8335614365816142d5565b92506020840135614375816142d5565b929592945050506040919091013590565b60006020828403121561439857600080fd5b81356142ce816142d5565b6000602082840312156143b557600080fd5b5035919050565b801515811461117a57600080fd5b600080604083850312156143dd57600080fd5b82356143e8816142d5565b915060208301356143f8816143bc565b809150509250929050565b6000806040838503121561441657600080fd5b8235614421816142d5565b915060208301356143f8816142d5565b600181811c9082168061444557607f821691505b60208210810361447e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610c1a57610c1a614484565b6000602082840312156144d857600080fd5b5051919050565b6000602082840312156144f157600080fd5b81516142ce816143bc565b60008060006060848603121561451157600080fd5b5050815160208301516040909301519094929350919050565b60006020828403121561453c57600080fd5b81516142ce816142d5565b600080600080600080600080610100898b03121561456457600080fd5b885161456f816142d5565b80985050600060208a0151905080975050600060408a0151905080965050600060608a0151905080955050600060808a0151905080945050600060a08a0151905080935050600060c08a0151905080925050600060e08a01519050809150509295985092959890939650565b8082028115828204841417610c1a57610c1a614484565b600082614628577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610c1a57610c1a614484565b600060033d11156146595760046000803e5060005160e01c5b90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156146c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040525050565b600060443d10156146dc5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d016004823e80513d602482011167ffffffffffffffff8211171561472457505090565b808201805167ffffffffffffffff811115614740575050505090565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d8501016020828401011115614778575050505090565b6147876020828501018561465c565b509392505050565b8281526040602082015260006147a86040830184614257565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081518084526020840193506020830160005b8281101561482757815173ffffffffffffffffffffffffffffffffffffffff168652602095860195909101906001016147f3565b5093949350505050565b85815284602082015260a06040820152600061485060a08301866147df565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b84815260806020820152600061489360808301866147df565b73ffffffffffffffffffffffffffffffffffffffff94909416604083015250606001529291505056fea2646970667358221220065451f48d3d2a1eae749f0d04f9b8b57689425c05f2d41f232fd1c38f253a1364736f6c634300081c0033608060405234801561001057600080fd5b50604051612e9b380380612e9b83398101604081905261002f91610157565b6040518060400160405280601781526020017f574152494f204469766964656e647320547261636b65720000000000000000008152506040518060400160405280600f81526020016e574152494f5f4449564944454e445360881b815250828282816003908161009f9190610226565b5060046100ac8282610226565b5050506100c56100c061010160201b60201c565b610105565b600680546001600160a01b0319166001600160a01b03929092169190911790555050610e1060125550692a5a058fc295ed0000006013556102e4565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006020828403121561016957600080fd5b81516001600160a01b038116811461018057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806101b157607f821691505b6020821081036101d157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561022157806000526020600020601f840160051c810160208510156101fe5750805b601f840160051c820191505b8181101561021e576000815560010161020a565b50505b505050565b81516001600160401b0381111561023f5761023f610187565b6102538161024d845461019d565b846101d7565b6020601f821160018114610287576000831561026f5750848201515b600019600385901b1c1916600184901b17845561021e565b600084815260208120601f198516915b828110156102b75787850151825560209485019460019092019101610297565b50848210156102d55786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b612ba8806102f36000396000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c806385a6b3ae1161017b578063be10b614116100d8578063e7841ec01161008c578063f2fde38b11610071578063f2fde38b14610666578063fbcbc0f114610679578063ffb2c4791461068c57600080fd5b8063e7841ec01461064b578063e98030c71461065357600080fd5b8063dd62ed3e116100bd578063dd62ed3e146105df578063de320cc114610625578063e30443bc1461063857600080fd5b8063be10b614146105b6578063d1af0c7d146105bf57600080fd5b8063a8b9d2401161012f578063aafd847a11610114578063aafd847a1461055a578063b817d72514610590578063bc4c4b37146105a357600080fd5b8063a8b9d24014610534578063a9059cbb1461054757600080fd5b806391b89fba1161016057806391b89fba1461050657806395d89b4114610519578063a457c2d71461052157600080fd5b806385a6b3ae146104be5780638da5cb5b146104c757600080fd5b8063313ce567116102295780635183d6fd116101dd5780636f2789ec116101c25780636f2789ec1461047757806370a0823114610480578063715018a6146104b657600080fd5b80635183d6fd1461040a5780636a4740021461046f57600080fd5b80633243c7911161020e5780633243c791146103c157806339509351146103d45780634e7b827f146103e757600080fd5b8063313ce5671461039f57806331e79db0146103ae57600080fd5b8063226cfa3d1161028057806327ce01471161026557806327ce014714610370578063286b3aa0146103835780633009a6091461039657600080fd5b8063226cfa3d1461033d57806323b872dd1461035d57600080fd5b806309bbedde116102b157806309bbedde1461030e5780630dcb2e891461032057806318160ddd1461033557600080fd5b806306fdde03146102cd578063095ea7b3146102eb575b600080fd5b6102d56106ba565b6040516102e29190612759565b60405180910390f35b6102fe6102f93660046127e7565b61074c565b60405190151581526020016102e2565b600b545b6040519081526020016102e2565b61033361032e366004612813565b610763565b005b600254610312565b61031261034b36600461282c565b60116020526000908152604090205481565b6102fe61036b366004612850565b6108a5565b61031261037e36600461282c565b61098b565b610333610391366004612813565b6109ef565b610312600f5481565b604051601281526020016102e2565b6103336103bc36600461282c565b610a75565b6103336103cf366004612813565b610c5e565b6102fe6103e23660046127e7565b610d88565b6102fe6103f536600461282c565b60106020526000908152604090205460ff1681565b61041d610418366004612813565b610dd1565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016102e2565b610333610f5c565b61031260125481565b61031261048e36600461282c565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61033361100c565b610312600a5481565b60055473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102e2565b61031261051436600461282c565b611097565b6102d56110a2565b6102fe61052f3660046127e7565b6110b1565b61031261054236600461282c565b611189565b6102fe6105553660046127e7565b6111c2565b61031261056836600461282c565b73ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205490565b61033361059e3660046127e7565b6111cf565b6102fe6105b136600461289f565b611483565b61031260135481565b6006546104e19073ffffffffffffffffffffffffffffffffffffffff1681565b6103126105ed3660046128d8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b61033361063336600461282c565b611595565b6103336106463660046127e7565b6116da565b600f54610312565b610333610661366004612813565b611908565b61033361067436600461282c565b611aee565b61041d61068736600461282c565b611c1b565b61069f61069a366004612813565b611dd4565b604080519384526020840192909252908201526060016102e2565b6060600380546106c990612906565b80601f01602080910402602001604051908101604052809291908181526020018280546106f590612906565b80156107425780601f1061071757610100808354040283529160200191610742565b820191906000526020600020905b81548152906001019060200180831161072557829003601f168201915b5050505050905090565b6000610759338484611efe565b5060015b92915050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146107e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60135481036108a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f4e6577206d696d696d756d2062616c616e636520666f72206469766964656e6460448201527f2063616e6e6f742062652073616d652061732063757272656e74206d696e696d60648201527f756d2062616c616e636500000000000000000000000000000000000000000000608482015260a4016107e0565b601355565b60006108b28484846120b1565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482811015610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016107e0565b6109808533858403611efe565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600860209081526040808320549183905282205460075470010000000000000000000000000000000092916109db91612988565b6109e5919061299f565b61075d91906129f6565b60055473ffffffffffffffffffffffffffffffffffffffff163314610a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b600f55565b60055473ffffffffffffffffffffffffffffffffffffffff163314610af6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b73ffffffffffffffffffffffffffffffffffffffff811660009081526010602052604090205460ff1615610b2957600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116600090815260106020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610b82908290612113565b6040517f4c60db9c000000000000000000000000000000000000000000000000000000008152600b600482015273ffffffffffffffffffffffffffffffffffffffff8216602482015273c55b9bdb51108e1c5b87107c683052716549e75690634c60db9c9060440160006040518083038186803b158015610c0257600080fd5b505af4158015610c16573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b60055473ffffffffffffffffffffffffffffffffffffffff163314610cdf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b6000610cea60025490565b11610cf457600080fd5b8015610d8557600254610d1870010000000000000000000000000000000083612988565b610d229190612a5e565b60076000828254610d339190612a72565b909155505060405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a280600a6000828254610d7f9190612a72565b90915550505b50565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610759918590610dcc908690612a72565b611efe565b600080600080600080600080600b73c55b9bdb51108e1c5b87107c683052716549e75663deb3d89690916040518263ffffffff1660e01b8152600401610e1991815260200190565b602060405180830381865af4158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a9190612a85565b8910610e9d5750600096507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff955085945086935083925082915081905080610f51565b6040517fd1aa9e7e000000000000000000000000000000000000000000000000000000008152600b6004820152602481018a905260009073c55b9bdb51108e1c5b87107c683052716549e7569063d1aa9e7e90604401602060405180830381865af4158015610f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f349190612a9e565b9050610f3f81611c1b565b98509850985098509850985098509850505b919395975091939597565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f77697468647261774469766964656e642064697361626c65642e20557365207460448201527f68652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2060648201527f636f6e74726163742e0000000000000000000000000000000000000000000000608482015260a4016107e0565b565b60055473ffffffffffffffffffffffffffffffffffffffff16331461108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b61100a6000612179565b600061075d82611189565b6060600480546106c990612906565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015611172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107e0565b61117f3385858403611efe565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600960205260408120546111b88361098b565b61075d9190612abb565b60006107593384846120b1565b60055473ffffffffffffffffffffffffffffffffffffffff163314611250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604090205460ff16611305576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4163636f756e7420697320616c726561647920696e636c7564656420696e206460448201527f69766964656e647300000000000000000000000000000000000000000000000060648201526084016107e0565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556013548110611407576113638282612113565b6040517fbc2b405c000000000000000000000000000000000000000000000000000000008152600b600482015273ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905273c55b9bdb51108e1c5b87107c683052716549e7569063bc2b405c906064015b60006040518083038186803b1580156113eb57600080fd5b505af41580156113ff573d6000803e3d6000fd5b505050505050565b611412826000612113565b6040517f4c60db9c000000000000000000000000000000000000000000000000000000008152600b600482015273ffffffffffffffffffffffffffffffffffffffff8316602482015273c55b9bdb51108e1c5b87107c683052716549e75690634c60db9c906044016113d3565b5050565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314611507576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b6000611512846121f0565b9050801561158b5773ffffffffffffffffffffffffffffffffffffffff8416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906115799085815260200190565b60405180910390a3600191505061075d565b5060009392505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b73ffffffffffffffffffffffffffffffffffffffff8116611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f7420736574207a65726f206164647265737300000000000000000060448201526064016107e0565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff16331461175b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604090205460ff1661147f57601354811061183f5761179b8282612113565b6040517fbc2b405c000000000000000000000000000000000000000000000000000000008152600b600482015273ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905273c55b9bdb51108e1c5b87107c683052716549e7569063bc2b405c9060640160006040518083038186803b15801561182257600080fd5b505af4158015611836573d6000803e3d6000fd5b505050506118e3565b61184a826000612113565b6040517f4c60db9c000000000000000000000000000000000000000000000000000000008152600b600482015273ffffffffffffffffffffffffffffffffffffffff8316602482015273c55b9bdb51108e1c5b87107c683052716549e75690634c60db9c9060440160006040518083038186803b1580156118ca57600080fd5b505af41580156118de573d6000803e3d6000fd5b505050505b60006118ee836121f0565b9050801561190357611901836001611483565b505b505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b610e10811015801561199e5750620151808111155b611a2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f636c61696d57616974206d757374206265207570646174656420746f2062657460448201527f7765656e203120616e6420323420686f7572730000000000000000000000000060648201526084016107e0565b6012548103611abb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f43616e6e6f742075706461746520636c61696d5761697420746f2073616d652060448201527f76616c756500000000000000000000000000000000000000000000000000000060648201526084016107e0565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b60055473ffffffffffffffffffffffffffffffffffffffff163314611b6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b73ffffffffffffffffffffffffffffffffffffffff8116611c12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e0565b610d8581612179565b6040517f17e142d1000000000000000000000000000000000000000000000000000000008152600b600482015273ffffffffffffffffffffffffffffffffffffffff82166024820152819060009081908190819081908190819073c55b9bdb51108e1c5b87107c683052716549e756906317e142d190604401602060405180830381865af4158015611cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd59190612a85565b96507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff955060008712611d5557600f54871115611d2057600f54611d199088612ace565b9550611d55565b600f54600b5460009110611d35576000611d45565b600f54600b54611d459190612abb565b9050611d51818961299f565b9650505b611d5e88611189565b9450611d698861098b565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260116020526040902054909450925082611da0576000611dad565b601254611dad9084612a72565b9150428211611dbd576000611dc7565b611dc74283612abb565b9050919395975091939597565b600b5460009081908190808203611df6575050600f5460009250829150611ef7565b600f546000805a90506000805b8984108015611e1157508582105b15611ee65784611e2081612aee565b600b5490965086109050611e3357600094505b6000600b6000018681548110611e4b57611e4b612b26565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168083526011909152604090912054909150611e8990612382565b15611eac57611e99816001611483565b15611eac5781611ea881612aee565b9250505b82611eb681612aee565b93505060005a905080851115611edd57611ed08186612abb565b611eda9087612a72565b95505b9350611e039050565b600f85905590975095509193505050505b9193909250565b73ffffffffffffffffffffffffffffffffffffffff8316611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107e0565b73ffffffffffffffffffffffffffffffffffffffff8216612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107e0565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f207472616e736665727320616c6c6f77656400000000000000000000000060448201526064016107e0565b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020548082111561215957600061214d8284612abb565b905061190184826123a9565b8082101561190357600061216d8383612abb565b905061190184826123ff565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806121fc83611189565b905080156123795773ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604081208054839290612239908490612a72565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26006546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015612303573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123279190612b55565b9050806123725773ffffffffffffffffffffffffffffffffffffffff841660009081526009602052604081208054849290612363908490612abb565b90915550600095945050505050565b5092915050565b50600092915050565b60004282111561239457506000919050565b6012546123a18342612abb565b101592915050565b6123b3828261244c565b806007546123c19190612988565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812080549091906123f6908490612ace565b90915550505050565b612409828261256c565b806007546124179190612988565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812080549091906123f690849061299f565b73ffffffffffffffffffffffffffffffffffffffff82166124c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107e0565b80600260008282546124db9190612a72565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290612515908490612a72565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661260f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107e0565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156126c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016107e0565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290612701908490612abb565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b602081526000825180602084015260005b81811015612787576020818601810151604086840101520161276a565b5060006040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b73ffffffffffffffffffffffffffffffffffffffff81168114610d8557600080fd5b600080604083850312156127fa57600080fd5b8235612805816127c5565b946020939093013593505050565b60006020828403121561282557600080fd5b5035919050565b60006020828403121561283e57600080fd5b8135612849816127c5565b9392505050565b60008060006060848603121561286557600080fd5b8335612870816127c5565b92506020840135612880816127c5565b929592945050506040919091013590565b8015158114610d8557600080fd5b600080604083850312156128b257600080fd5b82356128bd816127c5565b915060208301356128cd81612891565b809150509250929050565b600080604083850312156128eb57600080fd5b82356128f6816127c5565b915060208301356128cd816127c5565b600181811c9082168061291a57607f821691505b602082108103612953577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761075d5761075d612959565b80820182811260008312801582168215821617156129bf576129bf612959565b505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612a0557612a056129c7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615612a5957612a59612959565b500590565b600082612a6d57612a6d6129c7565b500490565b8082018082111561075d5761075d612959565b600060208284031215612a9757600080fd5b5051919050565b600060208284031215612ab057600080fd5b8151612849816127c5565b8181038181111561075d5761075d612959565b818103600083128015838313168383128216171561237257612372612959565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612b1f57612b1f612959565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215612b6757600080fd5b81516128498161289156fea264697066735822122006341c32fe2c0782fb14fb3384ea34ad3efbed166c3e9ed506252542dc6d5fee64736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000af02d78f39c0002d14b95a3be272da02379aff21000000000000000000000000a476c97d8d1ec7d263eafa0039645dbe0cc0a0120000000000000000000000008ebc409998ef75661a4c464ff9bbb490586f954a000000000000000000000000a7f684d7ab03bba41af8c3cc3aca20a7815af1730000000000000000000000000000000000000000000000000000000000000005576172696f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005574152494f000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061036f5760003560e01c806395d89b41116101c6578063c0f306ef116100f7578063e2f4560511610095578063f242ab411161006f578063f242ab4114610aea578063f27fd25414610b17578063f2fde38b14610b37578063f3ff43da14610b5757600080fd5b8063e2f4560514610a9f578063e7841ec014610ab5578063e98030c714610aca57600080fd5b8063d1af0c7d116100d1578063d1af0c7d146109d2578063dd62ed3e146109ff578063de320cc114610a52578063e152c34a14610a7257600080fd5b8063c0f306ef14610965578063cde5da3114610985578063cf188ad0146109a557600080fd5b8063a8b9d24011610164578063afa4f3b21161013e578063afa4f3b2146108df578063b1fb0e97146108ff578063b62496f514610915578063c02466681461094557600080fd5b8063a8b9d2401461082d578063a9059cbb1461084d578063ad56c13c1461086d57600080fd5b80639c1b8af5116101a05780639c1b8af5146107c25780639e0de4d2146107d8578063a26579ad146107f8578063a457c2d71461080d57600080fd5b806395d89b411461076d5780639a7a23d6146107825780639b74490c146107a257600080fd5b80634e71d92d116102a0578063715018a61161023e57806385141a771161021857806385141a77146106c8578063871c128d146106f55780638bbf5af0146107155780638da5cb5b1461074257600080fd5b8063715018a6146106735780637c5b572314610688578063810d0fda146106a857600080fd5b806364b0f6531161027a57806364b0f653146105db5780636843cd84146105f0578063700bb1911461061057806370a082311461063057600080fd5b80634e71d92d146105605780634fbee1931461057557806357376198146105bb57600080fd5b80632bb14e1d1161030d578063313ce567116102e7578063313ce567146104e457806331e79db01461050057806339509351146105205780633b364da81461054057600080fd5b80632bb14e1d146104675780632c1f52161461047d57806330bb4cff146104cf57600080fd5b806313114a9d1161034957806313114a9d146103f857806318160ddd1461041c57806323b872dd1461043157806328df5b571461045157600080fd5b806306fdde031461037b578063095ea7b3146103a65780630b78f9c0146103d657600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610b77565b60405161039d91906142bb565b60405180910390f35b3480156103b257600080fd5b506103c66103c13660046142f7565b610c09565b604051901515815260200161039d565b3480156103e257600080fd5b506103f66103f1366004614323565b610c20565b005b34801561040457600080fd5b5061040e60105481565b60405190815260200161039d565b34801561042857600080fd5b5060025461040e565b34801561043d57600080fd5b506103c661044c366004614345565b610d35565b34801561045d57600080fd5b5061040e600d5481565b34801561047357600080fd5b5061040e600e5481565b34801561048957600080fd5b506009546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161039d565b3480156104db57600080fd5b5061040e610e1b565b3480156104f057600080fd5b506040516012815260200161039d565b34801561050c57600080fd5b506103f661051b366004614386565b610eb4565b34801561052c57600080fd5b506103c661053b3660046142f7565b610fbe565b34801561054c57600080fd5b506103f661055b3660046143a3565b611007565b34801561056c57600080fd5b506103f66110df565b34801561058157600080fd5b506103c6610590366004614386565b73ffffffffffffffffffffffffffffffffffffffff1660009081526013602052604090205460ff1690565b3480156105c757600080fd5b506103f66105d63660046142f7565b61117d565b3480156105e757600080fd5b5061040e61129a565b3480156105fc57600080fd5b5061040e61060b366004614386565b61130a565b34801561061c57600080fd5b506103f661062b3660046143a3565b6113a0565b34801561063c57600080fd5b5061040e61064b366004614386565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561067f57600080fd5b506103f661143b565b34801561069457600080fd5b506103f66106a33660046143a3565b6114c8565b3480156106b457600080fd5b506103f66106c3366004614386565b61157a565b3480156106d457600080fd5b50600a546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561070157600080fd5b506103f66107103660046143a3565b6116c9565b34801561072157600080fd5b506011546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561074e57600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166104aa565b34801561077957600080fd5b506103906117ba565b34801561078e57600080fd5b506103f661079d3660046143ca565b6117c9565b3480156107ae57600080fd5b506103f66107bd366004614386565b6118db565b3480156107ce57600080fd5b5061040e60125481565b3480156107e457600080fd5b506103f66107f3366004614386565b611ae0565b34801561080457600080fd5b5061040e611e32565b34801561081957600080fd5b506103c66108283660046142f7565b611ea2565b34801561083957600080fd5b5061040e610848366004614386565b611f7a565b34801561085957600080fd5b506103c66108683660046142f7565b611fd3565b34801561087957600080fd5b5061088d610888366004614386565b611fe0565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161039d565b3480156108eb57600080fd5b506103f66108fa3660046143a3565b6120a1565b34801561090b57600080fd5b5061040e600f5481565b34801561092157600080fd5b506103c6610930366004614386565b60146020526000908152604090205460ff1681565b34801561095157600080fd5b506103f66109603660046143ca565b612161565b34801561097157600080fd5b506103f6610980366004614386565b6122cf565b34801561099157600080fd5b506103f66109a03660046143a3565b61240d565b3480156109b157600080fd5b506006546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156109de57600080fd5b50600b546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610a0b57600080fd5b5061040e610a1a366004614403565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610a5e57600080fd5b506103f6610a6d366004614386565b6124ff565b348015610a7e57600080fd5b506008546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610aab57600080fd5b5061040e600c5481565b348015610ac157600080fd5b5061040e612654565b348015610ad657600080fd5b506103f6610ae53660046143a3565b6126c4565b348015610af657600080fd5b506007546104aa9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610b2357600080fd5b5061088d610b323660046143a3565b61279c565b348015610b4357600080fd5b506103f6610b52366004614386565b612804565b348015610b6357600080fd5b506103f6610b72366004614386565b612931565b606060038054610b8690614431565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb290614431565b8015610bff5780601f10610bd457610100808354040283529160200191610bff565b820191906000526020600020905b815481529060010190602001808311610be257829003601f168201915b5050505050905090565b6000610c16338484612a46565b5060015b92915050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610ca6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600a610cb282846144b3565b1115610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f546f74616c2066656573206d757374206e6f74206578636565642031302500006044820152606401610c9d565b600e819055600f829055610d2e82826144b3565b6010555050565b6000610d42848484612bf9565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482811015610e03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610c9d565b610e108533858403612a46565b506001949350505050565b600954604080517f85a6b3ae000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916385a6b3ae9160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf91906144c6565b905090565b60055473ffffffffffffffffffffffffffffffffffffffff163314610f35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6009546040517f31e79db000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152909116906331e79db0906024015b600060405180830381600087803b158015610fa357600080fd5b505af1158015610fb7573d6000803e3d6000fd5b5050505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610c169185906110029086906144b3565b612a46565b60055473ffffffffffffffffffffffffffffffffffffffff163314611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6009546040517f0dcb2e890000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690630dcb2e8990602401610f89565b6009546040517fbc4c4b370000000000000000000000000000000000000000000000000000000081523360048201526000602482015273ffffffffffffffffffffffffffffffffffffffff9091169063bc4c4b37906044016020604051808303816000875af1158015611156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117a91906144df565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146111fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810182905273ffffffffffffffffffffffffffffffffffffffff83169063a9059cbb906044016020604051808303816000875af1158015611271573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129591906144df565b505050565b600954604080517f09bbedde000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916309bbedde9160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b6009546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009216906370a08231906024015b602060405180830381865afa15801561137c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1a91906144c6565b6009546040517fffb2c4790000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff9091169063ffb2c479906024016060604051808303816000875af1158015611411573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143591906144fc565b50505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146114bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6114c66000613721565b565b60055473ffffffffffffffffffffffffffffffffffffffff163314611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b604051339082156108fc029083906000818181858888f19350505050158015611576573d6000803e3d6000fd5b5050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146115fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60085473ffffffffffffffffffffffffffffffffffffffff90811690821603611682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9060208082526004908201527f53616d6500000000000000000000000000000000000000000000000000000000604082015260600190565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff16331461174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60125481036117b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4e65772076616c7565206d75737420626520646966666572656e7400000000006044820152606401610c9d565b601255565b606060048054610b8690614431565b60055473ffffffffffffffffffffffffffffffffffffffff16331461184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60075473ffffffffffffffffffffffffffffffffffffffff908116908316036118d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9060208082526004908201527f53616d6500000000000000000000000000000000000000000000000000000000604082015260600190565b6115768282613798565b60055473ffffffffffffffffffffffffffffffffffffffff16331461195c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166119a9576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff16636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611a33575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611a30918101906144c6565b60015b611a69576040517f8a87e58400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84811691909117909155604051908416907fe3b4d7b525fde85c2cf630f2172f5e4bc1630ad323a06c2377fa11c86a813e2c90600090a2505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611b61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b60065473ffffffffffffffffffffffffffffffffffffffff90811690821603611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9060208082526004908201527f53616d6500000000000000000000000000000000000000000000000000000000604082015260600190565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604080517fc45a015500000000000000000000000000000000000000000000000000000000815290516000929163c45a01559160048083019260209291908290030181865afa158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca6919061452a565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d53919061452a565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff9283166004820152911660248201526044016020604051808303816000875af1158015611dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de9919061452a565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff929092169190911790555050565b600954604080517f6f2789ec000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691636f2789ec9160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015611f63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610c9d565b611f703385858403612a46565b5060019392505050565b6009546040517fa8b9d24000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152600092169063a8b9d2409060240161135f565b6000610c16338484612bf9565b6009546040517ffbcbc0f100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa158015612062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120869190614547565b97509750975097509750975097509750919395975091939597565b60055473ffffffffffffffffffffffffffffffffffffffff163314612122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b8060000361215c576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c55565b60055473ffffffffffffffffffffffffffffffffffffffff1633146121e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff821660009081526013602052604090205481151560ff909116151503612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4578636c756465640000000000000000000000000000000000000000000000006044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260136020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff163314612350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020548015611576576009546040517fb817d72500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018490529091169063b817d725906044015b600060405180830381600087803b1580156123f157600080fd5b505af1158015612405573d6000803e3d6000fd5b505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461248e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b600c548110156124fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d757374206265203e3d2073776170546f6b656e734174416d6f756e740000006044820152606401610c9d565b600d55565b60055473ffffffffffffffffffffffffffffffffffffffff163314612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166125cd576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8381169182179092556009546040517fde320cc100000000000000000000000000000000000000000000000000000000815260048101929092529091169063de320cc190602401610f89565b600954604080517fe7841ec0000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163e7841ec09160048083019260209291908290030181865afa158015610e8b573d6000803e3d6000fd5b60055473ffffffffffffffffffffffffffffffffffffffff163314612745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b6009546040517fe98030c70000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff9091169063e98030c790602401610f89565b6009546040517f5183d6fd00000000000000000000000000000000000000000000000000000000815260048101839052600091829182918291829182918291829173ffffffffffffffffffffffffffffffffffffffff90911690635183d6fd90602401612044565b60055473ffffffffffffffffffffffffffffffffffffffff163314612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8116612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c9d565b61117a81613721565b60055473ffffffffffffffffffffffffffffffffffffffff1633146129b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff81166129ff576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff8316612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8216612b8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316612c46576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612c93576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003612ccd576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526014602052604081205460ff16158015612d29575073ffffffffffffffffffffffffffffffffffffffff831660009081526014602052604090205460ff16155b30600090815260208190526040902054600c549192509081108015908190612d6c575060085474010000000000000000000000000000000000000000900460ff16155b8015612d76575082155b8015612da7575073ffffffffffffffffffffffffffffffffffffffff851660009081526014602052604090205460ff165b8015612dce575060055473ffffffffffffffffffffffffffffffffffffffff878116911614155b8015612df5575060055473ffffffffffffffffffffffffffffffffffffffff868116911614155b8015612e0357506000601054115b15612ea957600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790553060009081526020819052604081205490506000600d54118015612e6c5750600d5481115b15612e765750600d545b612e7f816138df565b50600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60085460009074010000000000000000000000000000000000000000900460ff16158015612efd575073ffffffffffffffffffffffffffffffffffffffff871660009081526013602052604090205460ff16155b8015612f2f575073ffffffffffffffffffffffffffffffffffffffff861660009081526013602052604090205460ff16155b8015612f39575083155b9050808015612f4a57506000601054115b8015612faa575073ffffffffffffffffffffffffffffffffffffffff871660009081526014602052604090205460ff1680612faa575073ffffffffffffffffffffffffffffffffffffffff861660009081526014602052604090205460ff165b15612fe6576000606460105487612fc191906145db565b612fcb91906145f2565b9050612fd7818761462d565b9550612fe4883083613c63565b505b612ff1878787613c63565b6009546040517f4e7b827f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff898116600483015290911690634e7b827f90602401602060405180830381865afa158015613061573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308591906144df565b61329c5760095473ffffffffffffffffffffffffffffffffffffffff1663e30443bc886130d48173ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561313f57600080fd5b505af1925050508015613150575060015b61329c5761315c614640565b806308c379a0036131e057506131706146ce565b8061317b57506131e2565b73ffffffffffffffffffffffffffffffffffffffff88166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b090836040516131d292919061478f565b60405180910390a25061329c565b505b3d80801561320c576040519150601f19603f3d011682016040523d82523d6000602084013e613211565b606091505b5073ffffffffffffffffffffffffffffffffffffffff88166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b0906040805191825260208201819052600f908201527f4c6f772d6c6576656c206572726f72000000000000000000000000000000000060608201526080016131d2565b6009546040517f4e7b827f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015290911690634e7b827f90602401602060405180830381865afa15801561330c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061333091906144df565b6135475760095473ffffffffffffffffffffffffffffffffffffffff1663e30443bc8761337f8173ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156133ea57600080fd5b505af19250505080156133fb575060015b61354757613407614640565b806308c379a00361348b575061341b6146ce565b80613426575061348d565b73ffffffffffffffffffffffffffffffffffffffff87166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b0908360405161347d92919061478f565b60405180910390a250613547565b505b3d8080156134b7576040519150601f19603f3d011682016040523d82523d6000602084013e6134bc565b606091505b5073ffffffffffffffffffffffffffffffffffffffff87166000818152602081905260409020547f0c3c7a5b1ddc597999d347e19de5a973a601654933afbe11525dd064a6c149b0906040805191825260208201819052600f908201527f4c6f772d6c6576656c206572726f720000000000000000000000000000000000606082015260800161347d565b83158015613570575060085474010000000000000000000000000000000000000000900460ff16155b801561360d5750600954604080517f09bbedde000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916309bbedde9160048083019260209291908290030181865afa1580156135e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360b91906144c6565b115b15613718576012546009546040517fffb2c4790000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff9091169063ffb2c479906024016060604051808303816000875af19250505080156136c0575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136bd918101906144fc565b60015b156137165760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b50505050505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526014602052604090205481151560ff90911615150361382f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f53616d652056616c7565000000000000000000000000000000000000000000006044820152606401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260146020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215801591909117909155611576576009546040517f31e79db000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152909116906331e79db0906024016123d7565b476138e982613f16565b60006138f5824761462d565b905061390081614093565b600b546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561396f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061399391906144c6565b90506000601054600f5460646139a991906145db565b6139b391906145f2565b90506000601054600e5460646139c991906145db565b6139d391906145f2565b9050600060646139e384866145db565b6139ed91906145f2565b9050600060646139fd84876145db565b613a0791906145f2565b90506000600f54118015613a1b5750600082115b15613ac157600b546011546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810185905291169063a9059cbb906044016020604051808303816000875af1158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abf91906144df565b505b801561371657600b546009546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af1158015613b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b6b91906144df565b905080613bd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4469766964656e64207472616e73666572206661696c656400000000000000006044820152606401610c9d565b6009546040517f3243c7910000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff90911690633243c79190602401600060405180830381600087803b158015613c4057600080fd5b505af1158015613c54573d6000803e3d6000fd5b50505050505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316613d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff8216613da9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015613e5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610c9d565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290613ea39084906144b3565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613f0991815260200190565b60405180910390a3611435565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613f4b57613f4b6147b0565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015613fca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fee919061452a565b81600181518110614001576140016147b0565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546140349130911684612a46565b6006546040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063791ac947906123d7908590600090869030904290600401614831565b6040805160028082526060820183526000926020830190803683375050600854604080517fad5c4648000000000000000000000000000000000000000000000000000000008152905193945073ffffffffffffffffffffffffffffffffffffffff9091169263ad5c4648925060048083019260209291908290030181865afa158015614123573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614147919061452a565b8160008151811061415a5761415a6147b0565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152600b54825191169082906001908110614198576141986147b0565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526008546141cb9130911684612a46565b6008546040517fb6f9de9500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b6f9de9590849061422a9060009086903090429060040161487a565b6000604051808303818588803b15801561424357600080fd5b505af1158015613718573d6000803e3d6000fd5b6000815180845260005b8181101561427d57602081850181015186830182015201614261565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006142ce6020830184614257565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461117a57600080fd5b6000806040838503121561430a57600080fd5b8235614315816142d5565b946020939093013593505050565b6000806040838503121561433657600080fd5b50508035926020909101359150565b60008060006060848603121561435a57600080fd5b8335614365816142d5565b92506020840135614375816142d5565b929592945050506040919091013590565b60006020828403121561439857600080fd5b81356142ce816142d5565b6000602082840312156143b557600080fd5b5035919050565b801515811461117a57600080fd5b600080604083850312156143dd57600080fd5b82356143e8816142d5565b915060208301356143f8816143bc565b809150509250929050565b6000806040838503121561441657600080fd5b8235614421816142d5565b915060208301356143f8816142d5565b600181811c9082168061444557607f821691505b60208210810361447e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610c1a57610c1a614484565b6000602082840312156144d857600080fd5b5051919050565b6000602082840312156144f157600080fd5b81516142ce816143bc565b60008060006060848603121561451157600080fd5b5050815160208301516040909301519094929350919050565b60006020828403121561453c57600080fd5b81516142ce816142d5565b600080600080600080600080610100898b03121561456457600080fd5b885161456f816142d5565b80985050600060208a0151905080975050600060408a0151905080965050600060608a0151905080955050600060808a0151905080945050600060a08a0151905080935050600060c08a0151905080925050600060e08a01519050809150509295985092959890939650565b8082028115828204841417610c1a57610c1a614484565b600082614628577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610c1a57610c1a614484565b600060033d11156146595760046000803e5060005160e01c5b90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156146c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040525050565b600060443d10156146dc5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d016004823e80513d602482011167ffffffffffffffff8211171561472457505090565b808201805167ffffffffffffffff811115614740575050505090565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d8501016020828401011115614778575050505090565b6147876020828501018561465c565b509392505050565b8281526040602082015260006147a86040830184614257565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081518084526020840193506020830160005b8281101561482757815173ffffffffffffffffffffffffffffffffffffffff168652602095860195909101906001016147f3565b5093949350505050565b85815284602082015260a06040820152600061485060a08301866147df565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b84815260806020820152600061489360808301866147df565b73ffffffffffffffffffffffffffffffffffffffff94909416604083015250606001529291505056fea2646970667358221220065451f48d3d2a1eae749f0d04f9b8b57689425c05f2d41f232fd1c38f253a1364736f6c634300081c0033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000af02d78f39c0002d14b95a3be272da02379aff21000000000000000000000000a476c97d8d1ec7d263eafa0039645dbe0cc0a0120000000000000000000000008ebc409998ef75661a4c464ff9bbb490586f954a000000000000000000000000a7f684d7ab03bba41af8c3cc3aca20a7815af1730000000000000000000000000000000000000000000000000000000000000005576172696f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005574152494f000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Wario
Arg [1] : symbol (string): WARIO
Arg [2] : _rewardsToken (address): 0xaF02D78F39C0002D14b95A3bE272DA02379AfF21
Arg [3] : _rewardsRouter (address): 0xa476c97D8d1ec7D263EAfa0039645DBe0cc0a012
Arg [4] : _router (address): 0x8EbC409998ef75661A4C464ff9bbb490586F954a
Arg [5] : _ecosystemWallet (address): 0xa7F684d7Ab03BBa41af8c3CC3AcA20a7815af173

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000af02d78f39c0002d14b95a3be272da02379aff21
Arg [3] : 000000000000000000000000a476c97d8d1ec7d263eafa0039645dbe0cc0a012
Arg [4] : 0000000000000000000000008ebc409998ef75661a4c464ff9bbb490586f954a
Arg [5] : 000000000000000000000000a7f684d7ab03bba41af8c3cc3aca20a7815af173
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 576172696f000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 574152494f000000000000000000000000000000000000000000000000000000


Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.