POL Price: $0.624543 (+5.11%)
 

Overview

Max Total Supply

136,047,114.989478271993651967 dQUICK

Holders

15,327

Market

Price

$0.00 @ 0.000000 POL

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 dQUICK

Value
$0.00
0xE13296f627e9e5915aa902A8D572e1De099e5C68
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
DragonLair

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-05-09
*/

/**
 *Submitted for verification at polygonscan.com on 2021-06-30
*/

// File: contracts/DragonLair.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

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

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

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

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

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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

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

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

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

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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 {ERC20PresetMinterPauser}.
 *
 * 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;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @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. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * 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;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override 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 virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override 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 virtual override 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 virtual 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 virtual 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 virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _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 virtual {
        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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// Modified from: https://etherscan.io/address/0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272#code

contract DragonLair is ERC20("Dragon QUICK", "dQUICK") {
    using SafeMath for uint256;
    IERC20 public quick;

    constructor(IERC20 _quick) public {
        quick = _quick;
    }

    // Enter the lair. Pay some QUICK. Earn some dragon QUICK.
    function enter(uint256 _quickAmount) external {
        uint256 totalQuick = quick.balanceOf(address(this));
        uint256 totalDQuick = totalSupply();
        if (totalDQuick == 0 || totalQuick == 0) {
            _mint(msg.sender, _quickAmount);
        } else {
            uint256 dQuickAmount = _quickAmount.mul(totalDQuick).div(totalQuick);
            _mint(msg.sender, dQuickAmount);
        }
        quick.transferFrom(msg.sender, address(this), _quickAmount);
    }

    // Leave the lair. Claim back your QUICK.
    function leave(uint256 _dQuickAmount) external {
        uint256 totalDQuick = totalSupply();
        uint256 quickAmount = _dQuickAmount.mul(quick.balanceOf(address(this))).div(totalDQuick);
        _burn(msg.sender, _dQuickAmount);
        quick.transfer(msg.sender, quickAmount);
    }

    // returns the total amount of QUICK an address has in the contract including fees earned
    function QUICKBalance(address _account) external view returns (uint256 quickAmount_) {
        uint256 dQuickAmount = balanceOf(_account);
        uint256 totalDQuick = totalSupply();
        quickAmount_ = dQuickAmount.mul(quick.balanceOf(address(this))).div(totalDQuick);
    }

    //returns how much QUICK someone gets for depositing dQUICK
    function dQUICKForQUICK(uint256 _dQuickAmount) external view returns (uint256 quickAmount_) {
        uint256 totalDQuick = totalSupply();
        quickAmount_ = _dQuickAmount.mul(quick.balanceOf(address(this))).div(totalDQuick);
    }

    //returns how much dQUICK someone gets for depositing QUICK
    function QUICKForDQUICK(uint256 _quickAmount) external view returns (uint256 dQuickAmount_) {
        uint256 totalQuick = quick.balanceOf(address(this));
        uint256 totalDQuick = totalSupply();
        if (totalDQuick == 0 || totalQuick == 0) {
            dQuickAmount_ = _quickAmount;
        }
        else {
            dQuickAmount_ = _quickAmount.mul(totalDQuick).div(totalQuick);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_quick","type":"address"}],"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"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"QUICKBalance","outputs":[{"internalType":"uint256","name":"quickAmount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quickAmount","type":"uint256"}],"name":"QUICKForDQUICK","outputs":[{"internalType":"uint256","name":"dQuickAmount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dQuickAmount","type":"uint256"}],"name":"dQUICKForQUICK","outputs":[{"internalType":"uint256","name":"quickAmount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quickAmount","type":"uint256"}],"name":"enter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dQuickAmount","type":"uint256"}],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quick","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200189838038062001898833981810160405260208110156200003757600080fd5b5051604080518082018252600c81526b447261676f6e20515549434b60a01b60208281019182528351808501909452600684526564515549434b60d01b9084015281519192916200008b91600391620000db565b508051620000a1906004906020840190620000db565b5050600580546001600160a01b0390931661010002610100600160a81b031960ff1990941660121793909316929092179091555062000177565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011e57805160ff19168380011785556200014e565b828001600101855582156200014e579182015b828111156200014e57825182559160200191906001019062000131565b506200015c92915062000160565b5090565b5b808211156200015c576000815560010162000161565b61171180620001876000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80637ea715e9116100b2578063a59f3e0c11610081578063ad19daf811610066578063ad19daf8146103d7578063dd62ed3e146103f4578063fdd3a8791461042f5761011b565b8063a59f3e0c14610381578063a9059cbb1461039e5761011b565b80637ea715e9146102f057806395d89b411461030d5780639fce0bec14610315578063a457c2d7146103485761011b565b8063313ce567116100ee578063313ce56714610247578063395093511461026557806367dfd4c91461029e57806370a08231146102bd5761011b565b806306fdde0314610120578063095ea7b31461019d57806318160ddd146101ea57806323b872dd14610204575b600080fd5b610128610460565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016257818101518382015260200161014a565b50505050905090810190601f16801561018f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d6600480360360408110156101b357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610514565b604080519115158252519081900360200190f35b6101f2610532565b60408051918252519081900360200190f35b6101d66004803603606081101561021a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610538565b61024f6105d9565b6040805160ff9092168252519081900360200190f35b6101d66004803603604081101561027b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356105e2565b6102bb600480360360208110156102b457600080fd5b503561063d565b005b6101f2600480360360208110156102d357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107cf565b6101f26004803603602081101561030657600080fd5b50356107f7565b6101286108ed565b6101f26004803603602081101561032b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661096c565b6101d66004803603604081101561035e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610a49565b6102bb6004803603602081101561039757600080fd5b5035610abe565b6101d6600480360360408110156103b457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c2f565b6101f2600480360360208110156103ed57600080fd5b5035610c43565b6101f26004803603604081101561040a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610ce7565b610437610d1f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050a5780601f106104df5761010080835404028352916020019161050a565b820191906000526020600020905b8154815290600101906020018083116104ed57829003601f168201915b5050505050905090565b6000610528610521610d40565b8484610d44565b5060015b92915050565b60025490565b6000610545848484610e8b565b6105cf84610551610d40565b6105ca856040518060600160405280602881526020016116256028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602052604081209061059c610d40565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061105b565b610d44565b5060019392505050565b60055460ff1690565b60006105286105ef610d40565b846105ca8560016000610600610d40565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549061110c565b6000610647610532565b905060006107148261070e600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156106db57600080fd5b505afa1580156106ef573d6000803e3d6000fd5b505050506040513d602081101561070557600080fd5b50518690611180565b906111f3565b90506107203384611235565b600554604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101849052905161010090920473ffffffffffffffffffffffffffffffffffffffff169163a9059cbb916044808201926020929091908290030181600087803b15801561079e57600080fd5b505af11580156107b2573d6000803e3d6000fd5b505050506040513d60208110156107c857600080fd5b5050505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600080600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561088357600080fd5b505afa158015610897573d6000803e3d6000fd5b505050506040513d60208110156108ad57600080fd5b5051905060006108bb610532565b90508015806108c8575081155b156108d5578392506108e6565b6108e38261070e8684611180565b92505b5050919050565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050a5780601f106104df5761010080835404028352916020019161050a565b600080610978836107cf565b90506000610984610532565b90506108e38161070e600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a1657600080fd5b505afa158015610a2a573d6000803e3d6000fd5b505050506040513d6020811015610a4057600080fd5b50518590611180565b6000610528610a56610d40565b846105ca856040518060600160405280602581526020016116b76025913960016000610a80610d40565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061105b565b600554604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092610100900473ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d6020811015610b5e57600080fd5b505190506000610b6c610532565b9050801580610b79575081155b15610b8d57610b88338461137f565b610bab565b6000610b9d8361070e8685611180565b9050610ba9338261137f565b505b600554604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101869052905161010090920473ffffffffffffffffffffffffffffffffffffffff16916323b872dd916064808201926020929091908290030181600087803b15801561079e57600080fd5b6000610528610c3c610d40565b8484610e8b565b600080610c4e610532565b9050610ce08161070e600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156106db57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1681565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610db0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806116936024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610e1c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806115bc6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ef7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061166e6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f63576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806115776023913960400191505060405180910390fd5b610f6e8383836114b0565b610fb8816040518060600160405280602681526020016115de6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061105b565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610ff4908261110c565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110c95781810151838201526020016110b1565b50505050905090810190601f1680156110f65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ce057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261118f5750600061052c565b8282028284828161119c57fe5b0414610ce0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806116046021913960400191505060405180910390fd5b6000610ce083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114b5565b73ffffffffffffffffffffffffffffffffffffffff82166112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061164d6021913960400191505060405180910390fd5b6112ad826000836114b0565b6112f78160405180606001604052806022815260200161159a6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919061105b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205560025461132a9082611534565b60025560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b73ffffffffffffffffffffffffffffffffffffffff821661140157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61140d600083836114b0565b60025461141a908261110c565b60025573ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205461144d908261110c565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b6000818361151e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156110c95781810151838201526020016110b1565b50600083858161152a57fe5b0495945050505050565b6000610ce083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061105b56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220097f4d6efbaf7f3cbca7f9df30a73a87b3af0b5ae110c9669bacfacee85861d964736f6c634300060c0033000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee17

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061011b5760003560e01c80637ea715e9116100b2578063a59f3e0c11610081578063ad19daf811610066578063ad19daf8146103d7578063dd62ed3e146103f4578063fdd3a8791461042f5761011b565b8063a59f3e0c14610381578063a9059cbb1461039e5761011b565b80637ea715e9146102f057806395d89b411461030d5780639fce0bec14610315578063a457c2d7146103485761011b565b8063313ce567116100ee578063313ce56714610247578063395093511461026557806367dfd4c91461029e57806370a08231146102bd5761011b565b806306fdde0314610120578063095ea7b31461019d57806318160ddd146101ea57806323b872dd14610204575b600080fd5b610128610460565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016257818101518382015260200161014a565b50505050905090810190601f16801561018f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d6600480360360408110156101b357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610514565b604080519115158252519081900360200190f35b6101f2610532565b60408051918252519081900360200190f35b6101d66004803603606081101561021a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610538565b61024f6105d9565b6040805160ff9092168252519081900360200190f35b6101d66004803603604081101561027b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356105e2565b6102bb600480360360208110156102b457600080fd5b503561063d565b005b6101f2600480360360208110156102d357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107cf565b6101f26004803603602081101561030657600080fd5b50356107f7565b6101286108ed565b6101f26004803603602081101561032b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661096c565b6101d66004803603604081101561035e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610a49565b6102bb6004803603602081101561039757600080fd5b5035610abe565b6101d6600480360360408110156103b457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c2f565b6101f2600480360360208110156103ed57600080fd5b5035610c43565b6101f26004803603604081101561040a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610ce7565b610437610d1f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050a5780601f106104df5761010080835404028352916020019161050a565b820191906000526020600020905b8154815290600101906020018083116104ed57829003601f168201915b5050505050905090565b6000610528610521610d40565b8484610d44565b5060015b92915050565b60025490565b6000610545848484610e8b565b6105cf84610551610d40565b6105ca856040518060600160405280602881526020016116256028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602052604081209061059c610d40565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061105b565b610d44565b5060019392505050565b60055460ff1690565b60006105286105ef610d40565b846105ca8560016000610600610d40565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549061110c565b6000610647610532565b905060006107148261070e600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156106db57600080fd5b505afa1580156106ef573d6000803e3d6000fd5b505050506040513d602081101561070557600080fd5b50518690611180565b906111f3565b90506107203384611235565b600554604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101849052905161010090920473ffffffffffffffffffffffffffffffffffffffff169163a9059cbb916044808201926020929091908290030181600087803b15801561079e57600080fd5b505af11580156107b2573d6000803e3d6000fd5b505050506040513d60208110156107c857600080fd5b5050505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600080600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561088357600080fd5b505afa158015610897573d6000803e3d6000fd5b505050506040513d60208110156108ad57600080fd5b5051905060006108bb610532565b90508015806108c8575081155b156108d5578392506108e6565b6108e38261070e8684611180565b92505b5050919050565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050a5780601f106104df5761010080835404028352916020019161050a565b600080610978836107cf565b90506000610984610532565b90506108e38161070e600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a1657600080fd5b505afa158015610a2a573d6000803e3d6000fd5b505050506040513d6020811015610a4057600080fd5b50518590611180565b6000610528610a56610d40565b846105ca856040518060600160405280602581526020016116b76025913960016000610a80610d40565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061105b565b600554604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092610100900473ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d6020811015610b5e57600080fd5b505190506000610b6c610532565b9050801580610b79575081155b15610b8d57610b88338461137f565b610bab565b6000610b9d8361070e8685611180565b9050610ba9338261137f565b505b600554604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101869052905161010090920473ffffffffffffffffffffffffffffffffffffffff16916323b872dd916064808201926020929091908290030181600087803b15801561079e57600080fd5b6000610528610c3c610d40565b8484610e8b565b600080610c4e610532565b9050610ce08161070e600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156106db57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1681565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610db0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806116936024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610e1c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806115bc6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ef7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061166e6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f63576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806115776023913960400191505060405180910390fd5b610f6e8383836114b0565b610fb8816040518060600160405280602681526020016115de6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061105b565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610ff4908261110c565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110c95781810151838201526020016110b1565b50505050905090810190601f1680156110f65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ce057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261118f5750600061052c565b8282028284828161119c57fe5b0414610ce0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806116046021913960400191505060405180910390fd5b6000610ce083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114b5565b73ffffffffffffffffffffffffffffffffffffffff82166112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061164d6021913960400191505060405180910390fd5b6112ad826000836114b0565b6112f78160405180606001604052806022815260200161159a6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919061105b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205560025461132a9082611534565b60025560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b73ffffffffffffffffffffffffffffffffffffffff821661140157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61140d600083836114b0565b60025461141a908261110c565b60025573ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205461144d908261110c565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b6000818361151e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156110c95781810151838201526020016110b1565b50600083858161152a57fe5b0495945050505050565b6000610ce083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061105b56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220097f4d6efbaf7f3cbca7f9df30a73a87b3af0b5ae110c9669bacfacee85861d964736f6c634300060c0033

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

000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee17

-----Decoded View---------------
Arg [0] : _quick (address): 0xB5C064F955D8e7F38fE0460C556a72987494eE17

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee17


Deployed Bytecode Sourcemap

26966:2288:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17916:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20022:169;;;;;;;;;;;;;;;;-1:-1:-1;20022:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18991:100;;;:::i;:::-;;;;;;;;;;;;;;;;20665:355;;;;;;;;;;;;;;;;-1:-1:-1;20665:355:0;;;;;;;;;;;;;;;;;;:::i;18843:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21429:218;;;;;;;;;;;;;;;;-1:-1:-1;21429:218:0;;;;;;;;;:::i;27771:293::-;;;;;;;;;;;;;;;;-1:-1:-1;27771:293:0;;:::i;:::-;;19154:119;;;;;;;;;;;;;;;;-1:-1:-1;19154:119:0;;;;:::i;28834:417::-;;;;;;;;;;;;;;;;-1:-1:-1;28834:417:0;;:::i;18118:87::-;;;:::i;28167:283::-;;;;;;;;;;;;;;;;-1:-1:-1;28167:283:0;;;;:::i;22150:269::-;;;;;;;;;;;;;;;;-1:-1:-1;22150:269:0;;;;;;;;;:::i;27228:488::-;;;;;;;;;;;;;;;;-1:-1:-1;27228:488:0;;:::i;19486:175::-;;;;;;;;;;;;;;;;-1:-1:-1;19486:175:0;;;;;;;;;:::i;28523:238::-;;;;;;;;;;;;;;;;-1:-1:-1;28523:238:0;;:::i;19724:151::-;;;;;;;;;;;;;;;;-1:-1:-1;19724:151:0;;;;;;;;;;;:::i;27061:19::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17916:83;17986:5;17979:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17953:13;;17979:12;;17986:5;;17979:12;;17986:5;17979:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17916:83;:::o;20022:169::-;20105:4;20122:39;20131:12;:10;:12::i;:::-;20145:7;20154:6;20122:8;:39::i;:::-;-1:-1:-1;20179:4:0;20022:169;;;;;:::o;18991:100::-;19071:12;;18991:100;:::o;20665:355::-;20805:4;20822:36;20832:6;20840:9;20851:6;20822:9;:36::i;:::-;20869:121;20878:6;20886:12;:10;:12::i;:::-;20900:89;20938:6;20900:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;20920:12;:10;:12::i;:::-;20900:33;;;;;;;;;;;;;-1:-1:-1;20900:33:0;;;:89;:37;:89::i;:::-;20869:8;:121::i;:::-;-1:-1:-1;21008:4:0;20665:355;;;;;:::o;18843:83::-;18909:9;;;;18843:83;:::o;21429:218::-;21517:4;21534:83;21543:12;:10;:12::i;:::-;21557:7;21566:50;21605:10;21566:11;:25;21578:12;:10;:12::i;:::-;21566:25;;;;;;;;;;;;;;;;;;-1:-1:-1;21566:25:0;;;:34;;;;;;;;;;;:38;:50::i;27771:293::-;27829:19;27851:13;:11;:13::i;:::-;27829:35;;27875:19;27897:66;27951:11;27897:49;27915:5;;;;;;;;;;;:15;;;27939:4;27915:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27915:30:0;27897:13;;:17;:49::i;:::-;:53;;:66::i;:::-;27875:88;;27974:32;27980:10;27992:13;27974:5;:32::i;:::-;28017:5;;:39;;;;;;28032:10;28017:39;;;;;;;;;;;;:5;;;;;;;:14;;:39;;;;;;;;;;;;;;;-1:-1:-1;28017:5:0;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27771:293:0:o;19154:119::-;19247:18;;19220:7;19247:18;;;;;;;;;;;;19154:119::o;28834:417::-;28903:21;28937:18;28958:5;;;;;;;;;;;:15;;;28982:4;28958:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28958:30:0;;-1:-1:-1;28999:19:0;29021:13;:11;:13::i;:::-;28999:35;-1:-1:-1;29049:16:0;;;:35;;-1:-1:-1;29069:15:0;;29049:35;29045:199;;;29117:12;29101:28;;29045:199;;;29187:45;29221:10;29187:29;:12;29204:11;29187:16;:29::i;:45::-;29171:61;;29045:199;28834:417;;;;;:::o;18118:87::-;18190:7;18183:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18157:13;;18183:14;;18190:7;;18183:14;;18190:7;18183:14;;;;;;;;;;;;;;;;;;;;;;;;28167:283;28230:20;28263;28286:19;28296:8;28286:9;:19::i;:::-;28263:42;;28316:19;28338:13;:11;:13::i;:::-;28316:35;;28377:65;28430:11;28377:48;28394:5;;;;;;;;;;;:15;;;28418:4;28394:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28394:30:0;28377:12;;:16;:48::i;22150:269::-;22243:4;22260:129;22269:12;:10;:12::i;:::-;22283:7;22292:96;22331:15;22292:96;;;;;;;;;;;;;;;;;:11;:25;22304:12;:10;:12::i;:::-;22292:25;;;;;;;;;;;;;;;;;;-1:-1:-1;22292:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;27228:488::-;27306:5;;:30;;;;;;27330:4;27306:30;;;;;;-1:-1:-1;;27306:5:0;;;;;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27306:30:0;;-1:-1:-1;27347:19:0;27369:13;:11;:13::i;:::-;27347:35;-1:-1:-1;27397:16:0;;;:35;;-1:-1:-1;27417:15:0;;27397:35;27393:246;;;27449:31;27455:10;27467:12;27449:5;:31::i;:::-;27393:246;;;27513:20;27536:45;27570:10;27536:29;:12;27553:11;27536:16;:29::i;:45::-;27513:68;;27596:31;27602:10;27614:12;27596:5;:31::i;:::-;27393:246;;27649:5;;:59;;;;;;27668:10;27649:59;;;;27688:4;27649:59;;;;;;;;;;;;:5;;;;;;;:18;;:59;;;;;;;;;;;;;;;-1:-1:-1;27649:5:0;:59;;;;;;;;;;19486:175;19572:4;19589:42;19599:12;:10;:12::i;:::-;19613:9;19624:6;19589:9;:42::i;28523:238::-;28593:20;28626:19;28648:13;:11;:13::i;:::-;28626:35;;28687:66;28741:11;28687:49;28705:5;;;;;;;;;;;:15;;;28729:4;28705:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28687:66;28672:81;28523:238;-1:-1:-1;;;28523:238:0:o;19724:151::-;19840:18;;;;19813:7;19840:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19724:151::o;27061:19::-;;;;;;;;;:::o;3572:106::-;3660:10;3572:106;:::o;25331:380::-;25467:19;;;25459:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25546:21;;;25538:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25619:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25671:32;;;;;;;;;;;;;;;;;25331:380;;;:::o;22909:573::-;23049:20;;;23041:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23130:23;;;23122:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23206:47;23227:6;23235:9;23246:6;23206:20;:47::i;:::-;23286:71;23308:6;23286:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;23266:17;;;;:9;:17;;;;;;;;;;;:91;;;;23391:20;;;;;;;:32;;23416:6;23391:24;:32::i;:::-;23368:20;;;;:9;:20;;;;;;;;;;;;:55;;;;23439:35;;;;;;;23368:20;;23439:35;;;;;;;;;;;;;22909:573;;;:::o;5723:226::-;5843:7;5879:12;5871:6;;;;5863:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5915:5:0;;;5723:226::o;4820:181::-;4878:7;4910:5;;;4934:6;;;;4926:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6208:471;6266:7;6511:6;6507:47;;-1:-1:-1;6541:1:0;6534:8;;6507:47;6578:5;;;6582:1;6578;:5;:1;6602:5;;;;;:10;6594:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7155:132;7213:7;7240:39;7244:1;7247;7240:39;;;;;;;;;;;;;;;;;:3;:39::i;24473:418::-;24557:21;;;24549:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24629:49;24650:7;24667:1;24671:6;24629:20;:49::i;:::-;24712:68;24735:6;24712:68;;;;;;;;;;;;;;;;;:18;;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;24691:18;;;:9;:18;;;;;;;;;;:89;24806:12;;:24;;24823:6;24806:16;:24::i;:::-;24791:12;:39;24846:37;;;;;;;;24872:1;;24846:37;;;;;;;;;;;;;24473:418;;:::o;23763:378::-;23847:21;;;23839:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23917:49;23946:1;23950:7;23959:6;23917:20;:49::i;:::-;23994:12;;:24;;24011:6;23994:16;:24::i;:::-;23979:12;:39;24050:18;;;:9;:18;;;;;;;;;;;:30;;24073:6;24050:22;:30::i;:::-;24029:18;;;:9;:18;;;;;;;;;;;:51;;;;24096:37;;;;;;;24029:18;;:9;;24096:37;;;;;;;;;;23763:378;;:::o;26736:125::-;;;;:::o;7783:312::-;7903:7;7938:12;7931:5;7923:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7962:9;7978:1;7974;:5;;;;;;;7783:312;-1:-1:-1;;;;;7783:312:0:o;5284:136::-;5342:7;5369:43;5373:1;5376;5369:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

ipfs://097f4d6efbaf7f3cbca7f9df30a73a87b3af0b5ae110c9669bacfacee85861d9
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.