Contract Address Details

0x3D1BBD0eC9Af25e8f12383d9F6a6bbFa6DfeF06F

Token
Oort Token (Oort)
Creator
0x81113e–f12b4f at 0xeec877–5bd7db
Balance
0 REI ( )
Tokens
Fetching tokens...
Transactions
229 Transactions
Transfers
0 Transfers
Gas Used
10,083,900
Last Balance Update
24840556
Contract is not verified. However, we found a verified contract with the same bytecode in Blockscout DB 0x9a522f2571effa74dbe4b7d238d9dfcbfa2d2c66.
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
Verify & Publish
Contract name:
OortToken




Optimization enabled
true
Compiler version
v0.8.4+commit.c7e474f2




Optimization runs
200
Verified at
2022-12-02T04:07:00.858605Z

Contract source code

// Sources flattened with hardhat v2.9.2 https://hardhat.org

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


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

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

        _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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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


// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File @openzeppelin/contracts/utils/math/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File contracts/REI/OortToken.sol

pragma solidity 0.8.4;



abstract contract DelegateERC20 is ERC20 {
    using SafeMath for uint256;
    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

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

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

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

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

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

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


    // support delegates mint
    function _mint(address account, uint256 amount) internal override virtual {
        super._mint(account, amount);

        // add delegates to the minter
        _moveDelegates(address(0), _delegates[account], amount);
    }


    function _transfer(address sender, address recipient, uint256 amount) internal override virtual {
        super._transfer(sender, recipient, amount);
        _moveDelegates(_delegates[sender], _delegates[recipient], amount);
    }


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

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

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

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

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "MdxToken::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "MdxToken::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "MdxToken::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

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

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

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

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

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

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

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

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);

        emit DelegateChanged(delegator, currentDelegate, delegatee);
    }

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

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

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

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

        return chainId;
    }

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

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

contract OortToken is DelegateERC20, Ownable {
    using SafeMath for uint256;
    
    uint256 public constant maxSupply  =        1050000000e18;

    uint256 public constant earlySaleSupply =    105000000e18;
    uint256 public constant teamSupply =          52500000e18;

    uint256 public constant chefPoolSupply =    220500000e18;
    uint256 public constant swapMiningSupply =   89250000e18;
    uint256 public constant lendPoolSupply =    136500000e18;

    uint256 public  airdropSupply =     120750000e18;
    uint256 public  opSupply      =      63000000e18;
    uint256 public  daoSupply     =     157500000e18;
    uint256 public  idoSupply     =     105000000e18;

    uint256 public ChefPoolMint;
    uint256 public swapPoolMint;
    uint256 public lendPoolMint;

    address public ChefPool;
    address public swapPool;
    address public lendPool;

    modifier onlyChef{
        require(msg.sender == ChefPool,"only ChefPool");
        _;
    }

    modifier onlySwapPool{
        require(msg.sender == swapPool,"only SwapPool");
        _;
    }

    modifier onlyLendPool{
        require(msg.sender == lendPool,"only LendPool");
        _;
    }

    constructor(address _teamTimeLockAddr,address _earlySaleAddr) ERC20("Oort Token", "Oort"){
        _mint(_teamTimeLockAddr, teamSupply);
        _mint(_earlySaleAddr,earlySaleSupply);
    }

    function setChefAddr(address _chef) public onlyOwner{
       ChefPool = _chef;
    }

    function setSwapAddr(address _swapPool) public onlyOwner{
       swapPool = _swapPool;
    }

    function setlendAddr(address _lendPool) public onlyOwner{
       lendPool = _lendPool;
    }

    function ChefMint(uint256 _amount) public onlyChef{
        if(ChefPoolMint.add(_amount) >= chefPoolSupply)  {
            _amount = chefPoolSupply.sub(ChefPoolMint);
        }

        if(_amount == 0){
            return;
        }
        
         _mint(_msgSender(),_amount);
         ChefPoolMint = ChefPoolMint.add(_amount);
    }

    function SwapMint(uint256 _amount) public onlySwapPool{
        if(swapPoolMint.add(_amount) >= swapMiningSupply)  {
            _amount = swapMiningSupply.sub(swapPoolMint);
        }

        if(_amount == 0){
            return;
        }
        
         _mint(_msgSender(),_amount);
         swapPoolMint = swapPoolMint.add(_amount);
    }

    function lendMint(uint256 _amount) public onlyLendPool{
        if(lendPoolMint.add(_amount) >= lendPoolSupply)  {
            _amount = lendPoolSupply.sub(lendPoolMint);
        }

        if(_amount == 0){
            return;
        }
        
         _mint(_msgSender(),_amount);
         lendPoolMint = lendPoolMint.add(_amount);
    }

    function AirDropMint(address _dao) public onlyOwner {
        _mint(_dao,airdropSupply);

        airdropSupply = 0;
    }

    function IDOMint(address _idoAddr) public onlyOwner {
        _mint(_idoAddr,idoSupply);

        idoSupply = 0;
    }

    function MarketMint(address _dao,uint256 _amount) public onlyOwner {
        require(_amount <= opSupply,"_amount < opSupply");
        _mint(_dao,_amount);

        opSupply = opSupply.sub(_amount);
    }

    function OtherMint(address _dao,uint256 _amount) public onlyOwner {
        require(_amount <= daoSupply,"_amount < daoSupply");
        _mint(_dao,_amount);

        daoSupply = daoSupply.sub(_amount);
    }

}
        
