ETH Price: $3,574.09 (+0.68%)
Gas: 4 Gwei

Contract

0x54d2690e97E477a4b33f40d6e4AFdd4832C07c57
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Cancel87888092019-10-22 6:56:221702 days ago1571727382IN
AirSwap: Old Contract
0 ETH0.0009079220
Cancel87886432019-10-22 6:17:061702 days ago1571725026IN
AirSwap: Old Contract
0 ETH0.000045391
Swap87864182019-10-21 22:02:241703 days ago1571695344IN
AirSwap: Old Contract
0 ETH0.0033093523
Swap87860332019-10-21 20:35:211703 days ago1571690121IN
AirSwap: Old Contract
0 ETH0.0023475917
Swap87851572019-10-21 17:10:001703 days ago1571677800IN
AirSwap: Old Contract
0 ETH0.0020759715
Swap87801562019-10-20 22:02:501704 days ago1571608970IN
AirSwap: Old Contract
0 ETH0.0028764220
Swap87746252019-10-20 1:14:491705 days ago1571534089IN
AirSwap: Old Contract
0 ETH0.002771535
Cancel87744962019-10-20 0:47:451705 days ago1571532465IN
AirSwap: Old Contract
0 ETH0.0006809415
Swap87737852019-10-19 22:02:211705 days ago1571522541IN
AirSwap: Old Contract
0 ETH0.0021582715
Swap87674082019-10-18 22:02:231706 days ago1571436143IN
AirSwap: Old Contract
0 ETH0.0021582715
Swap87610802019-10-17 22:02:361707 days ago1571349756IN
AirSwap: Old Contract
0 ETH0.000719425
Cancel87597472019-10-17 17:05:461707 days ago1571331946IN
AirSwap: Old Contract
0 ETH0.000027981.2
Swap87597452019-10-17 17:05:381707 days ago1571331938IN
AirSwap: Old Contract
0 ETH0.004450848
Swap87597342019-10-17 17:01:521707 days ago1571331712IN
AirSwap: Old Contract
0 ETH0.0099012550
Swap87597242019-10-17 16:59:151707 days ago1571331555IN
AirSwap: Old Contract
0 ETH0.00158428
Swap87597192019-10-17 16:57:451707 days ago1571331465IN
AirSwap: Old Contract
0 ETH0.00158428
Cancel87587872019-10-17 13:24:531707 days ago1571318693IN
AirSwap: Old Contract
0 ETH0.000363168
Cancel87582422019-10-17 11:17:411707 days ago1571311061IN
AirSwap: Old Contract
0 ETH0.000186578
Cancel87582372019-10-17 11:16:441707 days ago1571311004IN
AirSwap: Old Contract
0 ETH0.000363168
Swap87547582019-10-16 22:02:141708 days ago1571263334IN
AirSwap: Old Contract
0 ETH0.000863316
Swap87545882019-10-16 21:26:301708 days ago1571261190IN
AirSwap: Old Contract
0 ETH0.000690475
Swap87545622019-10-16 21:21:471708 days ago1571260907IN
AirSwap: Old Contract
0 ETH0.000690475
Swap87530562019-10-16 15:46:181708 days ago1571240778IN
AirSwap: Old Contract
0 ETH0.001153978.2
Cancel87507862019-10-16 7:10:131708 days ago1571209813IN
AirSwap: Old Contract
0 ETH0.000363168
Swap87484322019-10-15 22:02:411709 days ago1571176961IN
AirSwap: Old Contract
0 ETH0.001151088
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Swap

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-08-08
*/

// File: @airswap/types/contracts/Types.sol

/*
  Copyright 2019 Swap Holdings Ltd.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

pragma solidity 0.5.10;
pragma experimental ABIEncoderV2;

/**
  * @title Types: Library of Swap Protocol Types and Hashes
  */
library Types {

  bytes constant internal EIP191_HEADER = "\x19\x01";

  struct Party {
    address wallet;   // Wallet address of the party
    address token;    // Contract address of the token
    uint256 param;    // Value (ERC-20) or ID (ERC-721)
    bytes4 kind;      // Interface ID of the token
  }

  struct Order {
    uint256 nonce;    // Unique per order and should be sequential
    uint256 expiry;   // Expiry in seconds since 1 January 1970
    Party maker;      // Party to the trade that sets terms
    Party taker;      // Party to the trade that accepts terms
    Party affiliate;  // Party compensated for facilitating (optional)
  }

  struct Signature {
    address signer;   // Address of the wallet used to sign
    uint8 v;          // `v` value of an ECDSA signature
    bytes32 r;        // `r` value of an ECDSA signature
    bytes32 s;        // `s` value of an ECDSA signature
    bytes1 version;   // EIP-191 signature version
  }

  bytes32 constant DOMAIN_TYPEHASH = keccak256(abi.encodePacked(
    "EIP712Domain(",
    "string name,",
    "string version,",
    "address verifyingContract",
    ")"
  ));

  bytes32 constant ORDER_TYPEHASH = keccak256(abi.encodePacked(
    "Order(",
    "uint256 nonce,",
    "uint256 expiry,",
    "Party maker,",
    "Party taker,",
    "Party affiliate",
    ")",
    "Party(",
    "address wallet,",
    "address token,",
    "uint256 param,",
    "bytes4 kind",
    ")"
  ));

  bytes32 constant PARTY_TYPEHASH = keccak256(abi.encodePacked(
    "Party(",
    "address wallet,",
    "address token,",
    "uint256 param,",
    "bytes4 kind",
    ")"
  ));

  /**
    * @notice Hash an order into bytes32
    * @dev EIP-191 header and domain separator included
    * @param _order Order
    * @param _domainSeparator bytes32
    * @return bytes32 returns a keccak256 abi.encodePacked value
    */
  function hashOrder(
    Order calldata _order,
    bytes32 _domainSeparator
  ) external pure returns (bytes32) {
    return keccak256(abi.encodePacked(
      EIP191_HEADER,
      _domainSeparator,
      keccak256(abi.encode(
        ORDER_TYPEHASH,
        _order.nonce,
        _order.expiry,
        keccak256(abi.encode(
          PARTY_TYPEHASH,
          _order.maker.wallet,
          _order.maker.token,
          _order.maker.param,
          _order.maker.kind
        )),
        keccak256(abi.encode(
          PARTY_TYPEHASH,
          _order.taker.wallet,
          _order.taker.token,
          _order.taker.param,
          _order.taker.kind
        )),
        keccak256(abi.encode(
          PARTY_TYPEHASH,
          _order.affiliate.wallet,
          _order.affiliate.token,
          _order.affiliate.param,
          _order.affiliate.kind
        ))
      ))
    ));
  }

  /**
    * @notice Hash domain parameters into bytes32
    * @dev Used for signature validation (EIP-712)
    * @param _name bytes
    * @param _version bytes
    * @param _verifyingContract address
    * @return bytes32 returns a keccak256 abi.encodePacked value
    */
  function hashDomain(
    bytes calldata _name,
    bytes calldata _version,
    address _verifyingContract
  ) external pure returns (bytes32) {
    return keccak256(abi.encode(
      DOMAIN_TYPEHASH,
      keccak256(_name),
      keccak256(_version),
      _verifyingContract
    ));
  }

}

// File: @airswap/swap/interfaces/ISwap.sol



interface ISwap {

  event Swap(
    uint256 indexed nonce,
    uint256 timestamp,
    address indexed makerWallet,
    uint256 makerParam,
    address makerToken,
    address indexed takerWallet,
    uint256 takerParam,
    address takerToken,
    address affiliateWallet,
    uint256 affiliateParam,
    address affiliateToken
  );

  event Cancel(
    uint256 indexed nonce,
    address indexed makerWallet
  );

  event Invalidate(
    uint256 indexed nonce,
    address indexed makerWallet
  );

  event Authorize(
    address indexed approverAddress,
    address indexed delegateAddress,
    uint256 expiry
  );

  event Revoke(
    address indexed approverAddress,
    address indexed delegateAddress
  );

  function delegateApprovals(address, address) external returns (uint256);
  function makerOrderStatus(address, uint256) external returns (byte);
  function makerMinimumNonce(address) external returns (uint256);

  /**
    * @notice Atomic Token Swap
    * @param order Types.Order
    * @param signature Types.Signature
    */
  function swap(
    Types.Order calldata order,
    Types.Signature calldata signature
  ) external;

  /**
    * @notice Atomic Token Swap (Simple)
    * @param _nonce uint256
    * @param _expiry uint256
    * @param _makerWallet address
    * @param _makerParam uint256
    * @param _makerToken address
    * @param _takerWallet address
    * @param _takerParam uint256
    * @param _takerToken address
    * @param _v uint8
    * @param _r bytes32
    * @param _s bytes32
    */
  function swapSimple(
    uint256 _nonce,
    uint256 _expiry,
    address _makerWallet,
    uint256 _makerParam,
    address _makerToken,
    address _takerWallet,
    uint256 _takerParam,
    address _takerToken,
    uint8 _v,
    bytes32 _r,
    bytes32 _s
  ) external;

  /**
    * @notice Cancel one or more open orders by nonce
    * @param _nonces uint256[]
    */
  function cancel(
    uint256[] calldata _nonces
  ) external;

  /**
    * @notice Invalidate all orders below a nonce value
    * @param _minimumNonce uint256
    */
  function invalidate(
    uint256 _minimumNonce
  ) external;

  /**
    * @notice Authorize a delegate
    * @param _delegate address
    * @param _expiry uint256
    */
  function authorize(
    address _delegate,
    uint256 _expiry
  ) external;

  /**
    * @notice Revoke an authorization
    * @param _delegate address
    */
  function revoke(
    address _delegate
  ) external;

}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol



/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see `ERC20Detailed`.
 */
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.
     *
     * > 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);
}

// File: openzeppelin-solidity/contracts/introspection/IERC165.sol



/**
 * @dev Interface of the ERC165 standard, as defined in the
 * [EIP](https://eips.ethereum.org/EIPS/eip-165).
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others (`ERC165Checker`).
 *
 * For an implementation, see `ERC165`.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721.sol



/**
 * @dev Required interface of an ERC721 compliant contract.
 */
contract IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of NFTs in `owner`'s account.
     */
    function balanceOf(address owner) public view returns (uint256 balance);

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) public view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either `approve` or `setApproveForAll`.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either `approve` or `setApproveForAll`.
     */
    function transferFrom(address from, address to, uint256 tokenId) public;
    function approve(address to, uint256 tokenId) public;
    function getApproved(uint256 tokenId) public view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) public;
    function isApprovedForAll(address owner, address operator) public view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public;
}

// File: contracts/Swap.sol



/**
  * @title Swap: The Atomic Swap used by the Swap Protocol
  */
