ETH Price: $2,520.72 (+2.71%)

Contract

0xe95b3Dc78c0881dEa17A69BaFC6cFeB8d891e9DE
 
Transaction Hash
Method
Block
From
To
Deposit201444572024-06-22 3:06:2373 days ago1719025583IN
Apex: USDC Perpetual
0 ETH0.001301892
Deposit189279062024-01-03 16:05:11243 days ago1704297911IN
Apex: USDC Perpetual
0 ETH0.0114599169.7779805
Deposit189279032024-01-03 16:04:35243 days ago1704297875IN
Apex: USDC Perpetual
0 ETH0.0110024466.98841828
Deposit189188152024-01-02 9:29:23244 days ago1704187763IN
Apex: USDC Perpetual
0 ETH0.0029383917.89042238
Deposit189187652024-01-02 9:19:11244 days ago1704187151IN
Apex: USDC Perpetual
0 ETH0.002746516.72210429
Deposit189184982024-01-02 8:25:23244 days ago1704183923IN
Apex: USDC Perpetual
0 ETH0.003541621.56439189
Deposit189182732024-01-02 7:39:59244 days ago1704181199IN
Apex: USDC Perpetual
0 ETH0.00244116.21457904
Deposit189163412024-01-02 1:08:59245 days ago1704157739IN
Apex: USDC Perpetual
0 ETH0.0029118119.33937304
Deposit189163362024-01-02 1:07:59245 days ago1704157679IN
Apex: USDC Perpetual
0 ETH0.0029857319.83165828
Deposit189163232024-01-02 1:05:23245 days ago1704157523IN
Apex: USDC Perpetual
0 ETH0.0028803519.13040716
Deposit189161272024-01-02 0:25:35245 days ago1704155135IN
Apex: USDC Perpetual
0 ETH0.0026834916.33947838
Deposit189148782024-01-01 20:12:35245 days ago1704139955IN
Apex: USDC Perpetual
0 ETH0.0027856318.50133518
Deposit189148552024-01-01 20:07:59245 days ago1704139679IN
Apex: USDC Perpetual
0 ETH0.0024449716.23875399
Deposit189147882024-01-01 19:54:35245 days ago1704138875IN
Apex: USDC Perpetual
0 ETH0.0023466815.58597571
Deposit189143142024-01-01 18:18:11245 days ago1704133091IN
Apex: USDC Perpetual
0 ETH0.0026710917.74056848
Deposit189136972024-01-01 16:13:59245 days ago1704125639IN
Apex: USDC Perpetual
0 ETH0.0021583513.14117253
Deposit189136922024-01-01 16:12:59245 days ago1704125579IN
Apex: USDC Perpetual
0 ETH0.0022119513.46915292
Deposit189135542024-01-01 15:45:23245 days ago1704123923IN
Apex: USDC Perpetual
0 ETH0.002447314.90132505
Deposit189126572024-01-01 12:44:11245 days ago1704113051IN
Apex: USDC Perpetual
0 ETH0.0022372713.62250211
Deposit189118792024-01-01 10:04:47245 days ago1704103487IN
Apex: USDC Perpetual
0 ETH0.001590059.681068
Deposit189094342024-01-01 1:49:47246 days ago1704073787IN
Apex: USDC Perpetual
0 ETH0.001628479.91496767
Deposit189093832024-01-01 1:39:23246 days ago1704073163IN
Apex: USDC Perpetual
0 ETH0.0018273811.12672288
Deposit189093582024-01-01 1:34:23246 days ago1704072863IN
Apex: USDC Perpetual
0 ETH0.0017956410.9334502
Deposit189054072023-12-31 12:17:35246 days ago1704025055IN
Apex: USDC Perpetual
0 ETH0.0023296414.18407652
Deposit189040232023-12-31 7:37:59246 days ago1704008279IN
Apex: USDC Perpetual
0 ETH0.00210712.82852767
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
201444572024-06-22 3:06:2373 days ago1719025583
0xe95b3Dc7...8d891e9DE
0 ETH
201444572024-06-22 3:06:2373 days ago1719025583
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279062024-01-03 16:05:11243 days ago1704297911
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189279032024-01-03 16:04:35243 days ago1704297875
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189188152024-01-02 9:29:23244 days ago1704187763
0xe95b3Dc7...8d891e9DE
0 ETH
189187652024-01-02 9:19:11244 days ago1704187151
0xe95b3Dc7...8d891e9DE
0 ETH
189187652024-01-02 9:19:11244 days ago1704187151
0xe95b3Dc7...8d891e9DE
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiSigPool

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : MultiSigPool.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

import "../interfaces/IAggregationRouterV4.sol";
import "../interfaces/IWETH.sol";
import "../interfaces/IStarkEx.sol";
import "../interfaces/IFactRegister.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

/**
 *
 * MultiSigPool
 * ============
 *
 * Basic multi-signer wallet designed for use in a co-signing environment where 2 signatures are require to move funds.
 * Typically used in a 2-of-3 signing configuration. Uses ecrecover to allow for 2 signatures in a single transaction.
 *
 * The signatures are created on the operation hash and passed to withdrawETH/withdrawERC20
 * The signer is determined by ECDSA.recover().
 *
 * The signature is created with ethereumjs-util.ecsign(operationHash).
 * Like the eth_sign RPC call, it packs the values as a 65-byte array of [r, s, v].
 * Unlike eth_sign, the message is not prefixed.
 *
 */
