ETH Price: $3,469.33 (+1.76%)
Gas: 27 Gwei

Contract

0xd8339fc272B9956f48bD0465856481B128Dbf171
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap WINGS For X...119349032021-02-26 20:07:561235 days ago1614370076IN
0xd8339fc2...128Dbf171
0 ETH0.01360529147
Swap WINGS For X...118982682021-02-21 4:55:191241 days ago1613883319IN
0xd8339fc2...128Dbf171
0 ETH0.0077553100
Swap WINGS For X...118810582021-02-18 13:11:251244 days ago1613653885IN
0xd8339fc2...128Dbf171
0 ETH0.01277397138
Swap WINGS For X...118479042021-02-13 10:59:451249 days ago1613213985IN
0xd8339fc2...128Dbf171
0 ETH0.01259047136
Swap WINGS For X...117614752021-01-31 4:06:121262 days ago1612065972IN
0xd8339fc2...128Dbf171
0 ETH0.01342018145.00000156
Swap WINGS For X...117470062021-01-28 22:17:361264 days ago1611872256IN
0xd8339fc2...128Dbf171
0 ETH0.0056471961
Swap WINGS For X...117339832021-01-26 22:04:261266 days ago1611698666IN
0xd8339fc2...128Dbf171
0 ETH0.0048133852
Swap WINGS For X...117331662021-01-26 19:08:481267 days ago1611688128IN
0xd8339fc2...128Dbf171
0 ETH0.0075387781.443
Swap WINGS For X...117298892021-01-26 7:06:181267 days ago1611644778IN
0xd8339fc2...128Dbf171
0 ETH0.0046282550
Swap WINGS For X...117288562021-01-26 3:15:131267 days ago1611630913IN
0xd8339fc2...128Dbf171
0 ETH0.002160
Swap WINGS For X...117288512021-01-26 3:14:261267 days ago1611630866IN
0xd8339fc2...128Dbf171
0 ETH0.00152561
Swap WINGS For X...117151582021-01-24 0:41:001269 days ago1611448860IN
0xd8339fc2...128Dbf171
0 ETH0.0057027461.6
Swap WINGS For X...116280382021-01-10 15:49:441283 days ago1610293784IN
0xd8339fc2...128Dbf171
0 ETH0.0053687758
Swap WINGS For X...116205512021-01-09 12:26:331284 days ago1610195193IN
0xd8339fc2...128Dbf171
0 ETH0.00481452
Swap WINGS For X...115849932021-01-04 1:23:161289 days ago1609723396IN
0xd8339fc2...128Dbf171
0 ETH0.0111078120.00000145
Swap WINGS For X...115312912020-12-26 19:46:241298 days ago1609011984IN
0xd8339fc2...128Dbf171
0 ETH0.0050549947
Swap WINGS For X...115237132020-12-25 15:55:471299 days ago1608911747IN
0xd8339fc2...128Dbf171
0 ETH0.0037030840
Swap WINGS For X...113817312020-12-03 20:04:231320 days ago1607025863IN
0xd8339fc2...128Dbf171
0 ETH0.0033327736
Swap WINGS For X...113740982020-12-02 16:14:011322 days ago1606925641IN
0xd8339fc2...128Dbf171
0 ETH0.0025921528
Swap WINGS For X...113621102020-11-30 19:50:311324 days ago1606765831IN
0xd8339fc2...128Dbf171
0 ETH0.0038877342
Swap WINGS For X...112971142020-11-20 20:27:391333 days ago1605904059IN
0xd8339fc2...128Dbf171
0 ETH0.0021287123
Swap WINGS For X...112574892020-11-14 18:37:081340 days ago1605379028IN
0xd8339fc2...128Dbf171
0 ETH0.0011634715
Swap WINGS For X...112421312020-11-12 9:55:231342 days ago1605174923IN
0xd8339fc2...128Dbf171
0 ETH0.0017839923
Swap WINGS For X...112362182020-11-11 12:10:321343 days ago1605096632IN
0xd8339fc2...128Dbf171
0 ETH0.0012031813
Swap WINGS For X...111964972020-11-05 9:51:491349 days ago1604569909IN
0xd8339fc2...128Dbf171
0 ETH0.0017839923
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:
Exchange

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-06
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.11;


// 
/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

// 
/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

// 
/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// 
/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// 
interface IExchange {
    event SwapWINGSForXFI(address indexed sender, uint256 amountIn, uint256 amountOut);
    event SwapsStarted();
    event SwapsStopped();
    event WINGSWithdrawal(address indexed to, uint256 amount);
    event MaxGasPriceChanged(uint256 newMaxGasPrice);

