Address Details
contract

0xEFF76f5cA1dB52D12FD55368c93a6E1fD2dE22Ba

Contract Name
SourceTokenV3
Creator
0xdbef37–2dbe57 at 0xeae9e3–f5fa1d
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
25180599
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
SourceTokenV3




Optimization enabled
false
Compiler version
v0.8.9+commit.e5eed63a




EVM Version
london




Verified at
2022-06-03T17:57:14.968804Z

contracts/SOURCE/SourceTokenV3.sol

// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "./ERC20SOULV3.sol";

contract SourceTokenV3 is ERC20SOULV3 {
    function initialize(uint256 initialSupply, address[] calldata stakableContracts)
        external
        virtual
        initializer
    {
        ERC20SOULV3.initializeERC20SOUL("Source", "SOURCE", initialSupply, stakableContracts);
    }
}
        

/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}
          

/_openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";

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

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        _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 {}

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[45] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol

// 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 IERC20Upgradeable {
    /**
     * @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);
}
          

/_openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol

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

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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);
}
          

/_openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 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);
            }
        }
    }
}
          

/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}
          

/contracts/SOURCE/ERC20SOULV3.sol

// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";

/// @title ERC20SOUL - An ERC20 extension that enables the transfer of
/// tokens alongside locking periods that can be applied to subsets of
/// the total transfer amount. This implementation also allows the owner
/// to specify staking contract addresses that locked addresses can
/// interact with.
/// @author Bridger Zoske - bridger@resourcenetwork.co
contract ERC20SOULV3 is ERC20Upgradeable, OwnableUpgradeable {
    /*
     *  Events
     */
    event LockedTransfer(address sender, address recipient);

    event LockExpired(address owner);

    event LockScheduleExpired(address owner);

    event LockReturned(address owner, uint256 amount);

    /*
     *  Storage
     */
    mapping(address => bool) public isStakeableContract;
    mapping(address => Lock) public locks;
    uint256 public minLockTime;
    uint256 public maxLockTime;
    uint256 public maxSchedules;
    uint256 public totalLocked;
    bool private _upgradeV2;

    struct Lock {
        uint256 totalAmount;
        uint256 amountStaked;
        Schedule[] schedules;
    }

    struct Schedule {
        uint256 amount;
        uint256 expirationBlock;
    }

    /*
     *  Modifiers
     */
    modifier validLock(Lock calldata _lock) {
        require(_lock.totalAmount > 0, "Invalid Lock amount");
        uint256 lockTotal;
        for (uint256 i = 0; i < _lock.schedules.length; i++) {
            lockTotal += _lock.schedules[i].amount;
            require(
                _lock.schedules[i].expirationBlock > block.timestamp + minLockTime,
                "Lock schedule does not meet minimum"
            );
            require(
                _lock.schedules[i].expirationBlock < block.timestamp + maxLockTime,
                "Lock schedule does not meet maximum"
            );
        }
        require(lockTotal == _lock.totalAmount, "Invalid Lock");
        _;
    }

    /*
     * Public functions
     */
    /// @dev Contract initialzer sets ERC20 token data and stakeable contracts
    /// @param name Name of ERC20 token
    /// @param symbol Symbol of ERC20 token
    /// @param initialSupply Initial supply of ERC20 token
    /// @param stakeableContracts List of valid staking contracts
    function initializeERC20SOUL(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        address[] calldata stakeableContracts
    ) public virtual initializer {
        __ERC20_init(name, symbol);
        __Ownable_init();
        _mint(msg.sender, initialSupply);
        minLockTime = 1 days;
        maxLockTime = 1825 days;
        maxSchedules = 260;
        for (uint256 i = 0; i < stakeableContracts.length; i++) {
            require(stakeableContracts[i] != address(0), "invalid stakeable contract address");
            isStakeableContract[stakeableContracts[i]] = true;
        }
    }

    /// @dev Creates a valid recipient lock after transfering tokens
    /// @param _to address to send tokens to
    /// @param _lock valid lock data associated with transfer
    function transferWithLock(address _to, Lock calldata _lock) external validLock(_lock) {
        super._transfer(msg.sender, _to, _lock.totalAmount);
        Lock storage lock = locks[_to];
        require(
            lock.schedules.length + _lock.schedules.length < maxSchedules,
            "Maximum locks on address"
        );
        lock.totalAmount += _lock.totalAmount;
        for (uint256 i = 0; i < _lock.schedules.length; i++) {
            lock.schedules.push(
                Schedule(_lock.schedules[i].amount, _lock.schedules[i].expirationBlock)
            );
        }
        totalLocked += _lock.totalAmount;
        emit LockedTransfer(msg.sender, _to);
    }

    /*
     * Internal functions
     */
    function _transfer(
        address _from,
        address _to,
        uint256 _amount
    ) internal override {
        _updateLock(_from, _to, _amount);
        super._transfer(_from, _to, _amount);
    }

    /// @dev internal function to update relevant lock if any
    /// @param _from transaction sender
    /// @param _to transaction recipient
    /// @param _amount transaction amount
    function _updateLock(
        address _from,
        address _to,
        uint256 _amount
    ) internal {
        if (updateRecipientLock(_from, _to, _amount)) {
            return;
        }
        updateSenderLock(_from, _to, _amount);
    }

    /// @dev internal function to update the sender's lock if any
    /// @param _from transaction sender
    /// @param _to transaction recipient
    /// @param sendAmount transaction amount
    function updateSenderLock(
        address _from,
        address _to,
        uint256 sendAmount
    ) internal {
        Lock storage senderLock = locks[_from];

        // no lock on sender
        if (senderLock.totalAmount == 0) {
            return;
        }
        // staking tokens
        if (isStakeableContract[_to]) {
            if (senderLock.totalAmount - senderLock.amountStaked >= sendAmount) {
                senderLock.amountStaked += sendAmount;
            } else {
                senderLock.amountStaked = senderLock.totalAmount;
            }
            return;
        }

        uint256 amountToUnlock;
        uint256 deleteOffset;
        uint256 totalSenderSchedules = senderLock.schedules.length;
        for (uint256 i = 0; i < totalSenderSchedules + deleteOffset; i++) {
            uint256 index = i - deleteOffset;
            if (block.timestamp >= senderLock.schedules[index].expirationBlock) {
                amountToUnlock += senderLock.schedules[index].amount;
                senderLock.schedules[index] = senderLock.schedules[totalSenderSchedules - 1];
                senderLock.schedules.pop();
                deleteOffset++;
                totalSenderSchedules--;
                emit LockScheduleExpired(_from);
            }
        }
        uint256 availableAmount = amountToUnlock +
            super.balanceOf(_from) +
            senderLock.amountStaked -
            senderLock.totalAmount;
        senderLock.totalAmount -= amountToUnlock;
        totalLocked = totalLocked < amountToUnlock ? 0 : totalLocked -= amountToUnlock;
        require(availableAmount >= sendAmount, "Insufficient unlocked funds");
        if (senderLock.totalAmount == 0) {
            emit LockExpired(_from);
            delete locks[_from];
        }
    }

    /// @dev internal function to update the recipient's lock if transaction is from stakeable contract
    /// @param _from transaction sender
    /// @param _to transaction recipient
    /// @param sendAmount transaction amount
    function updateRecipientLock(
        address _from,
        address _to,
        uint256 sendAmount
    ) internal returns (bool) {
        if (!isStakeableContract[_from]) {
            return false;
        }

        Lock storage recipientLock = locks[_to];
        // lock does not exist
        if (recipientLock.totalAmount == 0) {
            return false;
        }

        recipientLock.amountStaked = recipientLock.amountStaked >= sendAmount
            ? recipientLock.amountStaked - sendAmount
            : 0;
        return true;
    }

    // ADMIN

    /// @dev external function to update minimum lock time
    /// @param _newMin new minimum locking time
    function setMinLockTime(uint256 _newMin) external onlyOwner {
        minLockTime = _newMin;
    }

    /// @dev external function to get minimum lock time
    function getMinLockTime() external view returns (uint256) {
        return minLockTime;
    }

    /// @dev external function to update maximum lock time
    /// @param _newMax new maximum locking time
    function setMaxLockTime(uint256 _newMax) external onlyOwner {
        maxLockTime = _newMax;
    }

    /// @dev external function to get maximum lock time
    function getMaxLockTime() external view returns (uint256) {
        return maxLockTime;
    }

    /// @dev external function to update maximum number of schedules per lock
    /// @param _newMax new maximum number of shedules per lock
    function setMaxSchedules(uint256 _newMax) external onlyOwner {
        maxSchedules = _newMax;
    }

    /// @dev external function to get maximum number of schedules per lock
    function getMaxSchedules() external view returns (uint256) {
        return maxSchedules;
    }

    /// @dev external function to add a stakeable contract
    /// @param stakingContract address of the staking contract to be added
    function addStakeableContract(address stakingContract) external onlyOwner {
        require(stakingContract != address(0), "Invalid staking address");
        isStakeableContract[stakingContract] = true;
    }

    /// @dev external function to remove a stakeable contract
    /// @param stakingContract address of the staking contract to be removed
    function removeStakeableContract(address stakingContract) external onlyOwner {
        require(isStakeableContract[stakingContract], "Invalid staking address");
        isStakeableContract[stakingContract] = false;
    }

    // WEB3 interface
    function getLockSchedules(address owner) public view returns (Lock memory) {
        Lock memory lock = locks[owner];
        return lock;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return super.balanceOf(account) - lockedBalanceOf(account);
    }

    function lockedBalanceOf(address account) public view returns (uint256) {
        Lock memory senderLock = locks[account];
        uint256 lockedBalance;
        for (uint256 i = 0; i < senderLock.schedules.length; i++) {
            if (block.timestamp < senderLock.schedules[i].expirationBlock) {
                lockedBalance += senderLock.schedules[i].amount;
            }
        }

        return lockedBalance - senderLock.amountStaked;
    }

    function refundLockedTokensToOwner() external {
        uint256 lockedBalance = lockedBalanceOf(msg.sender);
        totalLocked = totalLocked < lockedBalance ? 0 : totalLocked -= lockedBalance;
        super._transfer(msg.sender, owner(), lockedBalanceOf(msg.sender));
        delete locks[msg.sender];
        emit LockReturned(msg.sender, totalLocked);
    }
}
          