>

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_teamTimeLockAddr","internalType":"address"},{"type":"address","name":"_earlySaleAddr","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DelegateChanged","inputs":[{"type":"address","name":"delegator","internalType":"address","indexed":true},{"type":"address","name":"fromDelegate","internalType":"address","indexed":true},{"type":"address","name":"toDelegate","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"type":"address","name":"delegate","internalType":"address","indexed":true},{"type":"uint256","name":"previousBalance","internalType":"uint256","indexed":false},{"type":"uint256","name":"newBalance","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"AirDropMint","inputs":[{"type":"address","name":"_dao","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"ChefMint","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ChefPool","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"ChefPoolMint","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DELEGATION_TYPEHASH","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_TYPEHASH","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"IDOMint","inputs":[{"type":"address","name":"_idoAddr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"MarketMint","inputs":[{"type":"address","name":"_dao","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"OtherMint","inputs":[{"type":"address","name":"_dao","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"SwapMint","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"airdropSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"fromBlock","internalType":"uint32"},{"type":"uint256","name":"votes","internalType":"uint256"}],"name":"checkpoints","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint32","name":"","internalType":"uint32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"chefPoolSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"daoSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"delegate","inputs":[{"type":"address","name":"delegatee","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"delegateBySig","inputs":[{"type":"address","name":"delegatee","internalType":"address"},{"type":"uint256","name":"nonce","internalType":"uint256"},{"type":"uint256","name":"expiry","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"earlySaleSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getCurrentVotes","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getPriorVotes","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"blockNumber","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"idoSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lendMint","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"lendPool","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lendPoolMint","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lendPoolSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"numCheckpoints","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"opSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setChefAddr","inputs":[{"type":"address","name":"_chef","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapAddr","inputs":[{"type":"address","name":"_swapPool","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setlendAddr","inputs":[{"type":"address","name":"_lendPool","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapMiningSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"swapPool","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapPoolMint","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"teamSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

Verify & Publish
0x60806040526a63e1ce9dcb2915b0c00000600a556a341cc4d7e46e7a9f000000600b556a8247ec1bbb14328d800000600c556a56da9d67d20d7709000000600d553480156200004d57600080fd5b506040516200292b3803806200292b833981016040819052620000709162000707565b604080518082018252600a81526927b7b93a102a37b5b2b760b11b60208083019182528351808501909452600484526313dbdc9d60e21b908401528151919291620000be9160039162000644565b508051620000d490600490602084019062000644565b505050620000f1620000eb6200012760201b60201c565b6200012b565b62000108826a2b6d4eb3e906bb848000006200017d565b6200011f816a56da9d67d20d77090000006200017d565b50506200086f565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001948282620001bf60201b620013dd1760201c565b6001600160a01b03808316600090815260056020526040812054620001bb921683620002a8565b5050565b6001600160a01b0382166200021b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200022f919062000794565b90915550506001600160a01b038216600090815260208190526040812080548392906200025e90849062000794565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b816001600160a01b0316836001600160a01b031614158015620002cb5750600081115b156200043b576001600160a01b0383161562000386576001600160a01b03831660009081526007602052604081205463ffffffff1690816200030f57600062000354565b6001600160a01b03851660009081526006602052604081209062000335600185620007f4565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006200037284836200044060201b620014bd1790919060201c565b9050620003828684848462000455565b5050505b6001600160a01b038216156200043b576001600160a01b03821660009081526007602052604081205463ffffffff169081620003c457600062000409565b6001600160a01b038416600090815260066020526040812090620003ea600185620007f4565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006200042784836200060360201b620014c91790919060201c565b9050620004378584848462000455565b5050505b505050565b60006200044e8284620007da565b9392505050565b60006200047c43604051806060016040528060388152602001620028f36038913962000611565b905060008463ffffffff16118015620004d957506001600160a01b038516600090815260066020526040812063ffffffff831691620004bd600188620007f4565b63ffffffff908116825260208201929092526040016000205416145b1562000526576001600160a01b0385166000908152600660205260408120839162000506600188620007f4565b63ffffffff168152602081019190915260400160002060010155620005b8565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600683528581208a851682529092529390209151825463ffffffff19169116178155905160019182015562000587908590620007af565b6001600160a01b0386166000908152600760205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60006200044e828462000794565b60008164010000000084106200063c5760405162461bcd60e51b81526004016200021291906200073e565b509192915050565b82805462000652906200081c565b90600052602060002090601f016020900481019282620006765760008555620006c1565b82601f106200069157805160ff1916838001178555620006c1565b82800160010185558215620006c1579182015b82811115620006c1578251825591602001919060010190620006a4565b50620006cf929150620006d3565b5090565b5b80821115620006cf5760008155600101620006d4565b80516001600160a01b03811681146200070257600080fd5b919050565b600080604083850312156200071a578182fd5b6200072583620006ea565b91506200073560208401620006ea565b90509250929050565b6000602080835283518082850152825b818110156200076c578581018301518582016040015282016200074e565b818111156200077e5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115620007aa57620007aa62000859565b500190565b600063ffffffff808316818516808303821115620007d157620007d162000859565b01949350505050565b600082821015620007ef57620007ef62000859565b500390565b600063ffffffff8381169083168181101562000814576200081462000859565b039392505050565b600181811c908216806200083157607f821691505b602082108114156200085357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b612074806200087f6000396000f3fe608060405234801561001057600080fd5b50600436106102bb5760003560e01c80638d015b2f11610182578063ae2e7a32116100e9578063d95a1199116100a2578063e7a324dc1161007c578063e7a324dc14610673578063f1127ed81461069a578063f2fde38b146106f1578063fb3ed5c71461070457600080fd5b8063d95a11991461061f578063dd62ed3e14610628578063e10252c41461066157600080fd5b8063ae2e7a32146105ae578063b4b5ea57146105c1578063b786e1e5146105d4578063c1dd8d4b146105e7578063c3cda520146105f9578063d5abeb011461060c57600080fd5b80639d551f361161013b5780639d551f3614610547578063a16a8c2a1461055a578063a3bd53aa14610563578063a457c2d714610575578063a9059cbb14610588578063aa8d23531461059b57600080fd5b80638d015b2f146104ec5780638da5cb5b146104f55780638f2a37171461050657806391b950f11461051957806395d89b411461052c578063982697dd1461053457600080fd5b80633b9920e111610226578063715018a6116101df578063715018a614610478578063782d6fe1146104805780637ecebe00146104935780637f5e5164146104b357806383c08197146104c6578063887b4e6b146104d957600080fd5b80633b9920e1146103dd57806340fa63a9146103e6578063477704f4146103ef5780635c19a95c146104015780636fcfff451461041457806370a082311461044f57600080fd5b806323b872dd1161027857806323b872dd146103625780632cfac6ec14610375578063313ce567146103875780633796cbdf1461039657806338d3fb5c1461039f57806339509351146103ca57600080fd5b806306fdde03146102c0578063095ea7b3146102de578063172f2a781461030157806318160ddd14610316578063203499c11461032857806320606b701461033b575b600080fd5b6102c861070d565b6040516102d59190611e67565b60405180910390f35b6102f16102ec366004611d8a565b61079f565b60405190151581526020016102d5565b61031461030f366004611e4f565b6107b9565b005b6002545b6040519081526020016102d5565b610314610336366004611e4f565b61086a565b61031a7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6102f1610370366004611d4f565b610913565b61031a6a2b6d4eb3e906bb8480000081565b604051601281526020016102d5565b61031a600d5481565b6011546103b2906001600160a01b031681565b6040516001600160a01b0390911681526020016102d5565b6102f16103d8366004611d8a565b610937565b61031a600c5481565b61031a600b5481565b61031a6a70e8ffd3c444b45880000081565b61031461040f366004611d03565b610976565b61043a610422366004611d03565b60076020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016102d5565b61031a61045d366004611d03565b6001600160a01b031660009081526020819052604090205490565b610314610980565b61031a61048e366004611d8a565b6109b6565b61031a6104a1366004611d03565b60086020526000908152604090205481565b6103146104c1366004611d03565b610c1f565b6103146104d4366004611d03565b610c5d565b6103146104e7366004611d03565b610ca9565b61031a600e5481565b6009546001600160a01b03166103b2565b610314610514366004611d03565b610ce7565b610314610527366004611d8a565b610d33565b6102c8610dc2565b6012546103b2906001600160a01b031681565b610314610555366004611d8a565b610dd1565b61031a600f5481565b61031a6a49d36c31d8f1d86140000081565b6102f1610583366004611d8a565b610e61565b6102f1610596366004611d8a565b610ef3565b6103146105a9366004611d03565b610f01565b6103146105bc366004611e4f565b610f4d565b61031a6105cf366004611d03565b610ff6565b6013546103b2906001600160a01b031681565b61031a6a56da9d67d20d770900000081565b610314610607366004611db3565b61106b565b61031a6b03648a260e3486a65a00000081565b61031a60105481565b61031a610636366004611d1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61031a6ab664b0f39f82ad2c80000081565b61031a7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6106d56106a8366004611e11565b60066020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016102d5565b6103146106ff366004611d03565b611345565b61031a600a5481565b60606003805461071c90611f9a565b80601f016020809104026020016040519081016040528092919081815260200182805461074890611f9a565b80156107955780601f1061076a57610100808354040283529160200191610795565b820191906000526020600020905b81548152906001019060200180831161077857829003601f168201915b5050505050905090565b6000336107ad8185856114d5565b60019150505b92915050565b6011546001600160a01b031633146108085760405162461bcd60e51b815260206004820152600d60248201526c1bdb9b1e4810da1959941bdbdb609a1b60448201526064015b60405180910390fd5b600e546ab664b0f39f82ad2c8000009061082290836114c9565b1061084357600e54610840906ab664b0f39f82ad2c800000906114bd565b90505b8061084b5750565b610856335b826115f9565b600e5461086390826114c9565b600e555b50565b6013546001600160a01b031633146108b45760405162461bcd60e51b815260206004820152600d60248201526c1bdb9b1e4813195b99141bdbdb609a1b60448201526064016107ff565b6010546a70e8ffd3c444b458800000906108ce90836114c9565b106108ef576010546108ec906a70e8ffd3c444b458800000906114bd565b90505b806108f75750565b61090033610850565b60105461090d90826114c9565b60105550565b600033610921858285611628565b61092c8585856116ba565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906107ad9082908690610971908790611eef565b6114d5565b61086733826116fc565b6009546001600160a01b031633146109aa5760405162461bcd60e51b81526004016107ff90611eba565b6109b46000611796565b565b6000438210610a1b5760405162461bcd60e51b815260206004820152602b60248201527f4d6478546f6b656e3a3a6765745072696f72566f7465733a206e6f742079657460448201526a0819195d195c9b5a5b995960aa1b60648201526084016107ff565b6001600160a01b03831660009081526007602052604090205463ffffffff1680610a495760009150506107b3565b6001600160a01b03841660009081526006602052604081208491610a6e600185611f75565b63ffffffff90811682526020820192909252604001600020541611610ad7576001600160a01b038416600090815260066020526040812090610ab1600184611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101549150506107b3565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff16831015610b125760009150506107b3565b600080610b20600184611f75565b90505b8163ffffffff168163ffffffff161115610be85760006002610b458484611f75565b610b4f9190611f2f565b610b599083611f75565b6001600160a01b038816600090815260066020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610bbc576020015194506107b39350505050565b805163ffffffff16871115610bd357819350610be1565b610bde600183611f75565b92505b5050610b23565b506001600160a01b038516600090815260066020908152604080832063ffffffff9094168352929052206001015491505092915050565b6009546001600160a01b03163314610c495760405162461bcd60e51b81526004016107ff90611eba565b610c5581600d546115f9565b506000600d55565b6009546001600160a01b03163314610c875760405162461bcd60e51b81526004016107ff90611eba565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b03163314610cd35760405162461bcd60e51b81526004016107ff90611eba565b610cdf81600a546115f9565b506000600a55565b6009546001600160a01b03163314610d115760405162461bcd60e51b81526004016107ff90611eba565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b03163314610d5d5760405162461bcd60e51b81526004016107ff90611eba565b600b54811115610da45760405162461bcd60e51b81526020600482015260126024820152715f616d6f756e74203c206f70537570706c7960701b60448201526064016107ff565b610dae82826115f9565b600b54610dbb90826114bd565b600b555050565b60606004805461071c90611f9a565b6009546001600160a01b03163314610dfb5760405162461bcd60e51b81526004016107ff90611eba565b600c54811115610e435760405162461bcd60e51b81526020600482015260136024820152725f616d6f756e74203c2064616f537570706c7960681b60448201526064016107ff565b610e4d82826115f9565b600c54610e5a90826114bd565b600c555050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610ee65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107ff565b61092c82868684036114d5565b6000336107ad8185856116ba565b6009546001600160a01b03163314610f2b5760405162461bcd60e51b81526004016107ff90611eba565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6012546001600160a01b03163314610f975760405162461bcd60e51b815260206004820152600d60248201526c1bdb9b1e4814ddd85c141bdbdb609a1b60448201526064016107ff565b600f546a49d36c31d8f1d86140000090610fb190836114c9565b10610fd257600f54610fcf906a49d36c31d8f1d861400000906114bd565b90505b80610fda5750565b610fe333610850565b600f54610ff090826114c9565b600f5550565b6001600160a01b03811660009081526007602052604081205463ffffffff1680611021576000611064565b6001600160a01b038316600090815260066020526040812090611045600184611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661109661070d565b805190602001206110a44690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa1580156111d0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112465760405162461bcd60e51b815260206004820152602a60248201527f4d6478546f6b656e3a3a64656c656761746542795369673a20696e76616c6964604482015269207369676e617475726560b01b60648201526084016107ff565b6001600160a01b038116600090815260086020526040812080549161126a83611fd5565b9190505589146112cb5760405162461bcd60e51b815260206004820152602660248201527f4d6478546f6b656e3a3a64656c656761746542795369673a20696e76616c6964604482015265206e6f6e636560d01b60648201526084016107ff565b8742111561132e5760405162461bcd60e51b815260206004820152602a60248201527f4d6478546f6b656e3a3a64656c656761746542795369673a207369676e6174756044820152691c9948195e1c1a5c995960b21b60648201526084016107ff565b611338818b6116fc565b505050505b505050505050565b6009546001600160a01b0316331461136f5760405162461bcd60e51b81526004016107ff90611eba565b6001600160a01b0381166113d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ff565b61086781611796565b6001600160a01b0382166114335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ff565b80600260008282546114459190611eef565b90915550506001600160a01b03821660009081526020819052604081208054839290611472908490611eef565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b60006110648284611f5e565b60006110648284611eef565b6001600160a01b0383166115375760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ff565b6001600160a01b0382166115985760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ff565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61160382826113dd565b6001600160a01b038083166000908152600560205260408120546114b99216836117e8565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146116b457818110156116a75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ff565b6116b484848484036114d5565b50505050565b6116c5838383611947565b6001600160a01b038084166000908152600560205260408082205485841683529120546116f7929182169116836117e8565b505050565b6001600160a01b03828116600090815260056020818152604080842080548584529190942054929091528484166001600160a01b03198216179092559116906117468284836117e8565b826001600160a01b0316826001600160a01b0316856001600160a01b03167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415801561180a5750600081115b156116f7576001600160a01b038316156118ad576001600160a01b03831660009081526007602052604081205463ffffffff16908161184a57600061188d565b6001600160a01b03851660009081526006602052604081209061186e600185611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061189b82856114bd565b90506118a986848484611b15565b5050505b6001600160a01b038216156116f7576001600160a01b03821660009081526007602052604081205463ffffffff1690816118e857600061192b565b6001600160a01b03841660009081526006602052604081209061190c600185611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061193982856114c9565b905061133d85848484611b15565b6001600160a01b0383166119ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ff565b6001600160a01b038216611a0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ff565b6001600160a01b03831660009081526020819052604090205481811015611a855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107ff565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611abc908490611eef565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b0891815260200190565b60405180910390a36116b4565b6000611b394360405180606001604052806038815260200161200760389139611cb7565b905060008463ffffffff16118015611b9357506001600160a01b038516600090815260066020526040812063ffffffff831691611b77600188611f75565b63ffffffff908116825260208201929092526040016000205416145b15611bdc576001600160a01b03851660009081526006602052604081208391611bbd600188611f75565b63ffffffff168152602081019190915260400160002060010155611c6c565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600683528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611c3b908590611f07565b6001600160a01b0386166000908152600760205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611cdf5760405162461bcd60e51b81526004016107ff9190611e67565b509192915050565b80356001600160a01b0381168114611cfe57600080fd5b919050565b600060208284031215611d14578081fd5b61106482611ce7565b60008060408385031215611d2f578081fd5b611d3883611ce7565b9150611d4660208401611ce7565b90509250929050565b600080600060608486031215611d63578081fd5b611d6c84611ce7565b9250611d7a60208501611ce7565b9150604084013590509250925092565b60008060408385031215611d9c578182fd5b611da583611ce7565b946020939093013593505050565b60008060008060008060c08789031215611dcb578182fd5b611dd487611ce7565b95506020870135945060408701359350606087013560ff81168114611df7578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611e23578182fd5b611e2c83611ce7565b9150602083013563ffffffff81168114611e44578182fd5b809150509250929050565b600060208284031215611e60578081fd5b5035919050565b6000602080835283518082850152825b81811015611e9357858101830151858201604001528201611e77565b81811115611ea45783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611f0257611f02611ff0565b500190565b600063ffffffff808316818516808303821115611f2657611f26611ff0565b01949350505050565b600063ffffffff80841680611f5257634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600082821015611f7057611f70611ff0565b500390565b600063ffffffff83811690831681811015611f9257611f92611ff0565b039392505050565b600181811c90821680611fae57607f821691505b60208210811415611fcf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fe957611fe9611ff0565b5060010190565b634e487b7160e01b600052601160045260246000fdfe4d6478546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220d7676ca2c9af7d24e66b37292d3be6353c7bcf8d0dd340bb8ac29a1bb63a8a8964736f6c634300080400334d6478546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473000000000000000000000000aedbf27c17b8734031eb4ba6ac97590a7ce05b580000000000000000000000005e78ac44ac59a8e001ba7a3d5eb078c532cf2759

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106102bb5760003560e01c80638d015b2f11610182578063ae2e7a32116100e9578063d95a1199116100a2578063e7a324dc1161007c578063e7a324dc14610673578063f1127ed81461069a578063f2fde38b146106f1578063fb3ed5c71461070457600080fd5b8063d95a11991461061f578063dd62ed3e14610628578063e10252c41461066157600080fd5b8063ae2e7a32146105ae578063b4b5ea57146105c1578063b786e1e5146105d4578063c1dd8d4b146105e7578063c3cda520146105f9578063d5abeb011461060c57600080fd5b80639d551f361161013b5780639d551f3614610547578063a16a8c2a1461055a578063a3bd53aa14610563578063a457c2d714610575578063a9059cbb14610588578063aa8d23531461059b57600080fd5b80638d015b2f146104ec5780638da5cb5b146104f55780638f2a37171461050657806391b950f11461051957806395d89b411461052c578063982697dd1461053457600080fd5b80633b9920e111610226578063715018a6116101df578063715018a614610478578063782d6fe1146104805780637ecebe00146104935780637f5e5164146104b357806383c08197146104c6578063887b4e6b146104d957600080fd5b80633b9920e1146103dd57806340fa63a9146103e6578063477704f4146103ef5780635c19a95c146104015780636fcfff451461041457806370a082311461044f57600080fd5b806323b872dd1161027857806323b872dd146103625780632cfac6ec14610375578063313ce567146103875780633796cbdf1461039657806338d3fb5c1461039f57806339509351146103ca57600080fd5b806306fdde03146102c0578063095ea7b3146102de578063172f2a781461030157806318160ddd14610316578063203499c11461032857806320606b701461033b575b600080fd5b6102c861070d565b6040516102d59190611e67565b60405180910390f35b6102f16102ec366004611d8a565b61079f565b60405190151581526020016102d5565b61031461030f366004611e4f565b6107b9565b005b6002545b6040519081526020016102d5565b610314610336366004611e4f565b61086a565b61031a7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6102f1610370366004611d4f565b610913565b61031a6a2b6d4eb3e906bb8480000081565b604051601281526020016102d5565b61031a600d5481565b6011546103b2906001600160a01b031681565b6040516001600160a01b0390911681526020016102d5565b6102f16103d8366004611d8a565b610937565b61031a600c5481565b61031a600b5481565b61031a6a70e8ffd3c444b45880000081565b61031461040f366004611d03565b610976565b61043a610422366004611d03565b60076020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016102d5565b61031a61045d366004611d03565b6001600160a01b031660009081526020819052604090205490565b610314610980565b61031a61048e366004611d8a565b6109b6565b61031a6104a1366004611d03565b60086020526000908152604090205481565b6103146104c1366004611d03565b610c1f565b6103146104d4366004611d03565b610c5d565b6103146104e7366004611d03565b610ca9565b61031a600e5481565b6009546001600160a01b03166103b2565b610314610514366004611d03565b610ce7565b610314610527366004611d8a565b610d33565b6102c8610dc2565b6012546103b2906001600160a01b031681565b610314610555366004611d8a565b610dd1565b61031a600f5481565b61031a6a49d36c31d8f1d86140000081565b6102f1610583366004611d8a565b610e61565b6102f1610596366004611d8a565b610ef3565b6103146105a9366004611d03565b610f01565b6103146105bc366004611e4f565b610f4d565b61031a6105cf366004611d03565b610ff6565b6013546103b2906001600160a01b031681565b61031a6a56da9d67d20d770900000081565b610314610607366004611db3565b61106b565b61031a6b03648a260e3486a65a00000081565b61031a60105481565b61031a610636366004611d1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61031a6ab664b0f39f82ad2c80000081565b61031a7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6106d56106a8366004611e11565b60066020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016102d5565b6103146106ff366004611d03565b611345565b61031a600a5481565b60606003805461071c90611f9a565b80601f016020809104026020016040519081016040528092919081815260200182805461074890611f9a565b80156107955780601f1061076a57610100808354040283529160200191610795565b820191906000526020600020905b81548152906001019060200180831161077857829003601f168201915b5050505050905090565b6000336107ad8185856114d5565b60019150505b92915050565b6011546001600160a01b031633146108085760405162461bcd60e51b815260206004820152600d60248201526c1bdb9b1e4810da1959941bdbdb609a1b60448201526064015b60405180910390fd5b600e546ab664b0f39f82ad2c8000009061082290836114c9565b1061084357600e54610840906ab664b0f39f82ad2c800000906114bd565b90505b8061084b5750565b610856335b826115f9565b600e5461086390826114c9565b600e555b50565b6013546001600160a01b031633146108b45760405162461bcd60e51b815260206004820152600d60248201526c1bdb9b1e4813195b99141bdbdb609a1b60448201526064016107ff565b6010546a70e8ffd3c444b458800000906108ce90836114c9565b106108ef576010546108ec906a70e8ffd3c444b458800000906114bd565b90505b806108f75750565b61090033610850565b60105461090d90826114c9565b60105550565b600033610921858285611628565b61092c8585856116ba565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906107ad9082908690610971908790611eef565b6114d5565b61086733826116fc565b6009546001600160a01b031633146109aa5760405162461bcd60e51b81526004016107ff90611eba565b6109b46000611796565b565b6000438210610a1b5760405162461bcd60e51b815260206004820152602b60248201527f4d6478546f6b656e3a3a6765745072696f72566f7465733a206e6f742079657460448201526a0819195d195c9b5a5b995960aa1b60648201526084016107ff565b6001600160a01b03831660009081526007602052604090205463ffffffff1680610a495760009150506107b3565b6001600160a01b03841660009081526006602052604081208491610a6e600185611f75565b63ffffffff90811682526020820192909252604001600020541611610ad7576001600160a01b038416600090815260066020526040812090610ab1600184611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101549150506107b3565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff16831015610b125760009150506107b3565b600080610b20600184611f75565b90505b8163ffffffff168163ffffffff161115610be85760006002610b458484611f75565b610b4f9190611f2f565b610b599083611f75565b6001600160a01b038816600090815260066020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610bbc576020015194506107b39350505050565b805163ffffffff16871115610bd357819350610be1565b610bde600183611f75565b92505b5050610b23565b506001600160a01b038516600090815260066020908152604080832063ffffffff9094168352929052206001015491505092915050565b6009546001600160a01b03163314610c495760405162461bcd60e51b81526004016107ff90611eba565b610c5581600d546115f9565b506000600d55565b6009546001600160a01b03163314610c875760405162461bcd60e51b81526004016107ff90611eba565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b03163314610cd35760405162461bcd60e51b81526004016107ff90611eba565b610cdf81600a546115f9565b506000600a55565b6009546001600160a01b03163314610d115760405162461bcd60e51b81526004016107ff90611eba565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b03163314610d5d5760405162461bcd60e51b81526004016107ff90611eba565b600b54811115610da45760405162461bcd60e51b81526020600482015260126024820152715f616d6f756e74203c206f70537570706c7960701b60448201526064016107ff565b610dae82826115f9565b600b54610dbb90826114bd565b600b555050565b60606004805461071c90611f9a565b6009546001600160a01b03163314610dfb5760405162461bcd60e51b81526004016107ff90611eba565b600c54811115610e435760405162461bcd60e51b81526020600482015260136024820152725f616d6f756e74203c2064616f537570706c7960681b60448201526064016107ff565b610e4d82826115f9565b600c54610e5a90826114bd565b600c555050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610ee65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107ff565b61092c82868684036114d5565b6000336107ad8185856116ba565b6009546001600160a01b03163314610f2b5760405162461bcd60e51b81526004016107ff90611eba565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6012546001600160a01b03163314610f975760405162461bcd60e51b815260206004820152600d60248201526c1bdb9b1e4814ddd85c141bdbdb609a1b60448201526064016107ff565b600f546a49d36c31d8f1d86140000090610fb190836114c9565b10610fd257600f54610fcf906a49d36c31d8f1d861400000906114bd565b90505b80610fda5750565b610fe333610850565b600f54610ff090826114c9565b600f5550565b6001600160a01b03811660009081526007602052604081205463ffffffff1680611021576000611064565b6001600160a01b038316600090815260066020526040812090611045600184611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661109661070d565b805190602001206110a44690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa1580156111d0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112465760405162461bcd60e51b815260206004820152602a60248201527f4d6478546f6b656e3a3a64656c656761746542795369673a20696e76616c6964604482015269207369676e617475726560b01b60648201526084016107ff565b6001600160a01b038116600090815260086020526040812080549161126a83611fd5565b9190505589146112cb5760405162461bcd60e51b815260206004820152602660248201527f4d6478546f6b656e3a3a64656c656761746542795369673a20696e76616c6964604482015265206e6f6e636560d01b60648201526084016107ff565b8742111561132e5760405162461bcd60e51b815260206004820152602a60248201527f4d6478546f6b656e3a3a64656c656761746542795369673a207369676e6174756044820152691c9948195e1c1a5c995960b21b60648201526084016107ff565b611338818b6116fc565b505050505b505050505050565b6009546001600160a01b0316331461136f5760405162461bcd60e51b81526004016107ff90611eba565b6001600160a01b0381166113d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ff565b61086781611796565b6001600160a01b0382166114335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ff565b80600260008282546114459190611eef565b90915550506001600160a01b03821660009081526020819052604081208054839290611472908490611eef565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b60006110648284611f5e565b60006110648284611eef565b6001600160a01b0383166115375760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ff565b6001600160a01b0382166115985760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ff565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61160382826113dd565b6001600160a01b038083166000908152600560205260408120546114b99216836117e8565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146116b457818110156116a75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ff565b6116b484848484036114d5565b50505050565b6116c5838383611947565b6001600160a01b038084166000908152600560205260408082205485841683529120546116f7929182169116836117e8565b505050565b6001600160a01b03828116600090815260056020818152604080842080548584529190942054929091528484166001600160a01b03198216179092559116906117468284836117e8565b826001600160a01b0316826001600160a01b0316856001600160a01b03167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415801561180a5750600081115b156116f7576001600160a01b038316156118ad576001600160a01b03831660009081526007602052604081205463ffffffff16908161184a57600061188d565b6001600160a01b03851660009081526006602052604081209061186e600185611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061189b82856114bd565b90506118a986848484611b15565b5050505b6001600160a01b038216156116f7576001600160a01b03821660009081526007602052604081205463ffffffff1690816118e857600061192b565b6001600160a01b03841660009081526006602052604081209061190c600185611f75565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061193982856114c9565b905061133d85848484611b15565b6001600160a01b0383166119ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ff565b6001600160a01b038216611a0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ff565b6001600160a01b03831660009081526020819052604090205481811015611a855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107ff565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611abc908490611eef565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b0891815260200190565b60405180910390a36116b4565b6000611b394360405180606001604052806038815260200161200760389139611cb7565b905060008463ffffffff16118015611b9357506001600160a01b038516600090815260066020526040812063ffffffff831691611b77600188611f75565b63ffffffff908116825260208201929092526040016000205416145b15611bdc576001600160a01b03851660009081526006602052604081208391611bbd600188611f75565b63ffffffff168152602081019190915260400160002060010155611c6c565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600683528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611c3b908590611f07565b6001600160a01b0386166000908152600760205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611cdf5760405162461bcd60e51b81526004016107ff9190611e67565b509192915050565b80356001600160a01b0381168114611cfe57600080fd5b919050565b600060208284031215611d14578081fd5b61106482611ce7565b60008060408385031215611d2f578081fd5b611d3883611ce7565b9150611d4660208401611ce7565b90509250929050565b600080600060608486031215611d63578081fd5b611d6c84611ce7565b9250611d7a60208501611ce7565b9150604084013590509250925092565b60008060408385031215611d9c578182fd5b611da583611ce7565b946020939093013593505050565b60008060008060008060c08789031215611dcb578182fd5b611dd487611ce7565b95506020870135945060408701359350606087013560ff81168114611df7578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611e23578182fd5b611e2c83611ce7565b9150602083013563ffffffff81168114611e44578182fd5b809150509250929050565b600060208284031215611e60578081fd5b5035919050565b6000602080835283518082850152825b81811015611e9357858101830151858201604001528201611e77565b81811115611ea45783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611f0257611f02611ff0565b500190565b600063ffffffff808316818516808303821115611f2657611f26611ff0565b01949350505050565b600063ffffffff80841680611f5257634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600082821015611f7057611f70611ff0565b500390565b600063ffffffff83811690831681811015611f9257611f92611ff0565b039392505050565b600181811c90821680611fae57607f821691505b60208210811415611fcf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fe957611fe9611ff0565b5060010190565b634e487b7160e01b600052601160045260246000fdfe4d6478546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220d7676ca2c9af7d24e66b37292d3be6353c7bcf8d0dd340bb8ac29a1bb63a8a8964736f6c63430008040033