ETH Price: $3,325.25 (+1.85%)
Gas: 6 Gwei

Token

RBXS (RBXSamurai)
 

Overview

Max Total Supply

100,000,000 RBXSamurai

Holders

240

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RBXS

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : RBX.sol
// Sources flattened with hardhat v2.8.0 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


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

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

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


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

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




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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

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

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

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

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

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

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

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



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}


/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}



/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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



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

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

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

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

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

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

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

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



interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

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

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}




interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}



interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    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 IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        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 swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}


// File contracts/RBXS.sol

/*

For more information and/or business partnership agreements, please visit our 
website or contact us directly:

Web: https://rbx.ae
Email: [email protected]
Telegram: @RBXtoken
 

*/





pragma solidity ^0.8.10;

contract RBXS is ERC20, ERC20Burnable, AccessControl {
    using SafeERC20 for IERC20;

    struct LiquidityPairs {
      address pair;
      address router;
      address base;
    }

    bytes32 public constant AUX_ADMIN = keccak256("AUX_ADMIN");

    event SetPair(address indexed pair, address indexed router);
    event TokensMirrored(address indexed account, uint indexed amount);
    event WhitelistAddress(address indexed account, bool isExcluded);

    mapping(address => bool) private _whiteListed;
    mapping(address => bool) private _blacklisted;
    mapping(address => bool) private _exempted;
    mapping(address => uint256) private _lastTransfer;

    mapping(address => LiquidityPairs) public _routerPairs;

    uint public DIVISOR = 1_000;

    // snipe and bot limiters
    uint public elysium;                                    // last block for limits
    uint public initLimit = 50_000 * 10 ** decimals();      // max tx amount ( ~0.5 eth)

    uint public fundingFee = 25;
    uint public tokenThreshold = 10_000 * 10 ** decimals();

    address payable public fundingWallet;
    address public previousToken;
    address public mintVault;

    bool private swapping;
    bool public fundingEnabled = true;
    bool public preTrade = true;

    constructor(address _previousToken) ERC20("RBXS", "RBXSamurai") {
        previousToken = _previousToken;
        
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(AUX_ADMIN, msg.sender);

        _mint(msg.sender, 100_000_000 * 10 ** decimals());

        fundingWallet = payable(msg.sender);

        whitelistAddress(msg.sender, true);
        whitelistAddress(address(this), true);

        _exempted[msg.sender] = true;

    }

    function balanceOf(address account) public view override returns (uint) {
        if(_exempted[account])
            return super.balanceOf(account);

        uint total = super.balanceOf(account) + IERC20(previousToken).balanceOf(account) / DIVISOR;
        return total;
    }

    function _beforeTokenTransfer(address from, address to, uint amount)
        internal
        override(ERC20)
    {
        if(!_exempted[from]) {
            _addBal(from, IERC20(previousToken).balanceOf(from) / DIVISOR);
        }

        super._beforeTokenTransfer(from, to, amount);
    }

    function whitelistAddress(address account, bool setting) public {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender) ||
          hasRole(AUX_ADMIN, msg.sender)
          , "Insufficient privileges"
        );
        require(_whiteListed[account] != setting, "RBX: Account already at setting");
        _whiteListed[account] = setting;

        emit WhitelistAddress(account, setting);
    }

    function _transfer(address sender, address recipient, uint amount) internal override(ERC20) {
        if(preTrade)
            require(_whiteListed[sender], "PreTrade");

        require(!_blacklisted[sender] && !_blacklisted[recipient], "Blacklisted address given");

        uint contractBalance = balanceOf(address(this));

        uint thresholdSell = contractBalance >= tokenThreshold ? tokenThreshold : contractBalance;

        // limits
        if (block.timestamp <= elysium && _routerPairs[sender].pair == sender) {
            require(_lastTransfer[recipient] + 5 minutes < block.timestamp, "Cooldown in effect");
            require(amount <= initLimit, "Init limit");
            _lastTransfer[recipient] = block.timestamp;
        }

        if (
            fundingEnabled &&
            !swapping &&
            _routerPairs[recipient].pair == recipient &&
            !_whiteListed[sender] &&
            !_whiteListed[recipient]) {
                uint fees = amount * fundingFee / DIVISOR;
                amount -= fees;

                super._transfer(sender, address(this), fees);
                swapTokensByPair(fees + thresholdSell, recipient);
            }

        super._transfer(sender, recipient, amount);        
    }

    function _addBal(address account, uint amount) private {
        _balances[account] += amount;
        _exempted[account] = true;

        if(_balances[mintVault] >= amount)
            _balances[mintVault] -= amount;
            
        emit TokensMirrored(account, amount);
    }

    function setElysium(uint _elysium) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender) ||
          hasRole(AUX_ADMIN, msg.sender)
          , "Insufficient privileges"
        );
        elysium = _elysium;
    }

    function setMintVault(address _mintVault) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );
        mintVault = _mintVault;
    }

    function setPretrade(bool _preTrade) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender) ||
          hasRole(AUX_ADMIN, msg.sender)
          , "Insufficient privileges"
        );
        preTrade = _preTrade;
    }

    function swapTokensByPair(uint tokenAmount, address pair) private {
        swapping = true;

        LiquidityPairs memory currentPair = _routerPairs[pair];

        address path1 = currentPair.base;
        IUniswapV2Router02 router = IUniswapV2Router02(currentPair.router);

        // generate the pair path of token from current pair
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = path1;

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

        // make the swap

        if(currentPair.base == router.WETH()){
          router.swapExactTokensForETHSupportingFeeOnTransferTokens(
              tokenAmount,
              0, // accept any amount
              path,
              fundingWallet,
              block.timestamp
          );
        } else {
          router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
              tokenAmount,
              0, // accept any amount
              path,
              fundingWallet,
              block.timestamp
          );
        }

        swapping = false;
    }

    function _addPair(address pair, address router, address base) public {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender) ||
          hasRole(AUX_ADMIN, msg.sender)
          , "Insufficient privileges"
        );

        _routerPairs[pair].pair = pair;
        _routerPairs[pair].router = router;
        _routerPairs[pair].base = base;

        emit SetPair(pair, router);
    }

    function setTokenThreshold(uint _tokenThreshold) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );

        tokenThreshold = _tokenThreshold;
    }

    function setFundingSells(bool _setting) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender) ||
          hasRole(AUX_ADMIN, msg.sender)
          , "Insufficient privileges"
        );

        fundingEnabled = _setting;
    }

    function setFundingWallet(address payable _wallet) external onlyRole(DEFAULT_ADMIN_ROLE){
        fundingWallet = _wallet;
        _whiteListed[address(_wallet)] = true;
    }

    function blacklistAddress(address account, bool value) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );
        _blacklisted[account] = value;
    }

    function exemptAddress(address account, bool value) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );
        _exempted[account] = value;
    }

    function exemptAddressBatch(address[] memory account, bool value) external {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );
        for (uint256 i = 0; i < account.length; i++) {
            _exempted[account[i]] = value;
        }     
    }

    // The following functions are overrides required by Solidity.

    function _afterTokenTransfer(address from, address to, uint amount)
        internal
        override(ERC20)
    {
        super._afterTokenTransfer(from, to, amount);
    }


    function _burn(address account, uint amount)
        internal
        override(ERC20)
    {
        super._burn(account, amount);
    }
    
    // internal-only function, required to override imports properly
    function _mint(address account, uint amount)
        internal
        override(ERC20)
    {
        super._mint(account, amount);
    }

    function rescueTokens(address recipient, address token, uint amount) public returns(bool) {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );

        require(!(_routerPairs[token].pair == token), "Can't transfer out LP tokens!");

        IERC20(token).transfer(recipient, amount); //use of the _ERC20 traditional transfer
        
        return true;
    }

    function rescueTokensSafe(address recipient, IERC20 token, uint amount) public returns(bool) {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );

        require(!(_routerPairs[address(token)].pair == address(token)), "Can't transfer out LP tokens!");
        
        token.safeTransfer(recipient, amount); //use of the _ERC20 traditional transfer
        
        return true;
    }

    function rescueEth(address payable recipient) public {
        require(
          hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          , "Insufficient privileges"
        );
        recipient.transfer(address(this).balance);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_previousToken","type":"address"}],"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":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"address","name":"router","type":"address"}],"name":"SetPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensMirrored","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"WhitelistAddress","type":"event"},{"inputs":[],"name":"AUX_ADMIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"base","type":"address"}],"name":"_addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_routerPairs","outputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"base","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","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":"elysium","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"exemptAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"exemptAddressBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"initLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintVault","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":"preTrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"rescueEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokensSafe","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_elysium","type":"uint256"}],"name":"setElysium","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setting","type":"bool"}],"name":"setFundingSells","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_wallet","type":"address"}],"name":"setFundingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mintVault","type":"address"}],"name":"setMintVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_preTrade","type":"bool"}],"name":"setPretrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenThreshold","type":"uint256"}],"name":"setTokenThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"setting","type":"bool"}],"name":"whitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600b556200001a6200030660201b60201c565b600a62000028919062000d6b565b61c35062000037919062000dbc565b600d556019600e556200004f6200030660201b60201c565b600a6200005d919062000d6b565b6127106200006c919062000dbc565b600f556001601260156101000a81548160ff0219169083151502179055506001601260166101000a81548160ff021916908315150217905550348015620000b257600080fd5b5060405162006973380380620069738339818101604052810190620000d8919062000e87565b6040518060400160405280600481526020017f52425853000000000000000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f52425853616d757261690000000000000000000000000000000000000000000081525081600390805190602001906200015c92919062000b21565b5080600490805190602001906200017592919062000b21565b50505080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001ce6000801b336200030f60201b60201c565b620002007fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c21336200030f60201b60201c565b6200024033620002156200030660201b60201c565b600a62000223919062000d6b565b6305f5e10062000234919062000dbc565b6200032560201b60201c565b33601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002943360016200034060201b60201c565b620002a73060016200034060201b60201c565b6001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550506200127d565b60006012905090565b6200032182826200051260201b60201c565b5050565b6200033c82826200060460201b62001f761760201c565b5050565b620003556000801b336200077d60201b60201c565b806200038f57506200038e7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c21336200077d60201b60201c565b5b620003d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c89062000f1a565b60405180910390fd5b801515600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141562000467576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045e9062000f8c565b60405180910390fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f33e0bf3ce98fac4118d5a0a8fe49e83b6acdfdef32871c9eca20e1528d7701ba8260405162000506919062000fcb565b60405180910390a25050565b6200052482826200077d60201b60201c565b620006005760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620005a5620007e860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000677576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200066e9062001038565b60405180910390fd5b6200068b60008383620007f060201b60201c565b80600260008282546200069f91906200105a565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620006f691906200105a565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200075d9190620010c8565b60405180910390a362000779600083836200092160201b60201c565b5050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000904576200090383600b54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b8152600401620008a79190620010f6565b602060405180830381865afa158015620008c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008eb919062001144565b620008f79190620011a5565b6200093e60201b60201c565b5b6200091c83838362000b1760201b620020d61760201c565b505050565b6200093983838362000b1c60201b620020db1760201c565b505050565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200098e91906200105a565b925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541062000acf5780600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000ac79190620011dd565b925050819055505b808273ffffffffffffffffffffffffffffffffffffffff167f4e6fe3f360b7528110f6226c8ab8696ac6e82f37126936ce82b17cf133d298a860405160405180910390a35050565b505050565b505050565b82805462000b2f9062001247565b90600052602060002090601f01602090048101928262000b53576000855562000b9f565b82601f1062000b6e57805160ff191683800117855562000b9f565b8280016001018555821562000b9f579182015b8281111562000b9e57825182559160200191906001019062000b81565b5b50905062000bae919062000bb2565b5090565b5b8082111562000bcd57600081600090555060010162000bb3565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000c5f5780860481111562000c375762000c3662000bd1565b5b600185161562000c475780820291505b808102905062000c578562000c00565b945062000c17565b94509492505050565b60008262000c7a576001905062000d4d565b8162000c8a576000905062000d4d565b816001811462000ca3576002811462000cae5762000ce4565b600191505062000d4d565b60ff84111562000cc35762000cc262000bd1565b5b8360020a91508482111562000cdd5762000cdc62000bd1565b5b5062000d4d565b5060208310610133831016604e8410600b841016171562000d1e5782820a90508381111562000d185762000d1762000bd1565b5b62000d4d565b62000d2d848484600162000c0d565b9250905081840481111562000d475762000d4662000bd1565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b600062000d788262000d54565b915062000d858362000d5e565b925062000db47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000c68565b905092915050565b600062000dc98262000d54565b915062000dd68362000d54565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000e125762000e1162000bd1565b5b828202905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000e4f8262000e22565b9050919050565b62000e618162000e42565b811462000e6d57600080fd5b50565b60008151905062000e818162000e56565b92915050565b60006020828403121562000ea05762000e9f62000e1d565b5b600062000eb08482850162000e70565b91505092915050565b600082825260208201905092915050565b7f496e73756666696369656e742070726976696c65676573000000000000000000600082015250565b600062000f0260178362000eb9565b915062000f0f8262000eca565b602082019050919050565b6000602082019050818103600083015262000f358162000ef3565b9050919050565b7f5242583a204163636f756e7420616c72656164792061742073657474696e6700600082015250565b600062000f74601f8362000eb9565b915062000f818262000f3c565b602082019050919050565b6000602082019050818103600083015262000fa78162000f65565b9050919050565b60008115159050919050565b62000fc58162000fae565b82525050565b600060208201905062000fe2600083018462000fba565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062001020601f8362000eb9565b91506200102d8262000fe8565b602082019050919050565b60006020820190508181036000830152620010538162001011565b9050919050565b6000620010678262000d54565b9150620010748362000d54565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620010ac57620010ab62000bd1565b5b828201905092915050565b620010c28162000d54565b82525050565b6000602082019050620010df6000830184620010b7565b92915050565b620010f08162000e42565b82525050565b60006020820190506200110d6000830184620010e5565b92915050565b6200111e8162000d54565b81146200112a57600080fd5b50565b6000815190506200113e8162001113565b92915050565b6000602082840312156200115d576200115c62000e1d565b5b60006200116d848285016200112d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000620011b28262000d54565b9150620011bf8362000d54565b925082620011d257620011d162001176565b5b828204905092915050565b6000620011ea8262000d54565b9150620011f78362000d54565b9250828210156200120d576200120c62000bd1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200126057607f821691505b6020821081141562001277576200127662001218565b5b50919050565b6156e6806200128d6000396000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c806370a082311161015c578063a9059cbb116100ce578063d547741f11610087578063d547741f146107fb578063dd62ed3e14610817578063e10e95c914610847578063eca2b4d314610865578063f33c86cd14610881578063f395af961461089f5761028a565b8063a9059cbb146106ff578063b028b05c1461072f578063b3f579f51461074d578063b9a45aac1461077f578063cea9d26f1461079b578063ceacd451146107cb5761028a565b806395d89b411161012057806395d89b411461063f5780639819d24e1461065d578063a114aea014610679578063a217fddf14610695578063a3019cf8146106b3578063a457c2d7146106cf5761028a565b806370a082311461058b57806379cc6790146105bb5780637cf2bd30146105d757806387bde549146105f357806391d148541461060f5761028a565b8063313ce56711610200578063412131fa116101b9578063412131fa146104dd57806342966c68146104f9578063455a43961461051557806359a7cb79146105315780635d16e1201461054f57806366692ff01461056d5761028a565b8063313ce5671461041b5780633410fe6e1461043957806336568abe1461045757806339509351146104735780633b1ab44c146104a35780633c4b40b8146104bf5761028a565b806318160ddd1161025257806318160ddd1461034757806323b872dd14610365578063248a9ca3146103955780632a87c91f146103c55780632eee963b146103e15780632f2ff15d146103ff5761028a565b8063017b0a301461028f57806301ffc9a7146102ab57806304876746146102db57806306fdde03146102f9578063095ea7b314610317575b600080fd5b6102a960048036038101906102a49190613c47565b6108bd565b005b6102c560048036038101906102c09190613ccc565b610957565b6040516102d29190613d08565b60405180910390f35b6102e36109d1565b6040516102f09190613d3c565b60405180910390f35b6103016109d7565b60405161030e9190613df0565b60405180910390f35b610331600480360381019061032c9190613e9c565b610a69565b60405161033e9190613d08565b60405180910390f35b61034f610a87565b60405161035c9190613d3c565b60405180910390f35b61037f600480360381019061037a9190613edc565b610a91565b60405161038c9190613d08565b60405180910390f35b6103af60048036038101906103aa9190613f65565b610b89565b6040516103bc9190613fa1565b60405180910390f35b6103df60048036038101906103da9190613fbc565b610ba9565b005b6103e9610c39565b6040516103f69190613fa1565b60405180910390f35b61041960048036038101906104149190613fe9565b610c5d565b005b610423610c86565b6040516104309190614045565b60405180910390f35b610441610c8f565b60405161044e9190613d3c565b60405180910390f35b610471600480360381019061046c9190613fe9565b610c95565b005b61048d60048036038101906104889190613e9c565b610d18565b60405161049a9190613d08565b60405180910390f35b6104bd60048036038101906104b8919061409e565b610dc4565b005b6104c7610e5a565b6040516104d491906140da565b60405180910390f35b6104f760048036038101906104f291906140f5565b610e80565b005b610513600480360381019061050e9190614148565b6110df565b005b61052f600480360381019061052a9190614175565b6110f3565b005b61053961119a565b6040516105469190613d3c565b60405180910390f35b6105576111a0565b6040516105649190613d3c565b60405180910390f35b6105756111a6565b6040516105829190613d3c565b60405180910390f35b6105a560048036038101906105a09190613fbc565b6111ac565b6040516105b29190613d3c565b60405180910390f35b6105d560048036038101906105d09190613e9c565b6112da565b005b6105f160048036038101906105ec9190614148565b611355565b005b61060d60048036038101906106089190614148565b6113dc565b005b61062960048036038101906106249190613fe9565b611432565b6040516106369190613d08565b60405180910390f35b61064761149d565b6040516106549190613df0565b60405180910390f35b6106776004803603810190610672919061409e565b61152f565b005b610693600480360381019061068e91906142fd565b6115e1565b005b61069d6116c2565b6040516106aa9190613fa1565b60405180910390f35b6106cd60048036038101906106c89190614175565b6116c9565b005b6106e960048036038101906106e49190613e9c565b611770565b6040516106f69190613d08565b60405180910390f35b61071960048036038101906107149190613e9c565b61185b565b6040516107269190613d08565b60405180910390f35b610737611879565b6040516107449190614368565b60405180910390f35b61076760048036038101906107629190613fbc565b61189f565b60405161077693929190614383565b60405180910390f35b61079960048036038101906107949190614175565b611929565b005b6107b560048036038101906107b09190613edc565b611ae2565b6040516107c29190613d08565b60405180910390f35b6107e560048036038101906107e091906143f8565b611c8b565b6040516107f29190613d08565b60405180910390f35b61081560048036038101906108109190613fe9565b611de0565b005b610831600480360381019061082c919061444b565b611e09565b60405161083e9190613d3c565b60405180910390f35b61084f611e90565b60405161085c9190613d08565b60405180910390f35b61087f600480360381019061087a9190613c47565b611ea3565b005b610889611f3d565b6040516108969190613d08565b60405180910390f35b6108a7611f50565b6040516108b49190614368565b60405180910390f35b6108ca6000801b33611432565b806108fb57506108fa7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b61093a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610931906144d7565b60405180910390fd5b80601260156101000a81548160ff02191690831515021790555050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ca57506109c9826120e0565b5b9050919050565b600d5481565b6060600380546109e690614526565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1290614526565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b5050505050905090565b6000610a7d610a7661214a565b8484612152565b6001905092915050565b6000600254905090565b6000610a9e84848461231d565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610ae961214a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b60906145ca565b60405180910390fd5b610b7d85610b7561214a565b858403612152565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b610bb66000801b33611432565b610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906144d7565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2181565b610c6682610b89565b610c7781610c7261214a565b612857565b610c8183836128f4565b505050565b60006012905090565b600b5481565b610c9d61214a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d019061465c565b60405180910390fd5b610d1482826129d5565b5050565b6000610dba610d2561214a565b848460016000610d3361214a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610db591906146ab565b612152565b6001905092915050565b610dd16000801b33611432565b610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e07906144d7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e56573d6000803e3d6000fd5b5050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e8d6000801b33611432565b80610ebe5750610ebd7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b610efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef4906144d7565b60405180910390fd5b82600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fd482e95abb3d8f5eaf8f07dbd4c204ea55842bacc8cf5d530aa104716551e21660405160405180910390a3505050565b6110f06110ea61214a565b82612ab7565b50565b6111006000801b33611432565b61113f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611136906144d7565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600c5481565b600e5481565b600f5481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112105761120982612ac5565b90506112d5565b6000600b54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016112709190614368565b602060405180830381865afa15801561128d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b19190614716565b6112bb9190614772565b6112c484612ac5565b6112ce91906146ab565b9050809150505b919050565b60006112ed836112e861214a565b611e09565b905081811015611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990614815565b60405180910390fd5b6113468361133e61214a565b848403612152565b6113508383612ab7565b505050565b6113626000801b33611432565b8061139357506113927fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b6113d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c9906144d7565b60405180910390fd5b80600c8190555050565b6113e96000801b33611432565b611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906144d7565b60405180910390fd5b80600f8190555050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546114ac90614526565b80601f01602080910402602001604051908101604052809291908181526020018280546114d890614526565b80156115255780601f106114fa57610100808354040283529160200191611525565b820191906000526020600020905b81548152906001019060200180831161150857829003601f168201915b5050505050905090565b6000801b6115448161153f61214a565b612857565b81601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6115ee6000801b33611432565b61162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611624906144d7565b60405180910390fd5b60005b82518110156116bd57816008600085848151811061165157611650614835565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806116b590614864565b915050611630565b505050565b6000801b81565b6116d66000801b33611432565b611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c906144d7565b60405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806001600061177f61214a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561183c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118339061491f565b60405180910390fd5b61185061184761214a565b85858403612152565b600191505092915050565b600061186f61186861214a565b848461231d565b6001905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905083565b6119366000801b33611432565b8061196757506119667fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b6119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d906144d7565b60405180910390fd5b801515600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a309061498b565b60405180910390fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f33e0bf3ce98fac4118d5a0a8fe49e83b6acdfdef32871c9eca20e1528d7701ba82604051611ad69190613d08565b60405180910390a25050565b6000611af16000801b33611432565b611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b27906144d7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf8906149f7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401611c3c929190614a17565b6020604051808303816000875af1158015611c5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7f9190614a55565b50600190509392505050565b6000611c9a6000801b33611432565b611cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd0906144d7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da1906149f7565b60405180910390fd5b611dd584838573ffffffffffffffffffffffffffffffffffffffff16612b0d9092919063ffffffff16565b600190509392505050565b611de982610b89565b611dfa81611df561214a565b612857565b611e0483836129d5565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b601260159054906101000a900460ff1681565b611eb06000801b33611432565b80611ee15750611ee07fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b611f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f17906144d7565b60405180910390fd5b80601260166101000a81548160ff02191690831515021790555050565b601260169054906101000a900460ff1681565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdd90614ace565b60405180910390fd5b611ff260008383612b93565b806002600082825461200491906146ab565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461205991906146ab565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516120be9190613d3c565b60405180910390a36120d260008383612ca7565b5050565b505050565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b990614b60565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990614bf2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516123109190613d3c565b60405180910390a3505050565b601260169054906101000a900460ff16156123bf57600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590614c5e565b60405180910390fd5b5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156124635750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b6124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614cca565b60405180910390fd5b60006124ad306111ac565b90506000600f548210156124c157816124c5565b600f545b9050600c54421115801561256657508473ffffffffffffffffffffffffffffffffffffffff16600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b15612683574261012c600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125b991906146ab565b106125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f090614d36565b60405180910390fd5b600d5483111561263e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263590614da2565b60405180910390fd5b42600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b601260159054906101000a900460ff1680156126ac5750601260149054906101000a900460ff16155b801561274557508373ffffffffffffffffffffffffffffffffffffffff16600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b801561279b5750600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156127f15750600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612845576000600b54600e54856128099190614dc2565b6128139190614772565b905080846128219190614e1c565b935061282e863083612cb7565b612843828261283d91906146ab565b86612f38565b505b612850858585612cb7565b5050505050565b6128618282611432565b6128f0576128868173ffffffffffffffffffffffffffffffffffffffff1660146133a7565b6128948360001c60206133a7565b6040516020016128a5929190614f24565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e79190613df0565b60405180910390fd5b5050565b6128fe8282611432565b6129d15760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061297661214a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6129df8282611432565b15612ab35760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612a5861214a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612ac182826135e3565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612b8e8363a9059cbb60e01b8484604051602401612b2c929190614a17565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506137ba565b505050565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612c9757612c9683600b54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b8152600401612c469190614368565b602060405180830381865afa158015612c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c879190614716565b612c919190614772565b613881565b5b612ca28383836120d6565b505050565b612cb28383836120db565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1e90614fd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8e90615062565b60405180910390fd5b612da2838383612b93565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f906150f4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ebb91906146ab565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f1f9190613d3c565b60405180910390a3612f32848484612ca7565b50505050565b6001601260146101000a81548160ff0219169083151502179055506000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506000816040015190506000826020015190506000600267ffffffffffffffff8111156130d2576130d16141ba565b5b6040519080825280602002602001820160405280156131005781602001602082028036833780820191505090505b509050308160008151811061311857613117614835565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061316757613166614835565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506131ac308388612152565b8173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321b9190615129565b73ffffffffffffffffffffffffffffffffffffffff16846040015173ffffffffffffffffffffffffffffffffffffffff1614156132ed578173ffffffffffffffffffffffffffffffffffffffff1663791ac94787600084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016132b69594939291906152ae565b600060405180830381600087803b1580156132d057600080fd5b505af11580156132e4573d6000803e3d6000fd5b50505050613384565b8173ffffffffffffffffffffffffffffffffffffffff16635c11d79587600084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016133519594939291906152ae565b600060405180830381600087803b15801561336b57600080fd5b505af115801561337f573d6000803e3d6000fd5b505050505b6000601260146101000a81548160ff021916908315150217905550505050505050565b6060600060028360026133ba9190614dc2565b6133c491906146ab565b67ffffffffffffffff8111156133dd576133dc6141ba565b5b6040519080825280601f01601f19166020018201604052801561340f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061344757613446614835565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106134ab576134aa614835565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026134eb9190614dc2565b6134f591906146ab565b90505b6001811115613595577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061353757613536614835565b5b1a60f81b82828151811061354e5761354d614835565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061358e90615308565b90506134f8565b50600084146135d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d09061537e565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364a90615410565b60405180910390fd5b61365f82600083612b93565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156136e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136dc906154a2565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461373c9190614e1c565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516137a19190613d3c565b60405180910390a36137b583600084612ca7565b505050565b600061381c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613a559092919063ffffffff16565b905060008151111561387c578080602001905181019061383c9190614a55565b61387b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387290615534565b60405180910390fd5b5b505050565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138cf91906146ab565b925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410613a0d5780600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a059190614e1c565b925050819055505b808273ffffffffffffffffffffffffffffffffffffffff167f4e6fe3f360b7528110f6226c8ab8696ac6e82f37126936ce82b17cf133d298a860405160405180910390a35050565b6060613a648484600085613a6d565b90509392505050565b606082471015613ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa9906155c6565b60405180910390fd5b613abb85613b81565b613afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af190615632565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b239190615699565b60006040518083038185875af1925050503d8060008114613b60576040519150601f19603f3d011682016040523d82523d6000602084013e613b65565b606091505b5091509150613b75828286613b94565b92505050949350505050565b600080823b905060008111915050919050565b60608315613ba457829050613bf4565b600083511115613bb75782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613beb9190613df0565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b613c2481613c0f565b8114613c2f57600080fd5b50565b600081359050613c4181613c1b565b92915050565b600060208284031215613c5d57613c5c613c05565b5b6000613c6b84828501613c32565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ca981613c74565b8114613cb457600080fd5b50565b600081359050613cc681613ca0565b92915050565b600060208284031215613ce257613ce1613c05565b5b6000613cf084828501613cb7565b91505092915050565b613d0281613c0f565b82525050565b6000602082019050613d1d6000830184613cf9565b92915050565b6000819050919050565b613d3681613d23565b82525050565b6000602082019050613d516000830184613d2d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d91578082015181840152602081019050613d76565b83811115613da0576000848401525b50505050565b6000601f19601f8301169050919050565b6000613dc282613d57565b613dcc8185613d62565b9350613ddc818560208601613d73565b613de581613da6565b840191505092915050565b60006020820190508181036000830152613e0a8184613db7565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e3d82613e12565b9050919050565b613e4d81613e32565b8114613e5857600080fd5b50565b600081359050613e6a81613e44565b92915050565b613e7981613d23565b8114613e8457600080fd5b50565b600081359050613e9681613e70565b92915050565b60008060408385031215613eb357613eb2613c05565b5b6000613ec185828601613e5b565b9250506020613ed285828601613e87565b9150509250929050565b600080600060608486031215613ef557613ef4613c05565b5b6000613f0386828701613e5b565b9350506020613f1486828701613e5b565b9250506040613f2586828701613e87565b9150509250925092565b6000819050919050565b613f4281613f2f565b8114613f4d57600080fd5b50565b600081359050613f5f81613f39565b92915050565b600060208284031215613f7b57613f7a613c05565b5b6000613f8984828501613f50565b91505092915050565b613f9b81613f2f565b82525050565b6000602082019050613fb66000830184613f92565b92915050565b600060208284031215613fd257613fd1613c05565b5b6000613fe084828501613e5b565b91505092915050565b6000806040838503121561400057613fff613c05565b5b600061400e85828601613f50565b925050602061401f85828601613e5b565b9150509250929050565b600060ff82169050919050565b61403f81614029565b82525050565b600060208201905061405a6000830184614036565b92915050565b600061406b82613e12565b9050919050565b61407b81614060565b811461408657600080fd5b50565b60008135905061409881614072565b92915050565b6000602082840312156140b4576140b3613c05565b5b60006140c284828501614089565b91505092915050565b6140d481614060565b82525050565b60006020820190506140ef60008301846140cb565b92915050565b60008060006060848603121561410e5761410d613c05565b5b600061411c86828701613e5b565b935050602061412d86828701613e5b565b925050604061413e86828701613e5b565b9150509250925092565b60006020828403121561415e5761415d613c05565b5b600061416c84828501613e87565b91505092915050565b6000806040838503121561418c5761418b613c05565b5b600061419a85828601613e5b565b92505060206141ab85828601613c32565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141f282613da6565b810181811067ffffffffffffffff82111715614211576142106141ba565b5b80604052505050565b6000614224613bfb565b905061423082826141e9565b919050565b600067ffffffffffffffff8211156142505761424f6141ba565b5b602082029050602081019050919050565b600080fd5b600061427961427484614235565b61421a565b9050808382526020820190506020840283018581111561429c5761429b614261565b5b835b818110156142c557806142b18882613e5b565b84526020840193505060208101905061429e565b5050509392505050565b600082601f8301126142e4576142e36141b5565b5b81356142f4848260208601614266565b91505092915050565b6000806040838503121561431457614313613c05565b5b600083013567ffffffffffffffff81111561433257614331613c0a565b5b61433e858286016142cf565b925050602061434f85828601613c32565b9150509250929050565b61436281613e32565b82525050565b600060208201905061437d6000830184614359565b92915050565b60006060820190506143986000830186614359565b6143a56020830185614359565b6143b26040830184614359565b949350505050565b60006143c582613e32565b9050919050565b6143d5816143ba565b81146143e057600080fd5b50565b6000813590506143f2816143cc565b92915050565b60008060006060848603121561441157614410613c05565b5b600061441f86828701613e5b565b9350506020614430868287016143e3565b925050604061444186828701613e87565b9150509250925092565b6000806040838503121561446257614461613c05565b5b600061447085828601613e5b565b925050602061448185828601613e5b565b9150509250929050565b7f496e73756666696369656e742070726976696c65676573000000000000000000600082015250565b60006144c1601783613d62565b91506144cc8261448b565b602082019050919050565b600060208201905081810360008301526144f0816144b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453e57607f821691505b60208210811415614552576145516144f7565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006145b4602883613d62565b91506145bf82614558565b604082019050919050565b600060208201905081810360008301526145e3816145a7565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614646602f83613d62565b9150614651826145ea565b604082019050919050565b6000602082019050818103600083015261467581614639565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146b682613d23565b91506146c183613d23565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146f6576146f561467c565b5b828201905092915050565b60008151905061471081613e70565b92915050565b60006020828403121561472c5761472b613c05565b5b600061473a84828501614701565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061477d82613d23565b915061478883613d23565b92508261479857614797614743565b5b828204905092915050565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006147ff602483613d62565b915061480a826147a3565b604082019050919050565b6000602082019050818103600083015261482e816147f2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061486f82613d23565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148a2576148a161467c565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614909602583613d62565b9150614914826148ad565b604082019050919050565b60006020820190508181036000830152614938816148fc565b9050919050565b7f5242583a204163636f756e7420616c72656164792061742073657474696e6700600082015250565b6000614975601f83613d62565b91506149808261493f565b602082019050919050565b600060208201905081810360008301526149a481614968565b9050919050565b7f43616e2774207472616e73666572206f7574204c5020746f6b656e7321000000600082015250565b60006149e1601d83613d62565b91506149ec826149ab565b602082019050919050565b60006020820190508181036000830152614a10816149d4565b9050919050565b6000604082019050614a2c6000830185614359565b614a396020830184613d2d565b9392505050565b600081519050614a4f81613c1b565b92915050565b600060208284031215614a6b57614a6a613c05565b5b6000614a7984828501614a40565b91505092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614ab8601f83613d62565b9150614ac382614a82565b602082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b4a602483613d62565b9150614b5582614aee565b604082019050919050565b60006020820190508181036000830152614b7981614b3d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bdc602283613d62565b9150614be782614b80565b604082019050919050565b60006020820190508181036000830152614c0b81614bcf565b9050919050565b7f5072655472616465000000000000000000000000000000000000000000000000600082015250565b6000614c48600883613d62565b9150614c5382614c12565b602082019050919050565b60006020820190508181036000830152614c7781614c3b565b9050919050565b7f426c61636b6c6973746564206164647265737320676976656e00000000000000600082015250565b6000614cb4601983613d62565b9150614cbf82614c7e565b602082019050919050565b60006020820190508181036000830152614ce381614ca7565b9050919050565b7f436f6f6c646f776e20696e206566666563740000000000000000000000000000600082015250565b6000614d20601283613d62565b9150614d2b82614cea565b602082019050919050565b60006020820190508181036000830152614d4f81614d13565b9050919050565b7f496e6974206c696d697400000000000000000000000000000000000000000000600082015250565b6000614d8c600a83613d62565b9150614d9782614d56565b602082019050919050565b60006020820190508181036000830152614dbb81614d7f565b9050919050565b6000614dcd82613d23565b9150614dd883613d23565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1157614e1061467c565b5b828202905092915050565b6000614e2782613d23565b9150614e3283613d23565b925082821015614e4557614e4461467c565b5b828203905092915050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614e91601783614e50565b9150614e9c82614e5b565b601782019050919050565b6000614eb282613d57565b614ebc8185614e50565b9350614ecc818560208601613d73565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614f0e601183614e50565b9150614f1982614ed8565b601182019050919050565b6000614f2f82614e84565b9150614f3b8285614ea7565b9150614f4682614f01565b9150614f528284614ea7565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614fba602583613d62565b9150614fc582614f5e565b604082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061504c602383613d62565b915061505782614ff0565b604082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006150de602683613d62565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b60008151905061512381613e44565b92915050565b60006020828403121561513f5761513e613c05565b5b600061514d84828501615114565b91505092915050565b6000819050919050565b6000819050919050565b600061518561518061517b84615156565b615160565b613d23565b9050919050565b6151958161516a565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6151d081613e32565b82525050565b60006151e283836151c7565b60208301905092915050565b6000602082019050919050565b60006152068261519b565b61521081856151a6565b935061521b836151b7565b8060005b8381101561524c57815161523388826151d6565b975061523e836151ee565b92505060018101905061521f565b5085935050505092915050565b600061527461526f61526a84613e12565b615160565b613e12565b9050919050565b600061528682615259565b9050919050565b60006152988261527b565b9050919050565b6152a88161528d565b82525050565b600060a0820190506152c36000830188613d2d565b6152d0602083018761518c565b81810360408301526152e281866151fb565b90506152f1606083018561529f565b6152fe6080830184613d2d565b9695505050505050565b600061531382613d23565b915060008214156153275761532661467c565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615368602083613d62565b915061537382615332565b602082019050919050565b600060208201905081810360008301526153978161535b565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153fa602183613d62565b91506154058261539e565b604082019050919050565b60006020820190508181036000830152615429816153ed565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061548c602283613d62565b915061549782615430565b604082019050919050565b600060208201905081810360008301526154bb8161547f565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061551e602a83613d62565b9150615529826154c2565b604082019050919050565b6000602082019050818103600083015261554d81615511565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006155b0602683613d62565b91506155bb82615554565b604082019050919050565b600060208201905081810360008301526155df816155a3565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061561c601d83613d62565b9150615627826155e6565b602082019050919050565b6000602082019050818103600083015261564b8161560f565b9050919050565b600081519050919050565b600081905092915050565b600061567382615652565b61567d818561565d565b935061568d818560208601613d73565b80840191505092915050565b60006156a58284615668565b91508190509291505056fea2646970667358221220577f93c7cde8e3ff4ed5f4370f13471d229421fe32ae15c5a2ee0f124d294a1064736f6c634300080a00330000000000000000000000008d95026d139f855b1458f3b8f48960c103d21abb

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061028a5760003560e01c806370a082311161015c578063a9059cbb116100ce578063d547741f11610087578063d547741f146107fb578063dd62ed3e14610817578063e10e95c914610847578063eca2b4d314610865578063f33c86cd14610881578063f395af961461089f5761028a565b8063a9059cbb146106ff578063b028b05c1461072f578063b3f579f51461074d578063b9a45aac1461077f578063cea9d26f1461079b578063ceacd451146107cb5761028a565b806395d89b411161012057806395d89b411461063f5780639819d24e1461065d578063a114aea014610679578063a217fddf14610695578063a3019cf8146106b3578063a457c2d7146106cf5761028a565b806370a082311461058b57806379cc6790146105bb5780637cf2bd30146105d757806387bde549146105f357806391d148541461060f5761028a565b8063313ce56711610200578063412131fa116101b9578063412131fa146104dd57806342966c68146104f9578063455a43961461051557806359a7cb79146105315780635d16e1201461054f57806366692ff01461056d5761028a565b8063313ce5671461041b5780633410fe6e1461043957806336568abe1461045757806339509351146104735780633b1ab44c146104a35780633c4b40b8146104bf5761028a565b806318160ddd1161025257806318160ddd1461034757806323b872dd14610365578063248a9ca3146103955780632a87c91f146103c55780632eee963b146103e15780632f2ff15d146103ff5761028a565b8063017b0a301461028f57806301ffc9a7146102ab57806304876746146102db57806306fdde03146102f9578063095ea7b314610317575b600080fd5b6102a960048036038101906102a49190613c47565b6108bd565b005b6102c560048036038101906102c09190613ccc565b610957565b6040516102d29190613d08565b60405180910390f35b6102e36109d1565b6040516102f09190613d3c565b60405180910390f35b6103016109d7565b60405161030e9190613df0565b60405180910390f35b610331600480360381019061032c9190613e9c565b610a69565b60405161033e9190613d08565b60405180910390f35b61034f610a87565b60405161035c9190613d3c565b60405180910390f35b61037f600480360381019061037a9190613edc565b610a91565b60405161038c9190613d08565b60405180910390f35b6103af60048036038101906103aa9190613f65565b610b89565b6040516103bc9190613fa1565b60405180910390f35b6103df60048036038101906103da9190613fbc565b610ba9565b005b6103e9610c39565b6040516103f69190613fa1565b60405180910390f35b61041960048036038101906104149190613fe9565b610c5d565b005b610423610c86565b6040516104309190614045565b60405180910390f35b610441610c8f565b60405161044e9190613d3c565b60405180910390f35b610471600480360381019061046c9190613fe9565b610c95565b005b61048d60048036038101906104889190613e9c565b610d18565b60405161049a9190613d08565b60405180910390f35b6104bd60048036038101906104b8919061409e565b610dc4565b005b6104c7610e5a565b6040516104d491906140da565b60405180910390f35b6104f760048036038101906104f291906140f5565b610e80565b005b610513600480360381019061050e9190614148565b6110df565b005b61052f600480360381019061052a9190614175565b6110f3565b005b61053961119a565b6040516105469190613d3c565b60405180910390f35b6105576111a0565b6040516105649190613d3c565b60405180910390f35b6105756111a6565b6040516105829190613d3c565b60405180910390f35b6105a560048036038101906105a09190613fbc565b6111ac565b6040516105b29190613d3c565b60405180910390f35b6105d560048036038101906105d09190613e9c565b6112da565b005b6105f160048036038101906105ec9190614148565b611355565b005b61060d60048036038101906106089190614148565b6113dc565b005b61062960048036038101906106249190613fe9565b611432565b6040516106369190613d08565b60405180910390f35b61064761149d565b6040516106549190613df0565b60405180910390f35b6106776004803603810190610672919061409e565b61152f565b005b610693600480360381019061068e91906142fd565b6115e1565b005b61069d6116c2565b6040516106aa9190613fa1565b60405180910390f35b6106cd60048036038101906106c89190614175565b6116c9565b005b6106e960048036038101906106e49190613e9c565b611770565b6040516106f69190613d08565b60405180910390f35b61071960048036038101906107149190613e9c565b61185b565b6040516107269190613d08565b60405180910390f35b610737611879565b6040516107449190614368565b60405180910390f35b61076760048036038101906107629190613fbc565b61189f565b60405161077693929190614383565b60405180910390f35b61079960048036038101906107949190614175565b611929565b005b6107b560048036038101906107b09190613edc565b611ae2565b6040516107c29190613d08565b60405180910390f35b6107e560048036038101906107e091906143f8565b611c8b565b6040516107f29190613d08565b60405180910390f35b61081560048036038101906108109190613fe9565b611de0565b005b610831600480360381019061082c919061444b565b611e09565b60405161083e9190613d3c565b60405180910390f35b61084f611e90565b60405161085c9190613d08565b60405180910390f35b61087f600480360381019061087a9190613c47565b611ea3565b005b610889611f3d565b6040516108969190613d08565b60405180910390f35b6108a7611f50565b6040516108b49190614368565b60405180910390f35b6108ca6000801b33611432565b806108fb57506108fa7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b61093a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610931906144d7565b60405180910390fd5b80601260156101000a81548160ff02191690831515021790555050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ca57506109c9826120e0565b5b9050919050565b600d5481565b6060600380546109e690614526565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1290614526565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b5050505050905090565b6000610a7d610a7661214a565b8484612152565b6001905092915050565b6000600254905090565b6000610a9e84848461231d565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610ae961214a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b60906145ca565b60405180910390fd5b610b7d85610b7561214a565b858403612152565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b610bb66000801b33611432565b610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906144d7565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2181565b610c6682610b89565b610c7781610c7261214a565b612857565b610c8183836128f4565b505050565b60006012905090565b600b5481565b610c9d61214a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d019061465c565b60405180910390fd5b610d1482826129d5565b5050565b6000610dba610d2561214a565b848460016000610d3361214a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610db591906146ab565b612152565b6001905092915050565b610dd16000801b33611432565b610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e07906144d7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e56573d6000803e3d6000fd5b5050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e8d6000801b33611432565b80610ebe5750610ebd7fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b610efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef4906144d7565b60405180910390fd5b82600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fd482e95abb3d8f5eaf8f07dbd4c204ea55842bacc8cf5d530aa104716551e21660405160405180910390a3505050565b6110f06110ea61214a565b82612ab7565b50565b6111006000801b33611432565b61113f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611136906144d7565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600c5481565b600e5481565b600f5481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112105761120982612ac5565b90506112d5565b6000600b54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016112709190614368565b602060405180830381865afa15801561128d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b19190614716565b6112bb9190614772565b6112c484612ac5565b6112ce91906146ab565b9050809150505b919050565b60006112ed836112e861214a565b611e09565b905081811015611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990614815565b60405180910390fd5b6113468361133e61214a565b848403612152565b6113508383612ab7565b505050565b6113626000801b33611432565b8061139357506113927fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b6113d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c9906144d7565b60405180910390fd5b80600c8190555050565b6113e96000801b33611432565b611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906144d7565b60405180910390fd5b80600f8190555050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546114ac90614526565b80601f01602080910402602001604051908101604052809291908181526020018280546114d890614526565b80156115255780601f106114fa57610100808354040283529160200191611525565b820191906000526020600020905b81548152906001019060200180831161150857829003601f168201915b5050505050905090565b6000801b6115448161153f61214a565b612857565b81601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6115ee6000801b33611432565b61162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611624906144d7565b60405180910390fd5b60005b82518110156116bd57816008600085848151811061165157611650614835565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806116b590614864565b915050611630565b505050565b6000801b81565b6116d66000801b33611432565b611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c906144d7565b60405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806001600061177f61214a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561183c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118339061491f565b60405180910390fd5b61185061184761214a565b85858403612152565b600191505092915050565b600061186f61186861214a565b848461231d565b6001905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905083565b6119366000801b33611432565b8061196757506119667fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b6119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d906144d7565b60405180910390fd5b801515600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a309061498b565b60405180910390fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f33e0bf3ce98fac4118d5a0a8fe49e83b6acdfdef32871c9eca20e1528d7701ba82604051611ad69190613d08565b60405180910390a25050565b6000611af16000801b33611432565b611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b27906144d7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf8906149f7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401611c3c929190614a17565b6020604051808303816000875af1158015611c5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7f9190614a55565b50600190509392505050565b6000611c9a6000801b33611432565b611cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd0906144d7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da1906149f7565b60405180910390fd5b611dd584838573ffffffffffffffffffffffffffffffffffffffff16612b0d9092919063ffffffff16565b600190509392505050565b611de982610b89565b611dfa81611df561214a565b612857565b611e0483836129d5565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b601260159054906101000a900460ff1681565b611eb06000801b33611432565b80611ee15750611ee07fb73fa0cb2416690a6547825d5ccf9cedab6a4cd328635df925e1dfd86cf94c2133611432565b5b611f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f17906144d7565b60405180910390fd5b80601260166101000a81548160ff02191690831515021790555050565b601260169054906101000a900460ff1681565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdd90614ace565b60405180910390fd5b611ff260008383612b93565b806002600082825461200491906146ab565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461205991906146ab565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516120be9190613d3c565b60405180910390a36120d260008383612ca7565b5050565b505050565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b990614b60565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990614bf2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516123109190613d3c565b60405180910390a3505050565b601260169054906101000a900460ff16156123bf57600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590614c5e565b60405180910390fd5b5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156124635750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b6124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614cca565b60405180910390fd5b60006124ad306111ac565b90506000600f548210156124c157816124c5565b600f545b9050600c54421115801561256657508473ffffffffffffffffffffffffffffffffffffffff16600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b15612683574261012c600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125b991906146ab565b106125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f090614d36565b60405180910390fd5b600d5483111561263e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263590614da2565b60405180910390fd5b42600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b601260159054906101000a900460ff1680156126ac5750601260149054906101000a900460ff16155b801561274557508373ffffffffffffffffffffffffffffffffffffffff16600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b801561279b5750600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156127f15750600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612845576000600b54600e54856128099190614dc2565b6128139190614772565b905080846128219190614e1c565b935061282e863083612cb7565b612843828261283d91906146ab565b86612f38565b505b612850858585612cb7565b5050505050565b6128618282611432565b6128f0576128868173ffffffffffffffffffffffffffffffffffffffff1660146133a7565b6128948360001c60206133a7565b6040516020016128a5929190614f24565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e79190613df0565b60405180910390fd5b5050565b6128fe8282611432565b6129d15760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061297661214a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6129df8282611432565b15612ab35760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612a5861214a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612ac182826135e3565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612b8e8363a9059cbb60e01b8484604051602401612b2c929190614a17565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506137ba565b505050565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612c9757612c9683600b54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b8152600401612c469190614368565b602060405180830381865afa158015612c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c879190614716565b612c919190614772565b613881565b5b612ca28383836120d6565b505050565b612cb28383836120db565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1e90614fd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8e90615062565b60405180910390fd5b612da2838383612b93565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f906150f4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ebb91906146ab565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f1f9190613d3c565b60405180910390a3612f32848484612ca7565b50505050565b6001601260146101000a81548160ff0219169083151502179055506000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506000816040015190506000826020015190506000600267ffffffffffffffff8111156130d2576130d16141ba565b5b6040519080825280602002602001820160405280156131005781602001602082028036833780820191505090505b509050308160008151811061311857613117614835565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061316757613166614835565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506131ac308388612152565b8173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321b9190615129565b73ffffffffffffffffffffffffffffffffffffffff16846040015173ffffffffffffffffffffffffffffffffffffffff1614156132ed578173ffffffffffffffffffffffffffffffffffffffff1663791ac94787600084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016132b69594939291906152ae565b600060405180830381600087803b1580156132d057600080fd5b505af11580156132e4573d6000803e3d6000fd5b50505050613384565b8173ffffffffffffffffffffffffffffffffffffffff16635c11d79587600084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016133519594939291906152ae565b600060405180830381600087803b15801561336b57600080fd5b505af115801561337f573d6000803e3d6000fd5b505050505b6000601260146101000a81548160ff021916908315150217905550505050505050565b6060600060028360026133ba9190614dc2565b6133c491906146ab565b67ffffffffffffffff8111156133dd576133dc6141ba565b5b6040519080825280601f01601f19166020018201604052801561340f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061344757613446614835565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106134ab576134aa614835565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026134eb9190614dc2565b6134f591906146ab565b90505b6001811115613595577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061353757613536614835565b5b1a60f81b82828151811061354e5761354d614835565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061358e90615308565b90506134f8565b50600084146135d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d09061537e565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364a90615410565b60405180910390fd5b61365f82600083612b93565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156136e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136dc906154a2565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461373c9190614e1c565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516137a19190613d3c565b60405180910390a36137b583600084612ca7565b505050565b600061381c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613a559092919063ffffffff16565b905060008151111561387c578080602001905181019061383c9190614a55565b61387b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387290615534565b60405180910390fd5b5b505050565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138cf91906146ab565b925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410613a0d5780600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a059190614e1c565b925050819055505b808273ffffffffffffffffffffffffffffffffffffffff167f4e6fe3f360b7528110f6226c8ab8696ac6e82f37126936ce82b17cf133d298a860405160405180910390a35050565b6060613a648484600085613a6d565b90509392505050565b606082471015613ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa9906155c6565b60405180910390fd5b613abb85613b81565b613afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af190615632565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b239190615699565b60006040518083038185875af1925050503d8060008114613b60576040519150601f19603f3d011682016040523d82523d6000602084013e613b65565b606091505b5091509150613b75828286613b94565b92505050949350505050565b600080823b905060008111915050919050565b60608315613ba457829050613bf4565b600083511115613bb75782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613beb9190613df0565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b613c2481613c0f565b8114613c2f57600080fd5b50565b600081359050613c4181613c1b565b92915050565b600060208284031215613c5d57613c5c613c05565b5b6000613c6b84828501613c32565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ca981613c74565b8114613cb457600080fd5b50565b600081359050613cc681613ca0565b92915050565b600060208284031215613ce257613ce1613c05565b5b6000613cf084828501613cb7565b91505092915050565b613d0281613c0f565b82525050565b6000602082019050613d1d6000830184613cf9565b92915050565b6000819050919050565b613d3681613d23565b82525050565b6000602082019050613d516000830184613d2d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d91578082015181840152602081019050613d76565b83811115613da0576000848401525b50505050565b6000601f19601f8301169050919050565b6000613dc282613d57565b613dcc8185613d62565b9350613ddc818560208601613d73565b613de581613da6565b840191505092915050565b60006020820190508181036000830152613e0a8184613db7565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e3d82613e12565b9050919050565b613e4d81613e32565b8114613e5857600080fd5b50565b600081359050613e6a81613e44565b92915050565b613e7981613d23565b8114613e8457600080fd5b50565b600081359050613e9681613e70565b92915050565b60008060408385031215613eb357613eb2613c05565b5b6000613ec185828601613e5b565b9250506020613ed285828601613e87565b9150509250929050565b600080600060608486031215613ef557613ef4613c05565b5b6000613f0386828701613e5b565b9350506020613f1486828701613e5b565b9250506040613f2586828701613e87565b9150509250925092565b6000819050919050565b613f4281613f2f565b8114613f4d57600080fd5b50565b600081359050613f5f81613f39565b92915050565b600060208284031215613f7b57613f7a613c05565b5b6000613f8984828501613f50565b91505092915050565b613f9b81613f2f565b82525050565b6000602082019050613fb66000830184613f92565b92915050565b600060208284031215613fd257613fd1613c05565b5b6000613fe084828501613e5b565b91505092915050565b6000806040838503121561400057613fff613c05565b5b600061400e85828601613f50565b925050602061401f85828601613e5b565b9150509250929050565b600060ff82169050919050565b61403f81614029565b82525050565b600060208201905061405a6000830184614036565b92915050565b600061406b82613e12565b9050919050565b61407b81614060565b811461408657600080fd5b50565b60008135905061409881614072565b92915050565b6000602082840312156140b4576140b3613c05565b5b60006140c284828501614089565b91505092915050565b6140d481614060565b82525050565b60006020820190506140ef60008301846140cb565b92915050565b60008060006060848603121561410e5761410d613c05565b5b600061411c86828701613e5b565b935050602061412d86828701613e5b565b925050604061413e86828701613e5b565b9150509250925092565b60006020828403121561415e5761415d613c05565b5b600061416c84828501613e87565b91505092915050565b6000806040838503121561418c5761418b613c05565b5b600061419a85828601613e5b565b92505060206141ab85828601613c32565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141f282613da6565b810181811067ffffffffffffffff82111715614211576142106141ba565b5b80604052505050565b6000614224613bfb565b905061423082826141e9565b919050565b600067ffffffffffffffff8211156142505761424f6141ba565b5b602082029050602081019050919050565b600080fd5b600061427961427484614235565b61421a565b9050808382526020820190506020840283018581111561429c5761429b614261565b5b835b818110156142c557806142b18882613e5b565b84526020840193505060208101905061429e565b5050509392505050565b600082601f8301126142e4576142e36141b5565b5b81356142f4848260208601614266565b91505092915050565b6000806040838503121561431457614313613c05565b5b600083013567ffffffffffffffff81111561433257614331613c0a565b5b61433e858286016142cf565b925050602061434f85828601613c32565b9150509250929050565b61436281613e32565b82525050565b600060208201905061437d6000830184614359565b92915050565b60006060820190506143986000830186614359565b6143a56020830185614359565b6143b26040830184614359565b949350505050565b60006143c582613e32565b9050919050565b6143d5816143ba565b81146143e057600080fd5b50565b6000813590506143f2816143cc565b92915050565b60008060006060848603121561441157614410613c05565b5b600061441f86828701613e5b565b9350506020614430868287016143e3565b925050604061444186828701613e87565b9150509250925092565b6000806040838503121561446257614461613c05565b5b600061447085828601613e5b565b925050602061448185828601613e5b565b9150509250929050565b7f496e73756666696369656e742070726976696c65676573000000000000000000600082015250565b60006144c1601783613d62565b91506144cc8261448b565b602082019050919050565b600060208201905081810360008301526144f0816144b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453e57607f821691505b60208210811415614552576145516144f7565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006145b4602883613d62565b91506145bf82614558565b604082019050919050565b600060208201905081810360008301526145e3816145a7565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614646602f83613d62565b9150614651826145ea565b604082019050919050565b6000602082019050818103600083015261467581614639565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146b682613d23565b91506146c183613d23565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146f6576146f561467c565b5b828201905092915050565b60008151905061471081613e70565b92915050565b60006020828403121561472c5761472b613c05565b5b600061473a84828501614701565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061477d82613d23565b915061478883613d23565b92508261479857614797614743565b5b828204905092915050565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006147ff602483613d62565b915061480a826147a3565b604082019050919050565b6000602082019050818103600083015261482e816147f2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061486f82613d23565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148a2576148a161467c565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614909602583613d62565b9150614914826148ad565b604082019050919050565b60006020820190508181036000830152614938816148fc565b9050919050565b7f5242583a204163636f756e7420616c72656164792061742073657474696e6700600082015250565b6000614975601f83613d62565b91506149808261493f565b602082019050919050565b600060208201905081810360008301526149a481614968565b9050919050565b7f43616e2774207472616e73666572206f7574204c5020746f6b656e7321000000600082015250565b60006149e1601d83613d62565b91506149ec826149ab565b602082019050919050565b60006020820190508181036000830152614a10816149d4565b9050919050565b6000604082019050614a2c6000830185614359565b614a396020830184613d2d565b9392505050565b600081519050614a4f81613c1b565b92915050565b600060208284031215614a6b57614a6a613c05565b5b6000614a7984828501614a40565b91505092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614ab8601f83613d62565b9150614ac382614a82565b602082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b4a602483613d62565b9150614b5582614aee565b604082019050919050565b60006020820190508181036000830152614b7981614b3d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bdc602283613d62565b9150614be782614b80565b604082019050919050565b60006020820190508181036000830152614c0b81614bcf565b9050919050565b7f5072655472616465000000000000000000000000000000000000000000000000600082015250565b6000614c48600883613d62565b9150614c5382614c12565b602082019050919050565b60006020820190508181036000830152614c7781614c3b565b9050919050565b7f426c61636b6c6973746564206164647265737320676976656e00000000000000600082015250565b6000614cb4601983613d62565b9150614cbf82614c7e565b602082019050919050565b60006020820190508181036000830152614ce381614ca7565b9050919050565b7f436f6f6c646f776e20696e206566666563740000000000000000000000000000600082015250565b6000614d20601283613d62565b9150614d2b82614cea565b602082019050919050565b60006020820190508181036000830152614d4f81614d13565b9050919050565b7f496e6974206c696d697400000000000000000000000000000000000000000000600082015250565b6000614d8c600a83613d62565b9150614d9782614d56565b602082019050919050565b60006020820190508181036000830152614dbb81614d7f565b9050919050565b6000614dcd82613d23565b9150614dd883613d23565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1157614e1061467c565b5b828202905092915050565b6000614e2782613d23565b9150614e3283613d23565b925082821015614e4557614e4461467c565b5b828203905092915050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614e91601783614e50565b9150614e9c82614e5b565b601782019050919050565b6000614eb282613d57565b614ebc8185614e50565b9350614ecc818560208601613d73565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614f0e601183614e50565b9150614f1982614ed8565b601182019050919050565b6000614f2f82614e84565b9150614f3b8285614ea7565b9150614f4682614f01565b9150614f528284614ea7565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614fba602583613d62565b9150614fc582614f5e565b604082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061504c602383613d62565b915061505782614ff0565b604082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006150de602683613d62565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b60008151905061512381613e44565b92915050565b60006020828403121561513f5761513e613c05565b5b600061514d84828501615114565b91505092915050565b6000819050919050565b6000819050919050565b600061518561518061517b84615156565b615160565b613d23565b9050919050565b6151958161516a565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6151d081613e32565b82525050565b60006151e283836151c7565b60208301905092915050565b6000602082019050919050565b60006152068261519b565b61521081856151a6565b935061521b836151b7565b8060005b8381101561524c57815161523388826151d6565b975061523e836151ee565b92505060018101905061521f565b5085935050505092915050565b600061527461526f61526a84613e12565b615160565b613e12565b9050919050565b600061528682615259565b9050919050565b60006152988261527b565b9050919050565b6152a88161528d565b82525050565b600060a0820190506152c36000830188613d2d565b6152d0602083018761518c565b81810360408301526152e281866151fb565b90506152f1606083018561529f565b6152fe6080830184613d2d565b9695505050505050565b600061531382613d23565b915060008214156153275761532661467c565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615368602083613d62565b915061537382615332565b602082019050919050565b600060208201905081810360008301526153978161535b565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153fa602183613d62565b91506154058261539e565b604082019050919050565b60006020820190508181036000830152615429816153ed565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061548c602283613d62565b915061549782615430565b604082019050919050565b600060208201905081810360008301526154bb8161547f565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061551e602a83613d62565b9150615529826154c2565b604082019050919050565b6000602082019050818103600083015261554d81615511565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006155b0602683613d62565b91506155bb82615554565b604082019050919050565b600060208201905081810360008301526155df816155a3565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061561c601d83613d62565b9150615627826155e6565b602082019050919050565b6000602082019050818103600083015261564b8161560f565b9050919050565b600081519050919050565b600081905092915050565b600061567382615652565b61567d818561565d565b935061568d818560208601613d73565b80840191505092915050565b60006156a58284615668565b91508190509291505056fea2646970667358221220577f93c7cde8e3ff4ed5f4370f13471d229421fe32ae15c5a2ee0f124d294a1064736f6c634300080a0033

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

0000000000000000000000008d95026d139f855b1458f3b8f48960c103d21abb

-----Decoded View---------------
Arg [0] : _previousToken (address): 0x8D95026D139f855B1458F3B8F48960C103D21ABB

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d95026d139f855b1458f3b8f48960c103d21abb


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.