ETH Price: $3,725.27 (-7.17%)

Token

Anima Spirit Gem (ASG)
 

Overview

Max Total Supply

100,000,000 ASG

Holders

1,870

Market

Price

$0.00 @ 0.000000 ETH (+1.26%)

Onchain Market Cap

$75,452.24

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
17,552.431338204788611219 ASG

Value
$13.24 ( ~0.00355410108473201 Eth) [0.0176%]
0x6366944c88f8dC6fC7d85A6696bD8496E9edaAa0
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Accel3 is a web3 game lab that is committed to creating the next generation of video games.

Market

Volume (24H):$0.00
Market Capitalization:$0.00
Circulating Supply:0.00 ASG
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
1
Beam Swap
0X9DA978718B6BD84BF485B475EAB253CF76D77B59-0XD51BFA777609213A653A2CD067C9A0132A2D316A$0.0008
0.0000002 Eth
$64.46
78,878.434 0X9DA978718B6BD84BF485B475EAB253CF76D77B59
60.1804%
2
Uniswap V2 (Ethereum)
0XB533687EF77459093368C43E95F8DF1C2B5A1F7A-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$0.0007
0.0000002 Eth
$36.32
52,191.598 0XB533687EF77459093368C43E95F8DF1C2B5A1F7A
39.8196%

Contract Source Code Verified (Exact Match)

Contract Name:
ASG

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 5 : Token.sol
pragma solidity 0.8.19;


// SPDX-License-Identifier: MIT

import "./StructLibrary.sol";
import "./Context.sol";
import "./IERC20.sol";
import "./DEXInterfaces.sol";

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);
}

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}.
     *
     * 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 default value returned by this function, unless
     * it's 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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, 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");

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, 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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
}

contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() external virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

library Address {
    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

library SafeERC20 {
    using Address for address;

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

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

    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, 'SafeMath: subtraction overflow');
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    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;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, 'SafeMath: division by 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;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, 'SafeMath: modulo by zero');
    }

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}

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

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

contract DividendPayingContract is DividendPayingContractInterface, DividendPayingContractOptionalInterface, Ownable {
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    uint256 constant internal magnitude = 2**128;

    uint256 internal magnifiedDividendPerShare;
                                                                            
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;
    
    mapping (address => uint256) public holderBalance;
    uint256 public totalBalance;

    uint256 public totalDividendsDistributed;

    receive() external payable {
        distributeDividends();
    }

    function distributeDividends() public override payable {
        if(totalBalance > 0 && msg.value > 0){
            magnifiedDividendPerShare = magnifiedDividendPerShare.add(
                (msg.value).mul(magnitude) / totalBalance
            );
            emit DividendsDistributed(msg.sender, msg.value);

            totalDividendsDistributed = totalDividendsDistributed.add(msg.value);
        }
    }

    function withdrawDividend() external virtual override {
        _withdrawDividendOfUser(payable(msg.sender));
    }

    function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
        withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);

        emit DividendWithdrawn(user, _withdrawableDividend);
        (bool success,) = user.call{value: _withdrawableDividend}("");

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

        return _withdrawableDividend;
        }

        return 0;
    }

    function withdrawDividendOfUserForCompound(address payable user) external onlyOwner returns (uint256 _withdrawableDividend) {
        _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[user] = withdrawnDividends[user] + _withdrawableDividend;
            emit DividendWithdrawn(user, _withdrawableDividend);
        }
        (bool success,) = owner().call{value: _withdrawableDividend}("");
        if(!success) {
            withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
            return 0;
        }
    }

    function dividendOf(address _owner) external view override returns(uint256) {
        return withdrawableDividendOf(_owner);
    }

    function withdrawableDividendOf(address _owner) public view override returns(uint256) {
        return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
    }

    function withdrawnDividendOf(address _owner) external view override returns(uint256) {
        return withdrawnDividends[_owner];
    }

    function accumulativeDividendOf(address _owner) public view override returns(uint256) {
        return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe()
        .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
    }

    function _increase(address account, uint256 value) internal {
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
        .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
    }

    function _reduce(address account, uint256 value) internal {
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
        .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = holderBalance[account];
        holderBalance[account] = newBalance;
        if(newBalance > currentBalance) {
        uint256 increaseAmount = newBalance.sub(currentBalance);
        _increase(account, increaseAmount);
        totalBalance += increaseAmount;
        } else if(newBalance < currentBalance) {
        uint256 reduceAmount = currentBalance.sub(newBalance);
        _reduce(account, reduceAmount);
        totalBalance -= reduceAmount;
        }
    }
}


contract RevShare is DividendPayingContract {

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

    mapping (address => bool) public excludedFromDividends;

    constructor() {}

    function getAccount(address _account)
        public view returns (
            address account,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 balance) {
        account = _account;

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

        balance = holderBalance[account];
    }
    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
        if(excludedFromDividends[account]) {
    		return;
    	}

        _setBalance(account, newBalance);

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

    	if(amount > 0) {
            emit Claim(account, amount, automatic);
    		return true;
    	}

    	return false;
    }

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

	function dividendTokenBalanceOf(address account) public view returns (uint256) {
		return holderBalance[account];
	}

    function getNumberOfDividends() external view returns(uint256) {
        return totalBalance;
    }

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

    	_setBalance(account, 0);
    }

    function includeInDividends(address account) external onlyOwner {
    	require(excludedFromDividends[account]);
    	excludedFromDividends[account] = false;
        _setBalance(account, IERC20(owner()).balanceOf(account)); // sets balance back to token balance
    }
}

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

interface IPriceFeed {
    function latestAnswer() external returns (int256);
}