contract Swap is ISwap {

  // Domain and version for use in signatures (EIP-712)
  bytes constant internal DOMAIN_NAME = "SWAP";
  bytes constant internal DOMAIN_VERSION = "2";

  // Unique domain identifier for use in signatures (EIP-712)
  bytes32 private domainSeparator;

  // Possible order statuses
  byte constant private OPEN = 0x00;
  byte constant private TAKEN = 0x01;
  byte constant private CANCELED = 0x02;

  // ERC-20 (fungible token) interface identifier (ERC-165)
  bytes4 constant internal ERC20_INTERFACE_ID = 0x277f8169;
  /*
    bytes4(keccak256('transfer(address,uint256)')) ^
    bytes4(keccak256('transferFrom(address,address,uint256)')) ^
    bytes4(keccak256('balanceOf(address)')) ^
    bytes4(keccak256('allowance(address,address)'));
  */

  // ERC-721 (non-fungible token) interface identifier (ERC-165)
  bytes4 constant internal ERC721_INTERFACE_ID = 0x80ac58cd;
  /*
    bytes4(keccak256('balanceOf(address)')) ^
    bytes4(keccak256('ownerOf(uint256)')) ^
    bytes4(keccak256('approve(address,uint256)')) ^
    bytes4(keccak256('getApproved(uint256)')) ^
    bytes4(keccak256('setApprovalForAll(address,bool)')) ^
    bytes4(keccak256('isApprovedForAll(address,address)')) ^
    bytes4(keccak256('transferFrom(address,address,uint256)')) ^
    bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^
    bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)'));
  */

  // Mapping of peer address to delegate address and expiry.
  mapping (address => mapping (address => uint256)) public delegateApprovals;

  // Mapping of makers to orders by nonce as TAKEN (0x01) or CANCELED (0x02)
  mapping (address => mapping (uint256 => byte)) public makerOrderStatus;

  // Mapping of makers to an optionally set minimum valid nonce
  mapping (address => uint256) public makerMinimumNonce;

  /**
    * @notice Contract Constructor
    * @dev Sets domain for signature validation (EIP-712)
    */
  constructor() public {
    domainSeparator = Types.hashDomain(
      DOMAIN_NAME,
      DOMAIN_VERSION,
      address(this)
    );
  }

  /**
    * @notice Atomic Token Swap
    * @param _order Types.Order
    * @param _signature Types.Signature
    */
  function swap(
    Types.Order calldata _order,
    Types.Signature calldata _signature
  )
    external
  {

    // Ensure the order is not expired.
    require(_order.expiry > block.timestamp,
      "ORDER_EXPIRED");

    // Ensure the order is not already taken.
    require(makerOrderStatus[_order.maker.wallet][_order.nonce] != TAKEN,
      "ORDER_ALREADY_TAKEN");

    // Ensure the order is not already canceled.
    require(makerOrderStatus[_order.maker.wallet][_order.nonce] != CANCELED,
      "ORDER_ALREADY_CANCELED");

    // Ensure the order nonce is above the minimum.
    require(_order.nonce >= makerMinimumNonce[_order.maker.wallet],
      "NONCE_TOO_LOW");

    // Mark the order TAKEN (0x01).
    makerOrderStatus[_order.maker.wallet][_order.nonce] = TAKEN;

    // Validate the taker side of the trade.
    address finalTakerWallet;

    if (_order.taker.wallet == address(0)) {
      /**
        * Taker is not specified. The sender of the transaction becomes
        * the taker of the _order.
        */
      finalTakerWallet = msg.sender;

    } else {
      /**
        * Taker is specified. If the sender is not the specified taker,
        * determine whether the sender has been authorized by the taker.
        */
      if (msg.sender != _order.taker.wallet) {
        require(isAuthorized(_order.taker.wallet, msg.sender),
          "SENDER_UNAUTHORIZED");
      }
      // The specified taker is all clear.
      finalTakerWallet = _order.taker.wallet;

    }

    // Validate the maker side of the trade.
    if (_signature.v == 0) {
      /**
        * Signature is not provided. The maker may have authorized the sender
        * to swap on its behalf, which does not require a _signature.
        */
      require(isAuthorized(_order.maker.wallet, msg.sender),
        "SIGNER_UNAUTHORIZED");

    } else {
      /**
        * The signature is provided. Determine whether the signer is
        * authorized by the maker and if so validate the signature itself.
        */
      require(isAuthorized(_order.maker.wallet, _signature.signer),
        "SIGNER_UNAUTHORIZED");

      // Ensure the signature is valid.
      require(isValid(_order, _signature, domainSeparator),
        "SIGNATURE_INVALID");

    }
    // Transfer token from taker to maker.
    transferToken(
      finalTakerWallet,
      _order.maker.wallet,
      _order.taker.param,
      _order.taker.token,
      _order.taker.kind
    );

    // Transfer token from maker to taker.
    transferToken(
      _order.maker.wallet,
      finalTakerWallet,
      _order.maker.param,
      _order.maker.token,
      _order.maker.kind
    );

    // Transfer token from maker to affiliate if specified.
    if (_order.affiliate.wallet != address(0)) {
      transferToken(
        _order.maker.wallet,
        _order.affiliate.wallet,
        _order.affiliate.param,
        _order.affiliate.token,
        _order.affiliate.kind
      );
    }

    emit Swap(_order.nonce, block.timestamp,
      _order.maker.wallet, _order.maker.param, _order.maker.token,
      finalTakerWallet, _order.taker.param, _order.taker.token,
      _order.affiliate.wallet, _order.affiliate.param, _order.affiliate.token
    );
  }

  /**
    * @notice Atomic Token Swap (Simple)
    * @dev Supports fungible token transfers (ERC-20)
    * @param _nonce uint256
    * @param _expiry uint256
    * @param _makerWallet address
    * @param _makerParam uint256
    * @param _makerToken address
    * @param _takerWallet address
    * @param _takerParam uint256
    * @param _takerToken address
    * @param _v uint8
    * @param _r bytes32
    * @param _s bytes32
    */
  function swapSimple(
    uint256 _nonce,
    uint256 _expiry,
    address _makerWallet,
    uint256 _makerParam,
    address _makerToken,
    address _takerWallet,
    uint256 _takerParam,
    address _takerToken,
    uint8 _v,
    bytes32 _r,
    bytes32 _s
  )
      external
  {

    // Ensure the order is not expired.
    require(_expiry > block.timestamp,
      "ORDER_EXPIRED");

    // Ensure the order has not already been taken or canceled.
    require(makerOrderStatus[_makerWallet][_nonce] == OPEN,
      "ORDER_UNAVAILABLE");

    require(_nonce >= makerMinimumNonce[_makerWallet],
      "NONCE_TOO_LOW");

    // Mark the order TAKEN (0x01).
    makerOrderStatus[_makerWallet][_nonce] = TAKEN;

    // Validate the taker side of the trade.
    address finalTakerWallet;

    if (_takerWallet == address(0)) {

      // Set a null taker to be the order sender.
      finalTakerWallet = msg.sender;

    } else {

      // Ensure the order sender is authorized.
      if (msg.sender != _takerWallet) {
        require(isAuthorized(_takerWallet, msg.sender),
          "SENDER_UNAUTHORIZED");
      }

      finalTakerWallet = _takerWallet;

    }

    // Validate the maker side of the trade.
    if (_v == 0) {
      /**
        * Signature is not provided. The maker may have authorized the sender
        * to swap on its behalf, which does not require a signature.
        */
      require(isAuthorized(_makerWallet, msg.sender),
        "SIGNER_UNAUTHORIZED");

    } else {

      // Signature is provided. Ensure that it is valid.
      require(_makerWallet == ecrecover(
        keccak256(abi.encodePacked(
          "\x19Ethereum Signed Message:\n32",
          keccak256(abi.encodePacked(
            byte(0),
            address(this),
            _nonce,
            _expiry,
            _makerWallet,
            _makerParam,
            _makerToken,
            _takerWallet,
            _takerParam,
            _takerToken
          ))
        )), _v, _r, _s), "SIGNATURE_INVALID");
    }

    // Transfer token from taker to maker.
    transferToken(
      finalTakerWallet,
      _makerWallet,
      _takerParam,
      _takerToken,
      ERC20_INTERFACE_ID
    );

    // Transfer token from maker to taker.
    transferToken(
      _makerWallet,
      finalTakerWallet,
      _makerParam,
      _makerToken,
      ERC20_INTERFACE_ID
    );

    emit Swap(_nonce, block.timestamp,
      _makerWallet, _makerParam, _makerToken,
      finalTakerWallet, _takerParam, _takerToken,
      address(0), 0, address(0)
    );

  }

  /**
    * @notice Cancel one or more open orders by nonce
    * @dev Canceled orders are marked CANCELED (0x02)
    * @dev Emits a Cancel event
    * @param _nonces uint256[]
    */
  function cancel(
    uint256[] calldata _nonces
  ) external {
    for (uint256 i = 0; i < _nonces.length; i++) {
      if (makerOrderStatus[msg.sender][_nonces[i]] == OPEN) {
        makerOrderStatus[msg.sender][_nonces[i]] = CANCELED;
        emit Cancel(_nonces[i], msg.sender);
      }
    }
  }

  /**
    * @notice Invalidate all orders below a nonce value
    * @dev Emits an Invalidate event
    * @param _minimumNonce uint256
    */
  function invalidate(
    uint256 _minimumNonce
  ) external {
    makerMinimumNonce[msg.sender] = _minimumNonce;
    emit Invalidate(_minimumNonce, msg.sender);
  }

  /**
    * @notice Authorize a delegate
    * @dev Emits an Authorize event
    * @param _delegate address
    * @param _expiry uint256
    */
  function authorize(
    address _delegate,
    uint256 _expiry
  ) external {
    require(msg.sender != _delegate, "INVALID_AUTH_DELEGATE");
    require(_expiry > block.timestamp, "INVALID_AUTH_EXPIRY");
    delegateApprovals[msg.sender][_delegate] = _expiry;
    emit Authorize(msg.sender, _delegate, _expiry);
  }

  /**
    * @notice Revoke an authorization
    * @dev Emits a Revoke event
    * @param _delegate address
    */
  function revoke(
    address _delegate
  ) external {
    delete delegateApprovals[msg.sender][_delegate];
    emit Revoke(msg.sender, _delegate);
  }

  /**
    * @notice Determine whether a delegate is authorized
    * @param _approver address
    * @param _delegate address
    * @return bool returns whether a delegate is authorized
    */
  function isAuthorized(
    address _approver,
    address _delegate
  ) internal view returns (bool) {
    if (_approver == _delegate) return true;
    return (delegateApprovals[_approver][_delegate] > block.timestamp);
  }

  /**
    * @notice Validate signature using an EIP-712 typed data hash
    * @param _order Order
    * @param _signature Signature
    * @return bool returns whether the signature + order is valid
    */
  function isValid(
    Types.Order memory _order,
    Types.Signature memory _signature,
    bytes32 _domainSeparator
  ) internal pure returns (bool) {
    if (_signature.version == byte(0x01)) {
      return _signature.signer == ecrecover(
        Types.hashOrder(
          _order,
          _domainSeparator),
          _signature.v,
          _signature.r,
          _signature.s
      );
    }
    if (_signature.version == byte(0x45)) {
      return _signature.signer == ecrecover(
        keccak256(
          abi.encodePacked(
            "\x19Ethereum Signed Message:\n32",
            Types.hashOrder(_order, _domainSeparator)
          )
        ),
        _signature.v,
        _signature.r,
        _signature.s
      );
    }
    return false;
  }

  /**
    * @notice Perform an ERC-20 or ERC-721 token transfer
    * @dev Transfer type specified by the bytes4 _kind param
    * @param _from address wallet address to send from
    * @param _to address wallet address to send to
    * @param _param uint256 amount for ERC-20 or token ID for ERC-721
    * @param _token address contract address of token
    * @param _kind bytes4 EIP-165 interface ID of the token
    */
  function transferToken(
      address _from,
      address _to,
      uint256 _param,
      address _token,
      bytes4 _kind
  ) internal {
    if (_kind == ERC721_INTERFACE_ID) {
      // Attempt to transfer an ERC-721 token.
      IERC721(_token).safeTransferFrom(_from, _to, _param);
    } else {
      // Attempt to transfer an ERC-20 token.
      require(IERC20(_token).transferFrom(_from, _to, _param));
    }
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_nonce","type":"uint256"},{"name":"_expiry","type":"uint256"},{"name":"_makerWallet","type":"address"},{"name":"_makerParam","type":"uint256"},{"name":"_makerToken","type":"address"},{"name":"_takerWallet","type":"address"},{"name":"_takerParam","type":"uint256"},{"name":"_takerToken","type":"address"},{"name":"_v","type":"uint8"},{"name":"_r","type":"bytes32"},{"name":"_s","type":"bytes32"}],"name":"swapSimple","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_minimumNonce","type":"uint256"}],"name":"invalidate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"makerMinimumNonce","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_nonces","type":"uint256[]"}],"name":"cancel","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"components":[{"name":"nonce","type":"uint256"},{"name":"expiry","type":"uint256"},{"components":[{"name":"wallet","type":"address"},{"name":"token","type":"address"},{"name":"param","type":"uint256"},{"name":"kind","type":"bytes4"}],"name":"maker","type":"tuple"},{"components":[{"name":"wallet","type":"address"},{"name":"token","type":"address"},{"name":"param","type":"uint256"},{"name":"kind","type":"bytes4"}],"name":"taker","type":"tuple"},{"components":[{"name":"wallet","type":"address"},{"name":"token","type":"address"},{"name":"param","type":"uint256"},{"name":"kind","type":"bytes4"}],"name":"affiliate","type":"tuple"}],"name":"_order","type":"tuple"},{"components":[{"name":"signer","type":"address"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"},{"name":"version","type":"bytes1"}],"name":"_signature","type":"tuple"}],"name":"swap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"makerOrderStatus","outputs":[{"name":"","type":"bytes1"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"delegateApprovals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_delegate","type":"address"}],"name":"revoke","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_delegate","type":"address"},{"name":"_expiry","type":"uint256"}],"name":"authorize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"nonce","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":true,"name":"makerWallet","type":"address"},{"indexed":false,"name":"makerParam","type":"uint256"},{"indexed":false,"name":"makerToken","type":"address"},{"indexed":true,"name":"takerWallet","type":"address"},{"indexed":false,"name":"takerParam","type":"uint256"},{"indexed":false,"name":"takerToken","type":"address"},{"indexed":false,"name":"affiliateWallet","type":"address"},{"indexed":false,"name":"affiliateParam","type":"uint256"},{"indexed":false,"name":"affiliateToken","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"nonce","type":"uint256"},{"indexed":true,"name":"makerWallet","type":"address"}],"name":"Cancel","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"nonce","type":"uint256"},{"indexed":true,"name":"makerWallet","type":"address"}],"name":"Invalidate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"approverAddress","type":"address"},{"indexed":true,"name":"delegateAddress","type":"address"},{"indexed":false,"name":"expiry","type":"uint256"}],"name":"Authorize","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"approverAddress","type":"address"},{"indexed":true,"name":"delegateAddress","type":"address"}],"name":"Revoke","type":"event"}]