contract MultiSigPool is ReentrancyGuard {
  using SafeERC20 for IERC20;
  using SafeMath for uint256;

  // Events
  event Deposit(address from, address token, uint256 spentAmount, uint256 swapReturnAmount, uint256 starkKey, uint256 positionId);
  event WithdrawETH(uint256 orderId, address to, uint256 amount);
  event WithdrawERC20(uint256 orderId, address token, address to, uint256 amount);

  // Public fields
  address immutable public USDC_ADDRESS;                  // USDC contract address
  address immutable public STARKEX_ADDRESS;               // stark exchange adress
  address immutable public FACT_ADDRESS;                  // stark external fact contract address
  address immutable public AGGREGATION_ROUTER_V4_ADDRESS; // 1inch AggregationRouterV4  address
  address[] public signers;                               // The addresses that can co-sign transactions on the wallet
  mapping(uint256 => order) orders;                       // history orders
  uint256 public ASSET_TYPE;                              // stark exchange defined USDC

  IERC20 private constant ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
  IERC20 private constant ZERO_ADDRESS = IERC20(address(0));

  struct order{
    address to;     // The address the transaction was sent to
    uint256 amount; // Amount of Wei sent to the address
    address token;  // The address of the ERC20 token contract, 0 means ETH
    bool executed;  // If the order was executed
  }

  /**
   * Set up a simple 2-3 multi-sig wallet by specifying the signers allowed to be used on this wallet.
   * 2 signers will be require to send a transaction from this wallet.
   * Note: The sender is NOT automatically added to the list of signers.
   * Signers CANNOT be changed once they are set
   *
   * @param allowedSigners      An array of signers on the wallet
   * @param usdc                The USDC contract address
   * @param aggregationRouterV4 The 1inch exchange router address
   * @param starkex             The stark exchange address
   * @param fact                The stark fact address
   */
  constructor(address[] memory allowedSigners, address usdc,address aggregationRouterV4,address starkex, address fact, uint256 assetType) {
    require(allowedSigners.length == 3, "invalid allSigners length");
    require(allowedSigners[0] != allowedSigners[1], "must be different signers");
    require(allowedSigners[0] != allowedSigners[2], "must be different signers");
    require(allowedSigners[1] != allowedSigners[2], "must be different signers");
    require(usdc != address(0), "invalid usdc address");
    require(aggregationRouterV4 != address(0), "invalid 1inch address");

    signers = allowedSigners;
    USDC_ADDRESS = usdc;
    AGGREGATION_ROUTER_V4_ADDRESS = aggregationRouterV4;
    STARKEX_ADDRESS = starkex;
    FACT_ADDRESS = fact;
    ASSET_TYPE = assetType;
  }

  /**
   * Gets called when a transaction is received without calling a method
   */
  receive() external payable { }

  /**
    * @notice Make a deposit to the Starkware Layer2, after converting funds to USDC.
    *  Funds will be transferred from the sender and USDC will be deposited into this wallet, and 
    *  generate a deposit event specified by the starkKey and positionId.
    *
    * @param  token          The ERC20 token to convert from
    * @param  amount         The amount in Wei to deposit.
    * @param  starkKey       The starkKey of the L2 account to deposit into.
    * @param  positionId     The positionId of the L2 account to deposit into.
    * @param  exchangeData   Trade parameters for the exchange.
    */
  function deposit(
    IERC20 token,
    uint256 amount,
    uint256 starkKey,
    uint256 positionId,
    bytes calldata exchangeData
  ) public payable nonReentrant returns (uint256) {
    uint256 returnAmount;
    uint256 beforeSwapBalance = IERC20(USDC_ADDRESS).balanceOf(address(this));

    if (address(token) == USDC_ADDRESS){   // deposit USDC 
      token.safeTransferFrom(msg.sender, address(this), amount);
      returnAmount = amount;
    } else {
      (, IAggregationRouterV4.SwapDescription memory desc,) = abi.decode(exchangeData[4:], (address, IAggregationRouterV4.SwapDescription, bytes));
      require(token == desc.srcToken, 'mismatch token and desc.srcToken');
      require(USDC_ADDRESS == address(desc.dstToken), 'invalid desc.dstToken');
      require(amount == desc.amount, 'mismatch amount and desc.amount');
      require(address(this) == desc.dstReceiver, 'invalid desc.dstReceiver');

      bool isNativeToken = isNative(desc.srcToken);
      if (!isNativeToken) {  // deposit other ERC20 tokens 
        desc.srcToken.safeTransferFrom(msg.sender, address(this), desc.amount);

        // safeApprove requires unsetting the allowance first.
        desc.srcToken.safeApprove(AGGREGATION_ROUTER_V4_ADDRESS, 0);
        desc.srcToken.safeApprove(AGGREGATION_ROUTER_V4_ADDRESS, desc.amount);
      }

      // Swap token
      (bool success, bytes memory returndata)= AGGREGATION_ROUTER_V4_ADDRESS.call{value:msg.value}(exchangeData);
      require(success, "exchange failed");

      (returnAmount, ) = abi.decode(returndata, (uint256, uint256));
      require(returnAmount >= desc.minReturnAmount, 'received USDC less than minReturnAmount');
    }

    uint256 afterSwapBalance = IERC20(USDC_ADDRESS).balanceOf(address(this));
    require (afterSwapBalance == beforeSwapBalance.add(returnAmount),"swap incorrect");

    // ethereum deposit to starkex directly
    if (block.chainid == 1 || block.chainid == 5){
      // safeApprove requires unsetting the allowance first.
      IERC20(USDC_ADDRESS).safeApprove(STARKEX_ADDRESS, 0);
      IERC20(USDC_ADDRESS).safeApprove(STARKEX_ADDRESS, returnAmount);

      // deposit to starkex
      IStarkEx starkEx = IStarkEx(STARKEX_ADDRESS);
      starkEx.depositERC20(starkKey, ASSET_TYPE, positionId, returnAmount);
      return returnAmount;
    }

    emit Deposit(
      msg.sender,
      address(token),
      amount,
      returnAmount,
      starkKey,
      positionId
    );

    return returnAmount;
  }

  /**
   * Withdraw ETHER from this wallet using 2 signers.
   *
   * @param  to         the destination address to send an outgoing transaction
   * @param  amount     the amount in Wei to be sent
   * @param  expireTime the number of seconds since 1970 for which this transaction is valid
   * @param  orderId    the unique order id 
   * @param  allSigners all signers who sign the tx
   * @param  signatures the signatures of tx
   */
  function withdrawETH(
    address payable to,
    uint256 amount,
    uint256 expireTime,
    uint256 orderId,
    address[] memory allSigners,
    bytes[] memory signatures
  ) public nonReentrant {
    require(allSigners.length >= 2, "invalid allSigners length");
    require(allSigners.length == signatures.length, "invalid signatures length");
    require(allSigners[0] != allSigners[1],"can not be same signer"); // must be different signer
    require(expireTime >= block.timestamp,"expired transaction");

    bytes32 operationHash = keccak256(abi.encodePacked("ETHER", to, amount, expireTime, orderId, address(this)));
    operationHash = ECDSA.toEthSignedMessageHash(operationHash);
    
    for (uint8 index = 0; index < allSigners.length; index++) {
      address signer = ECDSA.recover(operationHash, signatures[index]);
      require(signer == allSigners[index], "invalid signer");
      require(isAllowedSigner(signer), "not allowed signer");
    }

    // Try to insert the order ID. Will revert if the order id was invalid
    tryInsertOrderId(orderId, to, amount, address(0));

    // send ETHER
    require(address(this).balance >= amount, "Address: insufficient balance");
    (bool success, ) = to.call{value: amount}("");
    require(success, "Address: unable to send value, recipient may have reverted");

    emit WithdrawETH(orderId, to, amount);
  }
  
  /**
   * Withdraw ERC20 from this wallet using 2 signers.
   *
   * @param  to         the destination address to send an outgoing transactioni
   * @param  amount     the amount in Wei to be sent
   * @param  token      the address of the erc20 token contract
   * @param  expireTime the number of seconds since 1970 for which this transaction is valid
   * @param  orderId    the unique order id 
   * @param  allSigners all signer who sign the tx
   * @param  signatures the signatures of tx
   */
  function withdrawErc20(
    address to,
    uint256 amount,
    address token,
    uint256 expireTime,
    uint256 orderId,
    address[] memory allSigners,
    bytes[] memory signatures
  ) public nonReentrant {
    require(allSigners.length >=2, "invalid allSigners length");
    require(allSigners.length == signatures.length, "invalid signatures length");
    require(allSigners[0] != allSigners[1],"can not be same signer"); // must be different signer
    require(expireTime >= block.timestamp,"expired transaction");

    bytes32 operationHash = keccak256(abi.encodePacked("ERC20", to, amount, token, expireTime, orderId, address(this)));
    operationHash = ECDSA.toEthSignedMessageHash(operationHash);

    for (uint8 index = 0; index < allSigners.length; index++) {
      address signer = ECDSA.recover(operationHash, signatures[index]);
      require(signer == allSigners[index], "invalid signer");
      require(isAllowedSigner(signer),"not allowed signer");
    }

    // Try to insert the order ID. Will revert if the order id was invalid
    tryInsertOrderId(orderId, to, amount, token);

    // Success, send ERC20 token
    IERC20(token).safeTransfer(to, amount);
    emit WithdrawERC20(orderId, token, to, amount);
  }

  /**
   * Withdraw ERC20 from this wallet using 2 signers.
   * The function only can be called when user make a fast withdraw in ApexPro.
   *
   * @param  to         the destination address to send an outgoing transaction
   * @param  amount     the amount in wei to be sent
   * @param  token      the address of the erc20 token contract
   * @param  salt       salt amount to generate fact
   * @param  expireTime the number of seconds since 1970 for which this transaction is valid
   * @param  orderId    the unique order id 
   * @param  allSigners all signer who sign the tx
   * @param  signatures the signatures of tx
   */
  function factTransferErc20(
    address to,
    address token,
    uint256 amount,
    uint256 salt,
    uint256 expireTime,
    uint256 orderId,
    address[] memory allSigners,
    bytes[] memory signatures
  ) public nonReentrant {
    require(token == USDC_ADDRESS,"invalid token");
    require(allSigners.length >=2, "invalid allSigners length");
    require(allSigners.length == signatures.length, "invalid signatures length");
    require(allSigners[0] != allSigners[1],"can not be same signer"); // must be different signer
    require(expireTime >= block.timestamp,"expired transaction");

    bytes32 operationHash = keccak256(abi.encodePacked("FAST",to, amount, token, expireTime, salt, orderId, address(this)));
    operationHash = ECDSA.toEthSignedMessageHash(operationHash);

    for (uint8 index = 0; index < allSigners.length; index++) {
      address signer = ECDSA.recover(operationHash, signatures[index]);
      require(signer == allSigners[index], "invalid signer");
      require(isAllowedSigner(signer),"not allowed signer");
    }

    // Try to insert the order ID. Will revert if the order id was invalid
    tryInsertOrderId(orderId, to, amount, token);

    // check fact 
    bytes32 transferFact =  keccak256(abi.encodePacked(to, amount, token, salt));
    IFactRegister factAddress = IFactRegister(FACT_ADDRESS);
    require(!factAddress.isValid(transferFact),"fact already isValid");

    // safeApprove requires unsetting the allowance first.
    IERC20(token).safeApprove(FACT_ADDRESS, 0);
    IERC20(token).safeApprove(FACT_ADDRESS, amount);
  
    factAddress.transferERC20(to, token, amount, salt);
    emit WithdrawERC20(orderId, token, to, amount);
  }

  function isNative(IERC20 token_) internal pure returns (bool) {
    return (token_ == ZERO_ADDRESS || token_ == ETH_ADDRESS);
  }

  /**
   * Determine if an address is a signer on this wallet
   *
   * @param signer address to check
   */
  function isAllowedSigner(address signer) public view returns (bool) {
    // Iterate through all signers on the wallet and
    for (uint i = 0; i < signers.length; i++) {
      if (signers[i] == signer) {
        return true;
      }
    }
    return false;
  }
  
  /**
   * Verify that the order id has not been used before and inserts it. Throws if the order ID was not accepted.
   *
   * @param orderId   the unique order id 
   * @param to        the destination address to send an outgoing transaction
   * @param amount     the amount in Wei to be sent
   * @param token     the address of the ERC20 contract
   */
  function tryInsertOrderId(
      uint256 orderId, 
      address to,
      uint256 amount, 
      address token
    ) internal {
    if (orders[orderId].executed) {
        // This order ID has been excuted before. Disallow!
        revert("repeated order");
    }

    orders[orderId].executed = true;
    orders[orderId].to = to;
    orders[orderId].amount = amount;
    orders[orderId].token = token;
  }

  /**
   * calcSigHash is a helper function that to help you generate the sighash needed for withdrawal.
   *
   * @param to          the destination address
   * @param amount       the amount in Wei to be sent
   * @param token       the address of the ERC20 contract
   * @param expireTime  the number of seconds since 1970 for which this transaction is valid
   * @param orderId     the unique order id 
   * @param isFact      If fact withdraw calc sighash
   * @param salt        Th salt amount to generate fact
   */

  function calcSigHash(
    address to,
    uint256 amount,
    address token,
    uint256 expireTime,
    uint256 orderId,
    bool isFact,
    uint256 salt) public view returns (bytes32) {
    bytes32 operationHash;

    if (isFact) {
      operationHash = keccak256(abi.encodePacked("FAST", to, amount, token, expireTime, salt, orderId, address(this)));
    } else if (token == address(0)) {
      operationHash = keccak256(abi.encodePacked("ETHER", to, amount, expireTime, orderId, address(this)));
    } else {
      operationHash = keccak256(abi.encodePacked("ERC20", to, amount, token, expireTime, orderId, address(this)));
    }
    return operationHash;
  }
}

File 2 of 14 : IAggregationRouterV4.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./IAggregationExecutor.sol";

interface IAggregationRouterV4 {
    struct SwapDescription {
      IERC20 srcToken;
      IERC20 dstToken;
      address payable srcReceiver;
      address payable dstReceiver;
      uint256 amount;
      uint256 minReturnAmount;
      uint256 flags;
      bytes permit;
    }

    function swap(
        IAggregationExecutor caller,
        SwapDescription calldata desc,
        bytes calldata data
    )
        external
        payable
        returns (
            uint256 returnAmount,
            uint256 spentAmount,
            uint256 gasLeft
        );
}

File 3 of 14 : IWETH.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IWETH {
    function deposit() external payable;
    function approve(address to, uint256 value) external returns (bool);
    function transfer(address to, uint256 value) external returns (bool);
    function withdraw(uint256) external;
}

File 4 of 14 : IStarkEx.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;

interface IStarkEx  {
    function getEthKey(
        uint256 starkKey
    ) external view returns (address);

    function isMsgSenderKeyOwner(
        uint256 ownerKey
    ) external view returns (bool);

