Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- DexForwarder
- Optimization enabled
- false
- Compiler version
- v0.8.13+commit.abaa5c0e
- EVM Version
- default
- Verified at
- 2023-03-02T07:06:03.205079Z
Contract source code
// File: interfaces/IFactory.sol
pragma solidity >=0.5.0;
interface IFactory {
function getPair(address tokenA, address tokenB) external view returns (address pair);
}
// File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
// OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
/**
* @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.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* 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 prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
* @custom:oz-retyped-from bool
*/
uint8 private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint8 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts.
*
* Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
* constructor.
*
* Emits an {Initialized} event.
*/
modifier initializer() {
bool isTopLevelCall = !_initializing;
require(
(isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
"Initializable: contract is already initialized"
);
_initialized = 1;
if (isTopLevelCall) {
_initializing = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* A reinitializer may be used after the original initialization step. This is essential to configure modules that
* are added through upgrades and that require initialization.
*
* When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
* cannot be nested. If one is invoked in the context of another, execution will revert.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*
* WARNING: setting the version to 255 will prevent any future reinitialization.
*
* Emits an {Initialized} event.
*/
modifier reinitializer(uint8 version) {
require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
_initialized = version;
_initializing = true;
_;
_initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
require(_initializing, "Initializable: contract is not initializing");
_;
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*
* Emits an {Initialized} event the first time it is successfully executed.
*/
function _disableInitializers() internal virtual {
require(!_initializing, "Initializable: contract is initializing");
if (_initialized < type(uint8).max) {
_initialized = type(uint8).max;
emit Initialized(type(uint8).max);
}
}
/**
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint8) {
return _initialized;
}
/**
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _initializing;
}
}
// File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract 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;
}
// File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract 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 Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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;
}
// File: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20PermitUpgradeable {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// File: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev 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);
}
// File: @openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20Upgradeable {
using AddressUpgradeable for address;
function safeTransfer(
IERC20Upgradeable token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20Upgradeable token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20Upgradeable token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20Upgradeable token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20Upgradeable token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
function safePermit(
IERC20PermitUpgradeable token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: interfaces/IUniswapV2Router01.sol
pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
// File: interfaces/IUniswapV2Router02.sol
pragma solidity >=0.6.2;
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactAVAXForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function addLiquidityAVAX(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountAVAXMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountAVAX, uint liquidity);
function removeLiquidityAVAX(
address token,
uint liquidity,
uint amountTokenMin,
uint amountAVAXMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountAVAX);
function WAVAX() external view returns(address);
}
// File: dex.sol
pragma solidity 0.8.13;
interface IPair {
function token0() external view returns (address);
function getReserves() external view returns(uint256, uint256);
}
contract DexForwarder is Initializable, OwnableUpgradeable {
using SafeERC20Upgradeable for IERC20Upgradeable;
IUniswapV2Router02 public router;
address public trustedForwarder;
IFactory public factory;
IERC20Upgradeable public nativeWrappedToken;
event AddLiquidity(address tokenA, address tokenB, address user, uint256 amountA, uint256 amountB);
event RemoveLiquidity(address tokenA, address tokenB, address user, uint256 amountA, uint256 amountB);
function initialize(IUniswapV2Router02 _router, address _trustedForwarder, IERC20Upgradeable _nativeWrappedToken) external initializer {
__Ownable_init();
router = _router;
trustedForwarder = _trustedForwarder;
factory = IFactory(_router.factory());
nativeWrappedToken = _nativeWrappedToken;
}
function swapExactTokensForTokens(
//exactIn
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts) {
IERC20Upgradeable sourceToken = IERC20Upgradeable(path[0]);
sourceToken.safeTransferFrom(_msgSender(), address(this), amountIn);
if (sourceToken.allowance(address(this), address(router)) < amountIn) {
sourceToken.approve(address(router), type(uint256).max);
}
amounts = router.swapExactTokensForTokens(
amountIn,
amountOutMin,
path,
to,
deadline
);
}
function swapTokensForExactTokens(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts) {
IERC20Upgradeable sourceToken = IERC20Upgradeable(path[0]);
sourceToken.safeTransferFrom(_msgSender(), address(this), amountInMax);
if (sourceToken.allowance(address(this), address(router)) < amountInMax) {
sourceToken.safeApprove(address(router), type(uint256).max);
}
amounts = router.swapTokensForExactTokens(
amountOut,
amountInMax,
path,
to,
deadline
);
//exactOut can use amounts less than amountInMax. So transfer the excess funds back
uint256 excess = sourceToken.balanceOf(address(this));
if(excess > 0) {
sourceToken.safeTransfer(_msgSender(), excess);
}
}
function addLiquidity(
IERC20Upgradeable tokenA,
IERC20Upgradeable tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB, uint256 liquidity) {
tokenA.safeTransferFrom(_msgSender(), address(this), amountADesired);
tokenB.safeTransferFrom(_msgSender(), address(this), amountBDesired);
if (tokenA.allowance(address(this), address(router)) < amountADesired) {
tokenA.safeApprove(address(router), type(uint256).max);
}
if (tokenB.allowance(address(this), address(router)) < amountBDesired) {
tokenB.safeApprove(address(router), type(uint256).max);
}
return _addLiquidity(tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin, to, deadline);
}
function _addLiquidity(
IERC20Upgradeable tokenA,
IERC20Upgradeable tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) internal returns (uint256 amountA, uint256 amountB, uint256 liquidity) {
(amountA, amountB, liquidity) = router.addLiquidity(
address(tokenA),
address(tokenB),
amountADesired,
amountBDesired,
amountAMin,
amountBMin,
to,
deadline
);
//transfer the excess funds back
uint256 excessA = amountADesired - amountA;
if(excessA > 0) {
tokenA.safeTransfer(_msgSender(), excessA);
}
uint256 excessB = amountBDesired - amountB;
if(excessB > 0) {
tokenB.safeTransfer(_msgSender(), excessB);
}
}
function removeLiquidity(
IERC20Upgradeable tokenA,
IERC20Upgradeable tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB) {
IERC20Upgradeable lpToken = IERC20Upgradeable(factory.getPair(address(tokenA), address(tokenB)));
if(lpToken.allowance(address(this), address(router)) < liquidity) {
lpToken.safeApprove(address(router), type(uint256).max);
}
lpToken.safeTransferFrom(_msgSender(), address(this), liquidity);
(amountA, amountB) = router.removeLiquidity(
address(tokenA),
address(tokenB),
liquidity,
amountAMin,
amountBMin,
to,
deadline
);
emit RemoveLiquidity(address(tokenA), address(tokenB), to, amountA, amountB);
}
function addLiquiditySingleToken(
IERC20Upgradeable tokenA,
IERC20Upgradeable tokenB,
uint256 amountA,
uint256 minAmountB
) external returns (uint256 _amountA, uint256 _amountB, uint256 _liquidity) {
address _sender = _msgSender();
tokenA.safeTransferFrom(_sender, address(this), amountA);
if (tokenA.allowance(address(this), address(router)) < amountA/2) {
tokenA.safeApprove(address(router), type(uint256).max);
}
//swap
address[] memory path = new address[](2);
path[0] = address(tokenA);
path[1] = address(tokenB);
uint256[] memory amounts = router.swapExactTokensForTokens(amountA/2, minAmountB, path, address(this), block.timestamp);
if (tokenB.allowance(address(this), address(router)) < amounts[1]) {
tokenB.safeApprove(address(router), type(uint256).max);
}
(_amountA, _amountB, _liquidity) = _addLiquidity(tokenA, tokenB, amounts[0], amounts[1], amounts[0] * 95_00 / 100_00, 0, _sender, block.timestamp);
emit AddLiquidity(address(tokenA), address(tokenB), _sender, amounts[0], amounts[1]);
}
///@dev Used only when ETH is added
function addLiquidityNative(
IERC20Upgradeable token,
uint256 minAmount
) external payable returns (uint256 amountA, uint256 amountB, uint256 liquidity) {
//`token` should not be WETH
require(token != nativeWrappedToken, "Invalid inputs");
address _sender = _msgSender();
address[] memory path = new address[](2);
path[0] = address(nativeWrappedToken);
path[1] = address(token);
uint256[] memory amounts = router.swapExactETHForTokens{value: msg.value/2}(minAmount, path, address(this), block.timestamp);
if (token.allowance(address(this), address(router)) < amounts[1]) {
token.safeApprove(address(router), type(uint256).max);
}
(amountA, amountB, liquidity) = router.addLiquidityETH{value: amounts[0]}(address(token), amounts[1], amounts[1] * 95_00 / 100_00, amounts[0] * 95_00 / 100_00, _sender, block.timestamp);
//refund eth
uint256 excessETH = address(this).balance;
if(excessETH > 0 ) {
payable(_sender).transfer(excessETH);
}
emit AddLiquidity(address(nativeWrappedToken), address(token), _sender, amountB, amountA);
}
function removeLiquidityNative(
IERC20Upgradeable tokenA,
IERC20Upgradeable tokenB,
uint256 lpAmount,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB) {
IERC20Upgradeable lpToken = IERC20Upgradeable(factory.getPair(address(tokenA), address(tokenB)));
lpToken.safeTransferFrom(_msgSender(), address(this), lpAmount);
if(lpToken.allowance(address(this), address(router)) > lpAmount) {
lpToken.safeApprove(address(router), type(uint256).max);
}
(amountA, amountB) = router.removeLiquidityETH(
tokenA == nativeWrappedToken ? address(tokenB) : address(tokenA),
lpAmount,
amountAMin,
amountBMin,
to,
deadline
);
address token = nativeWrappedToken == tokenA ? address(tokenB) : address(tokenA);
emit RemoveLiquidity(address(nativeWrappedToken), token, to, amountB, amountA);
}
function setRouter(IUniswapV2Router02 _router) external onlyOwner {
router = _router;
}
function isTrustedForwarder(address forwarder) public view returns(bool) {
return forwarder == trustedForwarder;
}
function setTrustedForwarder(address forwarder) public onlyOwner {
trustedForwarder = forwarder;
}
function _msgSender() internal override view returns (address ret) {
if (msg.data.length >= 24 && isTrustedForwarder(msg.sender)) {
// At this point we know that the sender is a trusted forwarder,
// so we trust that the last bytes of msg.data are the verified sender address.
// extract sender address from the end of msg.data
assembly {
ret := shr(96,calldataload(sub(calldatasize(),20)))
}
} else {
return msg.sender;
}
}
function versionRecipient() external pure returns (string memory) {
return "1";
}
function postUpgrade() external {
nativeWrappedToken = IERC20Upgradeable(router.WETH());
}
fallback() external payable {}
}
Contract ABI
[{"type":"event","name":"AddLiquidity","inputs":[{"type":"address","name":"tokenA","internalType":"address","indexed":false},{"type":"address","name":"tokenB","internalType":"address","indexed":false},{"type":"address","name":"user","internalType":"address","indexed":false},{"type":"uint256","name":"amountA","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountB","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Initialized","inputs":[{"type":"uint8","name":"version","internalType":"uint8","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":"RemoveLiquidity","inputs":[{"type":"address","name":"tokenA","internalType":"address","indexed":false},{"type":"address","name":"tokenB","internalType":"address","indexed":false},{"type":"address","name":"user","internalType":"address","indexed":false},{"type":"uint256","name":"amountA","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountB","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"amountA","internalType":"uint256"},{"type":"uint256","name":"amountB","internalType":"uint256"},{"type":"uint256","name":"liquidity","internalType":"uint256"}],"name":"addLiquidity","inputs":[{"type":"address","name":"tokenA","internalType":"contract IERC20Upgradeable"},{"type":"address","name":"tokenB","internalType":"contract IERC20Upgradeable"},{"type":"uint256","name":"amountADesired","internalType":"uint256"},{"type":"uint256","name":"amountBDesired","internalType":"uint256"},{"type":"uint256","name":"amountAMin","internalType":"uint256"},{"type":"uint256","name":"amountBMin","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"amountA","internalType":"uint256"},{"type":"uint256","name":"amountB","internalType":"uint256"},{"type":"uint256","name":"liquidity","internalType":"uint256"}],"name":"addLiquidityNative","inputs":[{"type":"address","name":"token","internalType":"contract IERC20Upgradeable"},{"type":"uint256","name":"minAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"_amountA","internalType":"uint256"},{"type":"uint256","name":"_amountB","internalType":"uint256"},{"type":"uint256","name":"_liquidity","internalType":"uint256"}],"name":"addLiquiditySingleToken","inputs":[{"type":"address","name":"tokenA","internalType":"contract IERC20Upgradeable"},{"type":"address","name":"tokenB","internalType":"contract IERC20Upgradeable"},{"type":"uint256","name":"amountA","internalType":"uint256"},{"type":"uint256","name":"minAmountB","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IFactory"}],"name":"factory","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"address","name":"_router","internalType":"contract IUniswapV2Router02"},{"type":"address","name":"_trustedForwarder","internalType":"address"},{"type":"address","name":"_nativeWrappedToken","internalType":"contract IERC20Upgradeable"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isTrustedForwarder","inputs":[{"type":"address","name":"forwarder","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20Upgradeable"}],"name":"nativeWrappedToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"postUpgrade","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"amountA","internalType":"uint256"},{"type":"uint256","name":"amountB","internalType":"uint256"}],"name":"removeLiquidity","inputs":[{"type":"address","name":"tokenA","internalType":"contract IERC20Upgradeable"},{"type":"address","name":"tokenB","internalType":"contract IERC20Upgradeable"},{"type":"uint256","name":"liquidity","internalType":"uint256"},{"type":"uint256","name":"amountAMin","internalType":"uint256"},{"type":"uint256","name":"amountBMin","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"amountA","internalType":"uint256"},{"type":"uint256","name":"amountB","internalType":"uint256"}],"name":"removeLiquidityNative","inputs":[{"type":"address","name":"tokenA","internalType":"contract IERC20Upgradeable"},{"type":"address","name":"tokenB","internalType":"contract IERC20Upgradeable"},{"type":"uint256","name":"lpAmount","internalType":"uint256"},{"type":"uint256","name":"amountAMin","internalType":"uint256"},{"type":"uint256","name":"amountBMin","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRouter","inputs":[{"type":"address","name":"_router","internalType":"contract IUniswapV2Router02"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTrustedForwarder","inputs":[{"type":"address","name":"forwarder","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}],"name":"swapExactTokensForTokens","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256"},{"type":"uint256","name":"amountOutMin","internalType":"uint256"},{"type":"address[]","name":"path","internalType":"address[]"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}],"name":"swapTokensForExactTokens","inputs":[{"type":"uint256","name":"amountOut","internalType":"uint256"},{"type":"uint256","name":"amountInMax","internalType":"uint256"},{"type":"address[]","name":"path","internalType":"address[]"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"trustedForwarder","inputs":[]},{"type":"function","stateMutability":"pure","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"versionRecipient","inputs":[]}]
Contract Creation Code
0x608060405234801561001057600080fd5b506143c5806100206000396000f3fe6080604052600436106101235760003560e01c8063baa2abde116100a0578063e194cb7311610064578063e194cb73146103e1578063e4301ec51461041f578063e8e337001461044a578063f2fde38b14610489578063f887ea40146104b257610124565b8063baa2abde146102fd578063c0c53b8b1461033b578063c0d7865514610364578063c45a01551461038d578063da742228146103b857610124565b8063572b6c05116100e7578063572b6c0514610216578063715018a6146102535780637da0a8771461026a5780638803dbee146102955780638da5cb5b146102d257610124565b80632c53bc641461012657806338ed17391461013d57806342de49801461017a578063486ff0cd146101b957806354a871cf146101e457610124565b5b005b34801561013257600080fd5b5061013b6104dd565b005b34801561014957600080fd5b50610164600480360381019061015f9190612e48565b6105b0565b6040516101719190612fa0565b60405180910390f35b34801561018657600080fd5b506101a1600480360381019061019c9190613000565b610834565b6040516101b093929190613076565b60405180910390f35b3480156101c557600080fd5b506101ce610d6f565b6040516101db9190613146565b60405180910390f35b6101fe60048036038101906101f99190613168565b610dac565b60405161020d93929190613076565b60405180910390f35b34801561022257600080fd5b5061023d600480360381019061023891906131a8565b61135a565b60405161024a91906131f0565b60405180910390f35b34801561025f57600080fd5b506102686113b4565b005b34801561027657600080fd5b5061027f6113c8565b60405161028c919061321a565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b79190612e48565b6113ee565b6040516102c99190612fa0565b60405180910390f35b3480156102de57600080fd5b506102e76116d9565b6040516102f4919061321a565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190613235565b611703565b6040516103329291906132d7565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d919061333e565b6119ec565b005b34801561037057600080fd5b5061038b60048036038101906103869190613391565b611c9f565b005b34801561039957600080fd5b506103a2611ceb565b6040516103af919061341d565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da91906131a8565b611d11565b005b3480156103ed57600080fd5b5061040860048036038101906104039190613235565b611d5d565b6040516104169291906132d7565b60405180910390f35b34801561042b57600080fd5b50610434612124565b6040516104419190613459565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613474565b61214a565b60405161048093929190613076565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab91906131a8565b612401565b005b3480156104be57600080fd5b506104c7612484565b6040516104d4919061354b565b60405180910390f35b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561054a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056e919061357b565b606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60606000858560008181106105c8576105c76135a8565b5b90506020020160208101906105dd91906131a8565b90506106136105ea6124aa565b308a8473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b878173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016106719291906135d7565b602060405180830381865afa15801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b29190613615565b101561077a578073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610735929190613642565b6020604051808303816000875af1158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613697565b505b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed17398989898989896040518763ffffffff1660e01b81526004016107df96959493929190613787565b6000604051808303816000875af11580156107fe573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906108279190613921565b9150509695505050505050565b6000806000806108426124aa565b90506108718130888b73ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b60028661087e91906139c8565b8873ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016108db9291906135d7565b602060405180830381865afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190613615565b10156109905761098f606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b6000600267ffffffffffffffff8111156109ad576109ac6137e3565b5b6040519080825280602002602001820160405280156109db5781602001602082028036833780820191505090505b50905088816000815181106109f3576109f26135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600181518110610a4257610a416135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed173960028a610ac991906139c8565b898530426040518663ffffffff1660e01b8152600401610aed959493929190613a7f565b6000604051808303816000875af1158015610b0c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610b359190613921565b905080600181518110610b4b57610b4a6135a8565b5b60200260200101518973ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401610bb09291906135d7565b602060405180830381865afa158015610bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf19190613615565b1015610c6557610c64606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8b73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b610ce18a8a83600081518110610c7e57610c7d6135a8565b5b602002602001015184600181518110610c9a57610c996135a8565b5b602002602001015161271061251c87600081518110610cbc57610cbb6135a8565b5b6020026020010151610cce9190613ad9565b610cd891906139c8565b600089426126be565b8096508197508298505050507fc33fbc9654f9c0dcfcbd829113bdb10afe95619bc0824bc5959ad82fd6952bd98a8a8584600081518110610d2557610d246135a8565b5b602002602001015185600181518110610d4157610d406135a8565b5b6020026020010151604051610d5a959493929190613b33565b60405180910390a15050509450945094915050565b60606040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250905090565b6000806000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613bd2565b60405180910390fd5b6000610e4b6124aa565b90506000600267ffffffffffffffff811115610e6a57610e696137e3565b5b604051908082528060200260200182016040528015610e985781602001602082028036833780820191505090505b509050606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600081518110610ed257610ed16135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600181518110610f2157610f206135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ff36ab5600234610fa891906139c8565b898530426040518663ffffffff1660e01b8152600401610fcb9493929190613bf2565b60006040518083038185885af1158015610fe9573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f820116820180604052508101906110139190613921565b905080600181518110611029576110286135a8565b5b60200260200101518873ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040161108e9291906135d7565b602060405180830381865afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf9190613615565b101561114357611142606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71982600081518110611195576111946135a8565b5b60200260200101518a846001815181106111b2576111b16135a8565b5b602002602001015161271061251c876001815181106111d4576111d36135a8565b5b60200260200101516111e69190613ad9565b6111f091906139c8565b61271061251c8860008151811061120a576112096135a8565b5b602002602001015161121c9190613ad9565b61122691906139c8565b89426040518863ffffffff1660e01b815260040161124996959493929190613c3e565b60606040518083038185885af1158015611267573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061128c9190613c9f565b809650819750829850505050600047905060008111156112ee578373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112ec573d6000803e3d6000fd5b505b7fc33fbc9654f9c0dcfcbd829113bdb10afe95619bc0824bc5959ad82fd6952bd9606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a86898b604051611347959493929190613b33565b60405180910390a1505050509250925092565b6000606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6113bc612823565b6113c660006128a1565b565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600085856000818110611406576114056135a8565b5b905060200201602081019061141b91906131a8565b90506114516114286124aa565b30898473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b868173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016114af9291906135d7565b602060405180830381865afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190613615565b101561156457611563606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8373ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638803dbee8989898989896040518763ffffffff1660e01b81526004016115c996959493929190613787565b6000604051808303816000875af11580156115e8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116119190613921565b915060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161164e919061321a565b602060405180830381865afa15801561166b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168f9190613615565b905060008111156116cd576116cc6116a56124aa565b828473ffffffffffffffffffffffffffffffffffffffff166129679092919063ffffffff16565b5b50509695505050505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a439058b8b6040518363ffffffff1660e01b81526004016117659291906135d7565b602060405180830381865afa158015611782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a6919061357b565b9050878173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016118069291906135d7565b602060405180830381865afa158015611823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118479190613615565b10156118bb576118ba606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8373ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b6118ef6118c66124aa565b308a8473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663baa2abde8b8b8b8b8b8b8b6040518863ffffffff1660e01b81526004016119569796959493929190613cf2565b60408051808303816000875af1158015611974573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119989190613d61565b80935081945050507fa8dbaaebbb025c88e9e34c84635cd8238043556e9af43fb161508c898a8e1ef98a8a8786866040516119d7959493929190613b33565b60405180910390a15097509795505050505050565b60008060019054906101000a900460ff16159050808015611a1d5750600160008054906101000a900460ff1660ff16105b80611a4a5750611a2c306129ed565b158015611a495750600160008054906101000a900460ff1660ff16145b5b611a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8090613e13565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611ac6576001600060016101000a81548160ff0219169083151502179055505b611ace612a10565b83606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbf919061357b565b606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508015611c995760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611c909190613e7b565b60405180910390a15b50505050565b611ca7612823565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d19612823565b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a439058b8b6040518363ffffffff1660e01b8152600401611dbf9291906135d7565b602060405180830381865afa158015611ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e00919061357b565b9050611e36611e0d6124aa565b308a8473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b878173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401611e949291906135d7565b602060405180830381865afa158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed59190613615565b1115611f4957611f48606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8373ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302751cec606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614611fe2578b611fe4565b8a5b8a8a8a8a8a6040518763ffffffff1660e01b815260040161200a96959493929190613c3e565b60408051808303816000875af1158015612028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204c9190613d61565b809350819450505060008a73ffffffffffffffffffffffffffffffffffffffff16606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120b1578a6120b3565b895b90507fa8dbaaebbb025c88e9e34c84635cd8238043556e9af43fb161508c898a8e1ef9606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168288868860405161210e959493929190613b33565b60405180910390a1505097509795505050505050565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600061218361215a6124aa565b308b8e73ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b6121b761218e6124aa565b308a8d73ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b888b73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016122159291906135d7565b602060405180830381865afa158015612232573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122569190613615565b10156122ca576122c9606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8d73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b878a73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016123289291906135d7565b602060405180830381865afa158015612345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123699190613615565b10156123dd576123dc606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8c73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b6123ed8b8b8b8b8b8b8b8b6126be565b925092509250985098509895505050505050565b612409612823565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246f90613f08565b60405180910390fd5b612481816128a1565b50565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060186000369050101580156124c657506124c53361135a565b5b156124da57601436033560601c90506124e2565b3390506124e3565b5b90565b612569846323b872dd60e01b85858560405160240161250793929190613f28565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a69565b50505050565b60008114806125f9575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b81526004016125b69291906135d7565b602060405180830381865afa1580156125d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f79190613615565b145b612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90613fd1565b60405180910390fd5b6126b98363095ea7b360e01b8484604051602401612657929190613642565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a69565b505050565b6000806000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8e337008c8c8c8c8c8c8c8c6040518963ffffffff1660e01b815260040161272c989796959493929190613ff1565b6060604051808303816000875af115801561274b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276f9190613c9f565b8093508194508295505050506000838a612789919061406f565b905060008111156127c7576127c661279f6124aa565b828e73ffffffffffffffffffffffffffffffffffffffff166129679092919063ffffffff16565b5b6000838a6127d5919061406f565b90506000811115612813576128126127eb6124aa565b828e73ffffffffffffffffffffffffffffffffffffffff166129679092919063ffffffff16565b5b5050985098509895505050505050565b61282b6124aa565b73ffffffffffffffffffffffffffffffffffffffff166128496116d9565b73ffffffffffffffffffffffffffffffffffffffff161461289f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612896906140ef565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129e88363a9059cbb60e01b8484604051602401612986929190613642565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a69565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5690614181565b60405180910390fd5b612a67612b30565b565b6000612acb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612b919092919063ffffffff16565b9050600081511115612b2b5780806020019051810190612aeb9190613697565b612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2190614213565b60405180910390fd5b5b505050565b600060019054906101000a900460ff16612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690614181565b60405180910390fd5b612b8f612b8a6124aa565b6128a1565b565b6060612ba08484600085612ba9565b90509392505050565b606082471015612bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be5906142a5565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612c17919061430c565b60006040518083038185875af1925050503d8060008114612c54576040519150601f19603f3d011682016040523d82523d6000602084013e612c59565b606091505b5091509150612c6a87838387612c76565b92505050949350505050565b60608315612cd8576000835103612cd057612c90856129ed565b612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc69061436f565b60405180910390fd5b5b829050612ce3565b612ce28383612ceb565b5b949350505050565b600082511115612cfe5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d329190613146565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612d6281612d4f565b8114612d6d57600080fd5b50565b600081359050612d7f81612d59565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612daa57612da9612d85565b5b8235905067ffffffffffffffff811115612dc757612dc6612d8a565b5b602083019150836020820283011115612de357612de2612d8f565b5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e1582612dea565b9050919050565b612e2581612e0a565b8114612e3057600080fd5b50565b600081359050612e4281612e1c565b92915050565b60008060008060008060a08789031215612e6557612e64612d45565b5b6000612e7389828a01612d70565b9650506020612e8489828a01612d70565b955050604087013567ffffffffffffffff811115612ea557612ea4612d4a565b5b612eb189828a01612d94565b94509450506060612ec489828a01612e33565b9250506080612ed589828a01612d70565b9150509295509295509295565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f1781612d4f565b82525050565b6000612f298383612f0e565b60208301905092915050565b6000602082019050919050565b6000612f4d82612ee2565b612f578185612eed565b9350612f6283612efe565b8060005b83811015612f93578151612f7a8882612f1d565b9750612f8583612f35565b925050600181019050612f66565b5085935050505092915050565b60006020820190508181036000830152612fba8184612f42565b905092915050565b6000612fcd82612e0a565b9050919050565b612fdd81612fc2565b8114612fe857600080fd5b50565b600081359050612ffa81612fd4565b92915050565b6000806000806080858703121561301a57613019612d45565b5b600061302887828801612feb565b945050602061303987828801612feb565b935050604061304a87828801612d70565b925050606061305b87828801612d70565b91505092959194509250565b61307081612d4f565b82525050565b600060608201905061308b6000830186613067565b6130986020830185613067565b6130a56040830184613067565b949350505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130e75780820151818401526020810190506130cc565b838111156130f6576000848401525b50505050565b6000601f19601f8301169050919050565b6000613118826130ad565b61312281856130b8565b93506131328185602086016130c9565b61313b816130fc565b840191505092915050565b60006020820190508181036000830152613160818461310d565b905092915050565b6000806040838503121561317f5761317e612d45565b5b600061318d85828601612feb565b925050602061319e85828601612d70565b9150509250929050565b6000602082840312156131be576131bd612d45565b5b60006131cc84828501612e33565b91505092915050565b60008115159050919050565b6131ea816131d5565b82525050565b600060208201905061320560008301846131e1565b92915050565b61321481612e0a565b82525050565b600060208201905061322f600083018461320b565b92915050565b600080600080600080600060e0888a03121561325457613253612d45565b5b60006132628a828b01612feb565b97505060206132738a828b01612feb565b96505060406132848a828b01612d70565b95505060606132958a828b01612d70565b94505060806132a68a828b01612d70565b93505060a06132b78a828b01612e33565b92505060c06132c88a828b01612d70565b91505092959891949750929550565b60006040820190506132ec6000830185613067565b6132f96020830184613067565b9392505050565b600061330b82612e0a565b9050919050565b61331b81613300565b811461332657600080fd5b50565b60008135905061333881613312565b92915050565b60008060006060848603121561335757613356612d45565b5b600061336586828701613329565b935050602061337686828701612e33565b925050604061338786828701612feb565b9150509250925092565b6000602082840312156133a7576133a6612d45565b5b60006133b584828501613329565b91505092915050565b6000819050919050565b60006133e36133de6133d984612dea565b6133be565b612dea565b9050919050565b60006133f5826133c8565b9050919050565b6000613407826133ea565b9050919050565b613417816133fc565b82525050565b6000602082019050613432600083018461340e565b92915050565b6000613443826133ea565b9050919050565b61345381613438565b82525050565b600060208201905061346e600083018461344a565b92915050565b600080600080600080600080610100898b03121561349557613494612d45565b5b60006134a38b828c01612feb565b98505060206134b48b828c01612feb565b97505060406134c58b828c01612d70565b96505060606134d68b828c01612d70565b95505060806134e78b828c01612d70565b94505060a06134f88b828c01612d70565b93505060c06135098b828c01612e33565b92505060e061351a8b828c01612d70565b9150509295985092959890939650565b6000613535826133ea565b9050919050565b6135458161352a565b82525050565b6000602082019050613560600083018461353c565b92915050565b60008151905061357581612e1c565b92915050565b60006020828403121561359157613590612d45565b5b600061359f84828501613566565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506135ec600083018561320b565b6135f9602083018461320b565b9392505050565b60008151905061360f81612d59565b92915050565b60006020828403121561362b5761362a612d45565b5b600061363984828501613600565b91505092915050565b6000604082019050613657600083018561320b565b6136646020830184613067565b9392505050565b613674816131d5565b811461367f57600080fd5b50565b6000815190506136918161366b565b92915050565b6000602082840312156136ad576136ac612d45565b5b60006136bb84828501613682565b91505092915050565b600082825260208201905092915050565b6000819050919050565b6136e881612e0a565b82525050565b60006136fa83836136df565b60208301905092915050565b60006137156020840184612e33565b905092915050565b6000602082019050919050565b600061373683856136c4565b9350613741826136d5565b8060005b8581101561377a576137578284613706565b61376188826136ee565b975061376c8361371d565b925050600181019050613745565b5085925050509392505050565b600060a08201905061379c6000830189613067565b6137a96020830188613067565b81810360408301526137bc81868861372a565b90506137cb606083018561320b565b6137d86080830184613067565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381b826130fc565b810181811067ffffffffffffffff8211171561383a576138396137e3565b5b80604052505050565b600061384d612d3b565b90506138598282613812565b919050565b600067ffffffffffffffff821115613879576138786137e3565b5b602082029050602081019050919050565b600061389d6138988461385e565b613843565b905080838252602082019050602084028301858111156138c0576138bf612d8f565b5b835b818110156138e957806138d58882613600565b8452602084019350506020810190506138c2565b5050509392505050565b600082601f83011261390857613907612d85565b5b815161391884826020860161388a565b91505092915050565b60006020828403121561393757613936612d45565b5b600082015167ffffffffffffffff81111561395557613954612d4a565b5b613961848285016138f3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139d382612d4f565b91506139de83612d4f565b9250826139ee576139ed61396a565b5b828204905092915050565b600081519050919050565b6000819050602082019050919050565b6000602082019050919050565b6000613a2c826139f9565b613a3681856136c4565b9350613a4183613a04565b8060005b83811015613a72578151613a5988826136ee565b9750613a6483613a14565b925050600181019050613a45565b5085935050505092915050565b600060a082019050613a946000830188613067565b613aa16020830187613067565b8181036040830152613ab38186613a21565b9050613ac2606083018561320b565b613acf6080830184613067565b9695505050505050565b6000613ae482612d4f565b9150613aef83612d4f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2857613b27613999565b5b828202905092915050565b600060a082019050613b48600083018861320b565b613b55602083018761320b565b613b62604083018661320b565b613b6f6060830185613067565b613b7c6080830184613067565b9695505050505050565b7f496e76616c696420696e70757473000000000000000000000000000000000000600082015250565b6000613bbc600e836130b8565b9150613bc782613b86565b602082019050919050565b60006020820190508181036000830152613beb81613baf565b9050919050565b6000608082019050613c076000830187613067565b8181036020830152613c198186613a21565b9050613c28604083018561320b565b613c356060830184613067565b95945050505050565b600060c082019050613c53600083018961320b565b613c606020830188613067565b613c6d6040830187613067565b613c7a6060830186613067565b613c87608083018561320b565b613c9460a0830184613067565b979650505050505050565b600080600060608486031215613cb857613cb7612d45565b5b6000613cc686828701613600565b9350506020613cd786828701613600565b9250506040613ce886828701613600565b9150509250925092565b600060e082019050613d07600083018a61320b565b613d14602083018961320b565b613d216040830188613067565b613d2e6060830187613067565b613d3b6080830186613067565b613d4860a083018561320b565b613d5560c0830184613067565b98975050505050505050565b60008060408385031215613d7857613d77612d45565b5b6000613d8685828601613600565b9250506020613d9785828601613600565b9150509250929050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613dfd602e836130b8565b9150613e0882613da1565b604082019050919050565b60006020820190508181036000830152613e2c81613df0565b9050919050565b6000819050919050565b600060ff82169050919050565b6000613e65613e60613e5b84613e33565b6133be565b613e3d565b9050919050565b613e7581613e4a565b82525050565b6000602082019050613e906000830184613e6c565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ef26026836130b8565b9150613efd82613e96565b604082019050919050565b60006020820190508181036000830152613f2181613ee5565b9050919050565b6000606082019050613f3d600083018661320b565b613f4a602083018561320b565b613f576040830184613067565b949350505050565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b6000613fbb6036836130b8565b9150613fc682613f5f565b604082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b600061010082019050614007600083018b61320b565b614014602083018a61320b565b6140216040830189613067565b61402e6060830188613067565b61403b6080830187613067565b61404860a0830186613067565b61405560c083018561320b565b61406260e0830184613067565b9998505050505050505050565b600061407a82612d4f565b915061408583612d4f565b92508282101561409857614097613999565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140d96020836130b8565b91506140e4826140a3565b602082019050919050565b60006020820190508181036000830152614108816140cc565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061416b602b836130b8565b91506141768261410f565b604082019050919050565b6000602082019050818103600083015261419a8161415e565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006141fd602a836130b8565b9150614208826141a1565b604082019050919050565b6000602082019050818103600083015261422c816141f0565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061428f6026836130b8565b915061429a82614233565b604082019050919050565b600060208201905081810360008301526142be81614282565b9050919050565b600081519050919050565b600081905092915050565b60006142e6826142c5565b6142f081856142d0565b93506143008185602086016130c9565b80840191505092915050565b600061431882846142db565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614359601d836130b8565b915061436482614323565b602082019050919050565b600060208201905081810360008301526143888161434c565b905091905056fea26469706673582212205ac907bf9975b95fcce24c1a784cad7a92219bc1e075a2f1ae96d7336f368e5b64736f6c634300080d0033
Deployed ByteCode
0x6080604052600436106101235760003560e01c8063baa2abde116100a0578063e194cb7311610064578063e194cb73146103e1578063e4301ec51461041f578063e8e337001461044a578063f2fde38b14610489578063f887ea40146104b257610124565b8063baa2abde146102fd578063c0c53b8b1461033b578063c0d7865514610364578063c45a01551461038d578063da742228146103b857610124565b8063572b6c05116100e7578063572b6c0514610216578063715018a6146102535780637da0a8771461026a5780638803dbee146102955780638da5cb5b146102d257610124565b80632c53bc641461012657806338ed17391461013d57806342de49801461017a578063486ff0cd146101b957806354a871cf146101e457610124565b5b005b34801561013257600080fd5b5061013b6104dd565b005b34801561014957600080fd5b50610164600480360381019061015f9190612e48565b6105b0565b6040516101719190612fa0565b60405180910390f35b34801561018657600080fd5b506101a1600480360381019061019c9190613000565b610834565b6040516101b093929190613076565b60405180910390f35b3480156101c557600080fd5b506101ce610d6f565b6040516101db9190613146565b60405180910390f35b6101fe60048036038101906101f99190613168565b610dac565b60405161020d93929190613076565b60405180910390f35b34801561022257600080fd5b5061023d600480360381019061023891906131a8565b61135a565b60405161024a91906131f0565b60405180910390f35b34801561025f57600080fd5b506102686113b4565b005b34801561027657600080fd5b5061027f6113c8565b60405161028c919061321a565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b79190612e48565b6113ee565b6040516102c99190612fa0565b60405180910390f35b3480156102de57600080fd5b506102e76116d9565b6040516102f4919061321a565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190613235565b611703565b6040516103329291906132d7565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d919061333e565b6119ec565b005b34801561037057600080fd5b5061038b60048036038101906103869190613391565b611c9f565b005b34801561039957600080fd5b506103a2611ceb565b6040516103af919061341d565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da91906131a8565b611d11565b005b3480156103ed57600080fd5b5061040860048036038101906104039190613235565b611d5d565b6040516104169291906132d7565b60405180910390f35b34801561042b57600080fd5b50610434612124565b6040516104419190613459565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613474565b61214a565b60405161048093929190613076565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab91906131a8565b612401565b005b3480156104be57600080fd5b506104c7612484565b6040516104d4919061354b565b60405180910390f35b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561054a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056e919061357b565b606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60606000858560008181106105c8576105c76135a8565b5b90506020020160208101906105dd91906131a8565b90506106136105ea6124aa565b308a8473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b878173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016106719291906135d7565b602060405180830381865afa15801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b29190613615565b101561077a578073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610735929190613642565b6020604051808303816000875af1158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613697565b505b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed17398989898989896040518763ffffffff1660e01b81526004016107df96959493929190613787565b6000604051808303816000875af11580156107fe573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906108279190613921565b9150509695505050505050565b6000806000806108426124aa565b90506108718130888b73ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b60028661087e91906139c8565b8873ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016108db9291906135d7565b602060405180830381865afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190613615565b10156109905761098f606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b6000600267ffffffffffffffff8111156109ad576109ac6137e3565b5b6040519080825280602002602001820160405280156109db5781602001602082028036833780820191505090505b50905088816000815181106109f3576109f26135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600181518110610a4257610a416135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed173960028a610ac991906139c8565b898530426040518663ffffffff1660e01b8152600401610aed959493929190613a7f565b6000604051808303816000875af1158015610b0c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610b359190613921565b905080600181518110610b4b57610b4a6135a8565b5b60200260200101518973ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401610bb09291906135d7565b602060405180830381865afa158015610bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf19190613615565b1015610c6557610c64606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8b73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b610ce18a8a83600081518110610c7e57610c7d6135a8565b5b602002602001015184600181518110610c9a57610c996135a8565b5b602002602001015161271061251c87600081518110610cbc57610cbb6135a8565b5b6020026020010151610cce9190613ad9565b610cd891906139c8565b600089426126be565b8096508197508298505050507fc33fbc9654f9c0dcfcbd829113bdb10afe95619bc0824bc5959ad82fd6952bd98a8a8584600081518110610d2557610d246135a8565b5b602002602001015185600181518110610d4157610d406135a8565b5b6020026020010151604051610d5a959493929190613b33565b60405180910390a15050509450945094915050565b60606040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250905090565b6000806000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613bd2565b60405180910390fd5b6000610e4b6124aa565b90506000600267ffffffffffffffff811115610e6a57610e696137e3565b5b604051908082528060200260200182016040528015610e985781602001602082028036833780820191505090505b509050606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600081518110610ed257610ed16135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600181518110610f2157610f206135a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ff36ab5600234610fa891906139c8565b898530426040518663ffffffff1660e01b8152600401610fcb9493929190613bf2565b60006040518083038185885af1158015610fe9573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f820116820180604052508101906110139190613921565b905080600181518110611029576110286135a8565b5b60200260200101518873ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040161108e9291906135d7565b602060405180830381865afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf9190613615565b101561114357611142606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71982600081518110611195576111946135a8565b5b60200260200101518a846001815181106111b2576111b16135a8565b5b602002602001015161271061251c876001815181106111d4576111d36135a8565b5b60200260200101516111e69190613ad9565b6111f091906139c8565b61271061251c8860008151811061120a576112096135a8565b5b602002602001015161121c9190613ad9565b61122691906139c8565b89426040518863ffffffff1660e01b815260040161124996959493929190613c3e565b60606040518083038185885af1158015611267573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061128c9190613c9f565b809650819750829850505050600047905060008111156112ee578373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112ec573d6000803e3d6000fd5b505b7fc33fbc9654f9c0dcfcbd829113bdb10afe95619bc0824bc5959ad82fd6952bd9606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a86898b604051611347959493929190613b33565b60405180910390a1505050509250925092565b6000606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6113bc612823565b6113c660006128a1565b565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600085856000818110611406576114056135a8565b5b905060200201602081019061141b91906131a8565b90506114516114286124aa565b30898473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b868173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016114af9291906135d7565b602060405180830381865afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190613615565b101561156457611563606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8373ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638803dbee8989898989896040518763ffffffff1660e01b81526004016115c996959493929190613787565b6000604051808303816000875af11580156115e8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116119190613921565b915060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161164e919061321a565b602060405180830381865afa15801561166b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168f9190613615565b905060008111156116cd576116cc6116a56124aa565b828473ffffffffffffffffffffffffffffffffffffffff166129679092919063ffffffff16565b5b50509695505050505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a439058b8b6040518363ffffffff1660e01b81526004016117659291906135d7565b602060405180830381865afa158015611782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a6919061357b565b9050878173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016118069291906135d7565b602060405180830381865afa158015611823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118479190613615565b10156118bb576118ba606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8373ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b6118ef6118c66124aa565b308a8473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663baa2abde8b8b8b8b8b8b8b6040518863ffffffff1660e01b81526004016119569796959493929190613cf2565b60408051808303816000875af1158015611974573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119989190613d61565b80935081945050507fa8dbaaebbb025c88e9e34c84635cd8238043556e9af43fb161508c898a8e1ef98a8a8786866040516119d7959493929190613b33565b60405180910390a15097509795505050505050565b60008060019054906101000a900460ff16159050808015611a1d5750600160008054906101000a900460ff1660ff16105b80611a4a5750611a2c306129ed565b158015611a495750600160008054906101000a900460ff1660ff16145b5b611a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8090613e13565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611ac6576001600060016101000a81548160ff0219169083151502179055505b611ace612a10565b83606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbf919061357b565b606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508015611c995760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611c909190613e7b565b60405180910390a15b50505050565b611ca7612823565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d19612823565b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a439058b8b6040518363ffffffff1660e01b8152600401611dbf9291906135d7565b602060405180830381865afa158015611ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e00919061357b565b9050611e36611e0d6124aa565b308a8473ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b878173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401611e949291906135d7565b602060405180830381865afa158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed59190613615565b1115611f4957611f48606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8373ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302751cec606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614611fe2578b611fe4565b8a5b8a8a8a8a8a6040518763ffffffff1660e01b815260040161200a96959493929190613c3e565b60408051808303816000875af1158015612028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204c9190613d61565b809350819450505060008a73ffffffffffffffffffffffffffffffffffffffff16606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120b1578a6120b3565b895b90507fa8dbaaebbb025c88e9e34c84635cd8238043556e9af43fb161508c898a8e1ef9606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168288868860405161210e959493929190613b33565b60405180910390a1505097509795505050505050565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600061218361215a6124aa565b308b8e73ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b6121b761218e6124aa565b308a8d73ffffffffffffffffffffffffffffffffffffffff166124e6909392919063ffffffff16565b888b73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016122159291906135d7565b602060405180830381865afa158015612232573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122569190613615565b10156122ca576122c9606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8d73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b878a73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016123289291906135d7565b602060405180830381865afa158015612345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123699190613615565b10156123dd576123dc606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8c73ffffffffffffffffffffffffffffffffffffffff1661256f9092919063ffffffff16565b5b6123ed8b8b8b8b8b8b8b8b6126be565b925092509250985098509895505050505050565b612409612823565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246f90613f08565b60405180910390fd5b612481816128a1565b50565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060186000369050101580156124c657506124c53361135a565b5b156124da57601436033560601c90506124e2565b3390506124e3565b5b90565b612569846323b872dd60e01b85858560405160240161250793929190613f28565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a69565b50505050565b60008114806125f9575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b81526004016125b69291906135d7565b602060405180830381865afa1580156125d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f79190613615565b145b612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90613fd1565b60405180910390fd5b6126b98363095ea7b360e01b8484604051602401612657929190613642565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a69565b505050565b6000806000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8e337008c8c8c8c8c8c8c8c6040518963ffffffff1660e01b815260040161272c989796959493929190613ff1565b6060604051808303816000875af115801561274b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276f9190613c9f565b8093508194508295505050506000838a612789919061406f565b905060008111156127c7576127c661279f6124aa565b828e73ffffffffffffffffffffffffffffffffffffffff166129679092919063ffffffff16565b5b6000838a6127d5919061406f565b90506000811115612813576128126127eb6124aa565b828e73ffffffffffffffffffffffffffffffffffffffff166129679092919063ffffffff16565b5b5050985098509895505050505050565b61282b6124aa565b73ffffffffffffffffffffffffffffffffffffffff166128496116d9565b73ffffffffffffffffffffffffffffffffffffffff161461289f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612896906140ef565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129e88363a9059cbb60e01b8484604051602401612986929190613642565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a69565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5690614181565b60405180910390fd5b612a67612b30565b565b6000612acb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612b919092919063ffffffff16565b9050600081511115612b2b5780806020019051810190612aeb9190613697565b612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2190614213565b60405180910390fd5b5b505050565b600060019054906101000a900460ff16612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690614181565b60405180910390fd5b612b8f612b8a6124aa565b6128a1565b565b6060612ba08484600085612ba9565b90509392505050565b606082471015612bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be5906142a5565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612c17919061430c565b60006040518083038185875af1925050503d8060008114612c54576040519150601f19603f3d011682016040523d82523d6000602084013e612c59565b606091505b5091509150612c6a87838387612c76565b92505050949350505050565b60608315612cd8576000835103612cd057612c90856129ed565b612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc69061436f565b60405180910390fd5b5b829050612ce3565b612ce28383612ceb565b5b949350505050565b600082511115612cfe5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d329190613146565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612d6281612d4f565b8114612d6d57600080fd5b50565b600081359050612d7f81612d59565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612daa57612da9612d85565b5b8235905067ffffffffffffffff811115612dc757612dc6612d8a565b5b602083019150836020820283011115612de357612de2612d8f565b5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e1582612dea565b9050919050565b612e2581612e0a565b8114612e3057600080fd5b50565b600081359050612e4281612e1c565b92915050565b60008060008060008060a08789031215612e6557612e64612d45565b5b6000612e7389828a01612d70565b9650506020612e8489828a01612d70565b955050604087013567ffffffffffffffff811115612ea557612ea4612d4a565b5b612eb189828a01612d94565b94509450506060612ec489828a01612e33565b9250506080612ed589828a01612d70565b9150509295509295509295565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f1781612d4f565b82525050565b6000612f298383612f0e565b60208301905092915050565b6000602082019050919050565b6000612f4d82612ee2565b612f578185612eed565b9350612f6283612efe565b8060005b83811015612f93578151612f7a8882612f1d565b9750612f8583612f35565b925050600181019050612f66565b5085935050505092915050565b60006020820190508181036000830152612fba8184612f42565b905092915050565b6000612fcd82612e0a565b9050919050565b612fdd81612fc2565b8114612fe857600080fd5b50565b600081359050612ffa81612fd4565b92915050565b6000806000806080858703121561301a57613019612d45565b5b600061302887828801612feb565b945050602061303987828801612feb565b935050604061304a87828801612d70565b925050606061305b87828801612d70565b91505092959194509250565b61307081612d4f565b82525050565b600060608201905061308b6000830186613067565b6130986020830185613067565b6130a56040830184613067565b949350505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130e75780820151818401526020810190506130cc565b838111156130f6576000848401525b50505050565b6000601f19601f8301169050919050565b6000613118826130ad565b61312281856130b8565b93506131328185602086016130c9565b61313b816130fc565b840191505092915050565b60006020820190508181036000830152613160818461310d565b905092915050565b6000806040838503121561317f5761317e612d45565b5b600061318d85828601612feb565b925050602061319e85828601612d70565b9150509250929050565b6000602082840312156131be576131bd612d45565b5b60006131cc84828501612e33565b91505092915050565b60008115159050919050565b6131ea816131d5565b82525050565b600060208201905061320560008301846131e1565b92915050565b61321481612e0a565b82525050565b600060208201905061322f600083018461320b565b92915050565b600080600080600080600060e0888a03121561325457613253612d45565b5b60006132628a828b01612feb565b97505060206132738a828b01612feb565b96505060406132848a828b01612d70565b95505060606132958a828b01612d70565b94505060806132a68a828b01612d70565b93505060a06132b78a828b01612e33565b92505060c06132c88a828b01612d70565b91505092959891949750929550565b60006040820190506132ec6000830185613067565b6132f96020830184613067565b9392505050565b600061330b82612e0a565b9050919050565b61331b81613300565b811461332657600080fd5b50565b60008135905061333881613312565b92915050565b60008060006060848603121561335757613356612d45565b5b600061336586828701613329565b935050602061337686828701612e33565b925050604061338786828701612feb565b9150509250925092565b6000602082840312156133a7576133a6612d45565b5b60006133b584828501613329565b91505092915050565b6000819050919050565b60006133e36133de6133d984612dea565b6133be565b612dea565b9050919050565b60006133f5826133c8565b9050919050565b6000613407826133ea565b9050919050565b613417816133fc565b82525050565b6000602082019050613432600083018461340e565b92915050565b6000613443826133ea565b9050919050565b61345381613438565b82525050565b600060208201905061346e600083018461344a565b92915050565b600080600080600080600080610100898b03121561349557613494612d45565b5b60006134a38b828c01612feb565b98505060206134b48b828c01612feb565b97505060406134c58b828c01612d70565b96505060606134d68b828c01612d70565b95505060806134e78b828c01612d70565b94505060a06134f88b828c01612d70565b93505060c06135098b828c01612e33565b92505060e061351a8b828c01612d70565b9150509295985092959890939650565b6000613535826133ea565b9050919050565b6135458161352a565b82525050565b6000602082019050613560600083018461353c565b92915050565b60008151905061357581612e1c565b92915050565b60006020828403121561359157613590612d45565b5b600061359f84828501613566565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506135ec600083018561320b565b6135f9602083018461320b565b9392505050565b60008151905061360f81612d59565b92915050565b60006020828403121561362b5761362a612d45565b5b600061363984828501613600565b91505092915050565b6000604082019050613657600083018561320b565b6136646020830184613067565b9392505050565b613674816131d5565b811461367f57600080fd5b50565b6000815190506136918161366b565b92915050565b6000602082840312156136ad576136ac612d45565b5b60006136bb84828501613682565b91505092915050565b600082825260208201905092915050565b6000819050919050565b6136e881612e0a565b82525050565b60006136fa83836136df565b60208301905092915050565b60006137156020840184612e33565b905092915050565b6000602082019050919050565b600061373683856136c4565b9350613741826136d5565b8060005b8581101561377a576137578284613706565b61376188826136ee565b975061376c8361371d565b925050600181019050613745565b5085925050509392505050565b600060a08201905061379c6000830189613067565b6137a96020830188613067565b81810360408301526137bc81868861372a565b90506137cb606083018561320b565b6137d86080830184613067565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381b826130fc565b810181811067ffffffffffffffff8211171561383a576138396137e3565b5b80604052505050565b600061384d612d3b565b90506138598282613812565b919050565b600067ffffffffffffffff821115613879576138786137e3565b5b602082029050602081019050919050565b600061389d6138988461385e565b613843565b905080838252602082019050602084028301858111156138c0576138bf612d8f565b5b835b818110156138e957806138d58882613600565b8452602084019350506020810190506138c2565b5050509392505050565b600082601f83011261390857613907612d85565b5b815161391884826020860161388a565b91505092915050565b60006020828403121561393757613936612d45565b5b600082015167ffffffffffffffff81111561395557613954612d4a565b5b613961848285016138f3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139d382612d4f565b91506139de83612d4f565b9250826139ee576139ed61396a565b5b828204905092915050565b600081519050919050565b6000819050602082019050919050565b6000602082019050919050565b6000613a2c826139f9565b613a3681856136c4565b9350613a4183613a04565b8060005b83811015613a72578151613a5988826136ee565b9750613a6483613a14565b925050600181019050613a45565b5085935050505092915050565b600060a082019050613a946000830188613067565b613aa16020830187613067565b8181036040830152613ab38186613a21565b9050613ac2606083018561320b565b613acf6080830184613067565b9695505050505050565b6000613ae482612d4f565b9150613aef83612d4f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2857613b27613999565b5b828202905092915050565b600060a082019050613b48600083018861320b565b613b55602083018761320b565b613b62604083018661320b565b613b6f6060830185613067565b613b7c6080830184613067565b9695505050505050565b7f496e76616c696420696e70757473000000000000000000000000000000000000600082015250565b6000613bbc600e836130b8565b9150613bc782613b86565b602082019050919050565b60006020820190508181036000830152613beb81613baf565b9050919050565b6000608082019050613c076000830187613067565b8181036020830152613c198186613a21565b9050613c28604083018561320b565b613c356060830184613067565b95945050505050565b600060c082019050613c53600083018961320b565b613c606020830188613067565b613c6d6040830187613067565b613c7a6060830186613067565b613c87608083018561320b565b613c9460a0830184613067565b979650505050505050565b600080600060608486031215613cb857613cb7612d45565b5b6000613cc686828701613600565b9350506020613cd786828701613600565b9250506040613ce886828701613600565b9150509250925092565b600060e082019050613d07600083018a61320b565b613d14602083018961320b565b613d216040830188613067565b613d2e6060830187613067565b613d3b6080830186613067565b613d4860a083018561320b565b613d5560c0830184613067565b98975050505050505050565b60008060408385031215613d7857613d77612d45565b5b6000613d8685828601613600565b9250506020613d9785828601613600565b9150509250929050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613dfd602e836130b8565b9150613e0882613da1565b604082019050919050565b60006020820190508181036000830152613e2c81613df0565b9050919050565b6000819050919050565b600060ff82169050919050565b6000613e65613e60613e5b84613e33565b6133be565b613e3d565b9050919050565b613e7581613e4a565b82525050565b6000602082019050613e906000830184613e6c565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ef26026836130b8565b9150613efd82613e96565b604082019050919050565b60006020820190508181036000830152613f2181613ee5565b9050919050565b6000606082019050613f3d600083018661320b565b613f4a602083018561320b565b613f576040830184613067565b949350505050565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b6000613fbb6036836130b8565b9150613fc682613f5f565b604082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b600061010082019050614007600083018b61320b565b614014602083018a61320b565b6140216040830189613067565b61402e6060830188613067565b61403b6080830187613067565b61404860a0830186613067565b61405560c083018561320b565b61406260e0830184613067565b9998505050505050505050565b600061407a82612d4f565b915061408583612d4f565b92508282101561409857614097613999565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140d96020836130b8565b91506140e4826140a3565b602082019050919050565b60006020820190508181036000830152614108816140cc565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061416b602b836130b8565b91506141768261410f565b604082019050919050565b6000602082019050818103600083015261419a8161415e565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006141fd602a836130b8565b9150614208826141a1565b604082019050919050565b6000602082019050818103600083015261422c816141f0565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061428f6026836130b8565b915061429a82614233565b604082019050919050565b600060208201905081810360008301526142be81614282565b9050919050565b600081519050919050565b600081905092915050565b60006142e6826142c5565b6142f081856142d0565b93506143008185602086016130c9565b80840191505092915050565b600061431882846142db565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614359601d836130b8565b915061436482614323565b602082019050919050565b600060208201905081810360008301526143888161434c565b905091905056fea26469706673582212205ac907bf9975b95fcce24c1a784cad7a92219bc1e075a2f1ae96d7336f368e5b64736f6c634300080d0033