60806040523480156200001157600080fd5b5073c65ff60eb8e4038a2415bb569d1fa6dca47d692e63a8cce2146040518060400160405280600481526020017f53574150000000000000000000000000000000000000000000000000000000008152506040518060400160405280600181526020017f3200000000000000000000000000000000000000000000000000000000000000815250306040518463ffffffff1660e01b8152600401620000b993929190620001ae565b60206040518083038186803b158015620000d257600080fd5b505af4158015620000e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506200010d919081019062000130565b600081905550620002b4565b6000815190506200012a816200029a565b92915050565b6000602082840312156200014357600080fd5b6000620001538482850162000119565b91505092915050565b620001678162000215565b82525050565b60006200017a82620001f9565b62000186818562000204565b93506200019881856020860162000253565b620001a38162000289565b840191505092915050565b60006060820190508181036000830152620001ca81866200016d565b90508181036020830152620001e081856200016d565b9050620001f160408301846200015c565b949350505050565b600081519050919050565b600082825260208201905092915050565b6000620002228262000233565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200027357808201518184015260208101905062000256565b8381111562000283576000848401525b50505050565b6000601f19601f8301169050919050565b620002a58162000229565b8114620002b157600080fd5b50565b612a3580620002c46000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806332ddd5bc1161006657806332ddd5bc1461011c5780633987f6a414610138578063664b07be1461016857806374a8f10314610198578063c1dbd9b2146101b457610093565b8063124288b8146100985780631ea1afdb146100b45780632436cc57146100d05780632e34082314610100575b600080fd5b6100b260048036036100ad9190810190611e2e565b6101d0565b005b6100ce60048036036100c99190810190611e05565b6106cc565b005b6100ea60048036036100e59190810190611c13565b610757565b6040516100f791906126a3565b60405180910390f35b61011a60048036036101159190810190611cb4565b61076f565b005b61013660048036036101319190810190611d74565b610927565b005b610152600480360361014d9190810190611c78565b61115c565b60405161015f91906124d8565b60405180910390f35b610182600480360361017d9190810190611c3c565b61118b565b60405161018f91906126a3565b60405180910390f35b6101b260048036036101ad9190810190611c13565b6111b0565b005b6101ce60048036036101c99190810190611c78565b61128d565b005b428a11610212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209906125b8565b60405180910390fd5b600060f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008d815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146102f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f090612578565b60405180910390fd5b600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548b101561037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037290612658565b60405180910390fd5b600160f81b600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008d815260200190815260200160002060006101000a81548160ff021916908360f81c021790555060008073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610426573390506104a7565b8673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104a3576104638733611428565b6104a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049990612598565b60405180910390fd5b5b8690505b60008460ff161415610501576104bd8a33611428565b6104fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f390612638565b60405180910390fd5b610620565b6001600060f81b308e8e8e8e8e8e8e8e60405160200161052a9a999897969594939291906123c7565b60405160208183030381529060405280519060200120604051602001610550919061247b565b604051602081830303815290604052805190602001208585856040516000815260200160405260405161058694939291906124f3565b6020604051602081039080840390855afa1580156105a8573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff161461061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610616906125f8565b60405180910390fd5b5b610634818b888863277f816960e01b6114ef565b6106488a828b8b63277f816960e01b6114ef565b8073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff168d7fdb667502ab054fbfc1011315893dab3481c36c50f60b5ad16f1c14e6035e7a9e428d8d8c8c60008060006040516106b69897969594939291906126be565b60405180910390a4505050505050505050505050565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16817f13271a4112377cb8d98566817cc69dc66ed3ee25fdcea309a9f6696475640b7860405160405180910390a350565b60036020528060005260406000206000915090505481565b60008090505b8282905081101561092257600060f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008585858181106107f457fe5b90506020020135815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561091557600260f81b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085858581811061089157fe5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360f81c02179055503373ffffffffffffffffffffffffffffffffffffffff168383838181106108e157fe5b905060200201357f8dd3c361eb2366ff27c2db0eb07b9261f1d052570742ab8c9a0c326f37aa576d60405160405180910390a35b8080600101915050610775565b505050565b4282602001351161096d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610964906125b8565b60405180910390fd5b600160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600260008460400160000160206109ae9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460000135815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6590612538565b60405180910390fd5b600260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191660026000846040016000016020610aaf9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460000135815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6690612558565b60405180910390fd5b60036000836040016000016020610b899190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600001351015610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190612658565b60405180910390fd5b600160f81b60026000846040016000016020610c299190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460000135815260200190815260200160002060006101000a81548160ff021916908360f81c021790555060008073ffffffffffffffffffffffffffffffffffffffff168360c0016000016020610cbf9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff161415610ce357339050610da3565b8260c0016000016020610cf99190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8a57610d4a8360c0016000016020610d449190810190611c13565b33611428565b610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8090612598565b60405180910390fd5b5b8260c0016000016020610da09190810190611c13565b90505b6000826020016020610db89190810190611f1e565b60ff161415610e2457610de0836040016000016020610dda9190810190611c13565b33611428565b610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690612638565b60405180910390fd5b610f01565b610e55836040016000016020610e3d9190810190611c13565b836000016020610e509190810190611c13565b611428565b610e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8b90612638565b60405180910390fd5b610ec183803603610ea89190810190611db2565b83803603610eb99190810190611ddc565b600054611650565b610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef7906125f8565b60405180910390fd5b5b610f5481846040016000016020610f1b9190810190611c13565b8560c001604001358660c0016020016020610f399190810190611c13565b8760c0016060016020610f4f9190810190611d4b565b6114ef565b610fa7836040016000016020610f6d9190810190611c13565b828560400160400135866040016020016020610f8c9190810190611c13565b876040016060016020610fa29190810190611d4b565b6114ef565b600073ffffffffffffffffffffffffffffffffffffffff1683610140016000016020610fd69190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff161461105e5761105d83604001600001602061100a9190810190611c13565b846101400160000160206110219190810190611c13565b856101400160400135866101400160200160206110419190810190611c13565b876101400160600160206110589190810190611d4b565b6114ef565b5b8073ffffffffffffffffffffffffffffffffffffffff1683604001600001602061108b9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1684600001357fdb667502ab054fbfc1011315893dab3481c36c50f60b5ad16f1c14e6035e7a9e4287604001604001358860400160200160206110e69190810190611c13565b8960c001604001358a60c00160200160206111049190810190611c13565b8b61014001600001602061111b9190810190611c13565b8c61014001604001358d61014001602001602061113b9190810190611c13565b60405161114f98979695949392919061273c565b60405180910390a4505050565b60026020528160005260406000206020528060005260406000206000915091509054906101000a900460f81b81565b6001602052816000526040600020602052806000526040600020600091509150505481565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090558073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd7426110292f20fe59e73ccf52124e0f5440a756507c91c7b0a6c50e1eb1a23a60405160405180910390a350565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f3906125d8565b60405180910390fd5b42811161133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590612618565b60405180910390fd5b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f601f80ed402ea845dc33078b21175993b7e0040de344205a8fd656d7033eb7248360405161141c91906126a3565b60405180910390a35050565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561146757600190506114e9565b42600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541190505b92915050565b6380ac58cd60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156115b0578173ffffffffffffffffffffffffffffffffffffffff166342842e0e8686866040518463ffffffff1660e01b8152600401611579939291906124a1565b600060405180830381600087803b15801561159357600080fd5b505af11580156115a7573d6000803e3d6000fd5b50505050611649565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040518463ffffffff1660e01b81526004016115ed939291906124a1565b602060405180830381600087803b15801561160757600080fd5b505af115801561161b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061163f9190810190611cf9565b61164857600080fd5b5b5050505050565b6000600160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191683608001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156117c257600173c65ff60eb8e4038a2415bb569d1fa6dca47d692e638663ca4c86856040518363ffffffff1660e01b81526004016116e1929190612678565b60206040518083038186803b1580156116f957600080fd5b505af415801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506117319190810190611d22565b8460200151856040015186606001516040516000815260200160405260405161175d94939291906124f3565b6020604051602081039080840390855afa15801561177f573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614905061195d565b604560f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191683608001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561195857600173c65ff60eb8e4038a2415bb569d1fa6dca47d692e638663ca4c86856040518363ffffffff1660e01b8152600401611851929190612678565b60206040518083038186803b15801561186957600080fd5b505af415801561187d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506118a19190810190611d22565b6040516020016118b1919061247b565b60405160208183030381529060405280519060200120846020015185604001518660600151604051600081526020016040526040516118f394939291906124f3565b6020604051602081039080840390855afa158015611915573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614905061195d565b600090505b9392505050565b60008135905061197381612951565b92915050565b60008083601f84011261198b57600080fd5b8235905067ffffffffffffffff8111156119a457600080fd5b6020830191508360208202830111156119bc57600080fd5b9250929050565b6000815190506119d281612968565b92915050565b6000813590506119e78161297f565b92915050565b6000813590506119fc81612996565b92915050565b600081519050611a1181612996565b92915050565b600081359050611a26816129ad565b92915050565b60006101c08284031215611a3f57600080fd5b81905092915050565b60006101c08284031215611a5b57600080fd5b611a6560a06127ba565b90506000611a7584828501611be9565b6000830152506020611a8984828501611be9565b6020830152506040611a9d84828501611ad2565b60408301525060c0611ab184828501611ad2565b606083015250610140611ac684828501611ad2565b60808301525092915050565b600060808284031215611ae457600080fd5b611aee60806127ba565b90506000611afe84828501611964565b6000830152506020611b1284828501611964565b6020830152506040611b2684828501611be9565b6040830152506060611b3a84828501611a17565b60608301525092915050565b600060a08284031215611b5857600080fd5b81905092915050565b600060a08284031215611b7357600080fd5b611b7d60a06127ba565b90506000611b8d84828501611964565b6000830152506020611ba184828501611bfe565b6020830152506040611bb5848285016119ed565b6040830152506060611bc9848285016119ed565b6060830152506080611bdd848285016119d8565b60808301525092915050565b600081359050611bf8816129c4565b92915050565b600081359050611c0d816129db565b92915050565b600060208284031215611c2557600080fd5b6000611c3384828501611964565b91505092915050565b60008060408385031215611c4f57600080fd5b6000611c5d85828601611964565b9250506020611c6e85828601611964565b9150509250929050565b60008060408385031215611c8b57600080fd5b6000611c9985828601611964565b9250506020611caa85828601611be9565b9150509250929050565b60008060208385031215611cc757600080fd5b600083013567ffffffffffffffff811115611ce157600080fd5b611ced85828601611979565b92509250509250929050565b600060208284031215611d0b57600080fd5b6000611d19848285016119c3565b91505092915050565b600060208284031215611d3457600080fd5b6000611d4284828501611a02565b91505092915050565b600060208284031215611d5d57600080fd5b6000611d6b84828501611a17565b91505092915050565b6000806102608385031215611d8857600080fd5b6000611d9685828601611a2c565b9250506101c0611da885828601611b46565b9150509250929050565b60006101c08284031215611dc557600080fd5b6000611dd384828501611a48565b91505092915050565b600060a08284031215611dee57600080fd5b6000611dfc84828501611b61565b91505092915050565b600060208284031215611e1757600080fd5b6000611e2584828501611be9565b91505092915050565b60008060008060008060008060008060006101608c8e031215611e5057600080fd5b6000611e5e8e828f01611be9565b9b50506020611e6f8e828f01611be9565b9a50506040611e808e828f01611964565b9950506060611e918e828f01611be9565b9850506080611ea28e828f01611964565b97505060a0611eb38e828f01611964565b96505060c0611ec48e828f01611be9565b95505060e0611ed58e828f01611964565b945050610100611ee78e828f01611bfe565b935050610120611ef98e828f016119ed565b925050610140611f0b8e828f016119ed565b9150509295989b509295989b9093969950565b600060208284031215611f3057600080fd5b6000611f3e84828501611bfe565b91505092915050565b611f50816128ba565b82525050565b611f5f81612803565b82525050565b611f6e81612803565b82525050565b611f85611f8082612803565b612902565b82525050565b611f9481612821565b82525050565b611fab611fa682612821565b612914565b82525050565b611fba8161284d565b82525050565b611fc98161284d565b82525050565b611fe0611fdb8261284d565b61291e565b82525050565b611fef81612857565b82525050565b611ffe816128cc565b82525050565b60006120116013836127e7565b91507f4f524445525f414c52454144595f54414b454e000000000000000000000000006000830152602082019050919050565b6000612051601c836127f8565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006120916016836127e7565b91507f4f524445525f414c52454144595f43414e43454c4544000000000000000000006000830152602082019050919050565b60006120d16011836127e7565b91507f4f524445525f554e415641494c41424c450000000000000000000000000000006000830152602082019050919050565b60006121116013836127e7565b91507f53454e4445525f554e415554484f52495a4544000000000000000000000000006000830152602082019050919050565b6000612151600d836127e7565b91507f4f524445525f45585049524544000000000000000000000000000000000000006000830152602082019050919050565b60006121916015836127e7565b91507f494e56414c49445f415554485f44454c454741544500000000000000000000006000830152602082019050919050565b60006121d16011836127e7565b91507f5349474e41545552455f494e56414c49440000000000000000000000000000006000830152602082019050919050565b60006122116013836127e7565b91507f494e56414c49445f415554485f455850495259000000000000000000000000006000830152602082019050919050565b60006122516013836127e7565b91507f5349474e45525f554e415554484f52495a4544000000000000000000000000006000830152602082019050919050565b6000612291600d836127e7565b91507f4e4f4e43455f544f4f5f4c4f57000000000000000000000000000000000000006000830152602082019050919050565b6101c0820160008201516122db6000850182612392565b5060208201516122ee6020850182612392565b506040820151612301604085018261232e565b50606082015161231460c085018261232e565b50608082015161232861014085018261232e565b50505050565b6080820160008201516123446000850182611f65565b5060208201516123576020850182611f65565b50604082015161236a6040850182612392565b50606082015161237d6060850182611fe6565b50505050565b61238c816128a3565b82525050565b61239b816128a3565b82525050565b6123b26123ad826128a3565b61293a565b82525050565b6123c1816128ad565b82525050565b60006123d3828d611f9a565b6001820191506123e3828c611f74565b6014820191506123f3828b6123a1565b602082019150612403828a6123a1565b6020820191506124138289611f74565b60148201915061242382886123a1565b6020820191506124338287611f74565b6014820191506124438286611f74565b60148201915061245382856123a1565b6020820191506124638284611f74565b6014820191508190509b9a5050505050505050505050565b600061248682612044565b91506124928284611fcf565b60208201915081905092915050565b60006060820190506124b66000830186611f56565b6124c36020830185611f56565b6124d06040830184612383565b949350505050565b60006020820190506124ed6000830184611f8b565b92915050565b60006080820190506125086000830187611fb1565b61251560208301866123b8565b6125226040830185611fb1565b61252f6060830184611fb1565b95945050505050565b6000602082019050818103600083015261255181612004565b9050919050565b6000602082019050818103600083015261257181612084565b9050919050565b60006020820190508181036000830152612591816120c4565b9050919050565b600060208201905081810360008301526125b181612104565b9050919050565b600060208201905081810360008301526125d181612144565b9050919050565b600060208201905081810360008301526125f181612184565b9050919050565b60006020820190508181036000830152612611816121c4565b9050919050565b6000602082019050818103600083015261263181612204565b9050919050565b6000602082019050818103600083015261265181612244565b9050919050565b6000602082019050818103600083015261267181612284565b9050919050565b60006101e08201905061268e60008301856122c4565b61269c6101c0830184611fc0565b9392505050565b60006020820190506126b86000830184612383565b92915050565b6000610100820190506126d4600083018b612383565b6126e1602083018a612383565b6126ee6040830189611f56565b6126fb6060830188612383565b6127086080830187611f56565b61271560a0830186611f47565b61272260c0830185611ff5565b61272f60e0830184611f47565b9998505050505050505050565b600061010082019050612752600083018b612383565b61275f602083018a612383565b61276c6040830189611f56565b6127796060830188612383565b6127866080830187611f56565b61279360a0830186611f56565b6127a060c0830185612383565b6127ad60e0830184611f56565b9998505050505050505050565b6000604051905081810181811067ffffffffffffffff821117156127dd57600080fd5b8060405250919050565b600082825260208201905092915050565b600081905092915050565b600061280e82612883565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006128c5826128de565b9050919050565b60006128d7826128a3565b9050919050565b60006128e9826128f0565b9050919050565b60006128fb82612883565b9050919050565b600061290d82612928565b9050919050565b6000819050919050565b6000819050919050565b600061293382612944565b9050919050565b6000819050919050565b60008160601b9050919050565b61295a81612803565b811461296557600080fd5b50565b61297181612815565b811461297c57600080fd5b50565b61298881612821565b811461299357600080fd5b50565b61299f8161284d565b81146129aa57600080fd5b50565b6129b681612857565b81146129c157600080fd5b50565b6129cd816128a3565b81146129d857600080fd5b50565b6129e4816128ad565b81146129ef57600080fd5b5056fea365627a7a72305820c1eb06faba89bab6495c32881568896599a7e84b7021661b2533a26cfdf1a2aa6c6578706572696d656e74616cf564736f6c634300050a0040

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c806332ddd5bc1161006657806332ddd5bc1461011c5780633987f6a414610138578063664b07be1461016857806374a8f10314610198578063c1dbd9b2146101b457610093565b8063124288b8146100985780631ea1afdb146100b45780632436cc57146100d05780632e34082314610100575b600080fd5b6100b260048036036100ad9190810190611e2e565b6101d0565b005b6100ce60048036036100c99190810190611e05565b6106cc565b005b6100ea60048036036100e59190810190611c13565b610757565b6040516100f791906126a3565b60405180910390f35b61011a60048036036101159190810190611cb4565b61076f565b005b61013660048036036101319190810190611d74565b610927565b005b610152600480360361014d9190810190611c78565b61115c565b60405161015f91906124d8565b60405180910390f35b610182600480360361017d9190810190611c3c565b61118b565b60405161018f91906126a3565b60405180910390f35b6101b260048036036101ad9190810190611c13565b6111b0565b005b6101ce60048036036101c99190810190611c78565b61128d565b005b428a11610212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209906125b8565b60405180910390fd5b600060f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008d815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146102f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f090612578565b60405180910390fd5b600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548b101561037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037290612658565b60405180910390fd5b600160f81b600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008d815260200190815260200160002060006101000a81548160ff021916908360f81c021790555060008073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610426573390506104a7565b8673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104a3576104638733611428565b6104a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049990612598565b60405180910390fd5b5b8690505b60008460ff161415610501576104bd8a33611428565b6104fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f390612638565b60405180910390fd5b610620565b6001600060f81b308e8e8e8e8e8e8e8e60405160200161052a9a999897969594939291906123c7565b60405160208183030381529060405280519060200120604051602001610550919061247b565b604051602081830303815290604052805190602001208585856040516000815260200160405260405161058694939291906124f3565b6020604051602081039080840390855afa1580156105a8573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff161461061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610616906125f8565b60405180910390fd5b5b610634818b888863277f816960e01b6114ef565b6106488a828b8b63277f816960e01b6114ef565b8073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff168d7fdb667502ab054fbfc1011315893dab3481c36c50f60b5ad16f1c14e6035e7a9e428d8d8c8c60008060006040516106b69897969594939291906126be565b60405180910390a4505050505050505050505050565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16817f13271a4112377cb8d98566817cc69dc66ed3ee25fdcea309a9f6696475640b7860405160405180910390a350565b60036020528060005260406000206000915090505481565b60008090505b8282905081101561092257600060f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008585858181106107f457fe5b90506020020135815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561091557600260f81b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085858581811061089157fe5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360f81c02179055503373ffffffffffffffffffffffffffffffffffffffff168383838181106108e157fe5b905060200201357f8dd3c361eb2366ff27c2db0eb07b9261f1d052570742ab8c9a0c326f37aa576d60405160405180910390a35b8080600101915050610775565b505050565b4282602001351161096d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610964906125b8565b60405180910390fd5b600160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600260008460400160000160206109ae9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460000135815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6590612538565b60405180910390fd5b600260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191660026000846040016000016020610aaf9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460000135815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6690612558565b60405180910390fd5b60036000836040016000016020610b899190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600001351015610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190612658565b60405180910390fd5b600160f81b60026000846040016000016020610c299190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460000135815260200190815260200160002060006101000a81548160ff021916908360f81c021790555060008073ffffffffffffffffffffffffffffffffffffffff168360c0016000016020610cbf9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff161415610ce357339050610da3565b8260c0016000016020610cf99190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8a57610d4a8360c0016000016020610d449190810190611c13565b33611428565b610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8090612598565b60405180910390fd5b5b8260c0016000016020610da09190810190611c13565b90505b6000826020016020610db89190810190611f1e565b60ff161415610e2457610de0836040016000016020610dda9190810190611c13565b33611428565b610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690612638565b60405180910390fd5b610f01565b610e55836040016000016020610e3d9190810190611c13565b836000016020610e509190810190611c13565b611428565b610e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8b90612638565b60405180910390fd5b610ec183803603610ea89190810190611db2565b83803603610eb99190810190611ddc565b600054611650565b610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef7906125f8565b60405180910390fd5b5b610f5481846040016000016020610f1b9190810190611c13565b8560c001604001358660c0016020016020610f399190810190611c13565b8760c0016060016020610f4f9190810190611d4b565b6114ef565b610fa7836040016000016020610f6d9190810190611c13565b828560400160400135866040016020016020610f8c9190810190611c13565b876040016060016020610fa29190810190611d4b565b6114ef565b600073ffffffffffffffffffffffffffffffffffffffff1683610140016000016020610fd69190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff161461105e5761105d83604001600001602061100a9190810190611c13565b846101400160000160206110219190810190611c13565b856101400160400135866101400160200160206110419190810190611c13565b876101400160600160206110589190810190611d4b565b6114ef565b5b8073ffffffffffffffffffffffffffffffffffffffff1683604001600001602061108b9190810190611c13565b73ffffffffffffffffffffffffffffffffffffffff1684600001357fdb667502ab054fbfc1011315893dab3481c36c50f60b5ad16f1c14e6035e7a9e4287604001604001358860400160200160206110e69190810190611c13565b8960c001604001358a60c00160200160206111049190810190611c13565b8b61014001600001602061111b9190810190611c13565b8c61014001604001358d61014001602001602061113b9190810190611c13565b60405161114f98979695949392919061273c565b60405180910390a4505050565b60026020528160005260406000206020528060005260406000206000915091509054906101000a900460f81b81565b6001602052816000526040600020602052806000526040600020600091509150505481565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090558073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd7426110292f20fe59e73ccf52124e0f5440a756507c91c7b0a6c50e1eb1a23a60405160405180910390a350565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f3906125d8565b60405180910390fd5b42811161133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590612618565b60405180910390fd5b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f601f80ed402ea845dc33078b21175993b7e0040de344205a8fd656d7033eb7248360405161141c91906126a3565b60405180910390a35050565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561146757600190506114e9565b42600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541190505b92915050565b6380ac58cd60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156115b0578173ffffffffffffffffffffffffffffffffffffffff166342842e0e8686866040518463ffffffff1660e01b8152600401611579939291906124a1565b600060405180830381600087803b15801561159357600080fd5b505af11580156115a7573d6000803e3d6000fd5b50505050611649565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040518463ffffffff1660e01b81526004016115ed939291906124a1565b602060405180830381600087803b15801561160757600080fd5b505af115801561161b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061163f9190810190611cf9565b61164857600080fd5b5b5050505050565b6000600160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191683608001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156117c257600173c65ff60eb8e4038a2415bb569d1fa6dca47d692e638663ca4c86856040518363ffffffff1660e01b81526004016116e1929190612678565b60206040518083038186803b1580156116f957600080fd5b505af415801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506117319190810190611d22565b8460200151856040015186606001516040516000815260200160405260405161175d94939291906124f3565b6020604051602081039080840390855afa15801561177f573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614905061195d565b604560f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191683608001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561195857600173c65ff60eb8e4038a2415bb569d1fa6dca47d692e638663ca4c86856040518363ffffffff1660e01b8152600401611851929190612678565b60206040518083038186803b15801561186957600080fd5b505af415801561187d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506118a19190810190611d22565b6040516020016118b1919061247b565b60405160208183030381529060405280519060200120846020015185604001518660600151604051600081526020016040526040516118f394939291906124f3565b6020604051602081039080840390855afa158015611915573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614905061195d565b600090505b9392505050565b60008135905061197381612951565b92915050565b60008083601f84011261198b57600080fd5b8235905067ffffffffffffffff8111156119a457600080fd5b6020830191508360208202830111156119bc57600080fd5b9250929050565b6000815190506119d281612968565b92915050565b6000813590506119e78161297f565b92915050565b6000813590506119fc81612996565b92915050565b600081519050611a1181612996565b92915050565b600081359050611a26816129ad565b92915050565b60006101c08284031215611a3f57600080fd5b81905092915050565b60006101c08284031215611a5b57600080fd5b611a6560a06127ba565b90506000611a7584828501611be9565b6000830152506020611a8984828501611be9565b6020830152506040611a9d84828501611ad2565b60408301525060c0611ab184828501611ad2565b606083015250610140611ac684828501611ad2565b60808301525092915050565b600060808284031215611ae457600080fd5b611aee60806127ba565b90506000611afe84828501611964565b6000830152506020611b1284828501611964565b6020830152506040611b2684828501611be9565b6040830152506060611b3a84828501611a17565b60608301525092915050565b600060a08284031215611b5857600080fd5b81905092915050565b600060a08284031215611b7357600080fd5b611b7d60a06127ba565b90506000611b8d84828501611964565b6000830152506020611ba184828501611bfe565b6020830152506040611bb5848285016119ed565b6040830152506060611bc9848285016119ed565b6060830152506080611bdd848285016119d8565b60808301525092915050565b600081359050611bf8816129c4565b92915050565b600081359050611c0d816129db565b92915050565b600060208284031215611c2557600080fd5b6000611c3384828501611964565b91505092915050565b60008060408385031215611c4f57600080fd5b6000611c5d85828601611964565b9250506020611c6e85828601611964565b9150509250929050565b60008060408385031215611c8b57600080fd5b6000611c9985828601611964565b9250506020611caa85828601611be9565b9150509250929050565b60008060208385031215611cc757600080fd5b600083013567ffffffffffffffff811115611ce157600080fd5b611ced85828601611979565b92509250509250929050565b600060208284031215611d0b57600080fd5b6000611d19848285016119c3565b91505092915050565b600060208284031215611d3457600080fd5b6000611d4284828501611a02565b91505092915050565b600060208284031215611d5d57600080fd5b6000611d6b84828501611a17565b91505092915050565b6000806102608385031215611d8857600080fd5b6000611d9685828601611a2c565b9250506101c0611da885828601611b46565b9150509250929050565b60006101c08284031215611dc557600080fd5b6000611dd384828501611a48565b91505092915050565b600060a08284031215611dee57600080fd5b6000611dfc84828501611b61565b91505092915050565b600060208284031215611e1757600080fd5b6000611e2584828501611be9565b91505092915050565b60008060008060008060008060008060006101608c8e031215611e5057600080fd5b6000611e5e8e828f01611be9565b9b50506020611e6f8e828f01611be9565b9a50506040611e808e828f01611964565b9950506060611e918e828f01611be9565b9850506080611ea28e828f01611964565b97505060a0611eb38e828f01611964565b96505060c0611ec48e828f01611be9565b95505060e0611ed58e828f01611964565b945050610100611ee78e828f01611bfe565b935050610120611ef98e828f016119ed565b925050610140611f0b8e828f016119ed565b9150509295989b509295989b9093969950565b600060208284031215611f3057600080fd5b6000611f3e84828501611bfe565b91505092915050565b611f50816128ba565b82525050565b611f5f81612803565b82525050565b611f6e81612803565b82525050565b611f85611f8082612803565b612902565b82525050565b611f9481612821565b82525050565b611fab611fa682612821565b612914565b82525050565b611fba8161284d565b82525050565b611fc98161284d565b82525050565b611fe0611fdb8261284d565b61291e565b82525050565b611fef81612857565b82525050565b611ffe816128cc565b82525050565b60006120116013836127e7565b91507f4f524445525f414c52454144595f54414b454e000000000000000000000000006000830152602082019050919050565b6000612051601c836127f8565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006120916016836127e7565b91507f4f524445525f414c52454144595f43414e43454c4544000000000000000000006000830152602082019050919050565b60006120d16011836127e7565b91507f4f524445525f554e415641494c41424c450000000000000000000000000000006000830152602082019050919050565b60006121116013836127e7565b91507f53454e4445525f554e415554484f52495a4544000000000000000000000000006000830152602082019050919050565b6000612151600d836127e7565b91507f4f524445525f45585049524544000000000000000000000000000000000000006000830152602082019050919050565b60006121916015836127e7565b91507f494e56414c49445f415554485f44454c454741544500000000000000000000006000830152602082019050919050565b60006121d16011836127e7565b91507f5349474e41545552455f494e56414c49440000000000000000000000000000006000830152602082019050919050565b60006122116013836127e7565b91507f494e56414c49445f415554485f455850495259000000000000000000000000006000830152602082019050919050565b60006122516013836127e7565b91507f5349474e45525f554e415554484f52495a4544000000000000000000000000006000830152602082019050919050565b6000612291600d836127e7565b91507f4e4f4e43455f544f4f5f4c4f57000000000000000000000000000000000000006000830152602082019050919050565b6101c0820160008201516122db6000850182612392565b5060208201516122ee6020850182612392565b506040820151612301604085018261232e565b50606082015161231460c085018261232e565b50608082015161232861014085018261232e565b50505050565b6080820160008201516123446000850182611f65565b5060208201516123576020850182611f65565b50604082015161236a6040850182612392565b50606082015161237d6060850182611fe6565b50505050565b61238c816128a3565b82525050565b61239b816128a3565b82525050565b6123b26123ad826128a3565b61293a565b82525050565b6123c1816128ad565b82525050565b60006123d3828d611f9a565b6001820191506123e3828c611f74565b6014820191506123f3828b6123a1565b602082019150612403828a6123a1565b6020820191506124138289611f74565b60148201915061242382886123a1565b6020820191506124338287611f74565b6014820191506124438286611f74565b60148201915061245382856123a1565b6020820191506124638284611f74565b6014820191508190509b9a5050505050505050505050565b600061248682612044565b91506124928284611fcf565b60208201915081905092915050565b60006060820190506124b66000830186611f56565b6124c36020830185611f56565b6124d06040830184612383565b949350505050565b60006020820190506124ed6000830184611f8b565b92915050565b60006080820190506125086000830187611fb1565b61251560208301866123b8565b6125226040830185611fb1565b61252f6060830184611fb1565b95945050505050565b6000602082019050818103600083015261255181612004565b9050919050565b6000602082019050818103600083015261257181612084565b9050919050565b60006020820190508181036000830152612591816120c4565b9050919050565b600060208201905081810360008301526125b181612104565b9050919050565b600060208201905081810360008301526125d181612144565b9050919050565b600060208201905081810360008301526125f181612184565b9050919050565b60006020820190508181036000830152612611816121c4565b9050919050565b6000602082019050818103600083015261263181612204565b9050919050565b6000602082019050818103600083015261265181612244565b9050919050565b6000602082019050818103600083015261267181612284565b9050919050565b60006101e08201905061268e60008301856122c4565b61269c6101c0830184611fc0565b9392505050565b60006020820190506126b86000830184612383565b92915050565b6000610100820190506126d4600083018b612383565b6126e1602083018a612383565b6126ee6040830189611f56565b6126fb6060830188612383565b6127086080830187611f56565b61271560a0830186611f47565b61272260c0830185611ff5565b61272f60e0830184611f47565b9998505050505050505050565b600061010082019050612752600083018b612383565b61275f602083018a612383565b61276c6040830189611f56565b6127796060830188612383565b6127866080830187611f56565b61279360a0830186611f56565b6127a060c0830185612383565b6127ad60e0830184611f56565b9998505050505050505050565b6000604051905081810181811067ffffffffffffffff821117156127dd57600080fd5b8060405250919050565b600082825260208201905092915050565b600081905092915050565b600061280e82612883565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006128c5826128de565b9050919050565b60006128d7826128a3565b9050919050565b60006128e9826128f0565b9050919050565b60006128fb82612883565b9050919050565b600061290d82612928565b9050919050565b6000819050919050565b6000819050919050565b600061293382612944565b9050919050565b6000819050919050565b60008160601b9050919050565b61295a81612803565b811461296557600080fd5b50565b61297181612815565b811461297c57600080fd5b50565b61298881612821565b811461299357600080fd5b50565b61299f8161284d565b81146129aa57600080fd5b50565b6129b681612857565b81146129c157600080fd5b50565b6129cd816128a3565b81146129d857600080fd5b50565b6129e4816128ad565b81146129ef57600080fd5b5056fea365627a7a72305820c1eb06faba89bab6495c32881568896599a7e84b7021661b2533a26cfdf1a2aa6c6578706572696d656e74616cf564736f6c634300050a0040