    function wingsToken() external view returns (address);
    function xfiToken() external view returns (address);
    function estimateSwapWINGSForXFI(uint256 amountIn) external view returns (uint256[] memory amounts);
    function estimateSwapWINGSForXFIPerDay(uint256 amountIn) external view returns (uint256);
    function isSwappingStopped() external view returns (bool);
    function maxGasPrice() external view returns (uint256);

    function swapWINGSForXFI(uint256 amountIn) external returns (uint256[] memory amounts);
    function stopSwaps() external returns (bool);
    function startSwaps() external returns (bool);
    function withdrawWINGS(address to, uint256 amount) external returns (bool);
    function setMaxGasPrice(uint256 maxGasPrice_) external returns (bool);
}

// 
interface IERC20 {
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

// 
/**
 * XFI token extends the interface of ERC20 standard.
 */
interface IXFIToken is IERC20 {
    event VestingStartChanged(uint256 newVestingStart, uint256 newVestingEnd, uint256 newReserveFrozenUntil);
    event TransfersStarted();
    event TransfersStopped();
    event MigrationsAllowed();
    event ReserveWithdrawal(address indexed to, uint256 amount);
    event VestingBalanceMigrated(address indexed from, bytes32 to, uint256 vestingDaysLeft, uint256 vestingBalance);

    function isTransferringStopped() external view returns (bool);
    function isMigratingAllowed() external view returns (bool);
    function VESTING_DURATION() external view returns (uint256);
    function VESTING_DURATION_DAYS() external view returns (uint256);
    function RESERVE_FREEZE_DURATION() external view returns (uint256);
    function RESERVE_FREEZE_DURATION_DAYS() external view returns (uint256);
    function MAX_VESTING_TOTAL_SUPPLY() external view returns (uint256);
    function vestingStart() external view returns (uint256);
    function vestingEnd() external view returns (uint256);
    function reserveFrozenUntil() external view returns (uint256);
    function reserveAmount() external view returns (uint256);
    function vestingDaysSinceStart() external view returns (uint256);
    function vestingDaysLeft() external view returns (uint256);
    function convertAmountUsingRatio(uint256 amount) external view returns (uint256);
    function convertAmountUsingReverseRatio(uint256 amount) external view returns (uint256);
    function totalVestedBalanceOf(address account) external view returns (uint256);
    function unspentVestedBalanceOf(address account) external view returns (uint256);
    function spentVestedBalanceOf(address account) external view returns (uint256);

    function mint(address account, uint256 amount) external returns (bool);
    function mintWithoutVesting(address account, uint256 amount) external returns (bool);
    function burn(uint256 amount) external returns (bool);
    function burnFrom(address account, uint256 amount) external returns (bool);
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
    function startTransfers() external returns (bool);
    function stopTransfers() external returns (bool);
    function allowMigrations() external returns (bool);
    function changeVestingStart(uint256 newVestingStart) external returns (bool);
    function withdrawReserve(address to) external returns (bool);
    function migrateVestingBalance(bytes32 to) external returns (bool);
}

// 
/**
 * Implementation of the {IExchange} interface.
 *
 * Ethereum XFI Exchange allows Ethereum accounts to convert their WINGS or ETH
 * to XFI and vice versa.
 *
 * Swap between WINGS and XFI happens with a 1:1 ratio.
 *
 * To enable swap the Exchange plays a role of a storage for WINGS tokens as
 * well as a minter of XFI Tokens.
 */
contract Exchange is AccessControl, ReentrancyGuard, IExchange {
    using SafeMath for uint256;

    IERC20 private immutable _wingsToken;
    IXFIToken private immutable _xfiToken;

    bool private _stopped = false;
    uint256 private _maxGasPrice;

    /**
     * Sets {DEFAULT_ADMIN_ROLE} (alias `owner`) role for caller.
     * Initializes Wings Token, XFI Token.
     */
    constructor (address wingsToken_, address xfiToken_) public {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _wingsToken = IERC20(wingsToken_);
        _xfiToken = IXFIToken(xfiToken_);
    }

    /**
     * Executes swap of WINGS-XFI pair.
     *
     * Emits a {SwapWINGSForXFI} event.
     *
     * Returns:
     * - `amounts` the input token amount and all subsequent output token amounts.
     *
     * Requirements:
     * - Contract is approved to spend `amountIn` of WINGS tokens.
     */
    function swapWINGSForXFI(uint256 amountIn) external override nonReentrant returns (uint256[] memory amounts) {
        _beforeSwap();

        uint256 amountOut = _calculateSwapAmount(amountIn);

        amounts = new uint256[](2);
        amounts[0] = amountIn;

        amounts[1] = amountOut;

        require(_wingsToken.transferFrom(msg.sender, address(this), amounts[0]), 'Exchange: WINGS transferFrom failed');
        require(_xfiToken.mint(msg.sender, amounts[amounts.length - 1]), 'Exchange: XFI mint failed');

        emit SwapWINGSForXFI(msg.sender, amounts[0], amounts[amounts.length - 1]);
    }

    /**
     * Starts all swaps.
     *
     * Emits a {SwapsStarted} event.
     *
     * Requirements:
     * - Caller must have owner role.
     * - Contract is stopped.
     */
    function startSwaps() external override returns (bool) {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), 'Exchange: sender is not owner');
        require(_stopped, 'Exchange: swapping is not stopped');

