ETH Price: $3,293.96 (-0.17%)

Token

yxDAI (yxDAI)
 

Overview

Max Total Supply

0.000000000000000002 yxDAI

Holders

2 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Idle.finance: idleDAIYield Token
Balance
0.000000000000000001 yxDAI

Value
$0.00
0x3fe7940616e5bc47b0775a0dccf6237893353bb4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

yxTokens are an ERC20 tokenization of DyDx lending positions

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
yxToken

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 45000 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-05-31
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @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.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

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

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

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.5.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20Mintable}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

     /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // 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 != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.5.0;




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

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

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

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20Detailed.sol

pragma solidity ^0.5.0;


/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

// File: contracts/interfaces/DyDxStructs.sol

pragma solidity 0.5.16;

contract DyDxStructs {
  enum ActionType {
    Deposit,   // supply tokens
    Withdraw,  // borrow tokens
    Transfer,  // transfer balance between accounts
    Buy,       // buy an amount of some token (externally)
    Sell,      // sell an amount of some token (externally)
    Trade,     // trade tokens against another account
    Liquidate, // liquidate an undercollateralized or expiring account
    Vaporize,  // use excess tokens to zero-out a completely negative account
    Call       // send arbitrary data to an address
  }
  enum AssetDenomination { Wei, Par }
  enum AssetReference { Delta } // the amount is given as a delta from the current value

  struct AssetAmount {
    bool sign; // true if positive
    AssetDenomination denomination;
    AssetReference ref;
    uint256 value;
  }

  struct ActionArgs {
    ActionType actionType;
    uint256 accountId;
    AssetAmount amount;
    uint256 primaryMarketId;
    uint256 secondaryMarketId;
    address otherAddress;
    uint256 otherAccountId;
    bytes data;
  }

  struct Info {
    address owner;  // The address that owns the account
    uint256 number; // A nonce that allows a single address to control many accounts
  }

  struct Wei {
    bool sign; // true if positive
    uint256 value;
  }

  struct Par {
    bool sign; // true if positive
    uint128 value;
  }
}

// File: contracts/interfaces/DyDx.sol

pragma solidity 0.5.16;
pragma experimental ABIEncoderV2;


contract DyDx is DyDxStructs {
  function getEarningsRate() external view returns (uint256 value);
  function getMarketInterestSetter(uint256 marketId) external view returns (address interestSetter);
  function getMarketInterestRate(uint256 marketId) external view returns (uint256 value);
  function getMarketCurrentIndex(uint256 marketId) external view returns (uint256 borrow, uint256 supply);
  function getMarketTotalPar(uint256 marketId) external view returns (uint256 borrow, uint256 supply);
  function getAccountWei(Info calldata account, uint256 marketId) external view returns (Wei memory);
  function getAccountPar(Info calldata account, uint256 marketId) external view returns (bool sign, uint128 value);
  function operate(Info[] calldata, ActionArgs[] calldata) external;
}

// File: contracts/wrappers/yxToken.sol

/**
 * @title: DyDx lending tokenization
 * @summary: Used for crete and ERC20 representing lending positions
 *           on DyDx protocol.
 * @author: Idle Labs Inc., idle.finance
 */

pragma solidity 0.5.16;