contract ASG is ERC20, Ownable {

    mapping (address => bool) public excludedFromFees;
    mapping (address => bool) public exFromLimits;

    address public marketingReceiver;
    address public devReceiver;

    Tax public buyTax;
    Tax public sellTax;

    RevShare public revShare;

    TokenDistributionForTax public tokensForTax;

    TxLimits public transactionLimits;
    bool public transactionLimitsActive = true;

    mapping(address => uint256) private _holderLastTransferBlock; // MEV protection
    bool private antiSandwichEnabled = true;
    uint256 private launchBlock;

    uint256 private swapTokensAtAmount;

    address public immutable pair;
    IDexRouter public immutable dexRouter;
    IWETH private immutable WETH;

    IPriceFeed internal immutable priceFeed;
    uint256 private latestEthPrice = 0;

    uint64 public constant FEE_DIVISOR = 10000;

    // structs

    struct TxLimits {
        uint96 transactionLimit;
        uint96 walletLimit;
        uint48 gasLimit;
        bool gasLimitActive;
    }

    struct Tax {
        uint48 mktingTax;
        uint48 devTax;
        uint48 lpTax;
        uint48 revShareTax;
        uint48 totalTax;
    }

    struct TokenDistributionForTax {
        uint64 tokensForMkting;
        uint64 tokensForLP;
        uint64 tokensForDev;
        uint64 tokensForRevShare;
        bool gasSaver;
    }

    // events

    event UpdatedTransactionLimit(uint newMax);
    event UpdatedWalletLimit(uint newMax);
    event SetExcludedFromFees(address _address, bool _isExcluded);
    event SetExcludedFromLimits(address _address, bool _isExcluded);
    event RemovedLimits();
    event BuyTaxUpdated(uint newAmount);
    event SellTaxUpdated(uint newAmount);

    // constructor

    constructor(StructLibrary.Params memory params)
        ERC20(params.name, params.symbol)
    {   
        _mint(address(this), params.totalSupply * 1e18 * params.liquidityPercentage / 10000);
        uint256 leftoverTokens = (params.totalSupply * 1e18) - balanceOf(address(this));
        if(leftoverTokens > 0){
            _mint(msg.sender, leftoverTokens);
        }

        address _v2Router;
        address _priceFeed;

        if(block.chainid == 1){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // ETH: Uniswap V2
            _priceFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419;
        } else if(block.chainid == 5){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // Goerli ETH: Uniswap V2
            _priceFeed = 0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e;
        } else if(block.chainid == 56){
            _v2Router = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // BNB Chain: PCS V2
            _priceFeed = 0x0567F2323251f0Aab15c8dFb1967E4e8A7D42aeE;
        } else if(block.chainid == 97){
            _v2Router = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1; // BNB Chain Testnet: PCS V2
            _priceFeed = 0x2514895c72f50D8bd4B4F9b1110F0D6bD2c97526;
        } else if(block.chainid == 42161){
            _v2Router = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506; // Arbitrum: SushiSwap
            _priceFeed = 0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612;
        } else {
            revert("Chain not configured");
        }

        priceFeed = IPriceFeed(_priceFeed);
        require(priceFeed.latestAnswer() > 0, "wrong price feed");

        revShare = new RevShare();

        dexRouter = IDexRouter(_v2Router);

        transactionLimits.transactionLimit = uint96(totalSupply() * params.transactionLimit / 10000);
        transactionLimits.walletLimit = uint96(totalSupply() * params.walletLimit / 10000);
        transactionLimits.gasLimit = params.gasLimit * 1 gwei;
        swapTokensAtAmount = totalSupply() * 25 / 100000;

        marketingReceiver = params.marketingReceiver; // update
        devReceiver = params.devReceiver; // update

        buyTax.mktingTax = params.marketingTaxBuy;
        buyTax.lpTax = params.lpTaxBuy;
        buyTax.devTax = params.devTaxBuy;
        buyTax.revShareTax = params.revShareTaxBuy;
        buyTax.totalTax = buyTax.mktingTax + buyTax.lpTax + buyTax.devTax + buyTax.revShareTax;

        sellTax.mktingTax = params.marketingTaxSell;
        sellTax.lpTax = params.lpTaxSell;
        sellTax.devTax = params.devTaxSell;
        sellTax.revShareTax = params.revShareTaxSell;
        sellTax.totalTax = sellTax.mktingTax + sellTax.lpTax + sellTax.devTax + buyTax.revShareTax;

        tokensForTax.gasSaver = true;

        WETH = IWETH(dexRouter.WETH());
        pair = IDexFactory(dexRouter.factory()).createPair(address(this), address(WETH));

        exFromLimits[pair] = true;
        exFromLimits[msg.sender] = true;
        exFromLimits[address(this)] = true;
        exFromLimits[_v2Router] = true;

        excludedFromFees[msg.sender] = true;
        excludedFromFees[address(this)] = true;
        excludedFromFees[address(0xdead)] = true;
        excludedFromFees[_v2Router] = true;

        revShare.excludeFromDividends(address(this));
        revShare.excludeFromDividends(address(pair));
        revShare.excludeFromDividends(address(0xdead));
 
        _approve(address(this), address(dexRouter), type(uint256).max);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        
        if(!excludedFromFees[from] && !excludedFromFees[to]){
            handleLimits(from, to, amount);
            amount -= handleFee(from, to, amount);
        }

        super._transfer(from,to,amount);

        revShare.setBalance(payable(to), balanceOf(to));
        revShare.setBalance(payable(from), balanceOf(from));
    }

    function handleLimits(address from, address to, uint256 amount) internal {
        if(transactionLimitsActive){
            bool exFromLimitsTo = exFromLimits[to];
            uint256 balanceOfTo = balanceOf(to);
            TxLimits memory _transactionLimits = transactionLimits;
            // buy
            if (from == pair && !exFromLimitsTo) {
                require(amount <= _transactionLimits.transactionLimit, "Max Txn");
                require(amount + balanceOfTo <= _transactionLimits.walletLimit, "Max Wallet");
                if(_transactionLimits.gasLimitActive){
                    if(block.number >= launchBlock + 4){
                        _transactionLimits.gasLimitActive = false;
                        transactionLimits = _transactionLimits;
                    } else {
                        if(block.number <= launchBlock + 1){
                            revert("Early buy");
                        }
                        require(tx.gasprice <= _transactionLimits.gasLimit, "Gas price exceeds limit.");
                    }
                }
            }
            // sell
            else if (to == pair && !exFromLimits[from]) {
                require(amount <= _transactionLimits.transactionLimit, "Max Txn");
            }
            else if(!exFromLimitsTo) {
                require(amount + balanceOfTo <= _transactionLimits.walletLimit, "Max Wallet");
            }

            
        }

        if (antiSandwichEnabled){
            if(to == pair){
                require(_holderLastTransferBlock[from] < block.number, "Anti MEV");
            } else {
                _holderLastTransferBlock[to] = block.number;
                _holderLastTransferBlock[tx.origin] = block.number;
            }
        }
    }

    function handleFee(address from, address to, uint256 amount) internal returns (uint256){

        if(balanceOf(address(this)) >= swapTokensAtAmount && from != pair) {
            convertTaxes();
        }
        
        uint128 tax = 0;

        Tax memory taxes;

        if (to == pair){
            taxes = sellTax;
        } else if (from == pair){
            taxes = buyTax;
        }

        if(taxes.totalTax > 0){
            TokenDistributionForTax memory tokensForTaxUpdate = tokensForTax;
            tax = uint128(amount * taxes.totalTax / FEE_DIVISOR);
            tokensForTaxUpdate.tokensForLP += uint64(tax * taxes.lpTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForMkting += uint64(tax * taxes.mktingTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForDev += uint64(tax * taxes.devTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForRevShare += uint64(tax * taxes.revShareTax / taxes.totalTax / 1e9);
            tokensForTax = tokensForTaxUpdate;
            super._transfer(from, address(this), tax);
        }
        
        return tax;
    }

    function swapTokensForETH(uint256 tokenAmount) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = address(WETH);

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

    function convertTaxes() private {

        uint256 contractBalance = balanceOf(address(this));
        TokenDistributionForTax memory tokensForTaxMem = tokensForTax;
        uint256 totalTokensToSwap = tokensForTaxMem.tokensForLP + tokensForTaxMem.tokensForMkting + tokensForTaxMem.tokensForDev + tokensForTaxMem.tokensForRevShare;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

        if(contractBalance > swapTokensAtAmount * 20){
            contractBalance = swapTokensAtAmount * 20;
        }

        if(tokensForTaxMem.tokensForLP > 0){
            uint256 lpTokens = contractBalance * tokensForTaxMem.tokensForLP / totalTokensToSwap;
            super._transfer(address(this), pair, lpTokens);
            try ILpPair(pair).sync(){} catch {}
            contractBalance -= lpTokens;
            totalTokensToSwap -= tokensForTaxMem.tokensForLP;
        }

        if(contractBalance > 0){

            swapTokensForETH(contractBalance);
            
            uint256 ethBalance = address(this).balance;

            bool success;

            if(tokensForTaxMem.tokensForDev > 0){
                (success,) = devReceiver.call{value: ethBalance * tokensForTaxMem.tokensForDev / totalTokensToSwap}("");  
            }

            if(tokensForTaxMem.tokensForRevShare > 0){
                (success,) = address(revShare).call{value: ethBalance * tokensForTaxMem.tokensForRevShare/ totalTokensToSwap}("");  
            }

            ethBalance = address(this).balance;

            if(ethBalance > 0){
                (success,) = marketingReceiver.call{value: ethBalance}("");  
            }
        }

        tokensForTaxMem.tokensForLP = 0;
        tokensForTaxMem.tokensForMkting = 0;
        tokensForTaxMem.tokensForDev = 0;
        tokensForTaxMem.tokensForRevShare = 0;

        tokensForTax = tokensForTaxMem;
    }

    // owner functions
    function changeExcludedFromFees(address _address, bool _isExcluded) external onlyOwner {
        require(_address != address(0), "Zero Address");
        require(_address != address(this), "Cannot unexcluded contract");
        excludedFromFees[_address] = _isExcluded;
        emit SetExcludedFromFees(_address, _isExcluded);
    }

    function changeExcludedFromLimits(address _address, bool _isExcluded) external onlyOwner {
        require(_address != address(0), "Zero Address");
        if(!_isExcluded){
            require(_address != pair, "Cannot remove pair");
        }
        exFromLimits[_address] = _isExcluded;
        emit SetExcludedFromLimits(_address, _isExcluded);
    }

    function updateTransactionLimit(uint96 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 5 / 1000)/(10**decimals()), "Too low");
        transactionLimits.transactionLimit = uint96(newNumInTokens * (10**decimals()));
        emit UpdatedTransactionLimit(transactionLimits.transactionLimit);
    }

    function updateWalletLimit(uint96 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 5 / 1000)/(10**decimals()), "Too low");
        transactionLimits.walletLimit = uint96(newNumInTokens * (10**decimals()));
        emit UpdatedWalletLimit(transactionLimits.walletLimit);
    }

    function changeSwapTokensAmount(uint256 newAmount) external onlyOwner {
        require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply.");
        require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply.");
        swapTokensAtAmount = newAmount;
    }

    function updateSellTax(uint48 _mktingTax, uint48 _lpTax, uint48 _devTax, uint48 _revShareTax) external onlyOwner {
        Tax memory taxes;
        taxes.mktingTax = _mktingTax;
        taxes.lpTax = _lpTax;
        taxes.devTax = _devTax;
        taxes.revShareTax = _revShareTax;
        taxes.totalTax = _mktingTax + _lpTax + _devTax + _revShareTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit SellTaxUpdated(taxes.totalTax);
        sellTax = taxes;
    }

    function setBuyTax(uint48 _mktingTax, uint48 _lpTax, uint48 _devTax, uint48 _revShareTax) external onlyOwner {
        Tax memory taxes;
        taxes.mktingTax = _mktingTax;
        taxes.lpTax = _lpTax;
        taxes.devTax = _devTax;
        taxes.revShareTax = _revShareTax;
        taxes.totalTax = _mktingTax + _lpTax + _devTax + _revShareTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit BuyTaxUpdated(taxes.totalTax);
        buyTax = taxes;
    }

    function removeLimits() external onlyOwner {
        transactionLimitsActive = false;
        TxLimits memory _transactionLimits;
        uint256 supply = totalSupply();
        _transactionLimits.transactionLimit = uint96(supply);
        _transactionLimits.walletLimit = uint96(supply);
        transactionLimits = _transactionLimits;
        emit RemovedLimits();
    }

    function updateAntiMevEnabled(bool _enabled) external onlyOwner {
        antiSandwichEnabled = _enabled;
    }

    function changeMarketingAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        marketingReceiver = _address;
    }

    function changeDevAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        devReceiver = _address;
    }

    receive() payable external {}

    // dividend functions

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

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

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

	function dividendTokenBalanceOf(address account) public view returns (uint256) {
		return revShare.holderBalance(account);
	}

    function getAccountDividendsInfo(address account)
        external view returns (
            address,
            uint256,
            uint256,
            uint256) {
        return revShare.getAccount(account);
    }
    
    function getNumberOfDividends() external view returns(uint256) {
        return revShare.totalBalance();
    }

    function excludeFromDividends(address _wallet) external onlyOwner {
        revShare.excludeFromDividends(_wallet);
    }

     function includeInDividends(address _wallet) external onlyOwner {
        revShare.includeInDividends(_wallet);
    }

    function compound(uint256 minOutput) external {
        uint256 amountEthForCompound = revShare.withdrawDividendOfUserForCompound(payable(msg.sender));
        if(amountEthForCompound > 0){
            buyBackTokens(amountEthForCompound, minOutput, msg.sender);
        } else {
            revert("No rewards");
        }
    }

    function buyBackTokens(uint256 ethAmountInWei, uint256 minOut, address to) internal {
        // generate the uniswap pair path of weth -> eth
        address[] memory path = new address[](2);
        path[0] = address(WETH);
        path[1] = address(this);

        // make the swap
        dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmountInWei}(
            minOut,
            path,
            address(to),
            block.timestamp
        );
    }

    // helper views

    function getCompoundOutputByEthAddress(uint256 rewardAmount) external view returns(uint256) {
        if(rewardAmount == 0){
            return 0;
        }
        address[] memory path = new address[](2);
        path[0] = address(WETH);
        path[1] = address(this);
        uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path);
        return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR);
    }

    function getCompoundOutputByAddress(address wallet) external view returns(uint256) {
        uint256 rewardAmount = withdrawableDividendOf(wallet);
        if(rewardAmount == 0){
            return 0;
        }
        address[] memory path = new address[](2);
        path[0] = address(WETH);
        path[1] = address(this);
        uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path);
        return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR);
    }

    function addLp(address _to) external onlyOwner payable {
        require(address(this).balance > 0 && balanceOf(address(this)) > 0);

        WETH.deposit{value: address(this).balance}();

        super._transfer(address(this), address(pair), balanceOf(address(this)));
        IERC20(address(WETH)).transfer(address(pair), IERC20(address(WETH)).balanceOf(address(this)));
        ILpPair(pair).mint(_to);
        launchBlock = block.number;
        transactionLimits.gasLimitActive = true;
        latestEthPrice = uint256(priceFeed.latestAnswer());
    }

    function getMcap() public view returns (uint256){
        return (IERC20(dexRouter.WETH()).balanceOf(address(pair)) * 1e18 * latestEthPrice / balanceOf(address(pair)) * (totalSupply()-balanceOf(address(0xdead))) / 1e18 / 1e8); 
    }
}

File 2 of 5 : StructLibrary.sol
pragma solidity 0.8.19;

// SPDX-License-Identifier: MIT

library StructLibrary {
    struct Params {
        string name;
        string symbol;
        uint112 totalSupply;
        uint48 liquidityPercentage;
        address marketingReceiver;
        address devReceiver;
        uint48 marketingTaxBuy;
        uint48 devTaxBuy;
        uint48 lpTaxBuy;
        uint48 revShareTaxBuy;
        uint48 marketingTaxSell;
        uint48 devTaxSell;
        uint48 lpTaxSell;
        uint48 revShareTaxSell;
        uint128 transactionLimit;
        uint128 walletLimit;
        uint48 gasLimit;
    }
}

