Address Details
contract
token

0x39eCEF094be9526ab46FeA3F0f92581A8295ED8B

Token
Astral (AS)
Creator
0x9ded45–88864d at 0xba24cc–f63d13
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
46,198 Transactions
Transfers
46,162 Transfers
Gas Used
4,037,356,946
Last Balance Update
28444568
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CoinToken




Optimization enabled
true
Compiler version
v0.8.2+commit.661d1103




Optimization runs
200
EVM Version
istanbul




Verified at
2022-02-24T07:39:33.872053Z

browser/MXL.sol

/**
 *Submitted for verification at hecoinfo.com on 2021-09-25
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;


abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

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

/**
 * @dev Interface of the BEP20 standard as defined in the EIP.
 */
interface IBEP20 {
    /**
     * @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);
}

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

contract CoinToken is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

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

    mapping (address => bool) private _isExcluded;
    mapping (address => bool) private _isCharity;
    address[] private _excluded;
    
    string  private _NAME;
    string  private _SYMBOL;
    uint256   private _DECIMALS;
	address public FeeAddress;
   
    uint256 private _MAX = ~uint256(0);
    uint256 private _DECIMALFACTOR;
    uint256 private _GRANULARITY = 100;
    
    uint256 private _tTotal;
    uint256 private _rTotal;
    
    uint256 private _tFeeTotal;
    uint256 private _tBurnTotal;
    uint256 private _tCharityTotal;
    
    uint256 public     _TAX_FEE;
    uint256 public    _BURN_FEE;
    uint256 public _CHARITY_FEE;

    // Track original fees to bypass fees for charity account
    uint256 private ORIG_TAX_FEE;
    uint256 private ORIG_BURN_FEE;
    uint256 private ORIG_CHARITY_FEE;

    constructor (string memory _name, string memory _symbol, uint256 _decimals, uint256 _supply, uint256 _txFee,uint256 _burnFee,uint256 _charityFee,address _FeeAddress,address tokenOwner) {
		_NAME = _name;
		_SYMBOL = _symbol;
		_DECIMALS = _decimals;
		_DECIMALFACTOR = 10 ** uint256(_DECIMALS);
		_tTotal =_supply * _DECIMALFACTOR;
		_rTotal = (_MAX - (_MAX % _tTotal));
		_TAX_FEE = _txFee* 100; 
        _BURN_FEE = _burnFee * 100;
		_CHARITY_FEE = _charityFee* 100;
		ORIG_TAX_FEE = _TAX_FEE;
		ORIG_BURN_FEE = _BURN_FEE;
		ORIG_CHARITY_FEE = _CHARITY_FEE;
		_isCharity[_FeeAddress] = true;
		FeeAddress = _FeeAddress;
		_owner = tokenOwner;
        _rOwned[tokenOwner] = _rTotal;
		
        emit Transfer(address(0),tokenOwner, _tTotal);
    }

    function name() public view returns (string memory) {
        return _NAME;
    }

    function symbol() public view returns (string memory) {
        return _SYMBOL;
    }

    function decimals() public view returns (uint256) {
        return _DECIMALS;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "TOKEN20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "TOKEN20: decreased allowance below zero"));
        return true;
    }

    function isExcluded(address account) public view returns (bool) {
        return _isExcluded[account];
    }
    
    function isCharity(address account) public view returns (bool) {
        return _isCharity[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }
    
    function totalBurn() public view returns (uint256) {
        return _tBurnTotal;
    }
    
    function totalCharity() public view returns (uint256) {
        return _tCharityTotal;
    }

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        (uint256 rAmount,,,,,,) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount.div(currentRate);
    }

    function excludeAccount(address account) external onlyOwner() {
        require(!_isExcluded[account], "Account is already excluded");
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeAccount(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function setAsCharityAccount(address account) external onlyOwner() {
        require(!_isCharity[account], "Account is already charity account");
        _isCharity[account] = true;
		FeeAddress = account;
    }

	function burn(uint256 _value) public{
		_burn(msg.sender, _value);
	}
	
	function updateFee(uint256 _txFee,uint256 _burnFee,uint256 _charityFee) onlyOwner() public{
        _TAX_FEE = _txFee* 100; 
        _BURN_FEE = _burnFee * 100;
		_CHARITY_FEE = _charityFee* 100;
		ORIG_TAX_FEE = _TAX_FEE;
		ORIG_BURN_FEE = _BURN_FEE;
		ORIG_CHARITY_FEE = _CHARITY_FEE;
	}
	

	function _burn(address _who, uint256 _value) internal {
		require(_value <= _rOwned[_who]);
		_rOwned[_who] = _rOwned[_who].sub(_value);
		_tTotal = _tTotal.sub(_value);
		emit Transfer(_who, address(0), _value);
	}

    function mint(address account, uint256 amount) onlyOwner() public {

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



    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "TOKEN20: approve from the zero address");
        require(spender != address(0), "TOKEN20: approve to the zero address");

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

    function _transfer(address sender, address recipient, uint256 amount) private {
        require(sender != address(0), "TOKEN20: transfer from the zero address");
        require(recipient != address(0), "TOKEN20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        // Remove fees for transfers to and from charity account or to excluded account
        bool takeFee = true;
        if (_isCharity[sender] || _isCharity[recipient] || _isExcluded[recipient]) {
            takeFee = false;
        }

        if (!takeFee) removeAllFee();
        
        
        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if (!takeFee) restoreAllFee();
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
        uint256 rBurn =  tBurn.mul(currentRate);
        uint256 rCharity = tCharity.mul(currentRate);     
        _standardTransferContent(sender, recipient, rAmount, rTransferAmount);
        _sendToCharity(tCharity, sender);
        _reflectFee(rFee, rBurn, rCharity, tFee, tBurn, tCharity);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
    function _standardTransferContent(address sender, address recipient, uint256 rAmount, uint256 rTransferAmount) private {
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
    }
    
    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
        uint256 rBurn =  tBurn.mul(currentRate);
        uint256 rCharity = tCharity.mul(currentRate);
        _excludedFromTransferContent(sender, recipient, tTransferAmount, rAmount, rTransferAmount);        
        _sendToCharity(tCharity, sender);
        _reflectFee(rFee, rBurn, rCharity, tFee, tBurn, tCharity);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
    function _excludedFromTransferContent(address sender, address recipient, uint256 tTransferAmount, uint256 rAmount, uint256 rTransferAmount) private {
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);    
    }
    

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
        uint256 rBurn =  tBurn.mul(currentRate);
        uint256 rCharity = tCharity.mul(currentRate);
        _excludedToTransferContent(sender, recipient, tAmount, rAmount, rTransferAmount);
        _sendToCharity(tCharity, sender);
        _reflectFee(rFee, rBurn, rCharity, tFee, tBurn, tCharity);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
    function _excludedToTransferContent(address sender, address recipient, uint256 tAmount, uint256 rAmount, uint256 rTransferAmount) private {
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);  
    }

    function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
        uint256 rBurn =  tBurn.mul(currentRate);
        uint256 rCharity = tCharity.mul(currentRate);    
        _bothTransferContent(sender, recipient, tAmount, rAmount, tTransferAmount, rTransferAmount);  
        _sendToCharity(tCharity, sender);
        _reflectFee(rFee, rBurn, rCharity, tFee, tBurn, tCharity);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
    function _bothTransferContent(address sender, address recipient, uint256 tAmount, uint256 rAmount, uint256 tTransferAmount, uint256 rTransferAmount) private {
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);  
    }

    function _reflectFee(uint256 rFee, uint256 rBurn, uint256 rCharity, uint256 tFee, uint256 tBurn, uint256 tCharity) private {
        _rTotal = _rTotal.sub(rFee).sub(rBurn).sub(rCharity);
        _tFeeTotal = _tFeeTotal.add(tFee);
        _tBurnTotal = _tBurnTotal.add(tBurn);
        _tCharityTotal = _tCharityTotal.add(tCharity);
        _tTotal = _tTotal.sub(tBurn);
		emit Transfer(address(this), address(0), tBurn);
    }
    

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tFee, uint256 tBurn, uint256 tCharity) = _getTBasics(tAmount, _TAX_FEE, _BURN_FEE, _CHARITY_FEE);
        uint256 tTransferAmount = getTTransferAmount(tAmount, tFee, tBurn, tCharity);
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rFee) = _getRBasics(tAmount, tFee, currentRate);
        uint256 rTransferAmount = _getRTransferAmount(rAmount, rFee, tBurn, tCharity, currentRate);
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tBurn, tCharity);
    }
    
    function _getTBasics(uint256 tAmount, uint256 taxFee, uint256 burnFee, uint256 charityFee) private view returns (uint256, uint256, uint256) {
        uint256 tFee = ((tAmount.mul(taxFee)).div(_GRANULARITY)).div(100);
        uint256 tBurn = ((tAmount.mul(burnFee)).div(_GRANULARITY)).div(100);
        uint256 tCharity = ((tAmount.mul(charityFee)).div(_GRANULARITY)).div(100);
        return (tFee, tBurn, tCharity);
    }
    
    function getTTransferAmount(uint256 tAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) private pure returns (uint256) {
        return tAmount.sub(tFee).sub(tBurn).sub(tCharity);
    }
    
    function _getRBasics(uint256 tAmount, uint256 tFee, uint256 currentRate) private pure returns (uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        return (rAmount, rFee);
    }
    
    function _getRTransferAmount(uint256 rAmount, uint256 rFee, uint256 tBurn, uint256 tCharity, uint256 currentRate) private pure returns (uint256) {
        uint256 rBurn = tBurn.mul(currentRate);
        uint256 rCharity = tCharity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rBurn).sub(rCharity);
        return rTransferAmount;
    }

    function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;      
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _sendToCharity(uint256 tCharity, address sender) private {
        uint256 currentRate = _getRate();
        uint256 rCharity = tCharity.mul(currentRate);
        _rOwned[FeeAddress] = _rOwned[FeeAddress].add(rCharity);
        _tOwned[FeeAddress] = _tOwned[FeeAddress].add(tCharity);
        emit Transfer(sender, FeeAddress, tCharity);
    }

    function removeAllFee() private {
        if(_TAX_FEE == 0 && _BURN_FEE == 0 && _CHARITY_FEE == 0) return;
        
        ORIG_TAX_FEE = _TAX_FEE;
        ORIG_BURN_FEE = _BURN_FEE;
        ORIG_CHARITY_FEE = _CHARITY_FEE;
        
        _TAX_FEE = 0;
        _BURN_FEE = 0;
        _CHARITY_FEE = 0;
    }
    
    function restoreAllFee() private {
        _TAX_FEE = ORIG_TAX_FEE;
        _BURN_FEE = ORIG_BURN_FEE;
        _CHARITY_FEE = ORIG_CHARITY_FEE;
    }
    
    function _getTaxFee() private view returns(uint256) {
        return _TAX_FEE;
    }


}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"uint256","name":"_decimals","internalType":"uint256"},{"type":"uint256","name":"_supply","internalType":"uint256"},{"type":"uint256","name":"_txFee","internalType":"uint256"},{"type":"uint256","name":"_burnFee","internalType":"uint256"},{"type":"uint256","name":"_charityFee","internalType":"uint256"},{"type":"address","name":"_FeeAddress","internalType":"address"},{"type":"address","name":"tokenOwner","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"FeeAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_BURN_FEE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_CHARITY_FEE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_TAX_FEE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"_value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deliver","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isCharity","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcluded","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFromToken","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"},{"type":"bool","name":"deductTransferFee","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAsCharityAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenFromReflection","inputs":[{"type":"uint256","name":"rAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalBurn","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalCharity","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateFee","inputs":[{"type":"uint256","name":"_txFee","internalType":"uint256"},{"type":"uint256","name":"_burnFee","internalType":"uint256"},{"type":"uint256","name":"_charityFee","internalType":"uint256"}]}]
              

Contract Creation Code

0x6080604052600019600b556064600d553480156200001c57600080fd5b506040516200288a3803806200288a8339810160408190526200003f916200030b565b8851620000549060079060208c019062000195565b5087516200006a9060089060208b019062000195565b5060098790556200007d87600a62000415565b600c8190556200008e90876200050a565b600e819055600b54620000a2919062000583565b600b54620000b191906200052c565b600f55620000c18560646200050a565b601355620000d18460646200050a565b601455620000e18360646200050a565b60158190556013546016556014546017556018556001600160a01b038281166000818152600560209081526040808320805460ff19166001908117909155600a80546001600160a01b0319908116909617905583549587169590941685178355600f5485845293825280832093909355600e54925192835290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050505050505050620005d0565b828054620001a39062000546565b90600052602060002090601f016020900481019282620001c7576000855562000212565b82601f10620001e257805160ff191683800117855562000212565b8280016001018555821562000212579182015b8281111562000212578251825591602001919060010190620001f5565b506200022092915062000224565b5090565b5b8082111562000220576000815560010162000225565b80516001600160a01b03811681146200025357600080fd5b919050565b600082601f83011262000269578081fd5b81516001600160401b0380821115620002865762000286620005ba565b604051601f8301601f19908116603f01168101908282118183101715620002b157620002b1620005ba565b81604052838152602092508683858801011115620002cd578485fd5b8491505b83821015620002f05785820183015181830184015290820190620002d1565b838211156200030157848385830101525b9695505050505050565b60008060008060008060008060006101208a8c0312156200032a578485fd5b89516001600160401b038082111562000341578687fd5b6200034f8d838e0162000258565b9a5060208c015191508082111562000365578687fd5b50620003748c828d0162000258565b98505060408a0151965060608a0151955060808a0151945060a08a0151935060c08a01519250620003a860e08b016200023b565b9150620003b96101008b016200023b565b90509295985092959850929598565b80825b6001808611620003dc57506200040c565b818704821115620003f157620003f1620005a4565b80861615620003ff57918102915b9490941c938002620003cb565b94509492505050565b60006200042660001984846200042d565b9392505050565b6000826200043e5750600162000426565b816200044d5750600062000426565b81600181146200046657600281146200047157620004a5565b600191505062000426565b60ff841115620004855762000485620005a4565b6001841b9150848211156200049e576200049e620005a4565b5062000426565b5060208310610133831016604e8410600b8410161715620004dd575081810a83811115620004d757620004d7620005a4565b62000426565b620004ec8484846001620003c8565b808604821115620005015762000501620005a4565b02949350505050565b6000816000190483118215151615620005275762000527620005a4565b500290565b600082821015620005415762000541620005a4565b500390565b6002810460018216806200055b57607f821691505b602082108114156200057d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200059f57634e487b7160e01b81526012600452602481fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6122aa80620005e06000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806377ef79931161011a578063b5862428116100ad578063e81ffbef1161007c578063e81ffbef14610425578063f2cc0c1814610451578063f2fde38b14610464578063f84354f114610477578063fc061a4f1461048a576101fb565b8063b5862428146103af578063cba0e996146103b8578063d608b3b2146103e4578063dd62ed3e146103ec576101fb565b8063a457c2d7116100e9578063a457c2d71461036d578063a9059cbb14610380578063ae9dd5e014610393578063b2bdfa7b1461039c576101fb565b806377ef7993146103205780637b7e8bac146103295780638da5cb5b1461035457806395d89b4114610365576101fb565b80633bd5d173116101925780634549b039116101615780634549b039146102df578063457bdf6c146102f257806370a0823114610305578063715018a614610318576101fb565b80633bd5d1731461029c5780633c9f861d146102b157806340c10f19146102b957806342966c68146102cc576101fb565b806323b872dd116101ce57806323b872dd1461025b5780632d8381191461026e578063313ce567146102815780633950935114610289576101fb565b806306fdde0314610200578063095ea7b31461021e57806313114a9d1461024157806318160ddd14610253575b600080fd5b61020861049d565b60405161021591906120a1565b60405180910390f35b61023161022c366004612002565b61052f565b6040519015158152602001610215565b6010545b604051908152602001610215565b600e54610245565b610231610269366004611fc7565b610546565b61024561027c36600461202b565b6105af565b600954610245565b610231610297366004612002565b61063a565b6102af6102aa36600461202b565b610670565b005b601154610245565b6102af6102c7366004612002565b61075c565b6102af6102da36600461202b565b610804565b6102456102ed366004612043565b610811565b6102af610300366004611f7b565b6108a0565b610245610313366004611f7b565b610975565b6102af6109d7565b61024560145481565b600a5461033c906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b6000546001600160a01b031661033c565b610208610a4b565b61023161037b366004612002565b610a5a565b61023161038e366004612002565b610aa9565b61024560155481565b60005461033c906001600160a01b031681565b61024560135481565b6102316103c6366004611f7b565b6001600160a01b031660009081526004602052604090205460ff1690565b601254610245565b6102456103fa366004611f95565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610231610433366004611f7b565b6001600160a01b031660009081526005602052604090205460ff1690565b6102af61045f366004611f7b565b610ab6565b6102af610472366004611f7b565b610c09565b6102af610485366004611f7b565b610cf3565b6102af610498366004612076565b610ee3565b6060600780546104ac90612197565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890612197565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b600061053c338484610f4d565b5060015b92915050565b6000610553848484611075565b6105a584336105a0856040518060600160405280602a815260200161222b602a91396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611392565b610f4d565b5060019392505050565b6000600f5482111561061b5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b60006106256113cc565b905061063183826113ef565b9150505b919050565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161053c9185906105a09086611438565b3360008181526004602052604090205460ff16156106e55760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610612565b60006106f083611497565b5050506001600160a01b03861660009081526001602052604090205493945061071e9392508491505061151b565b6001600160a01b038316600090815260016020526040902055600f54610744908261151b565b600f556010546107549084611438565b601055505050565b6000546001600160a01b031633146107865760405162461bcd60e51b8152600401610612906120f4565b600e546107939082611438565b600e556001600160a01b0382166000908152600160205260409020546107b99082611438565b6001600160a01b038316600081815260016020526040808220939093559151909190600080516020612255833981519152906107f89085815260200190565b60405180910390a35050565b61080e338261155d565b50565b6000600e548311156108655760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610612565b8161088557600061087584611497565b5094965061054095505050505050565b600061089084611497565b5093965061054095505050505050565b6000546001600160a01b031633146108ca5760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b03811660009081526005602052604090205460ff161561093e5760405162461bcd60e51b815260206004820152602260248201527f4163636f756e7420697320616c72656164792063686172697479206163636f756044820152611b9d60f21b6064820152608401610612565b6001600160a01b03166000818152600560205260409020805460ff19166001179055600a80546001600160a01b0319169091179055565b6001600160a01b03811660009081526004602052604081205460ff16156109b557506001600160a01b038116600090815260026020526040902054610635565b6001600160a01b038216600090815260016020526040902054610540906105af565b6000546001600160a01b03163314610a015760405162461bcd60e51b8152600401610612906120f4565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6060600880546104ac90612197565b600061053c33846105a085604051806060016040528060278152602001612204602791393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611392565b600061053c338484611075565b6000546001600160a01b03163314610ae05760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b03811660009081526004602052604090205460ff1615610b495760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610612565b6001600160a01b03811660009081526001602052604090205415610ba3576001600160a01b038116600090815260016020526040902054610b89906105af565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000546001600160a01b03163314610c335760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b038116610c985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d1d5760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b03811660009081526004602052604090205460ff16610d855760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610612565b60005b600654811015610edf57816001600160a01b031660068281548110610dbd57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ecd5760068054610de890600190612180565b81548110610e0657634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610e4057634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556006805480610ea657634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610edf565b80610ed7816121d2565b915050610d88565b5050565b6000546001600160a01b03163314610f0d5760405162461bcd60e51b8152600401610612906120f4565b610f18836064612161565b601355610f26826064612161565b601455610f34816064612161565b6015819055601354601655601454601755601855505050565b6001600160a01b038316610fb25760405162461bcd60e51b815260206004820152602660248201527f544f4b454e32303a20617070726f76652066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b6001600160a01b0382166110145760405162461bcd60e51b8152602060048201526024808201527f544f4b454e32303a20617070726f766520746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610612565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110db5760405162461bcd60e51b815260206004820152602760248201527f544f4b454e32303a207472616e736665722066726f6d20746865207a65726f206044820152666164647265737360c81b6064820152608401610612565b6001600160a01b03821661113f5760405162461bcd60e51b815260206004820152602560248201527f544f4b454e32303a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610612565b600081116111a15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610612565b6001600160a01b03831660009081526005602052604090205460019060ff16806111e357506001600160a01b03831660009081526005602052604090205460ff165b8061120657506001600160a01b03831660009081526004602052604090205460ff165b1561120f575060005b8061121c5761121c6115fa565b6001600160a01b03841660009081526004602052604090205460ff16801561125d57506001600160a01b03831660009081526004602052604090205460ff16155b156112725761126d848484611643565b611370565b6001600160a01b03841660009081526004602052604090205460ff161580156112b357506001600160a01b03831660009081526004602052604090205460ff165b156112c35761126d848484611705565b6001600160a01b03841660009081526004602052604090205460ff1615801561130557506001600160a01b03831660009081526004602052604090205460ff16155b156113155761126d848484611765565b6001600160a01b03841660009081526004602052604090205460ff16801561135557506001600160a01b03831660009081526004602052604090205460ff165b156113655761126d8484846117c4565b611370848484611765565b8061138c5761138c601654601355601754601455601854601555565b50505050565b600081848411156113b65760405162461bcd60e51b815260040161061291906120a1565b5060006113c38486612180565b95945050505050565b60008060006113d9611825565b90925090506113e882826113ef565b9250505090565b600061143183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506119e2565b9392505050565b6000806114458385612129565b9050838110156114315760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610612565b6000806000806000806000806000806114b88b601354601454601554611a10565b92509250925060006114cc8c858585611a8f565b905060006114d86113cc565b90506000806114e88f8885611aa7565b9150915060006114fb8383898988611ad1565b929e50919c509a5091985093965091945092505050919395979092949650565b600061143183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611392565b6001600160a01b03821660009081526001602052604090205481111561158257600080fd5b6001600160a01b0382166000908152600160205260409020546115a5908261151b565b6001600160a01b038316600090815260016020526040902055600e546115cb908261151b565b600e556040518181526000906001600160a01b03841690600080516020612255833981519152906020016107f8565b60135415801561160a5750601454155b80156116165750601554155b1561162057611641565b60138054601655601480546017556015805460185560009283905590829055555b565b600061164d6113cc565b9050600080600080600080600061166389611497565b965096509650965096509650965060006116868984611b0d90919063ffffffff16565b90506000611694838b611b0d565b90506116a38d8d8d8c8c611b8c565b6116ad838e611c30565b6116bb878383888888611cff565b8b6001600160a01b03168d6001600160a01b0316600080516020612255833981519152886040516116ee91815260200190565b60405180910390a350505050505050505050505050565b600061170f6113cc565b9050600080600080600080600061172589611497565b965096509650965096509650965060006117488984611b0d90919063ffffffff16565b90506000611756838b611b0d565b90506116a38d8d888c8c611d8d565b600061176f6113cc565b9050600080600080600080600061178589611497565b965096509650965096509650965060006117a88984611b0d90919063ffffffff16565b905060006117b6838b611b0d565b90506116a38d8d8b8b611e15565b60006117ce6113cc565b905060008060008060008060006117e489611497565b965096509650965096509650965060006118078984611b0d90919063ffffffff16565b90506000611815838b611b0d565b90506116a38d8d8d8c8a8d611e89565b600f54600e546000918291825b6006548110156119b05782600160006006848154811061186257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806118db57508160026000600684815481106118b457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156118f257600f54600e54945094505050506119de565b611946600160006006848154811061191a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061151b565b925061199c600260006006848154811061197057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061151b565b9150806119a8816121d2565b915050611832565b50600e54600f546119c0916113ef565b8210156119d857600f54600e549350935050506119de565b90925090505b9091565b60008183611a035760405162461bcd60e51b815260040161061291906120a1565b5060006113c38486612141565b600080600080611a3a6064611a34600d54611a348b8d611b0d90919063ffffffff16565b906113ef565b90506000611a5c6064611a34600d54611a348b8e611b0d90919063ffffffff16565b90506000611a7e6064611a34600d54611a348b8f611b0d90919063ffffffff16565b929a91995091975095505050505050565b60006113c382611aa18581898961151b565b9061151b565b60008080611ab58685611b0d565b90506000611ac38686611b0d565b919791965090945050505050565b600080611ade8584611b0d565b90506000611aec8585611b0d565b90506000611b0082611aa185818d8d61151b565b9998505050505050505050565b600082611b1c57506000610540565b6000611b288385612161565b905082611b358583612141565b146114315760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610612565b6001600160a01b038516600090815260026020526040902054611baf908461151b565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611bde908361151b565b6001600160a01b038087166000908152600160205260408082209390935590861681522054611c0d9082611438565b6001600160a01b0390941660009081526001602052604090209390935550505050565b6000611c3a6113cc565b90506000611c488483611b0d565b600a546001600160a01b0316600090815260016020526040902054909150611c709082611438565b600a80546001600160a01b039081166000908152600160209081526040808320959095559254909116815260029091522054611cac9085611438565b600a80546001600160a01b0390811660009081526002602090815260409182902094909455915491518781529181169290861691600080516020612255833981519152910160405180910390a350505050565b611d1c84611aa187611aa18a600f5461151b90919063ffffffff16565b600f55601054611d2c9084611438565b601055601154611d3c9083611438565b601155601254611d4c9082611438565b601255600e54611d5c908361151b565b600e5560405182815260009030906000805160206122558339815191529060200160405180910390a3505050505050565b6001600160a01b038516600090815260016020526040902054611db0908361151b565b6001600160a01b03808716600090815260016020908152604080832094909455918716815260029091522054611de69084611438565b6001600160a01b038516600090815260026020908152604080832093909355600190522054611c0d9082611438565b6001600160a01b038416600090815260016020526040902054611e38908361151b565b6001600160a01b038086166000908152600160205260408082209390935590851681522054611e679082611438565b6001600160a01b03909316600090815260016020526040902092909255505050565b6001600160a01b038616600090815260026020526040902054611eac908561151b565b6001600160a01b038716600090815260026020908152604080832093909355600190522054611edb908461151b565b6001600160a01b03808816600090815260016020908152604080832094909455918816815260029091522054611f119083611438565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611f409082611438565b6001600160a01b039095166000908152600160205260409020949094555050505050565b80356001600160a01b038116811461063557600080fd5b600060208284031215611f8c578081fd5b61143182611f64565b60008060408385031215611fa7578081fd5b611fb083611f64565b9150611fbe60208401611f64565b90509250929050565b600080600060608486031215611fdb578081fd5b611fe484611f64565b9250611ff260208501611f64565b9150604084013590509250925092565b60008060408385031215612014578182fd5b61201d83611f64565b946020939093013593505050565b60006020828403121561203c578081fd5b5035919050565b60008060408385031215612055578182fd5b823591506020830135801515811461206b578182fd5b809150509250929050565b60008060006060848603121561208a578283fd5b505081359360208301359350604090920135919050565b6000602080835283518082850152825b818110156120cd578581018301518582016040015282016120b1565b818111156120de5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561213c5761213c6121ed565b500190565b60008261215c57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561217b5761217b6121ed565b500290565b600082821015612192576121926121ed565b500390565b6002810460018216806121ab57607f821691505b602082108114156121cc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121e6576121e66121ed565b5060010190565b634e487b7160e01b600052601160045260246000fdfe544f4b454e32303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f544f4b454e32303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205b2e8d4123ae113c3b0519d892cdcebeb36ffc159a7f3eeeffbe3c7817f7f6a064736f6c6343000802003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000009896800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000004d655f108956e7872cd118214e4f5073c79dddd30000000000000000000000006d960b43f909f390703a7f38318c87304d53da8a000000000000000000000000000000000000000000000000000000000000000641737472616c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024153000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806377ef79931161011a578063b5862428116100ad578063e81ffbef1161007c578063e81ffbef14610425578063f2cc0c1814610451578063f2fde38b14610464578063f84354f114610477578063fc061a4f1461048a576101fb565b8063b5862428146103af578063cba0e996146103b8578063d608b3b2146103e4578063dd62ed3e146103ec576101fb565b8063a457c2d7116100e9578063a457c2d71461036d578063a9059cbb14610380578063ae9dd5e014610393578063b2bdfa7b1461039c576101fb565b806377ef7993146103205780637b7e8bac146103295780638da5cb5b1461035457806395d89b4114610365576101fb565b80633bd5d173116101925780634549b039116101615780634549b039146102df578063457bdf6c146102f257806370a0823114610305578063715018a614610318576101fb565b80633bd5d1731461029c5780633c9f861d146102b157806340c10f19146102b957806342966c68146102cc576101fb565b806323b872dd116101ce57806323b872dd1461025b5780632d8381191461026e578063313ce567146102815780633950935114610289576101fb565b806306fdde0314610200578063095ea7b31461021e57806313114a9d1461024157806318160ddd14610253575b600080fd5b61020861049d565b60405161021591906120a1565b60405180910390f35b61023161022c366004612002565b61052f565b6040519015158152602001610215565b6010545b604051908152602001610215565b600e54610245565b610231610269366004611fc7565b610546565b61024561027c36600461202b565b6105af565b600954610245565b610231610297366004612002565b61063a565b6102af6102aa36600461202b565b610670565b005b601154610245565b6102af6102c7366004612002565b61075c565b6102af6102da36600461202b565b610804565b6102456102ed366004612043565b610811565b6102af610300366004611f7b565b6108a0565b610245610313366004611f7b565b610975565b6102af6109d7565b61024560145481565b600a5461033c906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b6000546001600160a01b031661033c565b610208610a4b565b61023161037b366004612002565b610a5a565b61023161038e366004612002565b610aa9565b61024560155481565b60005461033c906001600160a01b031681565b61024560135481565b6102316103c6366004611f7b565b6001600160a01b031660009081526004602052604090205460ff1690565b601254610245565b6102456103fa366004611f95565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610231610433366004611f7b565b6001600160a01b031660009081526005602052604090205460ff1690565b6102af61045f366004611f7b565b610ab6565b6102af610472366004611f7b565b610c09565b6102af610485366004611f7b565b610cf3565b6102af610498366004612076565b610ee3565b6060600780546104ac90612197565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890612197565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b600061053c338484610f4d565b5060015b92915050565b6000610553848484611075565b6105a584336105a0856040518060600160405280602a815260200161222b602a91396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611392565b610f4d565b5060019392505050565b6000600f5482111561061b5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b60006106256113cc565b905061063183826113ef565b9150505b919050565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161053c9185906105a09086611438565b3360008181526004602052604090205460ff16156106e55760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610612565b60006106f083611497565b5050506001600160a01b03861660009081526001602052604090205493945061071e9392508491505061151b565b6001600160a01b038316600090815260016020526040902055600f54610744908261151b565b600f556010546107549084611438565b601055505050565b6000546001600160a01b031633146107865760405162461bcd60e51b8152600401610612906120f4565b600e546107939082611438565b600e556001600160a01b0382166000908152600160205260409020546107b99082611438565b6001600160a01b038316600081815260016020526040808220939093559151909190600080516020612255833981519152906107f89085815260200190565b60405180910390a35050565b61080e338261155d565b50565b6000600e548311156108655760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610612565b8161088557600061087584611497565b5094965061054095505050505050565b600061089084611497565b5093965061054095505050505050565b6000546001600160a01b031633146108ca5760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b03811660009081526005602052604090205460ff161561093e5760405162461bcd60e51b815260206004820152602260248201527f4163636f756e7420697320616c72656164792063686172697479206163636f756044820152611b9d60f21b6064820152608401610612565b6001600160a01b03166000818152600560205260409020805460ff19166001179055600a80546001600160a01b0319169091179055565b6001600160a01b03811660009081526004602052604081205460ff16156109b557506001600160a01b038116600090815260026020526040902054610635565b6001600160a01b038216600090815260016020526040902054610540906105af565b6000546001600160a01b03163314610a015760405162461bcd60e51b8152600401610612906120f4565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6060600880546104ac90612197565b600061053c33846105a085604051806060016040528060278152602001612204602791393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611392565b600061053c338484611075565b6000546001600160a01b03163314610ae05760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b03811660009081526004602052604090205460ff1615610b495760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610612565b6001600160a01b03811660009081526001602052604090205415610ba3576001600160a01b038116600090815260016020526040902054610b89906105af565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000546001600160a01b03163314610c335760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b038116610c985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d1d5760405162461bcd60e51b8152600401610612906120f4565b6001600160a01b03811660009081526004602052604090205460ff16610d855760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610612565b60005b600654811015610edf57816001600160a01b031660068281548110610dbd57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ecd5760068054610de890600190612180565b81548110610e0657634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610e4057634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556006805480610ea657634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610edf565b80610ed7816121d2565b915050610d88565b5050565b6000546001600160a01b03163314610f0d5760405162461bcd60e51b8152600401610612906120f4565b610f18836064612161565b601355610f26826064612161565b601455610f34816064612161565b6015819055601354601655601454601755601855505050565b6001600160a01b038316610fb25760405162461bcd60e51b815260206004820152602660248201527f544f4b454e32303a20617070726f76652066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b6001600160a01b0382166110145760405162461bcd60e51b8152602060048201526024808201527f544f4b454e32303a20617070726f766520746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610612565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110db5760405162461bcd60e51b815260206004820152602760248201527f544f4b454e32303a207472616e736665722066726f6d20746865207a65726f206044820152666164647265737360c81b6064820152608401610612565b6001600160a01b03821661113f5760405162461bcd60e51b815260206004820152602560248201527f544f4b454e32303a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610612565b600081116111a15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610612565b6001600160a01b03831660009081526005602052604090205460019060ff16806111e357506001600160a01b03831660009081526005602052604090205460ff165b8061120657506001600160a01b03831660009081526004602052604090205460ff165b1561120f575060005b8061121c5761121c6115fa565b6001600160a01b03841660009081526004602052604090205460ff16801561125d57506001600160a01b03831660009081526004602052604090205460ff16155b156112725761126d848484611643565b611370565b6001600160a01b03841660009081526004602052604090205460ff161580156112b357506001600160a01b03831660009081526004602052604090205460ff165b156112c35761126d848484611705565b6001600160a01b03841660009081526004602052604090205460ff1615801561130557506001600160a01b03831660009081526004602052604090205460ff16155b156113155761126d848484611765565b6001600160a01b03841660009081526004602052604090205460ff16801561135557506001600160a01b03831660009081526004602052604090205460ff165b156113655761126d8484846117c4565b611370848484611765565b8061138c5761138c601654601355601754601455601854601555565b50505050565b600081848411156113b65760405162461bcd60e51b815260040161061291906120a1565b5060006113c38486612180565b95945050505050565b60008060006113d9611825565b90925090506113e882826113ef565b9250505090565b600061143183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506119e2565b9392505050565b6000806114458385612129565b9050838110156114315760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610612565b6000806000806000806000806000806114b88b601354601454601554611a10565b92509250925060006114cc8c858585611a8f565b905060006114d86113cc565b90506000806114e88f8885611aa7565b9150915060006114fb8383898988611ad1565b929e50919c509a5091985093965091945092505050919395979092949650565b600061143183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611392565b6001600160a01b03821660009081526001602052604090205481111561158257600080fd5b6001600160a01b0382166000908152600160205260409020546115a5908261151b565b6001600160a01b038316600090815260016020526040902055600e546115cb908261151b565b600e556040518181526000906001600160a01b03841690600080516020612255833981519152906020016107f8565b60135415801561160a5750601454155b80156116165750601554155b1561162057611641565b60138054601655601480546017556015805460185560009283905590829055555b565b600061164d6113cc565b9050600080600080600080600061166389611497565b965096509650965096509650965060006116868984611b0d90919063ffffffff16565b90506000611694838b611b0d565b90506116a38d8d8d8c8c611b8c565b6116ad838e611c30565b6116bb878383888888611cff565b8b6001600160a01b03168d6001600160a01b0316600080516020612255833981519152886040516116ee91815260200190565b60405180910390a350505050505050505050505050565b600061170f6113cc565b9050600080600080600080600061172589611497565b965096509650965096509650965060006117488984611b0d90919063ffffffff16565b90506000611756838b611b0d565b90506116a38d8d888c8c611d8d565b600061176f6113cc565b9050600080600080600080600061178589611497565b965096509650965096509650965060006117a88984611b0d90919063ffffffff16565b905060006117b6838b611b0d565b90506116a38d8d8b8b611e15565b60006117ce6113cc565b905060008060008060008060006117e489611497565b965096509650965096509650965060006118078984611b0d90919063ffffffff16565b90506000611815838b611b0d565b90506116a38d8d8d8c8a8d611e89565b600f54600e546000918291825b6006548110156119b05782600160006006848154811061186257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806118db57508160026000600684815481106118b457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156118f257600f54600e54945094505050506119de565b611946600160006006848154811061191a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061151b565b925061199c600260006006848154811061197057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061151b565b9150806119a8816121d2565b915050611832565b50600e54600f546119c0916113ef565b8210156119d857600f54600e549350935050506119de565b90925090505b9091565b60008183611a035760405162461bcd60e51b815260040161061291906120a1565b5060006113c38486612141565b600080600080611a3a6064611a34600d54611a348b8d611b0d90919063ffffffff16565b906113ef565b90506000611a5c6064611a34600d54611a348b8e611b0d90919063ffffffff16565b90506000611a7e6064611a34600d54611a348b8f611b0d90919063ffffffff16565b929a91995091975095505050505050565b60006113c382611aa18581898961151b565b9061151b565b60008080611ab58685611b0d565b90506000611ac38686611b0d565b919791965090945050505050565b600080611ade8584611b0d565b90506000611aec8585611b0d565b90506000611b0082611aa185818d8d61151b565b9998505050505050505050565b600082611b1c57506000610540565b6000611b288385612161565b905082611b358583612141565b146114315760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610612565b6001600160a01b038516600090815260026020526040902054611baf908461151b565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611bde908361151b565b6001600160a01b038087166000908152600160205260408082209390935590861681522054611c0d9082611438565b6001600160a01b0390941660009081526001602052604090209390935550505050565b6000611c3a6113cc565b90506000611c488483611b0d565b600a546001600160a01b0316600090815260016020526040902054909150611c709082611438565b600a80546001600160a01b039081166000908152600160209081526040808320959095559254909116815260029091522054611cac9085611438565b600a80546001600160a01b0390811660009081526002602090815260409182902094909455915491518781529181169290861691600080516020612255833981519152910160405180910390a350505050565b611d1c84611aa187611aa18a600f5461151b90919063ffffffff16565b600f55601054611d2c9084611438565b601055601154611d3c9083611438565b601155601254611d4c9082611438565b601255600e54611d5c908361151b565b600e5560405182815260009030906000805160206122558339815191529060200160405180910390a3505050505050565b6001600160a01b038516600090815260016020526040902054611db0908361151b565b6001600160a01b03808716600090815260016020908152604080832094909455918716815260029091522054611de69084611438565b6001600160a01b038516600090815260026020908152604080832093909355600190522054611c0d9082611438565b6001600160a01b038416600090815260016020526040902054611e38908361151b565b6001600160a01b038086166000908152600160205260408082209390935590851681522054611e679082611438565b6001600160a01b03909316600090815260016020526040902092909255505050565b6001600160a01b038616600090815260026020526040902054611eac908561151b565b6001600160a01b038716600090815260026020908152604080832093909355600190522054611edb908461151b565b6001600160a01b03808816600090815260016020908152604080832094909455918816815260029091522054611f119083611438565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611f409082611438565b6001600160a01b039095166000908152600160205260409020949094555050505050565b80356001600160a01b038116811461063557600080fd5b600060208284031215611f8c578081fd5b61143182611f64565b60008060408385031215611fa7578081fd5b611fb083611f64565b9150611fbe60208401611f64565b90509250929050565b600080600060608486031215611fdb578081fd5b611fe484611f64565b9250611ff260208501611f64565b9150604084013590509250925092565b60008060408385031215612014578182fd5b61201d83611f64565b946020939093013593505050565b60006020828403121561203c578081fd5b5035919050565b60008060408385031215612055578182fd5b823591506020830135801515811461206b578182fd5b809150509250929050565b60008060006060848603121561208a578283fd5b505081359360208301359350604090920135919050565b6000602080835283518082850152825b818110156120cd578581018301518582016040015282016120b1565b818111156120de5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561213c5761213c6121ed565b500190565b60008261215c57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561217b5761217b6121ed565b500290565b600082821015612192576121926121ed565b500390565b6002810460018216806121ab57607f821691505b602082108114156121cc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121e6576121e66121ed565b5060010190565b634e487b7160e01b600052601160045260246000fdfe544f4b454e32303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f544f4b454e32303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205b2e8d4123ae113c3b0519d892cdcebeb36ffc159a7f3eeeffbe3c7817f7f6a064736f6c63430008020033