Token VVSBar

Overview CRC20

Price
$0.00 @ 0.000000 CRO
Fully Diluted Market Cap
Total Supply:
3,784,642,614,200.786316 xVVS

Holders:
11,086 addresses
Contract:
0x7fe4db9063b7dd7ba55313b9c258070bed2c143a0x7fE4DB9063b7Dd7ba55313B9c258070bEd2C143A

Decimals:
18

Social Profiles:
Not Available, Update ?

Balance
0 xVVS

Value
$0.00
0x13b8136d36da43ed340ac7260ab8665264dce083
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VVSBar

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2023-04-18
*/

// Sources flattened with hardhat v2.6.7 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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/[email protected]


pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.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 {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;

    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 virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 virtual returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 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 virtual {
        _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 { }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.2 <0.8.0;

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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/[email protected]


pragma solidity >=0.6.0 <0.8.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 IERC20;` 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));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    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. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "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 contracts/VVSBar.sol

pragma solidity ^0.6.12;




// VVSBar contract allows you to stake VVS and receive xVVS token, holding xVVS entitles you to a share of the earnings from the platform swap
// ...in the form of an increase in value of xVVS = VVS ratio.

contract VVSBar is ERC20("VVSBar", "xVVS") {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    IERC20 public immutable vvs;

    // Define the VVSToken token contract
    constructor(IERC20 _vvs) public {
        vvs = _vvs;
    }

    // @notice: Stake VVS get xVVS. xVVS represents a yield-bearing receipt for your VVS
    // @dev: Mints xVVS in ratio of existing xVVS to total staked VVS
    function enterPool(uint256 _amount) public {
        // Gets the amount of VVS locked in the contract
        uint256 totalVVS = vvs.balanceOf(address(this));
        // Gets the amount of xVVS in existence
        uint256 totalXVVS = totalSupply();
        // If no xVVS exists, mint it 1:1 to the amount put in
        if (totalXVVS == 0 || totalVVS == 0) {
            _mint(msg.sender, _amount);
        }
        // Calculate and mint the amount of xVVS corresponding to the VVS amount given. The ratio will change overtime,
        // ...as xVVS is burned/minted and VVS deposited + gained from fees / withdrawn.
        else {
            uint256 xvvsToMint = _amount.mul(totalXVVS).div(totalVVS);
            _mint(msg.sender, xvvsToMint);
        }
        // Lock the VVS in the contract
        vvs.safeTransferFrom(msg.sender, address(this), _amount);
    }

    // @notice: Return your any amount of your xVVS, claim back your corresponding VVS + reward.
    // @dev: Unlocks the staked VVS + gained VVS and burns the xVVS returned
    function leavePool(uint256 _share) public {
        // Gets the amount of xVVS in existence
        uint256 totalShares = totalSupply();
        // Calculates the amount of VVS the xVVS is worth
        uint256 vvsStakedPlusReward = _share.mul(vvs.balanceOf(address(this))).div(totalShares);
        _burn(msg.sender, _share);
        vvs.safeTransfer(msg.sender, vvsStakedPlusReward);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_vvs","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":"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":[],"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":"_amount","type":"uint256"}],"name":"enterPool","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":"_share","type":"uint256"}],"name":"leavePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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"},{"inputs":[],"name":"vvs","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b506040516200155238038062001552833981810160405260208110156200003757600080fd5b505160408051808201825260068152652b2b29a130b960d11b6020828101918252835180850190945260048452637856565360e01b9084015281519192916200008391600391620000c1565b50805162000099906004906020840190620000c1565b505060058054601260ff199091161790555060601b6001600160601b0319166080526200015d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010457805160ff191683800117855562000134565b8280016001018555821562000134579182015b828111156200013457825182559160200191906001019062000117565b506200014292915062000146565b5090565b5b8082111562000142576000815560010162000147565b60805160601c6113c36200018f600039806103f2528061051b528061061052806106d0528061078752506113c36000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635f951eab1161008c5780639ca53f82116100665780639ca53f82146102b7578063a457c2d7146102d4578063a9059cbb14610300578063dd62ed3e1461032c576100ea565b80635f951eab1461026a57806370a082311461028957806395d89b41146102af576100ea565b806318160ddd116100c857806318160ddd146101d057806323b872dd146101ea578063313ce56714610220578063395093511461023e576100ea565b806306fdde03146100ef57806308e773441461016c578063095ea7b314610190575b600080fd5b6100f761035a565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610131578181015183820152602001610119565b50505050905090810190601f16801561015e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101746103f0565b604080516001600160a01b039092168252519081900360200190f35b6101bc600480360360408110156101a657600080fd5b506001600160a01b038135169060200135610414565b604080519115158252519081900360200190f35b6101d8610432565b60408051918252519081900360200190f35b6101bc6004803603606081101561020057600080fd5b506001600160a01b03813581169160208101359091169060400135610438565b6102286104c0565b6040805160ff9092168252519081900360200190f35b6101bc6004803603604081101561025457600080fd5b506001600160a01b0381351690602001356104c9565b6102876004803603602081101561028057600080fd5b5035610517565b005b6101d86004803603602081101561029f57600080fd5b50356001600160a01b031661063d565b6100f7610658565b610287600480360360208110156102cd57600080fd5b50356106b9565b6101bc600480360360408110156102ea57600080fd5b506001600160a01b0381351690602001356107ae565b6101bc6004803603604081101561031657600080fd5b506001600160a01b038135169060200135610816565b6101d86004803603604081101561034257600080fd5b506001600160a01b038135811691602001351661082a565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103e65780601f106103bb576101008083540402835291602001916103e6565b820191906000526020600020905b8154815290600101906020018083116103c957829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610428610421610855565b8484610859565b5060015b92915050565b60025490565b6000610445848484610945565b6104b584610451610855565b6104b0856040518060600160405280602881526020016112ad602891396001600160a01b038a1660009081526001602052604081209061048f610855565b6001600160a01b031681526020810191909152604001600020549190610aa0565b610859565b5060015b9392505050565b60055460ff1690565b60006104286104d6610855565b846104b085600160006104e7610855565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b37565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d60208110156105b057600080fd5b5051905060006105be610432565b90508015806105cb575081155b156105df576105da3384610b91565b610603565b60006105f5836105ef8685610c81565b90610cda565b90506106013382610b91565b505b6106386001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086610d41565b505050565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103e65780601f106103bb576101008083540402835291602001916103e6565b60006106c3610432565b9050600061076e826105ef7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561073b57600080fd5b505afa15801561074f573d6000803e3d6000fd5b505050506040513d602081101561076557600080fd5b50518690610c81565b905061077a3384610da1565b6106386001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383610e9d565b60006104286107bb610855565b846104b08560405180606001604052806025815260200161136960259139600160006107e5610855565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610aa0565b6000610428610823610855565b8484610945565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661089e5760405162461bcd60e51b815260040180806020018281038252602481526020018061131b6024913960400191505060405180910390fd5b6001600160a01b0382166108e35760405162461bcd60e51b815260040180806020018281038252602281526020018061121e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661098a5760405162461bcd60e51b81526004018080602001828103825260258152602001806112f66025913960400191505060405180910390fd5b6001600160a01b0382166109cf5760405162461bcd60e51b81526004018080602001828103825260238152602001806111d96023913960400191505060405180910390fd5b6109da838383610638565b610a1781604051806060016040528060268152602001611240602691396001600160a01b0386166000908152602081905260409020549190610aa0565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a469082610b37565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610b2f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610af4578181015183820152602001610adc565b50505050905090810190601f168015610b215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156104b9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216610bec576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610bf860008383610638565b600254610c059082610b37565b6002556001600160a01b038216600090815260208190526040902054610c2b9082610b37565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082610c905750600061042c565b82820282848281610c9d57fe5b04146104b95760405162461bcd60e51b815260040180806020018281038252602181526020018061128c6021913960400191505060405180910390fd5b6000808211610d30576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d3957fe5b049392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d9b908590610eeb565b50505050565b6001600160a01b038216610de65760405162461bcd60e51b81526004018080602001828103825260218152602001806112d56021913960400191505060405180910390fd5b610df282600083610638565b610e2f816040518060600160405280602281526020016111fc602291396001600160a01b0385166000908152602081905260409020549190610aa0565b6001600160a01b038316600090815260208190526040902055600254610e559082610f9c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106389084905b6060610f40826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ff99092919063ffffffff16565b80519091501561063857808060200190516020811015610f5f57600080fd5b50516106385760405162461bcd60e51b815260040180806020018281038252602a81526020018061133f602a913960400191505060405180910390fd5b600082821115610ff3576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606110088484600085611010565b949350505050565b6060824710156110515760405162461bcd60e51b81526004018080602001828103825260268152602001806112666026913960400191505060405180910390fd5b61105a8561116c565b6110ab576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106110ea5780518252601f1990920191602091820191016110cb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b5091509150611161828286611172565b979650505050505050565b3b151590565b606083156111815750816104b9565b8251156111915782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610af4578181015183820152602001610adc56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122025148eaa70a174617d24068963110f71aa53676012a076fb3ef16ce5bf3410c364736f6c634300060c00330000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e03

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635f951eab1161008c5780639ca53f82116100665780639ca53f82146102b7578063a457c2d7146102d4578063a9059cbb14610300578063dd62ed3e1461032c576100ea565b80635f951eab1461026a57806370a082311461028957806395d89b41146102af576100ea565b806318160ddd116100c857806318160ddd146101d057806323b872dd146101ea578063313ce56714610220578063395093511461023e576100ea565b806306fdde03146100ef57806308e773441461016c578063095ea7b314610190575b600080fd5b6100f761035a565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610131578181015183820152602001610119565b50505050905090810190601f16801561015e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101746103f0565b604080516001600160a01b039092168252519081900360200190f35b6101bc600480360360408110156101a657600080fd5b506001600160a01b038135169060200135610414565b604080519115158252519081900360200190f35b6101d8610432565b60408051918252519081900360200190f35b6101bc6004803603606081101561020057600080fd5b506001600160a01b03813581169160208101359091169060400135610438565b6102286104c0565b6040805160ff9092168252519081900360200190f35b6101bc6004803603604081101561025457600080fd5b506001600160a01b0381351690602001356104c9565b6102876004803603602081101561028057600080fd5b5035610517565b005b6101d86004803603602081101561029f57600080fd5b50356001600160a01b031661063d565b6100f7610658565b610287600480360360208110156102cd57600080fd5b50356106b9565b6101bc600480360360408110156102ea57600080fd5b506001600160a01b0381351690602001356107ae565b6101bc6004803603604081101561031657600080fd5b506001600160a01b038135169060200135610816565b6101d86004803603604081101561034257600080fd5b506001600160a01b038135811691602001351661082a565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103e65780601f106103bb576101008083540402835291602001916103e6565b820191906000526020600020905b8154815290600101906020018083116103c957829003601f168201915b5050505050905090565b7f0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e0381565b6000610428610421610855565b8484610859565b5060015b92915050565b60025490565b6000610445848484610945565b6104b584610451610855565b6104b0856040518060600160405280602881526020016112ad602891396001600160a01b038a1660009081526001602052604081209061048f610855565b6001600160a01b031681526020810191909152604001600020549190610aa0565b610859565b5060015b9392505050565b60055460ff1690565b60006104286104d6610855565b846104b085600160006104e7610855565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b37565b60007f0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e036001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d60208110156105b057600080fd5b5051905060006105be610432565b90508015806105cb575081155b156105df576105da3384610b91565b610603565b60006105f5836105ef8685610c81565b90610cda565b90506106013382610b91565b505b6106386001600160a01b037f0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e0316333086610d41565b505050565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103e65780601f106103bb576101008083540402835291602001916103e6565b60006106c3610432565b9050600061076e826105ef7f0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e036001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561073b57600080fd5b505afa15801561074f573d6000803e3d6000fd5b505050506040513d602081101561076557600080fd5b50518690610c81565b905061077a3384610da1565b6106386001600160a01b037f0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e03163383610e9d565b60006104286107bb610855565b846104b08560405180606001604052806025815260200161136960259139600160006107e5610855565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610aa0565b6000610428610823610855565b8484610945565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661089e5760405162461bcd60e51b815260040180806020018281038252602481526020018061131b6024913960400191505060405180910390fd5b6001600160a01b0382166108e35760405162461bcd60e51b815260040180806020018281038252602281526020018061121e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661098a5760405162461bcd60e51b81526004018080602001828103825260258152602001806112f66025913960400191505060405180910390fd5b6001600160a01b0382166109cf5760405162461bcd60e51b81526004018080602001828103825260238152602001806111d96023913960400191505060405180910390fd5b6109da838383610638565b610a1781604051806060016040528060268152602001611240602691396001600160a01b0386166000908152602081905260409020549190610aa0565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a469082610b37565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610b2f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610af4578181015183820152602001610adc565b50505050905090810190601f168015610b215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156104b9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216610bec576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610bf860008383610638565b600254610c059082610b37565b6002556001600160a01b038216600090815260208190526040902054610c2b9082610b37565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082610c905750600061042c565b82820282848281610c9d57fe5b04146104b95760405162461bcd60e51b815260040180806020018281038252602181526020018061128c6021913960400191505060405180910390fd5b6000808211610d30576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d3957fe5b049392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d9b908590610eeb565b50505050565b6001600160a01b038216610de65760405162461bcd60e51b81526004018080602001828103825260218152602001806112d56021913960400191505060405180910390fd5b610df282600083610638565b610e2f816040518060600160405280602281526020016111fc602291396001600160a01b0385166000908152602081905260409020549190610aa0565b6001600160a01b038316600090815260208190526040902055600254610e559082610f9c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106389084905b6060610f40826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ff99092919063ffffffff16565b80519091501561063857808060200190516020811015610f5f57600080fd5b50516106385760405162461bcd60e51b815260040180806020018281038252602a81526020018061133f602a913960400191505060405180910390fd5b600082821115610ff3576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606110088484600085611010565b949350505050565b6060824710156110515760405162461bcd60e51b81526004018080602001828103825260268152602001806112666026913960400191505060405180910390fd5b61105a8561116c565b6110ab576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106110ea5780518252601f1990920191602091820191016110cb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b5091509150611161828286611172565b979650505050505050565b3b151590565b606083156111815750816104b9565b8251156111915782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610af4578181015183820152602001610adc56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122025148eaa70a174617d24068963110f71aa53676012a076fb3ef16ce5bf3410c364736f6c634300060c0033

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

0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e03

-----Decoded View---------------
Arg [0] : _vvs (address): 0x2d03bece6747adc00e1a131bba1469c15fd11e03

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002d03bece6747adc00e1a131bba1469c15fd11e03


Deployed ByteCode Sourcemap

34481:1896:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13548:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34597:27;;;:::i;:::-;;;;-1:-1:-1;;;;;34597:27:0;;;;;;;;;;;;;;15694:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15694:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14647:108;;;:::i;:::-;;;;;;;;;;;;;;;;16345:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16345:321:0;;;;;;;;;;;;;;;;;:::i;14491:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17075:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17075:218:0;;;;;;;;:::i;34906:886::-;;;;;;;;;;;;;;;;-1:-1:-1;34906:886:0;;:::i;:::-;;14818:127;;;;;;;;;;;;;;;;-1:-1:-1;14818:127:0;-1:-1:-1;;;;;14818:127:0;;:::i;13758:95::-;;;:::i;35976:398::-;;;;;;;;;;;;;;;;-1:-1:-1;35976:398:0;;:::i;17796:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17796:269:0;;;;;;;;:::i;15158:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15158:175:0;;;;;;;;:::i;15396:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15396:151:0;;;;;;;;;;:::i;13548:91::-;13626:5;13619:12;;;;;;;;-1:-1:-1;;13619:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13593:13;;13619:12;;13626:5;;13619:12;;13626:5;13619:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13548:91;:::o;34597:27::-;;;:::o;15694:169::-;15777:4;15794:39;15803:12;:10;:12::i;:::-;15817:7;15826:6;15794:8;:39::i;:::-;-1:-1:-1;15851:4:0;15694:169;;;;;:::o;14647:108::-;14735:12;;14647:108;:::o;16345:321::-;16451:4;16468:36;16478:6;16486:9;16497:6;16468:9;:36::i;:::-;16515:121;16524:6;16532:12;:10;:12::i;:::-;16546:89;16584:6;16546:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16546:19:0;;;;;;:11;:19;;;;;;16566:12;:10;:12::i;:::-;-1:-1:-1;;;;;16546:33:0;;;;;;;;;;;;-1:-1:-1;16546:33:0;;;:89;:37;:89::i;:::-;16515:8;:121::i;:::-;-1:-1:-1;16654:4:0;16345:321;;;;;;:::o;14491:91::-;14565:9;;;;14491:91;:::o;17075:218::-;17163:4;17180:83;17189:12;:10;:12::i;:::-;17203:7;17212:50;17251:10;17212:11;:25;17224:12;:10;:12::i;:::-;-1:-1:-1;;;;;17212:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17212:25:0;;;:34;;;;;;;;;;;:38;:50::i;34906:886::-;35018:16;35037:3;-1:-1:-1;;;;;35037:13:0;;35059:4;35037:28;;;;;;;;;;;;;-1:-1:-1;;;;;35037:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35037:28:0;;-1:-1:-1;35125:17:0;35145:13;:11;:13::i;:::-;35125:33;-1:-1:-1;35237:14:0;;;:31;;-1:-1:-1;35255:13:0;;35237:31;35233:444;;;35285:26;35291:10;35303:7;35285:5;:26::i;:::-;35233:444;;;35564:18;35585:36;35612:8;35585:22;:7;35597:9;35585:11;:22::i;:::-;:26;;:36::i;:::-;35564:57;;35636:29;35642:10;35654;35636:5;:29::i;:::-;35233:444;;35728:56;-1:-1:-1;;;;;35728:3:0;:20;35749:10;35769:4;35776:7;35728:20;:56::i;:::-;34906:886;;;:::o;14818:127::-;-1:-1:-1;;;;;14919:18:0;14892:7;14919:18;;;;;;;;;;;;14818:127::o;13758:95::-;13838:7;13831:14;;;;;;;;-1:-1:-1;;13831:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13805:13;;13831:14;;13838:7;;13831:14;;13838:7;13831:14;;;;;;;;;;;;;;;;;;;;;;;;35976:398;36078:19;36100:13;:11;:13::i;:::-;36078:35;;36183:27;36213:57;36258:11;36213:40;36224:3;-1:-1:-1;;;;;36224:13:0;;36246:4;36224:28;;;;;;;;;;;;;-1:-1:-1;;;;;36224:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36224:28:0;36213:6;;:10;:40::i;:57::-;36183:87;;36281:25;36287:10;36299:6;36281:5;:25::i;:::-;36317:49;-1:-1:-1;;;;;36317:3:0;:16;36334:10;36346:19;36317:16;:49::i;17796:269::-;17889:4;17906:129;17915:12;:10;:12::i;:::-;17929:7;17938:96;17977:15;17938:96;;;;;;;;;;;;;;;;;:11;:25;17950:12;:10;:12::i;:::-;-1:-1:-1;;;;;17938:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17938:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15158:175::-;15244:4;15261:42;15271:12;:10;:12::i;:::-;15285:9;15296:6;15261:9;:42::i;15396:151::-;-1:-1:-1;;;;;15512:18:0;;;15485:7;15512:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15396:151::o;3552:106::-;3640:10;3552:106;:::o;20943:346::-;-1:-1:-1;;;;;21045:19:0;;21037:68;;;;-1:-1:-1;;;21037:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21124:21:0;;21116:68;;;;-1:-1:-1;;;21116:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21197:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21249:32;;;;;;;;;;;;;;;;;20943:346;;;:::o;18555:539::-;-1:-1:-1;;;;;18661:20:0;;18653:70;;;;-1:-1:-1;;;18653:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18742:23:0;;18734:71;;;;-1:-1:-1;;;18734:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18818:47;18839:6;18847:9;18858:6;18818:20;:47::i;:::-;18898:71;18920:6;18898:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18898:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18878:17:0;;;:9;:17;;;;;;;;;;;:91;;;;19003:20;;;;;;;:32;;19028:6;19003:24;:32::i;:::-;-1:-1:-1;;;;;18980:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;19051:35;;;;;;;18980:20;;19051:35;;;;;;;;;;;;;18555:539;;;:::o;9536:166::-;9622:7;9658:12;9650:6;;;;9642:29;;;;-1:-1:-1;;;9642:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9689:5:0;;;9536:166::o;6709:179::-;6767:7;6799:5;;;6823:6;;;;6815:46;;;;;-1:-1:-1;;;6815:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19376:378;-1:-1:-1;;;;;19460:21:0;;19452:65;;;;;-1:-1:-1;;;19452:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19530:49;19559:1;19563:7;19572:6;19530:20;:49::i;:::-;19607:12;;:24;;19624:6;19607:16;:24::i;:::-;19592:12;:39;-1:-1:-1;;;;;19663:18:0;;:9;:18;;;;;;;;;;;:30;;19686:6;19663:22;:30::i;:::-;-1:-1:-1;;;;;19642:18:0;;:9;:18;;;;;;;;;;;:51;;;;19709:37;;;;;;;19642:18;;:9;;19709:37;;;;;;;;;;19376:378;;:::o;7588:220::-;7646:7;7670:6;7666:20;;-1:-1:-1;7685:1:0;7678:8;;7666:20;7709:5;;;7713:1;7709;:5;:1;7733:5;;;;;:10;7725:56;;;;-1:-1:-1;;;7725:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8286:153;8344:7;8376:1;8372;:5;8364:44;;;;;-1:-1:-1;;;8364:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8430:1;8426;:5;;;;;;;8286:153;-1:-1:-1;;;8286:153:0:o;31315:205::-;31443:68;;;-1:-1:-1;;;;;31443:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31443:68:0;-1:-1:-1;;;31443:68:0;;;31416:96;;31436:5;;31416:19;:96::i;:::-;31315:205;;;;:::o;20087:418::-;-1:-1:-1;;;;;20171:21:0;;20163:67;;;;-1:-1:-1;;;20163:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20243:49;20264:7;20281:1;20285:6;20243:20;:49::i;:::-;20326:68;20349:6;20326:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20326:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;20305:18:0;;:9;:18;;;;;;;;;;:89;20420:12;;:24;;20437:6;20420:16;:24::i;:::-;20405:12;:39;20460:37;;;;;;;;20486:1;;-1:-1:-1;;;;;20460:37:0;;;;;;;;;;;;20087:418;;:::o;31130:177::-;31240:58;;;-1:-1:-1;;;;;31240:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31240:58:0;-1:-1:-1;;;31240:58:0;;;31213:86;;31233:5;;33435:761;33859:23;33885:69;33913:4;33885:69;;;;;;;;;;;;;;;;;33893:5;-1:-1:-1;;;;;33885:27:0;;;:69;;;;;:::i;:::-;33969:17;;33859:95;;-1:-1:-1;33969:21:0;33965:224;;34111:10;34100:30;;;;;;;;;;;;;;;-1:-1:-1;34100:30:0;34092:85;;;;-1:-1:-1;;;34092:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7171:158;7229:7;7262:1;7257;:6;;7249:49;;;;;-1:-1:-1;;;7249:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7316:5:0;;;7171:158::o;26119:195::-;26222:12;26254:52;26276:6;26284:4;26290:1;26293:12;26254:21;:52::i;:::-;26247:59;26119:195;-1:-1:-1;;;;26119:195:0:o;27171:530::-;27298:12;27356:5;27331:21;:30;;27323:81;;;;-1:-1:-1;;;27323:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27423:18;27434:6;27423:10;:18::i;:::-;27415:60;;;;;-1:-1:-1;;;27415:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27549:12;27563:23;27590:6;-1:-1:-1;;;;;27590:11:0;27610:5;27618:4;27590:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27590:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27548:75;;;;27641:52;27659:7;27668:10;27680:12;27641:17;:52::i;:::-;27634:59;27171:530;-1:-1:-1;;;;;;;27171:530:0:o;23201:422::-;23568:20;23607:8;;;23201:422::o;29711:742::-;29826:12;29855:7;29851:595;;;-1:-1:-1;29886:10:0;29879:17;;29851:595;30000:17;;:21;29996:439;;30263:10;30257:17;30324:15;30311:10;30307:2;30303:19;30296:44;30211:148;30399:20;;-1:-1:-1;;;30399:20:0;;;;;;;;;;;;;;;;;30406:12;;30399:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://25148eaa70a174617d24068963110f71aa53676012a076fb3ef16ce5bf3410c3
Loading