        _stopped = false;

        emit SwapsStarted();

        return true;
    }

    /**
     * Stops all swaps.
     *
     * Emits a {SwapsStopped} event.
     *
     * Requirements:
     * - Caller must have owner role.
     * - Contract is not stopped.
     */
    function stopSwaps() external override returns (bool) {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), 'Exchange: sender is not owner');
        require(!_stopped, 'Exchange: swapping is stopped');

        _stopped = true;

        emit SwapsStopped();

        return true;
    }

     /**
      * Withdraws `amount` of locked WINGS to a destination specified as `to`.
      *
      * Emits a {WINGSWithdrawal} event.
      *
      * Requirements:
      * - `to` cannot be the zero address.
      * - Caller must have owner role.
      * - Swapping has ended.
      */
    function withdrawWINGS(address to, uint256 amount) external override nonReentrant returns (bool) {
        require(to != address(0), 'Exchange: withdraw to the zero address');
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), 'Exchange: sender is not owner');
        require(block.timestamp > _xfiToken.vestingEnd(), 'Exchange: swapping has not ended');

        require(_wingsToken.transfer(to, amount), 'Exchange: WINGS transfer failed');

        emit WINGSWithdrawal(to, amount);

        return true;
    }

    /**
     * Sets maximum gas price for swap to `maxGasPrice_`.
     *
     * Emits a {MaxGasPriceUpdated} event.
     *
     * Requirements:
     * - Caller must have owner role.
     */
    function setMaxGasPrice(uint256 maxGasPrice_) external override returns (bool) {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), 'Exchange: sender is not owner');

        _maxGasPrice = maxGasPrice_;

        emit MaxGasPriceChanged(maxGasPrice_);

        return true;
    }

    /**
     * Returns the address of the Wings Token.
     */
    function wingsToken() external view override returns (address) {
        return address(_wingsToken);
    }

    /**
     * Returns the address of the XFI Token.
     */
    function xfiToken() external view override returns (address) {
        return address(_xfiToken);
    }

    /**
     * Returns `amount` XFI estimation that user will receive per day after the swap of WINGS-XFI pair.
     */
    function estimateSwapWINGSForXFIPerDay(uint256 amountIn) external view override returns (uint256 amount) {
        uint256[] memory amounts = estimateSwapWINGSForXFI(amountIn);

        amount = amounts[1].div(_xfiToken.VESTING_DURATION_DAYS());
    }


    /**
     * Returns whether swapping is stopped.
     */
    function isSwappingStopped() external view override returns (bool) {
        return _stopped;
    }

    /**
     * Returns maximum gas price for swap. If set, any swap transaction that has
     * a gas price exceeding this limit will be reverted.
     */
    function maxGasPrice() external view override returns (uint256) {
        return _maxGasPrice;
    }

    /**
     * Returns `amounts` estimation for swap of WINGS-XFI pair.
     */
    function estimateSwapWINGSForXFI(uint256 amountIn) public view override returns (uint256[] memory amounts) {
        amounts = new uint256[](2);
        amounts[0] = amountIn;

        uint256 amountOut = _calculateSwapAmount(amounts[0]);

        amounts[1] = amountOut;
    }

    /**
     * Executes before swap hook.
     *
     * Requirements:
     * - Contract is not stopped.
     * - Swapping has started.
     * - Swapping hasn't ended.
     * - Gas price doesn't exceed the limit (if set).
     */
    function _beforeSwap() internal view {
        require(!_stopped, 'Exchange: swapping is stopped');
        require(block.timestamp >= _xfiToken.vestingStart(), 'Exchange: swapping has not started');
        require(block.timestamp <= _xfiToken.vestingEnd(), 'Exchange: swapping has ended');

        if (_maxGasPrice > 0) {
            require(tx.gasprice <= _maxGasPrice, 'Exchange: gas price exceeds the limit');
        }
    }

    /**
     * Convert input amount to the output XFI amount using timed swap ratio.
     */
    function _calculateSwapAmount(uint256 amount) internal view returns (uint256) {
        require(amount >= 182, 'Exchange: minimum XFI swap output amount is 182 * 10 ** -18');

        if (block.timestamp < _xfiToken.vestingEnd()) {
            uint256 amountOut = _xfiToken.convertAmountUsingReverseRatio(amount);

            return amountOut;
        } else {
            return 0;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"wingsToken_","type":"address"},{"internalType":"address","name":"xfiToken_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxGasPrice","type":"uint256"}],"name":"MaxGasPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"SwapWINGSForXFI","type":"event"},{"anonymous":false,"inputs":[],"name":"SwapsStarted","type":"event"},{"anonymous":false,"inputs":[],"name":"SwapsStopped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WINGSWithdrawal","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"estimateSwapWINGSForXFI","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"estimateSwapWINGSForXFIPerDay","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwappingStopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGasPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxGasPrice_","type":"uint256"}],"name":"setMaxGasPrice","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSwaps","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSwaps","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"swapWINGSForXFI","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wingsToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawWINGS","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"xfiToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c06040526002805460ff191690553480156200001b57600080fd5b5060405162001afa38038062001afa833981810160405260408110156200004157600080fd5b50805160209091015160018055620000766000620000676001600160e01b036200009516565b6001600160e01b036200009916565b6001600160601b0319606092831b8116608052911b1660a052620001cd565b3390565b620000ae82826001600160e01b03620000b216565b5050565b600082815260208181526040909120620000d791839062000f8862000134821b17901c565b15620000ae57620000f06001600160e01b036200009516565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000154836001600160a01b0384166001600160e01b036200015d16565b90505b92915050565b60006200017483836001600160e01b03620001b516565b620001ac5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000157565b50600062000157565b60009081526001919091016020526040902054151590565b60805160601c60a05160601c6118d6620002246000398061074f52806109de5280610c605280610f6652806110e4528061117252806112b8528061137b52508061057052806108c95280610d3852506118d66000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806391d14854116100ad578063ce91992511610071578063ce91992514610305578063d08abd4714610322578063d2fa635e1461034e578063d547741f1461036b578063e724280a1461039757610121565b806391d148541461022a578063967599bf14610256578063a217fddf146102c3578063ca15c873146102cb578063ce289f06146102e857610121565b806336568abe116100f457806336568abe146101a7578063378867d6146101d35780633de39c11146101f757806373b8a33e146101ff5780639010d07c1461020757610121565b8063248a9ca3146101265780632b018f5d146101555780632daabab5146101715780632f2ff15d14610179575b600080fd5b6101436004803603602081101561013c57600080fd5b503561039f565b60408051918252519081900360200190f35b61015d6103b7565b604080519115158252519081900360200190f35b61015d6103c0565b6101a56004803603604081101561018f57600080fd5b50803590602001356001600160a01b03166104a6565b005b6101a5600480360360408110156101bd57600080fd5b50803590602001356001600160a01b031661050d565b6101db61056e565b604080516001600160a01b039092168252519081900360200190f35b610143610592565b61015d610598565b6101db6004803603604081101561021d57600080fd5b508035906020013561065f565b61015d6004803603604081101561024057600080fd5b50803590602001356001600160a01b0316610686565b6102736004803603602081101561026c57600080fd5b50356106a4565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102af578181015183820152602001610297565b505050509050019250505060405180910390f35b61014361071f565b610143600480360360208110156102e157600080fd5b5035610724565b610143600480360360208110156102fe57600080fd5b503561073b565b6102736004803603602081101561031b57600080fd5b50356107fe565b61015d6004803603604081101561033857600080fd5b506001600160a01b038135169060200135610b6e565b61015d6004803603602081101561036457600080fd5b5035610e7e565b6101a56004803603604081101561038157600080fd5b50803590602001356001600160a01b0316610f0b565b6101db610f64565b6000818152602081905260409020600201545b919050565b60025460ff1690565b60006103d3816103ce610f9d565b610686565b610412576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b60025460ff161561046a576040805162461bcd60e51b815260206004820152601d60248201527f45786368616e67653a207377617070696e672069732073746f70706564000000604482015290519081900360640190fd5b6002805460ff191660011790556040517f0269aaaa6bad0c45889bf703d0ce1b4d8438d3b209b062ba5042a626f4e99e1290600090a150600190565b6000828152602081905260409020600201546104c4906103ce610f9d565b6104ff5760405162461bcd60e51b815260040180806020018281038252602f815260200180611707602f913960400191505060405180910390fd5b6105098282610fa1565b5050565b610515610f9d565b6001600160a01b0316816001600160a01b0316146105645760405162461bcd60e51b815260040180806020018281038252602f815260200180611872602f913960400191505060405180910390fd5b6105098282611010565b7f000000000000000000000000000000000000000000000000000000000000000090565b60035490565b60006105a6816103ce610f9d565b6105e5576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b60025460ff166106265760405162461bcd60e51b815260040180806020018281038252602181526020018061182e6021913960400191505060405180910390fd5b6002805460ff191690556040517f65aa847fa5878285dc1e7e4fa469969a1389baf6f5c36353b817588c3156c73890600090a150600190565b600082815260208190526040812061067d908363ffffffff61107f16565b90505b92915050565b600082815260208190526040812061067d908363ffffffff61108b16565b604080516002808252606080830184529260208301908036833701905050905081816000815181106106d257fe5b60200260200101818152505060006106fd826000815181106106f057fe5b60200260200101516110a0565b9050808260018151811061070d57fe5b60200260200101818152505050919050565b600081565b600081815260208190526040812061068090611211565b60006060610748836106a4565b90506107f77f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e7575b316040518163ffffffff1660e01b815260040160206040518083038186803b1580156107a657600080fd5b505afa1580156107ba573d6000803e3d6000fd5b505050506040513d60208110156107d057600080fd5b50518251839060019081106107e157fe5b602002602001015161121c90919063ffffffff16565b9392505050565b606060026001541415610858576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015561086561125e565b6000610870836110a0565b604080516002808252606082018352929350919060208301908036833701905050915082826000815181106108a157fe5b60200260200101818152505080826001815181106108bb57fe5b6020026020010181815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd33308560008151811061090557fe5b60200260200101516040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561097557600080fd5b505af1158015610989573d6000803e3d6000fd5b505050506040513d602081101561099f57600080fd5b50516109dc5760405162461bcd60e51b815260040180806020018281038252602381526020018061184f6023913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340c10f193384600186510381518110610a1c57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610a7357600080fd5b505af1158015610a87573d6000803e3d6000fd5b505050506040513d6020811015610a9d57600080fd5b5051610af0576040805162461bcd60e51b815260206004820152601960248201527f45786368616e67653a20584649206d696e74206661696c656400000000000000604482015290519081900360640190fd5b336001600160a01b03167fdbf7196433053815962c6409c873623694fb686a80d2230a200865bab241971e83600081518110610b2857fe5b602002602001015184600186510381518110610b4057fe5b6020026020010151604051808381526020018281526020019250505060405180910390a25060018055919050565b600060026001541415610bc8576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001556001600160a01b038316610c125760405162461bcd60e51b81526004018080602001828103825260268152602001806117e36026913960400191505060405180910390fd5b610c1f60006103ce610f9d565b610c5e576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166384a1931f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610cb757600080fd5b505afa158015610ccb573d6000803e3d6000fd5b505050506040513d6020811015610ce157600080fd5b50514211610d36576040805162461bcd60e51b815260206004820181905260248201527f45786368616e67653a207377617070696e6720686173206e6f7420656e646564604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610db657600080fd5b505af1158015610dca573d6000803e3d6000fd5b505050506040513d6020811015610de057600080fd5b5051610e33576040805162461bcd60e51b815260206004820152601f60248201527f45786368616e67653a2057494e4753207472616e73666572206661696c656400604482015290519081900360640190fd5b6040805183815290516001600160a01b038516917fc16ef12ed2fc1b34bd3f7d2ea85ed0449cfbdb2da3132bd1b8ad4142f12a0699919081900360200190a250600180805592915050565b6000610e8c816103ce610f9d565b610ecb576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b60038290556040805183815290517f46a0af125207a558e6da7a727ffdb825a8ed98de530aebefb4df7b5fcfc2c1009181900360200190a1506001919050565b600082815260208190526040902060020154610f29906103ce610f9d565b6105645760405162461bcd60e51b81526004018080602001828103825260308152602001806117786030913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000090565b600061067d836001600160a01b03841661149d565b3390565b6000828152602081905260409020610fbf908263ffffffff610f8816565b1561050957610fcc610f9d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600082815260208190526040902061102e908263ffffffff6114e716565b156105095761103b610f9d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061067d83836114fc565b600061067d836001600160a01b038416611560565b600060b68210156110e25760405162461bcd60e51b815260040180806020018281038252603b8152602001806117a8603b913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166384a1931f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561113b57600080fd5b505afa15801561114f573d6000803e3d6000fd5b505050506040513d602081101561116557600080fd5b50514210156112095760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f3521e9f846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156111d457600080fd5b505afa1580156111e8573d6000803e3d6000fd5b505050506040513d60208110156111fe57600080fd5b505191506103b29050565b5060006103b2565b600061068082611578565b600061067d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061157c565b60025460ff16156112b6576040805162461bcd60e51b815260206004820152601d60248201527f45786368616e67653a207377617070696e672069732073746f70706564000000604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663254800d46040518163ffffffff1660e01b815260040160206040518083038186803b15801561130f57600080fd5b505afa158015611323573d6000803e3d6000fd5b505050506040513d602081101561133957600080fd5b50514210156113795760405162461bcd60e51b81526004018080602001828103825260228152602001806117566022913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166384a1931f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d60208110156113fc57600080fd5b5051421115611452576040805162461bcd60e51b815260206004820152601c60248201527f45786368616e67653a207377617070696e672068617320656e64656400000000604482015290519081900360640190fd5b6003541561149b576003543a111561149b5760405162461bcd60e51b81526004018080602001828103825260258152602001806118096025913960400191505060405180910390fd5b565b60006114a98383611560565b6114df57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610680565b506000610680565b600061067d836001600160a01b03841661161e565b8154600090821061153e5760405162461bcd60e51b81526004018080602001828103825260228152602001806116e56022913960400191505060405180910390fd5b82600001828154811061154d57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081836116085760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115cd5781810151838201526020016115b5565b50505050905090810190601f1680156115fa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161161457fe5b0495945050505050565b600081815260018301602052604081205480156116da578354600019808301919081019060009087908390811061165157fe5b906000526020600020015490508087600001848154811061166e57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061169e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610680565b600091505061068056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445786368616e67653a2073656e646572206973206e6f74206f776e657200000045786368616e67653a207377617070696e6720686173206e6f742073746172746564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545786368616e67653a206d696e696d756d205846492073776170206f757470757420616d6f756e7420697320313832202a203130202a2a202d313845786368616e67653a20776974686472617720746f20746865207a65726f206164647265737345786368616e67653a20676173207072696365206578636565647320746865206c696d697445786368616e67653a207377617070696e67206973206e6f742073746f7070656445786368616e67653a2057494e4753207472616e7366657246726f6d206661696c6564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122073ec2e20975ac74579a9fadb14253a263a49877c72aa4d52ad2b835b0938e96964736f6c634300060b0033000000000000000000000000667088b212ce3d06a1b553a7221e1fd19000d9af000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa0

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806391d14854116100ad578063ce91992511610071578063ce91992514610305578063d08abd4714610322578063d2fa635e1461034e578063d547741f1461036b578063e724280a1461039757610121565b806391d148541461022a578063967599bf14610256578063a217fddf146102c3578063ca15c873146102cb578063ce289f06146102e857610121565b806336568abe116100f457806336568abe146101a7578063378867d6146101d35780633de39c11146101f757806373b8a33e146101ff5780639010d07c1461020757610121565b8063248a9ca3146101265780632b018f5d146101555780632daabab5146101715780632f2ff15d14610179575b600080fd5b6101436004803603602081101561013c57600080fd5b503561039f565b60408051918252519081900360200190f35b61015d6103b7565b604080519115158252519081900360200190f35b61015d6103c0565b6101a56004803603604081101561018f57600080fd5b50803590602001356001600160a01b03166104a6565b005b6101a5600480360360408110156101bd57600080fd5b50803590602001356001600160a01b031661050d565b6101db61056e565b604080516001600160a01b039092168252519081900360200190f35b610143610592565b61015d610598565b6101db6004803603604081101561021d57600080fd5b508035906020013561065f565b61015d6004803603604081101561024057600080fd5b50803590602001356001600160a01b0316610686565b6102736004803603602081101561026c57600080fd5b50356106a4565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102af578181015183820152602001610297565b505050509050019250505060405180910390f35b61014361071f565b610143600480360360208110156102e157600080fd5b5035610724565b610143600480360360208110156102fe57600080fd5b503561073b565b6102736004803603602081101561031b57600080fd5b50356107fe565b61015d6004803603604081101561033857600080fd5b506001600160a01b038135169060200135610b6e565b61015d6004803603602081101561036457600080fd5b5035610e7e565b6101a56004803603604081101561038157600080fd5b50803590602001356001600160a01b0316610f0b565b6101db610f64565b6000818152602081905260409020600201545b919050565b60025460ff1690565b60006103d3816103ce610f9d565b610686565b610412576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b60025460ff161561046a576040805162461bcd60e51b815260206004820152601d60248201527f45786368616e67653a207377617070696e672069732073746f70706564000000604482015290519081900360640190fd5b6002805460ff191660011790556040517f0269aaaa6bad0c45889bf703d0ce1b4d8438d3b209b062ba5042a626f4e99e1290600090a150600190565b6000828152602081905260409020600201546104c4906103ce610f9d565b6104ff5760405162461bcd60e51b815260040180806020018281038252602f815260200180611707602f913960400191505060405180910390fd5b6105098282610fa1565b5050565b610515610f9d565b6001600160a01b0316816001600160a01b0316146105645760405162461bcd60e51b815260040180806020018281038252602f815260200180611872602f913960400191505060405180910390fd5b6105098282611010565b7f000000000000000000000000667088b212ce3d06a1b553a7221e1fd19000d9af90565b60035490565b60006105a6816103ce610f9d565b6105e5576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b60025460ff166106265760405162461bcd60e51b815260040180806020018281038252602181526020018061182e6021913960400191505060405180910390fd5b6002805460ff191690556040517f65aa847fa5878285dc1e7e4fa469969a1389baf6f5c36353b817588c3156c73890600090a150600190565b600082815260208190526040812061067d908363ffffffff61107f16565b90505b92915050565b600082815260208190526040812061067d908363ffffffff61108b16565b604080516002808252606080830184529260208301908036833701905050905081816000815181106106d257fe5b60200260200101818152505060006106fd826000815181106106f057fe5b60200260200101516110a0565b9050808260018151811061070d57fe5b60200260200101818152505050919050565b600081565b600081815260208190526040812061068090611211565b60006060610748836106a4565b90506107f77f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b031663e7575b316040518163ffffffff1660e01b815260040160206040518083038186803b1580156107a657600080fd5b505afa1580156107ba573d6000803e3d6000fd5b505050506040513d60208110156107d057600080fd5b50518251839060019081106107e157fe5b602002602001015161121c90919063ffffffff16565b9392505050565b606060026001541415610858576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015561086561125e565b6000610870836110a0565b604080516002808252606082018352929350919060208301908036833701905050915082826000815181106108a157fe5b60200260200101818152505080826001815181106108bb57fe5b6020026020010181815250507f000000000000000000000000667088b212ce3d06a1b553a7221e1fd19000d9af6001600160a01b03166323b872dd33308560008151811061090557fe5b60200260200101516040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561097557600080fd5b505af1158015610989573d6000803e3d6000fd5b505050506040513d602081101561099f57600080fd5b50516109dc5760405162461bcd60e51b815260040180806020018281038252602381526020018061184f6023913960400191505060405180910390fd5b7f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b03166340c10f193384600186510381518110610a1c57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610a7357600080fd5b505af1158015610a87573d6000803e3d6000fd5b505050506040513d6020811015610a9d57600080fd5b5051610af0576040805162461bcd60e51b815260206004820152601960248201527f45786368616e67653a20584649206d696e74206661696c656400000000000000604482015290519081900360640190fd5b336001600160a01b03167fdbf7196433053815962c6409c873623694fb686a80d2230a200865bab241971e83600081518110610b2857fe5b602002602001015184600186510381518110610b4057fe5b6020026020010151604051808381526020018281526020019250505060405180910390a25060018055919050565b600060026001541415610bc8576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001556001600160a01b038316610c125760405162461bcd60e51b81526004018080602001828103825260268152602001806117e36026913960400191505060405180910390fd5b610c1f60006103ce610f9d565b610c5e576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b7f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b03166384a1931f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610cb757600080fd5b505afa158015610ccb573d6000803e3d6000fd5b505050506040513d6020811015610ce157600080fd5b50514211610d36576040805162461bcd60e51b815260206004820181905260248201527f45786368616e67653a207377617070696e6720686173206e6f7420656e646564604482015290519081900360640190fd5b7f000000000000000000000000667088b212ce3d06a1b553a7221e1fd19000d9af6001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610db657600080fd5b505af1158015610dca573d6000803e3d6000fd5b505050506040513d6020811015610de057600080fd5b5051610e33576040805162461bcd60e51b815260206004820152601f60248201527f45786368616e67653a2057494e4753207472616e73666572206661696c656400604482015290519081900360640190fd5b6040805183815290516001600160a01b038516917fc16ef12ed2fc1b34bd3f7d2ea85ed0449cfbdb2da3132bd1b8ad4142f12a0699919081900360200190a250600180805592915050565b6000610e8c816103ce610f9d565b610ecb576040805162461bcd60e51b815260206004820152601d6024820152600080516020611736833981519152604482015290519081900360640190fd5b60038290556040805183815290517f46a0af125207a558e6da7a727ffdb825a8ed98de530aebefb4df7b5fcfc2c1009181900360200190a1506001919050565b600082815260208190526040902060020154610f29906103ce610f9d565b6105645760405162461bcd60e51b81526004018080602001828103825260308152602001806117786030913960400191505060405180910390fd5b7f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa090565b600061067d836001600160a01b03841661149d565b3390565b6000828152602081905260409020610fbf908263ffffffff610f8816565b1561050957610fcc610f9d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600082815260208190526040902061102e908263ffffffff6114e716565b156105095761103b610f9d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061067d83836114fc565b600061067d836001600160a01b038416611560565b600060b68210156110e25760405162461bcd60e51b815260040180806020018281038252603b8152602001806117a8603b913960400191505060405180910390fd5b7f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b03166384a1931f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561113b57600080fd5b505afa15801561114f573d6000803e3d6000fd5b505050506040513d602081101561116557600080fd5b50514210156112095760007f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b031663f3521e9f846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156111d457600080fd5b505afa1580156111e8573d6000803e3d6000fd5b505050506040513d60208110156111fe57600080fd5b505191506103b29050565b5060006103b2565b600061068082611578565b600061067d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061157c565b60025460ff16156112b6576040805162461bcd60e51b815260206004820152601d60248201527f45786368616e67653a207377617070696e672069732073746f70706564000000604482015290519081900360640190fd5b7f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b031663254800d46040518163ffffffff1660e01b815260040160206040518083038186803b15801561130f57600080fd5b505afa158015611323573d6000803e3d6000fd5b505050506040513d602081101561133957600080fd5b50514210156113795760405162461bcd60e51b81526004018080602001828103825260228152602001806117566022913960400191505060405180910390fd5b7f000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa06001600160a01b03166384a1931f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d60208110156113fc57600080fd5b5051421115611452576040805162461bcd60e51b815260206004820152601c60248201527f45786368616e67653a207377617070696e672068617320656e64656400000000604482015290519081900360640190fd5b6003541561149b576003543a111561149b5760405162461bcd60e51b81526004018080602001828103825260258152602001806118096025913960400191505060405180910390fd5b565b60006114a98383611560565b6114df57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610680565b506000610680565b600061067d836001600160a01b03841661161e565b8154600090821061153e5760405162461bcd60e51b81526004018080602001828103825260228152602001806116e56022913960400191505060405180910390fd5b82600001828154811061154d57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081836116085760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115cd5781810151838201526020016115b5565b50505050905090810190601f1680156115fa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161161457fe5b0495945050505050565b600081815260018301602052604081205480156116da578354600019808301919081019060009087908390811061165157fe5b906000526020600020015490508087600001848154811061166e57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061169e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610680565b600091505061068056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445786368616e67653a2073656e646572206973206e6f74206f776e657200000045786368616e67653a207377617070696e6720686173206e6f742073746172746564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545786368616e67653a206d696e696d756d205846492073776170206f757470757420616d6f756e7420697320313832202a203130202a2a202d313845786368616e67653a20776974686472617720746f20746865207a65726f206164647265737345786368616e67653a20676173207072696365206578636565647320746865206c696d697445786368616e67653a207377617070696e67206973206e6f742073746f7070656445786368616e67653a2057494e4753207472616e7366657246726f6d206661696c6564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122073ec2e20975ac74579a9fadb14253a263a49877c72aa4d52ad2b835b0938e96964736f6c634300060b0033

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

000000000000000000000000667088b212ce3d06a1b553a7221e1fd19000d9af000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa0

-----Decoded View---------------
Arg [0] : wingsToken_ (address): 0x667088b212ce3d06a1b553a7221E1fD19000d9aF
Arg [1] : xfiToken_ (address): 0xE4E822C0d5b329E8BB637972467d2E313824eFA0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000667088b212ce3d06a1b553a7221e1fd19000d9af
Arg [1] : 000000000000000000000000e4e822c0d5b329e8bb637972467d2e313824efa0


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.