contract yxToken is DyDxStructs, ERC20, ERC20Detailed {
  using SafeERC20 for IERC20;
  using SafeMath for uint256;

  uint256 public marketId;
  uint256 public secondsInAYear;
  // underlying token (token eg DAI) address
  address public underlying;
  address public constant dydxAddressesProvider = 0x1E0447b19BB6EcFdAe1e4AE1694b0C3659614e4e;
  DyDx dydx = DyDx(dydxAddressesProvider);
  /**
   * @param _underlying : underlying token (eg DAI) address
   * @param _marketId : dydx market id
   * @param _name : dydx tokenized name
   * @param _symbol : dydx tokenized symbol
   * @param _decimals : dydx tokenized decimals (same decimals as the underlying)
   */
  constructor(address _underlying, uint256 _marketId, string memory _name, string memory _symbol, uint8 _decimals)
    public ERC20Detailed(_name, _symbol, _decimals) {
    require(_underlying != address(0), 'Underlying is 0');

    underlying = _underlying;
    marketId = _marketId; // 0 ETH, (1 SAI not available), 2 USDC, 3 DAI
    IERC20(_underlying).approve(dydxAddressesProvider, uint256(-1));
  }

  /**
   * @return current price of yxToken always 18 decimals
   */
  function price() public view returns (uint256) {
    (, uint256 supplyIndex) = dydx.getMarketCurrentIndex(marketId);
    return supplyIndex;
  }

  function availableLiquidity() external view returns (uint256) {
    return IERC20(underlying).balanceOf(dydxAddressesProvider);
  }

  function balanceInUnderlying(address who) external view returns (uint256) {
    return balanceOf(who).mul(price()).div(10**18);
  }

  /**
   * Lend _amount in DyDx and mints yxTokens
   * tokens are then transferred to msg.sender
   * NOTE: one must approve this contract before calling this method
   *
   * @return yxTokens minted
   */
  function mint(uint256 _amount)
    external
    returns (uint256 newTokens) {
      // Get current account par in dydx
      uint256 accountParInitial = getPar();
      // Transfer underlying in this contract
      IERC20(underlying).safeTransferFrom(msg.sender, address(this), _amount);
      // Use underlying and supply it to dydx
      _mintDyDx(_amount);
      // mint IERC20 for dydx tokenized position
      newTokens = getPar().sub(accountParInitial);
      _mint(msg.sender, newTokens);
  }

  function _mintDyDx(uint256 _amount)
    internal {
      Info[] memory infos = new Info[](1);
      infos[0] = Info(address(this), 0);
      AssetAmount memory amt = AssetAmount(true, AssetDenomination.Wei, AssetReference.Delta, _amount);
      ActionArgs memory act;
      act.actionType = ActionType.Deposit;
      act.accountId = 0;
      act.amount = amt;
      act.primaryMarketId = marketId;
      act.otherAddress = address(this);

      ActionArgs[] memory args = new ActionArgs[](1);
      args[0] = act;

      dydx.operate(infos, args);
  }

  /**
   * Redeems _amount of yxTokens
   * underlying tokens are then transferred to `_account`
   *
   * @return underlying tokens redeemd
   */
  function redeem(uint256 _amount, address _account)
    external
    returns (uint256 tokens) {
      _redeemDyDx(_amount);

      // transfer redeemd tokens to _account
      IERC20 _underlying = IERC20(underlying);
      tokens = _underlying.balanceOf(address(this));
      _underlying.safeTransfer(_account, tokens);

      _burn(msg.sender, _amount);
  }

  function _redeemDyDx(uint256 _amount)
    internal {
      Info[] memory infos = new Info[](1);
      infos[0] = Info(address(this), 0);

      AssetAmount memory amt = AssetAmount(false, AssetDenomination.Par, AssetReference.Delta, _amount);
      ActionArgs memory act;
      act.actionType = ActionType.Withdraw;
      act.accountId = 0;
      act.amount = amt;
      act.primaryMarketId = marketId;
      act.otherAddress = address(this);

      ActionArgs[] memory args = new ActionArgs[](1);
      args[0] = act;

      dydx.operate(infos, args);
  }

  function getPar() internal view returns (uint256) {
    (, uint128 value) = dydx.getAccountPar(Info(address(this), 0), marketId);
    return uint256(value);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"uint256","name":"_marketId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"availableLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceInUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dydxAddressesProvider","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"marketId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"newTokens","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_account","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"secondsInAYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

6080604052600980546001600160a01b031916731e0447b19bb6ecfdae1e4ae1694b0c3659614e4e1790553480156200003757600080fd5b5060405162002779380380620027798339810160408190526200005a91620002cf565b82828282600390805190602001906200007592919062000194565b5081516200008b90600490602085019062000194565b506005805460ff191660ff9290921691909117905550506001600160a01b038516620000d45760405162461bcd60e51b8152600401620000cb9062000417565b60405180910390fd5b600880546001600160a01b0319166001600160a01b038716908117909155600685905560405163095ea7b360e01b815263095ea7b3906200013290731e0447b19bb6ecfdae1e4ae1694b0c3659614e4e9060001990600401620003f1565b602060405180830381600087803b1580156200014d57600080fd5b505af115801562000162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506200018891908101906200037f565b50505050505062000513565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001d757805160ff191683800117855562000207565b8280016001018555821562000207579182015b8281111562000207578251825591602001919060010190620001ea565b506200021592915062000219565b5090565b6200023691905b8082111562000215576000815560010162000220565b90565b80516200024681620004d8565b92915050565b80516200024681620004f2565b600082601f8301126200026b57600080fd5b8151620002826200027c8262000450565b62000429565b915080825260208301602083018583830111156200029f57600080fd5b620002ac838284620004a5565b50505092915050565b80516200024681620004fd565b8051620002468162000508565b600080600080600060a08688031215620002e857600080fd5b6000620002f6888862000239565b95505060206200030988828901620002b5565b94505060408601516001600160401b038111156200032657600080fd5b620003348882890162000259565b93505060608601516001600160401b038111156200035157600080fd5b6200035f8882890162000259565b92505060806200037288828901620002c2565b9150509295509295909350565b6000602082840312156200039257600080fd5b6000620003a084846200024c565b949350505050565b620003b38162000481565b82525050565b6000620003c8600f8362000478565b6e0556e6465726c79696e67206973203608c1b815260200192915050565b620003b38162000236565b60408101620004018285620003a8565b620004106020830184620003e6565b9392505050565b602080825281016200024681620003b9565b6040518181016001600160401b03811182821017156200044857600080fd5b604052919050565b60006001600160401b038211156200046757600080fd5b506020601f91909101601f19160190565b90815260200190565b6000620002468262000493565b151590565b6001600160a01b031690565b60ff1690565b60005b83811015620004c2578181015183820152602001620004a8565b83811115620004d2576000848401525b50505050565b620004e38162000481565b8114620004ef57600080fd5b50565b620004e3816200048e565b620004e38162000236565b620004e3816200049f565b61225680620005236000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806370a08231116100cd578063a0712d6811610081578063a9059cbb11610066578063a9059cbb14610290578063dc361a13146102a3578063dd62ed3e146102b65761016c565b8063a0712d681461026a578063a457c2d71461027d5761016c565b80637bde82f2116100b25780637bde82f21461024757806395d89b411461025a578063a035b1fe146102625761016c565b806370a082311461022c578063743753591461023f5761016c565b806339509351116101245780636cb3281d116101095780636cb3281d146102075780636ed71ede1461021c5780636f307dc3146102245761016c565b806339509351146101ec5780634eb82b56146101ff5761016c565b806318160ddd1161015557806318160ddd146101af57806323b872dd146101c4578063313ce567146101d75761016c565b806306fdde0314610171578063095ea7b31461018f575b600080fd5b6101796102c9565b6040516101869190611f49565b60405180910390f35b6101a261019d36600461178b565b61037d565b6040516101869190611f3b565b6101b761039b565b6040516101869190612025565b6101a26101d236600461173e565b6103a1565b6101df610449565b6040516101869190612033565b6101a26101fa36600461178b565b610452565b6101b76104b3565b61020f6104b9565b6040516101869190611ec5565b6101b76104d1565b61020f6104d7565b6101b761023a3660046116e6565b6104f3565b6101b761051f565b6101b7610255366004611845565b6105df565b6101796106cc565b6101b761074b565b6101b7610278366004611809565b6107fd565b6101a261028b36600461178b565b610869565b6101a261029e36600461178b565b6108e4565b6101b76102b13660046116e6565b6108f8565b6101b76102c4366004611704565b610932565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b5050505050905090565b600061039161038a61096a565b848461096e565b5060015b92915050565b60025490565b60006103ae848484610a86565b61043e846103ba61096a565b610439856040518060600160405280602881526020016121c76028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602052604081209061040561096a565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff610c1116565b61096e565b5060015b9392505050565b60055460ff1690565b600061039161045f61096a565b84610439856001600061047061096a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c5716565b60075481565b731e0447b19bb6ecfdae1e4ae1694b0c3659614e4e81565b60065481565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020545b919050565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319061058a90731e0447b19bb6ecfdae1e4ae1694b0c3659614e4e90600401611ec5565b60206040518083038186803b1580156105a257600080fd5b505afa1580156105b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506105da9190810190611827565b905090565b60006105ea83610c96565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169081906370a0823190610642903090600401611ec5565b60206040518083038186803b15801561065a57600080fd5b505afa15801561066e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506106929190810190611827565b91506106bb73ffffffffffffffffffffffffffffffffffffffff8216848463ffffffff610e4716565b6106c53385610f09565b5092915050565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103735780601f1061034857610100808354040283529160200191610373565b6009546006546040517f56ea84b2000000000000000000000000000000000000000000000000000000008152600092839273ffffffffffffffffffffffffffffffffffffffff909116916356ea84b2916107a791600401612025565b604080518083038186803b1580156107be57600080fd5b505afa1580156107d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107f69190810190611864565b9250505090565b600080610808611039565b6008549091506108369073ffffffffffffffffffffffffffffffffffffffff1633308663ffffffff61111116565b61083f83611154565b6108578161084b611039565b9063ffffffff61126916565b915061086333836112ab565b50919050565b600061039161087661096a565b84610439856040518060600160405280602581526020016121ef60259139600160006108a061096a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610c1116565b60006103916108f161096a565b8484610a86565b6000610395670de0b6b3a764000061092661091161074b565b61091a866104f3565b9063ffffffff6113a016565b9063ffffffff6113f416565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3390565b73ffffffffffffffffffffffffffffffffffffffff83166109c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fca565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610a11576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f6a565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610a79908590612025565b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ad3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fba565b73ffffffffffffffffffffffffffffffffffffffff8216610b20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f5a565b610b70816040518060600160405280602681526020016121a16026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff610c1116565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610bb2908263ffffffff610c5716565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a79908590612025565b60008184841115610c4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9190611f49565b505050900390565b600082820183811015610442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f7a565b604080516001808252818301909252606091816020015b610cb5611610565b815260200190600190039081610cad57905050905060405180604001604052803073ffffffffffffffffffffffffffffffffffffffff168152602001600081525081600081518110610d0357fe5b6020026020010181905250610d16611627565b6040805160808101909152600081526020810160018152602001600081526020018490529050610d44611650565b600181819052506000602082015260408082018390526006546060808401919091523060a0840152815160018082528184019093529091816020015b610d88611650565b815260200190600190039081610d805790505090508181600081518110610dab57fe5b60209081029190910101526009546040517fa67a6a4500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063a67a6a4590610e0e9087908590600401611f16565b600060405180830381600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b505050505050505050565b604051610f049084907fa9059cbb0000000000000000000000000000000000000000000000000000000090610e829086908690602401611efb565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611436565b505050565b73ffffffffffffffffffffffffffffffffffffffff8216610f56576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611faa565b610fa68160405180606001604052806022815260200161217f6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919063ffffffff610c1116565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902055600254610fdf908263ffffffff61126916565b60025560405160009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061102d908590612025565b60405180910390a35050565b60095460408051808201825230815260006020820181905260065492517f47d1b53c0000000000000000000000000000000000000000000000000000000081529093849373ffffffffffffffffffffffffffffffffffffffff909116926347d1b53c926110a9929060040161200a565b604080518083038186803b1580156110c057600080fd5b505afa1580156110d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506110f891908101906117d9565b6fffffffffffffffffffffffffffffffff169250505090565b60405161114e9085907f23b872dd0000000000000000000000000000000000000000000000000000000090610e8290879087908790602401611ed3565b50505050565b604080516001808252818301909252606091816020015b611173611610565b81526020019060019003908161116b57905050905060405180604001604052803073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250816000815181106111c157fe5b60200260200101819052506111d4611627565b6040805160808101909152600181526020810160008152602001600081526020018490529050611202611650565b600081819052506000602082015260408082018390526006546060808401919091523060a0840152815160018082528184019093529091816020015b611246611650565b81526020019060019003908161123e5790505090508181600081518110610dab57fe5b600061044283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c11565b73ffffffffffffffffffffffffffffffffffffffff82166112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611ffa565b60025461130b908263ffffffff610c5716565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054611344908263ffffffff610c5716565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061102d908590612025565b6000826113af57506000610395565b828202828482816113bc57fe5b0414610442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f9a565b600061044283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611583565b6114558273ffffffffffffffffffffffffffffffffffffffff166115d4565b61148b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fea565b600060608373ffffffffffffffffffffffffffffffffffffffff16836040516114b49190611eb9565b6000604051808303816000865af19150503d80600081146114f1576040519150601f19603f3d011682016040523d82523d6000602084013e6114f6565b606091505b509150915081611532576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f8a565b80511561114e578080602001905161154d91908101906117bb565b61114e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fda565b600081836115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9190611f49565b5060008385816115ca57fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906116085750808214155b949350505050565b604080518082019091526000808252602082015290565b604080516080810190915260008082526020820190815260200160008152602001600081525090565b604080516101008101825260008082526020820152908101611670611627565b81526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001606081525090565b80356103958161214f565b805161039581612163565b80516103958161216c565b803561039581612175565b805161039581612175565b6000602082840312156116f857600080fd5b600061160884846116af565b6000806040838503121561171757600080fd5b600061172385856116af565b9250506020611734858286016116af565b9150509250929050565b60008060006060848603121561175357600080fd5b600061175f86866116af565b9350506020611770868287016116af565b9250506040611781868287016116d0565b9150509250925092565b6000806040838503121561179e57600080fd5b60006117aa85856116af565b9250506020611734858286016116d0565b6000602082840312156117cd57600080fd5b600061160884846116ba565b600080604083850312156117ec57600080fd5b60006117f885856116ba565b9250506020611734858286016116c5565b60006020828403121561181b57600080fd5b600061160884846116d0565b60006020828403121561183957600080fd5b600061160884846116db565b6000806040838503121561185857600080fd5b600061172385856116d0565b6000806040838503121561187757600080fd5b600061188385856116db565b9250506020611734858286016116db565b60006104428383611d92565b60006118ac8383611e87565b505060400190565b6118bd81612054565b82525050565b60006118ce82612047565b6118d8818561204b565b9350836020820285016118ea85612041565b8060005b8581101561192457848403895281516119078582611894565b945061191283612041565b60209a909a01999250506001016118ee565b5091979650505050505050565b600061193c82612047565b611946818561204b565b935061195183612041565b8060005b8381101561197f57815161196988826118a0565b975061197483612041565b925050600101611955565b509495945050505050565b6118bd8161205f565b600061199e82612047565b6119a8818561051a565b93506119b88185602086016120da565b9290920192915050565b60006119cd82612047565b6119d7818561204b565b93506119e78185602086016120da565b6119f081612106565b9093019392505050565b6118bd816120b9565b6118bd816120c4565b6118bd816120cf565b6000611a2260238361204b565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647281527f6573730000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611a8160228361204b565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726581527f7373000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611ae0601b8361204b565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000611b1960208361204b565b7f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815260200192915050565b6000611b5260218361204b565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611bb160218361204b565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657381527f7300000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611c1060258361204b565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616481527f6472657373000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611c6f60248361204b565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646481527f7265737300000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611cce602a8361204b565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e81527f6f74207375636365656400000000000000000000000000000000000000000000602082015260400192915050565b6000611d2d601f8361204b565b7f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400815260200192915050565b6000611d66601f8361204b565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300815260200192915050565b8051600090610160840190611da785826119fa565b506020830151611dba6020860182611ea7565b506040830151611dcd6040860182611e3d565b506060830151611de060c0860182611ea7565b506080830151611df360e0860182611ea7565b5060a0830151611e076101008601826118b4565b5060c0830151611e1b610120860182611ea7565b5060e0830151848203610140860152611e3482826119c2565b95945050505050565b80516080830190611e4e848261198a565b506020820151611e616020850182611a03565b506040820151611e746040850182611a0c565b50606082015161114e6060850182611ea7565b80516040830190611e9884826118b4565b50602082015161114e60208501825b6118bd816120b0565b6118bd816120b3565b60006104428284611993565b6020810161039582846118b4565b60608101611ee182866118b4565b611eee60208301856118b4565b6116086040830184611ea7565b60408101611f0982856118b4565b6104426020830184611ea7565b60408082528101611f278185611931565b9050818103602083015261160881846118c3565b60208101610395828461198a565b6020808252810161044281846119c2565b6020808252810161039581611a15565b6020808252810161039581611a74565b6020808252810161039581611ad3565b6020808252810161039581611b0c565b6020808252810161039581611b45565b6020808252810161039581611ba4565b6020808252810161039581611c03565b6020808252810161039581611c62565b6020808252810161039581611cc1565b6020808252810161039581611d20565b6020808252810161039581611d59565b606081016120188285611e87565b6104426040830184611ea7565b602081016103958284611ea7565b602081016103958284611eb0565b60200190565b5190565b90815260200190565b600061039582612097565b151590565b8061051a8161212e565b8061051a8161213b565b8061051a81612145565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b90565b60ff1690565b600061039582612064565b60006103958261206e565b600061039582612078565b60005b838110156120f55781810151838201526020016120dd565b8381111561114e5750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6009811061213857fe5b50565b6002811061213857fe5b6001811061213857fe5b61215881612054565b811461213857600080fd5b6121588161205f565b61215881612082565b612158816120b056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa365627a7a72315820e52106eb3fc2195e55cea0d800bffa38c088ab70366445e5788d2449fa50640f6c6578706572696d656e74616cf564736f6c634300051000400000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000005797844414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057978444149000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061016c5760003560e01c806370a08231116100cd578063a0712d6811610081578063a9059cbb11610066578063a9059cbb14610290578063dc361a13146102a3578063dd62ed3e146102b65761016c565b8063a0712d681461026a578063a457c2d71461027d5761016c565b80637bde82f2116100b25780637bde82f21461024757806395d89b411461025a578063a035b1fe146102625761016c565b806370a082311461022c578063743753591461023f5761016c565b806339509351116101245780636cb3281d116101095780636cb3281d146102075780636ed71ede1461021c5780636f307dc3146102245761016c565b806339509351146101ec5780634eb82b56146101ff5761016c565b806318160ddd1161015557806318160ddd146101af57806323b872dd146101c4578063313ce567146101d75761016c565b806306fdde0314610171578063095ea7b31461018f575b600080fd5b6101796102c9565b6040516101869190611f49565b60405180910390f35b6101a261019d36600461178b565b61037d565b6040516101869190611f3b565b6101b761039b565b6040516101869190612025565b6101a26101d236600461173e565b6103a1565b6101df610449565b6040516101869190612033565b6101a26101fa36600461178b565b610452565b6101b76104b3565b61020f6104b9565b6040516101869190611ec5565b6101b76104d1565b61020f6104d7565b6101b761023a3660046116e6565b6104f3565b6101b761051f565b6101b7610255366004611845565b6105df565b6101796106cc565b6101b761074b565b6101b7610278366004611809565b6107fd565b6101a261028b36600461178b565b610869565b6101a261029e36600461178b565b6108e4565b6101b76102b13660046116e6565b6108f8565b6101b76102c4366004611704565b610932565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b5050505050905090565b600061039161038a61096a565b848461096e565b5060015b92915050565b60025490565b60006103ae848484610a86565b61043e846103ba61096a565b610439856040518060600160405280602881526020016121c76028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602052604081209061040561096a565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff610c1116565b61096e565b5060015b9392505050565b60055460ff1690565b600061039161045f61096a565b84610439856001600061047061096a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c5716565b60075481565b731e0447b19bb6ecfdae1e4ae1694b0c3659614e4e81565b60065481565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020545b919050565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319061058a90731e0447b19bb6ecfdae1e4ae1694b0c3659614e4e90600401611ec5565b60206040518083038186803b1580156105a257600080fd5b505afa1580156105b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506105da9190810190611827565b905090565b60006105ea83610c96565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169081906370a0823190610642903090600401611ec5565b60206040518083038186803b15801561065a57600080fd5b505afa15801561066e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506106929190810190611827565b91506106bb73ffffffffffffffffffffffffffffffffffffffff8216848463ffffffff610e4716565b6106c53385610f09565b5092915050565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103735780601f1061034857610100808354040283529160200191610373565b6009546006546040517f56ea84b2000000000000000000000000000000000000000000000000000000008152600092839273ffffffffffffffffffffffffffffffffffffffff909116916356ea84b2916107a791600401612025565b604080518083038186803b1580156107be57600080fd5b505afa1580156107d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107f69190810190611864565b9250505090565b600080610808611039565b6008549091506108369073ffffffffffffffffffffffffffffffffffffffff1633308663ffffffff61111116565b61083f83611154565b6108578161084b611039565b9063ffffffff61126916565b915061086333836112ab565b50919050565b600061039161087661096a565b84610439856040518060600160405280602581526020016121ef60259139600160006108a061096a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610c1116565b60006103916108f161096a565b8484610a86565b6000610395670de0b6b3a764000061092661091161074b565b61091a866104f3565b9063ffffffff6113a016565b9063ffffffff6113f416565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3390565b73ffffffffffffffffffffffffffffffffffffffff83166109c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fca565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610a11576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f6a565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610a79908590612025565b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ad3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fba565b73ffffffffffffffffffffffffffffffffffffffff8216610b20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f5a565b610b70816040518060600160405280602681526020016121a16026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff610c1116565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610bb2908263ffffffff610c5716565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a79908590612025565b60008184841115610c4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9190611f49565b505050900390565b600082820183811015610442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f7a565b604080516001808252818301909252606091816020015b610cb5611610565b815260200190600190039081610cad57905050905060405180604001604052803073ffffffffffffffffffffffffffffffffffffffff168152602001600081525081600081518110610d0357fe5b6020026020010181905250610d16611627565b6040805160808101909152600081526020810160018152602001600081526020018490529050610d44611650565b600181819052506000602082015260408082018390526006546060808401919091523060a0840152815160018082528184019093529091816020015b610d88611650565b815260200190600190039081610d805790505090508181600081518110610dab57fe5b60209081029190910101526009546040517fa67a6a4500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063a67a6a4590610e0e9087908590600401611f16565b600060405180830381600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b505050505050505050565b604051610f049084907fa9059cbb0000000000000000000000000000000000000000000000000000000090610e829086908690602401611efb565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611436565b505050565b73ffffffffffffffffffffffffffffffffffffffff8216610f56576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611faa565b610fa68160405180606001604052806022815260200161217f6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919063ffffffff610c1116565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902055600254610fdf908263ffffffff61126916565b60025560405160009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061102d908590612025565b60405180910390a35050565b60095460408051808201825230815260006020820181905260065492517f47d1b53c0000000000000000000000000000000000000000000000000000000081529093849373ffffffffffffffffffffffffffffffffffffffff909116926347d1b53c926110a9929060040161200a565b604080518083038186803b1580156110c057600080fd5b505afa1580156110d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506110f891908101906117d9565b6fffffffffffffffffffffffffffffffff169250505090565b60405161114e9085907f23b872dd0000000000000000000000000000000000000000000000000000000090610e8290879087908790602401611ed3565b50505050565b604080516001808252818301909252606091816020015b611173611610565b81526020019060019003908161116b57905050905060405180604001604052803073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250816000815181106111c157fe5b60200260200101819052506111d4611627565b6040805160808101909152600181526020810160008152602001600081526020018490529050611202611650565b600081819052506000602082015260408082018390526006546060808401919091523060a0840152815160018082528184019093529091816020015b611246611650565b81526020019060019003908161123e5790505090508181600081518110610dab57fe5b600061044283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c11565b73ffffffffffffffffffffffffffffffffffffffff82166112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611ffa565b60025461130b908263ffffffff610c5716565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054611344908263ffffffff610c5716565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061102d908590612025565b6000826113af57506000610395565b828202828482816113bc57fe5b0414610442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f9a565b600061044283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611583565b6114558273ffffffffffffffffffffffffffffffffffffffff166115d4565b61148b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fea565b600060608373ffffffffffffffffffffffffffffffffffffffff16836040516114b49190611eb9565b6000604051808303816000865af19150503d80600081146114f1576040519150601f19603f3d011682016040523d82523d6000602084013e6114f6565b606091505b509150915081611532576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611f8a565b80511561114e578080602001905161154d91908101906117bb565b61114e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb90611fda565b600081836115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9190611f49565b5060008385816115ca57fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906116085750808214155b949350505050565b604080518082019091526000808252602082015290565b604080516080810190915260008082526020820190815260200160008152602001600081525090565b604080516101008101825260008082526020820152908101611670611627565b81526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001606081525090565b80356103958161214f565b805161039581612163565b80516103958161216c565b803561039581612175565b805161039581612175565b6000602082840312156116f857600080fd5b600061160884846116af565b6000806040838503121561171757600080fd5b600061172385856116af565b9250506020611734858286016116af565b9150509250929050565b60008060006060848603121561175357600080fd5b600061175f86866116af565b9350506020611770868287016116af565b9250506040611781868287016116d0565b9150509250925092565b6000806040838503121561179e57600080fd5b60006117aa85856116af565b9250506020611734858286016116d0565b6000602082840312156117cd57600080fd5b600061160884846116ba565b600080604083850312156117ec57600080fd5b60006117f885856116ba565b9250506020611734858286016116c5565b60006020828403121561181b57600080fd5b600061160884846116d0565b60006020828403121561183957600080fd5b600061160884846116db565b6000806040838503121561185857600080fd5b600061172385856116d0565b6000806040838503121561187757600080fd5b600061188385856116db565b9250506020611734858286016116db565b60006104428383611d92565b60006118ac8383611e87565b505060400190565b6118bd81612054565b82525050565b60006118ce82612047565b6118d8818561204b565b9350836020820285016118ea85612041565b8060005b8581101561192457848403895281516119078582611894565b945061191283612041565b60209a909a01999250506001016118ee565b5091979650505050505050565b600061193c82612047565b611946818561204b565b935061195183612041565b8060005b8381101561197f57815161196988826118a0565b975061197483612041565b925050600101611955565b509495945050505050565b6118bd8161205f565b600061199e82612047565b6119a8818561051a565b93506119b88185602086016120da565b9290920192915050565b60006119cd82612047565b6119d7818561204b565b93506119e78185602086016120da565b6119f081612106565b9093019392505050565b6118bd816120b9565b6118bd816120c4565b6118bd816120cf565b6000611a2260238361204b565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647281527f6573730000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611a8160228361204b565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726581527f7373000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611ae0601b8361204b565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000611b1960208361204b565b7f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815260200192915050565b6000611b5260218361204b565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611bb160218361204b565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657381527f7300000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611c1060258361204b565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616481527f6472657373000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611c6f60248361204b565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646481527f7265737300000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611cce602a8361204b565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e81527f6f74207375636365656400000000000000000000000000000000000000000000602082015260400192915050565b6000611d2d601f8361204b565b7f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400815260200192915050565b6000611d66601f8361204b565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300815260200192915050565b8051600090610160840190611da785826119fa565b506020830151611dba6020860182611ea7565b506040830151611dcd6040860182611e3d565b506060830151611de060c0860182611ea7565b506080830151611df360e0860182611ea7565b5060a0830151611e076101008601826118b4565b5060c0830151611e1b610120860182611ea7565b5060e0830151848203610140860152611e3482826119c2565b95945050505050565b80516080830190611e4e848261198a565b506020820151611e616020850182611a03565b506040820151611e746040850182611a0c565b50606082015161114e6060850182611ea7565b80516040830190611e9884826118b4565b50602082015161114e60208501825b6118bd816120b0565b6118bd816120b3565b60006104428284611993565b6020810161039582846118b4565b60608101611ee182866118b4565b611eee60208301856118b4565b6116086040830184611ea7565b60408101611f0982856118b4565b6104426020830184611ea7565b60408082528101611f278185611931565b9050818103602083015261160881846118c3565b60208101610395828461198a565b6020808252810161044281846119c2565b6020808252810161039581611a15565b6020808252810161039581611a74565b6020808252810161039581611ad3565b6020808252810161039581611b0c565b6020808252810161039581611b45565b6020808252810161039581611ba4565b6020808252810161039581611c03565b6020808252810161039581611c62565b6020808252810161039581611cc1565b6020808252810161039581611d20565b6020808252810161039581611d59565b606081016120188285611e87565b6104426040830184611ea7565b602081016103958284611ea7565b602081016103958284611eb0565b60200190565b5190565b90815260200190565b600061039582612097565b151590565b8061051a8161212e565b8061051a8161213b565b8061051a81612145565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b90565b60ff1690565b600061039582612064565b60006103958261206e565b600061039582612078565b60005b838110156120f55781810151838201526020016120dd565b8381111561114e5750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6009811061213857fe5b50565b6002811061213857fe5b6001811061213857fe5b61215881612054565b811461213857600080fd5b6121588161205f565b61215881612082565b612158816120b056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa365627a7a72315820e52106eb3fc2195e55cea0d800bffa38c088ab70366445e5788d2449fa50640f6c6578706572696d656e74616cf564736f6c63430005100040

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

0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000005797844414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057978444149000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _underlying (address): 0x6B175474E89094C44Da98b954EedeAC495271d0F
Arg [1] : _marketId (uint256): 3
Arg [2] : _name (string): yxDAI
Arg [3] : _symbol (string): yxDAI
Arg [4] : _decimals (uint8): 18

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 7978444149000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 7978444149000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

29149:4178:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29149:4178:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25543:83;;;:::i;:::-;;;;;;;;;;;;;;;;12136:152;;;;;;;;;:::i;:::-;;;;;;;;11157:91;;;:::i;:::-;;;;;;;;12760:304;;;;;;;;;:::i;26395:83::-;;;:::i;:::-;;;;;;;;13473:210;;;;;;;;;:::i;29300:29::-;;;:::i;29410:90::-;;;:::i;:::-;;;;;;;;29272:23;;;:::i;29380:25::-;;;:::i;11311:110::-;;;;;;;;;:::i;30473:133::-;;;:::i;32208:368::-;;;;;;;;;:::i;25745:87::-;;;:::i;30320:147::-;;;:::i;30965:511::-;;;;;;;;;:::i;14186:261::-;;;;;;;;;:::i;11634:158::-;;;;;;;;;:::i;30612:133::-;;;;;;;;;:::i;11855:134::-;;;;;;;;;:::i;25543:83::-;25613:5;25606:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25580:13;;25606:12;;25613:5;;25606:12;;25613:5;25606:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25543:83;:::o;12136:152::-;12202:4;12219:39;12228:12;:10;:12::i;:::-;12242:7;12251:6;12219:8;:39::i;:::-;-1:-1:-1;12276:4:0;12136:152;;;;;:::o;11157:91::-;11228:12;;11157:91;:::o;12760:304::-;12849:4;12866:36;12876:6;12884:9;12895:6;12866:9;:36::i;:::-;12913:121;12922:6;12930:12;:10;:12::i;:::-;12944:89;12982:6;12944:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;12964:12;:10;:12::i;:::-;12944:33;;;;;;;;;;;;;-1:-1:-1;12944:33:0;;;:89;;:37;:89;:::i;:::-;12913:8;:121::i;:::-;-1:-1:-1;13052:4:0;12760:304;;;;;;:::o;26395:83::-;26461:9;;;;26395:83;:::o;13473:210::-;13553:4;13570:83;13579:12;:10;:12::i;:::-;13593:7;13602:50;13641:10;13602:11;:25;13614:12;:10;:12::i;:::-;13602:25;;;;;;;;;;;;;;;;;;-1:-1:-1;13602:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;29300:29::-;;;;:::o;29410:90::-;29458:42;29410:90;:::o;29272:23::-;;;;:::o;29380:25::-;;;;;;:::o;11311:110::-;11395:18;;;11368:7;11395:18;;;;;;;;;;;11311:110;;;;:::o;30473:133::-;30556:10;;30549:51;;;;;30526:7;;30556:10;;;30549:28;;:51;;29458:42;;30549:51;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30549:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30549:51: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;30549:51:0;;;;;;;;;30542:58;;30473:133;:::o;32208:368::-;32287:14;32312:20;32324:7;32312:11;:20::i;:::-;32417:10;;32446:36;;;;;32417:10;;;;;;;32446:21;;:36;;32476:4;;32446:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32446:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32446:36: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;32446:36:0;;;;;;;;;32437:45;-1:-1:-1;32491:42:0;:24;;;32516:8;32437:45;32491:42;:24;:42;:::i;:::-;32544:26;32550:10;32562:7;32544:5;:26::i;:::-;32208:368;;;;;:::o;25745:87::-;25817:7;25810:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25784:13;;25810:14;;25817:7;;25810:14;;25817:7;25810:14;;;;;;;;;;;;;;;;;;;;;;;;30320:147;30400:4;;30427:8;;30400:36;;;;;30358:7;;;;30400:4;;;;;:26;;:36;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30400:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30400:36: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;30400:36:0;;;;;;;;;30374:62;-1:-1:-1;;;30320:147:0;:::o;30965:511::-;31024:17;31094:25;31122:8;:6;:8::i;:::-;31193:10;;31094:36;;-1:-1:-1;31186:71:0;;31193:10;;31222;31242:4;31249:7;31186:71;:35;:71;:::i;:::-;31313:18;31323:7;31313:9;:18::i;:::-;31402:31;31415:17;31402:8;:6;:8::i;:::-;:12;:31;:12;:31;:::i;:::-;31390:43;;31442:28;31448:10;31460:9;31442:5;:28::i;:::-;30965:511;;;;:::o;14186:261::-;14271:4;14288:129;14297:12;:10;:12::i;:::-;14311:7;14320:96;14359:15;14320:96;;;;;;;;;;;;;;;;;:11;:25;14332:12;:10;:12::i;:::-;14320:25;;;;;;;;;;;;;;;;;;-1:-1:-1;14320:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;11634:158::-;11703:4;11720:42;11730:12;:10;:12::i;:::-;11744:9;11755:6;11720:9;:42::i;30612:133::-;30677:7;30700:39;30732:6;30700:27;30719:7;:5;:7::i;:::-;30700:14;30710:3;30700:9;:14::i;:::-;:18;:27;:18;:27;:::i;:::-;:31;:39;:31;:39;:::i;11855:134::-;11954:18;;;;11927:7;11954:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11855:134::o;3738:98::-;3818:10;3738:98;:::o;17118:338::-;17212:19;;;17204:68;;;;;;;;;;;;;;;;;;;;;;17291:21;;;17283:68;;;;;;;;;;;;;;17364:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;17416:32;;;;;17394:6;;17416:32;;;;;;;;;;17118:338;;;:::o;14937:471::-;15035:20;;;15027:70;;;;;;;;;;;;;;15116:23;;;15108:71;;;;;;;;;;;;;;15212;15234:6;15212:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;15192:17;;;;:9;:17;;;;;;;;;;;:91;;;;15317:20;;;;;;;:32;;15342:6;15317:32;:24;:32;:::i;:::-;15294:20;;;;:9;:20;;;;;;;;;;;;:55;;;;15365:35;;;;;;;;;;15393:6;;15365:35;;5918:192;6004:7;6040:12;6032:6;;;;6024:29;;;;;;;;;;;;;;;-1:-1:-1;;;6076:5:0;;;5918:192::o;4989:181::-;5047:7;5079:5;;;5103:6;;;;5095:46;;;;;;;;;;;;;32582:573;32665:13;;;32676:1;32665:13;;;;;;;;;32643:19;;32665:13;;;;;;:::i;:::-;;;;;;;;;;;;;;;;32643:35;;32698:22;;;;;;;;32711:4;32698:22;;;;;;32718:1;32698:22;;;32687:5;32693:1;32687:8;;;;;;;;;;;;;:33;;;;32731:22;;:::i;:::-;32756:72;;;;;;;;;-1:-1:-1;32756:72:0;;;;;;;;;;32798:20;32756:72;;;;;;;32731:97;-1:-1:-1;32837:21:0;;:::i;:::-;32884:19;32867:3;32884:19;32867:36;;-1:-1:-1;32928:1:0;32912:13;;;:17;32938:10;;;;:16;;;32985:8;;32963:19;;;;:30;;;;33029:4;33002:16;;;:32;33072:19;;33089:1;33072:19;;;;;;;;;32963;;33072;;;;;;:::i;:::-;;;;;;;;;;;;;;;;33045:46;;33110:3;33100:4;33105:1;33100:7;;;;;;;;;;;;;;;;;:13;33124:4;;:25;;;;;:4;;;;;:12;;:25;;33137:5;;33144:4;;33124:25;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33124:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33124:25:0;;;;32582:573;;;;;:::o;21671:176::-;21780:58;;21754:85;;21773:5;;21803:23;;21780:58;;21828:2;;21832:5;;21780:58;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;21780:58:0;;;49:4:-1;25:18;;61:17;;21780:58:0;182:15:-1;21780:58:0;;;;179:29:-1;;;;160:49;;;21754:18:0;:85::i;:::-;21671:176;;;:::o;16330:348::-;16406:21;;;16398:67;;;;;;;;;;;;;;16499:68;16522:6;16499:68;;;;;;;;;;;;;;;;;:18;;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;16478:18;;;:9;:18;;;;;;;;;;:89;16593:12;;:24;;16610:6;16593:24;:16;:24;:::i;:::-;16578:12;:39;16633:37;;16659:1;;16633:37;;;;;;;;16663:6;;16633:37;;;;;;;;;;16330:348;;:::o;33161:163::-;33238:4;;33257:22;;;;;;;;33270:4;33257:22;;33202:7;33257:22;;;;;;33281:8;;33238:52;;;;;33202:7;;;;33238:4;;;;;:18;;:52;;33281:8;33238:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33238:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33238:52: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;33238:52:0;;;;;;;;;33304:14;;;-1:-1:-1;;;33161:163:0;:::o;21855:204::-;21982:68;;21956:95;;21975:5;;22005:27;;21982:68;;22034:4;;22040:2;;22044:5;;21982:68;;;;21956:95;21855:204;;;;:::o;31482:567::-;31563:13;;;31574:1;31563:13;;;;;;;;;31541:19;;31563:13;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31541:35;;31596:22;;;;;;;;31609:4;31596:22;;;;;;31616:1;31596:22;;;31585:5;31591:1;31585:8;;;;;;;;;;;;;:33;;;;31627:22;;:::i;:::-;31652:71;;;;;;;;;31664:4;31652:71;;;;;-1:-1:-1;31652:71:0;;;;31693:20;31652:71;;;;;;;31627:96;-1:-1:-1;31732:21:0;;:::i;:::-;31779:18;31762:3;31779:18;31762:35;;-1:-1:-1;31822:1:0;31806:13;;;:17;31832:10;;;;:16;;;31879:8;;31857:19;;;;:30;;;;31923:4;31896:16;;;:32;31966:19;;31983:1;31966:19;;;;;;;;;31857;;31966;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31939:46;;32004:3;31994:4;31999:1;31994:7;;;;;;;5445:136;5503:7;5530:43;5534:1;5537;5530:43;;;;;;;;;;;;;;;;;:3;:43::i;15689:308::-;15765:21;;;15757:65;;;;;;;;;;;;;;15850:12;;:24;;15867:6;15850:24;:16;:24;:::i;:::-;15835:12;:39;15906:18;;;:9;:18;;;;;;;;;;;:30;;15929:6;15906:30;:22;:30;:::i;:::-;15885:18;;;:9;:18;;;;;;;;;;;:51;;;;15952:37;;15885:18;;:9;15952:37;;;;15982:6;;15952:37;;6361:471;6419:7;6664:6;6660:47;;-1:-1:-1;6694:1:0;6687:8;;6660:47;6731:5;;;6735:1;6731;:5;:1;6755:5;;;;;:10;6747:56;;;;;;;;;;;;;7300:132;7358:7;7385:39;7389:1;7392;7385:39;;;;;;;;;;;;;;;;;:3;:39::i;23710:1114::-;24314:27;24322:5;24314:25;;;:27::i;:::-;24306:71;;;;;;;;;;;;;;24451:12;24465:23;24500:5;24492:19;;24512:4;24492:25;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;24450:67:0;;;;24536:7;24528:52;;;;;;;;;;;;;;24597:17;;:21;24593:224;;24739:10;24728:30;;;;;;;;;;;;;;24720:85;;;;;;;;;;;;;7962:345;8048:7;8150:12;8143:5;8135:28;;;;;;;;;;;;;;;;8174:9;8190:1;8186;:5;;;;;;;7962:345;-1:-1:-1;;;;;7962:345:0:o;18509:810::-;18569:4;19228:20;;19071:66;19268:15;;;;;:42;;;19299:11;19287:8;:23;;19268:42;19260:51;18509:810;-1:-1:-1;;;;18509:810:0:o;29149:4178::-;;;;;;;;;;-1:-1:-1;29149:4178:0;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;29149:4178:0;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;29149:4178:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:128;217:13;;235:30;217:13;235:30;;277:134;355:13;;373:33;355:13;373:33;;418:130;485:20;;510:33;485:20;510:33;;555:134;633:13;;651:33;633:13;651:33;;696:241;;800:2;788:9;779:7;775:23;771:32;768:2;;;816:1;813;806:12;768:2;851:1;868:53;913:7;893:9;868:53;;944:366;;;1065:2;1053:9;1044:7;1040:23;1036:32;1033:2;;;1081:1;1078;1071:12;1033:2;1116:1;1133:53;1178:7;1158:9;1133:53;;;1123:63;;1095:97;1223:2;1241:53;1286:7;1277:6;1266:9;1262:22;1241:53;;;1231:63;;1202:98;1027:283;;;;;;1317:491;;;;1455:2;1443:9;1434:7;1430:23;1426:32;1423:2;;;1471:1;1468;1461:12;1423:2;1506:1;1523:53;1568:7;1548:9;1523:53;;;1513:63;;1485:97;1613:2;1631:53;1676:7;1667:6;1656:9;1652:22;1631:53;;;1621:63;;1592:98;1721:2;1739:53;1784:7;1775:6;1764:9;1760:22;1739:53;;;1729:63;;1700:98;1417:391;;;;;;1815:366;;;1936:2;1924:9;1915:7;1911:23;1907:32;1904:2;;;1952:1;1949;1942:12;1904:2;1987:1;2004:53;2049:7;2029:9;2004:53;;;1994:63;;1966:97;2094:2;2112:53;2157:7;2148:6;2137:9;2133:22;2112:53;;2188:257;;2300:2;2288:9;2279:7;2275:23;2271:32;2268:2;;;2316:1;2313;2306:12;2268:2;2351:1;2368:61;2421:7;2401:9;2368:61;;2452:393;;;2581:2;2569:9;2560:7;2556:23;2552:32;2549:2;;;2597:1;2594;2587:12;2549:2;2632:1;2649:61;2702:7;2682:9;2649:61;;;2639:71;;2611:105;2747:2;2765:64;2821:7;2812:6;2801:9;2797:22;2765:64;;2852:241;;2956:2;2944:9;2935:7;2931:23;2927:32;2924:2;;;2972:1;2969;2962:12;2924:2;3007:1;3024:53;3069:7;3049:9;3024:53;;3100:263;;3215:2;3203:9;3194:7;3190:23;3186:32;3183:2;;;3231:1;3228;3221:12;3183:2;3266:1;3283:64;3339:7;3319:9;3283:64;;3370:366;;;3491:2;3479:9;3470:7;3466:23;3462:32;3459:2;;;3507:1;3504;3497:12;3459:2;3542:1;3559:53;3604:7;3584:9;3559:53;;3743:399;;;3875:2;3863:9;3854:7;3850:23;3846:32;3843:2;;;3891:1;3888;3881:12;3843:2;3926:1;3943:64;3999:7;3979:9;3943:64;;;3933:74;;3905:108;4044:2;4062:64;4118:7;4109:6;4098:9;4094:22;4062:64;;4150:253;;4299:98;4393:3;4385:6;4299:98;;4412:249;;4535:86;4617:3;4609:6;4535:86;;;-1:-1;;4650:4;4641:14;;4528:133;4669:103;4742:24;4760:5;4742:24;;;4737:3;4730:37;4724:48;;;4974:1040;;5167:78;5239:5;5167:78;;;5258:110;5361:6;5356:3;5258:110;;;5251:117;;5391:3;5433:4;5425:6;5421:17;5416:3;5412:27;5460:80;5534:5;5460:80;;;5560:7;5588:1;5573:402;5598:6;5595:1;5592:13;5573:402;;;5660:9;5654:4;5650:20;5645:3;5638:33;5705:6;5699:13;5727:112;5834:4;5819:13;5727:112;;;5719:120;;5856:84;5933:6;5856:84;;;5963:4;5954:14;;;;;5846:94;-1:-1;;5620:1;5613:9;5573:402;;;-1:-1;5988:4;;5146:868;-1:-1;;;;;;;5146:868;6085:834;;6266:72;6332:5;6266:72;;;6351:104;6448:6;6443:3;6351:104;;;6344:111;;6476:74;6544:5;6476:74;;;6570:7;6598:1;6583:314;6608:6;6605:1;6602:13;6583:314;;;6675:6;6669:13;6696:99;6791:3;6776:13;6696:99;;;6689:106;;6812:78;6883:6;6812:78;;;6802:88;-1:-1;;6630:1;6623:9;6583:314;;;-1:-1;6910:3;;6245:674;-1:-1;;;;;6245:674;6927:94;6994:21;7009:5;6994:21;;7139:356;;7267:38;7299:5;7267:38;;;7317:88;7398:6;7393:3;7317:88;;;7310:95;;7410:52;7455:6;7450:3;7443:4;7436:5;7432:16;7410:52;;;7474:16;;;;;7247:248;-1:-1;;7247:248;7502:315;;7598:34;7626:5;7598:34;;;7644:60;7697:6;7692:3;7644:60;;;7637:67;;7709:52;7754:6;7749:3;7742:4;7735:5;7731:16;7709:52;;;7782:29;7804:6;7782:29;;;7773:39;;;;7578:239;-1:-1;;;7578:239;7824:142;7910:50;7954:5;7910:50;;7973:156;8066:57;8117:5;8066:57;;8136:150;8226:54;8274:5;8226:54;;8648:372;;8808:67;8872:2;8867:3;8808:67;;;8908:34;8888:55;;8977:5;8972:2;8963:12;;8956:27;9011:2;9002:12;;8794:226;-1:-1;;8794:226;9029:371;;9189:67;9253:2;9248:3;9189:67;;;9289:34;9269:55;;9358:4;9353:2;9344:12;;9337:26;9391:2;9382:12;;9175:225;-1:-1;;9175:225;9409:327;;9569:67;9633:2;9628:3;9569:67;;;9669:29;9649:50;;9727:2;9718:12;;9555:181;-1:-1;;9555:181;9745:332;;9905:67;9969:2;9964:3;9905:67;;;10005:34;9985:55;;10068:2;10059:12;;9891:186;-1:-1;;9891:186;10086:370;;10246:67;10310:2;10305:3;10246:67;;;10346:34;10326:55;;10415:3;10410:2;10401:12;;10394:25;10447:2;10438:12;;10232:224;-1:-1;;10232:224;10465:370;;10625:67;10689:2;10684:3;10625:67;;;10725:34;10705:55;;10794:3;10789:2;10780:12;;10773:25;10826:2;10817:12;;10611:224;-1:-1;;10611:224;10844:374;;11004:67;11068:2;11063:3;11004:67;;;11104:34;11084:55;;11173:7;11168:2;11159:12;;11152:29;11209:2;11200:12;;10990:228;-1:-1;;10990:228;11227:373;;11387:67;11451:2;11446:3;11387:67;;;11487:34;11467:55;;11556:6;11551:2;11542:12;;11535:28;11591:2;11582:12;;11373:227;-1:-1;;11373:227;11609:379;;11769:67;11833:2;11828:3;11769:67;;;11869:34;11849:55;;11938:12;11933:2;11924:12;;11917:34;11979:2;11970:12;;11755:233;-1:-1;;11755:233;11997:331;;12157:67;12221:2;12216:3;12157:67;;;12257:33;12237:54;;12319:2;12310:12;;12143:185;-1:-1;;12143:185;12337:331;;12497:67;12561:2;12556:3;12497:67;;;12597:33;12577:54;;12659:2;12650:12;;12483:185;-1:-1;;12483:185;12745:1611;12962:23;;12745:1611;;12888:6;12879:16;;;12991:76;12883:3;12962:23;12991:76;;;12910:163;13151:4;13144:5;13140:16;13134:23;13163:63;13220:4;13215:3;13211:14;13197:12;13163:63;;;13083:149;13307:4;13300:5;13296:16;13290:23;13319:117;13430:4;13425:3;13421:14;13407:12;13319:117;;;13242:200;13526:4;13519:5;13515:16;13509:23;13538:63;13595:4;13590:3;13586:14;13572:12;13538:63;;;13452:155;13693:4;13686:5;13682:16;13676:23;13705:63;13762:4;13757:3;13753:14;13739:12;13705:63;;;13617:157;13855:4;13848:5;13844:16;13838:23;13867:65;13924:6;13919:3;13915:16;13901:12;13867:65;;;13784:154;14021:4;14014:5;14010:16;14004:23;14033:65;14090:6;14085:3;14081:16;14067:12;14033:65;;;13948:156;14177:4;14170:5;14166:16;14160:23;14231:3;14225:4;14221:14;14212:6;14207:3;14203:16;14196:40;14251:67;14313:4;14299:12;14251:67;;;14243:75;12861:1495;-1:-1;;;;;12861:1495;14434:817;14637:23;;14571:4;14562:14;;;14666:57;14566:3;14637:23;14666:57;;;14591:138;14810:4;14803:5;14799:16;14793:23;14822:83;14899:4;14894:3;14890:14;14876:12;14822:83;;;14739:172;14983:4;14976:5;14972:16;14966:23;14995:80;15069:4;15064:3;15060:14;15046:12;14995:80;;;14921:160;15155:4;15148:5;15144:16;15138:23;15167:63;15224:4;15219:3;15215:14;15201:12;15167:63;;15315:459;15505:23;;15438:4;15429:14;;;15534:63;15433:3;15505:23;15534:63;;;15458:145;15678:4;15671:5;15667:16;15661:23;15690:63;15747:4;15742:3;15738:14;15724:12;16314:103;16387:24;16405:5;16387:24;;16544:107;16623:22;16639:5;16623:22;;16658:262;;16802:93;16891:3;16882:6;16802:93;;16927:213;17045:2;17030:18;;17059:71;17034:9;17103:6;17059:71;;17147:435;17321:2;17306:18;;17335:71;17310:9;17379:6;17335:71;;;17417:72;17485:2;17474:9;17470:18;17461:6;17417:72;;;17500;17568:2;17557:9;17553:18;17544:6;17500:72;;17589:324;17735:2;17720:18;;17749:71;17724:9;17793:6;17749:71;;;17831:72;17899:2;17888:9;17884:18;17875:6;17831:72;;17920:788;18250:2;18264:47;;;18235:18;;18325:144;18235:18;18455:6;18325:144;;;18317:152;;18517:9;18511:4;18507:20;18502:2;18491:9;18487:18;18480:48;18542:156;18693:4;18684:6;18542:156;;18715:201;18827:2;18812:18;;18841:65;18816:9;18879:6;18841:65;;18923:301;19061:2;19075:47;;;19046:18;;19136:78;19046:18;19200:6;19136:78;;19231:407;19422:2;19436:47;;;19407:18;;19497:131;19407:18;19497:131;;19645:407;19836:2;19850:47;;;19821:18;;19911:131;19821:18;19911:131;;20059:407;20250:2;20264:47;;;20235:18;;20325:131;20235:18;20325:131;;20473:407;20664:2;20678:47;;;20649:18;;20739:131;20649:18;20739:131;;20887:407;21078:2;21092:47;;;21063:18;;21153:131;21063:18;21153:131;;21301:407;21492:2;21506:47;;;21477:18;;21567:131;21477:18;21567:131;;21715:407;21906:2;21920:47;;;21891:18;;21981:131;21891:18;21981:131;;22129:407;22320:2;22334:47;;;22305:18;;22395:131;22305:18;22395:131;;22543:407;22734:2;22748:47;;;22719:18;;22809:131;22719:18;22809:131;;22957:407;23148:2;23162:47;;;23133:18;;23223:131;23133:18;23223:131;;23371:407;23562:2;23576:47;;;23547:18;;23637:131;23547:18;23637:131;;23785:404;23971:2;23956:18;;23985:111;23960:9;24069:6;23985:111;;;24107:72;24175:2;24164:9;24160:18;24151:6;24107:72;;24196:213;24314:2;24299:18;;24328:71;24303:9;24372:6;24328:71;;24416:205;24530:2;24515:18;;24544:67;24519:9;24584:6;24544:67;;24628:175;24776:4;24767:14;;24724:79;24986:161;25113:12;;25084:63;25970:202;26112:19;;;26161:4;26152:14;;26105:67;26871:91;;26933:24;26951:5;26933:24;;26969:85;27035:13;27028:21;;27011:43;27061:136;27138:5;27144:48;27138:5;27144:48;;27204:150;27288:5;27294:55;27288:5;27294:55;;27361:144;27442:5;27448:52;27442:5;27448:52;;27512:113;27585:34;27574:46;;27557:68;27632:121;27705:42;27694:54;;27677:76;27760:72;27822:5;27805:27;27839:81;27910:4;27899:16;;27882:38;27927:136;;28019:39;28052:5;28019:39;;28070:150;;28169:46;28209:5;28169:46;;28227:144;;28323:43;28360:5;28323:43;;28379:268;28444:1;28451:101;28465:6;28462:1;28459:13;28451:101;;;28532:11;;;28526:18;28513:11;;;28506:39;28487:2;28480:10;28451:101;;;28567:6;28564:1;28561:13;28558:2;;;-1:-1;;28632:1;28614:16;;28607:27;28428:219;28655:97;28743:2;28723:14;28739:7;28719:28;;28703:49;28760:106;28844:1;28837:5;28834:12;28824:2;;28850:9;28824:2;28818:48;;28873:113;28964:1;28957:5;28954:12;28944:2;;28970:9;28993:110;29081:1;29074:5;29071:12;29061:2;;29087:9;29110:117;29179:24;29197:5;29179:24;;;29172:5;29169:35;29159:2;;29218:1;29215;29208:12;29234:111;29300:21;29315:5;29300:21;;29352:117;29421:24;29439:5;29421:24;;29476:117;29545:24;29563:5;29545:24;

Swarm Source

bzzr://e52106eb3fc2195e55cea0d800bffa38c088ab70366445e5788d2449fa50640f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.