false
true
0

Contract Address Details

0x83770f465a37Ef74732eB8Eb9b8009C62C48eC9B

Contract Name
OKLGAtomicSwap
Creator
0xbbb0bb–468375 at 0x176799–8bad0e
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
26350351
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been partially verified via Sourcify. View contract in Sourcify repository
Contract name:
OKLGAtomicSwap




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




Optimization runs
200
EVM Version
istanbul




Verified at
2026-04-22T12:29:17.460997Z

contracts/OKLGAtomicSwap.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/interfaces/IERC20.sol';
import './OKLGProduct.sol';
import './OKLGAtomicSwapInstance.sol';

/**
 * @title OKLGAtomicSwap
 * @dev This is the main contract that supports holding metadata for OKLG atomic inter and intrachain swapping
 */
contract OKLGAtomicSwap is OKLGProduct {
  struct TargetSwapInfo {
    bytes32 id;
    uint256 timestamp;
    uint256 index;
    address creator;
    address sourceContract;
    string targetNetwork;
    address targetContract;
    uint8 targetDecimals;
    bool isActive;
  }

  uint256 public swapCreationGasLoadAmount = 1 * 10**16; // 10 finney (0.01 ether)
  address payable public oracleAddress;

  // mapping with "0xSourceContractInstance" => targetContractInstanceInfo that
  // our oracle can query and get the target network contract as needed.
  TargetSwapInfo[] public targetSwapContracts;
  mapping(address => TargetSwapInfo) public targetSwapContractsIndexed;
  mapping(address => TargetSwapInfo) private lastUserCreatedContract;

  // event CreateSwapContract(
  //   uint256 timestamp,
  //   address contractAddress,
  //   string targetNetwork,
  //   address indexed targetContract,
  //   address creator
  // );

  constructor(
    address _tokenAddress,
    address _spendAddress,
    address _oracleAddress
  ) OKLGProduct(uint8(6), _tokenAddress, _spendAddress) {
    oracleAddress = payable(_oracleAddress);
  }

  function updateSwapCreationGasLoadAmount(uint256 _amount) external onlyOwner {
    swapCreationGasLoadAmount = _amount;
  }

  function getLastCreatedContract(address _addy)
    external
    view
    returns (TargetSwapInfo memory)
  {
    return lastUserCreatedContract[_addy];
  }

  function setOracleAddress(address _oracleAddress, bool _changeAll)
    external
    onlyOwner
  {
    oracleAddress = payable(_oracleAddress);
    if (_changeAll) {
      for (uint256 _i = 0; _i < targetSwapContracts.length; _i++) {
        OKLGAtomicSwapInstance _contract = OKLGAtomicSwapInstance(
          targetSwapContracts[_i].sourceContract
        );
        _contract.setOracleAddress(oracleAddress);
      }
    }
  }

  function getAllSwapContracts()
    external
    view
    returns (TargetSwapInfo[] memory)
  {
    return targetSwapContracts;
  }

  function updateSwapContract(
    uint256 _createdBlockTimestamp,
    address _sourceContract,
    string memory _targetNetwork,
    address _targetContract,
    uint8 _targetDecimals,
    bool _isActive
  ) external {
    TargetSwapInfo storage swapContInd = targetSwapContractsIndexed[
      _sourceContract
    ];
    TargetSwapInfo storage swapCont = targetSwapContracts[swapContInd.index];

    require(
      msg.sender == owner() ||
        msg.sender == swapCont.creator ||
        msg.sender == oracleAddress,
      'updateSwapContract must be contract creator'
    );

    bytes32 _id = sha256(
      abi.encodePacked(swapCont.creator, _createdBlockTimestamp)
    );
    require(
      address(0) != _targetContract,
      'target contract cannot be 0 address'
    );
    require(
      swapCont.id == _id && swapContInd.id == _id,
      "we don't recognize the info you sent with the swap"
    );

    swapCont.targetNetwork = _targetNetwork;
    swapContInd.targetNetwork = swapCont.targetNetwork;

    swapCont.targetContract = _targetContract;
    swapContInd.targetContract = swapCont.targetContract;

    swapCont.targetDecimals = _targetDecimals;
    swapContInd.targetDecimals = swapCont.targetDecimals;
    // TODO: if the decimals are changed from the original execution,
    // should also execute #setTargetTokenDecimals on the instance contract.

    swapCont.isActive = _isActive;
    swapContInd.isActive = swapCont.isActive;
  }

  function createNewAtomicSwapContract(
    address _tokenAddy,
    uint256 _tokenSupply,
    uint256 _maxSwapAmount,
    string memory _targetNetwork,
    address _targetContract,
    uint8 _targetDecimals
  ) external payable returns (uint256, address) {
    _payForService(swapCreationGasLoadAmount);
    oracleAddress.call{ value: swapCreationGasLoadAmount }('');

    IERC20 _token = IERC20(_tokenAddy);
    OKLGAtomicSwapInstance _contract = new OKLGAtomicSwapInstance(
      getTokenAddress(),
      getSpendAddress(),
      oracleAddress,
      msg.sender,
      _tokenAddy,
      _targetDecimals,
      _maxSwapAmount
    );

    if (_tokenSupply > 0) {
      _token.transferFrom(msg.sender, address(_contract), _tokenSupply);
    }
    _contract.transferOwnership(oracleAddress);

    uint256 _ts = block.timestamp;
    TargetSwapInfo memory newContract = TargetSwapInfo({
      id: sha256(abi.encodePacked(msg.sender, _ts)),
      timestamp: _ts,
      index: targetSwapContracts.length,
      creator: msg.sender,
      sourceContract: address(_contract),
      targetNetwork: _targetNetwork,
      targetContract: _targetContract,
      targetDecimals: _targetDecimals,
      isActive: true
    });

    targetSwapContracts.push(newContract);
    targetSwapContractsIndexed[address(_contract)] = newContract;
    lastUserCreatedContract[msg.sender] = newContract;
    // emit CreateSwapContract(
    //   _ts,
    //   address(_contract),
    //   _targetNetwork,
    //   _targetContract,
    //   msg.sender
    // );
    return (_ts, address(_contract));
  }
}
        

/IERC20.sol

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

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

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

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

/

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

/

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

pragma solidity ^0.8.0;

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

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

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/interfaces/IERC20.sol';
import './OKLGProduct.sol';

interface IERC20Decimals is IERC20 {
  function decimals() external view returns (uint8);
}

/**
 * @title OKLGAtomicSwapInstance
 * @dev This is the main contract that supports holding metadata for OKLG atomic inter and intrachain swapping
 */