Deployed Bytecode Sourcemap

12674:12587:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12674:12587:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18708:2654;;;;;;;;;;;;;;;;:::i;:::-;;22018:169;;;;;;;;;;;;;;;;:::i;:::-;;14502:53;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;21558:308;;;;;;;;;;;;;;;;:::i;:::-;;14940:3312;;;;;;;;;;;;;;;;:::i;:::-;;14360:70;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;14201:74;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;22791:155;;;;;;;;;;;;;;;;:::i;:::-;;22343:323;;;;;;;;;;;;;;;;:::i;:::-;;18708:2654;19070:15;19060:7;:25;19052:58;;;;;;;;;;;;;;;;;;;;;;13021:4;19234;;19192:46;;;:16;:30;19209:12;19192:30;;;;;;;;;;;;;;;:38;19223:6;19192:38;;;;;;;;;;;;;;;;;;;;;:46;;;;19184:83;;;;;;;;;;;;;;;;;;;;;;19294:17;:31;19312:12;19294:31;;;;;;;;;;;;;;;;19284:6;:41;;19276:74;;;;;;;;;;;;;;;;;;;;;;13060:4;19437:5;;19396:16;:30;19413:12;19396:30;;;;;;;;;;;;;;;:38;19427:6;19396:38;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;19497:24;19558:1;19534:26;;:12;:26;;;19530:384;;;19643:10;19624:29;;19530:384;;;19747:12;19733:26;;:10;:26;;;19729:134;;19780:38;19793:12;19807:10;19780:12;:38::i;:::-;19772:81;;;;;;;;;;;;;;;;;;;;;;19729:134;19892:12;19873:31;;19530:384;19978:1;19972:2;:7;;;19968:834;;;20170:38;20183:12;20197:10;20170:12;:38::i;:::-;20162:79;;;;;;;;;;;;;;;;;;;;;;19968:834;;;20350:422;20502:1;20497:7;;20527:4;20547:6;20568:7;20590:12;20617:11;20643;20669:12;20696:11;20722;20466:280;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;20466:280:0;;;20456:291;;;;;;20380:378;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;20380:378:0;;;20370:389;;;;;;20761:2;20765;20769;20350:422;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20350:422:0;;;;;;;;20334:438;;:12;:438;;;20326:468;;;;;;;;;;;;;;;;;;;;;;19968:834;20854:133;20876:16;20901:12;20922:11;20942;13220:10;20962:18;;20854:13;:133::i;:::-;21040;21062:12;21083:16;21108:11;21128;13220:10;21148:18;;21040:13;:133::i;:::-;21271:16;21187:167;;21224:12;21187:167;;21192:6;21187:167;21200:15;21238:11;21251;21289;21302;21330:1;21334;21345;21187:167;;;;;;;;;;;;;;;;;;;;;;18708:2654;;;;;;;;;;;;:::o;22018:169::-;22119:13;22087:17;:29;22105:10;22087:29;;;;;;;;;;;;;;;:45;;;;22170:10;22144:37;;22155:13;22144:37;;;;;;;;;;22018:169;:::o;14502:53::-;;;;;;;;;;;;;;;;;:::o;21558:308::-;21633:9;21645:1;21633:13;;21628:233;21652:7;;:14;;21648:1;:18;21628:233;;;13021:4;21730;;21686:48;;;:16;:28;21703:10;21686:28;;;;;;;;;;;;;;;:40;21715:7;;21723:1;21715:10;;;;;;;;;;;;;21686:40;;;;;;;;;;;;;;;;;;;;;:48;;;;21682:172;;;13102:4;21790:8;;21747:16;:28;21764:10;21747:28;;;;;;;;;;;;;;;:40;21776:7;;21784:1;21776:10;;;;;;;;;;;;;21747:40;;;;;;;;;;;;:51;;;;;;;;;;;;;;;;;;21833:10;21814:30;;21821:7;;21829:1;21821:10;;;;;;;;;;;;;21814:30;;;;;;;;;;21682:172;21668:3;;;;;;;21628:233;;;;21558:308;;:::o;14940:3312::-;15126:15;15110:6;:13;;;:31;15102:64;;;;;;;;;;;;;;;;;;;;;;13060:4;15285:5;;15230:60;;;:16;:37;15247:6;:12;;:19;;;;;;;;;;;;15230:37;;;;;;;;;;;;;;;:51;15268:6;:12;;;15230:51;;;;;;;;;;;;;;;;;;;;;:60;;;;;15222:99;;;;;;;;;;;;;;;;;;;;;;13102:4;15443:8;;15388:63;;;:16;:37;15405:6;:12;;:19;;;;;;;;;;;;15388:37;;;;;;;;;;;;;;;:51;15426:6;:12;;;15388:51;;;;;;;;;;;;;;;;;;;;;:63;;;;;15380:105;;;;;;;;;;;;;;;;;;;;;;15571:17;:38;15589:6;:12;;:19;;;;;;;;;;;;15571:38;;;;;;;;;;;;;;;;15555:6;:12;;;:54;;15547:87;;;;;;;;;;;;;;;;;;;;;;13060:4;15734:5;;15680:16;:37;15697:6;:12;;:19;;;;;;;;;;;;15680:37;;;;;;;;;;;;;;;:51;15718:6;:12;;;15680:51;;;;;;;;;;;;:59;;;;;;;;;;;;;;;;;;15794:24;15862:1;15831:33;;:6;:12;;:19;;;;;;;;;;;;:33;;;15827:652;;;16026:10;16007:29;;15827:652;;;16249:6;:12;;:19;;;;;;;;;;;;16235:33;;:10;:33;;;16231:148;;16289:45;16302:6;:12;;:19;;;;;;;;;;;;16323:10;16289:12;:45::i;:::-;16281:88;;;;;;;;;;;;;;;;;;;;;;16231:148;16450:6;:12;;:19;;;;;;;;;;;;16431:38;;15827:652;16553:1;16537:10;:12;;;;;;;;;;;;:17;;;16533:723;;;16746:45;16759:6;:12;;:19;;;;;;;;;;;;16780:10;16746:12;:45::i;:::-;16738:86;;;;;;;;;;;;;;;;;;;;;;16533:723;;;17026:52;17039:6;:12;;:19;;;;;;;;;;;;17060:10;:17;;;;;;;;;;;;17026:12;:52::i;:::-;17018:93;;;;;;;;;;;;;;;;;;;;;;17171:44;17179:6;17171:44;;;;;;;;;;;;17187:10;17171:44;;;;;;;;;;;;17199:15;;17171:7;:44::i;:::-;17163:83;;;;;;;;;;;;;;;;;;;;;;16533:723;17306:153;17328:16;17353:6;:12;;:19;;;;;;;;;;;;17381:6;:12;;:18;;;17408:6;:12;;:18;;;;;;;;;;;;17435:6;:12;;:17;;;;;;;;;;;;17306:13;:153::i;:::-;17512;17534:6;:12;;:19;;;;;;;;;;;;17562:16;17587:6;:12;;:18;;;17614:6;:12;;:18;;;;;;;;;;;;17641:6;:12;;:17;;;;;;;;;;;;17512:13;:153::i;:::-;17774:1;17739:37;;:6;:16;;:23;;;;;;;;;;;;:37;;;17735:244;;17787:184;17811:6;:12;;:19;;;;;;;;;;;;17841:6;:16;;:23;;;;;;;;;;;;17875:6;:16;;:22;;;17908:6;:16;;:22;;;;;;;;;;;;17941:6;:16;;:21;;;;;;;;;;;;17787:13;:184::i;:::-;17735:244;18103:16;17992:254;;18035:6;:12;;:19;;;;;;;;;;;;17992:254;;17997:6;:12;;;17992:254;18011:15;18056:6;:12;;:18;;;18076:6;:12;;:18;;;;;;;;;;;;18121:6;:12;;:18;;;18141:6;:12;;:18;;;;;;;;;;;;18168:6;:16;;:23;;;;;;;;;;;;18193:6;:16;;:22;;;18217:6;:16;;:22;;;;;;;;;;;;17992:254;;;;;;;;;;;;;;;;;;;;;;14940:3312;;;:::o;14360:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14201:74::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22791:155::-;22859:17;:29;22877:10;22859:29;;;;;;;;;;;;;;;:40;22889:9;22859:40;;;;;;;;;;;;;;;22852:47;;;22930:9;22911:29;;22918:10;22911:29;;;;;;;;;;;;22791:155;:::o;22343:323::-;22451:9;22437:23;;:10;:23;;;;22429:57;;;;;;;;;;;;;;;;;;;;;;22511:15;22501:7;:25;22493:57;;;;;;;;;;;;;;;;;;;;;;22600:7;22557:17;:29;22575:10;22557:29;;;;;;;;;;;;;;;:40;22587:9;22557:40;;;;;;;;;;;;;;;:50;;;;22641:9;22619:41;;22629:10;22619:41;;;22652:7;22619:41;;;;;;;;;;;;;;;22343:323;;:::o;23150:229::-;23248:4;23278:9;23265:22;;:9;:22;;;23261:39;;;23296:4;23289:11;;;;23261:39;23357:15;23315:17;:28;23333:9;23315:28;;;;;;;;;;;;;;;:39;23344:9;23315:39;;;;;;;;;;;;;;;;:57;23307:66;;23150:229;;;;;:::o;24823:435::-;13583:10;24989:19;;24980:28;;;:5;:28;;;;24976:277;;;25075:6;25067:32;;;25100:5;25107:3;25112:6;25067:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25067:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25067:52:0;;;;24976:277;;;25204:6;25197:27;;;25225:5;25232:3;25237:6;25197:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25197:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25197:47:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;25197:47:0;;;;;;;;;25189:56;;;;;;24976:277;24823:435;;;;;:::o;23596:790::-;23744:4;23788;23783:10;;23761:32;;;:10;:18;;;:32;;;;23757:251;;;23832:168;23852:5;:15;23880:6;23899:16;23852:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23852:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23852:64:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;23852:64:0;;;;;;;;;23929:10;:12;;;23954:10;:12;;;23979:10;:12;;;23832:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23832:168:0;;;;;;;;23811:189;;:10;:17;;;:189;;;23804:196;;;;23757:251;24045:4;24040:10;;24018:32;;;:10;:18;;;:32;;;;24014:348;;;24089:265;24211:5;:15;24227:6;24235:16;24211:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24211:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24211:41:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;24211:41:0;;;;;;;;;24131:134;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;24131:134:0;;;24109:167;;;;;;24287:10;:12;;;24310:10;:12;;;24333:10;:12;;;24089:265;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24089:265:0;;;;;;;;24068:286;;:10;:17;;;:286;;;24061:293;;;;24014:348;24375:5;24368:12;;23596:790;;;;;;:::o;5:130:-1:-;;85:6;72:20;63:29;;97:33;124:5;97:33;;;57:78;;;;;160:352;;;290:3;283:4;275:6;271:17;267:27;257:2;;308:1;305;298:12;257:2;341:6;328:20;318:30;;368:18;360:6;357:30;354:2;;;400:1;397;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;477:4;469:6;465:17;455:8;451:32;448:41;445:2;;;502:1;499;492:12;445:2;250:262;;;;;;520:128;;601:6;595:13;586:22;;613:30;637:5;613:30;;;580:68;;;;;655:128;;734:6;721:20;712:29;;746:32;772:5;746:32;;;706:77;;;;;790:130;;870:6;857:20;848:29;;882:33;909:5;882:33;;;842:78;;;;;927:134;;1011:6;1005:13;996:22;;1023:33;1050:5;1023:33;;;990:71;;;;;1068:128;;1147:6;1134:20;1125:29;;1159:32;1185:5;1159:32;;;1119:77;;;;;1230:155;;1337:3;1328:6;1323:3;1319:16;1315:26;1312:2;;;1354:1;1351;1344:12;1312:2;1373:6;1364:15;;1305:80;;;;;1417:958;;1527:5;1515:9;1510:3;1506:19;1502:31;1499:2;;;1546:1;1543;1536:12;1499:2;1564:20;1579:4;1564:20;;;1555:29;;1635:1;1666:49;1711:3;1702:6;1691:9;1687:22;1666:49;;;1660:3;1653:5;1649:15;1642:74;1594:133;1779:2;1812:49;1857:3;1848:6;1837:9;1833:22;1812:49;;;1805:4;1798:5;1794:16;1787:75;1737:136;1924:2;1957:66;2019:3;2010:6;1999:9;1995:22;1957:66;;;1950:4;1943:5;1939:16;1932:92;1883:152;2086:3;2120:66;2182:3;2173:6;2162:9;2158:22;2120:66;;;2113:4;2106:5;2102:16;2095:92;2045:153;2253:3;2287:66;2349:3;2340:6;2329:9;2325:22;2287:66;;;2280:4;2273:5;2269:16;2262:92;2208:157;1493:882;;;;;2407:749;;2513:4;2501:9;2496:3;2492:19;2488:30;2485:2;;;2531:1;2528;2521:12;2485:2;2549:20;2564:4;2549:20;;;2540:29;;2621:1;2652:49;2697:3;2688:6;2677:9;2673:22;2652:49;;;2646:3;2639:5;2635:15;2628:74;2579:134;2764:2;2797:49;2842:3;2833:6;2822:9;2818:22;2797:49;;;2790:4;2783:5;2779:16;2772:75;2723:135;2909:2;2942:49;2987:3;2978:6;2967:9;2963:22;2942:49;;;2935:4;2928:5;2924:16;2917:75;2868:135;3053:2;3086:48;3130:3;3121:6;3110:9;3106:22;3086:48;;;3079:4;3072:5;3068:16;3061:74;3013:133;2479:677;;;;;3194:159;;3305:3;3296:6;3291:3;3287:16;3283:26;3280:2;;;3322:1;3319;3312:12;3280:2;3341:6;3332:15;;3273:80;;;;;3389:892;;3503:4;3491:9;3486:3;3482:19;3478:30;3475:2;;;3521:1;3518;3511:12;3475:2;3539:20;3554:4;3539:20;;;3530:29;;3611:1;3642:49;3687:3;3678:6;3667:9;3663:22;3642:49;;;3636:3;3629:5;3625:15;3618:74;3569:134;3750:2;3783:47;3826:3;3817:6;3806:9;3802:22;3783:47;;;3776:4;3769:5;3765:16;3758:73;3713:129;3889:2;3922:49;3967:3;3958:6;3947:9;3943:22;3922:49;;;3915:4;3908:5;3904:16;3897:75;3852:131;4030:2;4063:49;4108:3;4099:6;4088:9;4084:22;4063:49;;;4056:4;4049:5;4045:16;4038:75;3993:131;4177:3;4211:48;4255:3;4246:6;4235:9;4231:22;4211:48;;;4204:4;4197:5;4193:16;4186:74;4134:137;3469:812;;;;;4288:130;;4368:6;4355:20;4346:29;;4380:33;4407:5;4380:33;;;4340:78;;;;;4425:126;;4503:6;4490:20;4481:29;;4515:31;4540:5;4515:31;;;4475:76;;;;;4558:241;;4662:2;4650:9;4641:7;4637:23;4633:32;4630:2;;;4678:1;4675;4668:12;4630:2;4713:1;4730:53;4775:7;4766:6;4755:9;4751:22;4730:53;;;4720:63;;4692:97;4624:175;;;;;4806:366;;;4927:2;4915:9;4906:7;4902:23;4898:32;4895:2;;;4943:1;4940;4933:12;4895:2;4978:1;4995:53;5040:7;5031:6;5020:9;5016:22;4995:53;;;4985:63;;4957:97;5085:2;5103:53;5148:7;5139:6;5128:9;5124:22;5103:53;;;5093:63;;5064:98;4889:283;;;;;;5179:366;;;5300:2;5288:9;5279:7;5275:23;5271:32;5268:2;;;5316:1;5313;5306:12;5268:2;5351:1;5368:53;5413:7;5404:6;5393:9;5389:22;5368:53;;;5358:63;;5330:97;5458:2;5476:53;5521:7;5512:6;5501:9;5497:22;5476:53;;;5466:63;;5437:98;5262:283;;;;;;5552:397;;;5691:2;5679:9;5670:7;5666:23;5662:32;5659:2;;;5707:1;5704;5697:12;5659:2;5770:1;5759:9;5755:17;5742:31;5793:18;5785:6;5782:30;5779:2;;;5825:1;5822;5815:12;5779:2;5853:80;5925:7;5916:6;5905:9;5901:22;5853:80;;;5843:90;;;;5721:218;5653:296;;;;;;5956:257;;6068:2;6056:9;6047:7;6043:23;6039:32;6036:2;;;6084:1;6081;6074:12;6036:2;6119:1;6136:61;6189:7;6180:6;6169:9;6165:22;6136:61;;;6126:71;;6098:105;6030:183;;;;;6220:263;;6335:2;6323:9;6314:7;6310:23;6306:32;6303:2;;;6351:1;6348;6341:12;6303:2;6386:1;6403:64;6459:7;6450:6;6439:9;6435:22;6403:64;;;6393:74;;6365:108;6297:186;;;;;6490:239;;6593:2;6581:9;6572:7;6568:23;6564:32;6561:2;;;6609:1;6606;6599:12;6561:2;6644:1;6661:52;6705:7;6696:6;6685:9;6681:22;6661:52;;;6651:62;;6623:96;6555:174;;;;;6736:468;;;6907:3;6895:9;6886:7;6882:23;6878:33;6875:2;;;6924:1;6921;6914:12;6875:2;6959:1;6976:76;7044:7;7035:6;7024:9;7020:22;6976:76;;;6966:86;;6938:120;7089:3;7108:80;7180:7;7171:6;7160:9;7156:22;7108:80;;;7098:90;;7068:126;6869:335;;;;;;7211:284;;7336:3;7324:9;7315:7;7311:23;7307:33;7304:2;;;7353:1;7350;7343:12;7304:2;7388:1;7405:74;7471:7;7462:6;7451:9;7447:22;7405:74;;;7395:84;;7367:118;7298:197;;;;;7502:292;;7631:3;7619:9;7610:7;7606:23;7602:33;7599:2;;;7648:1;7645;7638:12;7599:2;7683:1;7700:78;7770:7;7761:6;7750:9;7746:22;7700:78;;;7690:88;;7662:122;7593:201;;;;;7801:241;;7905:2;7893:9;7884:7;7880:23;7876:32;7873:2;;;7921:1;7918;7911:12;7873:2;7956:1;7973:53;8018:7;8009:6;7998:9;7994:22;7973:53;;;7963:63;;7935:97;7867:175;;;;;8049:1497;;;;;;;;;;;;8322:3;8310:9;8301:7;8297:23;8293:33;8290:2;;;8339:1;8336;8329:12;8290:2;8374:1;8391:53;8436:7;8427:6;8416:9;8412:22;8391:53;;;8381:63;;8353:97;8481:2;8499:53;8544:7;8535:6;8524:9;8520:22;8499:53;;;8489:63;;8460:98;8589:2;8607:53;8652:7;8643:6;8632:9;8628:22;8607:53;;;8597:63;;8568:98;8697:2;8715:53;8760:7;8751:6;8740:9;8736:22;8715:53;;;8705:63;;8676:98;8805:3;8824:53;8869:7;8860:6;8849:9;8845:22;8824:53;;;8814:63;;8784:99;8914:3;8933:53;8978:7;8969:6;8958:9;8954:22;8933:53;;;8923:63;;8893:99;9023:3;9042:53;9087:7;9078:6;9067:9;9063:22;9042:53;;;9032:63;;9002:99;9132:3;9151:53;9196:7;9187:6;9176:9;9172:22;9151:53;;;9141:63;;9111:99;9241:3;9260:51;9303:7;9294:6;9283:9;9279:22;9260:51;;;9250:61;;9220:97;9348:3;9367:53;9412:7;9403:6;9392:9;9388:22;9367:53;;;9357:63;;9327:99;9457:3;9477:53;9522:7;9513:6;9502:9;9498:22;9477:53;;;9466:64;;9436:100;8284:1262;;;;;;;;;;;;;;;9553:237;;9655:2;9643:9;9634:7;9630:23;9626:32;9623:2;;;9671:1;9668;9661:12;9623:2;9706:1;9723:51;9766:7;9757:6;9746:9;9742:22;9723:51;;;9713:61;;9685:95;9617:173;;;;;9797:142;9888:45;9927:5;9888:45;;;9883:3;9876:58;9870:69;;;9946:113;10029:24;10047:5;10029:24;;;10024:3;10017:37;10011:48;;;10066:111;10147:24;10165:5;10147:24;;;10142:3;10135:37;10129:48;;;10184:152;10285:45;10305:24;10323:5;10305:24;;;10285:45;;;10280:3;10273:58;10267:69;;;10343:110;10424:23;10441:5;10424:23;;;10419:3;10412:36;10406:47;;;10460:148;10559:43;10578:23;10595:5;10578:23;;;10559:43;;;10554:3;10547:56;10541:67;;;10615:113;10698:24;10716:5;10698:24;;;10693:3;10686:37;10680:48;;;10735:121;10826:24;10844:5;10826:24;;;10821:3;10814:37;10808:48;;;10863:152;10964:45;10984:24;11002:5;10984:24;;;10964:45;;;10959:3;10952:58;10946:69;;;11022:108;11101:23;11118:5;11101:23;;;11096:3;11089:36;11083:47;;;11137:142;11228:45;11267:5;11228:45;;;11223:3;11216:58;11210:69;;;11287:364;;11447:67;11511:2;11506:3;11447:67;;;11440:74;;11547:66;11543:1;11538:3;11534:11;11527:87;11642:2;11637:3;11633:12;11626:19;;11433:218;;;;11660:400;;11838:85;11920:2;11915:3;11838:85;;;11831:92;;11956:66;11952:1;11947:3;11943:11;11936:87;12051:2;12046:3;12042:12;12035:19;;11824:236;;;;12069:364;;12229:67;12293:2;12288:3;12229:67;;;12222:74;;12329:66;12325:1;12320:3;12316:11;12309:87;12424:2;12419:3;12415:12;12408:19;;12215:218;;;;12442:364;;12602:67;12666:2;12661:3;12602:67;;;12595:74;;12702:66;12698:1;12693:3;12689:11;12682:87;12797:2;12792:3;12788:12;12781:19;;12588:218;;;;12815:364;;12975:67;13039:2;13034:3;12975:67;;;12968:74;;13075:66;13071:1;13066:3;13062:11;13055:87;13170:2;13165:3;13161:12;13154:19;;12961:218;;;;13188:364;;13348:67;13412:2;13407:3;13348:67;;;13341:74;;13448:66;13444:1;13439:3;13435:11;13428:87;13543:2;13538:3;13534:12;13527:19;;13334:218;;;;13561:364;;13721:67;13785:2;13780:3;13721:67;;;13714:74;;13821:66;13817:1;13812:3;13808:11;13801:87;13916:2;13911:3;13907:12;13900:19;;13707:218;;;;13934:364;;14094:67;14158:2;14153:3;14094:67;;;14087:74;;14194:66;14190:1;14185:3;14181:11;14174:87;14289:2;14284:3;14280:12;14273:19;;14080:218;;;;14307:364;;14467:67;14531:2;14526:3;14467:67;;;14460:74;;14567:66;14563:1;14558:3;14554:11;14547:87;14662:2;14657:3;14653:12;14646:19;;14453:218;;;;14680:364;;14840:67;14904:2;14899:3;14840:67;;;14833:74;;14940:66;14936:1;14931:3;14927:11;14920:87;15035:2;15030:3;15026:12;15019:19;;14826:218;;;;15053:364;;15213:67;15277:2;15272:3;15213:67;;;15206:74;;15313:66;15309:1;15304:3;15300:11;15293:87;15408:2;15403:3;15399:12;15392:19;;15199:218;;;;15472:1102;15615:5;15610:3;15606:15;15700:3;15693:5;15689:15;15683:22;15711:70;15776:3;15771;15767:13;15753:12;15711:70;;;15636:151;15862:4;15855:5;15851:16;15845:23;15874:71;15939:4;15934:3;15930:14;15916:12;15874:71;;;15797:154;16025:4;16018:5;16014:16;16008:23;16037:109;16140:4;16135:3;16131:14;16117:12;16037:109;;;15961:191;16226:4;16219:5;16215:16;16209:23;16238:109;16341:4;16336:3;16332:14;16318:12;16238:109;;;16162:191;16431:4;16424:5;16420:16;16414:23;16443:110;16546:5;16541:3;16537:15;16523:12;16443:110;;;16363:196;15588:986;;;;16628:802;16757:4;16752:3;16748:14;16842:3;16835:5;16831:15;16825:22;16853:70;16918:3;16913;16909:13;16895:12;16853:70;;;16777:152;17003:4;16996:5;16992:16;16986:23;17015:71;17080:4;17075:3;17071:14;17057:12;17015:71;;;16939:153;17166:4;17159:5;17155:16;17149:23;17178:71;17243:4;17238:3;17234:14;17220:12;17178:71;;;17102:153;17328:4;17321:5;17317:16;17311:23;17340:69;17403:4;17398:3;17394:14;17380:12;17340:69;;;17265:150;16730:700;;;;17437:113;17520:24;17538:5;17520:24;;;17515:3;17508:37;17502:48;;;17557:111;17638:24;17656:5;17638:24;;;17633:3;17626:37;17620:48;;;17675:152;17776:45;17796:24;17814:5;17796:24;;;17776:45;;;17771:3;17764:58;17758:69;;;17834:107;17913:22;17929:5;17913:22;;;17908:3;17901:35;17895:46;;;17948:1490;;18317:73;18386:3;18377:6;18317:73;;;18412:1;18407:3;18403:11;18396:18;;18425:75;18496:3;18487:6;18425:75;;;18522:2;18517:3;18513:12;18506:19;;18536:75;18607:3;18598:6;18536:75;;;18633:2;18628:3;18624:12;18617:19;;18647:75;18718:3;18709:6;18647:75;;;18744:2;18739:3;18735:12;18728:19;;18758:75;18829:3;18820:6;18758:75;;;18855:2;18850:3;18846:12;18839:19;;18869:75;18940:3;18931:6;18869:75;;;18966:2;18961:3;18957:12;18950:19;;18980:75;19051:3;19042:6;18980:75;;;19077:2;19072:3;19068:12;19061:19;;19091:75;19162:3;19153:6;19091:75;;;19188:2;19183:3;19179:12;19172:19;;19202:75;19273:3;19264:6;19202:75;;;19299:2;19294:3;19290:12;19283:19;;19313:75;19384:3;19375:6;19313:75;;;19410:2;19405:3;19401:12;19394:19;;19430:3;19423:10;;18305:1133;;;;;;;;;;;;;;19445:511;;19672:148;19816:3;19672:148;;;19665:155;;19831:75;19902:3;19893:6;19831:75;;;19928:2;19923:3;19919:12;19912:19;;19948:3;19941:10;;19653:303;;;;;19963:435;;20137:2;20126:9;20122:18;20114:26;;20151:71;20219:1;20208:9;20204:17;20195:6;20151:71;;;20233:72;20301:2;20290:9;20286:18;20277:6;20233:72;;;20316;20384:2;20373:9;20369:18;20360:6;20316:72;;;20108:290;;;;;;;20405:209;;20521:2;20510:9;20506:18;20498:26;;20535:69;20601:1;20590:9;20586:17;20577:6;20535:69;;;20492:122;;;;;20621:539;;20819:3;20808:9;20804:19;20796:27;;20834:71;20902:1;20891:9;20887:17;20878:6;20834:71;;;20916:68;20980:2;20969:9;20965:18;20956:6;20916:68;;;20995:72;21063:2;21052:9;21048:18;21039:6;20995:72;;;21078;21146:2;21135:9;21131:18;21122:6;21078:72;;;20790:370;;;;;;;;21167:407;;21358:2;21347:9;21343:18;21335:26;;21408:9;21402:4;21398:20;21394:1;21383:9;21379:17;21372:47;21433:131;21559:4;21433:131;;;21425:139;;21329:245;;;;21581:407;;21772:2;21761:9;21757:18;21749:26;;21822:9;21816:4;21812:20;21808:1;21797:9;21793:17;21786:47;21847:131;21973:4;21847:131;;;21839:139;;21743:245;;;;21995:407;;22186:2;22175:9;22171:18;22163:26;;22236:9;22230:4;22226:20;22222:1;22211:9;22207:17;22200:47;22261:131;22387:4;22261:131;;;22253:139;;22157:245;;;;22409:407;;22600:2;22589:9;22585:18;22577:26;;22650:9;22644:4;22640:20;22636:1;22625:9;22621:17;22614:47;22675:131;22801:4;22675:131;;;22667:139;;22571:245;;;;22823:407;;23014:2;23003:9;22999:18;22991:26;;23064:9;23058:4;23054:20;23050:1;23039:9;23035:17;23028:47;23089:131;23215:4;23089:131;;;23081:139;;22985:245;;;;23237:407;;23428:2;23417:9;23413:18;23405:26;;23478:9;23472:4;23468:20;23464:1;23453:9;23449:17;23442:47;23503:131;23629:4;23503:131;;;23495:139;;23399:245;;;;23651:407;;23842:2;23831:9;23827:18;23819:26;;23892:9;23886:4;23882:20;23878:1;23867:9;23863:17;23856:47;23917:131;24043:4;23917:131;;;23909:139;;23813:245;;;;24065:407;;24256:2;24245:9;24241:18;24233:26;;24306:9;24300:4;24296:20;24292:1;24281:9;24277:17;24270:47;24331:131;24457:4;24331:131;;;24323:139;;24227:245;;;;24479:407;;24670:2;24659:9;24655:18;24647:26;;24720:9;24714:4;24710:20;24706:1;24695:9;24691:17;24684:47;24745:131;24871:4;24745:131;;;24737:139;;24641:245;;;;24893:407;;25084:2;25073:9;25069:18;25061:26;;25134:9;25128:4;25124:20;25120:1;25109:9;25105:17;25098:47;25159:131;25285:4;25159:131;;;25151:139;;25055:245;;;;25307:434;;25503:3;25492:9;25488:19;25480:27;;25518:121;25636:1;25625:9;25621:17;25612:6;25518:121;;;25650:81;25726:3;25715:9;25711:19;25702:6;25650:81;;;25474:267;;;;;;25748:213;;25866:2;25855:9;25851:18;25843:26;;25880:71;25948:1;25937:9;25933:17;25924:6;25880:71;;;25837:124;;;;;25968:1043;;26306:3;26295:9;26291:19;26283:27;;26321:71;26389:1;26378:9;26374:17;26365:6;26321:71;;;26403:72;26471:2;26460:9;26456:18;26447:6;26403:72;;;26486;26554:2;26543:9;26539:18;26530:6;26486:72;;;26569;26637:2;26626:9;26622:18;26613:6;26569:72;;;26652:73;26720:3;26709:9;26705:19;26696:6;26652:73;;;26736:81;26812:3;26801:9;26797:19;26788:6;26736:81;;;26828;26904:3;26893:9;26889:19;26880:6;26828:81;;;26920;26996:3;26985:9;26981:19;26972:6;26920:81;;;26277:734;;;;;;;;;;;;27018:995;;27332:3;27321:9;27317:19;27309:27;;27347:71;27415:1;27404:9;27400:17;27391:6;27347:71;;;27429:72;27497:2;27486:9;27482:18;27473:6;27429:72;;;27512;27580:2;27569:9;27565:18;27556:6;27512:72;;;27595;27663:2;27652:9;27648:18;27639:6;27595:72;;;27678:73;27746:3;27735:9;27731:19;27722:6;27678:73;;;27762;27830:3;27819:9;27815:19;27806:6;27762:73;;;27846;27914:3;27903:9;27899:19;27890:6;27846:73;;;27930;27998:3;27987:9;27983:19;27974:6;27930:73;;;27303:710;;;;;;;;;;;;28020:256;;28082:2;28076:9;28066:19;;28120:4;28112:6;28108:17;28219:6;28207:10;28204:22;28183:18;28171:10;28168:34;28165:62;28162:2;;;28240:1;28237;28230:12;28162:2;28260:10;28256:2;28249:22;28060:216;;;;;28284:163;;28399:6;28394:3;28387:19;28436:4;28431:3;28427:14;28412:29;;28380:67;;;;;28456:145;;28592:3;28577:18;;28570:31;;;;;28609:91;;28671:24;28689:5;28671:24;;;28660:35;;28654:46;;;;28707:85;;28780:5;28773:13;28766:21;28755:32;;28749:43;;;;28799:144;;28871:66;28864:5;28860:78;28849:89;;28843:100;;;;28950:72;;29012:5;29001:16;;28995:27;;;;29029:144;;29101:66;29094:5;29090:78;29079:89;;29073:100;;;;29180:121;;29253:42;29246:5;29242:54;29231:65;;29225:76;;;;29308:72;;29370:5;29359:16;;29353:27;;;;29387:81;;29458:4;29451:5;29447:16;29436:27;;29430:38;;;;29475:129;;29562:37;29593:5;29562:37;;;29549:50;;29543:61;;;;29611:116;;29698:24;29716:5;29698:24;;;29685:37;;29679:48;;;;29734:121;;29813:37;29844:5;29813:37;;;29800:50;;29794:61;;;;29862:108;;29941:24;29959:5;29941:24;;;29928:37;;29922:48;;;;29977:95;;30041:26;30061:5;30041:26;;;30030:37;;30024:48;;;;30079:73;;30142:5;30131:16;;30125:27;;;;30159:74;;30223:5;30212:16;;30206:27;;;;30240:89;;30304:20;30318:5;30304:20;;;30293:31;;30287:42;;;;30336:74;;30400:5;30389:16;;30383:27;;;;30417:94;;30495:5;30491:2;30487:14;30465:36;;30459:52;;;;30519:117;30588:24;30606:5;30588:24;;;30581:5;30578:35;30568:2;;30627:1;30624;30617:12;30568:2;30562:74;;30643:111;30709:21;30724:5;30709:21;;;30702:5;30699:32;30689:2;;30745:1;30742;30735:12;30689:2;30683:71;;30761:115;30829:23;30846:5;30829:23;;;30822:5;30819:34;30809:2;;30867:1;30864;30857:12;30809:2;30803:73;;30883:117;30952:24;30970:5;30952:24;;;30945:5;30942:35;30932:2;;30991:1;30988;30981:12;30932:2;30926:74;;31007:115;31075:23;31092:5;31075:23;;;31068:5;31065:34;31055:2;;31113:1;31110;31103:12;31055:2;31049:73;;31129:117;31198:24;31216:5;31198:24;;;31191:5;31188:35;31178:2;;31237:1;31234;31227:12;31178:2;31172:74;;31253:113;31320:22;31336:5;31320:22;;;31313:5;31310:33;31300:2;;31357:1;31354;31347:12;31300:2;31294:72;

Swarm Source

bzzr://c1eb06faba89bab6495c32881568896599a7e84b7021661b2533a26cfdf1a2aa

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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