File 3 of 5 : IERC20.sol
pragma solidity 0.8.19;

// SPDX-License-Identifier: MIT

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 4 of 5 : DEXInterfaces.sol
pragma solidity 0.8.19;


// SPDX-License-Identifier: MIT

interface ILpPair {
    function sync() external;
    function mint(address to) external returns (uint liquidity);
}

interface IDexRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IDexFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

File 5 of 5 : Context.sol
pragma solidity 0.8.19;

// SPDX-License-Identifier: MIT

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint112","name":"totalSupply","type":"uint112"},{"internalType":"uint48","name":"liquidityPercentage","type":"uint48"},{"internalType":"address","name":"marketingReceiver","type":"address"},{"internalType":"address","name":"devReceiver","type":"address"},{"internalType":"uint48","name":"marketingTaxBuy","type":"uint48"},{"internalType":"uint48","name":"devTaxBuy","type":"uint48"},{"internalType":"uint48","name":"lpTaxBuy","type":"uint48"},{"internalType":"uint48","name":"revShareTaxBuy","type":"uint48"},{"internalType":"uint48","name":"marketingTaxSell","type":"uint48"},{"internalType":"uint48","name":"devTaxSell","type":"uint48"},{"internalType":"uint48","name":"lpTaxSell","type":"uint48"},{"internalType":"uint48","name":"revShareTaxSell","type":"uint48"},{"internalType":"uint128","name":"transactionLimit","type":"uint128"},{"internalType":"uint128","name":"walletLimit","type":"uint128"},{"internalType":"uint48","name":"gasLimit","type":"uint48"}],"internalType":"struct StructLibrary.Params","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"BuyTaxUpdated","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"SellTaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"SetExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"SetExcludedFromLimits","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedTransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedWalletLimit","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"addLp","outputs":[],"stateMutability":"payable","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint48","name":"mktingTax","type":"uint48"},{"internalType":"uint48","name":"devTax","type":"uint48"},{"internalType":"uint48","name":"lpTax","type":"uint48"},{"internalType":"uint48","name":"revShareTax","type":"uint48"},{"internalType":"uint48","name":"totalTax","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"changeDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"changeExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"changeExcludedFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"changeMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"changeSwapTokensAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minOutput","type":"uint256"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","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":"devReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","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":[{"internalType":"address","name":"","type":"address"}],"name":"exFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getCompoundOutputByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"getCompoundOutputByEthAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMcap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","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":"_wallet","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":[],"name":"marketingReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revShare","outputs":[{"internalType":"contract RevShare","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint48","name":"mktingTax","type":"uint48"},{"internalType":"uint48","name":"devTax","type":"uint48"},{"internalType":"uint48","name":"lpTax","type":"uint48"},{"internalType":"uint48","name":"revShareTax","type":"uint48"},{"internalType":"uint48","name":"totalTax","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint48","name":"_mktingTax","type":"uint48"},{"internalType":"uint48","name":"_lpTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revShareTax","type":"uint48"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTax","outputs":[{"internalType":"uint64","name":"tokensForMkting","type":"uint64"},{"internalType":"uint64","name":"tokensForLP","type":"uint64"},{"internalType":"uint64","name":"tokensForDev","type":"uint64"},{"internalType":"uint64","name":"tokensForRevShare","type":"uint64"},{"internalType":"bool","name":"gasSaver","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionLimits","outputs":[{"internalType":"uint96","name":"transactionLimit","type":"uint96"},{"internalType":"uint96","name":"walletLimit","type":"uint96"},{"internalType":"uint48","name":"gasLimit","type":"uint48"},{"internalType":"bool","name":"gasLimitActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionLimitsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"bool","name":"_enabled","type":"bool"}],"name":"updateAntiMevEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint48","name":"_mktingTax","type":"uint48"},{"internalType":"uint48","name":"_lpTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revShareTax","type":"uint48"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newNumInTokens","type":"uint96"}],"name":"updateTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newNumInTokens","type":"uint96"}],"name":"updateWalletLimit","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"}]