contract OKLGAtomicSwapInstance is OKLGProduct {
  IERC20Decimals private _token;

  address public tokenOwner;
  address payable public oracleAddress;
  uint256 public maxSwapAmount;
  uint8 public targetTokenDecimals;
  uint256 public minimumGasForOperation = 2 * 10**15; // 2 finney (0.002 ETH)
  bool public isActive = true;

  struct Swap {
    bytes32 id;
    uint256 origTimestamp;
    uint256 currentTimestamp;
    bool isOutbound;
    bool isComplete;
    bool isRefunded;
    bool isSendGasFunded;
    address swapAddress;
    uint256 amount;
  }

  mapping(bytes32 => Swap) public swaps;
  mapping(address => Swap) public lastUserSwap;

  event ReceiveTokensFromSource(
    bytes32 indexed id,
    uint256 origTimestamp,
    address sender,
    uint256 amount
  );

  event SendTokensToDestination(
    bytes32 indexed id,
    address receiver,
    uint256 amount
  );

  event RefundTokensToSource(
    bytes32 indexed id,
    address sender,
    uint256 amount
  );

  event TokenOwnerUpdated(address previousOwner, address newOwner);

  constructor(
    address _costToken,
    address _spendAddress,
    address _oracleAddress,
    address _tokenOwner,
    address _tokenAddy,
    uint8 _targetTokenDecimals,
    uint256 _maxSwapAmount
  ) OKLGProduct(uint8(7), _costToken, _spendAddress) {
    oracleAddress = payable(_oracleAddress);
    tokenOwner = _tokenOwner;
    maxSwapAmount = _maxSwapAmount;
    targetTokenDecimals = _targetTokenDecimals;
    _token = IERC20Decimals(_tokenAddy);
  }

  function getSwapTokenAddress() external view returns (address) {
    return address(_token);
  }

  function setActiveState(bool _isActive) external {
    require(
      msg.sender == owner() || msg.sender == tokenOwner,
      'setActiveState user must be contract creator'
    );
    isActive = _isActive;
  }

  function setOracleAddress(address _oracleAddress) external onlyOwner {
    oracleAddress = payable(_oracleAddress);
    transferOwnership(oracleAddress);
  }

  function setTargetTokenDecimals(uint8 _decimals) external onlyOwner {
    targetTokenDecimals = _decimals;
  }

  function setTokenOwner(address newOwner) external {
    require(
      msg.sender == tokenOwner,
      'user must be current token owner to change it'
    );
    address previousOwner = tokenOwner;
    tokenOwner = newOwner;
    emit TokenOwnerUpdated(previousOwner, newOwner);
  }

  function withdrawTokens(uint256 _amount) external {
    require(
      msg.sender == tokenOwner,
      'withdrawTokens user must be token owner'
    );
    _token.transfer(msg.sender, _amount);
  }

  function setSwapCompletionStatus(bytes32 _id, bool _isComplete)
    external
    onlyOwner
  {
    swaps[_id].isComplete = _isComplete;
  }

  function setMinimumGasForOperation(uint256 _amountGas) external onlyOwner {
    minimumGasForOperation = _amountGas;
  }

  function receiveTokensFromSource(uint256 _amount)
    external
    payable
    returns (bytes32, uint256)
  {
    require(isActive, 'this atomic swap instance is not active');
    require(
      msg.value >= minimumGasForOperation,
      'you must also send enough gas to cover the target transaction'
    );
    require(
      maxSwapAmount == 0 || _amount <= maxSwapAmount,
      'trying to send more than maxSwapAmount'
    );

    _payForService(minimumGasForOperation);

    if (minimumGasForOperation > 0) {
      oracleAddress.call{ value: minimumGasForOperation }('');
    }
    _token.transferFrom(msg.sender, address(this), _amount);

    uint256 _ts = block.timestamp;
    bytes32 _id = sha256(abi.encodePacked(msg.sender, _ts, _amount));
    swaps[_id] = Swap({
      id: _id,
      origTimestamp: _ts,
      currentTimestamp: _ts,
      isOutbound: false,
      isComplete: false,
      isRefunded: false,
      isSendGasFunded: false,
      swapAddress: msg.sender,
      amount: _amount
    });
    lastUserSwap[msg.sender] = swaps[_id];
    emit ReceiveTokensFromSource(_id, _ts, msg.sender, _amount);
    return (_id, _ts);
  }

  function unsetLastUserSwap(address _addy) external onlyOwner {
    delete lastUserSwap[_addy];
  }

  // msg.sender must be the user who originally created the swap.
  // Otherwise, the unique identifier will not match from the originally
  // sending txn.
  //
  // NOTE: We're aware this function can be spoofed by creating a sha256 hash of msg.sender's address
  // and _origTimestamp, but it's important to note refundTokensFromSource and sendTokensToDestination
  // can only be executed by the owner/oracle. Therefore validation should be done by the oracle before
  // executing those and the only possibility of a vulnerability is if someone has compromised the oracle account.
  function fundSendToDestinationGas(
    bytes32 _id,
    uint256 _origTimestamp,
    uint256 _amount
  ) external payable {
    require(
      msg.value >= minimumGasForOperation,
      'you must send enough gas to cover the send transaction'
    );
    require(
      _id == sha256(abi.encodePacked(msg.sender, _origTimestamp, _amount)),
      "we don't recognize this swap"
    );
    if (minimumGasForOperation > 0) {
      oracleAddress.call{ value: minimumGasForOperation }('');
    }
    swaps[_id] = Swap({
      id: _id,
      origTimestamp: _origTimestamp,
      currentTimestamp: block.timestamp,
      isOutbound: true,
      isComplete: false,
      isRefunded: false,
      isSendGasFunded: true,
      swapAddress: msg.sender,
      amount: _amount
    });
  }

  // This must be called AFTER fundSendToDestinationGas has been executed
  // for this txn to fund this send operation
  function refundTokensFromSource(bytes32 _id) external {
    require(isActive, 'this atomic swap instance is not active');

    Swap storage swap = swaps[_id];

    _confirmSwapExistsGasFundedAndSenderValid(swap);
    swap.isRefunded = true;
    _token.transfer(swap.swapAddress, swap.amount);
    emit RefundTokensToSource(_id, swap.swapAddress, swap.amount);
  }

  // This must be called AFTER fundSendToDestinationGas has been executed
  // for this txn to fund this send operation
  function sendTokensToDestination(bytes32 _id) external returns (bytes32) {
    require(isActive, 'this atomic swap instance is not active');

    Swap storage swap = swaps[_id];

    _confirmSwapExistsGasFundedAndSenderValid(swap);

    // handle if this token and target chain token in bridge have different decimals
    // current decimals = 9 -- 100 tokens == 100000000000
    // target decimals = 18 -- 100 tokens == 100000000000000000000
    // to get current amount to transfer, need to multiply by ratio of 10^currentDecimals / 10^targetDecimals
    uint256 _swapAmount = swap.amount;
    if (targetTokenDecimals > 0) {
      _swapAmount =
        (_swapAmount * 10**_token.decimals()) /
        10**targetTokenDecimals;
    }
    _token.transfer(swap.swapAddress, _swapAmount);

    swap.currentTimestamp = block.timestamp;
    swap.isComplete = true;
    emit SendTokensToDestination(_id, swap.swapAddress, _swapAmount);
    return _id;
  }

  function _confirmSwapExistsGasFundedAndSenderValid(Swap memory swap)
    private
    view
    onlyOwner
  {
    // functions that call this should only be called by the current owner
    // or oracle address as they will do the appropriate validation beforehand
    // to confirm the receiving swap is valid before sending tokens to the user.
    require(
      swap.origTimestamp > 0 && swap.amount > 0,
      'swap does not exist yet.'
    );
    // We're just validating here that the swap has not been
    // completed and gas has been funded before moving forward.
    require(
      !swap.isComplete && !swap.isRefunded && swap.isSendGasFunded,
      'swap has already been completed, refunded, or gas has not been funded'
    );
  }
}
          

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
 * @title IOKLGSpend
 * @dev Logic for spending OKLG on products in the product ecosystem.
 */
interface IOKLGSpend {
  function spendOnProduct(address _payor, uint8 _product) external payable;
}
          

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/interfaces/IERC20.sol';

/**
 * @title OKLGWithdrawable
 * @dev Supports being able to get tokens or ETH out of a contract with ease
 */
contract OKLGWithdrawable is Ownable {
  function withdrawTokens(address _tokenAddy, uint256 _amount)
    external
    onlyOwner
  {
    IERC20 _token = IERC20(_tokenAddy);
    _amount = _amount > 0 ? _amount : _token.balanceOf(address(this));
    require(_amount > 0, 'make sure there is a balance available to withdraw');
    _token.transfer(owner(), _amount);
  }

  function withdrawETH() external onlyOwner {
    payable(owner()).call{ value: address(this).balance }('');
  }
}
          

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/interfaces/IERC20.sol';
import './interfaces/IOKLGSpend.sol';
import './OKLGWithdrawable.sol';

/**
 * @title OKLGProduct
 * @dev Contract that every product developed in the OKLG ecosystem should implement
 */
contract OKLGProduct is OKLGWithdrawable {
  IERC20 private _token; // OKLG
  IOKLGSpend private _spend;

  uint8 public productID;

  constructor(
    uint8 _productID,
    address _tokenAddy,
    address _spendAddy
  ) {
    productID = _productID;
    _token = IERC20(_tokenAddy);
    _spend = IOKLGSpend(_spendAddy);
  }

  function setTokenAddy(address _tokenAddy) external onlyOwner {
    _token = IERC20(_tokenAddy);
  }

  function setSpendAddy(address _spendAddy) external onlyOwner {
    _spend = IOKLGSpend(_spendAddy);
  }

  function setProductID(uint8 _newId) external onlyOwner {
    productID = _newId;
  }

  function getTokenAddress() public view returns (address) {
    return address(_token);
  }

  function getSpendAddress() public view returns (address) {
    return address(_spend);
  }

  function _payForService(uint256 _weiToRemoveFromSpend) internal {
    _spend.spendOnProduct{ value: msg.value - _weiToRemoveFromSpend }(
      msg.sender,
      productID
    );
  }
}
          

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"none"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"contracts/OKLGAtomicSwap.sol":"OKLGAtomicSwap"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_tokenAddress","internalType":"address"},{"type":"address","name":"_spendAddress","internalType":"address"},{"type":"address","name":"_oracleAddress","internalType":"address"}]},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"address","name":"","internalType":"address"}],"name":"createNewAtomicSwapContract","inputs":[{"type":"address","name":"_tokenAddy","internalType":"address"},{"type":"uint256","name":"_tokenSupply","internalType":"uint256"},{"type":"uint256","name":"_maxSwapAmount","internalType":"uint256"},{"type":"string","name":"_targetNetwork","internalType":"string"},{"type":"address","name":"_targetContract","internalType":"address"},{"type":"uint8","name":"_targetDecimals","internalType":"uint8"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct OKLGAtomicSwap.TargetSwapInfo[]","components":[{"type":"bytes32","name":"id","internalType":"bytes32"},{"type":"uint256","name":"timestamp","internalType":"uint256"},{"type":"uint256","name":"index","internalType":"uint256"},{"type":"address","name":"creator","internalType":"address"},{"type":"address","name":"sourceContract","internalType":"address"},{"type":"string","name":"targetNetwork","internalType":"string"},{"type":"address","name":"targetContract","internalType":"address"},{"type":"uint8","name":"targetDecimals","internalType":"uint8"},{"type":"bool","name":"isActive","internalType":"bool"}]}],"name":"getAllSwapContracts","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct OKLGAtomicSwap.TargetSwapInfo","components":[{"type":"bytes32","name":"id","internalType":"bytes32"},{"type":"uint256","name":"timestamp","internalType":"uint256"},{"type":"uint256","name":"index","internalType":"uint256"},{"type":"address","name":"creator","internalType":"address"},{"type":"address","name":"sourceContract","internalType":"address"},{"type":"string","name":"targetNetwork","internalType":"string"},{"type":"address","name":"targetContract","internalType":"address"},{"type":"uint8","name":"targetDecimals","internalType":"uint8"},{"type":"bool","name":"isActive","internalType":"bool"}]}],"name":"getLastCreatedContract","inputs":[{"type":"address","name":"_addy","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getSpendAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getTokenAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address payable"}],"name":"oracleAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"productID","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setOracleAddress","inputs":[{"type":"address","name":"_oracleAddress","internalType":"address"},{"type":"bool","name":"_changeAll","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setProductID","inputs":[{"type":"uint8","name":"_newId","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSpendAddy","inputs":[{"type":"address","name":"_spendAddy","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenAddy","inputs":[{"type":"address","name":"_tokenAddy","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapCreationGasLoadAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"id","internalType":"bytes32"},{"type":"uint256","name":"timestamp","internalType":"uint256"},{"type":"uint256","name":"index","internalType":"uint256"},{"type":"address","name":"creator","internalType":"address"},{"type":"address","name":"sourceContract","internalType":"address"},{"type":"string","name":"targetNetwork","internalType":"string"},{"type":"address","name":"targetContract","internalType":"address"},{"type":"uint8","name":"targetDecimals","internalType":"uint8"},{"type":"bool","name":"isActive","internalType":"bool"}],"name":"targetSwapContracts","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"id","internalType":"bytes32"},{"type":"uint256","name":"timestamp","internalType":"uint256"},{"type":"uint256","name":"index","internalType":"uint256"},{"type":"address","name":"creator","internalType":"address"},{"type":"address","name":"sourceContract","internalType":"address"},{"type":"string","name":"targetNetwork","internalType":"string"},{"type":"address","name":"targetContract","internalType":"address"},{"type":"uint8","name":"targetDecimals","internalType":"uint8"},{"type":"bool","name":"isActive","internalType":"bool"}],"name":"targetSwapContractsIndexed","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateSwapContract","inputs":[{"type":"uint256","name":"_createdBlockTimestamp","internalType":"uint256"},{"type":"address","name":"_sourceContract","internalType":"address"},{"type":"string","name":"_targetNetwork","internalType":"string"},{"type":"address","name":"_targetContract","internalType":"address"},{"type":"uint8","name":"_targetDecimals","internalType":"uint8"},{"type":"bool","name":"_isActive","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateSwapCreationGasLoadAmount","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawETH","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawTokens","inputs":[{"type":"address","name":"_tokenAddy","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]}]
              