    function registerEthAddress(
        address ethKey,
        uint256 starkKey,
        bytes calldata starkSignature
    ) external;

    function depositERC20(
        uint256 starkKey,
        uint256 assetType,
        uint256 vaultId,
        uint256 quantizedAmount
    ) external;

    function getWithdrawalBalance(
        uint256 starkKey,
        uint256 assetId
    ) external view returns (uint256 balance);

    function withdraw(
        uint256 starkKey, 
        uint256 assetId
    ) external;

    function forcedWithdrawalRequest(
        uint256 starkKey,
        uint256 vaultId,
        uint256 quantizedAmount,
        bool premiumCost
    ) external;
}

File 5 of 14 : IFactRegister.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IFactRegister {
    function isValid(bytes32 fact) external view returns (bool);

    function transferERC20(
        address recipient,
        address erc20,
        uint256 amount,
        uint256 salt
    ) external;
}

File 6 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

import "../IERC20.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;

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

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

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

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

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

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

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

File 8 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 9 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 10 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 11 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 12 of 14 : IAggregationExecutor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IAggregationExecutor {
    function callBytes(bytes calldata data) external payable;
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 14 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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":"allowedSigners","type":"address[]"},{"internalType":"address","name":"usdc","type":"address"},{"internalType":"address","name":"aggregationRouterV4","type":"address"},{"internalType":"address","name":"starkex","type":"address"},{"internalType":"address","name":"fact","type":"address"},{"internalType":"uint256","name":"assetType","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"spentAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"swapReturnAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"starkKey","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawETH","type":"event"},{"inputs":[],"name":"AGGREGATION_ROUTER_V4_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ASSET_TYPE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FACT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STARKEX_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"expireTime","type":"uint256"},{"internalType":"uint256","name":"orderId","type":"uint256"},{"internalType":"bool","name":"isFact","type":"bool"},{"internalType":"uint256","name":"salt","type":"uint256"}],"name":"calcSigHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"starkKey","type":"uint256"},{"internalType":"uint256","name":"positionId","type":"uint256"},{"internalType":"bytes","name":"exchangeData","type":"bytes"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"uint256","name":"expireTime","type":"uint256"},{"internalType":"uint256","name":"orderId","type":"uint256"},{"internalType":"address[]","name":"allSigners","type":"address[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"factTransferErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"isAllowedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"signers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"expireTime","type":"uint256"},{"internalType":"uint256","name":"orderId","type":"uint256"},{"internalType":"address[]","name":"allSigners","type":"address[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"expireTime","type":"uint256"},{"internalType":"uint256","name":"orderId","type":"uint256"},{"internalType":"address[]","name":"allSigners","type":"address[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"withdrawErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101006040523480156200001257600080fd5b50604051620056f6380380620056f68339818101604052810190620000389190620006d5565b6001600081905550600386511462000087576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200007e9062000886565b60405180910390fd5b85600181518110620000c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16866000815181106200011b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614156200017d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001749062000864565b60405180910390fd5b85600281518110620001b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168660008151811062000211577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141562000273576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026a9062000864565b60405180910390fd5b85600281518110620002ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168660018151811062000307577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141562000369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003609062000864565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415620003dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d39062000842565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200044f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004469062000820565b60405180910390fd5b85600190805190602001906200046792919062000557565b508473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508373ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508173ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508060038190555050505050505062000a9d565b828054828255906000526020600020908101928215620005d3579160200282015b82811115620005d25782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000578565b5b509050620005e29190620005e6565b5090565b5b8082111562000601576000816000905550600101620005e7565b5090565b60006200061c6200061684620008d1565b620008a8565b905080838252602082019050828560208602820111156200063c57600080fd5b60005b858110156200067057816200065588826200067a565b8452602084019350602083019250506001810190506200063f565b5050509392505050565b6000815190506200068b8162000a69565b92915050565b600082601f830112620006a357600080fd5b8151620006b584826020860162000605565b91505092915050565b600081519050620006cf8162000a83565b92915050565b60008060008060008060c08789031215620006ef57600080fd5b600087015167ffffffffffffffff8111156200070a57600080fd5b6200071889828a0162000691565b96505060206200072b89828a016200067a565b95505060406200073e89828a016200067a565b94505060606200075189828a016200067a565b93505060806200076489828a016200067a565b92505060a06200077789828a01620006be565b9150509295509295509295565b60006200079360158362000900565b9150620007a082620009c5565b602082019050919050565b6000620007ba60148362000900565b9150620007c782620009ee565b602082019050919050565b6000620007e160198362000900565b9150620007ee8262000a17565b602082019050919050565b60006200080860198362000900565b9150620008158262000a40565b602082019050919050565b600060208201905081810360008301526200083b8162000784565b9050919050565b600060208201905081810360008301526200085d81620007ab565b9050919050565b600060208201905081810360008301526200087f81620007d2565b9050919050565b60006020820190508181036000830152620008a181620007f9565b9050919050565b6000620008b4620008c7565b9050620008c282826200094f565b919050565b6000604051905090565b600067ffffffffffffffff821115620008ef57620008ee62000985565b5b602082029050602081019050919050565b600082825260208201905092915050565b60006200091e8262000925565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6200095a82620009b4565b810181811067ffffffffffffffff821117156200097c576200097b62000985565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f696e76616c69642031696e636820616464726573730000000000000000000000600082015250565b7f696e76616c696420757364632061646472657373000000000000000000000000600082015250565b7f6d75737420626520646966666572656e74207369676e65727300000000000000600082015250565b7f696e76616c696420616c6c5369676e657273206c656e67746800000000000000600082015250565b62000a748162000911565b811462000a8057600080fd5b50565b62000a8e8162000945565b811462000a9a57600080fd5b50565b60805160601c60a05160601c60c05160601c60e05160601c614ba362000b5360003960008181610db001528181611284015281816112d4015261132801526000818161088601528181611bce01528181611cbd0152611d0901526000818161086201528181611574015281816115e0015261164a015260008181610dd401528181610f2001528181610fcb015281816111070152818161145e015281816115970152818161160201526117940152614ba36000f3fe6080604052600436106100ab5760003560e01c80638815eb39116100645780638815eb39146101d95780639b677ee814610204578063bb09d9b71461022f578063cabb9e7a1461025a578063cfe96c8414610297578063f13b4975146102c7576100b2565b806305729d58146100b75780631025e095146100f45780632079fb9a1461011d578063391cdc081461015a578063496eff7b146101855780636b1430d6146101b0576100b2565b366100b257005b600080fd5b3480156100c357600080fd5b506100de60048036038101906100d991906130da565b6102f0565b6040516100eb9190613c5f565b60405180910390f35b34801561010057600080fd5b5061011b6004803603810190610116919061300c565b6103e2565b005b34801561012957600080fd5b50610144600480360381019061013f9190613233565b610821565b6040516101519190613afa565b60405180910390f35b34801561016657600080fd5b5061016f610860565b60405161017c9190613afa565b60405180910390f35b34801561019157600080fd5b5061019a610884565b6040516101a79190613afa565b60405180910390f35b3480156101bc57600080fd5b506101d760048036038101906101d29190612e71565b6108a8565b005b3480156101e557600080fd5b506101ee610da8565b6040516101fb9190614041565b60405180910390f35b34801561021057600080fd5b50610219610dae565b6040516102269190613afa565b60405180910390f35b34801561023b57600080fd5b50610244610dd2565b6040516102519190613afa565b60405180910390f35b34801561026657600080fd5b50610281600480360381019061027c9190612dc9565b610df6565b60405161028e9190613c44565b60405180910390f35b6102b160048036038101906102ac91906131a1565b610ecb565b6040516102be9190614041565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e99190612f2a565b611744565b005b6000808315610333578888888886893060405160200161031697969594939291906139de565b6040516020818303038152906040528051906020012090506103d3565b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141561039e57888887873060405160200161038195949392919061394e565b6040516020818303038152906040528051906020012090506103d2565b8888888888306040516020016103b996959493929190613a6a565b6040516020818303038152906040528051906020012090505b5b80915050979650505050505050565b60026000541415610428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041f90613fe1565b60405180910390fd5b6002600081905550600282511015610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90613f21565b60405180910390fd5b80518251146104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090613d41565b60405180910390fd5b816001815181106104f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168260008151811061054b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614156105aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a190613fc1565b60405180910390fd5b428410156105ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e490613f41565b60405180910390fd5b600087878787873060405160200161060a96959493929190613a6a565b60405160208183030381529060405280519060200120905061062b81611e12565b905060005b83518160ff16101561079a57600061068b83858460ff168151811061067e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611e42565b9050848260ff16815181106106c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461073e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073590613d81565b60405180910390fd5b61074781610df6565b610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90613da1565b60405180910390fd5b50808061079290614406565b915050610630565b506107a784898989611e69565b6107d288888873ffffffffffffffffffffffffffffffffffffffff16611fc79092919063ffffffff16565b7ff8eff9ed148da048feccebca2617170aec98bea5840b0b0be8a289ec03c375fd84878a8a6040516108079493929190614093565b60405180910390a150600160008190555050505050505050565b6001818154811061083157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600260005414156108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e590613fe1565b60405180910390fd5b600260008190555060028251101561093b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093290613f21565b60405180910390fd5b805182511461097f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097690613d41565b60405180910390fd5b816001815181106109b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1682600081518110610a11577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790613fc1565b60405180910390fd5b42841015610ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaa90613f41565b60405180910390fd5b60008686868630604051602001610ace9594939291906138e4565b604051602081830303815290604052805190602001209050610aef81611e12565b905060005b83518160ff161015610c5e576000610b4f83858460ff1681518110610b42577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611e42565b9050848260ff1681518110610b8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf990613d81565b60405180910390fd5b610c0b81610df6565b610c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4190613da1565b60405180910390fd5b508080610c5690614406565b915050610af4565b50610c6c8488886000611e69565b85471015610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690613e21565b60405180910390fd5b60008773ffffffffffffffffffffffffffffffffffffffff1687604051610cd590613ae5565b60006040518083038185875af1925050503d8060008114610d12576040519150601f19603f3d011682016040523d82523d6000602084013e610d17565b606091505b5050905080610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5290613de1565b60405180910390fd5b7f4d7574efc376e1ee5e6eacc9b23ed30ae9f40acfddb028be515fb99a14e2290c858989604051610d8e9392919061405c565b60405180910390a150506001600081905550505050505050565b60035481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080600090505b600180549050811015610ec0578273ffffffffffffffffffffffffffffffffffffffff1660018281548110610e5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ead576001915050610ec6565b8080610eb8906143bd565b915050610dfe565b50600090505b919050565b600060026000541415610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613fe1565b60405180910390fd5b60026000819055506000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f779190613afa565b60206040518083038186803b158015610f8f57600080fd5b505afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc7919061325c565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614156110525761104a33308a8c73ffffffffffffffffffffffffffffffffffffffff1661204d909392919063ffffffff16565b87915061145a565b60008585600490809261106793929190614208565b8101906110749190612df2565b50915050806000015173ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff16146110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e190613ea1565b60405180910390fd5b806020015173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161461117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390613dc1565b60405180910390fd5b806080015189146111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990613e61565b60405180910390fd5b806060015173ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613d01565b60405180910390fd5b600061124382600001516120d6565b9050806113235761127f33308460800151856000015173ffffffffffffffffffffffffffffffffffffffff1661204d909392919063ffffffff16565b6112cf7f00000000000000000000000000000000000000000000000000000000000000006000846000015173ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b6113227f00000000000000000000000000000000000000000000000000000000000000008360800151846000015173ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b5b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16348a8a60405161136e9291906138b4565b60006040518083038185875af1925050503d80600081146113ab576040519150601f19603f3d011682016040523d82523d6000602084013e6113b0565b606091505b5091509150816113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613d61565b60405180910390fd5b808060200190518101906114099190613285565b50809650508360a00151861015611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90613f01565b60405180910390fd5b505050505b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114b59190613afa565b60206040518083038186803b1580156114cd57600080fd5b505afa1580156114e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611505919061325c565b905061151a83836122b690919063ffffffff16565b811461155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290613e81565b60405180910390fd5b600146148061156a5750600546145b156116ea576115db7f000000000000000000000000000000000000000000000000000000000000000060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b6116467f0000000000000000000000000000000000000000000000000000000000000000847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff16639ed170848a6003548b886040518563ffffffff1660e01b81526004016116ac94939291906140d8565b600060405180830381600087803b1580156116c657600080fd5b505af11580156116da573d6000803e3d6000fd5b5050505083945050505050611732565b7f5f971bd00bf3ffbca8a6d72cdd4fd92cfd4f62636161921d1e5a64f0b64ccb6d338b8b868c8c60405161172396959493929190613bba565b60405180910390a18293505050505b60016000819055509695505050505050565b6002600054141561178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190613fe1565b60405180910390fd5b60026000819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790613ee1565b60405180910390fd5b600282511015611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c90613f21565b60405180910390fd5b80518251146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613d41565b60405180910390fd5b816001815181106118e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168260008151811061193b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141561199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190613fc1565b60405180910390fd5b428410156119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490613f41565b60405180910390fd5b6000888789878988306040516020016119fc97969594939291906139de565b604051602081830303815290604052805190602001209050611a1d81611e12565b905060005b83518160ff161015611b8c576000611a7d83858460ff1681518110611a70577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611e42565b9050848260ff1681518110611abb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2790613d81565b60405180910390fd5b611b3981610df6565b611b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6f90613da1565b60405180910390fd5b508080611b8490614406565b915050611a22565b50611b99848a898b611e69565b600089888a89604051602001611bb29493929190613866565b60405160208183030381529060405280519060200120905060007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff16636a938567836040518263ffffffff1660e01b8152600401611c289190613c5f565b60206040518083038186803b158015611c4057600080fd5b505afa158015611c54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c789190613178565b15611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf90614001565b60405180910390fd5b611d047f000000000000000000000000000000000000000000000000000000000000000060008c73ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b611d4f7f00000000000000000000000000000000000000000000000000000000000000008a8c73ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff166355a2ba688c8c8c8c6040518563ffffffff1660e01b8152600401611d8e9493929190613b75565b600060405180830381600087803b158015611da857600080fd5b505af1158015611dbc573d6000803e3d6000fd5b505050507ff8eff9ed148da048feccebca2617170aec98bea5840b0b0be8a289ec03c375fd868b8d8c604051611df59493929190614093565b60405180910390a150505060016000819055505050505050505050565b600081604051602001611e2591906139b8565b604051602081830303815290604052805190602001209050919050565b6000806000611e5185856122cc565b91509150611e5e8161234f565b819250505092915050565b6002600085815260200190815260200160002060020160149054906101000a900460ff1615611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec490613f81565b60405180910390fd5b60016002600086815260200190815260200160002060020160146101000a81548160ff021916908315150217905550826002600086815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816002600086815260200190815260200160002060010181905550806002600086815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6120488363a9059cbb60e01b8484604051602401611fe6929190613c1b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126a0565b505050565b6120d0846323b872dd60e01b85858560405160240161206e93929190613b3e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126a0565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480612151575073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b60008114806121f1575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b815260040161219f929190613b15565b60206040518083038186803b1580156121b757600080fd5b505afa1580156121cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ef919061325c565b145b612230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222790614021565b60405180910390fd5b6122b18363095ea7b360e01b848460405160240161224f929190613c1b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126a0565b505050565b600081836122c4919061423b565b905092915050565b60008060418351141561230e5760008060006020860151925060408601519150606086015160001a905061230287828585612767565b94509450505050612348565b60408351141561233f576000806020850151915060408501519050612334868383612874565b935093505050612348565b60006002915091505b9250929050565b60006004811115612389577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156123c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156123cd5761269d565b60016004811115612407577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612440577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247890613ce1565b60405180910390fd5b600260048111156124bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156124f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c90613d21565b60405180910390fd5b6003600481111561256f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156125e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e090613e01565b60405180910390fd5b600480811115612622577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561265b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561269c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269390613ec1565b60405180910390fd5b5b50565b6000612702826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166128d39092919063ffffffff16565b905060008151111561276257808060200190518101906127229190613178565b612761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275890613fa1565b60405180910390fd5b5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156127a257600060039150915061286b565b601b8560ff16141580156127ba5750601c8560ff1614155b156127cc57600060049150915061286b565b6000600187878787604051600081526020016040526040516127f19493929190613c7a565b6020604051602081039080840390855afa158015612813573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128625760006001925092505061286b565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6128b7919061423b565b90506128c587828885612767565b935093505050935093915050565b60606128e284846000856128eb565b90509392505050565b606082471015612930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292790613e41565b60405180910390fd5b612939856129ff565b612978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296f90613f61565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516129a191906138cd565b60006040518083038185875af1925050503d80600081146129de576040519150601f19603f3d011682016040523d82523d6000602084013e6129e3565b606091505b50915091506129f3828286612a22565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315612a3257829050612a82565b600083511115612a455782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a799190613cbf565b60405180910390fd5b9392505050565b6000612a9c612a9784614142565b61411d565b90508083825260208201905082856020860282011115612abb57600080fd5b60005b85811015612aeb5781612ad18882612b90565b845260208401935060208301925050600181019050612abe565b5050509392505050565b6000612b08612b038461416e565b61411d565b9050808382526020820190508260005b85811015612b485781358501612b2e8882612c82565b845260208401935060208301925050600181019050612b18565b5050509392505050565b6000612b65612b608461419a565b61411d565b905082815260208101848484011115612b7d57600080fd5b612b8884828561434a565b509392505050565b600081359050612b9f81614afa565b92915050565b600081359050612bb481614b11565b92915050565b600082601f830112612bcb57600080fd5b8135612bdb848260208601612a89565b91505092915050565b600082601f830112612bf557600080fd5b8135612c05848260208601612af5565b91505092915050565b600081359050612c1d81614b28565b92915050565b600081519050612c3281614b28565b92915050565b60008083601f840112612c4a57600080fd5b8235905067ffffffffffffffff811115612c6357600080fd5b602083019150836001820283011115612c7b57600080fd5b9250929050565b600082601f830112612c9357600080fd5b8135612ca3848260208601612b52565b91505092915050565b600081359050612cbb81614b3f565b92915050565b60006101008284031215612cd457600080fd5b612cdf61010061411d565b90506000612cef84828501612cac565b6000830152506020612d0384828501612cac565b6020830152506040612d1784828501612ba5565b6040830152506060612d2b84828501612ba5565b6060830152506080612d3f84828501612d9f565b60808301525060a0612d5384828501612d9f565b60a08301525060c0612d6784828501612d9f565b60c08301525060e082013567ffffffffffffffff811115612d8757600080fd5b612d9384828501612c82565b60e08301525092915050565b600081359050612dae81614b56565b92915050565b600081519050612dc381614b56565b92915050565b600060208284031215612ddb57600080fd5b6000612de984828501612b90565b91505092915050565b600080600060608486031215612e0757600080fd5b6000612e1586828701612ba5565b935050602084013567ffffffffffffffff811115612e3257600080fd5b612e3e86828701612cc1565b925050604084013567ffffffffffffffff811115612e5b57600080fd5b612e6786828701612c82565b9150509250925092565b60008060008060008060c08789031215612e8a57600080fd5b6000612e9889828a01612ba5565b9650506020612ea989828a01612d9f565b9550506040612eba89828a01612d9f565b9450506060612ecb89828a01612d9f565b935050608087013567ffffffffffffffff811115612ee857600080fd5b612ef489828a01612bba565b92505060a087013567ffffffffffffffff811115612f1157600080fd5b612f1d89828a01612be4565b9150509295509295509295565b600080600080600080600080610100898b031215612f4757600080fd5b6000612f558b828c01612b90565b9850506020612f668b828c01612b90565b9750506040612f778b828c01612d9f565b9650506060612f888b828c01612d9f565b9550506080612f998b828c01612d9f565b94505060a0612faa8b828c01612d9f565b93505060c089013567ffffffffffffffff811115612fc757600080fd5b612fd38b828c01612bba565b92505060e089013567ffffffffffffffff811115612ff057600080fd5b612ffc8b828c01612be4565b9150509295985092959890939650565b600080600080600080600060e0888a03121561302757600080fd5b60006130358a828b01612b90565b97505060206130468a828b01612d9f565b96505060406130578a828b01612b90565b95505060606130688a828b01612d9f565b94505060806130798a828b01612d9f565b93505060a088013567ffffffffffffffff81111561309657600080fd5b6130a28a828b01612bba565b92505060c088013567ffffffffffffffff8111156130bf57600080fd5b6130cb8a828b01612be4565b91505092959891949750929550565b600080600080600080600060e0888a0312156130f557600080fd5b60006131038a828b01612b90565b97505060206131148a828b01612d9f565b96505060406131258a828b01612b90565b95505060606131368a828b01612d9f565b94505060806131478a828b01612d9f565b93505060a06131588a828b01612c0e565b92505060c06131698a828b01612d9f565b91505092959891949750929550565b60006020828403121561318a57600080fd5b600061319884828501612c23565b91505092915050565b60008060008060008060a087890312156131ba57600080fd5b60006131c889828a01612cac565b96505060206131d989828a01612d9f565b95505060406131ea89828a01612d9f565b94505060606131fb89828a01612d9f565b935050608087013567ffffffffffffffff81111561321857600080fd5b61322489828a01612c38565b92509250509295509295509295565b60006020828403121561324557600080fd5b600061325384828501612d9f565b91505092915050565b60006020828403121561326e57600080fd5b600061327c84828501612db4565b91505092915050565b6000806040838503121561329857600080fd5b60006132a685828601612db4565b92505060206132b785828601612db4565b9150509250929050565b6132ca81614314565b82525050565b6132e16132dc826142a3565b614442565b82525050565b6132f081614291565b82525050565b61330761330282614291565b614430565b82525050565b613316816142b5565b82525050565b613325816142c1565b82525050565b61333c613337826142c1565b614454565b82525050565b600061334e83856141e1565b935061335b83858461434a565b82840190509392505050565b6000613372826141cb565b61337c81856141e1565b935061338c818560208601614359565b80840191505092915050565b60006133a3826141d6565b6133ad81856141ec565b93506133bd818560208601614359565b6133c6816144d8565b840191505092915050565b60006133de6018836141ec565b91506133e9826144f6565b602082019050919050565b60006134016018836141ec565b915061340c8261451f565b602082019050919050565b60006134246005836141fd565b915061342f82614548565b600582019050919050565b6000613447601f836141ec565b915061345282614571565b602082019050919050565b600061346a601c836141fd565b91506134758261459a565b601c82019050919050565b600061348d6019836141ec565b9150613498826145c3565b602082019050919050565b60006134b0600f836141ec565b91506134bb826145ec565b602082019050919050565b60006134d3600e836141ec565b91506134de82614615565b602082019050919050565b60006134f66012836141ec565b91506135018261463e565b602082019050919050565b60006135196015836141ec565b915061352482614667565b602082019050919050565b600061353c603a836141ec565b915061354782614690565b604082019050919050565b600061355f6022836141ec565b915061356a826146df565b604082019050919050565b6000613582601d836141ec565b915061358d8261472e565b602082019050919050565b60006135a56026836141ec565b91506135b082614757565b604082019050919050565b60006135c8601f836141ec565b91506135d3826147a6565b602082019050919050565b60006135eb6004836141fd565b91506135f6826147cf565b600482019050919050565b600061360e600e836141ec565b9150613619826147f8565b602082019050919050565b60006136316020836141ec565b915061363c82614821565b602082019050919050565b60006136546022836141ec565b915061365f8261484a565b604082019050919050565b60006136776005836141fd565b915061368282614899565b600582019050919050565b600061369a600d836141ec565b91506136a5826148c2565b602082019050919050565b60006136bd6027836141ec565b91506136c8826148eb565b604082019050919050565b60006136e06019836141ec565b91506136eb8261493a565b602082019050919050565b60006137036000836141e1565b915061370e82614963565b600082019050919050565b60006137266013836141ec565b915061373182614966565b602082019050919050565b6000613749601d836141ec565b91506137548261498f565b602082019050919050565b600061376c600e836141ec565b9150613777826149b8565b602082019050919050565b600061378f602a836141ec565b915061379a826149e1565b604082019050919050565b60006137b26016836141ec565b91506137bd82614a30565b602082019050919050565b60006137d5601f836141ec565b91506137e082614a59565b602082019050919050565b60006137f86014836141ec565b915061380382614a82565b602082019050919050565b600061381b6036836141ec565b915061382682614aab565b604082019050919050565b61383a816142fd565b82525050565b61385161384c826142fd565b614470565b82525050565b61386081614307565b82525050565b600061387282876132f6565b6014820191506138828286613840565b60208201915061389282856132f6565b6014820191506138a28284613840565b60208201915081905095945050505050565b60006138c1828486613342565b91508190509392505050565b60006138d98284613367565b915081905092915050565b60006138ef82613417565b91506138fb82886132d0565b60148201915061390b8287613840565b60208201915061391b8286613840565b60208201915061392b8285613840565b60208201915061393b82846132f6565b6014820191508190509695505050505050565b600061395982613417565b915061396582886132f6565b6014820191506139758287613840565b6020820191506139858286613840565b6020820191506139958285613840565b6020820191506139a582846132f6565b6014820191508190509695505050505050565b60006139c38261345d565b91506139cf828461332b565b60208201915081905092915050565b60006139e9826135de565b91506139f5828a6132f6565b601482019150613a058289613840565b602082019150613a1582886132f6565b601482019150613a258287613840565b602082019150613a358286613840565b602082019150613a458285613840565b602082019150613a5582846132f6565b60148201915081905098975050505050505050565b6000613a758261366a565b9150613a8182896132f6565b601482019150613a918288613840565b602082019150613aa182876132f6565b601482019150613ab18286613840565b602082019150613ac18285613840565b602082019150613ad182846132f6565b601482019150819050979650505050505050565b6000613af0826136f6565b9150819050919050565b6000602082019050613b0f60008301846132e7565b92915050565b6000604082019050613b2a60008301856132e7565b613b3760208301846132e7565b9392505050565b6000606082019050613b5360008301866132e7565b613b6060208301856132e7565b613b6d6040830184613831565b949350505050565b6000608082019050613b8a60008301876132e7565b613b9760208301866132e7565b613ba46040830185613831565b613bb16060830184613831565b95945050505050565b600060c082019050613bcf60008301896132e7565b613bdc60208301886132e7565b613be96040830187613831565b613bf66060830186613831565b613c036080830185613831565b613c1060a0830184613831565b979650505050505050565b6000604082019050613c3060008301856132e7565b613c3d6020830184613831565b9392505050565b6000602082019050613c59600083018461330d565b92915050565b6000602082019050613c74600083018461331c565b92915050565b6000608082019050613c8f600083018761331c565b613c9c6020830186613857565b613ca9604083018561331c565b613cb6606083018461331c565b95945050505050565b60006020820190508181036000830152613cd98184613398565b905092915050565b60006020820190508181036000830152613cfa816133d1565b9050919050565b60006020820190508181036000830152613d1a816133f4565b9050919050565b60006020820190508181036000830152613d3a8161343a565b9050919050565b60006020820190508181036000830152613d5a81613480565b9050919050565b60006020820190508181036000830152613d7a816134a3565b9050919050565b60006020820190508181036000830152613d9a816134c6565b9050919050565b60006020820190508181036000830152613dba816134e9565b9050919050565b60006020820190508181036000830152613dda8161350c565b9050919050565b60006020820190508181036000830152613dfa8161352f565b9050919050565b60006020820190508181036000830152613e1a81613552565b9050919050565b60006020820190508181036000830152613e3a81613575565b9050919050565b60006020820190508181036000830152613e5a81613598565b9050919050565b60006020820190508181036000830152613e7a816135bb565b9050919050565b60006020820190508181036000830152613e9a81613601565b9050919050565b60006020820190508181036000830152613eba81613624565b9050919050565b60006020820190508181036000830152613eda81613647565b9050919050565b60006020820190508181036000830152613efa8161368d565b9050919050565b60006020820190508181036000830152613f1a816136b0565b9050919050565b60006020820190508181036000830152613f3a816136d3565b9050919050565b60006020820190508181036000830152613f5a81613719565b9050919050565b60006020820190508181036000830152613f7a8161373c565b9050919050565b60006020820190508181036000830152613f9a8161375f565b9050919050565b60006020820190508181036000830152613fba81613782565b9050919050565b60006020820190508181036000830152613fda816137a5565b9050919050565b60006020820190508181036000830152613ffa816137c8565b9050919050565b6000602082019050818103600083015261401a816137eb565b9050919050565b6000602082019050818103600083015261403a8161380e565b9050919050565b60006020820190506140566000830184613831565b92915050565b60006060820190506140716000830186613831565b61407e60208301856132c1565b61408b6040830184613831565b949350505050565b60006080820190506140a86000830187613831565b6140b560208301866132e7565b6140c260408301856132e7565b6140cf6060830184613831565b95945050505050565b60006080820190506140ed6000830187613831565b6140fa6020830186613831565b6141076040830185613831565b6141146060830184613831565b95945050505050565b6000614127614138565b9050614133828261438c565b919050565b6000604051905090565b600067ffffffffffffffff82111561415d5761415c6144a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614189576141886144a9565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156141b5576141b46144a9565b5b6141be826144d8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000808585111561421857600080fd5b8386111561422557600080fd5b6001850283019150848603905094509492505050565b6000614246826142fd565b9150614251836142fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142865761428561447a565b5b828201905092915050565b600061429c826142dd565b9050919050565b60006142ae826142dd565b9050919050565b60008115159050919050565b6000819050919050565b60006142d682614291565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061431f82614326565b9050919050565b600061433182614338565b9050919050565b6000614343826142dd565b9050919050565b82818337600083830152505050565b60005b8381101561437757808201518184015260208101905061435c565b83811115614386576000848401525b50505050565b614395826144d8565b810181811067ffffffffffffffff821117156143b4576143b36144a9565b5b80604052505050565b60006143c8826142fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143fb576143fa61447a565b5b600182019050919050565b600061441182614307565b915060ff8214156144255761442461447a565b5b600182019050919050565b600061443b8261445e565b9050919050565b600061444d8261445e565b9050919050565b6000819050919050565b6000614469826144e9565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f696e76616c696420646573632e64737452656365697665720000000000000000600082015250565b7f4554484552000000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f696e76616c6964207369676e617475726573206c656e67746800000000000000600082015250565b7f65786368616e6765206661696c65640000000000000000000000000000000000600082015250565b7f696e76616c6964207369676e6572000000000000000000000000000000000000600082015250565b7f6e6f7420616c6c6f776564207369676e65720000000000000000000000000000600082015250565b7f696e76616c696420646573632e647374546f6b656e0000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f6d69736d6174636820616d6f756e7420616e6420646573632e616d6f756e7400600082015250565b7f4641535400000000000000000000000000000000000000000000000000000000600082015250565b7f7377617020696e636f7272656374000000000000000000000000000000000000600082015250565b7f6d69736d6174636820746f6b656e20616e6420646573632e737263546f6b656e600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230000000000000000000000000000000000000000000000000000000600082015250565b7f696e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b7f72656365697665642055534443206c657373207468616e206d696e526574757260008201527f6e416d6f756e7400000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420616c6c5369676e657273206c656e67746800000000000000600082015250565b50565b7f65787069726564207472616e73616374696f6e00000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f7265706561746564206f72646572000000000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f63616e206e6f742062652073616d65207369676e657200000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f6661637420616c726561647920697356616c6964000000000000000000000000600082015250565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b614b0381614291565b8114614b0e57600080fd5b50565b614b1a816142a3565b8114614b2557600080fd5b50565b614b31816142b5565b8114614b3c57600080fd5b50565b614b48816142cb565b8114614b5357600080fd5b50565b614b5f816142fd565b8114614b6a57600080fd5b5056fea264697066735822122043c1e6ae765e106aad4a68367471a6312424fbd788ecef51e2544cefdf8cddd864736f6c6343000802003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a02893294412a4c8f915f75892b395ebbf6859ec246ec365c3b1f56f47c3a0a5d0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000015155d9f7bb601fbf25084c106531c759c05379000000000000000000000000321072f3ce95eda4cc87f42fa483a5822a8a7a92000000000000000000000000fa85bea9b0f2d9540040118beacbad7258f45d81

Deployed Bytecode

0x6080604052600436106100ab5760003560e01c80638815eb39116100645780638815eb39146101d95780639b677ee814610204578063bb09d9b71461022f578063cabb9e7a1461025a578063cfe96c8414610297578063f13b4975146102c7576100b2565b806305729d58146100b75780631025e095146100f45780632079fb9a1461011d578063391cdc081461015a578063496eff7b146101855780636b1430d6146101b0576100b2565b366100b257005b600080fd5b3480156100c357600080fd5b506100de60048036038101906100d991906130da565b6102f0565b6040516100eb9190613c5f565b60405180910390f35b34801561010057600080fd5b5061011b6004803603810190610116919061300c565b6103e2565b005b34801561012957600080fd5b50610144600480360381019061013f9190613233565b610821565b6040516101519190613afa565b60405180910390f35b34801561016657600080fd5b5061016f610860565b60405161017c9190613afa565b60405180910390f35b34801561019157600080fd5b5061019a610884565b6040516101a79190613afa565b60405180910390f35b3480156101bc57600080fd5b506101d760048036038101906101d29190612e71565b6108a8565b005b3480156101e557600080fd5b506101ee610da8565b6040516101fb9190614041565b60405180910390f35b34801561021057600080fd5b50610219610dae565b6040516102269190613afa565b60405180910390f35b34801561023b57600080fd5b50610244610dd2565b6040516102519190613afa565b60405180910390f35b34801561026657600080fd5b50610281600480360381019061027c9190612dc9565b610df6565b60405161028e9190613c44565b60405180910390f35b6102b160048036038101906102ac91906131a1565b610ecb565b6040516102be9190614041565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e99190612f2a565b611744565b005b6000808315610333578888888886893060405160200161031697969594939291906139de565b6040516020818303038152906040528051906020012090506103d3565b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141561039e57888887873060405160200161038195949392919061394e565b6040516020818303038152906040528051906020012090506103d2565b8888888888306040516020016103b996959493929190613a6a565b6040516020818303038152906040528051906020012090505b5b80915050979650505050505050565b60026000541415610428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041f90613fe1565b60405180910390fd5b6002600081905550600282511015610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90613f21565b60405180910390fd5b80518251146104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090613d41565b60405180910390fd5b816001815181106104f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168260008151811061054b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614156105aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a190613fc1565b60405180910390fd5b428410156105ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e490613f41565b60405180910390fd5b600087878787873060405160200161060a96959493929190613a6a565b60405160208183030381529060405280519060200120905061062b81611e12565b905060005b83518160ff16101561079a57600061068b83858460ff168151811061067e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611e42565b9050848260ff16815181106106c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461073e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073590613d81565b60405180910390fd5b61074781610df6565b610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90613da1565b60405180910390fd5b50808061079290614406565b915050610630565b506107a784898989611e69565b6107d288888873ffffffffffffffffffffffffffffffffffffffff16611fc79092919063ffffffff16565b7ff8eff9ed148da048feccebca2617170aec98bea5840b0b0be8a289ec03c375fd84878a8a6040516108079493929190614093565b60405180910390a150600160008190555050505050505050565b6001818154811061083157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb81565b7f000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a81565b600260005414156108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e590613fe1565b60405180910390fd5b600260008190555060028251101561093b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093290613f21565b60405180910390fd5b805182511461097f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097690613d41565b60405180910390fd5b816001815181106109b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1682600081518110610a11577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790613fc1565b60405180910390fd5b42841015610ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaa90613f41565b60405180910390fd5b60008686868630604051602001610ace9594939291906138e4565b604051602081830303815290604052805190602001209050610aef81611e12565b905060005b83518160ff161015610c5e576000610b4f83858460ff1681518110610b42577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611e42565b9050848260ff1681518110610b8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf990613d81565b60405180910390fd5b610c0b81610df6565b610c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4190613da1565b60405180910390fd5b508080610c5690614406565b915050610af4565b50610c6c8488886000611e69565b85471015610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690613e21565b60405180910390fd5b60008773ffffffffffffffffffffffffffffffffffffffff1687604051610cd590613ae5565b60006040518083038185875af1925050503d8060008114610d12576040519150601f19603f3d011682016040523d82523d6000602084013e610d17565b606091505b5050905080610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5290613de1565b60405180910390fd5b7f4d7574efc376e1ee5e6eacc9b23ed30ae9f40acfddb028be515fb99a14e2290c858989604051610d8e9392919061405c565b60405180910390a150506001600081905550505050505050565b60035481565b7f0000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d81565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b600080600090505b600180549050811015610ec0578273ffffffffffffffffffffffffffffffffffffffff1660018281548110610e5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ead576001915050610ec6565b8080610eb8906143bd565b915050610dfe565b50600090505b919050565b600060026000541415610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613fe1565b60405180910390fd5b60026000819055506000807f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f779190613afa565b60206040518083038186803b158015610f8f57600080fd5b505afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc7919061325c565b90507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614156110525761104a33308a8c73ffffffffffffffffffffffffffffffffffffffff1661204d909392919063ffffffff16565b87915061145a565b60008585600490809261106793929190614208565b8101906110749190612df2565b50915050806000015173ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff16146110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e190613ea1565b60405180910390fd5b806020015173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff161461117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390613dc1565b60405180910390fd5b806080015189146111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990613e61565b60405180910390fd5b806060015173ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613d01565b60405180910390fd5b600061124382600001516120d6565b9050806113235761127f33308460800151856000015173ffffffffffffffffffffffffffffffffffffffff1661204d909392919063ffffffff16565b6112cf7f0000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d6000846000015173ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b6113227f0000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d8360800151846000015173ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b5b6000807f0000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d73ffffffffffffffffffffffffffffffffffffffff16348a8a60405161136e9291906138b4565b60006040518083038185875af1925050503d80600081146113ab576040519150601f19603f3d011682016040523d82523d6000602084013e6113b0565b606091505b5091509150816113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613d61565b60405180910390fd5b808060200190518101906114099190613285565b50809650508360a00151861015611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90613f01565b60405180910390fd5b505050505b60007f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114b59190613afa565b60206040518083038186803b1580156114cd57600080fd5b505afa1580156114e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611505919061325c565b905061151a83836122b690919063ffffffff16565b811461155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290613e81565b60405180910390fd5b600146148061156a5750600546145b156116ea576115db7f000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb60007f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b6116467f000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb847f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b60007f000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb90508073ffffffffffffffffffffffffffffffffffffffff16639ed170848a6003548b886040518563ffffffff1660e01b81526004016116ac94939291906140d8565b600060405180830381600087803b1580156116c657600080fd5b505af11580156116da573d6000803e3d6000fd5b5050505083945050505050611732565b7f5f971bd00bf3ffbca8a6d72cdd4fd92cfd4f62636161921d1e5a64f0b64ccb6d338b8b868c8c60405161172396959493929190613bba565b60405180910390a18293505050505b60016000819055509695505050505050565b6002600054141561178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190613fe1565b60405180910390fd5b60026000819055507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790613ee1565b60405180910390fd5b600282511015611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c90613f21565b60405180910390fd5b80518251146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613d41565b60405180910390fd5b816001815181106118e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168260008151811061193b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141561199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190613fc1565b60405180910390fd5b428410156119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490613f41565b60405180910390fd5b6000888789878988306040516020016119fc97969594939291906139de565b604051602081830303815290604052805190602001209050611a1d81611e12565b905060005b83518160ff161015611b8c576000611a7d83858460ff1681518110611a70577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611e42565b9050848260ff1681518110611abb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2790613d81565b60405180910390fd5b611b3981610df6565b611b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6f90613da1565b60405180910390fd5b508080611b8490614406565b915050611a22565b50611b99848a898b611e69565b600089888a89604051602001611bb29493929190613866565b60405160208183030381529060405280519060200120905060007f000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a90508073ffffffffffffffffffffffffffffffffffffffff16636a938567836040518263ffffffff1660e01b8152600401611c289190613c5f565b60206040518083038186803b158015611c4057600080fd5b505afa158015611c54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c789190613178565b15611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf90614001565b60405180910390fd5b611d047f000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a60008c73ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b611d4f7f000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a8a8c73ffffffffffffffffffffffffffffffffffffffff166121589092919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff166355a2ba688c8c8c8c6040518563ffffffff1660e01b8152600401611d8e9493929190613b75565b600060405180830381600087803b158015611da857600080fd5b505af1158015611dbc573d6000803e3d6000fd5b505050507ff8eff9ed148da048feccebca2617170aec98bea5840b0b0be8a289ec03c375fd868b8d8c604051611df59493929190614093565b60405180910390a150505060016000819055505050505050505050565b600081604051602001611e2591906139b8565b604051602081830303815290604052805190602001209050919050565b6000806000611e5185856122cc565b91509150611e5e8161234f565b819250505092915050565b6002600085815260200190815260200160002060020160149054906101000a900460ff1615611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec490613f81565b60405180910390fd5b60016002600086815260200190815260200160002060020160146101000a81548160ff021916908315150217905550826002600086815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816002600086815260200190815260200160002060010181905550806002600086815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6120488363a9059cbb60e01b8484604051602401611fe6929190613c1b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126a0565b505050565b6120d0846323b872dd60e01b85858560405160240161206e93929190613b3e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126a0565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480612151575073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b60008114806121f1575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b815260040161219f929190613b15565b60206040518083038186803b1580156121b757600080fd5b505afa1580156121cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ef919061325c565b145b612230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222790614021565b60405180910390fd5b6122b18363095ea7b360e01b848460405160240161224f929190613c1b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126a0565b505050565b600081836122c4919061423b565b905092915050565b60008060418351141561230e5760008060006020860151925060408601519150606086015160001a905061230287828585612767565b94509450505050612348565b60408351141561233f576000806020850151915060408501519050612334868383612874565b935093505050612348565b60006002915091505b9250929050565b60006004811115612389577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156123c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156123cd5761269d565b60016004811115612407577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612440577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247890613ce1565b60405180910390fd5b600260048111156124bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156124f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c90613d21565b60405180910390fd5b6003600481111561256f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156125e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e090613e01565b60405180910390fd5b600480811115612622577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561265b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561269c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269390613ec1565b60405180910390fd5b5b50565b6000612702826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166128d39092919063ffffffff16565b905060008151111561276257808060200190518101906127229190613178565b612761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275890613fa1565b60405180910390fd5b5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156127a257600060039150915061286b565b601b8560ff16141580156127ba5750601c8560ff1614155b156127cc57600060049150915061286b565b6000600187878787604051600081526020016040526040516127f19493929190613c7a565b6020604051602081039080840390855afa158015612813573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128625760006001925092505061286b565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6128b7919061423b565b90506128c587828885612767565b935093505050935093915050565b60606128e284846000856128eb565b90509392505050565b606082471015612930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292790613e41565b60405180910390fd5b612939856129ff565b612978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296f90613f61565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516129a191906138cd565b60006040518083038185875af1925050503d80600081146129de576040519150601f19603f3d011682016040523d82523d6000602084013e6129e3565b606091505b50915091506129f3828286612a22565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315612a3257829050612a82565b600083511115612a455782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a799190613cbf565b60405180910390fd5b9392505050565b6000612a9c612a9784614142565b61411d565b90508083825260208201905082856020860282011115612abb57600080fd5b60005b85811015612aeb5781612ad18882612b90565b845260208401935060208301925050600181019050612abe565b5050509392505050565b6000612b08612b038461416e565b61411d565b9050808382526020820190508260005b85811015612b485781358501612b2e8882612c82565b845260208401935060208301925050600181019050612b18565b5050509392505050565b6000612b65612b608461419a565b61411d565b905082815260208101848484011115612b7d57600080fd5b612b8884828561434a565b509392505050565b600081359050612b9f81614afa565b92915050565b600081359050612bb481614b11565b92915050565b600082601f830112612bcb57600080fd5b8135612bdb848260208601612a89565b91505092915050565b600082601f830112612bf557600080fd5b8135612c05848260208601612af5565b91505092915050565b600081359050612c1d81614b28565b92915050565b600081519050612c3281614b28565b92915050565b60008083601f840112612c4a57600080fd5b8235905067ffffffffffffffff811115612c6357600080fd5b602083019150836001820283011115612c7b57600080fd5b9250929050565b600082601f830112612c9357600080fd5b8135612ca3848260208601612b52565b91505092915050565b600081359050612cbb81614b3f565b92915050565b60006101008284031215612cd457600080fd5b612cdf61010061411d565b90506000612cef84828501612cac565b6000830152506020612d0384828501612cac565b6020830152506040612d1784828501612ba5565b6040830152506060612d2b84828501612ba5565b6060830152506080612d3f84828501612d9f565b60808301525060a0612d5384828501612d9f565b60a08301525060c0612d6784828501612d9f565b60c08301525060e082013567ffffffffffffffff811115612d8757600080fd5b612d9384828501612c82565b60e08301525092915050565b600081359050612dae81614b56565b92915050565b600081519050612dc381614b56565b92915050565b600060208284031215612ddb57600080fd5b6000612de984828501612b90565b91505092915050565b600080600060608486031215612e0757600080fd5b6000612e1586828701612ba5565b935050602084013567ffffffffffffffff811115612e3257600080fd5b612e3e86828701612cc1565b925050604084013567ffffffffffffffff811115612e5b57600080fd5b612e6786828701612c82565b9150509250925092565b60008060008060008060c08789031215612e8a57600080fd5b6000612e9889828a01612ba5565b9650506020612ea989828a01612d9f565b9550506040612eba89828a01612d9f565b9450506060612ecb89828a01612d9f565b935050608087013567ffffffffffffffff811115612ee857600080fd5b612ef489828a01612bba565b92505060a087013567ffffffffffffffff811115612f1157600080fd5b612f1d89828a01612be4565b9150509295509295509295565b600080600080600080600080610100898b031215612f4757600080fd5b6000612f558b828c01612b90565b9850506020612f668b828c01612b90565b9750506040612f778b828c01612d9f565b9650506060612f888b828c01612d9f565b9550506080612f998b828c01612d9f565b94505060a0612faa8b828c01612d9f565b93505060c089013567ffffffffffffffff811115612fc757600080fd5b612fd38b828c01612bba565b92505060e089013567ffffffffffffffff811115612ff057600080fd5b612ffc8b828c01612be4565b9150509295985092959890939650565b600080600080600080600060e0888a03121561302757600080fd5b60006130358a828b01612b90565b97505060206130468a828b01612d9f565b96505060406130578a828b01612b90565b95505060606130688a828b01612d9f565b94505060806130798a828b01612d9f565b93505060a088013567ffffffffffffffff81111561309657600080fd5b6130a28a828b01612bba565b92505060c088013567ffffffffffffffff8111156130bf57600080fd5b6130cb8a828b01612be4565b91505092959891949750929550565b600080600080600080600060e0888a0312156130f557600080fd5b60006131038a828b01612b90565b97505060206131148a828b01612d9f565b96505060406131258a828b01612b90565b95505060606131368a828b01612d9f565b94505060806131478a828b01612d9f565b93505060a06131588a828b01612c0e565b92505060c06131698a828b01612d9f565b91505092959891949750929550565b60006020828403121561318a57600080fd5b600061319884828501612c23565b91505092915050565b60008060008060008060a087890312156131ba57600080fd5b60006131c889828a01612cac565b96505060206131d989828a01612d9f565b95505060406131ea89828a01612d9f565b94505060606131fb89828a01612d9f565b935050608087013567ffffffffffffffff81111561321857600080fd5b61322489828a01612c38565b92509250509295509295509295565b60006020828403121561324557600080fd5b600061325384828501612d9f565b91505092915050565b60006020828403121561326e57600080fd5b600061327c84828501612db4565b91505092915050565b6000806040838503121561329857600080fd5b60006132a685828601612db4565b92505060206132b785828601612db4565b9150509250929050565b6132ca81614314565b82525050565b6132e16132dc826142a3565b614442565b82525050565b6132f081614291565b82525050565b61330761330282614291565b614430565b82525050565b613316816142b5565b82525050565b613325816142c1565b82525050565b61333c613337826142c1565b614454565b82525050565b600061334e83856141e1565b935061335b83858461434a565b82840190509392505050565b6000613372826141cb565b61337c81856141e1565b935061338c818560208601614359565b80840191505092915050565b60006133a3826141d6565b6133ad81856141ec565b93506133bd818560208601614359565b6133c6816144d8565b840191505092915050565b60006133de6018836141ec565b91506133e9826144f6565b602082019050919050565b60006134016018836141ec565b915061340c8261451f565b602082019050919050565b60006134246005836141fd565b915061342f82614548565b600582019050919050565b6000613447601f836141ec565b915061345282614571565b602082019050919050565b600061346a601c836141fd565b91506134758261459a565b601c82019050919050565b600061348d6019836141ec565b9150613498826145c3565b602082019050919050565b60006134b0600f836141ec565b91506134bb826145ec565b602082019050919050565b60006134d3600e836141ec565b91506134de82614615565b602082019050919050565b60006134f66012836141ec565b91506135018261463e565b602082019050919050565b60006135196015836141ec565b915061352482614667565b602082019050919050565b600061353c603a836141ec565b915061354782614690565b604082019050919050565b600061355f6022836141ec565b915061356a826146df565b604082019050919050565b6000613582601d836141ec565b915061358d8261472e565b602082019050919050565b60006135a56026836141ec565b91506135b082614757565b604082019050919050565b60006135c8601f836141ec565b91506135d3826147a6565b602082019050919050565b60006135eb6004836141fd565b91506135f6826147cf565b600482019050919050565b600061360e600e836141ec565b9150613619826147f8565b602082019050919050565b60006136316020836141ec565b915061363c82614821565b602082019050919050565b60006136546022836141ec565b915061365f8261484a565b604082019050919050565b60006136776005836141fd565b915061368282614899565b600582019050919050565b600061369a600d836141ec565b91506136a5826148c2565b602082019050919050565b60006136bd6027836141ec565b91506136c8826148eb565b604082019050919050565b60006136e06019836141ec565b91506136eb8261493a565b602082019050919050565b60006137036000836141e1565b915061370e82614963565b600082019050919050565b60006137266013836141ec565b915061373182614966565b602082019050919050565b6000613749601d836141ec565b91506137548261498f565b602082019050919050565b600061376c600e836141ec565b9150613777826149b8565b602082019050919050565b600061378f602a836141ec565b915061379a826149e1565b604082019050919050565b60006137b26016836141ec565b91506137bd82614a30565b602082019050919050565b60006137d5601f836141ec565b91506137e082614a59565b602082019050919050565b60006137f86014836141ec565b915061380382614a82565b602082019050919050565b600061381b6036836141ec565b915061382682614aab565b604082019050919050565b61383a816142fd565b82525050565b61385161384c826142fd565b614470565b82525050565b61386081614307565b82525050565b600061387282876132f6565b6014820191506138828286613840565b60208201915061389282856132f6565b6014820191506138a28284613840565b60208201915081905095945050505050565b60006138c1828486613342565b91508190509392505050565b60006138d98284613367565b915081905092915050565b60006138ef82613417565b91506138fb82886132d0565b60148201915061390b8287613840565b60208201915061391b8286613840565b60208201915061392b8285613840565b60208201915061393b82846132f6565b6014820191508190509695505050505050565b600061395982613417565b915061396582886132f6565b6014820191506139758287613840565b6020820191506139858286613840565b6020820191506139958285613840565b6020820191506139a582846132f6565b6014820191508190509695505050505050565b60006139c38261345d565b91506139cf828461332b565b60208201915081905092915050565b60006139e9826135de565b91506139f5828a6132f6565b601482019150613a058289613840565b602082019150613a1582886132f6565b601482019150613a258287613840565b602082019150613a358286613840565b602082019150613a458285613840565b602082019150613a5582846132f6565b60148201915081905098975050505050505050565b6000613a758261366a565b9150613a8182896132f6565b601482019150613a918288613840565b602082019150613aa182876132f6565b601482019150613ab18286613840565b602082019150613ac18285613840565b602082019150613ad182846132f6565b601482019150819050979650505050505050565b6000613af0826136f6565b9150819050919050565b6000602082019050613b0f60008301846132e7565b92915050565b6000604082019050613b2a60008301856132e7565b613b3760208301846132e7565b9392505050565b6000606082019050613b5360008301866132e7565b613b6060208301856132e7565b613b6d6040830184613831565b949350505050565b6000608082019050613b8a60008301876132e7565b613b9760208301866132e7565b613ba46040830185613831565b613bb16060830184613831565b95945050505050565b600060c082019050613bcf60008301896132e7565b613bdc60208301886132e7565b613be96040830187613831565b613bf66060830186613831565b613c036080830185613831565b613c1060a0830184613831565b979650505050505050565b6000604082019050613c3060008301856132e7565b613c3d6020830184613831565b9392505050565b6000602082019050613c59600083018461330d565b92915050565b6000602082019050613c74600083018461331c565b92915050565b6000608082019050613c8f600083018761331c565b613c9c6020830186613857565b613ca9604083018561331c565b613cb6606083018461331c565b95945050505050565b60006020820190508181036000830152613cd98184613398565b905092915050565b60006020820190508181036000830152613cfa816133d1565b9050919050565b60006020820190508181036000830152613d1a816133f4565b9050919050565b60006020820190508181036000830152613d3a8161343a565b9050919050565b60006020820190508181036000830152613d5a81613480565b9050919050565b60006020820190508181036000830152613d7a816134a3565b9050919050565b60006020820190508181036000830152613d9a816134c6565b9050919050565b60006020820190508181036000830152613dba816134e9565b9050919050565b60006020820190508181036000830152613dda8161350c565b9050919050565b60006020820190508181036000830152613dfa8161352f565b9050919050565b60006020820190508181036000830152613e1a81613552565b9050919050565b60006020820190508181036000830152613e3a81613575565b9050919050565b60006020820190508181036000830152613e5a81613598565b9050919050565b60006020820190508181036000830152613e7a816135bb565b9050919050565b60006020820190508181036000830152613e9a81613601565b9050919050565b60006020820190508181036000830152613eba81613624565b9050919050565b60006020820190508181036000830152613eda81613647565b9050919050565b60006020820190508181036000830152613efa8161368d565b9050919050565b60006020820190508181036000830152613f1a816136b0565b9050919050565b60006020820190508181036000830152613f3a816136d3565b9050919050565b60006020820190508181036000830152613f5a81613719565b9050919050565b60006020820190508181036000830152613f7a8161373c565b9050919050565b60006020820190508181036000830152613f9a8161375f565b9050919050565b60006020820190508181036000830152613fba81613782565b9050919050565b60006020820190508181036000830152613fda816137a5565b9050919050565b60006020820190508181036000830152613ffa816137c8565b9050919050565b6000602082019050818103600083015261401a816137eb565b9050919050565b6000602082019050818103600083015261403a8161380e565b9050919050565b60006020820190506140566000830184613831565b92915050565b60006060820190506140716000830186613831565b61407e60208301856132c1565b61408b6040830184613831565b949350505050565b60006080820190506140a86000830187613831565b6140b560208301866132e7565b6140c260408301856132e7565b6140cf6060830184613831565b95945050505050565b60006080820190506140ed6000830187613831565b6140fa6020830186613831565b6141076040830185613831565b6141146060830184613831565b95945050505050565b6000614127614138565b9050614133828261438c565b919050565b6000604051905090565b600067ffffffffffffffff82111561415d5761415c6144a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614189576141886144a9565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156141b5576141b46144a9565b5b6141be826144d8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000808585111561421857600080fd5b8386111561422557600080fd5b6001850283019150848603905094509492505050565b6000614246826142fd565b9150614251836142fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142865761428561447a565b5b828201905092915050565b600061429c826142dd565b9050919050565b60006142ae826142dd565b9050919050565b60008115159050919050565b6000819050919050565b60006142d682614291565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061431f82614326565b9050919050565b600061433182614338565b9050919050565b6000614343826142dd565b9050919050565b82818337600083830152505050565b60005b8381101561437757808201518184015260208101905061435c565b83811115614386576000848401525b50505050565b614395826144d8565b810181811067ffffffffffffffff821117156143b4576143b36144a9565b5b80604052505050565b60006143c8826142fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143fb576143fa61447a565b5b600182019050919050565b600061441182614307565b915060ff8214156144255761442461447a565b5b600182019050919050565b600061443b8261445e565b9050919050565b600061444d8261445e565b9050919050565b6000819050919050565b6000614469826144e9565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f696e76616c696420646573632e64737452656365697665720000000000000000600082015250565b7f4554484552000000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f696e76616c6964207369676e617475726573206c656e67746800000000000000600082015250565b7f65786368616e6765206661696c65640000000000000000000000000000000000600082015250565b7f696e76616c6964207369676e6572000000000000000000000000000000000000600082015250565b7f6e6f7420616c6c6f776564207369676e65720000000000000000000000000000600082015250565b7f696e76616c696420646573632e647374546f6b656e0000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f6d69736d6174636820616d6f756e7420616e6420646573632e616d6f756e7400600082015250565b7f4641535400000000000000000000000000000000000000000000000000000000600082015250565b7f7377617020696e636f7272656374000000000000000000000000000000000000600082015250565b7f6d69736d6174636820746f6b656e20616e6420646573632e737263546f6b656e600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230000000000000000000000000000000000000000000000000000000600082015250565b7f696e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b7f72656365697665642055534443206c657373207468616e206d696e526574757260008201527f6e416d6f756e7400000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420616c6c5369676e657273206c656e67746800000000000000600082015250565b50565b7f65787069726564207472616e73616374696f6e00000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f7265706561746564206f72646572000000000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f63616e206e6f742062652073616d65207369676e657200000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f6661637420616c726561647920697356616c6964000000000000000000000000600082015250565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b614b0381614291565b8114614b0e57600080fd5b50565b614b1a816142a3565b8114614b2557600080fd5b50565b614b31816142b5565b8114614b3c57600080fd5b50565b614b48816142cb565b8114614b5357600080fd5b50565b614b5f816142fd565b8114614b6a57600080fd5b5056fea264697066735822122043c1e6ae765e106aad4a68367471a6312424fbd788ecef51e2544cefdf8cddd864736f6c63430008020033

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

00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a02893294412a4c8f915f75892b395ebbf6859ec246ec365c3b1f56f47c3a0a5d0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000015155d9f7bb601fbf25084c106531c759c05379000000000000000000000000321072f3ce95eda4cc87f42fa483a5822a8a7a92000000000000000000000000fa85bea9b0f2d9540040118beacbad7258f45d81

-----Decoded View---------------
Arg [0] : allowedSigners (address[]): 0x015155D9f7bb601FbF25084C106531c759c05379,0x321072F3Ce95EDa4cc87F42FA483a5822a8A7A92,0xfA85BEA9B0F2D9540040118BeacbaD7258f45d81
Arg [1] : usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [2] : aggregationRouterV4 (address): 0x1111111254fb6c44bAC0beD2854e76F90643097d
Arg [3] : starkex (address): 0xA1D5443F2FB80A5A55ac804C948B45ce4C52DCbb
Arg [4] : fact (address): 0xBE9a129909EbCb954bC065536D2bfAfBd170d27A
Arg [5] : assetType (uint256): 1147032829293317481173155891309375254605214077236177772270270553197624560221

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : 0000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d
Arg [3] : 000000000000000000000000a1d5443f2fb80a5a55ac804c948b45ce4c52dcbb
Arg [4] : 000000000000000000000000be9a129909ebcb954bc065536d2bfafbd170d27a
Arg [5] : 02893294412a4c8f915f75892b395ebbf6859ec246ec365c3b1f56f47c3a0a5d
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 000000000000000000000000015155d9f7bb601fbf25084c106531c759c05379
Arg [8] : 000000000000000000000000321072f3ce95eda4cc87f42fa483a5822a8a7a92
Arg [9] : 000000000000000000000000fa85bea9b0f2d9540040118beacbad7258f45d81


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  ]

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.