ETH Price: $3,628.85 (+0.20%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Shield182632002023-10-02 13:38:59460 days ago1696253939IN
0x9f2877BA...0a8568695
0 ETH0.0048478323.75225462
Set Shield182631742023-10-02 13:33:47460 days ago1696253627IN
0x9f2877BA...0a8568695
0 ETH0.0054516119.94722152
Unset Shield182630622023-10-02 13:11:23460 days ago1696252283IN
0x9f2877BA...0a8568695
0 ETH0.0005857617.70710817
Set Shield182629582023-10-02 12:50:35460 days ago1696251035IN
0x9f2877BA...0a8568695
0 ETH0.004946214.24179728
Set Shield Suppl...182622212023-10-02 10:22:35460 days ago1696242155IN
0x9f2877BA...0a8568695
0 ETH0.0003096311.79832939
Set Shield Suppl...182616152023-10-02 8:20:59460 days ago1696234859IN
0x9f2877BA...0a8568695
0 ETH0.000217077.47409955
Set Treasury181880822023-09-22 1:20:35470 days ago1695345635IN
0x9f2877BA...0a8568695
0 ETH0.000259178.22668753
Set Treasury181879812023-09-22 0:59:59470 days ago1695344399IN
0x9f2877BA...0a8568695
0 ETH0.000242337.69216379
Build Dough V1Ds...181249052023-09-13 4:08:23479 days ago1694578103IN
0x9f2877BA...0a8568695
0 ETH0.0196405913.40460188
Build Dough V1Ds...181178062023-09-12 4:14:23480 days ago1694492063IN
0x9f2877BA...0a8568695
0 ETH0.012639798.62659206
Set Connectors181177732023-09-12 4:07:47480 days ago1694491667IN
0x9f2877BA...0a8568695
0 ETH0.00045589.7362243
Set Connectors181177722023-09-12 4:07:35480 days ago1694491655IN
0x9f2877BA...0a8568695
0 ETH0.000458759.79937133
Set Connectors181177702023-09-12 4:07:11480 days ago1694491631IN
0x9f2877BA...0a8568695
0 ETH0.0005002310.68532617
Set Connectors181177692023-09-12 4:06:59480 days ago1694491619IN
0x9f2877BA...0a8568695
0 ETH0.0005167211.04321561

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
181249052023-09-13 4:08:23479 days ago1694578103
0x9f2877BA...0a8568695
 Contract Creation0 ETH
181178062023-09-12 4:14:23480 days ago1694492063
0x9f2877BA...0a8568695
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DoughV1Index

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : DoughV1Index.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";

import "./DoughV1Dsa.sol";

contract DoughV1Index is Ownable {
    using Address for address;

    /* ========== CONSTANTS ========== */
    address private deadAddress = address(0x000000000000000000000000000000000000dEaD);
    address private constant AAVE_V3_POOL = 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2;
    IAaveV3Pool private aave_v3_pool = IAaveV3Pool(AAVE_V3_POOL);

    /* ========== STATE VARIABLES ========== */
    address public TREASURY = address(0);
    address public SHIELD_EXECUTOR = address(0);

    uint256 public SUPPLY_FEE = 0; // 0 %
    uint256 public WITHDRAW_FEE = 0; // 0 %
    uint256 public BORROW_FEE = 0; // 0 %
    uint256 public REPAY_FEE = 0; // 0 %
    uint256 public SWAP_FEE = 0; // 0 %
    uint256 public FLASHLOAN_FEE = 100; // 1 %
    uint256 public SHIELD_FEE = 500; // 5 %
    uint256 public SHIELD_EXECUTE_FEE = 5000000000000000; // 0.005 ETH
    uint256 public SHIELD_SUPPLY_LIMIT = 15000; // $ 15000

    mapping(address => address) private _DoughV1DsaList;
    mapping(uint256 => address) private _connectors;

    uint256 public shield_dsa_cnt = 0;
    address public shield_first_dsa = address(0);
    address public shield_last_dsa = address(0);
    mapping(address => uint256) private _shield_dsa_hf_target;
    mapping(address => uint256) private _shield_dsa_hf_trigger;
    mapping(address => address) private _shield_dsa_prev;
    mapping(address => address) private _shield_dsa_next;

    /* ========== CONSTRUCTOR ========== */
    constructor(address _treasury) {
        TREASURY = _treasury;
        SHIELD_EXECUTOR = _treasury;
    }

    /* ========== VIEWS ========== */
    function getDoughV1Dsa(address _user) external view returns (address) {
        return _DoughV1DsaList[_user];
    }

    function getDoughV1Connector(uint256 _connectorId) external view returns (address) {
        return _connectors[_connectorId];
    }

    function getShieldInfo(address dsa) external view returns (uint256, uint256, address, address) {
        return (_shield_dsa_hf_target[dsa], _shield_dsa_hf_trigger[dsa], _shield_dsa_prev[dsa], _shield_dsa_next[dsa]);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */
    function withdrawToken(address _tokenAddr, uint256 _amount) external onlyOwner {
        require(_amount > 0, "must be greater than zero");
        uint256 balanceOfToken = IERC20(_tokenAddr).balanceOf(address(this));
        uint256 transAmount = _amount;
        if (_amount > balanceOfToken) {
            transAmount = balanceOfToken;
        }
        IERC20(_tokenAddr).transfer(owner(), transAmount);
    }

    function setTreasury(address _treasury) external onlyOwner {
        require(_treasury != deadAddress && _treasury != address(0), "treasury account error");
        TREASURY = _treasury;
    }

    function setShieldExecutor(address _shieldExecutor) external onlyOwner {
        require(_shieldExecutor != deadAddress && _shieldExecutor != address(0), "shieldExecutor account error");
        SHIELD_EXECUTOR = _shieldExecutor;
    }

    function setSupplyFee(uint256 _supplyFee) external onlyOwner {
        SUPPLY_FEE = _supplyFee;
    }

    function setWithdrawFee(uint256 _withdrawFee) external onlyOwner {
        WITHDRAW_FEE = _withdrawFee;
    }

    function setBorrowFee(uint256 _borrowFee) external onlyOwner {
        BORROW_FEE = _borrowFee;
    }

    function setRepayFee(uint256 _repayFee) external onlyOwner {
        REPAY_FEE = _repayFee;
    }

    function setSwapFee(uint256 _swapFee) external onlyOwner {
        SWAP_FEE = _swapFee;
    }

    function setFlashloanFee(uint256 _flashloanFee) external onlyOwner {
        require(_flashloanFee > aave_v3_pool.FLASHLOAN_PREMIUM_TOTAL(), "must be greater than AAVE_V3_FLASHLOAN_PREMIUM_TOTAL.");
        FLASHLOAN_FEE = _flashloanFee;
    }

    function setShieldFee(uint256 _shieldFee) external onlyOwner {
        require(_shieldFee > 0, "must be greater than zero.");
        SHIELD_FEE = _shieldFee;
    }

    function setShieldExecuteFee(uint256 _executeFee) external onlyOwner {
        require(_executeFee > 0, "must be greater than zero.");
        SHIELD_EXECUTE_FEE = _executeFee;
    }

    function setShieldSupplyLimit(uint256 _shieldSupplyLimit) external onlyOwner {
        require(_shieldSupplyLimit > 0, "must be greater than zero.");
        SHIELD_SUPPLY_LIMIT = _shieldSupplyLimit;
    }

    function setConnectors(uint256 _connectorId, address _connectorsAddr) external onlyOwner {
        require(_connectorsAddr != address(0), "addConnectors: _connectors address not vaild");
        _connectors[_connectorId] = _connectorsAddr;
    }

    function buildDoughV1Dsa() external returns (address) {
        require(_DoughV1DsaList[msg.sender] == address(0), "created already");
        DoughV1Dsa newDoughV1Dsa = new DoughV1Dsa(msg.sender, address(this));
        _DoughV1DsaList[msg.sender] = address(newDoughV1Dsa);
        return address(newDoughV1Dsa);
    }

    function setShield(uint256 hf_trigger, uint256 hf_target) external {
        address dsa = _DoughV1DsaList[msg.sender];
        require(dsa != address(0), "DoughV1Index: uncreated dsa");
        require(hf_trigger > 1e18, "Shield: wrong trigger value of health factor");
        require(hf_trigger < hf_target, "Shield: wrong target value of health factor");
        (uint256 totalCollateralBase, , , , , ) = aave_v3_pool.getUserAccountData(dsa);
        require(totalCollateralBase > SHIELD_SUPPLY_LIMIT * 1e8, "Shield: supply amount < SHIELD_SUPPLY_LIMIT");
        if (shield_dsa_cnt == 0) {
            shield_first_dsa = dsa;
            shield_last_dsa = dsa;
            _shield_dsa_prev[dsa] = address(1);
            _shield_dsa_next[dsa] = address(2);
            shield_dsa_cnt++;
        } else {
            if (_shield_dsa_hf_trigger[dsa] == 0) {
                _shield_dsa_next[shield_last_dsa] = dsa;
                _shield_dsa_prev[dsa] = shield_last_dsa;
                _shield_dsa_next[dsa] = address(2);
                shield_last_dsa = dsa;
                shield_dsa_cnt++;
            }
        }
        _shield_dsa_hf_target[dsa] = hf_target;
        _shield_dsa_hf_trigger[dsa] = hf_trigger;
    }

    function unsetShield() external {
        address dsa = _DoughV1DsaList[msg.sender];
        require(dsa != address(0), "DoughV1Index: uncreated dsa");
        require(shield_dsa_cnt > 0, "DoughV1Index: empty list");
        require(_shield_dsa_hf_trigger[dsa] > 1e18, "DoughV1Index: already unset");

        if (shield_dsa_cnt == 1) {
            shield_first_dsa = address(0);
            shield_last_dsa = address(0);
        } else {
            if (dsa == shield_last_dsa) {
                _shield_dsa_next[_shield_dsa_prev[dsa]] = address(2);
                shield_last_dsa = _shield_dsa_prev[dsa];
            } else if (dsa == shield_first_dsa) {
                _shield_dsa_prev[_shield_dsa_next[dsa]] = address(1);
                shield_first_dsa = _shield_dsa_next[dsa];
            } else {
                _shield_dsa_next[_shield_dsa_prev[dsa]] = _shield_dsa_next[dsa];
                _shield_dsa_prev[_shield_dsa_next[dsa]] = _shield_dsa_prev[dsa];
            }
            _shield_dsa_hf_trigger[dsa] = 0;
            _shield_dsa_hf_target[dsa] = 0;
            _shield_dsa_prev[dsa] = address(0);
            _shield_dsa_next[dsa] = address(0);
        }
        shield_dsa_cnt--;
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev 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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 3 of 10 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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 IERC20Permit {
    /**
     * @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 4 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 5 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit 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(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation 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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 6 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

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

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

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 10 : DoughV1Dsa.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

import "./Interfaces.sol";

contract DoughV1Dsa {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== Layout ========== */
    address public owner;
    address public DoughV1Index = address(0);

    address private constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    address private constant WBTC = 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599;

    address private constant AAVE_V3_POOL = 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2;
    IAaveV3Pool private aave_v3_pool = IAaveV3Pool(AAVE_V3_POOL);

    address private constant AAVE_V3_DATA_PROVIDER = 0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3;
    IAaveV3DataProvider private aave_v3_data_provider = IAaveV3DataProvider(AAVE_V3_DATA_PROVIDER);

    address private constant UNISWAP_V2_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    IUniswapV2Router private uniswap_v2_router = IUniswapV2Router(UNISWAP_V2_ROUTER);

    /* ========== CONSTRUCTOR ========== */
    constructor(address _owner, address _DoughV1Index) {
        owner = _owner;
        DoughV1Index = _DoughV1Index;
    }

    receive() external payable {}

    modifier onlyOwner() {
        require(owner == msg.sender, "Ownable: caller is not the owner");
        _;
    }

    /* ========== DelegateCall ========== */
    function doughCall(uint256 _connectorId, uint256 _actionId, address _token1, address _token2, uint256 _amount, bool _opt) external payable {
        if (_connectorId == 3) {
            (, , , , , uint256 healthFactor) = aave_v3_pool.getUserAccountData(address(this));
            (, uint256 shield_dsa_hf_trigger, , ) = IDoughV1Index(DoughV1Index).getShieldInfo(address(this));
            if (healthFactor < shield_dsa_hf_trigger && _actionId == 1) {
                address SHIELD_EXECUTOR = IDoughV1Index(DoughV1Index).SHIELD_EXECUTOR();
                require(owner == msg.sender || SHIELD_EXECUTOR == msg.sender, "Ownable: caller is not the owner or Shield executor");
            } else {
                require(owner == msg.sender, "Ownable: caller is not the owner");
            }
        } else {
            require(owner == msg.sender, "Ownable: caller is not the owner");
        }
        address _contract = IDoughV1Index(DoughV1Index).getDoughV1Connector(_connectorId);
        require(_contract != address(0), "doughCall: unregistered connector");
        (bool success, bytes memory data) = _contract.delegatecall(abi.encodeWithSignature("delegateDoughCall(uint256,address,address,uint256,bool)", _actionId, _token1, _token2, _amount, _opt));
        if (!success) {
            if (data.length == 0) revert();
            assembly {
                revert(add(32, data), mload(data))
            }
        }
    }

    function executeAction(address loanToken, uint256 inAmount, uint256 outAmount, uint256 funcId, bool isShield) external {
        // get connectorV1Flashloan address
        address _connectorV1Flashloan = IDoughV1Index(DoughV1Index).getDoughV1Connector(3);
        require(_connectorV1Flashloan != address(0), "doughV1Dsa: executeAction : unregistered connectorV1Flashloan");

        require(msg.sender == _connectorV1Flashloan, "wrong doughFlashloan");
        IERC20(loanToken).transferFrom(_connectorV1Flashloan, address(this), inAmount);
        IERC20(loanToken).approve(AAVE_V3_POOL, inAmount);
        if (funcId == 0) {
            // Loop
            aave_v3_pool.supply(loanToken, inAmount, address(this), 0);
            aave_v3_pool.borrow(loanToken, outAmount, 2, 0, address(this));
        } else {
            // Deloop
            aave_v3_pool.repay(loanToken, inAmount, 2, address(this));
            aave_v3_pool.withdraw(loanToken, outAmount, address(this));
            if (isShield) {
                // send executor
                address SHIELD_EXECUTOR = IDoughV1Index(DoughV1Index).SHIELD_EXECUTOR();
                uint256 SHIELD_EXECUTE_FEE = IDoughV1Index(DoughV1Index).SHIELD_EXECUTE_FEE();
                IWETH(WETH).withdraw(SHIELD_EXECUTE_FEE);
                payable(SHIELD_EXECUTOR).transfer(SHIELD_EXECUTE_FEE);
            }
        }
        IERC20(loanToken).approve(_connectorV1Flashloan, outAmount);
    }
}

File 10 of 10 : Interfaces.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IWETH is IERC20 {
    function deposit() external payable;

    function withdraw(uint amount) external;
}

interface IDoughV1Index {
    function owner() external view returns (address);

    function TREASURY() external view returns (address);

    function SHIELD_EXECUTOR() external view returns (address);

    function SUPPLY_FEE() external view returns (uint256);

    function WITHDRAW_FEE() external view returns (uint256);

    function BORROW_FEE() external view returns (uint256);

    function REPAY_FEE() external view returns (uint256);

    function SWAP_FEE() external view returns (uint256);

    function FLASHLOAN_FEE() external view returns (uint256);

    function SHIELD_FEE() external view returns (uint256);

    function SHIELD_EXECUTE_FEE() external view returns (uint256);

    function getShieldInfo(address dsa) external view returns (uint256, uint256, address, address);

    function getDoughV1Connector(uint256 _connectorId) external view returns (address);
}

interface IDoughV1Dsa {
    function TREASURY() external view returns (address);

    function SHIELD_EXECUTOR() external view returns (address);

    function DoughV1Index() external view returns (address);

    function executeAction(address loanToken, uint256 inAmount, uint256 outAmount, uint256 funcId, bool isShield) external;
}

interface IAaveV3DataProvider {
    function getUserReserveData(
        address asset,
        address user
    ) external view returns (uint256 currentATokenBalance, uint256 currentStableDebt, uint256 currentVariableDebt, uint256 principalStableDebt, uint256 scaledVariableDebt, uint256 stableBorrowRate, uint256 liquidityRate, uint40 stableRateLastUpdated, bool usageAsCollateralEnabled);
}

interface IAaveV3Pool {
    function FLASHLOAN_PREMIUM_TOTAL() external view returns (uint128);

    function getUserAccountData(address user) external view returns (uint256 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor);

    function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;

    function withdraw(address asset, uint256 amount, address to) external;

    function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) external;

    function repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf) external returns (uint256);
}

interface IAaveV3Oracle {
    function getAssetPrice(address asset) external view returns (uint256);
}

interface IUniswapV2Router {
    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);
}

interface IConnectorV1Flashloan {
    function flashloanReq(address _loanToken, uint256 _loanAmount, uint256 _funcId, bool _isShield) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"BORROW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FLASHLOAN_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REPAY_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHIELD_EXECUTE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHIELD_EXECUTOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHIELD_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHIELD_SUPPLY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buildDoughV1Dsa","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_connectorId","type":"uint256"}],"name":"getDoughV1Connector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getDoughV1Dsa","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dsa","type":"address"}],"name":"getShieldInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_borrowFee","type":"uint256"}],"name":"setBorrowFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_connectorId","type":"uint256"},{"internalType":"address","name":"_connectorsAddr","type":"address"}],"name":"setConnectors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_flashloanFee","type":"uint256"}],"name":"setFlashloanFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_repayFee","type":"uint256"}],"name":"setRepayFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"hf_trigger","type":"uint256"},{"internalType":"uint256","name":"hf_target","type":"uint256"}],"name":"setShield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_executeFee","type":"uint256"}],"name":"setShieldExecuteFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shieldExecutor","type":"address"}],"name":"setShieldExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shieldFee","type":"uint256"}],"name":"setShieldFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shieldSupplyLimit","type":"uint256"}],"name":"setShieldSupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyFee","type":"uint256"}],"name":"setSupplyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapFee","type":"uint256"}],"name":"setSwapFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shield_dsa_cnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shield_first_dsa","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shield_last_dsa","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unsetShield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261dead600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507387870bca3f3fd6335c3f4ce8392d69350b4fa4e2600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060055560006006556000600755600060085560006009556064600a556101f4600b556611c37937e08000600c55613a98600d5560006010556000601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620001eb57600080fd5b5060405162005325380380620053258339818101604052810190620002119190620003f0565b6200023162000225620002ba60201b60201c565b620002c260201b60201c565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000422565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003b8826200038b565b9050919050565b620003ca81620003ab565b8114620003d657600080fd5b50565b600081519050620003ea81620003bf565b92915050565b60006020828403121562000409576200040862000386565b5b60006200041984828501620003d9565b91505092915050565b614ef380620004326000396000f3fe60806040523480156200001157600080fd5b5060043610620002505760003560e01c8063846d485c1162000141578063ad3efcdf11620000bd578063e93ee7111162000087578063e93ee711146200066e578063f0f442601462000690578063f2fde38b14620006b0578063fa1fba9914620006d0578063fb978a8a14620006f25762000250565b8063ad3efcdf14620005d3578063b6ac642a146200060c578063c869adb4146200062c578063d560af17146200064c5762000250565b80638da5cb5b116200010b5780638da5cb5b146200052d57806397440c24146200054f5780639bff5ddb146200056f5780639e281a981462000591578063a071571914620005b15762000250565b8063846d485c14620004a757806386c23f8214620004c9578063899a56bb14620004ff5780638d006e9f14620005215762000250565b8063413ca0aa11620001d15780636b97dcb6116200019b5780636b97dcb61462000415578063715018a61462000437578063768aebde14620004435780637abec3e014620004655780637bfae10a14620004875762000250565b8063413ca0aa14620003915780634255b1d914620003b15780635699fadc14620003d157806364f713d514620003f35762000250565b80632d2c5565116200021f5780632d2c556514620002d9578063311f463f14620002fb57806334ad4961146200031b57806334e19907146200033b5780633e7bbaf8146200035b5762000250565b80630efe72fc1462000255578063157c81b914620002775780631766796714620002975780631fddabfb14620002b9575b600080fd5b6200025f62000712565b6040516200026e9190620025d1565b60405180910390f35b6200029560048036038101906200028f919062002624565b62000718565b005b620002a16200072c565b604051620002b09190620025d1565b60405180910390f35b620002d76004803603810190620002d1919062002624565b62000732565b005b620002e362000746565b604051620002f291906200269b565b60405180910390f35b62000319600480360381019062000313919062002624565b6200076c565b005b62000339600480360381019062000333919062002624565b6200086a565b005b62000359600480360381019062000353919062002624565b620008c4565b005b62000379600480360381019062000373919062002624565b620008d8565b6040516200038891906200269b565b60405180910390f35b620003af6004803603810190620003a99190620026e9565b62000915565b005b620003cf6004803603810190620003c991906200271b565b62000a31565b005b620003db62000b04565b604051620003ea91906200269b565b60405180910390f35b620003fd62000c9a565b6040516200040c91906200269b565b60405180910390f35b6200041f62000cc0565b6040516200042e9190620025d1565b60405180910390f35b6200044162000cc6565b005b6200044d62000cde565b6040516200045c9190620025d1565b60405180910390f35b6200046f62000ce4565b6040516200047e9190620025d1565b60405180910390f35b620004a560048036038101906200049f919062002624565b62000cea565b005b620004b162000d44565b604051620004c091906200269b565b60405180910390f35b620004e76004803603810190620004e19190620026e9565b62000d6a565b604051620004f691906200269b565b60405180910390f35b6200050962000dd3565b6040516200051891906200269b565b60405180910390f35b6200052b62000df9565b005b6200053762001810565b6040516200054691906200269b565b60405180910390f35b6200056d600480360381019062000567919062002624565b62001839565b005b6200057962001893565b604051620005889190620025d1565b60405180910390f35b620005af6004803603810190620005a9919062002762565b62001899565b005b620005bb62001a11565b604051620005ca9190620025d1565b60405180910390f35b620005f16004803603810190620005eb9190620026e9565b62001a17565b604051620006039493929190620027a9565b60405180910390f35b6200062a600480360381019062000624919062002624565b62001b6c565b005b6200064a600480360381019062000644919062002624565b62001b80565b005b6200065662001b94565b604051620006659190620025d1565b60405180910390f35b6200067862001b9a565b604051620006879190620025d1565b60405180910390f35b620006ae6004803603810190620006a89190620026e9565b62001ba0565b005b620006ce6004803603810190620006c89190620026e9565b62001cbc565b005b620006da62001d47565b604051620006e99190620025d1565b60405180910390f35b6200071060048036038101906200070a9190620027f6565b62001d4d565b005b600c5481565b6200072262002457565b8060088190555050565b600a5481565b6200073c62002457565b8060058190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6200077662002457565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663074b2e436040518163ffffffff1660e01b8152600401602060405180830381865afa158015620007e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200080a91906200288a565b6fffffffffffffffffffffffffffffffff16811162000860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008579062002943565b60405180910390fd5b80600a8190555050565b6200087462002457565b60008111620008ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008b190620029b5565b60405180910390fd5b80600c8190555050565b620008ce62002457565b8060098190555050565b6000600f600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6200091f62002457565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015620009ab5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b620009ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009e49062002a27565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b62000a3b62002457565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000aae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aa59062002abf565b60405180910390fd5b80600f600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000bd6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000bcd9062002b31565b60405180910390fd5b6000333060405162000be890620025a8565b62000bf592919062002b53565b604051809103906000f08015801562000c12573d6000803e3d6000fd5b50905080600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508091505090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b62000cd062002457565b62000cdc6000620024dc565b565b60095481565b60105481565b62000cf462002457565b6000811162000d3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d3190620029b5565b60405180910390fd5b80600d8190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000ed0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ec79062002bd0565b60405180910390fd5b60006010541162000f18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000f0f9062002c42565b60405180910390fd5b670de0b6b3a7640000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541162000fa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000f9b9062002cb4565b60405180910390fd5b600160105414156200103a576000601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620017f3565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200121557600260166000601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200166a565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620013f057600160156000601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062001669565b601660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660166000601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660156000601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60106000815480929190620018089062002d05565b919050555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200184362002457565b6000811162001889576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200188090620029b5565b60405180910390fd5b80600b8190555050565b60065481565b620018a362002457565b60008111620018e9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018e09062002d84565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200192691906200269b565b602060405180830381865afa15801562001944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200196a919062002dbd565b90506000829050818311156200197e578190505b8373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb620019a462001810565b836040518363ffffffff1660e01b8152600401620019c492919062002def565b6020604051808303816000875af1158015620019e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a0a919062002e59565b5050505050565b60075481565b600080600080601360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1693509350935093509193509193565b62001b7662002457565b8060068190555050565b62001b8a62002457565b8060078190555050565b600b5481565b60085481565b62001baa62002457565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801562001c365750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b62001c78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001c6f9062002edb565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b62001cc662002457565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562001d39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001d309062002f73565b60405180910390fd5b62001d4481620024dc565b50565b60055481565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562001e24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001e1b9062002bd0565b60405180910390fd5b670de0b6b3a7640000831162001e71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001e68906200300b565b60405180910390fd5b81831062001eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001ead90620030a3565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf92857c836040518263ffffffff1660e01b815260040162001f1591906200269b565b60c060405180830381865afa15801562001f33573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f599190620030c5565b505050505090506305f5e100600d5462001f74919062003161565b811162001fb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001faf9062003238565b60405180910390fd5b60006010541415620021645781601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506002601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506010600081548092919062002159906200325a565b9190505550620023c9565b6000601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415620023c8578160166000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506002601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060106000815480929190620023c2906200325a565b91905055505b5b82601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b62002461620025a0565b73ffffffffffffffffffffffffffffffffffffffff166200248162001810565b73ffffffffffffffffffffffffffffffffffffffff1614620024da576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620024d190620032f8565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b611ba3806200331b83390190565b6000819050919050565b620025cb81620025b6565b82525050565b6000602082019050620025e86000830184620025c0565b92915050565b600080fd5b620025fe81620025b6565b81146200260a57600080fd5b50565b6000813590506200261e81620025f3565b92915050565b6000602082840312156200263d576200263c620025ee565b5b60006200264d848285016200260d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620026838262002656565b9050919050565b620026958162002676565b82525050565b6000602082019050620026b260008301846200268a565b92915050565b620026c38162002676565b8114620026cf57600080fd5b50565b600081359050620026e381620026b8565b92915050565b600060208284031215620027025762002701620025ee565b5b60006200271284828501620026d2565b91505092915050565b60008060408385031215620027355762002734620025ee565b5b600062002745858286016200260d565b92505060206200275885828601620026d2565b9150509250929050565b600080604083850312156200277c576200277b620025ee565b5b60006200278c85828601620026d2565b92505060206200279f858286016200260d565b9150509250929050565b6000608082019050620027c06000830187620025c0565b620027cf6020830186620025c0565b620027de60408301856200268a565b620027ed60608301846200268a565b95945050505050565b6000806040838503121562002810576200280f620025ee565b5b600062002820858286016200260d565b925050602062002833858286016200260d565b9150509250929050565b60006fffffffffffffffffffffffffffffffff82169050919050565b62002864816200283d565b81146200287057600080fd5b50565b600081519050620028848162002859565b92915050565b600060208284031215620028a357620028a2620025ee565b5b6000620028b38482850162002873565b91505092915050565b600082825260208201905092915050565b7f6d7573742062652067726561746572207468616e20414156455f56335f464c4160008201527f53484c4f414e5f5052454d49554d5f544f54414c2e0000000000000000000000602082015250565b60006200292b603583620028bc565b91506200293882620028cd565b604082019050919050565b600060208201905081810360008301526200295e816200291c565b9050919050565b7f6d7573742062652067726561746572207468616e207a65726f2e000000000000600082015250565b60006200299d601a83620028bc565b9150620029aa8262002965565b602082019050919050565b60006020820190508181036000830152620029d0816200298e565b9050919050565b7f736869656c644578656375746f72206163636f756e74206572726f7200000000600082015250565b600062002a0f601c83620028bc565b915062002a1c82620029d7565b602082019050919050565b6000602082019050818103600083015262002a428162002a00565b9050919050565b7f616464436f6e6e6563746f72733a205f636f6e6e6563746f727320616464726560008201527f7373206e6f74207661696c640000000000000000000000000000000000000000602082015250565b600062002aa7602c83620028bc565b915062002ab48262002a49565b604082019050919050565b6000602082019050818103600083015262002ada8162002a98565b9050919050565b7f6372656174656420616c72656164790000000000000000000000000000000000600082015250565b600062002b19600f83620028bc565b915062002b268262002ae1565b602082019050919050565b6000602082019050818103600083015262002b4c8162002b0a565b9050919050565b600060408201905062002b6a60008301856200268a565b62002b7960208301846200268a565b9392505050565b7f446f7567685631496e6465783a20756e63726561746564206473610000000000600082015250565b600062002bb8601b83620028bc565b915062002bc58262002b80565b602082019050919050565b6000602082019050818103600083015262002beb8162002ba9565b9050919050565b7f446f7567685631496e6465783a20656d707479206c6973740000000000000000600082015250565b600062002c2a601883620028bc565b915062002c378262002bf2565b602082019050919050565b6000602082019050818103600083015262002c5d8162002c1b565b9050919050565b7f446f7567685631496e6465783a20616c726561647920756e7365740000000000600082015250565b600062002c9c601b83620028bc565b915062002ca98262002c64565b602082019050919050565b6000602082019050818103600083015262002ccf8162002c8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062002d1282620025b6565b9150600082141562002d295762002d2862002cd6565b5b600182039050919050565b7f6d7573742062652067726561746572207468616e207a65726f00000000000000600082015250565b600062002d6c601983620028bc565b915062002d798262002d34565b602082019050919050565b6000602082019050818103600083015262002d9f8162002d5d565b9050919050565b60008151905062002db781620025f3565b92915050565b60006020828403121562002dd65762002dd5620025ee565b5b600062002de68482850162002da6565b91505092915050565b600060408201905062002e0660008301856200268a565b62002e156020830184620025c0565b9392505050565b60008115159050919050565b62002e338162002e1c565b811462002e3f57600080fd5b50565b60008151905062002e538162002e28565b92915050565b60006020828403121562002e725762002e71620025ee565b5b600062002e828482850162002e42565b91505092915050565b7f7472656173757279206163636f756e74206572726f7200000000000000000000600082015250565b600062002ec3601683620028bc565b915062002ed08262002e8b565b602082019050919050565b6000602082019050818103600083015262002ef68162002eb4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062002f5b602683620028bc565b915062002f688262002efd565b604082019050919050565b6000602082019050818103600083015262002f8e8162002f4c565b9050919050565b7f536869656c643a2077726f6e6720747269676765722076616c7565206f66206860008201527f65616c746820666163746f720000000000000000000000000000000000000000602082015250565b600062002ff3602c83620028bc565b9150620030008262002f95565b604082019050919050565b60006020820190508181036000830152620030268162002fe4565b9050919050565b7f536869656c643a2077726f6e67207461726765742076616c7565206f6620686560008201527f616c746820666163746f72000000000000000000000000000000000000000000602082015250565b60006200308b602b83620028bc565b915062003098826200302d565b604082019050919050565b60006020820190508181036000830152620030be816200307c565b9050919050565b60008060008060008060c08789031215620030e557620030e4620025ee565b5b6000620030f589828a0162002da6565b96505060206200310889828a0162002da6565b95505060406200311b89828a0162002da6565b94505060606200312e89828a0162002da6565b93505060806200314189828a0162002da6565b92505060a06200315489828a0162002da6565b9150509295509295509295565b60006200316e82620025b6565b91506200317b83620025b6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620031b757620031b662002cd6565b5b828202905092915050565b7f536869656c643a20737570706c7920616d6f756e74203c20534849454c445f5360008201527f5550504c595f4c494d4954000000000000000000000000000000000000000000602082015250565b600062003220602b83620028bc565b91506200322d82620031c2565b604082019050919050565b60006020820190508181036000830152620032538162003211565b9050919050565b60006200326782620025b6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200329d576200329c62002cd6565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620032e0602083620028bc565b9150620032ed82620032a8565b602082019050919050565b600060208201905081810360008301526200331381620032d1565b905091905056fe60806040526000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507387870bca3f3fd6335c3f4ce8392d69350b4fa4e2600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737b4eb56e7cd4b454ba8ff71e4518426369a138a3600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a250d5630b4cf539739df2c5dacb4c659f2488d600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200015257600080fd5b5060405162001ba338038062001ba383398181016040528101906200017891906200026b565b816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002b2565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002338262000206565b9050919050565b620002458162000226565b81146200025157600080fd5b50565b60008151905062000265816200023a565b92915050565b6000806040838503121562000285576200028462000201565b5b6000620002958582860162000254565b9250506020620002a88582860162000254565b9150509250929050565b6118e180620002c26000396000f3fe6080604052600436106100435760003560e01c80631a10b90c1461004f5780638da5cb5b1461006b578063da922e8314610096578063db56caa3146100bf5761004a565b3661004a57005b600080fd5b61006960048036038101906100649190610fab565b6100ea565b005b34801561007757600080fd5b5061008061070c565b60405161008d9190611047565b60405180910390f35b3480156100a257600080fd5b506100bd60048036038101906100b89190611062565b610730565b005b3480156100cb57600080fd5b506100d4610eb4565b6040516100e19190611047565b60405180910390f35b6003861415610444576000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf92857c306040518263ffffffff1660e01b81526004016101509190611047565b60c060405180830381865afa15801561016d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019191906110f2565b955050505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad3efcdf306040518263ffffffff1660e01b81526004016101f59190611047565b608060405180830381865afa158015610212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102369190611194565b5050915050808210801561024a5750600187145b156103ae576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663846d485c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e291906111fb565b90503373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061036957503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6103a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039f906112ab565b60405180910390fd5b5061043d565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461043c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043390611317565b60405180910390fd5b5b50506104d3565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c990611317565b60405180910390fd5b5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e7bbaf8886040518263ffffffff1660e01b81526004016105309190611346565b602060405180830381865afa15801561054d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057191906111fb565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156105e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105da906113d3565b60405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff168888888888604051602401610616959493929190611402565b6040516020818303038152906040527f878f995e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516106a091906114cf565b600060405180830381855af49150503d80600081146106db576040519150601f19603f3d011682016040523d82523d6000602084013e6106e0565b606091505b509150915081610701576000815114156106f957600080fd5b805181602001fd5b505050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e7bbaf860036040518263ffffffff1660e01b815260040161078e919061152b565b602060405180830381865afa1580156107ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cf91906111fb565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610841576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610838906115b8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a690611624565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff166323b872dd8230886040518463ffffffff1660e01b81526004016108ec93929190611644565b6020604051808303816000875af115801561090b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092f9190611690565b508573ffffffffffffffffffffffffffffffffffffffff1663095ea7b37387870bca3f3fd6335c3f4ce8392d69350b4fa4e2876040518363ffffffff1660e01b815260040161097f9291906116bd565b6020604051808303816000875af115801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c29190611690565b506000831415610afc57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663617ba03787873060006040518563ffffffff1660e01b8152600401610a2e949392919061172f565b600060405180830381600087803b158015610a4857600080fd5b505af1158015610a5c573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a415bcad878660026000306040518663ffffffff1660e01b8152600401610ac59594939291906117af565b600060405180830381600087803b158015610adf57600080fd5b505af1158015610af3573d6000803e3d6000fd5b50505050610e2d565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663573ade8187876002306040518563ffffffff1660e01b8152600401610b5e9493929190611802565b6020604051808303816000875af1158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190611847565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369328dec8786306040518463ffffffff1660e01b8152600401610c0193929190611874565b600060405180830381600087803b158015610c1b57600080fd5b505af1158015610c2f573d6000803e3d6000fd5b505050508115610e2c576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663846d485c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc91906111fb565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630efe72fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d619190611847565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b8152600401610db09190611346565b600060405180830381600087803b158015610dca57600080fd5b505af1158015610dde573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e28573d6000803e3d6000fd5b5050505b5b8573ffffffffffffffffffffffffffffffffffffffff1663095ea7b382866040518363ffffffff1660e01b8152600401610e689291906116bd565b6020604051808303816000875af1158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab9190611690565b50505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080fd5b6000819050919050565b610ef281610edf565b8114610efd57600080fd5b50565b600081359050610f0f81610ee9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f4082610f15565b9050919050565b610f5081610f35565b8114610f5b57600080fd5b50565b600081359050610f6d81610f47565b92915050565b60008115159050919050565b610f8881610f73565b8114610f9357600080fd5b50565b600081359050610fa581610f7f565b92915050565b60008060008060008060c08789031215610fc857610fc7610eda565b5b6000610fd689828a01610f00565b9650506020610fe789828a01610f00565b9550506040610ff889828a01610f5e565b945050606061100989828a01610f5e565b935050608061101a89828a01610f00565b92505060a061102b89828a01610f96565b9150509295509295509295565b61104181610f35565b82525050565b600060208201905061105c6000830184611038565b92915050565b600080600080600060a0868803121561107e5761107d610eda565b5b600061108c88828901610f5e565b955050602061109d88828901610f00565b94505060406110ae88828901610f00565b93505060606110bf88828901610f00565b92505060806110d088828901610f96565b9150509295509295909350565b6000815190506110ec81610ee9565b92915050565b60008060008060008060c0878903121561110f5761110e610eda565b5b600061111d89828a016110dd565b965050602061112e89828a016110dd565b955050604061113f89828a016110dd565b945050606061115089828a016110dd565b935050608061116189828a016110dd565b92505060a061117289828a016110dd565b9150509295509295509295565b60008151905061118e81610f47565b92915050565b600080600080608085870312156111ae576111ad610eda565b5b60006111bc878288016110dd565b94505060206111cd878288016110dd565b93505060406111de8782880161117f565b92505060606111ef8782880161117f565b91505092959194509250565b60006020828403121561121157611210610eda565b5b600061121f8482850161117f565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260008201527f206f7220536869656c64206578656375746f7200000000000000000000000000602082015250565b6000611295603383611228565b91506112a082611239565b604082019050919050565b600060208201905081810360008301526112c481611288565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611301602083611228565b915061130c826112cb565b602082019050919050565b60006020820190508181036000830152611330816112f4565b9050919050565b61134081610edf565b82525050565b600060208201905061135b6000830184611337565b92915050565b7f646f75676843616c6c3a20756e7265676973746572656420636f6e6e6563746f60008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006113bd602183611228565b91506113c882611361565b604082019050919050565b600060208201905081810360008301526113ec816113b0565b9050919050565b6113fc81610f73565b82525050565b600060a0820190506114176000830188611337565b6114246020830187611038565b6114316040830186611038565b61143e6060830185611337565b61144b60808301846113f3565b9695505050505050565b600081519050919050565b600081905092915050565b60005b8381101561148957808201518184015260208101905061146e565b83811115611498576000848401525b50505050565b60006114a982611455565b6114b38185611460565b93506114c381856020860161146b565b80840191505092915050565b60006114db828461149e565b915081905092915050565b6000819050919050565b6000819050919050565b600061151561151061150b846114e6565b6114f0565b610edf565b9050919050565b611525816114fa565b82525050565b6000602082019050611540600083018461151c565b92915050565b7f646f75676856314473613a2065786563757465416374696f6e203a20756e726560008201527f676973746572656420636f6e6e6563746f725631466c6173686c6f616e000000602082015250565b60006115a2603d83611228565b91506115ad82611546565b604082019050919050565b600060208201905081810360008301526115d181611595565b9050919050565b7f77726f6e6720646f756768466c6173686c6f616e000000000000000000000000600082015250565b600061160e601483611228565b9150611619826115d8565b602082019050919050565b6000602082019050818103600083015261163d81611601565b9050919050565b60006060820190506116596000830186611038565b6116666020830185611038565b6116736040830184611337565b949350505050565b60008151905061168a81610f7f565b92915050565b6000602082840312156116a6576116a5610eda565b5b60006116b48482850161167b565b91505092915050565b60006040820190506116d26000830185611038565b6116df6020830184611337565b9392505050565b6000819050919050565b600061ffff82169050919050565b600061171961171461170f846116e6565b6114f0565b6116f0565b9050919050565b611729816116fe565b82525050565b60006080820190506117446000830187611038565b6117516020830186611337565b61175e6040830185611038565b61176b6060830184611720565b95945050505050565b6000819050919050565b600061179961179461178f84611774565b6114f0565b610edf565b9050919050565b6117a98161177e565b82525050565b600060a0820190506117c46000830188611038565b6117d16020830187611337565b6117de60408301866117a0565b6117eb6060830185611720565b6117f86080830184611038565b9695505050505050565b60006080820190506118176000830187611038565b6118246020830186611337565b61183160408301856117a0565b61183e6060830184611038565b95945050505050565b60006020828403121561185d5761185c610eda565b5b600061186b848285016110dd565b91505092915050565b60006060820190506118896000830186611038565b6118966020830185611337565b6118a36040830184611038565b94935050505056fea2646970667358221220d933ea6730c5859f39fb257236a9f45db0b56d1a92451884b6f813bdd5d70ccf64736f6c634300080a0033a2646970667358221220b7b4508097bece8e48509b009135f0164a6d2038e078d9354141a6aa045a89a064736f6c634300080a0033000000000000000000000000b97e7f9ee36a1e22ccfb0e013810c21e720a7b21

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620002505760003560e01c8063846d485c1162000141578063ad3efcdf11620000bd578063e93ee7111162000087578063e93ee711146200066e578063f0f442601462000690578063f2fde38b14620006b0578063fa1fba9914620006d0578063fb978a8a14620006f25762000250565b8063ad3efcdf14620005d3578063b6ac642a146200060c578063c869adb4146200062c578063d560af17146200064c5762000250565b80638da5cb5b116200010b5780638da5cb5b146200052d57806397440c24146200054f5780639bff5ddb146200056f5780639e281a981462000591578063a071571914620005b15762000250565b8063846d485c14620004a757806386c23f8214620004c9578063899a56bb14620004ff5780638d006e9f14620005215762000250565b8063413ca0aa11620001d15780636b97dcb6116200019b5780636b97dcb61462000415578063715018a61462000437578063768aebde14620004435780637abec3e014620004655780637bfae10a14620004875762000250565b8063413ca0aa14620003915780634255b1d914620003b15780635699fadc14620003d157806364f713d514620003f35762000250565b80632d2c5565116200021f5780632d2c556514620002d9578063311f463f14620002fb57806334ad4961146200031b57806334e19907146200033b5780633e7bbaf8146200035b5762000250565b80630efe72fc1462000255578063157c81b914620002775780631766796714620002975780631fddabfb14620002b9575b600080fd5b6200025f62000712565b6040516200026e9190620025d1565b60405180910390f35b6200029560048036038101906200028f919062002624565b62000718565b005b620002a16200072c565b604051620002b09190620025d1565b60405180910390f35b620002d76004803603810190620002d1919062002624565b62000732565b005b620002e362000746565b604051620002f291906200269b565b60405180910390f35b62000319600480360381019062000313919062002624565b6200076c565b005b62000339600480360381019062000333919062002624565b6200086a565b005b62000359600480360381019062000353919062002624565b620008c4565b005b62000379600480360381019062000373919062002624565b620008d8565b6040516200038891906200269b565b60405180910390f35b620003af6004803603810190620003a99190620026e9565b62000915565b005b620003cf6004803603810190620003c991906200271b565b62000a31565b005b620003db62000b04565b604051620003ea91906200269b565b60405180910390f35b620003fd62000c9a565b6040516200040c91906200269b565b60405180910390f35b6200041f62000cc0565b6040516200042e9190620025d1565b60405180910390f35b6200044162000cc6565b005b6200044d62000cde565b6040516200045c9190620025d1565b60405180910390f35b6200046f62000ce4565b6040516200047e9190620025d1565b60405180910390f35b620004a560048036038101906200049f919062002624565b62000cea565b005b620004b162000d44565b604051620004c091906200269b565b60405180910390f35b620004e76004803603810190620004e19190620026e9565b62000d6a565b604051620004f691906200269b565b60405180910390f35b6200050962000dd3565b6040516200051891906200269b565b60405180910390f35b6200052b62000df9565b005b6200053762001810565b6040516200054691906200269b565b60405180910390f35b6200056d600480360381019062000567919062002624565b62001839565b005b6200057962001893565b604051620005889190620025d1565b60405180910390f35b620005af6004803603810190620005a9919062002762565b62001899565b005b620005bb62001a11565b604051620005ca9190620025d1565b60405180910390f35b620005f16004803603810190620005eb9190620026e9565b62001a17565b604051620006039493929190620027a9565b60405180910390f35b6200062a600480360381019062000624919062002624565b62001b6c565b005b6200064a600480360381019062000644919062002624565b62001b80565b005b6200065662001b94565b604051620006659190620025d1565b60405180910390f35b6200067862001b9a565b604051620006879190620025d1565b60405180910390f35b620006ae6004803603810190620006a89190620026e9565b62001ba0565b005b620006ce6004803603810190620006c89190620026e9565b62001cbc565b005b620006da62001d47565b604051620006e99190620025d1565b60405180910390f35b6200071060048036038101906200070a9190620027f6565b62001d4d565b005b600c5481565b6200072262002457565b8060088190555050565b600a5481565b6200073c62002457565b8060058190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6200077662002457565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663074b2e436040518163ffffffff1660e01b8152600401602060405180830381865afa158015620007e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200080a91906200288a565b6fffffffffffffffffffffffffffffffff16811162000860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008579062002943565b60405180910390fd5b80600a8190555050565b6200087462002457565b60008111620008ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008b190620029b5565b60405180910390fd5b80600c8190555050565b620008ce62002457565b8060098190555050565b6000600f600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6200091f62002457565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015620009ab5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b620009ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009e49062002a27565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b62000a3b62002457565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000aae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aa59062002abf565b60405180910390fd5b80600f600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000bd6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000bcd9062002b31565b60405180910390fd5b6000333060405162000be890620025a8565b62000bf592919062002b53565b604051809103906000f08015801562000c12573d6000803e3d6000fd5b50905080600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508091505090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b62000cd062002457565b62000cdc6000620024dc565b565b60095481565b60105481565b62000cf462002457565b6000811162000d3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d3190620029b5565b60405180910390fd5b80600d8190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000ed0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ec79062002bd0565b60405180910390fd5b60006010541162000f18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000f0f9062002c42565b60405180910390fd5b670de0b6b3a7640000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541162000fa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000f9b9062002cb4565b60405180910390fd5b600160105414156200103a576000601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620017f3565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200121557600260166000601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200166a565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620013f057600160156000601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062001669565b601660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660166000601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660156000601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60106000815480929190620018089062002d05565b919050555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200184362002457565b6000811162001889576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200188090620029b5565b60405180910390fd5b80600b8190555050565b60065481565b620018a362002457565b60008111620018e9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018e09062002d84565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200192691906200269b565b602060405180830381865afa15801562001944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200196a919062002dbd565b90506000829050818311156200197e578190505b8373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb620019a462001810565b836040518363ffffffff1660e01b8152600401620019c492919062002def565b6020604051808303816000875af1158015620019e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a0a919062002e59565b5050505050565b60075481565b600080600080601360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1693509350935093509193509193565b62001b7662002457565b8060068190555050565b62001b8a62002457565b8060078190555050565b600b5481565b60085481565b62001baa62002457565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801562001c365750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b62001c78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001c6f9062002edb565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b62001cc662002457565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562001d39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001d309062002f73565b60405180910390fd5b62001d4481620024dc565b50565b60055481565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562001e24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001e1b9062002bd0565b60405180910390fd5b670de0b6b3a7640000831162001e71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001e68906200300b565b60405180910390fd5b81831062001eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001ead90620030a3565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf92857c836040518263ffffffff1660e01b815260040162001f1591906200269b565b60c060405180830381865afa15801562001f33573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f599190620030c5565b505050505090506305f5e100600d5462001f74919062003161565b811162001fb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001faf9062003238565b60405180910390fd5b60006010541415620021645781601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506002601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506010600081548092919062002159906200325a565b9190505550620023c9565b6000601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415620023c8578160166000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506002601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060106000815480929190620023c2906200325a565b91905055505b5b82601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b62002461620025a0565b73ffffffffffffffffffffffffffffffffffffffff166200248162001810565b73ffffffffffffffffffffffffffffffffffffffff1614620024da576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620024d190620032f8565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b611ba3806200331b83390190565b6000819050919050565b620025cb81620025b6565b82525050565b6000602082019050620025e86000830184620025c0565b92915050565b600080fd5b620025fe81620025b6565b81146200260a57600080fd5b50565b6000813590506200261e81620025f3565b92915050565b6000602082840312156200263d576200263c620025ee565b5b60006200264d848285016200260d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620026838262002656565b9050919050565b620026958162002676565b82525050565b6000602082019050620026b260008301846200268a565b92915050565b620026c38162002676565b8114620026cf57600080fd5b50565b600081359050620026e381620026b8565b92915050565b600060208284031215620027025762002701620025ee565b5b60006200271284828501620026d2565b91505092915050565b60008060408385031215620027355762002734620025ee565b5b600062002745858286016200260d565b92505060206200275885828601620026d2565b9150509250929050565b600080604083850312156200277c576200277b620025ee565b5b60006200278c85828601620026d2565b92505060206200279f858286016200260d565b9150509250929050565b6000608082019050620027c06000830187620025c0565b620027cf6020830186620025c0565b620027de60408301856200268a565b620027ed60608301846200268a565b95945050505050565b6000806040838503121562002810576200280f620025ee565b5b600062002820858286016200260d565b925050602062002833858286016200260d565b9150509250929050565b60006fffffffffffffffffffffffffffffffff82169050919050565b62002864816200283d565b81146200287057600080fd5b50565b600081519050620028848162002859565b92915050565b600060208284031215620028a357620028a2620025ee565b5b6000620028b38482850162002873565b91505092915050565b600082825260208201905092915050565b7f6d7573742062652067726561746572207468616e20414156455f56335f464c4160008201527f53484c4f414e5f5052454d49554d5f544f54414c2e0000000000000000000000602082015250565b60006200292b603583620028bc565b91506200293882620028cd565b604082019050919050565b600060208201905081810360008301526200295e816200291c565b9050919050565b7f6d7573742062652067726561746572207468616e207a65726f2e000000000000600082015250565b60006200299d601a83620028bc565b9150620029aa8262002965565b602082019050919050565b60006020820190508181036000830152620029d0816200298e565b9050919050565b7f736869656c644578656375746f72206163636f756e74206572726f7200000000600082015250565b600062002a0f601c83620028bc565b915062002a1c82620029d7565b602082019050919050565b6000602082019050818103600083015262002a428162002a00565b9050919050565b7f616464436f6e6e6563746f72733a205f636f6e6e6563746f727320616464726560008201527f7373206e6f74207661696c640000000000000000000000000000000000000000602082015250565b600062002aa7602c83620028bc565b915062002ab48262002a49565b604082019050919050565b6000602082019050818103600083015262002ada8162002a98565b9050919050565b7f6372656174656420616c72656164790000000000000000000000000000000000600082015250565b600062002b19600f83620028bc565b915062002b268262002ae1565b602082019050919050565b6000602082019050818103600083015262002b4c8162002b0a565b9050919050565b600060408201905062002b6a60008301856200268a565b62002b7960208301846200268a565b9392505050565b7f446f7567685631496e6465783a20756e63726561746564206473610000000000600082015250565b600062002bb8601b83620028bc565b915062002bc58262002b80565b602082019050919050565b6000602082019050818103600083015262002beb8162002ba9565b9050919050565b7f446f7567685631496e6465783a20656d707479206c6973740000000000000000600082015250565b600062002c2a601883620028bc565b915062002c378262002bf2565b602082019050919050565b6000602082019050818103600083015262002c5d8162002c1b565b9050919050565b7f446f7567685631496e6465783a20616c726561647920756e7365740000000000600082015250565b600062002c9c601b83620028bc565b915062002ca98262002c64565b602082019050919050565b6000602082019050818103600083015262002ccf8162002c8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062002d1282620025b6565b9150600082141562002d295762002d2862002cd6565b5b600182039050919050565b7f6d7573742062652067726561746572207468616e207a65726f00000000000000600082015250565b600062002d6c601983620028bc565b915062002d798262002d34565b602082019050919050565b6000602082019050818103600083015262002d9f8162002d5d565b9050919050565b60008151905062002db781620025f3565b92915050565b60006020828403121562002dd65762002dd5620025ee565b5b600062002de68482850162002da6565b91505092915050565b600060408201905062002e0660008301856200268a565b62002e156020830184620025c0565b9392505050565b60008115159050919050565b62002e338162002e1c565b811462002e3f57600080fd5b50565b60008151905062002e538162002e28565b92915050565b60006020828403121562002e725762002e71620025ee565b5b600062002e828482850162002e42565b91505092915050565b7f7472656173757279206163636f756e74206572726f7200000000000000000000600082015250565b600062002ec3601683620028bc565b915062002ed08262002e8b565b602082019050919050565b6000602082019050818103600083015262002ef68162002eb4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062002f5b602683620028bc565b915062002f688262002efd565b604082019050919050565b6000602082019050818103600083015262002f8e8162002f4c565b9050919050565b7f536869656c643a2077726f6e6720747269676765722076616c7565206f66206860008201527f65616c746820666163746f720000000000000000000000000000000000000000602082015250565b600062002ff3602c83620028bc565b9150620030008262002f95565b604082019050919050565b60006020820190508181036000830152620030268162002fe4565b9050919050565b7f536869656c643a2077726f6e67207461726765742076616c7565206f6620686560008201527f616c746820666163746f72000000000000000000000000000000000000000000602082015250565b60006200308b602b83620028bc565b915062003098826200302d565b604082019050919050565b60006020820190508181036000830152620030be816200307c565b9050919050565b60008060008060008060c08789031215620030e557620030e4620025ee565b5b6000620030f589828a0162002da6565b96505060206200310889828a0162002da6565b95505060406200311b89828a0162002da6565b94505060606200312e89828a0162002da6565b93505060806200314189828a0162002da6565b92505060a06200315489828a0162002da6565b9150509295509295509295565b60006200316e82620025b6565b91506200317b83620025b6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620031b757620031b662002cd6565b5b828202905092915050565b7f536869656c643a20737570706c7920616d6f756e74203c20534849454c445f5360008201527f5550504c595f4c494d4954000000000000000000000000000000000000000000602082015250565b600062003220602b83620028bc565b91506200322d82620031c2565b604082019050919050565b60006020820190508181036000830152620032538162003211565b9050919050565b60006200326782620025b6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200329d576200329c62002cd6565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620032e0602083620028bc565b9150620032ed82620032a8565b602082019050919050565b600060208201905081810360008301526200331381620032d1565b905091905056fe60806040526000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507387870bca3f3fd6335c3f4ce8392d69350b4fa4e2600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737b4eb56e7cd4b454ba8ff71e4518426369a138a3600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a250d5630b4cf539739df2c5dacb4c659f2488d600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200015257600080fd5b5060405162001ba338038062001ba383398181016040528101906200017891906200026b565b816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002b2565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002338262000206565b9050919050565b620002458162000226565b81146200025157600080fd5b50565b60008151905062000265816200023a565b92915050565b6000806040838503121562000285576200028462000201565b5b6000620002958582860162000254565b9250506020620002a88582860162000254565b9150509250929050565b6118e180620002c26000396000f3fe6080604052600436106100435760003560e01c80631a10b90c1461004f5780638da5cb5b1461006b578063da922e8314610096578063db56caa3146100bf5761004a565b3661004a57005b600080fd5b61006960048036038101906100649190610fab565b6100ea565b005b34801561007757600080fd5b5061008061070c565b60405161008d9190611047565b60405180910390f35b3480156100a257600080fd5b506100bd60048036038101906100b89190611062565b610730565b005b3480156100cb57600080fd5b506100d4610eb4565b6040516100e19190611047565b60405180910390f35b6003861415610444576000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf92857c306040518263ffffffff1660e01b81526004016101509190611047565b60c060405180830381865afa15801561016d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019191906110f2565b955050505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad3efcdf306040518263ffffffff1660e01b81526004016101f59190611047565b608060405180830381865afa158015610212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102369190611194565b5050915050808210801561024a5750600187145b156103ae576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663846d485c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e291906111fb565b90503373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061036957503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6103a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039f906112ab565b60405180910390fd5b5061043d565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461043c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043390611317565b60405180910390fd5b5b50506104d3565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c990611317565b60405180910390fd5b5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e7bbaf8886040518263ffffffff1660e01b81526004016105309190611346565b602060405180830381865afa15801561054d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057191906111fb565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156105e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105da906113d3565b60405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff168888888888604051602401610616959493929190611402565b6040516020818303038152906040527f878f995e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516106a091906114cf565b600060405180830381855af49150503d80600081146106db576040519150601f19603f3d011682016040523d82523d6000602084013e6106e0565b606091505b509150915081610701576000815114156106f957600080fd5b805181602001fd5b505050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e7bbaf860036040518263ffffffff1660e01b815260040161078e919061152b565b602060405180830381865afa1580156107ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cf91906111fb565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610841576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610838906115b8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a690611624565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff166323b872dd8230886040518463ffffffff1660e01b81526004016108ec93929190611644565b6020604051808303816000875af115801561090b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092f9190611690565b508573ffffffffffffffffffffffffffffffffffffffff1663095ea7b37387870bca3f3fd6335c3f4ce8392d69350b4fa4e2876040518363ffffffff1660e01b815260040161097f9291906116bd565b6020604051808303816000875af115801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c29190611690565b506000831415610afc57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663617ba03787873060006040518563ffffffff1660e01b8152600401610a2e949392919061172f565b600060405180830381600087803b158015610a4857600080fd5b505af1158015610a5c573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a415bcad878660026000306040518663ffffffff1660e01b8152600401610ac59594939291906117af565b600060405180830381600087803b158015610adf57600080fd5b505af1158015610af3573d6000803e3d6000fd5b50505050610e2d565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663573ade8187876002306040518563ffffffff1660e01b8152600401610b5e9493929190611802565b6020604051808303816000875af1158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190611847565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369328dec8786306040518463ffffffff1660e01b8152600401610c0193929190611874565b600060405180830381600087803b158015610c1b57600080fd5b505af1158015610c2f573d6000803e3d6000fd5b505050508115610e2c576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663846d485c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc91906111fb565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630efe72fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d619190611847565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b8152600401610db09190611346565b600060405180830381600087803b158015610dca57600080fd5b505af1158015610dde573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e28573d6000803e3d6000fd5b5050505b5b8573ffffffffffffffffffffffffffffffffffffffff1663095ea7b382866040518363ffffffff1660e01b8152600401610e689291906116bd565b6020604051808303816000875af1158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab9190611690565b50505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080fd5b6000819050919050565b610ef281610edf565b8114610efd57600080fd5b50565b600081359050610f0f81610ee9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f4082610f15565b9050919050565b610f5081610f35565b8114610f5b57600080fd5b50565b600081359050610f6d81610f47565b92915050565b60008115159050919050565b610f8881610f73565b8114610f9357600080fd5b50565b600081359050610fa581610f7f565b92915050565b60008060008060008060c08789031215610fc857610fc7610eda565b5b6000610fd689828a01610f00565b9650506020610fe789828a01610f00565b9550506040610ff889828a01610f5e565b945050606061100989828a01610f5e565b935050608061101a89828a01610f00565b92505060a061102b89828a01610f96565b9150509295509295509295565b61104181610f35565b82525050565b600060208201905061105c6000830184611038565b92915050565b600080600080600060a0868803121561107e5761107d610eda565b5b600061108c88828901610f5e565b955050602061109d88828901610f00565b94505060406110ae88828901610f00565b93505060606110bf88828901610f00565b92505060806110d088828901610f96565b9150509295509295909350565b6000815190506110ec81610ee9565b92915050565b60008060008060008060c0878903121561110f5761110e610eda565b5b600061111d89828a016110dd565b965050602061112e89828a016110dd565b955050604061113f89828a016110dd565b945050606061115089828a016110dd565b935050608061116189828a016110dd565b92505060a061117289828a016110dd565b9150509295509295509295565b60008151905061118e81610f47565b92915050565b600080600080608085870312156111ae576111ad610eda565b5b60006111bc878288016110dd565b94505060206111cd878288016110dd565b93505060406111de8782880161117f565b92505060606111ef8782880161117f565b91505092959194509250565b60006020828403121561121157611210610eda565b5b600061121f8482850161117f565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260008201527f206f7220536869656c64206578656375746f7200000000000000000000000000602082015250565b6000611295603383611228565b91506112a082611239565b604082019050919050565b600060208201905081810360008301526112c481611288565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611301602083611228565b915061130c826112cb565b602082019050919050565b60006020820190508181036000830152611330816112f4565b9050919050565b61134081610edf565b82525050565b600060208201905061135b6000830184611337565b92915050565b7f646f75676843616c6c3a20756e7265676973746572656420636f6e6e6563746f60008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006113bd602183611228565b91506113c882611361565b604082019050919050565b600060208201905081810360008301526113ec816113b0565b9050919050565b6113fc81610f73565b82525050565b600060a0820190506114176000830188611337565b6114246020830187611038565b6114316040830186611038565b61143e6060830185611337565b61144b60808301846113f3565b9695505050505050565b600081519050919050565b600081905092915050565b60005b8381101561148957808201518184015260208101905061146e565b83811115611498576000848401525b50505050565b60006114a982611455565b6114b38185611460565b93506114c381856020860161146b565b80840191505092915050565b60006114db828461149e565b915081905092915050565b6000819050919050565b6000819050919050565b600061151561151061150b846114e6565b6114f0565b610edf565b9050919050565b611525816114fa565b82525050565b6000602082019050611540600083018461151c565b92915050565b7f646f75676856314473613a2065786563757465416374696f6e203a20756e726560008201527f676973746572656420636f6e6e6563746f725631466c6173686c6f616e000000602082015250565b60006115a2603d83611228565b91506115ad82611546565b604082019050919050565b600060208201905081810360008301526115d181611595565b9050919050565b7f77726f6e6720646f756768466c6173686c6f616e000000000000000000000000600082015250565b600061160e601483611228565b9150611619826115d8565b602082019050919050565b6000602082019050818103600083015261163d81611601565b9050919050565b60006060820190506116596000830186611038565b6116666020830185611038565b6116736040830184611337565b949350505050565b60008151905061168a81610f7f565b92915050565b6000602082840312156116a6576116a5610eda565b5b60006116b48482850161167b565b91505092915050565b60006040820190506116d26000830185611038565b6116df6020830184611337565b9392505050565b6000819050919050565b600061ffff82169050919050565b600061171961171461170f846116e6565b6114f0565b6116f0565b9050919050565b611729816116fe565b82525050565b60006080820190506117446000830187611038565b6117516020830186611337565b61175e6040830185611038565b61176b6060830184611720565b95945050505050565b6000819050919050565b600061179961179461178f84611774565b6114f0565b610edf565b9050919050565b6117a98161177e565b82525050565b600060a0820190506117c46000830188611038565b6117d16020830187611337565b6117de60408301866117a0565b6117eb6060830185611720565b6117f86080830184611038565b9695505050505050565b60006080820190506118176000830187611038565b6118246020830186611337565b61183160408301856117a0565b61183e6060830184611038565b95945050505050565b60006020828403121561185d5761185c610eda565b5b600061186b848285016110dd565b91505092915050565b60006060820190506118896000830186611038565b6118966020830185611337565b6118a36040830184611038565b94935050505056fea2646970667358221220d933ea6730c5859f39fb257236a9f45db0b56d1a92451884b6f813bdd5d70ccf64736f6c634300080a0033a2646970667358221220b7b4508097bece8e48509b009135f0164a6d2038e078d9354141a6aa045a89a064736f6c634300080a0033

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

000000000000000000000000b97e7f9ee36a1e22ccfb0e013810c21e720a7b21

-----Decoded View---------------
Arg [0] : _treasury (address): 0xB97e7F9ee36A1e22ccfB0E013810c21e720a7B21

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b97e7f9ee36a1e22ccfb0e013810c21e720a7b21


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.