Contract Creation Code

Verify & Publish
0x6080604052662386f26fc100006003553480156200001c57600080fd5b5060405162004393380380620043938339810160408190526200003f916200011d565b600683836200004e33620000b0565b60028054600180546001600160a01b039586166001600160a01b03199182161790915592841660ff909516600160a01b0283166001600160a81b0319909116179390931790925560048054939091169290911691909117905550620001669050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200011857600080fd5b919050565b60008060006060848603121562000132578283fd5b6200013d8462000100565b92506200014d6020850162000100565b91506200015d6040850162000100565b90509250925092565b61421d80620001766000396000f3fe608060405260043610620001435760003560e01c80637c0bf7bb11620000b9578063a89ae4ba1162000078578063a89ae4ba14620003a0578063d7f2b75e14620003c2578063dc3aaab514620003f7578063e086e5ec1462000417578063f2fde38b146200042f578063f9fb452f146200045457600080fd5b80637c0bf7bb14620002dd57806380bd3b7114620003025780638b0c82a714620003365780638da5cb5b146200035b5780639e9f695d146200037b57600080fd5b8063262aa6e71162000106578063262aa6e7146200021a578063418d22e5146200023f5780634bc10ccb146200026457806350f495351462000289578063715018a614620002c557600080fd5b806306b091f9146200014857806310fe9ae8146200016f578063111772c914620001a75780631802228914620001cc57806324f98a4a14620001f3575b600080fd5b3480156200015557600080fd5b506200016d6200016736600462001a86565b6200048a565b005b3480156200017c57600080fd5b506001546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b348015620001b457600080fd5b506200016d620001c636600462001a4b565b62000665565b348015620001d957600080fd5b50620001e46200077b565b6040516200019e919062001d3a565b3480156200020057600080fd5b506200020b60035481565b6040519081526020016200019e565b3480156200022757600080fd5b506200016d6200023936600462001b8c565b620008f9565b3480156200024c57600080fd5b506200016d6200025e36600462001b73565b62000c41565b3480156200027157600080fd5b506200016d6200028336600462001a27565b62000c73565b3480156200029657600080fd5b50620002ae620002a836600462001a27565b62000cc2565b6040516200019e9998979695949392919062001d9f565b348015620002d257600080fd5b506200016d62000dbc565b348015620002ea57600080fd5b506200016d620002fc36600462001a27565b62000df7565b3480156200030f57600080fd5b50620003276200032136600462001a27565b62000e46565b6040516200019e919062001e3a565b3480156200034357600080fd5b50620002ae6200035536600462001b73565b62000fc4565b3480156200036857600080fd5b506000546001600160a01b03166200018a565b3480156200038857600080fd5b506200016d6200039a36600462001c22565b62001025565b348015620003ad57600080fd5b506004546200018a906001600160a01b031681565b620003d9620003d336600462001ab2565b62001072565b604080519283526001600160a01b039091166020830152016200019e565b3480156200040457600080fd5b506002546001600160a01b03166200018a565b3480156200042457600080fd5b506200016d62001636565b3480156200043c57600080fd5b506200016d6200044e36600462001a27565b620016bb565b3480156200046157600080fd5b506002546200047790600160a01b900460ff1681565b60405160ff90911681526020016200019e565b6000546001600160a01b03163314620004c05760405162461bcd60e51b8152600401620004b79062001e05565b60405180910390fd5b818162000548576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b1580156200050757600080fd5b505afa1580156200051c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000542919062001b5a565b6200054a565b815b915060008211620005b95760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b6064820152608401620004b7565b806001600160a01b031663a9059cbb620005db6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b1580156200062457600080fd5b505af115801562000639573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200065f919062001b3b565b50505050565b6000546001600160a01b03163314620006925760405162461bcd60e51b8152600401620004b79062001e05565b600480546001600160a01b0319166001600160a01b0384161790558015620007775760005b6005548110156200077557600060058281548110620006e657634e487b7160e01b600052603260045260246000fd5b6000918252602090912060046007909202018101548154604051634c69c00f60e01b81526001600160a01b03918216938101939093521691508190634c69c00f90602401600060405180830381600087803b1580156200074557600080fd5b505af11580156200075a573d6000803e3d6000fd5b505050505080806200076c9062001ed5565b915050620006b7565b505b5050565b60606005805480602002602001604051908101604052809291908181526020016000905b82821015620008f05760008481526020908190206040805161012081018252600786029092018054835260018101549383019390935260028301549082015260038201546001600160a01b039081166060830152600483015416608082015260058201805491929160a084019190620008189062001e98565b80601f0160208091040260200160405190810160405280929190818152602001828054620008469062001e98565b8015620008975780601f106200086b5761010080835404028352916020019162000897565b820191906000526020600020905b8154815290600101906020018083116200087957829003601f168201915b5050509183525050600691909101546001600160a01b03811660208084019190915260ff600160a01b830481166040850152600160a81b909204909116151560609092019190915290825260019290920191016200079f565b50505050905090565b6001600160a01b038516600090815260066020526040812060028101546005805492939290919081106200093d57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600702019050620009606000546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806200098c575060038101546001600160a01b031633145b80620009a257506004546001600160a01b031633145b62000a045760405162461bcd60e51b815260206004820152602b60248201527f75706461746553776170436f6e7472616374206d75737420626520636f6e747260448201526a30b1ba1031b932b0ba37b960a91b6064820152608401620004b7565b600381015460405160609190911b6bffffffffffffffffffffffff191660208201526034810189905260009060029060540160408051601f198184030181529082905262000a529162001d1c565b602060405180830381855afa15801562000a70573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019062000a95919062001b5a565b90506001600160a01b03861662000afb5760405162461bcd60e51b815260206004820152602360248201527f74617267657420636f6e74726163742063616e6e6f742062652030206164647260448201526265737360e81b6064820152608401620004b7565b81548114801562000b0c5750825481145b62000b755760405162461bcd60e51b815260206004820152603260248201527f776520646f6e2774207265636f676e697a652074686520696e666f20796f7520604482015271073656e7420776974682074686520737761760741b6064820152608401620004b7565b865162000b8c90600584019060208a019062001831565b50816005018360050190805462000ba39062001e98565b62000bb0929190620018c0565b5050600690810180546001600160a01b039096166001600160a01b0319968716811782559290910180549095169091178455805460ff938416600160a01b90810260ff60a01b1992831617808455865490829004861690910291161784558054911515600160a81b90810260ff60a81b19938416179182905584549181900490931615159092029116179055505050565b6000546001600160a01b0316331462000c6e5760405162461bcd60e51b8152600401620004b79062001e05565b600355565b6000546001600160a01b0316331462000ca05760405162461bcd60e51b8152600401620004b79062001e05565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6006602052600090815260409020805460018201546002830154600384015460048501546005860180549596949593946001600160a01b0393841694939092169262000d0e9062001e98565b80601f016020809104026020016040519081016040528092919081815260200182805462000d3c9062001e98565b801562000d8d5780601f1062000d615761010080835404028352916020019162000d8d565b820191906000526020600020905b81548152906001019060200180831162000d6f57829003601f168201915b505050600690930154919250506001600160a01b0381169060ff600160a01b8204811691600160a81b90041689565b6000546001600160a01b0316331462000de95760405162461bcd60e51b8152600401620004b79062001e05565b62000df560006200175d565b565b6000546001600160a01b0316331462000e245760405162461bcd60e51b8152600401620004b79062001e05565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b604080516101208101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c0810182905260e081018290526101008101919091526001600160a01b03808316600090815260076020908152604091829020825161012081018452815481526001820154928101929092526002810154928201929092526003820154831660608201526004820154909216608083015260058101805460a08401919062000f009062001e98565b80601f016020809104026020016040519081016040528092919081815260200182805462000f2e9062001e98565b801562000f7f5780601f1062000f535761010080835404028352916020019162000f7f565b820191906000526020600020905b81548152906001019060200180831162000f6157829003601f168201915b5050509183525050600691909101546001600160a01b038116602083015260ff600160a01b820481166040840152600160a81b90910416151560609091015292915050565b6005818154811062000fd557600080fd5b6000918252602090912060079091020180546001820154600283015460038401546004850154600586018054959750939592946001600160a01b039283169491909216929162000d0e9062001e98565b6000546001600160a01b03163314620010525760405162461bcd60e51b8152600401620004b79062001e05565b6002805460ff909216600160a01b0260ff60a01b19909216919091179055565b60008062001082600354620017ad565b6004546003546040516001600160a01b0390921691600081818185875af1925050503d8060008114620010d2576040519150601f19603f3d011682016040523d82523d6000602084013e620010d7565b606091505b50506001548991506000906001600160a01b03166002546001600160a01b0316600460009054906101000a90046001600160a01b0316338d898d6040516200111f9062001944565b6001600160a01b039788168152958716602087015293861660408601529185166060850152909316608083015260ff90921660a082015260c081019190915260e001604051809103906000f0801580156200117e573d6000803e3d6000fd5b509050881562001216576040516323b872dd60e01b81523360048201526001600160a01b038281166024830152604482018b90528316906323b872dd90606401602060405180830381600087803b158015620011d957600080fd5b505af1158015620011ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001214919062001b3b565b505b6004805460405163f2fde38b60e01b81526001600160a01b039182169281019290925282169063f2fde38b90602401600060405180830381600087803b1580156200126057600080fd5b505af115801562001275573d6000803e3d6000fd5b50506040805161012081019091526bffffffffffffffffffffffff193360601b16610140820152426101548201819052925060009150806002610174820160408051601f1981840301815290829052620012cf9162001d1c565b602060405180830381855afa158015620012ed573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019062001312919062001b5a565b81526020018381526020016005805490508152602001336001600160a01b03168152602001846001600160a01b031681526020018a8152602001896001600160a01b031681526020018860ff168152602001600115158152509050600581908060018154018082558091505060019003906000526020600020906007020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160050190805190602001906200142f92919062001831565b5060c08201516006918201805460e0850151610100909501511515600160a81b0260ff60a81b1960ff909616600160a01b026001600160a81b03199092166001600160a01b0394851617919091179490941693909317909255848216600090815260209182526040908190208451815582850151600182015590840151600282015560608401516003820180549185166001600160a01b031992831617905560808501516004830180549190951691161790925560a083015180518493926200150092600585019291019062001831565b5060c08201516006909101805460e0840151610100909401511515600160a81b0260ff60a81b1960ff909516600160a01b026001600160a81b03199092166001600160a01b0394851617919091179390931692909217909155336000908152600760209081526040918290208451815581850151600182015591840151600283015560608401516003830180549185166001600160a01b031992831617905560808501516004840180549190951691161790925560a083015180518493620015d092600585019291019062001831565b5060c08201516006909101805460e0840151610100909401511515600160a81b0260ff60a81b1960ff909516600160a01b026001600160a81b03199092166001600160a01b03909416939093171792909216179055509350915050965096945050505050565b6000546001600160a01b03163314620016635760405162461bcd60e51b8152600401620004b79062001e05565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d806000811462000775576040519150601f19603f3d011682016040523d82523d6000602084013e62000775565b6000546001600160a01b03163314620016e85760405162461bcd60e51b8152600401620004b79062001e05565b6001600160a01b0381166200174f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620004b7565b6200175a816200175d565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002546001600160a01b031663d9e30e55620017ca833462001e4f565b60025460405160e084901b6001600160e01b0319168152336004820152600160a01b90910460ff1660248201526044016000604051808303818588803b1580156200181457600080fd5b505af115801562001829573d6000803e3d6000fd5b505050505050565b8280546200183f9062001e98565b90600052602060002090601f016020900481019282620018635760008555620018ae565b82601f106200187e57805160ff1916838001178555620018ae565b82800160010185558215620018ae579182015b82811115620018ae57825182559160200191906001019062001891565b50620018bc92915062001952565b5090565b828054620018ce9062001e98565b90600052602060002090601f016020900481019282620018f25760008555620018ae565b82601f10620019055780548555620018ae565b82800160010185558215620018ae57600052602060002091601f016020900482015b82811115620018ae57825482559160010191906001019062001927565b6122e28062001f2f83390190565b5b80821115620018bc576000815560010162001953565b80356001600160a01b03811681146200198157600080fd5b919050565b600082601f83011262001997578081fd5b813567ffffffffffffffff80821115620019b557620019b562001f09565b604051601f8301601f19908116603f01168101908282118183101715620019e057620019e062001f09565b81604052838152866020858801011115620019f9578485fd5b8360208701602083013792830160200193909352509392505050565b803560ff811681146200198157600080fd5b60006020828403121562001a39578081fd5b62001a448262001969565b9392505050565b6000806040838503121562001a5e578081fd5b62001a698362001969565b9150602083013562001a7b8162001f1f565b809150509250929050565b6000806040838503121562001a99578182fd5b62001aa48362001969565b946020939093013593505050565b60008060008060008060c0878903121562001acb578182fd5b62001ad68762001969565b95506020870135945060408701359350606087013567ffffffffffffffff81111562001b00578283fd5b62001b0e89828a0162001986565b93505062001b1f6080880162001969565b915062001b2f60a0880162001a15565b90509295509295509295565b60006020828403121562001b4d578081fd5b815162001a448162001f1f565b60006020828403121562001b6c578081fd5b5051919050565b60006020828403121562001b85578081fd5b5035919050565b60008060008060008060c0878903121562001ba5578182fd5b8635955062001bb76020880162001969565b9450604087013567ffffffffffffffff81111562001bd3578283fd5b62001be189828a0162001986565b94505062001bf26060880162001969565b925062001c026080880162001a15565b915060a087013562001c148162001f1f565b809150509295509295509295565b60006020828403121562001c34578081fd5b62001a448262001a15565b6000815180845262001c5981602086016020860162001e69565b601f01601f19169290920160200192915050565b600061012082518452602083015160208501526040830151604085015260018060a01b036060840151166060850152608083015162001cb760808601826001600160a01b03169052565b5060a08301518160a086015262001cd18286018262001c3f565b91505060c083015162001cef60c08601826001600160a01b03169052565b5060e083015162001d0560e086018260ff169052565b506101009283015115159390920192909252919050565b6000825162001d3081846020870162001e69565b9190910192915050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b8281101562001d9257603f1988860301845262001d7f85835162001c6d565b9450928501929085019060010162001d60565b5092979650505050505050565b60006101208b83528a602084015289604084015260018060a01b03808a16606085015280891660808501528160a085015262001dde8285018962001c3f565b961660c0840152505060ff9290921660e08301521515610100909101529695505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208152600062001a44602083018462001c6d565b60008282101562001e645762001e6462001ef3565b500390565b60005b8381101562001e8657818101518382015260200162001e6c565b838111156200065f5750506000910152565b600181811c9082168062001ead57607f821691505b6020821081141562001ecf57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562001eec5762001eec62001ef3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146200175a57600080fdfe608060405266071afd498d00006008556009805460ff191660011790553480156200002957600080fd5b50604051620022e2380380620022e28339810160408190526200004c916200015b565b600787876200005b33620000ee565b60028054600180546001600160a01b03199081166001600160a01b03968716179091556001600160a81b0319909116600160a01b60ff9687160282161792841692909217905560058054821698831698909817909755600480548816968216969096179095556006919091556007805460ff19169290911691909117905560038054909316911617905550620001ee9050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015657600080fd5b919050565b600080600080600080600060e0888a03121562000176578283fd5b62000181886200013e565b965062000191602089016200013e565b9550620001a1604089016200013e565b9450620001b1606089016200013e565b9350620001c1608089016200013e565b925060a088015160ff81168114620001d7578283fd5b8092505060c0880151905092959891949750929550565b6120e480620001fe6000396000f3fe6080604052600436106101e35760003560e01c80639e9f695d11610102578063cd41ced011610095578063eba760d611610064578063eba760d614610671578063ed8f584b1461068f578063f2fde38b146106b7578063f9fb452f146106d757600080fd5b8063cd41ced0146105a3578063dc3aaab5146105c3578063e086e5ec146105e1578063eb84e7f2146105f657600080fd5b8063a89ae4ba116100d1578063a89ae4ba14610521578063ad70127814610541578063bfe22a011461056d578063cce987d41461058d57600080fd5b80639e9f695d146104a1578063a06bbf08146104c1578063a1734e60146104e1578063a3e676101461050157600080fd5b80634c69c00f1161017a5780638a2e386e116101495780638a2e386e1461038e5780638d17359e146103a15780638da5cb5b146103b7578063933a59db146103d557600080fd5b80634c69c00f14610319578063565e6d1c14610339578063715018a6146103595780637c0bf7bb1461036e57600080fd5b806318e02bd9116101b657806318e02bd91461028f57806322f3e2d4146102af578063315a095d146102d95780634bc10ccb146102f957600080fd5b806306b091f9146101e85780631028e4921461020a57806310fe9ae81461023d578063113d4e1e1461026f575b600080fd5b3480156101f457600080fd5b50610208610203366004611d86565b6106f8565b005b34801561021657600080fd5b5061022a610225366004611de7565b6108c3565b6040519081526020015b60405180910390f35b34801561024957600080fd5b506001546001600160a01b03165b6040516001600160a01b039091168152602001610234565b34801561027b57600080fd5b5061020861028a366004611d65565b610b50565b34801561029b57600080fd5b506102086102aa366004611d65565b610bba565b3480156102bb57600080fd5b506009546102c99060ff1681565b6040519015158152602001610234565b3480156102e557600080fd5b506102086102f4366004611de7565b610c8b565b34801561030557600080fd5b50610208610314366004611d65565b610d7d565b34801561032557600080fd5b50610208610334366004611d65565b610dc9565b34801561034557600080fd5b50610208610354366004611e17565b610e1d565b34801561036557600080fd5b50610208610e71565b34801561037a57600080fd5b50610208610389366004611d65565b610ea7565b61020861039c366004611e46565b610ef3565b3480156103ad57600080fd5b5061022a60085481565b3480156103c357600080fd5b506000546001600160a01b0316610257565b3480156103e157600080fd5b506104506103f0366004611d65565b600b602052600090815260409020805460018201546002830154600384015460049094015492939192909160ff808216926101008304821692620100008104831692630100000082041691600160201b9091046001600160a01b03169089565b60408051998a5260208a01989098529688019590955292151560608701529015156080860152151560a0850152151560c08401526001600160a01b031660e083015261010082015261012001610234565b3480156104ad57600080fd5b506102086104bc366004611e71565b611192565b3480156104cd57600080fd5b506102086104dc366004611e71565b6111dc565b3480156104ed57600080fd5b506102086104fc366004611de7565b61121c565b34801561050d57600080fd5b50600454610257906001600160a01b031681565b34801561052d57600080fd5b50600554610257906001600160a01b031681565b34801561054d57600080fd5b5060075461055b9060ff1681565b60405160ff9091168152602001610234565b34801561057957600080fd5b50610208610588366004611daf565b6113df565b34801561059957600080fd5b5061022a60065481565b3480156105af57600080fd5b506102086105be366004611de7565b611476565b3480156105cf57600080fd5b506002546001600160a01b0316610257565b3480156105ed57600080fd5b506102086114a5565b34801561060257600080fd5b50610450610611366004611de7565b600a602052600090815260409020805460018201546002830154600384015460049094015492939192909160ff808216926101008304821692620100008104831692630100000082041691600160201b9091046001600160a01b03169089565b34801561067d57600080fd5b506003546001600160a01b0316610257565b6106a261069d366004611de7565b61152a565b60408051928352602083019190915201610234565b3480156106c357600080fd5b506102086106d2366004611d65565b611ab1565b3480156106e357600080fd5b5060025461055b90600160a01b900460ff1681565b6000546001600160a01b0316331461072b5760405162461bcd60e51b815260040161072290611ee2565b60405180910390fd5b81816107ad576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a89190611dff565b6107af565b815b91506000821161081c5760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b6064820152608401610722565b806001600160a01b031663a9059cbb61083d6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561088557600080fd5b505af1158015610899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bd9190611dcb565b50505050565b60095460009060ff166108e85760405162461bcd60e51b815260040161072290611f17565b6000828152600a602090815260409182902082516101208101845281548152600182015492810192909252600281015492820192909252600382015460ff808216151560608401526101008083048216151560808501526201000083048216151560a085015263010000008304909116151560c0840152600160201b9091046001600160a01b031660e083015260048301549082015261098790611b49565b600481015460075460ff1615610a50576007546109a89060ff16600a611fc1565b600360009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156109f657600080fd5b505afa158015610a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2e9190611e8d565b610a3990600a611fc1565b610a43908361206e565b610a4d9190611f5e565b90505b600380549083015460405163a9059cbb60e01b81526001600160a01b03600160201b909204821660048201526024810184905291169063a9059cbb90604401602060405180830381600087803b158015610aa957600080fd5b505af1158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190611dcb565b5042600283015560038201805461010061ff0019909116179081905560408051600160201b9092046001600160a01b031682526020820183905285917f5426fb0d0815408493c5f4929e0ed09d2ed7e5bb76c81b768453c1257dae292d910160405180910390a2509192915050565b6000546001600160a01b03163314610b7a5760405162461bcd60e51b815260040161072290611ee2565b6001600160a01b03166000908152600b6020526040812081815560018101829055600281018290556003810180546001600160c01b031916905560040155565b6004546001600160a01b03163314610c2a5760405162461bcd60e51b815260206004820152602d60248201527f75736572206d7573742062652063757272656e7420746f6b656e206f776e657260448201526c081d1bc818da185b99d9481a5d609a1b6064820152608401610722565b600480546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f58c4666d1756c527d157a91550f4ca84593b1353eea2528168c1ff4be2113706910160405180910390a15050565b6004546001600160a01b03163314610cf55760405162461bcd60e51b815260206004820152602760248201527f7769746864726177546f6b656e732075736572206d75737420626520746f6b65604482015266371037bbb732b960c91b6064820152608401610722565b60035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610d4157600080fd5b505af1158015610d55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d799190611dcb565b5050565b6000546001600160a01b03163314610da75760405162461bcd60e51b815260040161072290611ee2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610df35760405162461bcd60e51b815260040161072290611ee2565b600580546001600160a01b0319166001600160a01b038316908117909155610e1a90611ab1565b50565b6000546001600160a01b03163314610e475760405162461bcd60e51b815260040161072290611ee2565b6000918252600a602052604090912060030180549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314610e9b5760405162461bcd60e51b815260040161072290611ee2565b610ea56000611c79565b565b6000546001600160a01b03163314610ed15760405162461bcd60e51b815260040161072290611ee2565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600854341015610f645760405162461bcd60e51b815260206004820152603660248201527f796f75206d7573742073656e6420656e6f7567682067617320746f20636f766560448201527539103a34329039b2b732103a3930b739b0b1ba34b7b760511b6064820152608401610722565b6040516bffffffffffffffffffffffff193360601b166020820152603481018390526054810182905260029060740160408051601f1981840301815290829052610fad91611ea9565b602060405180830381855afa158015610fca573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610fed9190611dff565b831461103b5760405162461bcd60e51b815260206004820152601c60248201527f776520646f6e2774207265636f676e697a6520746869732073776170000000006044820152606401610722565b6008541561109a576005546008546040516001600160a01b0390921691600081818185875af1925050503d8060008114611091576040519150601f19603f3d011682016040523d82523d6000602084013e611096565b606091505b5050505b604080516101208101825284815260208082019485524282840190815260016060840181815260006080860181815260a0870182815260c088018581523360e08a01908152610100808b019c8d529d8552600a9098529890922096518755985192860192909255915160028501559051600384018054975192519551935161ffff1990981691151561ff001916919091179115159097021763ffff00001916620100009315159390930263ff00000019169290921763010000009215159290920291909117640100000000600160c01b031916600160201b6001600160a01b0390941693909302929092179092559051600490910155565b6000546001600160a01b031633146111bc5760405162461bcd60e51b815260040161072290611ee2565b6002805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146112065760405162461bcd60e51b815260040161072290611ee2565b6007805460ff191660ff92909216919091179055565b60095460ff1661123e5760405162461bcd60e51b815260040161072290611f17565b6000818152600a602090815260409182902082516101208101845281548152600182015492810192909252600281015492820192909252600382015460ff808216151560608401526101008083048216151560808501526201000083048216151560a085015263010000008304909116151560c0840152600160201b9091046001600160a01b031660e08301526004830154908201526112dd90611b49565b6003818101805462ff00001916620100001790819055905460048084015460405163a9059cbb60e01b81526001600160a01b03600160201b909504851692810192909252602482015291169063a9059cbb90604401602060405180830381600087803b15801561134c57600080fd5b505af1158015611360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113849190611dcb565b506003810154600482015460408051600160201b9093046001600160a01b03168352602083019190915283917f6e4038e4e259d4582fb84bcdf48e58d406d9322900286ea8cde6e36f94bbc32c910160405180910390a25050565b6000546001600160a01b031633148061140257506004546001600160a01b031633145b6114635760405162461bcd60e51b815260206004820152602c60248201527f73657441637469766553746174652075736572206d75737420626520636f6e7460448201526b3930b1ba1031b932b0ba37b960a11b6064820152608401610722565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146114a05760405162461bcd60e51b815260040161072290611ee2565b600855565b6000546001600160a01b031633146114cf5760405162461bcd60e51b815260040161072290611ee2565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b505050565b600954600090819060ff166115515760405162461bcd60e51b815260040161072290611f17565b6008543410156115c95760405162461bcd60e51b815260206004820152603d60248201527f796f75206d75737420616c736f2073656e6420656e6f7567682067617320746f60448201527f20636f7665722074686520746172676574207472616e73616374696f6e0000006064820152608401610722565b60065415806115da57506006548311155b6116355760405162461bcd60e51b815260206004820152602660248201527f747279696e6720746f2073656e64206d6f7265207468616e206d617853776170604482015265105b5bdd5b9d60d21b6064820152608401610722565b611640600854611cc9565b6008541561169f576005546008546040516001600160a01b0390921691600081818185875af1925050503d8060008114611696576040519150601f19603f3d011682016040523d82523d6000602084013e61169b565b606091505b5050505b6003546040516323b872dd60e01b8152336004820152306024820152604481018590526001600160a01b03909116906323b872dd90606401602060405180830381600087803b1580156116f157600080fd5b505af1158015611705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117299190611dcb565b506040516bffffffffffffffffffffffff193360601b1660208201524260348201819052605482018590529060009060029060740160408051601f198184030181529082905261177891611ea9565b602060405180830381855afa158015611795573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906117b89190611dff565b9050604051806101200160405280828152602001838152602001838152602001600015158152602001600015158152602001600015158152602001600015158152602001336001600160a01b0316815260200186815250600a600083815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555060808201518160030160016101000a81548160ff02191690831515021790555060a08201518160030160026101000a81548160ff02191690831515021790555060c08201518160030160036101000a81548160ff02191690831515021790555060e08201518160030160046101000a8154816001600160a01b0302191690836001600160a01b031602179055506101008201518160040155905050600a6000828152602001908152602001600020600b6000336001600160a01b03166001600160a01b031681526020019081526020016000206000820154816000015560018201548160010155600282015481600201556003820160009054906101000a900460ff168160030160006101000a81548160ff0219169083151502179055506003820160019054906101000a900460ff168160030160016101000a81548160ff0219169083151502179055506003820160029054906101000a900460ff168160030160026101000a81548160ff0219169083151502179055506003820160039054906101000a900460ff168160030160036101000a81548160ff0219169083151502179055506003820160049054906101000a90046001600160a01b03168160030160046101000a8154816001600160a01b0302191690836001600160a01b0316021790555060048201548160040155905050807f5a60af76681c67fc86f84213cadca54f623d74c2e0b5b43dd1a92412e238dcef833388604051611aa0939291909283526001600160a01b03919091166020830152604082015260600190565b60405180910390a294909350915050565b6000546001600160a01b03163314611adb5760405162461bcd60e51b815260040161072290611ee2565b6001600160a01b038116611b405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610722565b610e1a81611c79565b6000546001600160a01b03163314611b735760405162461bcd60e51b815260040161072290611ee2565b60008160200151118015611b8c57506000816101000151115b611bd85760405162461bcd60e51b815260206004820152601860248201527f7377617020646f6573206e6f74206578697374207965742e00000000000000006044820152606401610722565b8060800151158015611bec57508060a00151155b8015611bf957508060c001515b610e1a5760405162461bcd60e51b815260206004820152604560248201527f737761702068617320616c7265616479206265656e20636f6d706c657465642c60448201527f20726566756e6465642c206f722067617320686173206e6f74206265656e20666064820152641d5b99195960da1b608482015260a401610722565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002546001600160a01b031663d9e30e55611ce4833461208d565b60025460405160e084901b6001600160e01b0319168152336004820152600160a01b90910460ff1660248201526044016000604051808303818588803b158015611d2d57600080fd5b505af1158015611d41573d6000803e3d6000fd5b505050505050565b80356001600160a01b0381168114611d6057600080fd5b919050565b600060208284031215611d76578081fd5b611d7f82611d49565b9392505050565b60008060408385031215611d98578081fd5b611da183611d49565b946020939093013593505050565b600060208284031215611dc0578081fd5b8135611d7f816120ba565b600060208284031215611ddc578081fd5b8151611d7f816120ba565b600060208284031215611df8578081fd5b5035919050565b600060208284031215611e10578081fd5b5051919050565b60008060408385031215611e29578182fd5b823591506020830135611e3b816120ba565b809150509250929050565b600080600060608486031215611e5a578081fd5b505081359360208301359350604090920135919050565b600060208284031215611e82578081fd5b8135611d7f816120c8565b600060208284031215611e9e578081fd5b8151611d7f816120c8565b60008251815b81811015611ec95760208186018101518583015201611eaf565b81811115611ed75782828501525b509190910192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f746869732061746f6d6963207377617020696e7374616e6365206973206e6f746040820152662061637469766560c81b606082015260800190565b600082611f7957634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115611fb9578160001904821115611f9f57611f9f6120a4565b80851615611fac57918102915b93841c9390800290611f83565b509250929050565b6000611d7f60ff841683600082611fda57506001612068565b81611fe757506000612068565b8160018114611ffd576002811461200757612023565b6001915050612068565b60ff841115612018576120186120a4565b50506001821b612068565b5060208310610133831016604e8410600b8410161715612046575081810a612068565b6120508383611f7e565b8060001904821115612064576120646120a4565b0290505b92915050565b6000816000190483118215151615612088576120886120a4565b500290565b60008282101561209f5761209f6120a4565b500390565b634e487b7160e01b600052601160045260246000fd5b8015158114610e1a57600080fd5b60ff81168114610e1a57600080fdfea164736f6c6343000804000aa164736f6c6343000804000a0000000000000000000000005dbb9f64cd96e2dbbca58d14863d615b67b42f2e0000000000000000000000005bde378e0a0cebc941b03a579da0088dc1616faf0000000000000000000000001f1851f37b0d2428169d79d12eb2616037ad4f56