61010060405260108054600160ff19918216811790925560128054909116909117905560006015553480156200003457600080fd5b506040516200662638038062006626833981016040819052620000579162000e0d565b8051602082015160036200006c838262001072565b5060046200007b828262001072565b50505060006200009062000aaa60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200013430612710836060015165ffffffffffff168460400151670de0b6b3a76400006200010d919062001154565b62000119919062001154565b62000125919062001198565b6001600160701b031662000aae565b3060009081526020819052604081205460408301516200015d90670de0b6b3a764000062001154565b6001600160701b0316620001729190620011c1565b90508015620001875762000187338262000aae565b60008046600103620001c65750737a250d5630b4cf539739df2c5dacb4c659f2488d9050735f4ec3df9cbd43714fe2740f5e3616155c5b841962000304565b46600503620002025750737a250d5630b4cf539739df2c5dacb4c659f2488d905073d4a33860578de61dbabdc8bfdb98fd742fa7028e62000304565b466038036200023e57507310ed43c718714eb63d5aa57b78b54704e256024e9050730567f2323251f0aab15c8dfb1967e4e8a7d42aee62000304565b466061036200027a575073d99d1c33f9fc3444f8101754abc46c52416550d19050732514895c72f50d8bd4b4f9b1110f0d6bd2c9752662000304565b4661a4b103620002b75750731b02da8cb0d097eb8d57a175b88c7d8b47997506905073639fe6ab55c921f74e7fac1ee960c0b6293ba61262000304565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660e0819052604080516350d25bcd60e01b81529051600092916350d25bcd916004808301926020929190829003018187875af115801562000353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003799190620011dd565b13620003bb5760405162461bcd60e51b815260206004820152601060248201526f1ddc9bdb99c81c1c9a58d9481999595960821b6044820152606401620002fb565b604051620003c99062000c99565b604051809103906000f080158015620003e6573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b03928316179055821660a0526101c0840151612710906001600160801b03166200042560025490565b620004319190620011f7565b6200043d919062001211565b600f80546001600160601b0319166001600160601b03929092169190911790556101e0840151612710906001600160801b03166200047a60025490565b620004869190620011f7565b62000492919062001211565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b0319909216919091179055610200840151620004dc90633b9aca0062001228565b600f805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b19909216919091179055620186a06200051360025490565b62000520906019620011f7565b6200052c919062001211565b6014556080840151600880546001600160a01b03199081166001600160a01b039384161790915560a086015160098054909216921691909117905560c0840151600a805461010087015160e088015161012089015165ffffffffffff95861665ffffffffffff65ffffffffffff60601b0119909416939093176c0100000000000000000000000092861683021765ffffffffffff60301b65ffffffffffff60901b0119166601000000000000918616820265ffffffffffff60901b191617600160901b938616840217938490559183048416939183048216926200061792918104821691166200124d565b6200062391906200124d565b6200062f91906200124d565b600a805465ffffffffffff60c01b1916600160c01b65ffffffffffff938416021790819055610140860151600b80546101808901516101608a01516101a08b015194871665ffffffffffff65ffffffffffff60601b0119909316929092176c0100000000000000000000000091871682021765ffffffffffff60301b65ffffffffffff60901b0119166601000000000000928716830265ffffffffffff60901b191617600160901b9487168502179283905592909304841693928104831692620006ff928204811691166200124d565b6200070b91906200124d565b6200071791906200124d565b600b805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b19909216919091179055600e805460ff1916600117905560a051604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa15801562000798573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007be919062001276565b6001600160a01b031660c0816001600160a01b03168152505060a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000818573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200083e919062001276565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000890573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b6919062001276565b6001600160a01b03908116608081905260009081526007602090815260408083208054600160ff19918216811790925533808652838620805483168417905530808752848720805484168517905589881680885285882080548516861790559187526006909552838620805483168417905584865283862080548316841790557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e228054831684179055855293829020805490941617909255600c54915163031e79db60e41b815260048101919091529116906331e79db090602401600060405180830381600087803b158015620009ac57600080fd5b505af1158015620009c1573d6000803e3d6000fd5b5050600c5460805160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050600c5460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b15801562000a7057600080fd5b505af115801562000a85573d6000803e3d6000fd5b5050505062000aa03060a05160001962000b7160201b60201c565b50505050620012b1565b3390565b6001600160a01b03821662000b065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002fb565b806002600082825462000b1a91906200129b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b03831662000bd55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620002fb565b6001600160a01b03821662000c385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002fb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6111cd806200545983390190565b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562000ce35762000ce362000ca7565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000d145762000d1462000ca7565b604052919050565b600082601f83011262000d2e57600080fd5b81516001600160401b0381111562000d4a5762000d4a62000ca7565b602062000d60601f8301601f1916820162000ce9565b828152858284870101111562000d7557600080fd5b60005b8381101562000d9557858101830151828201840152820162000d78565b506000928101909101919091529392505050565b80516001600160701b038116811462000dc157600080fd5b919050565b805165ffffffffffff8116811462000dc157600080fd5b80516001600160a01b038116811462000dc157600080fd5b80516001600160801b038116811462000dc157600080fd5b60006020828403121562000e2057600080fd5b81516001600160401b038082111562000e3857600080fd5b90830190610220828603121562000e4e57600080fd5b62000e5862000cbd565b82518281111562000e6857600080fd5b62000e768782860162000d1c565b82525060208301518281111562000e8c57600080fd5b62000e9a8782860162000d1c565b60208301525062000eae6040840162000da9565b604082015262000ec16060840162000dc6565b606082015262000ed46080840162000ddd565b608082015262000ee760a0840162000ddd565b60a082015262000efa60c0840162000dc6565b60c082015262000f0d60e0840162000dc6565b60e0820152610100915062000f2482840162000dc6565b82820152610120915062000f3a82840162000dc6565b82820152610140915062000f5082840162000dc6565b82820152610160915062000f6682840162000dc6565b82820152610180915062000f7c82840162000dc6565b828201526101a0915062000f9282840162000dc6565b828201526101c0915062000fa882840162000df5565b828201526101e0915062000fbe82840162000df5565b82820152610200915062000fd482840162000dc6565b91810191909152949350505050565b600181811c9082168062000ff857607f821691505b6020821081036200101957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200106d57600081815260208120601f850160051c81016020861015620010485750805b601f850160051c820191505b81811015620010695782815560010162001054565b5050505b505050565b81516001600160401b038111156200108e576200108e62000ca7565b620010a6816200109f845462000fe3565b846200101f565b602080601f831160018114620010de5760008415620010c55750858301515b600019600386901b1c1916600185901b17855562001069565b600085815260208120601f198616915b828110156200110f57888601518255948401946001909101908401620010ee565b50858210156200112e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001600160701b038181168382160280821691908281146200117a576200117a6200113e565b505092915050565b634e487b7160e01b600052601260045260246000fd5b60006001600160701b0383811680620011b557620011b562001182565b92169190910492915050565b81810381811115620011d757620011d76200113e565b92915050565b600060208284031215620011f057600080fd5b5051919050565b8082028115828204841417620011d757620011d76200113e565b60008262001223576200122362001182565b500490565b65ffffffffffff8181168382160280821691908281146200117a576200117a6200113e565b65ffffffffffff8181168382160190808211156200126f576200126f6200113e565b5092915050565b6000602082840312156200128957600080fd5b620012948262000ddd565b9392505050565b80820180821115620011d757620011d76200113e565b60805160a05160c05160e0516140c6620013936000396000610e5d015260008181610bd801528181610c9201528181610fb5015281816112ad01528181612b4c01526138cd015260008181610366015281816110430152818161133b0152818161218201528181612bd701526139240152600081816108a701528181610c5001528181610cc301528181610dbe01528181611741015281816121590152818161221901528181612cd301528181612ee201528181612fec015281816130ba01528181613128015281816131bb015281816135f3015261361a01526140c66000f3fe6080604052600436106102e85760003560e01c80636f9a880e11610190578063a9059cbb116100dc578063cc1776d311610095578063dd62ed3e1161006f578063dd62ed3e14610a71578063f144e62014610a91578063f2fde38b14610ab1578063f84e426514610ad157600080fd5b8063cc1776d3146109c8578063db408e1a14610a11578063dbe66ca014610a4157600080fd5b8063a9059cbb146108e9578063aa5f7e2614610909578063ad56c13c14610929578063b2a9c0c014610973578063c077ab4b14610993578063c0f306ef146109a857600080fd5b806392b4639011610149578063a457c2d711610123578063a457c2d714610855578063a5949bcf14610875578063a8aa1b3114610895578063a8b9d240146108c957600080fd5b806392b46390146107f257806395d89b41146108125780639e93ad8e1461082757600080fd5b80636f9a880e1461075557806370a0823114610775578063715018a61461079557806371778e7d146107aa578063751039fc146107bf5780638da5cb5b146107d457600080fd5b806331e79db01161024f57806356340e811161020857806364a81f1d116101e257806364a81f1d146106735780636843cd84146106935780636cdc3677146106b35780636d7adcad146106d357600080fd5b806356340e81146105b15780635cfb534e146106335780635ecc20221461065357600080fd5b806331e79db01461049a57806336496bf7146104ba57806339509351146104da57806345006628146104fa5780634e71d92d1461051a5780634f7041a51461052f57600080fd5b80631af71da6116102a15780631af71da6146103ef5780631b03ddc11461040f5780631ebcb3df1461042f57806323b872dd1461044957806330bb4cff14610469578063313ce5671461047e57600080fd5b8063048dec38146102f457806306f200031461031657806306fdde03146103295780630758d92414610354578063095ea7b3146103a057806318160ddd146103d057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046139af565b610af1565b005b6103146103243660046139af565b610b8b565b34801561033557600080fd5b5061033e610ed4565b60405161034b91906139d3565b60405180910390f35b34801561036057600080fd5b506103887f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161034b565b3480156103ac57600080fd5b506103c06103bb366004613a21565b610f66565b604051901515815260200161034b565b3480156103dc57600080fd5b506002545b60405190815260200161034b565b3480156103fb57600080fd5b506103e161040a366004613a4d565b610f80565b34801561041b57600080fd5b50600c54610388906001600160a01b031681565b34801561043b57600080fd5b506010546103c09060ff1681565b34801561045557600080fd5b506103c0610464366004613a66565b611147565b34801561047557600080fd5b506103e161116b565b34801561048a57600080fd5b506040516012815260200161034b565b3480156104a657600080fd5b506103146104b53660046139af565b6111de565b3480156104c657600080fd5b506103e16104d53660046139af565b61126b565b3480156104e657600080fd5b506103c06104f5366004613a21565b611440565b34801561050657600080fd5b50610314610515366004613ac2565b611462565b34801561052657600080fd5b50610314611616565b34801561053b57600080fd5b50600a546105789065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a00161034b565b3480156105bd57600080fd5b50600f546105f9906001600160601b0380821691600160601b810490911690600160c01b810465ffffffffffff1690600160f01b900460ff1684565b604080516001600160601b03958616815294909316602085015265ffffffffffff909116918301919091521515606082015260800161034b565b34801561063f57600080fd5b5061031461064e366004613b24565b61168e565b34801561065f57600080fd5b5061031461066e366004613b41565b6116cb565b34801561067f57600080fd5b5061031461068e366004613b7a565b611819565b34801561069f57600080fd5b506103e16106ae3660046139af565b611941565b3480156106bf57600080fd5b506103146106ce366004613ac2565b6119b1565b3480156106df57600080fd5b50600d54600e5461071a916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a00161034b565b34801561076157600080fd5b50600954610388906001600160a01b031681565b34801561078157600080fd5b506103e16107903660046139af565b611b65565b3480156107a157600080fd5b50610314611b80565b3480156107b657600080fd5b506103e1611bf4565b3480156107cb57600080fd5b50610314611c3e565b3480156107e057600080fd5b506005546001600160a01b0316610388565b3480156107fe57600080fd5b5061031461080d3660046139af565b611d46565b34801561081e57600080fd5b5061033e611dd7565b34801561083357600080fd5b5061083d61271081565b6040516001600160401b03909116815260200161034b565b34801561086157600080fd5b506103c0610870366004613a21565b611de6565b34801561088157600080fd5b50600854610388906001600160a01b031681565b3480156108a157600080fd5b506103887f000000000000000000000000000000000000000000000000000000000000000081565b3480156108d557600080fd5b506103e16108e43660046139af565b611e61565b3480156108f557600080fd5b506103c0610904366004613a21565b611e94565b34801561091557600080fd5b50610314610924366004613a4d565b611ea2565b34801561093557600080fd5b506109496109443660046139af565b611f5d565b604080516001600160a01b039095168552602085019390935291830152606082015260800161034b565b34801561097f57600080fd5b5061031461098e366004613a4d565b611fe1565b34801561099f57600080fd5b506103e161212c565b3480156109b457600080fd5b506103146109c33660046139af565b6122d2565b3480156109d457600080fd5b50600b546105789065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610a1d57600080fd5b506103c0610a2c3660046139af565b60076020526000908152604090205460ff1681565b348015610a4d57600080fd5b506103c0610a5c3660046139af565b60066020526000908152604090205460ff1681565b348015610a7d57600080fd5b506103e1610a8c366004613ba3565b61232e565b348015610a9d57600080fd5b50610314610aac366004613b7a565b612359565b348015610abd57600080fd5b50610314610acc3660046139af565b61246a565b348015610add57600080fd5b50610314610aec366004613b41565b612555565b6005546001600160a01b03163314610b245760405162461bcd60e51b8152600401610b1b90613bd1565b60405180910390fd5b6001600160a01b038116610b695760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1b565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610bb55760405162461bcd60e51b8152600401610b1b90613bd1565b600047118015610bcd57506000610bcb30611b65565b115b610bd657600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b158015610c3157600080fd5b505af1158015610c45573d6000803e3d6000fd5b5050505050610c7d307f0000000000000000000000000000000000000000000000000000000000000000610c7830611b65565b612678565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a0823190602401602060405180830381865afa158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f9190613c06565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190613c1f565b506040516335313c2160e11b81526001600160a01b0382811660048301527f00000000000000000000000000000000000000000000000000000000000000001690636a627842906024016020604051808303816000875af1158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190613c06565b5043601355600f805460ff60f01b1916600160f01b179055604080516350d25bcd60e01b815290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916350d25bcd91600482810192602092919082900301816000875af1158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece9190613c06565b60155550565b606060038054610ee390613c3c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0f90613c3c565b8015610f5c5780601f10610f3157610100808354040283529160200191610f5c565b820191906000526020600020905b815481529060010190602001808311610f3f57829003601f168201915b5050505050905090565b600033610f7481858561281d565b60019150505b92915050565b600081600003610f9257506000919050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610fe757610fe7613c8c565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061101b5761101b613c8c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f9061107a9087908690600401613ce6565b600060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110bf9190810190613cff565b600a54909150612710906110e390600160c01b900465ffffffffffff166032613dd2565b65ffffffffffff16826001815181106110fe576110fe613c8c565b60200260200101516111109190613df8565b61111a9190613e25565b8160018151811061112d5761112d613c8c565b602002602001015161113f9190613e39565b949350505050565b600033611155858285612941565b6111608585856129bb565b506001949350505050565b600c54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa1580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d99190613c06565b905090565b6005546001600160a01b031633146112085760405162461bcd60e51b8152600401610b1b90613bd1565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b15801561125057600080fd5b505af1158015611264573d6000803e3d6000fd5b5050505050565b60008061127783611e61565b90508060000361128a5750600092915050565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106112df576112df613c8c565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061131357611313613c8c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f906113729086908690600401613ce6565b600060405180830381865afa15801561138f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113b79190810190613cff565b600a54909150612710906113db90600160c01b900465ffffffffffff166032613dd2565b65ffffffffffff16826001815181106113f6576113f6613c8c565b60200260200101516114089190613df8565b6114129190613e25565b8160018151811061142557611425613c8c565b60200260200101516114379190613e39565b95945050505050565b600033610f74818585611453838361232e565b61145d9190613e4c565b61281d565b6005546001600160a01b0316331461148c5760405162461bcd60e51b8152600401610b1b90613bd1565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836114cf8688613dd2565b6114d99190613dd2565b6114e39190613dd2565b65ffffffffffff16608082018190526103e810156115385760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1b565b608081015160405165ffffffffffff90911681527fa6255338a5f732d64ceba7f4c18182567f9d1067eb984b46d478b37d72a52d119060200160405180910390a18051600b805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b600c5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015611667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168b9190613c1f565b50565b6005546001600160a01b031633146116b85760405162461bcd60e51b8152600401610b1b90613bd1565b6012805460ff1916911515919091179055565b6005546001600160a01b031633146116f55760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b03821661173a5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1b565b806117b5577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036117b55760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610b1b565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f0712a8411c7892e205c3d35c5d2beabe76bb0b484bec43945f2024cd28eaae8d91015b60405180910390a15050565b6005546001600160a01b031633146118435760405162461bcd60e51b8152600401610b1b90613bd1565b61184f6012600a613f43565b6103e861185b60025490565b611866906005613df8565b6118709190613e25565b61187a9190613e25565b816001600160601b031610156118bc5760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1b565b6118c86012600a613f43565b6118db906001600160601b038316613df8565b600f8054600160601b600160c01b031916600160601b6001600160601b0393841681029190911791829055604051910490911681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020015b60405180910390a150565b600c5460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa15801561198d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7a9190613c06565b6005546001600160a01b031633146119db5760405162461bcd60e51b8152600401610b1b90613bd1565b6040805160a0810182526000608082015265ffffffffffff868116825285811692820192909252838216602082015290821660608201528183611a1e8688613dd2565b611a289190613dd2565b611a329190613dd2565b65ffffffffffff16608082018190526103e81015611a875760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1b565b608081015160405165ffffffffffff90911681527f7a758dc8e99047b028278b3e2ff1416d8493a7aacee7a5dc30b6bf93270eccce9060200160405180910390a18051600a805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314611baa5760405162461bcd60e51b8152600401610b1b90613bd1565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa1580156111b5573d6000803e3d6000fd5b6005546001600160a01b03163314611c685760405162461bcd60e51b8152600401610b1b90613bd1565b6010805460ff191690556040805160808101825260008082526020820181905291810182905260608101919091526000611ca160025490565b6001600160601b03811680845260208401819052600f805460408087015160608801516001600160c01b03199093168517600160601b9095029490941766ffffffffffffff60c01b1916600160c01b65ffffffffffff9095169490940260ff60f01b191693909317600160f01b91151591909102179055519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a15050565b6005546001600160a01b03163314611d705760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b038116611db55760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1b565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610ee390613c3c565b60003381611df4828661232e565b905083811015611e545760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b1b565b611160828686840361281d565b600c546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611970565b600033610f748185856129bb565b600c5460405163dcb95ed960e01b81523360048201526000916001600160a01b03169063dcb95ed9906024016020604051808303816000875af1158015611eed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f119190613c06565b90508015611f2857611f24818333612b29565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610b1b565b600c5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392169063fbcbc0f190602401608060405180830381865afa158015611fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd29190613f52565b93509350935093509193509193565b6005546001600160a01b0316331461200b5760405162461bcd60e51b8152600401610b1b90613bd1565b620186a061201860025490565b612023906001613df8565b61202d9190613e25565b81101561209a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b1b565b6103e86120a660025490565b6120b1906005613df8565b6120bb9190613e25565b8111156121275760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b1b565b601455565b60006305f5e100670de0b6b3a764000061214761dead611b65565b6002546121549190613e39565b61217d7f0000000000000000000000000000000000000000000000000000000000000000611b65565b6015547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122029190613f91565b6040516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015291909116906370a0823190602401602060405180830381865afa15801561226a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228e9190613c06565b6122a090670de0b6b3a7640000613df8565b6122aa9190613df8565b6122b49190613e25565b6122be9190613df8565b6122c89190613e25565b6111d99190613e25565b6005546001600160a01b031633146122fc5760405162461bcd60e51b8152600401610b1b90613bd1565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef90602401611236565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146123835760405162461bcd60e51b8152600401610b1b90613bd1565b61238f6012600a613f43565b6103e861239b60025490565b6123a6906005613df8565b6123b09190613e25565b6123ba9190613e25565b816001600160601b031610156123fc5760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1b565b6124086012600a613f43565b61241b906001600160601b038316613df8565b600f80546001600160601b0319166001600160601b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e690602001611936565b6005546001600160a01b031633146124945760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b0381166124f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1b565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461257f5760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b0382166125c45760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1b565b306001600160a01b0383160361261c5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420756e6578636c7564656420636f6e74726163740000000000006044820152606401610b1b565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527fc4eea32423e96d678d53f47ddd9b7a5103eea02606d7daa81c77038c54dc8edb910161180d565b6001600160a01b0383166126dc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b1b565b6001600160a01b03821661273e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b1b565b6001600160a01b038316600090815260208190526040902054818110156127b65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b1b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6001600160a01b03831661287f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b1b565b6001600160a01b0382166128e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b1b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061294d848461232e565b905060001981146129b557818110156129a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b1b565b6129b5848484840361281d565b50505050565b6001600160a01b03831660009081526006602052604090205460ff161580156129fd57506001600160a01b03821660009081526006602052604090205460ff16155b15612a2557612a0d838383612c4e565b612a188383836130a1565b612a229082613e39565b90505b612a30838383612678565b600c546001600160a01b031663e30443bc83612a4b81611b65565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b5050600c546001600160a01b0316915063e30443bc905084612ac681611b65565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612b0c57600080fd5b505af1158015612b20573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110612b7e57612b7e613c8c565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612bb257612bb2613c8c565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063b6f9de95908690612c16908790869088904290600401613fae565b6000604051808303818588803b158015612c2f57600080fd5b505af1158015612c43573d6000803e3d6000fd5b505050505050505050565b60105460ff1615612fdf576001600160a01b03821660009081526007602052604081205460ff1690612c7f84611b65565b60408051608081018252600f546001600160601b038082168352600160601b8204166020830152600160c01b810465ffffffffffff1692820192909252600160f01b90910460ff16151560608201529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908716148015612d0b575082155b15612ee05780516001600160601b0316841115612d545760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1b565b60208101516001600160601b0316612d6c8386613e4c565b1115612da75760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1b565b806060015115612edb57601354612dbf906004613e4c565b4310612e3757600060608201528051600f80546020840151604085015160ff60f01b1965ffffffffffff909116600160c01b021666ffffffffffffff60c01b196001600160601b03928316600160601b026001600160c01b031990941692909516919091179190911792909216919091179055612fdb565b601354612e45906001613e4c565b4311612e7f5760405162461bcd60e51b81526020600482015260096024820152684561726c792062757960b81b6044820152606401610b1b565b806040015165ffffffffffff163a1115612edb5760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610b1b565b612fdb565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316148015612f3a57506001600160a01b03861660009081526007602052604090205460ff16155b15612f835780516001600160601b0316841115612edb5760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1b565b82612fdb5760208101516001600160601b0316612fa08386613e4c565b1115612fdb5760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1b565b5050505b60125460ff1615613075577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361307a576001600160a01b03831660009081526011602052604090205443116130755760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610b1b565b505050565b506001600160a01b0316600090815260116020526040808220439081905532835291205550565b60006014546130af30611b65565b101580156130ef57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b156130fc576130fc6134e0565b6040805160a08101825260008082526020820181905291810182905260608101829052608081018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316036131b957506040805160a081018252600b5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152613248565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03160361324857506040805160a081018252600a5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff16156134ce576040805160a081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b90049091166060820152600e5460ff161515608080830191909152820151612710906132cb9065ffffffffffff1687613df8565b6132d59190613e25565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff16856133019190613fe3565b61330b919061400e565b613315919061400e565b816020018181516133269190614034565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff90811691613355911686613fe3565b61335f919061400e565b613369919061400e565b81518290613378908390614034565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff908116916133aa911686613fe3565b6133b4919061400e565b6133be919061400e565b816040018181516133cf9190614034565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff90811691613401911686613fe3565b61340b919061400e565b613415919061400e565b816060018181516134269190614034565b6001600160401b039081169091528251600d80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026fffffffffffffffffffffffffffffffff199094169590961694909417919091178116939093179190911790556080830151600e805491151560ff199092169190911790556134cc9150889030908616612678565b505b506001600160801b0316949350505050565b60006134eb30611b65565b6040805160a081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b84048316958501869052600160c01b90930490911660608401819052600e5460ff161515608085015294955091936000939092909161355a9190614034565b6135649190614034565b61356e9190614034565b6001600160401b03169050821580613584575080155b1561358e57505050565b6014805461359b91613df8565b8311156135b257601480546135af91613df8565b92505b60208201516001600160401b0316156136ae5760008183602001516001600160401b0316856135e19190613df8565b6135eb9190613e25565b9050613618307f000000000000000000000000000000000000000000000000000000000000000083612678565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561367357600080fd5b505af1925050508015613684575060015b5061368f8185613e39565b935082602001516001600160401b0316826136aa9190613e39565b9150505b8215613840576136bd83613876565b604082015147906000906001600160401b03161561374f5760095460408501516001600160a01b039091169084906136fe906001600160401b031685613df8565b6137089190613e25565b604051600081818185875af1925050503d8060008114613744576040519150601f19603f3d011682016040523d82523d6000602084013e613749565b606091505b50909150505b60608401516001600160401b0316156137dc57600c5460608501516001600160a01b0390911690849061378b906001600160401b031685613df8565b6137959190613e25565b604051600081818185875af1925050503d80600081146137d1576040519150601f19603f3d011682016040523d82523d6000602084013e6137d6565b606091505b50909150505b479150811561383d576008546040516001600160a01b03909116908390600081818185875af1925050503d8060008114613832576040519150601f19603f3d011682016040523d82523d6000602084013e613837565b606091505b50909150505b50505b506000602082018190528082526040820181905260608201819052600d5560800151600e805460ff191691151591909117905550565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106138ab576138ab613c8c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106138ff576138ff613c8c565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790613964908590600090869030904290600401614054565b600060405180830381600087803b15801561397e57600080fd5b505af1158015613992573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461168b57600080fd5b6000602082840312156139c157600080fd5b81356139cc8161399a565b9392505050565b600060208083528351808285015260005b81811015613a00578581018301518582016040015282016139e4565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215613a3457600080fd5b8235613a3f8161399a565b946020939093013593505050565b600060208284031215613a5f57600080fd5b5035919050565b600080600060608486031215613a7b57600080fd5b8335613a868161399a565b92506020840135613a968161399a565b929592945050506040919091013590565b803565ffffffffffff81168114613abd57600080fd5b919050565b60008060008060808587031215613ad857600080fd5b613ae185613aa7565b9350613aef60208601613aa7565b9250613afd60408601613aa7565b9150613b0b60608601613aa7565b905092959194509250565b801515811461168b57600080fd5b600060208284031215613b3657600080fd5b81356139cc81613b16565b60008060408385031215613b5457600080fd5b8235613b5f8161399a565b91506020830135613b6f81613b16565b809150509250929050565b600060208284031215613b8c57600080fd5b81356001600160601b03811681146139cc57600080fd5b60008060408385031215613bb657600080fd5b8235613bc18161399a565b91506020830135613b6f8161399a565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613c1857600080fd5b5051919050565b600060208284031215613c3157600080fd5b81516139cc81613b16565b600181811c90821680613c5057607f821691505b602082108103613c7057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015613cdb5781516001600160a01b031687529582019590820190600101613cb6565b509495945050505050565b82815260406020820152600061113f6040830184613ca2565b60006020808385031215613d1257600080fd5b82516001600160401b0380821115613d2957600080fd5b818501915085601f830112613d3d57600080fd5b815181811115613d4f57613d4f613c76565b8060051b604051601f19603f83011681018181108582111715613d7457613d74613c76565b604052918252848201925083810185019188831115613d9257600080fd5b938501935b82851015613db057845184529385019392850192613d97565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff818116838216019080821115613df157613df1613dbc565b5092915050565b8082028115828204841417610f7a57610f7a613dbc565b634e487b7160e01b600052601260045260246000fd5b600082613e3457613e34613e0f565b500490565b81810381811115610f7a57610f7a613dbc565b80820180821115610f7a57610f7a613dbc565b600181815b80851115613e9a578160001904821115613e8057613e80613dbc565b80851615613e8d57918102915b93841c9390800290613e64565b509250929050565b600082613eb157506001610f7a565b81613ebe57506000610f7a565b8160018114613ed45760028114613ede57613efa565b6001915050610f7a565b60ff841115613eef57613eef613dbc565b50506001821b610f7a565b5060208310610133831016604e8410600b8410161715613f1d575081810a610f7a565b613f278383613e5f565b8060001904821115613f3b57613f3b613dbc565b029392505050565b60006139cc60ff841683613ea2565b60008060008060808587031215613f6857600080fd5b8451613f738161399a565b60208601516040870151606090970151919890975090945092505050565b600060208284031215613fa357600080fd5b81516139cc8161399a565b848152608060208201526000613fc76080830186613ca2565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b0381811683821602808216919082811461400657614006613dbc565b505092915050565b60006001600160801b038084168061402857614028613e0f565b92169190910492915050565b6001600160401b03818116838216019080821115613df157613df1613dbc565b85815284602082015260a06040820152600061407360a0830186613ca2565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122047b4ee7f349e2e938e0863beb4de9a3f10cdc37dc595cb870c400a46cd0b72c964736f6c63430008130033608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061116c806100616000396000f3fe6080604052600436106101395760003560e01c806391b89fba116100ab578063bc4c4b371161006f578063bc4c4b3714610369578063c0f306ef14610389578063dcb95ed9146103a9578063e30443bc146103c9578063f2fde38b146103e9578063fbcbc0f11461040957600080fd5b806391b89fba146102b0578063a8b9d240146102d0578063aafd847a146102f0578063ab6ddfa814610326578063ad7a672f1461035357600080fd5b80636843cd84116100fd5780636843cd84146101fd5780636a47400214610233578063715018a61461024857806371778e7d1461025d57806385a6b3ae146102725780638da5cb5b1461028857600080fd5b806303c833021461014d57806327ce01471461015557806330bb4cff1461018857806331e79db01461019d5780634e7b827f146101bd57600080fd5b3661014857610146610453565b005b600080fd5b610146610453565b34801561016157600080fd5b50610175610170366004610f56565b6104dd565b6040519081526020015b60405180910390f35b34801561019457600080fd5b50600654610175565b3480156101a957600080fd5b506101466101b8366004610f56565b610540565b3480156101c957600080fd5b506101ed6101d8366004610f56565b60076020526000908152604090205460ff1681565b604051901515815260200161017f565b34801561020957600080fd5b50610175610218366004610f56565b6001600160a01b031660009081526004602052604090205490565b34801561023f57600080fd5b506101466105a4565b34801561025457600080fd5b506101466105ad565b34801561026957600080fd5b50600554610175565b34801561027e57600080fd5b5061017560065481565b34801561029457600080fd5b506000546040516001600160a01b03909116815260200161017f565b3480156102bc57600080fd5b506101756102cb366004610f56565b610621565b3480156102dc57600080fd5b506101756102eb366004610f56565b610628565b3480156102fc57600080fd5b5061017561030b366004610f56565b6001600160a01b031660009081526003602052604090205490565b34801561033257600080fd5b50610175610341366004610f56565b60046020526000908152604090205481565b34801561035f57600080fd5b5061017560055481565b34801561037557600080fd5b506101ed610384366004610f73565b610654565b34801561039557600080fd5b506101466103a4366004610f56565b6106ec565b3480156103b557600080fd5b506101756103c4366004610f56565b6107e2565b3480156103d557600080fd5b506101466103e4366004610fb1565b610944565b3480156103f557600080fd5b50610146610404366004610f56565b6109a9565b34801561041557600080fd5b50610429610424366004610f56565b610a93565b604080516001600160a01b039095168552602085019390935291830152606082015260800161017f565b60006005541180156104655750600034115b156104db576005546104929061047f34600160801b610ad1565b6104899190610ff3565b60015490610b5a565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546104d79034610b5a565b6006555b565b6001600160a01b0381166000908152600260209081526040808320546004909252822054600154600160801b926105309261052b92610525916105209190610ad1565b610bb9565b90610bc9565b610c07565b61053a9190610ff3565b92915050565b6000546001600160a01b031633146105735760405162461bcd60e51b815260040161056a90611015565b60405180910390fd5b6001600160a01b0381166000908152600760205260408120805460ff191660011790556105a1908290610c1a565b50565b6105a133610cb3565b6000546001600160a01b031633146105d75760405162461bcd60e51b815260040161056a90611015565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061053a825b6001600160a01b03811660009081526003602052604081205461053a9061064e846104dd565b90610df4565b600080546001600160a01b0316331461067f5760405162461bcd60e51b815260040161056a90611015565b600061068a84610cb3565b905080156106e257821515846001600160a01b03167fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092836040516106d091815260200190565b60405180910390a3600191505061053a565b5060009392505050565b6000546001600160a01b031633146107165760405162461bcd60e51b815260040161056a90611015565b6001600160a01b03811660009081526007602052604090205460ff1661073b57600080fd5b6001600160a01b0381166000908152600760205260409020805460ff191690556105a1816107716000546001600160a01b031690565b6040516370a0823160e01b81526001600160a01b03858116600483015291909116906370a0823190602401602060405180830381865afa1580156107b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dd919061104a565b610c1a565b600080546001600160a01b0316331461080d5760405162461bcd60e51b815260040161056a90611015565b61081682610628565b9050801561089a576001600160a01b038216600090815260036020526040902054610842908290611063565b6001600160a01b038316600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906108919084815260200190565b60405180910390a25b600080546040516001600160a01b039091169083908381818185875af1925050503d80600081146108e7576040519150601f19603f3d011682016040523d82523d6000602084013e6108ec565b606091505b505090508061093d576001600160a01b0383166000908152600360205260409020546109189083610df4565b6001600160a01b038416600090815260036020526040812091909155915061093f9050565b505b919050565b6000546001600160a01b0316331461096e5760405162461bcd60e51b815260040161056a90611015565b6001600160a01b03821660009081526007602052604090205460ff166109a5576109988282610c1a565b6109a3826001610654565b505b5050565b6000546001600160a01b031633146109d35760405162461bcd60e51b815260040161056a90611015565b6001600160a01b038116610a385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161056a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b8060008080610aa184610628565b9250610aac846104dd565b6001600160a01b03851660009081526004602052604090205494969395509392915050565b600082600003610ae35750600061053a565b6000610aef8385611076565b905082610afc8583610ff3565b14610b535760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161056a565b9392505050565b600080610b678385611063565b905083811015610b535760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161056a565b6000818181121561053a57600080fd5b600080610bd6838561108d565b905060008312158015610be95750838112155b80610bfe5750600083128015610bfe57508381125b610b5357600080fd5b600080821215610c1657600080fd5b5090565b6001600160a01b038216600090815260046020526040902080549082905580821115610c76576000610c4c8383610df4565b9050610c588482610e36565b8060056000828254610c6a9190611063565b909155506109a3915050565b808210156109a3576000610c8a8284610df4565b9050610c968482610e90565b8060056000828254610ca891906110b5565b909155505050505050565b600080610cbf83610628565b90508015610deb576001600160a01b038316600090815260036020526040902054610cea9082610b5a565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90610d399084815260200190565b60405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d8e576040519150601f19603f3d011682016040523d82523d6000602084013e610d93565b606091505b5050905080610de4576001600160a01b038416600090815260036020526040902054610dbf9083610df4565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b6000610b5383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610eca565b610e70610e5161052083600154610ad190919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610f04565b6001600160a01b0390921660009081526002602052604090209190915550565b610e70610eab61052083600154610ad190919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610bc9565b60008184841115610eee5760405162461bcd60e51b815260040161056a91906110c8565b506000610efb84866110b5565b95945050505050565b600080610f118385611116565b905060008312158015610f245750838113155b80610bfe5750600083128015610bfe5750838113610b5357600080fd5b6001600160a01b03811681146105a157600080fd5b600060208284031215610f6857600080fd5b8135610b5381610f41565b60008060408385031215610f8657600080fd5b8235610f9181610f41565b915060208301358015158114610fa657600080fd5b809150509250929050565b60008060408385031215610fc457600080fd5b8235610fcf81610f41565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b60008261101057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561105c57600080fd5b5051919050565b8082018082111561053a5761053a610fdd565b808202811582820484141761053a5761053a610fdd565b80820182811260008312801582168215821617156110ad576110ad610fdd565b505092915050565b8181038181111561053a5761053a610fdd565b600060208083528351808285015260005b818110156110f5578581018301518582016040015282016110d9565b506000604082860101526040601f19601f8301168501019250505092915050565b8181036000831280158383131683831282161715610de457610de4610fdd56fea2646970667358221220bc8601e2d854c613379181e652b6a4f819ee884eda50cf8a45b6213c60c654b264736f6c634300081300330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000001b5800000000000000000000000089a5ab93bad8aefb235a8965bbd74f1b719c2004000000000000000000000000b24cc1bf46816124d8901a1733d6605f02cb8f0c00000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000001540000000000000000000000000000000000000000000000000000000000000010416e696d61205370697269742047656d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034153470000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80636f9a880e11610190578063a9059cbb116100dc578063cc1776d311610095578063dd62ed3e1161006f578063dd62ed3e14610a71578063f144e62014610a91578063f2fde38b14610ab1578063f84e426514610ad157600080fd5b8063cc1776d3146109c8578063db408e1a14610a11578063dbe66ca014610a4157600080fd5b8063a9059cbb146108e9578063aa5f7e2614610909578063ad56c13c14610929578063b2a9c0c014610973578063c077ab4b14610993578063c0f306ef146109a857600080fd5b806392b4639011610149578063a457c2d711610123578063a457c2d714610855578063a5949bcf14610875578063a8aa1b3114610895578063a8b9d240146108c957600080fd5b806392b46390146107f257806395d89b41146108125780639e93ad8e1461082757600080fd5b80636f9a880e1461075557806370a0823114610775578063715018a61461079557806371778e7d146107aa578063751039fc146107bf5780638da5cb5b146107d457600080fd5b806331e79db01161024f57806356340e811161020857806364a81f1d116101e257806364a81f1d146106735780636843cd84146106935780636cdc3677146106b35780636d7adcad146106d357600080fd5b806356340e81146105b15780635cfb534e146106335780635ecc20221461065357600080fd5b806331e79db01461049a57806336496bf7146104ba57806339509351146104da57806345006628146104fa5780634e71d92d1461051a5780634f7041a51461052f57600080fd5b80631af71da6116102a15780631af71da6146103ef5780631b03ddc11461040f5780631ebcb3df1461042f57806323b872dd1461044957806330bb4cff14610469578063313ce5671461047e57600080fd5b8063048dec38146102f457806306f200031461031657806306fdde03146103295780630758d92414610354578063095ea7b3146103a057806318160ddd146103d057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046139af565b610af1565b005b6103146103243660046139af565b610b8b565b34801561033557600080fd5b5061033e610ed4565b60405161034b91906139d3565b60405180910390f35b34801561036057600080fd5b506103887f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161034b565b3480156103ac57600080fd5b506103c06103bb366004613a21565b610f66565b604051901515815260200161034b565b3480156103dc57600080fd5b506002545b60405190815260200161034b565b3480156103fb57600080fd5b506103e161040a366004613a4d565b610f80565b34801561041b57600080fd5b50600c54610388906001600160a01b031681565b34801561043b57600080fd5b506010546103c09060ff1681565b34801561045557600080fd5b506103c0610464366004613a66565b611147565b34801561047557600080fd5b506103e161116b565b34801561048a57600080fd5b506040516012815260200161034b565b3480156104a657600080fd5b506103146104b53660046139af565b6111de565b3480156104c657600080fd5b506103e16104d53660046139af565b61126b565b3480156104e657600080fd5b506103c06104f5366004613a21565b611440565b34801561050657600080fd5b50610314610515366004613ac2565b611462565b34801561052657600080fd5b50610314611616565b34801561053b57600080fd5b50600a546105789065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a00161034b565b3480156105bd57600080fd5b50600f546105f9906001600160601b0380821691600160601b810490911690600160c01b810465ffffffffffff1690600160f01b900460ff1684565b604080516001600160601b03958616815294909316602085015265ffffffffffff909116918301919091521515606082015260800161034b565b34801561063f57600080fd5b5061031461064e366004613b24565b61168e565b34801561065f57600080fd5b5061031461066e366004613b41565b6116cb565b34801561067f57600080fd5b5061031461068e366004613b7a565b611819565b34801561069f57600080fd5b506103e16106ae3660046139af565b611941565b3480156106bf57600080fd5b506103146106ce366004613ac2565b6119b1565b3480156106df57600080fd5b50600d54600e5461071a916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a00161034b565b34801561076157600080fd5b50600954610388906001600160a01b031681565b34801561078157600080fd5b506103e16107903660046139af565b611b65565b3480156107a157600080fd5b50610314611b80565b3480156107b657600080fd5b506103e1611bf4565b3480156107cb57600080fd5b50610314611c3e565b3480156107e057600080fd5b506005546001600160a01b0316610388565b3480156107fe57600080fd5b5061031461080d3660046139af565b611d46565b34801561081e57600080fd5b5061033e611dd7565b34801561083357600080fd5b5061083d61271081565b6040516001600160401b03909116815260200161034b565b34801561086157600080fd5b506103c0610870366004613a21565b611de6565b34801561088157600080fd5b50600854610388906001600160a01b031681565b3480156108a157600080fd5b506103887f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e3581565b3480156108d557600080fd5b506103e16108e43660046139af565b611e61565b3480156108f557600080fd5b506103c0610904366004613a21565b611e94565b34801561091557600080fd5b50610314610924366004613a4d565b611ea2565b34801561093557600080fd5b506109496109443660046139af565b611f5d565b604080516001600160a01b039095168552602085019390935291830152606082015260800161034b565b34801561097f57600080fd5b5061031461098e366004613a4d565b611fe1565b34801561099f57600080fd5b506103e161212c565b3480156109b457600080fd5b506103146109c33660046139af565b6122d2565b3480156109d457600080fd5b50600b546105789065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610a1d57600080fd5b506103c0610a2c3660046139af565b60076020526000908152604090205460ff1681565b348015610a4d57600080fd5b506103c0610a5c3660046139af565b60066020526000908152604090205460ff1681565b348015610a7d57600080fd5b506103e1610a8c366004613ba3565b61232e565b348015610a9d57600080fd5b50610314610aac366004613b7a565b612359565b348015610abd57600080fd5b50610314610acc3660046139af565b61246a565b348015610add57600080fd5b50610314610aec366004613b41565b612555565b6005546001600160a01b03163314610b245760405162461bcd60e51b8152600401610b1b90613bd1565b60405180910390fd5b6001600160a01b038116610b695760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1b565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610bb55760405162461bcd60e51b8152600401610b1b90613bd1565b600047118015610bcd57506000610bcb30611b65565b115b610bd657600080fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b158015610c3157600080fd5b505af1158015610c45573d6000803e3d6000fd5b5050505050610c7d307f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e35610c7830611b65565b612678565b6040516370a0823160e01b81523060048201527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03169063a9059cbb907f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e359083906370a0823190602401602060405180830381865afa158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f9190613c06565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190613c1f565b506040516335313c2160e11b81526001600160a01b0382811660048301527f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e351690636a627842906024016020604051808303816000875af1158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190613c06565b5043601355600f805460ff60f01b1916600160f01b179055604080516350d25bcd60e01b815290516001600160a01b037f0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b841916916350d25bcd91600482810192602092919082900301816000875af1158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece9190613c06565b60155550565b606060038054610ee390613c3c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0f90613c3c565b8015610f5c5780601f10610f3157610100808354040283529160200191610f5c565b820191906000526020600020905b815481529060010190602001808311610f3f57829003601f168201915b5050505050905090565b600033610f7481858561281d565b60019150505b92915050565b600081600003610f9257506000919050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110610fe757610fe7613c8c565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061101b5761101b613c8c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f9061107a9087908690600401613ce6565b600060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110bf9190810190613cff565b600a54909150612710906110e390600160c01b900465ffffffffffff166032613dd2565b65ffffffffffff16826001815181106110fe576110fe613c8c565b60200260200101516111109190613df8565b61111a9190613e25565b8160018151811061112d5761112d613c8c565b602002602001015161113f9190613e39565b949350505050565b600033611155858285612941565b6111608585856129bb565b506001949350505050565b600c54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa1580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d99190613c06565b905090565b6005546001600160a01b031633146112085760405162461bcd60e51b8152600401610b1b90613bd1565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b15801561125057600080fd5b505af1158015611264573d6000803e3d6000fd5b5050505050565b60008061127783611e61565b90508060000361128a5750600092915050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816000815181106112df576112df613c8c565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061131357611313613c8c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f906113729086908690600401613ce6565b600060405180830381865afa15801561138f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113b79190810190613cff565b600a54909150612710906113db90600160c01b900465ffffffffffff166032613dd2565b65ffffffffffff16826001815181106113f6576113f6613c8c565b60200260200101516114089190613df8565b6114129190613e25565b8160018151811061142557611425613c8c565b60200260200101516114379190613e39565b95945050505050565b600033610f74818585611453838361232e565b61145d9190613e4c565b61281d565b6005546001600160a01b0316331461148c5760405162461bcd60e51b8152600401610b1b90613bd1565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836114cf8688613dd2565b6114d99190613dd2565b6114e39190613dd2565b65ffffffffffff16608082018190526103e810156115385760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1b565b608081015160405165ffffffffffff90911681527fa6255338a5f732d64ceba7f4c18182567f9d1067eb984b46d478b37d72a52d119060200160405180910390a18051600b805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b600c5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015611667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168b9190613c1f565b50565b6005546001600160a01b031633146116b85760405162461bcd60e51b8152600401610b1b90613bd1565b6012805460ff1916911515919091179055565b6005546001600160a01b031633146116f55760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b03821661173a5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1b565b806117b5577f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b0316826001600160a01b0316036117b55760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610b1b565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f0712a8411c7892e205c3d35c5d2beabe76bb0b484bec43945f2024cd28eaae8d91015b60405180910390a15050565b6005546001600160a01b031633146118435760405162461bcd60e51b8152600401610b1b90613bd1565b61184f6012600a613f43565b6103e861185b60025490565b611866906005613df8565b6118709190613e25565b61187a9190613e25565b816001600160601b031610156118bc5760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1b565b6118c86012600a613f43565b6118db906001600160601b038316613df8565b600f8054600160601b600160c01b031916600160601b6001600160601b0393841681029190911791829055604051910490911681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020015b60405180910390a150565b600c5460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa15801561198d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7a9190613c06565b6005546001600160a01b031633146119db5760405162461bcd60e51b8152600401610b1b90613bd1565b6040805160a0810182526000608082015265ffffffffffff868116825285811692820192909252838216602082015290821660608201528183611a1e8688613dd2565b611a289190613dd2565b611a329190613dd2565b65ffffffffffff16608082018190526103e81015611a875760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1b565b608081015160405165ffffffffffff90911681527f7a758dc8e99047b028278b3e2ff1416d8493a7aacee7a5dc30b6bf93270eccce9060200160405180910390a18051600a805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314611baa5760405162461bcd60e51b8152600401610b1b90613bd1565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa1580156111b5573d6000803e3d6000fd5b6005546001600160a01b03163314611c685760405162461bcd60e51b8152600401610b1b90613bd1565b6010805460ff191690556040805160808101825260008082526020820181905291810182905260608101919091526000611ca160025490565b6001600160601b03811680845260208401819052600f805460408087015160608801516001600160c01b03199093168517600160601b9095029490941766ffffffffffffff60c01b1916600160c01b65ffffffffffff9095169490940260ff60f01b191693909317600160f01b91151591909102179055519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a15050565b6005546001600160a01b03163314611d705760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b038116611db55760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1b565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610ee390613c3c565b60003381611df4828661232e565b905083811015611e545760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b1b565b611160828686840361281d565b600c546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611970565b600033610f748185856129bb565b600c5460405163dcb95ed960e01b81523360048201526000916001600160a01b03169063dcb95ed9906024016020604051808303816000875af1158015611eed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f119190613c06565b90508015611f2857611f24818333612b29565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610b1b565b600c5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392169063fbcbc0f190602401608060405180830381865afa158015611fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd29190613f52565b93509350935093509193509193565b6005546001600160a01b0316331461200b5760405162461bcd60e51b8152600401610b1b90613bd1565b620186a061201860025490565b612023906001613df8565b61202d9190613e25565b81101561209a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b1b565b6103e86120a660025490565b6120b1906005613df8565b6120bb9190613e25565b8111156121275760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b1b565b601455565b60006305f5e100670de0b6b3a764000061214761dead611b65565b6002546121549190613e39565b61217d7f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e35611b65565b6015547f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122029190613f91565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e358116600483015291909116906370a0823190602401602060405180830381865afa15801561226a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228e9190613c06565b6122a090670de0b6b3a7640000613df8565b6122aa9190613df8565b6122b49190613e25565b6122be9190613df8565b6122c89190613e25565b6111d99190613e25565b6005546001600160a01b031633146122fc5760405162461bcd60e51b8152600401610b1b90613bd1565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef90602401611236565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146123835760405162461bcd60e51b8152600401610b1b90613bd1565b61238f6012600a613f43565b6103e861239b60025490565b6123a6906005613df8565b6123b09190613e25565b6123ba9190613e25565b816001600160601b031610156123fc5760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1b565b6124086012600a613f43565b61241b906001600160601b038316613df8565b600f80546001600160601b0319166001600160601b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e690602001611936565b6005546001600160a01b031633146124945760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b0381166124f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1b565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461257f5760405162461bcd60e51b8152600401610b1b90613bd1565b6001600160a01b0382166125c45760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1b565b306001600160a01b0383160361261c5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420756e6578636c7564656420636f6e74726163740000000000006044820152606401610b1b565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527fc4eea32423e96d678d53f47ddd9b7a5103eea02606d7daa81c77038c54dc8edb910161180d565b6001600160a01b0383166126dc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b1b565b6001600160a01b03821661273e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b1b565b6001600160a01b038316600090815260208190526040902054818110156127b65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b1b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6001600160a01b03831661287f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b1b565b6001600160a01b0382166128e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b1b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061294d848461232e565b905060001981146129b557818110156129a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b1b565b6129b5848484840361281d565b50505050565b6001600160a01b03831660009081526006602052604090205460ff161580156129fd57506001600160a01b03821660009081526006602052604090205460ff16155b15612a2557612a0d838383612c4e565b612a188383836130a1565b612a229082613e39565b90505b612a30838383612678565b600c546001600160a01b031663e30443bc83612a4b81611b65565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b5050600c546001600160a01b0316915063e30443bc905084612ac681611b65565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612b0c57600080fd5b505af1158015612b20573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110612b7e57612b7e613c8c565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612bb257612bb2613c8c565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063b6f9de95908690612c16908790869088904290600401613fae565b6000604051808303818588803b158015612c2f57600080fd5b505af1158015612c43573d6000803e3d6000fd5b505050505050505050565b60105460ff1615612fdf576001600160a01b03821660009081526007602052604081205460ff1690612c7f84611b65565b60408051608081018252600f546001600160601b038082168352600160601b8204166020830152600160c01b810465ffffffffffff1692820192909252600160f01b90910460ff16151560608201529091507f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b03908116908716148015612d0b575082155b15612ee05780516001600160601b0316841115612d545760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1b565b60208101516001600160601b0316612d6c8386613e4c565b1115612da75760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1b565b806060015115612edb57601354612dbf906004613e4c565b4310612e3757600060608201528051600f80546020840151604085015160ff60f01b1965ffffffffffff909116600160c01b021666ffffffffffffff60c01b196001600160601b03928316600160601b026001600160c01b031990941692909516919091179190911792909216919091179055612fdb565b601354612e45906001613e4c565b4311612e7f5760405162461bcd60e51b81526020600482015260096024820152684561726c792062757960b81b6044820152606401610b1b565b806040015165ffffffffffff163a1115612edb5760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610b1b565b612fdb565b7f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b0316856001600160a01b0316148015612f3a57506001600160a01b03861660009081526007602052604090205460ff16155b15612f835780516001600160601b0316841115612edb5760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1b565b82612fdb5760208101516001600160601b0316612fa08386613e4c565b1115612fdb5760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1b565b5050505b60125460ff1615613075577f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b0316826001600160a01b03160361307a576001600160a01b03831660009081526011602052604090205443116130755760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610b1b565b505050565b506001600160a01b0316600090815260116020526040808220439081905532835291205550565b60006014546130af30611b65565b101580156130ef57507f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b0316846001600160a01b031614155b156130fc576130fc6134e0565b6040805160a08101825260008082526020820181905291810182905260608101829052608081018290527f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b0316856001600160a01b0316036131b957506040805160a081018252600b5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152613248565b7f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b0316866001600160a01b03160361324857506040805160a081018252600a5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff16156134ce576040805160a081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b90049091166060820152600e5460ff161515608080830191909152820151612710906132cb9065ffffffffffff1687613df8565b6132d59190613e25565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff16856133019190613fe3565b61330b919061400e565b613315919061400e565b816020018181516133269190614034565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff90811691613355911686613fe3565b61335f919061400e565b613369919061400e565b81518290613378908390614034565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff908116916133aa911686613fe3565b6133b4919061400e565b6133be919061400e565b816040018181516133cf9190614034565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff90811691613401911686613fe3565b61340b919061400e565b613415919061400e565b816060018181516134269190614034565b6001600160401b039081169091528251600d80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026fffffffffffffffffffffffffffffffff199094169590961694909417919091178116939093179190911790556080830151600e805491151560ff199092169190911790556134cc9150889030908616612678565b505b506001600160801b0316949350505050565b60006134eb30611b65565b6040805160a081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b84048316958501869052600160c01b90930490911660608401819052600e5460ff161515608085015294955091936000939092909161355a9190614034565b6135649190614034565b61356e9190614034565b6001600160401b03169050821580613584575080155b1561358e57505050565b6014805461359b91613df8565b8311156135b257601480546135af91613df8565b92505b60208201516001600160401b0316156136ae5760008183602001516001600160401b0316856135e19190613df8565b6135eb9190613e25565b9050613618307f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e3583612678565b7f000000000000000000000000e79bac885fc86b861b9ca4866c022c85bb801e356001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561367357600080fd5b505af1925050508015613684575060015b5061368f8185613e39565b935082602001516001600160401b0316826136aa9190613e39565b9150505b8215613840576136bd83613876565b604082015147906000906001600160401b03161561374f5760095460408501516001600160a01b039091169084906136fe906001600160401b031685613df8565b6137089190613e25565b604051600081818185875af1925050503d8060008114613744576040519150601f19603f3d011682016040523d82523d6000602084013e613749565b606091505b50909150505b60608401516001600160401b0316156137dc57600c5460608501516001600160a01b0390911690849061378b906001600160401b031685613df8565b6137959190613e25565b604051600081818185875af1925050503d80600081146137d1576040519150601f19603f3d011682016040523d82523d6000602084013e6137d6565b606091505b50909150505b479150811561383d576008546040516001600160a01b03909116908390600081818185875af1925050503d8060008114613832576040519150601f19603f3d011682016040523d82523d6000602084013e613837565b606091505b50909150505b50505b506000602082018190528082526040820181905260608201819052600d5560800151600e805460ff191691151591909117905550565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106138ab576138ab613c8c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106138ff576138ff613c8c565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac94790613964908590600090869030904290600401614054565b600060405180830381600087803b15801561397e57600080fd5b505af1158015613992573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461168b57600080fd5b6000602082840312156139c157600080fd5b81356139cc8161399a565b9392505050565b600060208083528351808285015260005b81811015613a00578581018301518582016040015282016139e4565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215613a3457600080fd5b8235613a3f8161399a565b946020939093013593505050565b600060208284031215613a5f57600080fd5b5035919050565b600080600060608486031215613a7b57600080fd5b8335613a868161399a565b92506020840135613a968161399a565b929592945050506040919091013590565b803565ffffffffffff81168114613abd57600080fd5b919050565b60008060008060808587031215613ad857600080fd5b613ae185613aa7565b9350613aef60208601613aa7565b9250613afd60408601613aa7565b9150613b0b60608601613aa7565b905092959194509250565b801515811461168b57600080fd5b600060208284031215613b3657600080fd5b81356139cc81613b16565b60008060408385031215613b5457600080fd5b8235613b5f8161399a565b91506020830135613b6f81613b16565b809150509250929050565b600060208284031215613b8c57600080fd5b81356001600160601b03811681146139cc57600080fd5b60008060408385031215613bb657600080fd5b8235613bc18161399a565b91506020830135613b6f8161399a565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613c1857600080fd5b5051919050565b600060208284031215613c3157600080fd5b81516139cc81613b16565b600181811c90821680613c5057607f821691505b602082108103613c7057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015613cdb5781516001600160a01b031687529582019590820190600101613cb6565b509495945050505050565b82815260406020820152600061113f6040830184613ca2565b60006020808385031215613d1257600080fd5b82516001600160401b0380821115613d2957600080fd5b818501915085601f830112613d3d57600080fd5b815181811115613d4f57613d4f613c76565b8060051b604051601f19603f83011681018181108582111715613d7457613d74613c76565b604052918252848201925083810185019188831115613d9257600080fd5b938501935b82851015613db057845184529385019392850192613d97565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff818116838216019080821115613df157613df1613dbc565b5092915050565b8082028115828204841417610f7a57610f7a613dbc565b634e487b7160e01b600052601260045260246000fd5b600082613e3457613e34613e0f565b500490565b81810381811115610f7a57610f7a613dbc565b80820180821115610f7a57610f7a613dbc565b600181815b80851115613e9a578160001904821115613e8057613e80613dbc565b80851615613e8d57918102915b93841c9390800290613e64565b509250929050565b600082613eb157506001610f7a565b81613ebe57506000610f7a565b8160018114613ed45760028114613ede57613efa565b6001915050610f7a565b60ff841115613eef57613eef613dbc565b50506001821b610f7a565b5060208310610133831016604e8410600b8410161715613f1d575081810a610f7a565b613f278383613e5f565b8060001904821115613f3b57613f3b613dbc565b029392505050565b60006139cc60ff841683613ea2565b60008060008060808587031215613f6857600080fd5b8451613f738161399a565b60208601516040870151606090970151919890975090945092505050565b600060208284031215613fa357600080fd5b81516139cc8161399a565b848152608060208201526000613fc76080830186613ca2565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b0381811683821602808216919082811461400657614006613dbc565b505092915050565b60006001600160801b038084168061402857614028613e0f565b92169190910492915050565b6001600160401b03818116838216019080821115613df157613df1613dbc565b85815284602082015260a06040820152600061407360a0830186613ca2565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122047b4ee7f349e2e938e0863beb4de9a3f10cdc37dc595cb870c400a46cd0b72c964736f6c63430008130033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000001b5800000000000000000000000089a5ab93bad8aefb235a8965bbd74f1b719c2004000000000000000000000000b24cc1bf46816124d8901a1733d6605f02cb8f0c00000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000001540000000000000000000000000000000000000000000000000000000000000010416e696d61205370697269742047656d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034153470000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : params (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [3] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000001b58
Arg [5] : 00000000000000000000000089a5ab93bad8aefb235a8965bbd74f1b719c2004
Arg [6] : 000000000000000000000000b24cc1bf46816124d8901a1733d6605f02cb8f0c
Arg [7] : 00000000000000000000000000000000000000000000000000000000000004b0
Arg [8] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 00000000000000000000000000000000000000000000000000000000000004b0
Arg [12] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000154
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [19] : 416e696d61205370697269742047656d00000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [21] : 4153470000000000000000000000000000000000000000000000000000000000


Loading...
Loading
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.