Contract ABI

[{"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":"LockExpired","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"LockReturned","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LockScheduleExpired","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"LockedTransfer","inputs":[{"type":"address","name":"sender","internalType":"address","indexed":false},{"type":"address","name":"recipient","internalType":"address","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":"addStakeableContract","inputs":[{"type":"address","name":"stakingContract","internalType":"address"}]},{"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":"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":"view","outputs":[{"type":"tuple","name":"","internalType":"struct ERC20SOULV3.Lock","components":[{"type":"uint256","name":"totalAmount","internalType":"uint256"},{"type":"uint256","name":"amountStaked","internalType":"uint256"},{"type":"tuple[]","name":"schedules","internalType":"struct ERC20SOULV3.Schedule[]","components":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"expirationBlock","internalType":"uint256"}]}]}],"name":"getLockSchedules","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getMaxLockTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getMaxSchedules","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getMinLockTime","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":"initialize","inputs":[{"type":"uint256","name":"initialSupply","internalType":"uint256"},{"type":"address[]","name":"stakableContracts","internalType":"address[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializeERC20SOUL","inputs":[{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"},{"type":"uint256","name":"initialSupply","internalType":"uint256"},{"type":"address[]","name":"stakeableContracts","internalType":"address[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isStakeableContract","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lockedBalanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"totalAmount","internalType":"uint256"},{"type":"uint256","name":"amountStaked","internalType":"uint256"}],"name":"locks","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxLockTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSchedules","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minLockTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"refundLockedTokensToOwner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeStakeableContract","inputs":[{"type":"address","name":"stakingContract","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxLockTime","inputs":[{"type":"uint256","name":"_newMax","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxSchedules","inputs":[{"type":"uint256","name":"_newMax","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMinLockTime","inputs":[{"type":"uint256","name":"_newMin","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalLocked","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"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferWithLock","inputs":[{"type":"address","name":"_to","internalType":"address"},{"type":"tuple","name":"_lock","internalType":"struct ERC20SOULV3.Lock","components":[{"type":"uint256","name":"totalAmount","internalType":"uint256"},{"type":"uint256","name":"amountStaked","internalType":"uint256"},{"type":"tuple[]","name":"schedules","internalType":"struct ERC20SOULV3.Schedule[]","components":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"expirationBlock","internalType":"uint256"}]}]}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b5061408d806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806382e5d1bc1161011a578063a920b78c116100ad578063ca8f45bd1161007c578063ca8f45bd146105f0578063d308e10e1461060e578063d97cfb2d1461062c578063dd62ed3e14610648578063f2fde38b1461067857610206565b8063a920b78c1461057e578063aa1e11991461059a578063aa576c4f146105b6578063c44cb233146105d257610206565b8063a457c2d7116100e9578063a457c2d7146104e4578063a60ff76614610514578063a86d01d814610532578063a9059cbb1461054e57610206565b806382e5d1bc146104705780638da5cb5b1461048c57806395d89b41146104aa578063a057e801146104c857610206565b8063417450081161019d5780635a37b0601161016c5780635a37b060146103b95780635de9a137146103d55780636a1e26251461040657806370a0823114610436578063715018a61461046657610206565b8063417450081461031d578063568914121461033b57806358bb1baa14610359578063593557361461038957610206565b8063313ce567116101d9578063313ce567146102a7578063355a8744146102c557806337a7ba33146102e357806339509351146102ed57610206565b806306fdde031461020b578063095ea7b31461022957806318160ddd1461025957806323b872dd14610277575b600080fd5b610213610694565b6040516102209190612bfb565b60405180910390f35b610243600480360381019061023e9190612cc5565b610726565b6040516102509190612d20565b60405180910390f35b610261610749565b60405161026e9190612d4a565b60405180910390f35b610291600480360381019061028c9190612d65565b610753565b60405161029e9190612d20565b60405180910390f35b6102af610782565b6040516102bc9190612dd4565b60405180910390f35b6102cd61078b565b6040516102da9190612d4a565b60405180910390f35b6102eb610795565b005b61030760048036038101906103029190612cc5565b61088b565b6040516103149190612d20565b60405180910390f35b610325610935565b6040516103329190612d4a565b60405180910390f35b61034361093f565b6040516103509190612d4a565b60405180910390f35b610373600480360381019061036e9190612def565b610945565b6040516103809190612d20565b60405180910390f35b6103a3600480360381019061039e9190612def565b610965565b6040516103b09190612d4a565b60405180910390f35b6103d360048036038101906103ce9190612def565b610ad8565b005b6103ef60048036038101906103ea9190612def565b610c3b565b6040516103fd929190612e1c565b60405180910390f35b610420600480360381019061041b9190612def565b610c5f565b60405161042d9190612f82565b60405180910390f35b610450600480360381019061044b9190612def565b610d45565b60405161045d9190612d4a565b60405180910390f35b61046e610d6a565b005b61048a60048036038101906104859190612fa4565b610df2565b005b610494610e78565b6040516104a19190612fe0565b60405180910390f35b6104b2610ea2565b6040516104bf9190612bfb565b60405180910390f35b6104e260048036038101906104dd9190612fa4565b610f34565b005b6104fe60048036038101906104f99190612cc5565b610fba565b60405161050b9190612d20565b60405180910390f35b61051c6110a4565b6040516105299190612d4a565b60405180910390f35b61054c60048036038101906105479190612fa4565b6110aa565b005b61056860048036038101906105639190612cc5565b611130565b6040516105759190612d20565b60405180910390f35b61059860048036038101906105939190613060565b611153565b005b6105b460048036038101906105af91906130e4565b6112b1565b005b6105d060048036038101906105cb9190612def565b6116af565b005b6105da6117f6565b6040516105e79190612d4a565b60405180910390f35b6105f86117fc565b6040516106059190612d4a565b60405180910390f35b610616611806565b6040516106239190612d4a565b60405180910390f35b61064660048036038101906106419190613270565b61180c565b005b610662600480360381019061065d9190613330565b611a67565b60405161066f9190612d4a565b60405180910390f35b610692600480360381019061068d9190612def565b611aee565b005b6060603680546106a39061339f565b80601f01602080910402602001604051908101604052809291908181526020018280546106cf9061339f565b801561071c5780601f106106f15761010080835404028352916020019161071c565b820191906000526020600020905b8154815290600101906020018083116106ff57829003601f168201915b5050505050905090565b600080610731611be6565b905061073e818585611bee565b600191505092915050565b6000603554905090565b60008061075e611be6565b905061076b858285611db9565b610776858585611e45565b60019150509392505050565b60006012905090565b6000609b54905090565b60006107a033610965565b905080609c54106107c85780609c60008282546107bd9190613400565b9250508190556107cb565b60005b609c819055506107eb336107dd610e78565b6107e633610965565b611e60565b609860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600061084b9190612a53565b50507f830501e61b8b075e170b22a430e39454bdb12ed3e9620e586430b6ac00079da533609c54604051610880929190613434565b60405180910390a150565b600080610896611be6565b905061092a818585603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610925919061345d565b611bee565b600191505092915050565b6000609a54905090565b609c5481565b60976020528060005260406000206000915054906101000a900460ff1681565b600080609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610a31578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906109eb565b50505050815250509050600080600090505b826040015151811015610abe5782604001518181518110610a6757610a666134b3565b5b602002602001015160200151421015610aab5782604001518181518110610a9157610a906134b3565b5b60200260200101516000015182610aa8919061345d565b91505b8080610ab6906134e2565b915050610a43565b50816020015181610acf9190613400565b92505050919050565b610ae0611be6565b73ffffffffffffffffffffffffffffffffffffffff16610afe610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b90613577565b60405180910390fd5b609760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd7906135e3565b60405180910390fd5b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60986020528060005260406000206000915090508060000154908060010154905082565b610c67612a77565b6000609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610d3257838290600052602060002090600202016040518060400160405290816000820154815260200160018201548152505081526020019060010190610cec565b5050505081525050905080915050919050565b6000610d5082610965565b610d59836120e4565b610d639190613400565b9050919050565b610d72611be6565b73ffffffffffffffffffffffffffffffffffffffff16610d90610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd90613577565b60405180910390fd5b610df0600061212d565b565b610dfa611be6565b73ffffffffffffffffffffffffffffffffffffffff16610e18610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6590613577565b60405180910390fd5b8060998190555050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060378054610eb19061339f565b80601f0160208091040260200160405190810160405280929190818152602001828054610edd9061339f565b8015610f2a5780601f10610eff57610100808354040283529160200191610f2a565b820191906000526020600020905b815481529060010190602001808311610f0d57829003601f168201915b5050505050905090565b610f3c611be6565b73ffffffffffffffffffffffffffffffffffffffff16610f5a610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790613577565b60405180910390fd5b80609b8190555050565b600080610fc5611be6565b90506000603460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290613675565b60405180910390fd5b6110988286868403611bee565b60019250505092915050565b60995481565b6110b2611be6565b73ffffffffffffffffffffffffffffffffffffffff166110d0610e78565b73ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90613577565b60405180910390fd5b80609a8190555050565b60008061113b611be6565b9050611148818585611e45565b600191505092915050565b600060019054906101000a900460ff1661117b5760008054906101000a900460ff1615611184565b6111836121f3565b5b6111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba90613707565b60405180910390fd5b60008060019054906101000a900460ff161590508015611213576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61128a6040518060400160405280600681526020017f536f7572636500000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f534f55524345000000000000000000000000000000000000000000000000000081525086868661180c565b80156112ab5760008060016101000a81548160ff0219169083151502179055505b50505050565b8060008160000135116112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090613773565b60405180910390fd5b600080600090505b82806040019061131191906137a2565b90508110156114575782806040019061132a91906137a2565b8281811061133b5761133a6134b3565b5b9050604002016000013582611350919061345d565b915060995442611360919061345d565b83806040019061137091906137a2565b83818110611381576113806134b3565b5b90506040020160200135116113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c290613877565b60405180910390fd5b609a54426113d9919061345d565b8380604001906113e991906137a2565b838181106113fa576113f96134b3565b5b9050604002016020013510611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90613909565b60405180910390fd5b808061144f906134e2565b915050611301565b508160000135811461149e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149590613975565b60405180910390fd5b6114ad33858560000135611e60565b6000609860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050609b5484806040019061150391906137a2565b90508260020180549050611517919061345d565b10611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e906139e1565b60405180910390fd5b836000013581600001600082825461156f919061345d565b9250508190555060005b84806040019061158991906137a2565b9050811015611651578160020160405180604001604052808780604001906115b191906137a2565b858181106115c2576115c16134b3565b5b9050604002016000013581526020018780604001906115e191906137a2565b858181106115f2576115f16134b3565b5b905060400201602001358152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508080611649906134e2565b915050611579565b508360000135609c6000828254611668919061345d565b925050819055507f37ecbe2cbf39bfa490f96cf364c479b7a743480533b822b41cb5e6a92816db6033866040516116a0929190613a01565b60405180910390a15050505050565b6116b7611be6565b73ffffffffffffffffffffffffffffffffffffffff166116d5610e78565b73ffffffffffffffffffffffffffffffffffffffff161461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290613577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611792906135e3565b60405180910390fd5b6001609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b609b5481565b6000609954905090565b609a5481565b600060019054906101000a900460ff166118345760008054906101000a900460ff161561183d565b61183c6121f3565b5b61187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390613707565b60405180910390fd5b60008060019054906101000a900460ff1615905080156118cc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6118d68686612204565b6118de612261565b6118e833856122ba565b620151806099819055506309660180609a81905550610104609b8190555060005b83839050811015611a3d57600073ffffffffffffffffffffffffffffffffffffffff1684848381811061193f5761193e6134b3565b5b90506020020160208101906119549190612def565b73ffffffffffffffffffffffffffffffffffffffff1614156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a290613a9c565b60405180910390fd5b6001609760008686858181106119c4576119c36134b3565b5b90506020020160208101906119d99190612def565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611a35906134e2565b915050611909565b508015611a5f5760008060016101000a81548160ff0219169083151502179055505b505050505050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611af6611be6565b73ffffffffffffffffffffffffffffffffffffffff16611b14610e78565b73ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190613577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd190613b2e565b60405180910390fd5b611be38161212d565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590613bc0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc590613c52565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611dac9190612d4a565b60405180910390a3505050565b6000611dc58484611a67565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611e3f5781811015611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2890613cbe565b60405180910390fd5b611e3e8484848403611bee565b5b50505050565b611e5083838361241b565b611e5b838383611e60565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec790613d50565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3790613de2565b60405180910390fd5b611f4b838383612441565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc990613e74565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612067919061345d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120cb9190612d4a565b60405180910390a36120de848484612446565b50505050565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006121fe3061244b565b15905090565b600060019054906101000a900460ff16612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a90613f06565b60405180910390fd5b61225d828261246e565b5050565b600060019054906101000a900460ff166122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a790613f06565b60405180910390fd5b6122b86124ef565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232190613f72565b60405180910390fd5b61233660008383612441565b8060356000828254612348919061345d565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461239e919061345d565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516124039190612d4a565b60405180910390a361241760008383612446565b5050565b612426838383612550565b156124305761243c565b61243b83838361263f565b5b505050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff166124bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b490613f06565b60405180910390fd5b81603690805190602001906124d3929190612a98565b5080603790805190602001906124ea929190612a98565b505050565b600060019054906101000a900460ff1661253e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253590613f06565b60405180910390fd5b61254e612549611be6565b61212d565b565b6000609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166125ac5760009050612638565b6000609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541415612606576000915050612638565b828160010154101561261957600061262a565b8281600101546126299190613400565b5b816001018190555060019150505b9392505050565b6000609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015414156126955750612a4e565b609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156127355781816001015482600001546126fc9190613400565b106127215781816001016000828254612715919061345d565b9250508190555061272f565b806000015481600101819055505b50612a4e565b60008060008360020180549050905060005b8282612753919061345d565b8110156128dd57600083826127689190613400565b90508560020181815481106127805761277f6134b3565b5b90600052602060002090600202016001015442106128c9578560020181815481106127ae576127ad6134b3565b5b906000526020600020906002020160000154856127cb919061345d565b9450856002016001846127de9190613400565b815481106127ef576127ee6134b3565b5b9060005260206000209060020201866002018281548110612813576128126134b3565b5b906000526020600020906002020160008201548160000155600182015481600101559050508560020180548061284c5761284b613f92565b5b60019003818190600052602060002090600202016000808201600090556001820160009055505090558380612880906134e2565b945050828061288e90613fc1565b9350507f863282597d52b88b6e21cbc688ce4bed746b1703bcfb5652d0a5c2a45811b9bb896040516128c09190612fe0565b60405180910390a15b5080806128d5906134e2565b915050612747565b506000846000015485600101546128f38a6120e4565b866128fe919061345d565b612908919061345d565b6129129190613400565b9050838560000160008282546129289190613400565b9250508190555083609c54106129555783609c600082825461294a9190613400565b925050819055612958565b60005b609c81905550858110156129a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299890614037565b60405180910390fd5b600085600001541415612a48577fd14279cf9d6b87da42be69e0ad932e7d6060b2255cd76cee1f0c1f25ffe0a10f886040516129dd9190612fe0565b60405180910390a1609860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055600282016000612a459190612a53565b50505b50505050505b505050565b5080546000825560020290600052602060002090810190612a749190612b1e565b50565b60405180606001604052806000815260200160008152602001606081525090565b828054612aa49061339f565b90600052602060002090601f016020900481019282612ac65760008555612b0d565b82601f10612adf57805160ff1916838001178555612b0d565b82800160010185558215612b0d579182015b82811115612b0c578251825591602001919060010190612af1565b5b509050612b1a9190612b45565b5090565b5b80821115612b4157600080820160009055600182016000905550600201612b1f565b5090565b5b80821115612b5e576000816000905550600101612b46565b5090565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b9c578082015181840152602081019050612b81565b83811115612bab576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bcd82612b62565b612bd78185612b6d565b9350612be7818560208601612b7e565b612bf081612bb1565b840191505092915050565b60006020820190508181036000830152612c158184612bc2565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c5c82612c31565b9050919050565b612c6c81612c51565b8114612c7757600080fd5b50565b600081359050612c8981612c63565b92915050565b6000819050919050565b612ca281612c8f565b8114612cad57600080fd5b50565b600081359050612cbf81612c99565b92915050565b60008060408385031215612cdc57612cdb612c27565b5b6000612cea85828601612c7a565b9250506020612cfb85828601612cb0565b9150509250929050565b60008115159050919050565b612d1a81612d05565b82525050565b6000602082019050612d356000830184612d11565b92915050565b612d4481612c8f565b82525050565b6000602082019050612d5f6000830184612d3b565b92915050565b600080600060608486031215612d7e57612d7d612c27565b5b6000612d8c86828701612c7a565b9350506020612d9d86828701612c7a565b9250506040612dae86828701612cb0565b9150509250925092565b600060ff82169050919050565b612dce81612db8565b82525050565b6000602082019050612de96000830184612dc5565b92915050565b600060208284031215612e0557612e04612c27565b5b6000612e1384828501612c7a565b91505092915050565b6000604082019050612e316000830185612d3b565b612e3e6020830184612d3b565b9392505050565b612e4e81612c8f565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b604082016000820151612e966000850182612e45565b506020820151612ea96020850182612e45565b50505050565b6000612ebb8383612e80565b60408301905092915050565b6000602082019050919050565b6000612edf82612e54565b612ee98185612e5f565b9350612ef483612e70565b8060005b83811015612f25578151612f0c8882612eaf565b9750612f1783612ec7565b925050600181019050612ef8565b5085935050505092915050565b6000606083016000830151612f4a6000860182612e45565b506020830151612f5d6020860182612e45565b5060408301518482036040860152612f758282612ed4565b9150508091505092915050565b60006020820190508181036000830152612f9c8184612f32565b905092915050565b600060208284031215612fba57612fb9612c27565b5b6000612fc884828501612cb0565b91505092915050565b612fda81612c51565b82525050565b6000602082019050612ff56000830184612fd1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130205761301f612ffb565b5b8235905067ffffffffffffffff81111561303d5761303c613000565b5b60208301915083602082028301111561305957613058613005565b5b9250929050565b60008060006040848603121561307957613078612c27565b5b600061308786828701612cb0565b935050602084013567ffffffffffffffff8111156130a8576130a7612c2c565b5b6130b48682870161300a565b92509250509250925092565b600080fd5b6000606082840312156130db576130da6130c0565b5b81905092915050565b600080604083850312156130fb576130fa612c27565b5b600061310985828601612c7a565b925050602083013567ffffffffffffffff81111561312a57613129612c2c565b5b613136858286016130c5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61317d82612bb1565b810181811067ffffffffffffffff8211171561319c5761319b613145565b5b80604052505050565b60006131af612c1d565b90506131bb8282613174565b919050565b600067ffffffffffffffff8211156131db576131da613145565b5b6131e482612bb1565b9050602081019050919050565b82818337600083830152505050565b600061321361320e846131c0565b6131a5565b90508281526020810184848401111561322f5761322e613140565b5b61323a8482856131f1565b509392505050565b600082601f83011261325757613256612ffb565b5b8135613267848260208601613200565b91505092915050565b60008060008060006080868803121561328c5761328b612c27565b5b600086013567ffffffffffffffff8111156132aa576132a9612c2c565b5b6132b688828901613242565b955050602086013567ffffffffffffffff8111156132d7576132d6612c2c565b5b6132e388828901613242565b94505060406132f488828901612cb0565b935050606086013567ffffffffffffffff81111561331557613314612c2c565b5b6133218882890161300a565b92509250509295509295909350565b6000806040838503121561334757613346612c27565b5b600061335585828601612c7a565b925050602061336685828601612c7a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133b757607f821691505b602082108114156133cb576133ca613370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061340b82612c8f565b915061341683612c8f565b925082821015613429576134286133d1565b5b828203905092915050565b60006040820190506134496000830185612fd1565b6134566020830184612d3b565b9392505050565b600061346882612c8f565b915061347383612c8f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134a8576134a76133d1565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006134ed82612c8f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135205761351f6133d1565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613561602083612b6d565b915061356c8261352b565b602082019050919050565b6000602082019050818103600083015261359081613554565b9050919050565b7f496e76616c6964207374616b696e672061646472657373000000000000000000600082015250565b60006135cd601783612b6d565b91506135d882613597565b602082019050919050565b600060208201905081810360008301526135fc816135c0565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061365f602583612b6d565b915061366a82613603565b604082019050919050565b6000602082019050818103600083015261368e81613652565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006136f1602e83612b6d565b91506136fc82613695565b604082019050919050565b60006020820190508181036000830152613720816136e4565b9050919050565b7f496e76616c6964204c6f636b20616d6f756e7400000000000000000000000000600082015250565b600061375d601383612b6d565b915061376882613727565b602082019050919050565b6000602082019050818103600083015261378c81613750565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126137bf576137be613793565b5b80840192508235915067ffffffffffffffff8211156137e1576137e0613798565b5b6020830192506040820236038313156137fd576137fc61379d565b5b509250929050565b7f4c6f636b207363686564756c6520646f6573206e6f74206d656574206d696e6960008201527f6d756d0000000000000000000000000000000000000000000000000000000000602082015250565b6000613861602383612b6d565b915061386c82613805565b604082019050919050565b6000602082019050818103600083015261389081613854565b9050919050565b7f4c6f636b207363686564756c6520646f6573206e6f74206d656574206d61786960008201527f6d756d0000000000000000000000000000000000000000000000000000000000602082015250565b60006138f3602383612b6d565b91506138fe82613897565b604082019050919050565b60006020820190508181036000830152613922816138e6565b9050919050565b7f496e76616c6964204c6f636b0000000000000000000000000000000000000000600082015250565b600061395f600c83612b6d565b915061396a82613929565b602082019050919050565b6000602082019050818103600083015261398e81613952565b9050919050565b7f4d6178696d756d206c6f636b73206f6e20616464726573730000000000000000600082015250565b60006139cb601883612b6d565b91506139d682613995565b602082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b6000604082019050613a166000830185612fd1565b613a236020830184612fd1565b9392505050565b7f696e76616c6964207374616b6561626c6520636f6e747261637420616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a86602283612b6d565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b18602683612b6d565b9150613b2382613abc565b604082019050919050565b60006020820190508181036000830152613b4781613b0b565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613baa602483612b6d565b9150613bb582613b4e565b604082019050919050565b60006020820190508181036000830152613bd981613b9d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c3c602283612b6d565b9150613c4782613be0565b604082019050919050565b60006020820190508181036000830152613c6b81613c2f565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613ca8601d83612b6d565b9150613cb382613c72565b602082019050919050565b60006020820190508181036000830152613cd781613c9b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613d3a602583612b6d565b9150613d4582613cde565b604082019050919050565b60006020820190508181036000830152613d6981613d2d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613dcc602383612b6d565b9150613dd782613d70565b604082019050919050565b60006020820190508181036000830152613dfb81613dbf565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613e5e602683612b6d565b9150613e6982613e02565b604082019050919050565b60006020820190508181036000830152613e8d81613e51565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000613ef0602b83612b6d565b9150613efb82613e94565b604082019050919050565b60006020820190508181036000830152613f1f81613ee3565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613f5c601f83612b6d565b9150613f6782613f26565b602082019050919050565b60006020820190508181036000830152613f8b81613f4f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000613fcc82612c8f565b91506000821415613fe057613fdf6133d1565b5b600182039050919050565b7f496e73756666696369656e7420756e6c6f636b65642066756e64730000000000600082015250565b6000614021601b83612b6d565b915061402c82613feb565b602082019050919050565b6000602082019050818103600083015261405081614014565b905091905056fea2646970667358221220aaada8949bd446e906c6426d49fa1c24b8aa50c5f326a5a2f003d66c3b403f2a64736f6c63430008090033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c806382e5d1bc1161011a578063a920b78c116100ad578063ca8f45bd1161007c578063ca8f45bd146105f0578063d308e10e1461060e578063d97cfb2d1461062c578063dd62ed3e14610648578063f2fde38b1461067857610206565b8063a920b78c1461057e578063aa1e11991461059a578063aa576c4f146105b6578063c44cb233146105d257610206565b8063a457c2d7116100e9578063a457c2d7146104e4578063a60ff76614610514578063a86d01d814610532578063a9059cbb1461054e57610206565b806382e5d1bc146104705780638da5cb5b1461048c57806395d89b41146104aa578063a057e801146104c857610206565b8063417450081161019d5780635a37b0601161016c5780635a37b060146103b95780635de9a137146103d55780636a1e26251461040657806370a0823114610436578063715018a61461046657610206565b8063417450081461031d578063568914121461033b57806358bb1baa14610359578063593557361461038957610206565b8063313ce567116101d9578063313ce567146102a7578063355a8744146102c557806337a7ba33146102e357806339509351146102ed57610206565b806306fdde031461020b578063095ea7b31461022957806318160ddd1461025957806323b872dd14610277575b600080fd5b610213610694565b6040516102209190612bfb565b60405180910390f35b610243600480360381019061023e9190612cc5565b610726565b6040516102509190612d20565b60405180910390f35b610261610749565b60405161026e9190612d4a565b60405180910390f35b610291600480360381019061028c9190612d65565b610753565b60405161029e9190612d20565b60405180910390f35b6102af610782565b6040516102bc9190612dd4565b60405180910390f35b6102cd61078b565b6040516102da9190612d4a565b60405180910390f35b6102eb610795565b005b61030760048036038101906103029190612cc5565b61088b565b6040516103149190612d20565b60405180910390f35b610325610935565b6040516103329190612d4a565b60405180910390f35b61034361093f565b6040516103509190612d4a565b60405180910390f35b610373600480360381019061036e9190612def565b610945565b6040516103809190612d20565b60405180910390f35b6103a3600480360381019061039e9190612def565b610965565b6040516103b09190612d4a565b60405180910390f35b6103d360048036038101906103ce9190612def565b610ad8565b005b6103ef60048036038101906103ea9190612def565b610c3b565b6040516103fd929190612e1c565b60405180910390f35b610420600480360381019061041b9190612def565b610c5f565b60405161042d9190612f82565b60405180910390f35b610450600480360381019061044b9190612def565b610d45565b60405161045d9190612d4a565b60405180910390f35b61046e610d6a565b005b61048a60048036038101906104859190612fa4565b610df2565b005b610494610e78565b6040516104a19190612fe0565b60405180910390f35b6104b2610ea2565b6040516104bf9190612bfb565b60405180910390f35b6104e260048036038101906104dd9190612fa4565b610f34565b005b6104fe60048036038101906104f99190612cc5565b610fba565b60405161050b9190612d20565b60405180910390f35b61051c6110a4565b6040516105299190612d4a565b60405180910390f35b61054c60048036038101906105479190612fa4565b6110aa565b005b61056860048036038101906105639190612cc5565b611130565b6040516105759190612d20565b60405180910390f35b61059860048036038101906105939190613060565b611153565b005b6105b460048036038101906105af91906130e4565b6112b1565b005b6105d060048036038101906105cb9190612def565b6116af565b005b6105da6117f6565b6040516105e79190612d4a565b60405180910390f35b6105f86117fc565b6040516106059190612d4a565b60405180910390f35b610616611806565b6040516106239190612d4a565b60405180910390f35b61064660048036038101906106419190613270565b61180c565b005b610662600480360381019061065d9190613330565b611a67565b60405161066f9190612d4a565b60405180910390f35b610692600480360381019061068d9190612def565b611aee565b005b6060603680546106a39061339f565b80601f01602080910402602001604051908101604052809291908181526020018280546106cf9061339f565b801561071c5780601f106106f15761010080835404028352916020019161071c565b820191906000526020600020905b8154815290600101906020018083116106ff57829003601f168201915b5050505050905090565b600080610731611be6565b905061073e818585611bee565b600191505092915050565b6000603554905090565b60008061075e611be6565b905061076b858285611db9565b610776858585611e45565b60019150509392505050565b60006012905090565b6000609b54905090565b60006107a033610965565b905080609c54106107c85780609c60008282546107bd9190613400565b9250508190556107cb565b60005b609c819055506107eb336107dd610e78565b6107e633610965565b611e60565b609860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600061084b9190612a53565b50507f830501e61b8b075e170b22a430e39454bdb12ed3e9620e586430b6ac00079da533609c54604051610880929190613434565b60405180910390a150565b600080610896611be6565b905061092a818585603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610925919061345d565b611bee565b600191505092915050565b6000609a54905090565b609c5481565b60976020528060005260406000206000915054906101000a900460ff1681565b600080609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610a31578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906109eb565b50505050815250509050600080600090505b826040015151811015610abe5782604001518181518110610a6757610a666134b3565b5b602002602001015160200151421015610aab5782604001518181518110610a9157610a906134b3565b5b60200260200101516000015182610aa8919061345d565b91505b8080610ab6906134e2565b915050610a43565b50816020015181610acf9190613400565b92505050919050565b610ae0611be6565b73ffffffffffffffffffffffffffffffffffffffff16610afe610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b90613577565b60405180910390fd5b609760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd7906135e3565b60405180910390fd5b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60986020528060005260406000206000915090508060000154908060010154905082565b610c67612a77565b6000609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610d3257838290600052602060002090600202016040518060400160405290816000820154815260200160018201548152505081526020019060010190610cec565b5050505081525050905080915050919050565b6000610d5082610965565b610d59836120e4565b610d639190613400565b9050919050565b610d72611be6565b73ffffffffffffffffffffffffffffffffffffffff16610d90610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd90613577565b60405180910390fd5b610df0600061212d565b565b610dfa611be6565b73ffffffffffffffffffffffffffffffffffffffff16610e18610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6590613577565b60405180910390fd5b8060998190555050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060378054610eb19061339f565b80601f0160208091040260200160405190810160405280929190818152602001828054610edd9061339f565b8015610f2a5780601f10610eff57610100808354040283529160200191610f2a565b820191906000526020600020905b815481529060010190602001808311610f0d57829003601f168201915b5050505050905090565b610f3c611be6565b73ffffffffffffffffffffffffffffffffffffffff16610f5a610e78565b73ffffffffffffffffffffffffffffffffffffffff1614610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790613577565b60405180910390fd5b80609b8190555050565b600080610fc5611be6565b90506000603460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290613675565b60405180910390fd5b6110988286868403611bee565b60019250505092915050565b60995481565b6110b2611be6565b73ffffffffffffffffffffffffffffffffffffffff166110d0610e78565b73ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90613577565b60405180910390fd5b80609a8190555050565b60008061113b611be6565b9050611148818585611e45565b600191505092915050565b600060019054906101000a900460ff1661117b5760008054906101000a900460ff1615611184565b6111836121f3565b5b6111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba90613707565b60405180910390fd5b60008060019054906101000a900460ff161590508015611213576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61128a6040518060400160405280600681526020017f536f7572636500000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f534f55524345000000000000000000000000000000000000000000000000000081525086868661180c565b80156112ab5760008060016101000a81548160ff0219169083151502179055505b50505050565b8060008160000135116112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090613773565b60405180910390fd5b600080600090505b82806040019061131191906137a2565b90508110156114575782806040019061132a91906137a2565b8281811061133b5761133a6134b3565b5b9050604002016000013582611350919061345d565b915060995442611360919061345d565b83806040019061137091906137a2565b83818110611381576113806134b3565b5b90506040020160200135116113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c290613877565b60405180910390fd5b609a54426113d9919061345d565b8380604001906113e991906137a2565b838181106113fa576113f96134b3565b5b9050604002016020013510611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90613909565b60405180910390fd5b808061144f906134e2565b915050611301565b508160000135811461149e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149590613975565b60405180910390fd5b6114ad33858560000135611e60565b6000609860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050609b5484806040019061150391906137a2565b90508260020180549050611517919061345d565b10611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e906139e1565b60405180910390fd5b836000013581600001600082825461156f919061345d565b9250508190555060005b84806040019061158991906137a2565b9050811015611651578160020160405180604001604052808780604001906115b191906137a2565b858181106115c2576115c16134b3565b5b9050604002016000013581526020018780604001906115e191906137a2565b858181106115f2576115f16134b3565b5b905060400201602001358152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508080611649906134e2565b915050611579565b508360000135609c6000828254611668919061345d565b925050819055507f37ecbe2cbf39bfa490f96cf364c479b7a743480533b822b41cb5e6a92816db6033866040516116a0929190613a01565b60405180910390a15050505050565b6116b7611be6565b73ffffffffffffffffffffffffffffffffffffffff166116d5610e78565b73ffffffffffffffffffffffffffffffffffffffff161461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290613577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611792906135e3565b60405180910390fd5b6001609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b609b5481565b6000609954905090565b609a5481565b600060019054906101000a900460ff166118345760008054906101000a900460ff161561183d565b61183c6121f3565b5b61187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390613707565b60405180910390fd5b60008060019054906101000a900460ff1615905080156118cc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6118d68686612204565b6118de612261565b6118e833856122ba565b620151806099819055506309660180609a81905550610104609b8190555060005b83839050811015611a3d57600073ffffffffffffffffffffffffffffffffffffffff1684848381811061193f5761193e6134b3565b5b90506020020160208101906119549190612def565b73ffffffffffffffffffffffffffffffffffffffff1614156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a290613a9c565b60405180910390fd5b6001609760008686858181106119c4576119c36134b3565b5b90506020020160208101906119d99190612def565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611a35906134e2565b915050611909565b508015611a5f5760008060016101000a81548160ff0219169083151502179055505b505050505050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611af6611be6565b73ffffffffffffffffffffffffffffffffffffffff16611b14610e78565b73ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190613577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd190613b2e565b60405180910390fd5b611be38161212d565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590613bc0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc590613c52565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611dac9190612d4a565b60405180910390a3505050565b6000611dc58484611a67565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611e3f5781811015611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2890613cbe565b60405180910390fd5b611e3e8484848403611bee565b5b50505050565b611e5083838361241b565b611e5b838383611e60565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec790613d50565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3790613de2565b60405180910390fd5b611f4b838383612441565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc990613e74565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612067919061345d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120cb9190612d4a565b60405180910390a36120de848484612446565b50505050565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006121fe3061244b565b15905090565b600060019054906101000a900460ff16612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a90613f06565b60405180910390fd5b61225d828261246e565b5050565b600060019054906101000a900460ff166122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a790613f06565b60405180910390fd5b6122b86124ef565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232190613f72565b60405180910390fd5b61233660008383612441565b8060356000828254612348919061345d565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461239e919061345d565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516124039190612d4a565b60405180910390a361241760008383612446565b5050565b612426838383612550565b156124305761243c565b61243b83838361263f565b5b505050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff166124bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b490613f06565b60405180910390fd5b81603690805190602001906124d3929190612a98565b5080603790805190602001906124ea929190612a98565b505050565b600060019054906101000a900460ff1661253e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253590613f06565b60405180910390fd5b61254e612549611be6565b61212d565b565b6000609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166125ac5760009050612638565b6000609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541415612606576000915050612638565b828160010154101561261957600061262a565b8281600101546126299190613400565b5b816001018190555060019150505b9392505050565b6000609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015414156126955750612a4e565b609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156127355781816001015482600001546126fc9190613400565b106127215781816001016000828254612715919061345d565b9250508190555061272f565b806000015481600101819055505b50612a4e565b60008060008360020180549050905060005b8282612753919061345d565b8110156128dd57600083826127689190613400565b90508560020181815481106127805761277f6134b3565b5b90600052602060002090600202016001015442106128c9578560020181815481106127ae576127ad6134b3565b5b906000526020600020906002020160000154856127cb919061345d565b9450856002016001846127de9190613400565b815481106127ef576127ee6134b3565b5b9060005260206000209060020201866002018281548110612813576128126134b3565b5b906000526020600020906002020160008201548160000155600182015481600101559050508560020180548061284c5761284b613f92565b5b60019003818190600052602060002090600202016000808201600090556001820160009055505090558380612880906134e2565b945050828061288e90613fc1565b9350507f863282597d52b88b6e21cbc688ce4bed746b1703bcfb5652d0a5c2a45811b9bb896040516128c09190612fe0565b60405180910390a15b5080806128d5906134e2565b915050612747565b506000846000015485600101546128f38a6120e4565b866128fe919061345d565b612908919061345d565b6129129190613400565b9050838560000160008282546129289190613400565b9250508190555083609c54106129555783609c600082825461294a9190613400565b925050819055612958565b60005b609c81905550858110156129a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299890614037565b60405180910390fd5b600085600001541415612a48577fd14279cf9d6b87da42be69e0ad932e7d6060b2255cd76cee1f0c1f25ffe0a10f886040516129dd9190612fe0565b60405180910390a1609860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055600282016000612a459190612a53565b50505b50505050505b505050565b5080546000825560020290600052602060002090810190612a749190612b1e565b50565b60405180606001604052806000815260200160008152602001606081525090565b828054612aa49061339f565b90600052602060002090601f016020900481019282612ac65760008555612b0d565b82601f10612adf57805160ff1916838001178555612b0d565b82800160010185558215612b0d579182015b82811115612b0c578251825591602001919060010190612af1565b5b509050612b1a9190612b45565b5090565b5b80821115612b4157600080820160009055600182016000905550600201612b1f565b5090565b5b80821115612b5e576000816000905550600101612b46565b5090565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b9c578082015181840152602081019050612b81565b83811115612bab576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bcd82612b62565b612bd78185612b6d565b9350612be7818560208601612b7e565b612bf081612bb1565b840191505092915050565b60006020820190508181036000830152612c158184612bc2565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c5c82612c31565b9050919050565b612c6c81612c51565b8114612c7757600080fd5b50565b600081359050612c8981612c63565b92915050565b6000819050919050565b612ca281612c8f565b8114612cad57600080fd5b50565b600081359050612cbf81612c99565b92915050565b60008060408385031215612cdc57612cdb612c27565b5b6000612cea85828601612c7a565b9250506020612cfb85828601612cb0565b9150509250929050565b60008115159050919050565b612d1a81612d05565b82525050565b6000602082019050612d356000830184612d11565b92915050565b612d4481612c8f565b82525050565b6000602082019050612d5f6000830184612d3b565b92915050565b600080600060608486031215612d7e57612d7d612c27565b5b6000612d8c86828701612c7a565b9350506020612d9d86828701612c7a565b9250506040612dae86828701612cb0565b9150509250925092565b600060ff82169050919050565b612dce81612db8565b82525050565b6000602082019050612de96000830184612dc5565b92915050565b600060208284031215612e0557612e04612c27565b5b6000612e1384828501612c7a565b91505092915050565b6000604082019050612e316000830185612d3b565b612e3e6020830184612d3b565b9392505050565b612e4e81612c8f565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b604082016000820151612e966000850182612e45565b506020820151612ea96020850182612e45565b50505050565b6000612ebb8383612e80565b60408301905092915050565b6000602082019050919050565b6000612edf82612e54565b612ee98185612e5f565b9350612ef483612e70565b8060005b83811015612f25578151612f0c8882612eaf565b9750612f1783612ec7565b925050600181019050612ef8565b5085935050505092915050565b6000606083016000830151612f4a6000860182612e45565b506020830151612f5d6020860182612e45565b5060408301518482036040860152612f758282612ed4565b9150508091505092915050565b60006020820190508181036000830152612f9c8184612f32565b905092915050565b600060208284031215612fba57612fb9612c27565b5b6000612fc884828501612cb0565b91505092915050565b612fda81612c51565b82525050565b6000602082019050612ff56000830184612fd1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130205761301f612ffb565b5b8235905067ffffffffffffffff81111561303d5761303c613000565b5b60208301915083602082028301111561305957613058613005565b5b9250929050565b60008060006040848603121561307957613078612c27565b5b600061308786828701612cb0565b935050602084013567ffffffffffffffff8111156130a8576130a7612c2c565b5b6130b48682870161300a565b92509250509250925092565b600080fd5b6000606082840312156130db576130da6130c0565b5b81905092915050565b600080604083850312156130fb576130fa612c27565b5b600061310985828601612c7a565b925050602083013567ffffffffffffffff81111561312a57613129612c2c565b5b613136858286016130c5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61317d82612bb1565b810181811067ffffffffffffffff8211171561319c5761319b613145565b5b80604052505050565b60006131af612c1d565b90506131bb8282613174565b919050565b600067ffffffffffffffff8211156131db576131da613145565b5b6131e482612bb1565b9050602081019050919050565b82818337600083830152505050565b600061321361320e846131c0565b6131a5565b90508281526020810184848401111561322f5761322e613140565b5b61323a8482856131f1565b509392505050565b600082601f83011261325757613256612ffb565b5b8135613267848260208601613200565b91505092915050565b60008060008060006080868803121561328c5761328b612c27565b5b600086013567ffffffffffffffff8111156132aa576132a9612c2c565b5b6132b688828901613242565b955050602086013567ffffffffffffffff8111156132d7576132d6612c2c565b5b6132e388828901613242565b94505060406132f488828901612cb0565b935050606086013567ffffffffffffffff81111561331557613314612c2c565b5b6133218882890161300a565b92509250509295509295909350565b6000806040838503121561334757613346612c27565b5b600061335585828601612c7a565b925050602061336685828601612c7a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133b757607f821691505b602082108114156133cb576133ca613370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061340b82612c8f565b915061341683612c8f565b925082821015613429576134286133d1565b5b828203905092915050565b60006040820190506134496000830185612fd1565b6134566020830184612d3b565b9392505050565b600061346882612c8f565b915061347383612c8f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134a8576134a76133d1565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006134ed82612c8f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135205761351f6133d1565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613561602083612b6d565b915061356c8261352b565b602082019050919050565b6000602082019050818103600083015261359081613554565b9050919050565b7f496e76616c6964207374616b696e672061646472657373000000000000000000600082015250565b60006135cd601783612b6d565b91506135d882613597565b602082019050919050565b600060208201905081810360008301526135fc816135c0565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061365f602583612b6d565b915061366a82613603565b604082019050919050565b6000602082019050818103600083015261368e81613652565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006136f1602e83612b6d565b91506136fc82613695565b604082019050919050565b60006020820190508181036000830152613720816136e4565b9050919050565b7f496e76616c6964204c6f636b20616d6f756e7400000000000000000000000000600082015250565b600061375d601383612b6d565b915061376882613727565b602082019050919050565b6000602082019050818103600083015261378c81613750565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126137bf576137be613793565b5b80840192508235915067ffffffffffffffff8211156137e1576137e0613798565b5b6020830192506040820236038313156137fd576137fc61379d565b5b509250929050565b7f4c6f636b207363686564756c6520646f6573206e6f74206d656574206d696e6960008201527f6d756d0000000000000000000000000000000000000000000000000000000000602082015250565b6000613861602383612b6d565b915061386c82613805565b604082019050919050565b6000602082019050818103600083015261389081613854565b9050919050565b7f4c6f636b207363686564756c6520646f6573206e6f74206d656574206d61786960008201527f6d756d0000000000000000000000000000000000000000000000000000000000602082015250565b60006138f3602383612b6d565b91506138fe82613897565b604082019050919050565b60006020820190508181036000830152613922816138e6565b9050919050565b7f496e76616c6964204c6f636b0000000000000000000000000000000000000000600082015250565b600061395f600c83612b6d565b915061396a82613929565b602082019050919050565b6000602082019050818103600083015261398e81613952565b9050919050565b7f4d6178696d756d206c6f636b73206f6e20616464726573730000000000000000600082015250565b60006139cb601883612b6d565b91506139d682613995565b602082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b6000604082019050613a166000830185612fd1565b613a236020830184612fd1565b9392505050565b7f696e76616c6964207374616b6561626c6520636f6e747261637420616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a86602283612b6d565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b18602683612b6d565b9150613b2382613abc565b604082019050919050565b60006020820190508181036000830152613b4781613b0b565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613baa602483612b6d565b9150613bb582613b4e565b604082019050919050565b60006020820190508181036000830152613bd981613b9d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c3c602283612b6d565b9150613c4782613be0565b604082019050919050565b60006020820190508181036000830152613c6b81613c2f565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613ca8601d83612b6d565b9150613cb382613c72565b602082019050919050565b60006020820190508181036000830152613cd781613c9b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613d3a602583612b6d565b9150613d4582613cde565b604082019050919050565b60006020820190508181036000830152613d6981613d2d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613dcc602383612b6d565b9150613dd782613d70565b604082019050919050565b60006020820190508181036000830152613dfb81613dbf565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613e5e602683612b6d565b9150613e6982613e02565b604082019050919050565b60006020820190508181036000830152613e8d81613e51565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000613ef0602b83612b6d565b9150613efb82613e94565b604082019050919050565b60006020820190508181036000830152613f1f81613ee3565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613f5c601f83612b6d565b9150613f6782613f26565b602082019050919050565b60006020820190508181036000830152613f8b81613f4f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000613fcc82612c8f565b91506000821415613fe057613fdf6133d1565b5b600182039050919050565b7f496e73756666696369656e7420756e6c6f636b65642066756e64730000000000600082015250565b6000614021601b83612b6d565b915061402c82613feb565b602082019050919050565b6000602082019050818103600083015261405081614014565b905091905056fea2646970667358221220aaada8949bd446e906c6426d49fa1c24b8aa50c5f326a5a2f003d66c3b403f2a64736f6c63430008090033