Deployed ByteCode

0x608060405260043610620001435760003560e01c80637c0bf7bb11620000b9578063a89ae4ba1162000078578063a89ae4ba14620003a0578063d7f2b75e14620003c2578063dc3aaab514620003f7578063e086e5ec1462000417578063f2fde38b146200042f578063f9fb452f146200045457600080fd5b80637c0bf7bb14620002dd57806380bd3b7114620003025780638b0c82a714620003365780638da5cb5b146200035b5780639e9f695d146200037b57600080fd5b8063262aa6e71162000106578063262aa6e7146200021a578063418d22e5146200023f5780634bc10ccb146200026457806350f495351462000289578063715018a614620002c557600080fd5b806306b091f9146200014857806310fe9ae8146200016f578063111772c914620001a75780631802228914620001cc57806324f98a4a14620001f3575b600080fd5b3480156200015557600080fd5b506200016d6200016736600462001a86565b6200048a565b005b3480156200017c57600080fd5b506001546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b348015620001b457600080fd5b506200016d620001c636600462001a4b565b62000665565b348015620001d957600080fd5b50620001e46200077b565b6040516200019e919062001d3a565b3480156200020057600080fd5b506200020b60035481565b6040519081526020016200019e565b3480156200022757600080fd5b506200016d6200023936600462001b8c565b620008f9565b3480156200024c57600080fd5b506200016d6200025e36600462001b73565b62000c41565b3480156200027157600080fd5b506200016d6200028336600462001a27565b62000c73565b3480156200029657600080fd5b50620002ae620002a836600462001a27565b62000cc2565b6040516200019e9998979695949392919062001d9f565b348015620002d257600080fd5b506200016d62000dbc565b348015620002ea57600080fd5b506200016d620002fc36600462001a27565b62000df7565b3480156200030f57600080fd5b50620003276200032136600462001a27565b62000e46565b6040516200019e919062001e3a565b3480156200034357600080fd5b50620002ae6200035536600462001b73565b62000fc4565b3480156200036857600080fd5b506000546001600160a01b03166200018a565b3480156200038857600080fd5b506200016d6200039a36600462001c22565b62001025565b348015620003ad57600080fd5b506004546200018a906001600160a01b031681565b620003d9620003d336600462001ab2565b62001072565b604080519283526001600160a01b039091166020830152016200019e565b3480156200040457600080fd5b506002546001600160a01b03166200018a565b3480156200042457600080fd5b506200016d62001636565b3480156200043c57600080fd5b506200016d6200044e36600462001a27565b620016bb565b3480156200046157600080fd5b506002546200047790600160a01b900460ff1681565b60405160ff90911681526020016200019e565b6000546001600160a01b03163314620004c05760405162461bcd60e51b8152600401620004b79062001e05565b60405180910390fd5b818162000548576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b1580156200050757600080fd5b505afa1580156200051c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000542919062001b5a565b6200054a565b815b915060008211620005b95760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b6064820152608401620004b7565b806001600160a01b031663a9059cbb620005db6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b1580156200062457600080fd5b505af115801562000639573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200065f919062001b3b565b50505050565b6000546001600160a01b03163314620006925760405162461bcd60e51b8152600401620004b79062001e05565b600480546001600160a01b0319166001600160a01b0384161790558015620007775760005b6005548110156200077557600060058281548110620006e657634e487b7160e01b600052603260045260246000fd5b6000918252602090912060046007909202018101548154604051634c69c00f60e01b81526001600160a01b03918216938101939093521691508190634c69c00f90602401600060405180830381600087803b1580156200074557600080fd5b505af11580156200075a573d6000803e3d6000fd5b505050505080806200076c9062001ed5565b915050620006b7565b505b5050565b60606005805480602002602001604051908101604052809291908181526020016000905b82821015620008f05760008481526020908190206040805161012081018252600786029092018054835260018101549383019390935260028301549082015260038201546001600160a01b039081166060830152600483015416608082015260058201805491929160a084019190620008189062001e98565b80601f0160208091040260200160405190810160405280929190818152602001828054620008469062001e98565b8015620008975780601f106200086b5761010080835404028352916020019162000897565b820191906000526020600020905b8154815290600101906020018083116200087957829003601f168201915b5050509183525050600691909101546001600160a01b03811660208084019190915260ff600160a01b830481166040850152600160a81b909204909116151560609092019190915290825260019290920191016200079f565b50505050905090565b6001600160a01b038516600090815260066020526040812060028101546005805492939290919081106200093d57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600702019050620009606000546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806200098c575060038101546001600160a01b031633145b80620009a257506004546001600160a01b031633145b62000a045760405162461bcd60e51b815260206004820152602b60248201527f75706461746553776170436f6e7472616374206d75737420626520636f6e747260448201526a30b1ba1031b932b0ba37b960a91b6064820152608401620004b7565b600381015460405160609190911b6bffffffffffffffffffffffff191660208201526034810189905260009060029060540160408051601f198184030181529082905262000a529162001d1c565b602060405180830381855afa15801562000a70573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019062000a95919062001b5a565b90506001600160a01b03861662000afb5760405162461bcd60e51b815260206004820152602360248201527f74617267657420636f6e74726163742063616e6e6f742062652030206164647260448201526265737360e81b6064820152608401620004b7565b81548114801562000b0c5750825481145b62000b755760405162461bcd60e51b815260206004820152603260248201527f776520646f6e2774207265636f676e697a652074686520696e666f20796f7520604482015271073656e7420776974682074686520737761760741b6064820152608401620004b7565b865162000b8c90600584019060208a019062001831565b50816005018360050190805462000ba39062001e98565b62000bb0929190620018c0565b5050600690810180546001600160a01b039096166001600160a01b0319968716811782559290910180549095169091178455805460ff938416600160a01b90810260ff60a01b1992831617808455865490829004861690910291161784558054911515600160a81b90810260ff60a81b19938416179182905584549181900490931615159092029116179055505050565b6000546001600160a01b0316331462000c6e5760405162461bcd60e51b8152600401620004b79062001e05565b600355565b6000546001600160a01b0316331462000ca05760405162461bcd60e51b8152600401620004b79062001e05565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6006602052600090815260409020805460018201546002830154600384015460048501546005860180549596949593946001600160a01b0393841694939092169262000d0e9062001e98565b80601f016020809104026020016040519081016040528092919081815260200182805462000d3c9062001e98565b801562000d8d5780601f1062000d615761010080835404028352916020019162000d8d565b820191906000526020600020905b81548152906001019060200180831162000d6f57829003601f168201915b505050600690930154919250506001600160a01b0381169060ff600160a01b8204811691600160a81b90041689565b6000546001600160a01b0316331462000de95760405162461bcd60e51b8152600401620004b79062001e05565b62000df560006200175d565b565b6000546001600160a01b0316331462000e245760405162461bcd60e51b8152600401620004b79062001e05565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b604080516101208101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c0810182905260e081018290526101008101919091526001600160a01b03808316600090815260076020908152604091829020825161012081018452815481526001820154928101929092526002810154928201929092526003820154831660608201526004820154909216608083015260058101805460a08401919062000f009062001e98565b80601f016020809104026020016040519081016040528092919081815260200182805462000f2e9062001e98565b801562000f7f5780601f1062000f535761010080835404028352916020019162000f7f565b820191906000526020600020905b81548152906001019060200180831162000f6157829003601f168201915b5050509183525050600691909101546001600160a01b038116602083015260ff600160a01b820481166040840152600160a81b90910416151560609091015292915050565b6005818154811062000fd557600080fd5b6000918252602090912060079091020180546001820154600283015460038401546004850154600586018054959750939592946001600160a01b039283169491909216929162000d0e9062001e98565b6000546001600160a01b03163314620010525760405162461bcd60e51b8152600401620004b79062001e05565b6002805460ff909216600160a01b0260ff60a01b19909216919091179055565b60008062001082600354620017ad565b6004546003546040516001600160a01b0390921691600081818185875af1925050503d8060008114620010d2576040519150601f19603f3d011682016040523d82523d6000602084013e620010d7565b606091505b50506001548991506000906001600160a01b03166002546001600160a01b0316600460009054906101000a90046001600160a01b0316338d898d6040516200111f9062001944565b6001600160a01b039788168152958716602087015293861660408601529185166060850152909316608083015260ff90921660a082015260c081019190915260e001604051809103906000f0801580156200117e573d6000803e3d6000fd5b509050881562001216576040516323b872dd60e01b81523360048201526001600160a01b038281166024830152604482018b90528316906323b872dd90606401602060405180830381600087803b158015620011d957600080fd5b505af1158015620011ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001214919062001b3b565b505b6004805460405163f2fde38b60e01b81526001600160a01b039182169281019290925282169063f2fde38b90602401600060405180830381600087803b1580156200126057600080fd5b505af115801562001275573d6000803e3d6000fd5b50506040805161012081019091526bffffffffffffffffffffffff193360601b16610140820152426101548201819052925060009150806002610174820160408051601f1981840301815290829052620012cf9162001d1c565b602060405180830381855afa158015620012ed573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019062001312919062001b5a565b81526020018381526020016005805490508152602001336001600160a01b03168152602001846001600160a01b031681526020018a8152602001896001600160a01b031681526020018860ff168152602001600115158152509050600581908060018154018082558091505060019003906000526020600020906007020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160050190805190602001906200142f92919062001831565b5060c08201516006918201805460e0850151610100909501511515600160a81b0260ff60a81b1960ff909616600160a01b026001600160a81b03199092166001600160a01b0394851617919091179490941693909317909255848216600090815260209182526040908190208451815582850151600182015590840151600282015560608401516003820180549185166001600160a01b031992831617905560808501516004830180549190951691161790925560a083015180518493926200150092600585019291019062001831565b5060c08201516006909101805460e0840151610100909401511515600160a81b0260ff60a81b1960ff909516600160a01b026001600160a81b03199092166001600160a01b0394851617919091179390931692909217909155336000908152600760209081526040918290208451815581850151600182015591840151600283015560608401516003830180549185166001600160a01b031992831617905560808501516004840180549190951691161790925560a083015180518493620015d092600585019291019062001831565b5060c08201516006909101805460e0840151610100909401511515600160a81b0260ff60a81b1960ff909516600160a01b026001600160a81b03199092166001600160a01b03909416939093171792909216179055509350915050965096945050505050565b6000546001600160a01b03163314620016635760405162461bcd60e51b8152600401620004b79062001e05565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d806000811462000775576040519150601f19603f3d011682016040523d82523d6000602084013e62000775565b6000546001600160a01b03163314620016e85760405162461bcd60e51b8152600401620004b79062001e05565b6001600160a01b0381166200174f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620004b7565b6200175a816200175d565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002546001600160a01b031663d9e30e55620017ca833462001e4f565b60025460405160e084901b6001600160e01b0319168152336004820152600160a01b90910460ff1660248201526044016000604051808303818588803b1580156200181457600080fd5b505af115801562001829573d6000803e3d6000fd5b505050505050565b8280546200183f9062001e98565b90600052602060002090601f016020900481019282620018635760008555620018ae565b82601f106200187e57805160ff1916838001178555620018ae565b82800160010185558215620018ae579182015b82811115620018ae57825182559160200191906001019062001891565b50620018bc92915062001952565b5090565b828054620018ce9062001e98565b90600052602060002090601f016020900481019282620018f25760008555620018ae565b82601f10620019055780548555620018ae565b82800160010185558215620018ae57600052602060002091601f016020900482015b82811115620018ae57825482559160010191906001019062001927565b6122e28062001f2f83390190565b5b80821115620018bc576000815560010162001953565b80356001600160a01b03811681146200198157600080fd5b919050565b600082601f83011262001997578081fd5b813567ffffffffffffffff80821115620019b557620019b562001f09565b604051601f8301601f19908116603f01168101908282118183101715620019e057620019e062001f09565b81604052838152866020858801011115620019f9578485fd5b8360208701602083013792830160200193909352509392505050565b803560ff811681146200198157600080fd5b60006020828403121562001a39578081fd5b62001a448262001969565b9392505050565b6000806040838503121562001a5e578081fd5b62001a698362001969565b9150602083013562001a7b8162001f1f565b809150509250929050565b6000806040838503121562001a99578182fd5b62001aa48362001969565b946020939093013593505050565b60008060008060008060c0878903121562001acb578182fd5b62001ad68762001969565b95506020870135945060408701359350606087013567ffffffffffffffff81111562001b00578283fd5b62001b0e89828a0162001986565b93505062001b1f6080880162001969565b915062001b2f60a0880162001a15565b90509295509295509295565b60006020828403121562001b4d578081fd5b815162001a448162001f1f565b60006020828403121562001b6c578081fd5b5051919050565b60006020828403121562001b85578081fd5b5035919050565b60008060008060008060c0878903121562001ba5578182fd5b8635955062001bb76020880162001969565b9450604087013567ffffffffffffffff81111562001bd3578283fd5b62001be189828a0162001986565b94505062001bf26060880162001969565b925062001c026080880162001a15565b915060a087013562001c148162001f1f565b809150509295509295509295565b60006020828403121562001c34578081fd5b62001a448262001a15565b6000815180845262001c5981602086016020860162001e69565b601f01601f19169290920160200192915050565b600061012082518452602083015160208501526040830151604085015260018060a01b036060840151166060850152608083015162001cb760808601826001600160a01b03169052565b5060a08301518160a086015262001cd18286018262001c3f565b91505060c083015162001cef60c08601826001600160a01b03169052565b5060e083015162001d0560e086018260ff169052565b506101009283015115159390920192909252919050565b6000825162001d3081846020870162001e69565b9190910192915050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b8281101562001d9257603f1988860301845262001d7f85835162001c6d565b9450928501929085019060010162001d60565b5092979650505050505050565b60006101208b83528a602084015289604084015260018060a01b03808a16606085015280891660808501528160a085015262001dde8285018962001c3f565b961660c0840152505060ff9290921660e08301521515610100909101529695505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208152600062001a44602083018462001c6d565b60008282101562001e645762001e6462001ef3565b500390565b60005b8381101562001e8657818101518382015260200162001e6c565b838111156200065f5750506000910152565b600181811c9082168062001ead57607f821691505b6020821081141562001ecf57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562001eec5762001eec62001ef3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146200175a57600080fdfe608060405266071afd498d00006008556009805460ff191660011790553480156200002957600080fd5b50604051620022e2380380620022e28339810160408190526200004c916200015b565b600787876200005b33620000ee565b60028054600180546001600160a01b03199081166001600160a01b03968716179091556001600160a81b0319909116600160a01b60ff9687160282161792841692909217905560058054821698831698909817909755600480548816968216969096179095556006919091556007805460ff19169290911691909117905560038054909316911617905550620001ee9050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015657600080fd5b919050565b600080600080600080600060e0888a03121562000176578283fd5b62000181886200013e565b965062000191602089016200013e565b9550620001a1604089016200013e565b9450620001b1606089016200013e565b9350620001c1608089016200013e565b925060a088015160ff81168114620001d7578283fd5b8092505060c0880151905092959891949750929550565b6120e480620001fe6000396000f3fe6080604052600436106101e35760003560e01c80639e9f695d11610102578063cd41ced011610095578063eba760d611610064578063eba760d614610671578063ed8f584b1461068f578063f2fde38b146106b7578063f9fb452f146106d757600080fd5b8063cd41ced0146105a3578063dc3aaab5146105c3578063e086e5ec146105e1578063eb84e7f2146105f657600080fd5b8063a89ae4ba116100d1578063a89ae4ba14610521578063ad70127814610541578063bfe22a011461056d578063cce987d41461058d57600080fd5b80639e9f695d146104a1578063a06bbf08146104c1578063a1734e60146104e1578063a3e676101461050157600080fd5b80634c69c00f1161017a5780638a2e386e116101495780638a2e386e1461038e5780638d17359e146103a15780638da5cb5b146103b7578063933a59db146103d557600080fd5b80634c69c00f14610319578063565e6d1c14610339578063715018a6146103595780637c0bf7bb1461036e57600080fd5b806318e02bd9116101b657806318e02bd91461028f57806322f3e2d4146102af578063315a095d146102d95780634bc10ccb146102f957600080fd5b806306b091f9146101e85780631028e4921461020a57806310fe9ae81461023d578063113d4e1e1461026f575b600080fd5b3480156101f457600080fd5b50610208610203366004611d86565b6106f8565b005b34801561021657600080fd5b5061022a610225366004611de7565b6108c3565b6040519081526020015b60405180910390f35b34801561024957600080fd5b506001546001600160a01b03165b6040516001600160a01b039091168152602001610234565b34801561027b57600080fd5b5061020861028a366004611d65565b610b50565b34801561029b57600080fd5b506102086102aa366004611d65565b610bba565b3480156102bb57600080fd5b506009546102c99060ff1681565b6040519015158152602001610234565b3480156102e557600080fd5b506102086102f4366004611de7565b610c8b565b34801561030557600080fd5b50610208610314366004611d65565b610d7d565b34801561032557600080fd5b50610208610334366004611d65565b610dc9565b34801561034557600080fd5b50610208610354366004611e17565b610e1d565b34801561036557600080fd5b50610208610e71565b34801561037a57600080fd5b50610208610389366004611d65565b610ea7565b61020861039c366004611e46565b610ef3565b3480156103ad57600080fd5b5061022a60085481565b3480156103c357600080fd5b506000546001600160a01b0316610257565b3480156103e157600080fd5b506104506103f0366004611d65565b600b602052600090815260409020805460018201546002830154600384015460049094015492939192909160ff808216926101008304821692620100008104831692630100000082041691600160201b9091046001600160a01b03169089565b60408051998a5260208a01989098529688019590955292151560608701529015156080860152151560a0850152151560c08401526001600160a01b031660e083015261010082015261012001610234565b3480156104ad57600080fd5b506102086104bc366004611e71565b611192565b3480156104cd57600080fd5b506102086104dc366004611e71565b6111dc565b3480156104ed57600080fd5b506102086104fc366004611de7565b61121c565b34801561050d57600080fd5b50600454610257906001600160a01b031681565b34801561052d57600080fd5b50600554610257906001600160a01b031681565b34801561054d57600080fd5b5060075461055b9060ff1681565b60405160ff9091168152602001610234565b34801561057957600080fd5b50610208610588366004611daf565b6113df565b34801561059957600080fd5b5061022a60065481565b3480156105af57600080fd5b506102086105be366004611de7565b611476565b3480156105cf57600080fd5b506002546001600160a01b0316610257565b3480156105ed57600080fd5b506102086114a5565b34801561060257600080fd5b50610450610611366004611de7565b600a602052600090815260409020805460018201546002830154600384015460049094015492939192909160ff808216926101008304821692620100008104831692630100000082041691600160201b9091046001600160a01b03169089565b34801561067d57600080fd5b506003546001600160a01b0316610257565b6106a261069d366004611de7565b61152a565b60408051928352602083019190915201610234565b3480156106c357600080fd5b506102086106d2366004611d65565b611ab1565b3480156106e357600080fd5b5060025461055b90600160a01b900460ff1681565b6000546001600160a01b0316331461072b5760405162461bcd60e51b815260040161072290611ee2565b60405180910390fd5b81816107ad576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a89190611dff565b6107af565b815b91506000821161081c5760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b6064820152608401610722565b806001600160a01b031663a9059cbb61083d6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561088557600080fd5b505af1158015610899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bd9190611dcb565b50505050565b60095460009060ff166108e85760405162461bcd60e51b815260040161072290611f17565b6000828152600a602090815260409182902082516101208101845281548152600182015492810192909252600281015492820192909252600382015460ff808216151560608401526101008083048216151560808501526201000083048216151560a085015263010000008304909116151560c0840152600160201b9091046001600160a01b031660e083015260048301549082015261098790611b49565b600481015460075460ff1615610a50576007546109a89060ff16600a611fc1565b600360009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156109f657600080fd5b505afa158015610a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2e9190611e8d565b610a3990600a611fc1565b610a43908361206e565b610a4d9190611f5e565b90505b600380549083015460405163a9059cbb60e01b81526001600160a01b03600160201b909204821660048201526024810184905291169063a9059cbb90604401602060405180830381600087803b158015610aa957600080fd5b505af1158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190611dcb565b5042600283015560038201805461010061ff0019909116179081905560408051600160201b9092046001600160a01b031682526020820183905285917f5426fb0d0815408493c5f4929e0ed09d2ed7e5bb76c81b768453c1257dae292d910160405180910390a2509192915050565b6000546001600160a01b03163314610b7a5760405162461bcd60e51b815260040161072290611ee2565b6001600160a01b03166000908152600b6020526040812081815560018101829055600281018290556003810180546001600160c01b031916905560040155565b6004546001600160a01b03163314610c2a5760405162461bcd60e51b815260206004820152602d60248201527f75736572206d7573742062652063757272656e7420746f6b656e206f776e657260448201526c081d1bc818da185b99d9481a5d609a1b6064820152608401610722565b600480546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f58c4666d1756c527d157a91550f4ca84593b1353eea2528168c1ff4be2113706910160405180910390a15050565b6004546001600160a01b03163314610cf55760405162461bcd60e51b815260206004820152602760248201527f7769746864726177546f6b656e732075736572206d75737420626520746f6b65604482015266371037bbb732b960c91b6064820152608401610722565b60035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610d4157600080fd5b505af1158015610d55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d799190611dcb565b5050565b6000546001600160a01b03163314610da75760405162461bcd60e51b815260040161072290611ee2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610df35760405162461bcd60e51b815260040161072290611ee2565b600580546001600160a01b0319166001600160a01b038316908117909155610e1a90611ab1565b50565b6000546001600160a01b03163314610e475760405162461bcd60e51b815260040161072290611ee2565b6000918252600a602052604090912060030180549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314610e9b5760405162461bcd60e51b815260040161072290611ee2565b610ea56000611c79565b565b6000546001600160a01b03163314610ed15760405162461bcd60e51b815260040161072290611ee2565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600854341015610f645760405162461bcd60e51b815260206004820152603660248201527f796f75206d7573742073656e6420656e6f7567682067617320746f20636f766560448201527539103a34329039b2b732103a3930b739b0b1ba34b7b760511b6064820152608401610722565b6040516bffffffffffffffffffffffff193360601b166020820152603481018390526054810182905260029060740160408051601f1981840301815290829052610fad91611ea9565b602060405180830381855afa158015610fca573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610fed9190611dff565b831461103b5760405162461bcd60e51b815260206004820152601c60248201527f776520646f6e2774207265636f676e697a6520746869732073776170000000006044820152606401610722565b6008541561109a576005546008546040516001600160a01b0390921691600081818185875af1925050503d8060008114611091576040519150601f19603f3d011682016040523d82523d6000602084013e611096565b606091505b5050505b604080516101208101825284815260208082019485524282840190815260016060840181815260006080860181815260a0870182815260c088018581523360e08a01908152610100808b019c8d529d8552600a9098529890922096518755985192860192909255915160028501559051600384018054975192519551935161ffff1990981691151561ff001916919091179115159097021763ffff00001916620100009315159390930263ff00000019169290921763010000009215159290920291909117640100000000600160c01b031916600160201b6001600160a01b0390941693909302929092179092559051600490910155565b6000546001600160a01b031633146111bc5760405162461bcd60e51b815260040161072290611ee2565b6002805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146112065760405162461bcd60e51b815260040161072290611ee2565b6007805460ff191660ff92909216919091179055565b60095460ff1661123e5760405162461bcd60e51b815260040161072290611f17565b6000818152600a602090815260409182902082516101208101845281548152600182015492810192909252600281015492820192909252600382015460ff808216151560608401526101008083048216151560808501526201000083048216151560a085015263010000008304909116151560c0840152600160201b9091046001600160a01b031660e08301526004830154908201526112dd90611b49565b6003818101805462ff00001916620100001790819055905460048084015460405163a9059cbb60e01b81526001600160a01b03600160201b909504851692810192909252602482015291169063a9059cbb90604401602060405180830381600087803b15801561134c57600080fd5b505af1158015611360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113849190611dcb565b506003810154600482015460408051600160201b9093046001600160a01b03168352602083019190915283917f6e4038e4e259d4582fb84bcdf48e58d406d9322900286ea8cde6e36f94bbc32c910160405180910390a25050565b6000546001600160a01b031633148061140257506004546001600160a01b031633145b6114635760405162461bcd60e51b815260206004820152602c60248201527f73657441637469766553746174652075736572206d75737420626520636f6e7460448201526b3930b1ba1031b932b0ba37b960a11b6064820152608401610722565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146114a05760405162461bcd60e51b815260040161072290611ee2565b600855565b6000546001600160a01b031633146114cf5760405162461bcd60e51b815260040161072290611ee2565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b505050565b600954600090819060ff166115515760405162461bcd60e51b815260040161072290611f17565b6008543410156115c95760405162461bcd60e51b815260206004820152603d60248201527f796f75206d75737420616c736f2073656e6420656e6f7567682067617320746f60448201527f20636f7665722074686520746172676574207472616e73616374696f6e0000006064820152608401610722565b60065415806115da57506006548311155b6116355760405162461bcd60e51b815260206004820152602660248201527f747279696e6720746f2073656e64206d6f7265207468616e206d617853776170604482015265105b5bdd5b9d60d21b6064820152608401610722565b611640600854611cc9565b6008541561169f576005546008546040516001600160a01b0390921691600081818185875af1925050503d8060008114611696576040519150601f19603f3d011682016040523d82523d6000602084013e61169b565b606091505b5050505b6003546040516323b872dd60e01b8152336004820152306024820152604481018590526001600160a01b03909116906323b872dd90606401602060405180830381600087803b1580156116f157600080fd5b505af1158015611705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117299190611dcb565b506040516bffffffffffffffffffffffff193360601b1660208201524260348201819052605482018590529060009060029060740160408051601f198184030181529082905261177891611ea9565b602060405180830381855afa158015611795573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906117b89190611dff565b9050604051806101200160405280828152602001838152602001838152602001600015158152602001600015158152602001600015158152602001600015158152602001336001600160a01b0316815260200186815250600a600083815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555060808201518160030160016101000a81548160ff02191690831515021790555060a08201518160030160026101000a81548160ff02191690831515021790555060c08201518160030160036101000a81548160ff02191690831515021790555060e08201518160030160046101000a8154816001600160a01b0302191690836001600160a01b031602179055506101008201518160040155905050600a6000828152602001908152602001600020600b6000336001600160a01b03166001600160a01b031681526020019081526020016000206000820154816000015560018201548160010155600282015481600201556003820160009054906101000a900460ff168160030160006101000a81548160ff0219169083151502179055506003820160019054906101000a900460ff168160030160016101000a81548160ff0219169083151502179055506003820160029054906101000a900460ff168160030160026101000a81548160ff0219169083151502179055506003820160039054906101000a900460ff168160030160036101000a81548160ff0219169083151502179055506003820160049054906101000a90046001600160a01b03168160030160046101000a8154816001600160a01b0302191690836001600160a01b0316021790555060048201548160040155905050807f5a60af76681c67fc86f84213cadca54f623d74c2e0b5b43dd1a92412e238dcef833388604051611aa0939291909283526001600160a01b03919091166020830152604082015260600190565b60405180910390a294909350915050565b6000546001600160a01b03163314611adb5760405162461bcd60e51b815260040161072290611ee2565b6001600160a01b038116611b405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610722565b610e1a81611c79565b6000546001600160a01b03163314611b735760405162461bcd60e51b815260040161072290611ee2565b60008160200151118015611b8c57506000816101000151115b611bd85760405162461bcd60e51b815260206004820152601860248201527f7377617020646f6573206e6f74206578697374207965742e00000000000000006044820152606401610722565b8060800151158015611bec57508060a00151155b8015611bf957508060c001515b610e1a5760405162461bcd60e51b815260206004820152604560248201527f737761702068617320616c7265616479206265656e20636f6d706c657465642c60448201527f20726566756e6465642c206f722067617320686173206e6f74206265656e20666064820152641d5b99195960da1b608482015260a401610722565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002546001600160a01b031663d9e30e55611ce4833461208d565b60025460405160e084901b6001600160e01b0319168152336004820152600160a01b90910460ff1660248201526044016000604051808303818588803b158015611d2d57600080fd5b505af1158015611d41573d6000803e3d6000fd5b505050505050565b80356001600160a01b0381168114611d6057600080fd5b919050565b600060208284031215611d76578081fd5b611d7f82611d49565b9392505050565b60008060408385031215611d98578081fd5b611da183611d49565b946020939093013593505050565b600060208284031215611dc0578081fd5b8135611d7f816120ba565b600060208284031215611ddc578081fd5b8151611d7f816120ba565b600060208284031215611df8578081fd5b5035919050565b600060208284031215611e10578081fd5b5051919050565b60008060408385031215611e29578182fd5b823591506020830135611e3b816120ba565b809150509250929050565b600080600060608486031215611e5a578081fd5b505081359360208301359350604090920135919050565b600060208284031215611e82578081fd5b8135611d7f816120c8565b600060208284031215611e9e578081fd5b8151611d7f816120c8565b60008251815b81811015611ec95760208186018101518583015201611eaf565b81811115611ed75782828501525b509190910192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f746869732061746f6d6963207377617020696e7374616e6365206973206e6f746040820152662061637469766560c81b606082015260800190565b600082611f7957634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115611fb9578160001904821115611f9f57611f9f6120a4565b80851615611fac57918102915b93841c9390800290611f83565b509250929050565b6000611d7f60ff841683600082611fda57506001612068565b81611fe757506000612068565b8160018114611ffd576002811461200757612023565b6001915050612068565b60ff841115612018576120186120a4565b50506001821b612068565b5060208310610133831016604e8410600b8410161715612046575081810a612068565b6120508383611f7e565b8060001904821115612064576120646120a4565b0290505b92915050565b6000816000190483118215151615612088576120886120a4565b500290565b60008282101561209f5761209f6120a4565b500390565b634e487b7160e01b600052601160045260246000fd5b8015158114610e1a57600080fd5b60ff81168114610e1a57600080fdfea164736f6c6343000804000aa164736f6c6343000804000a