Token BeforeCoinMarketCap

 

Overview [ERC-20]

Price
$0.00 @ 0.000000 Eth (-4.14%)
Fully Diluted Market Cap
Max Total Supply:
8,553,027,612.562046437423530807 BCMC1

Holders:
7,193 (0.00%)

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

BeforeCoinMarketCap is a cryptocurrency tracking provider, offering crypto-enthusiasts to find up-to-date information of specific cryptos they are tracking. This platform reward users with valuable information of its own ecosystem token (BCMC1).

Profitability / Loss

Since Initial Offer Price
:$0.00 66.28%

Market

Volume (24H):$300.00
Market Capitalization:$0.00
Circulating Supply:0.00 BCMC1
Market Data Source: Coinmarketcap

IEO Information

IEO Address : 0x703e494E0F0eACdCa7bfab7d7171dE691bD6029e
IEO Start Date : Dec 2, 2020
IEO End Date : Feb 4, 2021
IEO Price : $0.0015
Public Sale Allocation : 1500000000 BCMC1
Raised : 62.77478214990412 ЕТН

# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BeforeCoinMarketCap

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-21
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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


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

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


/**
 * @dev 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.3._
     */
    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.3._
     */
    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);
            }
        }
    }
}


/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  event OwnershipTransferred(
    address indexed previousOwner,
    address indexed newOwner
  );


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function transferOwnership(address _newOwner) public onlyOwner {
    _transferOwnership(_newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address _newOwner) internal {
    require(_newOwner != address(0));
    emit OwnershipTransferred(owner, _newOwner);
    owner = _newOwner;
  }
}


/**
 * @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);
}



/**
 * @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 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 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 { }
}




/**
 * @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");
        }
    }
}


contract IERC20Stake{
    function _beforeTokenTransfer(address from, address to, uint256 amount) public virtual { }
}


// https://developer.makerdao.com/feeds/
// eth_usd rate provider https://etherscan.io/address/0x729D19f657BD0614b4985Cf1D82531c67569197B
contract  IUsdMedianizer{
   function read() view public virtual returns (bytes32) {
       return 0;
   }
}


contract BeforeCoinMarketCap is ERC20, Ownable {
    
    using SafeERC20 for ERC20;

    uint256 _totalSupply = 10000000000 * 1 ether;
    
    //team
    uint256 public constant team_amount_1      = 105000000 * 1 ether; 
    uint256 public constant team_amount_2      = 585000000 * 1 ether; 
    uint256 public constant team_amount_3      = 105000000 * 1 ether; 
    uint256 public constant investor_amount    = 505000000 * 1 ether; 
    uint256 public constant main_wallet_amount = 8700000000 * 1 ether; 
    
    address public constant _wallet_team1 = 0x3C017A49ee7Ff4Db79BBc56e5876Ec6b701fb02f;
    address public constant _wallet_team2 = 0xCF98f1003989EaccF07b91971432c80B5D9589b0;
    address public constant _wallet_team3 = 0x4D00E7e4fF9248c0aaB6C3Ff6b491548c32F09C5;
    address public constant _wallet_investor = 0xe74Fc57a018d04EcF0c67C765e59c5C2eb8bD652;
    address public constant _main_wallet =  0xB51672f88b935567Ae5bc1713EE63C06a77527CE;
    
    //limits
    uint public year_half_limit_date = now + 182 days;  
    uint public year1_limit_date = now + 365 days;  
    uint public year2_limit_date = now + 2*365 days;  
    uint public year3_limit_date = now + 3*365 days;
  
    uint8 public year1_percent = 90;
    uint8 public year2_percent = 80;
    uint8 public year3_percent = 50;
    
    address public stake_contract;
    
    
    constructor() public ERC20("BeforeCoinMarketCap", "BCMC1") {
         
         _mint(msg.sender, _totalSupply);
         
         transfer(_wallet_team1, team_amount_1);
         transfer(_wallet_team2, team_amount_2);
         transfer(_wallet_team3, team_amount_3);
         transfer(_wallet_investor, investor_amount);
         transfer(_main_wallet, main_wallet_amount);
            
    }
    
    function setStakeContract(address newAddress) external onlyOwner{
        stake_contract = newAddress;
    }
    
    function BurnTokens() external onlyOwner{
        
        require(now > year_half_limit_date, "You can burn tokens after half a year");
        
        _burn(address(this), balanceOf(address(this)));
        
    }
    
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override
    {
        uint256 limited_balance = 0;
        
        if(from==_wallet_team1){
           limited_balance = team_amount_1;
        } 
        else if(from==_wallet_team2){
           limited_balance = team_amount_2;
        }  
        else if(from==_wallet_team3){
           limited_balance = team_amount_3;
        }
        else if(from==_wallet_investor){
           limited_balance = investor_amount;
        }
        
        if(limited_balance > 0){
            
            uint8 percent = 0;
            
            if(now<= year1_limit_date){
                percent = year1_percent;
            } 
            else if(now<= year2_limit_date){
                percent = year2_percent;
            }
            else if(now<= year3_limit_date){
                percent = year3_percent;
            }
            
            if(percent > 0){
                require(balanceOf(from) >= limited_balance.mul(percent).div(100).add(amount), "You have limit for withdraw");
            }

        }
        
        if(stake_contract != address(0)){
            IERC20Stake(stake_contract)._beforeTokenTransfer(from, to, amount);
        }
        
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[],"name":"BurnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_main_wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wallet_investor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wallet_team1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wallet_team2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wallet_team3","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"investor_amount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"main_wallet_amount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setStakeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stake_contract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team_amount_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team_amount_2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team_amount_3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"year1_limit_date","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year1_percent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year2_limit_date","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year2_percent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year3_limit_date","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year3_percent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year_half_limit_date","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526b204fce5e3e250261100000006006554262eff10081016007556301e1338081016008556303c2670081016009556305a39a8001600a55600b8054605a60ff199091161761ff0019166150001762ff00001916623200001790553480156200006b57600080fd5b50604080518082018252601381527f4265666f7265436f696e4d61726b65744361700000000000000000000000000060208083019182528351808501909452600584526442434d433160d81b908401528151919291620000ce916003916200094b565b508051620000e49060049060208401906200094b565b505060058054601260ff1990911617610100600160a81b03191661010033908102919091179091556006546200011b925062000200565b62000146733c017a49ee7ff4db79bbc56e5876ec6b701fb02f6a56da9d67d20d7709000000620002fe565b506200017373cf98f1003989eaccf07b91971432c80b5d9589b06b01e3e6918b924b04e9000000620002fe565b506200019f734d00e7e4ff9248c0aab6c3ff6b491548c32f09c56a56da9d67d20d7709000000620002fe565b50620001cc73e74fc57a018d04ecf0c67c765e59c5c2eb8bd6526b01a1b9e8daf240c299000000620002fe565b50620001f973b51672f88b935567ae5bc1713ee63c06a77527ce6b1c1c78a907fc5bab7c000000620002fe565b50620009e7565b6001600160a01b0382166200025c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200026a6000838362000320565b6200028681600254620005b160201b620009c71790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620002b9918390620009c7620005b1821b17901c565b6001600160a01b03831660008181526020818152604080832094909455835185815293519293919260008051602062001e328339815191529281900390910190a35050565b6000620003166200030e62000613565b848462000617565b5060015b92915050565b60006001600160a01b038416733c017a49ee7ff4db79bbc56e5876ec6b701fb02f14156200035b57506a56da9d67d20d770900000062000403565b6001600160a01b03841673cf98f1003989eaccf07b91971432c80b5d9589b014156200039557506b01e3e6918b924b04e900000062000403565b6001600160a01b038416734d00e7e4ff9248c0aab6c3ff6b491548c32f09c51415620003ce57506a56da9d67d20d770900000062000403565b6001600160a01b03841673e74fc57a018d04ecf0c67c765e59c5c2eb8bd65214156200040357506b01a1b9e8daf240c2990000005b8015620005125760006008544211620004235750600b5460ff1662000457565b60095442116200043f5750600b54610100900460ff1662000457565b600a544211620004575750600b5462010000900460ff165b60ff8116156200051057620004b1836200049d6064620004898560ff16876200078460201b62000a281790919060201c565b620007e260201b62000a811790919060201c565b620005b160201b620009c71790919060201c565b620004bc866200082c565b101562000510576040805162461bcd60e51b815260206004820152601b60248201527f596f752068617665206c696d697420666f722077697468647261770000000000604482015290519081900360640190fd5b505b600b54630100000090046001600160a01b031615620005ab57600b546040805163cad3be8360e01b81526001600160a01b038781166004830152868116602483015260448201869052915163010000009093049091169163cad3be839160648082019260009290919082900301818387803b1580156200059157600080fd5b505af1158015620005a6573d6000803e3d6000fd5b505050505b50505050565b6000828201838110156200060c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166200065e5760405162461bcd60e51b815260040180806020018281038252602581526020018062001e526025913960400191505060405180910390fd5b6001600160a01b038216620006a55760405162461bcd60e51b815260040180806020018281038252602381526020018062001dc86023913960400191505060405180910390fd5b620006b283838362000320565b620006fd8160405180606001604052806026815260200162001deb602691396001600160a01b0386166000908152602081815260409091205492919062000ac362000847821b17901c565b6001600160a01b0380851660009081526020818152604080832094909455918516815291909120546200073b918390620009c7620005b1821b17901c565b6001600160a01b0380841660008181526020818152604091829020949094558051858152905191939287169260008051602062001e3283398151915292918290030190a3505050565b60008262000795575060006200031a565b82820282848281620007a357fe5b04146200060c5760405162461bcd60e51b815260040180806020018281038252602181526020018062001e116021913960400191505060405180910390fd5b60006200060c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620008e260201b60201c565b6001600160a01b031660009081526020819052604090205490565b60008184841115620008da5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200089e57818101518382015260200162000884565b50505050905090810190601f168015620008cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183620009345760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156200089e57818101518382015260200162000884565b5060008385816200094157fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200098e57805160ff1916838001178555620009be565b82800160010185558215620009be579182015b82811115620009be578251825591602001919060010190620009a1565b50620009cc929150620009d0565b5090565b5b80821115620009cc5760008155600101620009d1565b6113d180620009f76000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063509484d51161011a578063af7a2cd9116100ad578063dd62ed3e1161007c578063dd62ed3e146104a1578063e0d84a7d146104cf578063e3b5d0ef146104d7578063f2e2ce08146104df578063f2fde38b146104e7576101fb565b8063af7a2cd914610481578063b27856b214610489578063b39f8f3f14610491578063ba04da7914610499576101fb565b806395d89b41116100e957806395d89b41146104195780639f31daf214610421578063a457c2d714610429578063a9059cbb14610455576101fb565b8063509484d5146103c557806370a08231146103eb5780638a3e5332146102005780638da5cb5b14610411576101fb565b806323b872dd1161019257806342c637601161016157806342c63760146103a5578063466c324c146103ad5780634c923e22146103b55780634d0bd033146103bd576101fb565b806323b872dd146103175780632f4b48031461034d578063313ce567146103715780633950935114610379576101fb565b80630968e3d4116101ce5780630968e3d4146102df57806318160ddd146102e75780631895999f146102ef5780631dfe341f1461030d576101fb565b806301b0809b14610200578063032a90781461021a57806306fdde0314610222578063095ea7b31461029f575b600080fd5b61020861050d565b60408051918252519081900360200190f35b61020861051c565b61022a610522565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102cb600480360360408110156102b557600080fd5b506001600160a01b0381351690602001356105b8565b604080519115158252519081900360200190f35b6102086105d6565b6102086105e6565b6102f76105ec565b6040805160ff9092168252519081900360200190f35b6103156105f5565b005b6102cb6004803603606081101561032d57600080fd5b506001600160a01b03813581169160208101359091169060400135610665565b6103556106ec565b604080516001600160a01b039092168252519081900360200190f35b6102f7610704565b6102cb6004803603604081101561038f57600080fd5b506001600160a01b03813516906020013561070d565b61035561075b565b610208610773565b610208610779565b61020861077f565b610315600480360360208110156103db57600080fd5b50356001600160a01b031661078f565b6102086004803603602081101561040157600080fd5b50356001600160a01b03166107d7565b6103556107f2565b61022a610806565b610208610867565b6102cb6004803603604081101561043f57600080fd5b506001600160a01b03813516906020013561086d565b6102cb6004803603604081101561046b57600080fd5b506001600160a01b0381351690602001356108d5565b6103556108e9565b6102f7610901565b6102f7610910565b61035561091e565b610208600480360360408110156104b757600080fd5b506001600160a01b0381358116916020013516610934565b61035561095f565b610208610977565b610355610987565b610315600480360360208110156104fd57600080fd5b50356001600160a01b031661099f565b6a56da9d67d20d770900000081565b60085481565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ae5780601f10610583576101008083540402835291602001916105ae565b820191906000526020600020905b81548152906001019060200180831161059157829003601f168201915b5050505050905090565b60006105cc6105c5610b5a565b8484610b5e565b5060015b92915050565b6b1c1c78a907fc5bab7c00000081565b60025490565b600b5460ff1681565b60055461010090046001600160a01b0316331461061157600080fd5b60075442116106515760405162461bcd60e51b815260040180806020018281038252602581526020018061129f6025913960400191505060405180910390fd5b6106633061065e306107d7565b610c4a565b565b6000610672848484610d46565b6106e28461067e610b5a565b6106dd856040518060600160405280602881526020016112e5602891396001600160a01b038a166000908152600160205260408120906106bc610b5a565b6001600160a01b031681526020810191909152604001600020549190610ac3565b610b5e565b5060019392505050565b73e74fc57a018d04ecf0c67c765e59c5c2eb8bd65281565b60055460ff1690565b60006105cc61071a610b5a565b846106dd856001600061072b610b5a565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906109c7565b733c017a49ee7ff4db79bbc56e5876ec6b701fb02f81565b60075481565b600a5481565b6b01e3e6918b924b04e900000081565b60055461010090046001600160a01b031633146107ab57600080fd5b600b80546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b6001600160a01b031660009081526020819052604090205490565b60055461010090046001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ae5780601f10610583576101008083540402835291602001916105ae565b60095481565b60006105cc61087a610b5a565b846106dd8560405180606001604052806025815260200161137760259139600160006108a4610b5a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610ac3565b60006105cc6108e2610b5a565b8484610d46565b73cf98f1003989eaccf07b91971432c80b5d9589b081565b600b5462010000900460ff1681565b600b54610100900460ff1681565b600b54630100000090046001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b734d00e7e4ff9248c0aab6c3ff6b491548c32f09c581565b6b01a1b9e8daf240c29900000081565b73b51672f88b935567ae5bc1713ee63c06a77527ce81565b60055461010090046001600160a01b031633146109bb57600080fd5b6109c481610ea1565b50565b600082820183811015610a21576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082610a37575060006105d0565b82820282848281610a4457fe5b0414610a215760405162461bcd60e51b81526004018080602001828103825260218152602001806112c46021913960400191505060405180910390fd5b6000610a2183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610f1b565b60008184841115610b525760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b17578181015183820152602001610aff565b50505050905090810190601f168015610b445780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3390565b6001600160a01b038316610ba35760405162461bcd60e51b81526004018080602001828103825260248152602001806113536024913960400191505060405180910390fd5b6001600160a01b038216610be85760405162461bcd60e51b81526004018080602001828103825260228152602001806112576022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610c8f5760405162461bcd60e51b815260040180806020018281038252602181526020018061130d6021913960400191505060405180910390fd5b610c9b82600083610f80565b610cd881604051806060016040528060228152602001611235602291396001600160a01b0385166000908152602081905260409020549190610ac3565b6001600160a01b038316600090815260208190526040902055600254610cfe90826111cf565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038316610d8b5760405162461bcd60e51b815260040180806020018281038252602581526020018061132e6025913960400191505060405180910390fd5b6001600160a01b038216610dd05760405162461bcd60e51b81526004018080602001828103825260238152602001806112126023913960400191505060405180910390fd5b610ddb838383610f80565b610e1881604051806060016040528060268152602001611279602691396001600160a01b0386166000908152602081905260409020549190610ac3565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e4790826109c7565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038116610eb457600080fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60008183610f6a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610b17578181015183820152602001610aff565b506000838581610f7657fe5b0495945050505050565b60006001600160a01b038416733c017a49ee7ff4db79bbc56e5876ec6b701fb02f1415610fb957506a56da9d67d20d770900000061105c565b6001600160a01b03841673cf98f1003989eaccf07b91971432c80b5d9589b01415610ff157506b01e3e6918b924b04e900000061105c565b6001600160a01b038416734d00e7e4ff9248c0aab6c3ff6b491548c32f09c5141561102857506a56da9d67d20d770900000061105c565b6001600160a01b03841673e74fc57a018d04ecf0c67c765e59c5c2eb8bd652141561105c57506b01a1b9e8daf240c2990000005b801561113357600060085442116110795750600b5460ff166110aa565b60095442116110935750600b54610100900460ff166110aa565b600a5442116110aa5750600b5462010000900460ff165b60ff811615611131576110d5836110cf60646110c98660ff8716610a28565b90610a81565b906109c7565b6110de866107d7565b1015611131576040805162461bcd60e51b815260206004820152601b60248201527f596f752068617665206c696d697420666f722077697468647261770000000000604482015290519081900360640190fd5b505b600b54630100000090046001600160a01b0316156111c957600b546040805163cad3be8360e01b81526001600160a01b038781166004830152868116602483015260448201869052915163010000009093049091169163cad3be839160648082019260009290919082900301818387803b1580156111b057600080fd5b505af11580156111c4573d6000803e3d6000fd5b505050505b50505050565b6000610a2183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ac356fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365596f752063616e206275726e20746f6b656e732061667465722068616c6620612079656172536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122064ba3e3ccec31238d67a15e2c8906d2bc19b777eefbc8fd7aabde023f8a7b1c764736f6c634300060c003345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373

Deployed ByteCode Sourcemap

33115:3467:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33278:64;;;:::i;:::-;;;;;;;;;;;;;;;;34171:45;;;:::i;20266:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22372:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22372:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;33566:65;;;:::i;21341:100::-;;;:::i;34339:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35046:222;;;:::i;:::-;;23023:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23023:321:0;;;;;;;;;;;;;;;;;:::i;33912:85::-;;;:::i;:::-;;;;-1:-1:-1;;;;;33912:85:0;;;;;;;;;;;;;;21193:83;;;:::i;23753:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23753:218:0;;;;;;;;:::i;33645:82::-;;;:::i;34113:49::-;;;:::i;34281:47::-;;;:::i;33350:64::-;;;:::i;34924:110::-;;;;;;;;;;;;;;;;-1:-1:-1;34924:110:0;-1:-1:-1;;;;;34924:110:0;;:::i;21504:119::-;;;;;;;;;;;;;;;;-1:-1:-1;21504:119:0;-1:-1:-1;;;;;21504:119:0;;:::i;14427:20::-;;;:::i;20468:87::-;;;:::i;34225:47::-;;;:::i;24474:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24474:269:0;;;;;;;;:::i;21836:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21836:175:0;;;;;;;;:::i;33734:82::-;;;:::i;34415:31::-;;;:::i;34377:::-;;;:::i;34459:29::-;;;:::i;22074:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22074:151:0;;;;;;;;;;:::i;33823:82::-;;;:::i;33494:64::-;;;:::i;34004:82::-;;;:::i;15058:105::-;;;;;;;;;;;;;;;;-1:-1:-1;15058:105:0;-1:-1:-1;;;;;15058:105:0;;:::i;33278:64::-;33323:19;33278:64;:::o;34171:45::-;;;;:::o;20266:83::-;20336:5;20329:12;;;;;;;;-1:-1:-1;;20329:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20303:13;;20329:12;;20336:5;;20329:12;;20336:5;20329:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20266:83;:::o;22372:169::-;22455:4;22472:39;22481:12;:10;:12::i;:::-;22495:7;22504:6;22472:8;:39::i;:::-;-1:-1:-1;22529:4:0;22372:169;;;;;:::o;33566:65::-;33611:20;33566:65;:::o;21341:100::-;21421:12;;21341:100;:::o;34339:31::-;;;;;;:::o;35046:222::-;14870:5;;;;;-1:-1:-1;;;;;14870:5:0;14856:10;:19;14848:28;;;;;;35121:20:::1;;35115:3;:26;35107:76;;;;-1:-1:-1::0;;;35107:76:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35204:46;35218:4;35225:24;35243:4;35225:9;:24::i;:::-;35204:5;:46::i;:::-;35046:222::o:0;23023:321::-;23129:4;23146:36;23156:6;23164:9;23175:6;23146:9;:36::i;:::-;23193:121;23202:6;23210:12;:10;:12::i;:::-;23224:89;23262:6;23224:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23224:19:0;;;;;;:11;:19;;;;;;23244:12;:10;:12::i;:::-;-1:-1:-1;;;;;23224:33:0;;;;;;;;;;;;-1:-1:-1;23224:33:0;;;:89;:37;:89::i;:::-;23193:8;:121::i;:::-;-1:-1:-1;23332:4:0;23023:321;;;;;:::o;33912:85::-;33955:42;33912:85;:::o;21193:83::-;21259:9;;;;21193:83;:::o;23753:218::-;23841:4;23858:83;23867:12;:10;:12::i;:::-;23881:7;23890:50;23929:10;23890:11;:25;23902:12;:10;:12::i;:::-;-1:-1:-1;;;;;23890:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;23890:25:0;;;:34;;;;;;;;;;;:38;:50::i;33645:82::-;33685:42;33645:82;:::o;34113:49::-;;;;:::o;34281:47::-;;;;:::o;33350:64::-;33395:19;33350:64;:::o;34924:110::-;14870:5;;;;;-1:-1:-1;;;;;14870:5:0;14856:10;:19;14848:28;;;;;;34999:14:::1;:27:::0;;-1:-1:-1;;;;;34999:27:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;34999:27:0;;::::1;::::0;;;::::1;::::0;;34924:110::o;21504:119::-;-1:-1:-1;;;;;21597:18:0;21570:7;21597:18;;;;;;;;;;;;21504:119::o;14427:20::-;;;;;;-1:-1:-1;;;;;14427:20:0;;:::o;20468:87::-;20540:7;20533:14;;;;;;;;-1:-1:-1;;20533:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20507:13;;20533:14;;20540:7;;20533:14;;20540:7;20533:14;;;;;;;;;;;;;;;;;;;;;;;;34225:47;;;;:::o;24474:269::-;24567:4;24584:129;24593:12;:10;:12::i;:::-;24607:7;24616:96;24655:15;24616:96;;;;;;;;;;;;;;;;;:11;:25;24628:12;:10;:12::i;:::-;-1:-1:-1;;;;;24616:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24616:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;21836:175::-;21922:4;21939:42;21949:12;:10;:12::i;:::-;21963:9;21974:6;21939:9;:42::i;33734:82::-;33774:42;33734:82;:::o;34415:31::-;;;;;;;;;:::o;34377:::-;;;;;;;;;:::o;34459:29::-;;;;;;-1:-1:-1;;;;;34459:29:0;;:::o;22074:151::-;-1:-1:-1;;;;;22190:18:0;;;22163:7;22190:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22074:151::o;33823:82::-;33863:42;33823:82;:::o;33494:64::-;33539:19;33494:64;:::o;34004:82::-;34044:42;34004:82;:::o;15058:105::-;14870:5;;;;;-1:-1:-1;;;;;14870:5:0;14856:10;:19;14848:28;;;;;;15128:29:::1;15147:9;15128:18;:29::i;:::-;15058:105:::0;:::o;907:181::-;965:7;997:5;;;1021:6;;;;1013:46;;;;;-1:-1:-1;;;1013:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1079:1;907:181;-1:-1:-1;;;907:181:0:o;2261:471::-;2319:7;2564:6;2560:47;;-1:-1:-1;2594:1:0;2587:8;;2560:47;2631:5;;;2635:1;2631;:5;:1;2655:5;;;;;:10;2647:56;;;;-1:-1:-1;;;2647:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3208:132;3266:7;3293:39;3297:1;3300;3293:39;;;;;;;;;;;;;;;;;:3;:39::i;1810:192::-;1896:7;1932:12;1924:6;;;;1916:29;;;;-1:-1:-1;;;1916:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1968:5:0;;;1810:192::o;5912:106::-;6000:10;5912:106;:::o;27621:346::-;-1:-1:-1;;;;;27723:19:0;;27715:68;;;;-1:-1:-1;;;27715:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27802:21:0;;27794:68;;;;-1:-1:-1;;;27794:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27875:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;27927:32;;;;;;;;;;;;;;;;;27621:346;;;:::o;26765:418::-;-1:-1:-1;;;;;26849:21:0;;26841:67;;;;-1:-1:-1;;;26841:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26921:49;26942:7;26959:1;26963:6;26921:20;:49::i;:::-;27004:68;27027:6;27004:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27004:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;26983:18:0;;:9;:18;;;;;;;;;;:89;27098:12;;:24;;27115:6;27098:16;:24::i;:::-;27083:12;:39;27138:37;;;;;;;;27164:1;;-1:-1:-1;;;;;27138:37:0;;;;;;;;;;;;26765:418;;:::o;25233:539::-;-1:-1:-1;;;;;25339:20:0;;25331:70;;;;-1:-1:-1;;;25331:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25420:23:0;;25412:71;;;;-1:-1:-1;;;25412:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25496:47;25517:6;25525:9;25536:6;25496:20;:47::i;:::-;25576:71;25598:6;25576:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25576:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;25556:17:0;;;:9;:17;;;;;;;;;;;:91;;;;25681:20;;;;;;;:32;;25706:6;25681:24;:32::i;:::-;-1:-1:-1;;;;;25658:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;25729:35;;;;;;;25658:20;;25729:35;;;;;;;;;;;;;25233:539;;;:::o;15304:175::-;-1:-1:-1;;;;;15375:23:0;;15367:32;;;;;;15432:5;;15411:38;;-1:-1:-1;;;;;15411:38:0;;;;15432:5;;;;;15411:38;;;;;15456:5;:17;;-1:-1:-1;;;;;15456:17:0;;;;;-1:-1:-1;;;;;;15456:17:0;;;;;;;;;15304:175::o;3836:278::-;3922:7;3957:12;3950:5;3942:28;;;;-1:-1:-1;;;3942:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3981:9;3997:1;3993;:5;;;;;;;3836:278;-1:-1:-1;;;;;3836:278:0:o;35280:1297::-;35386:23;-1:-1:-1;;;;;35437:19:0;;33685:42;35437:19;35434:373;;;-1:-1:-1;33323:19:0;35434:373;;;-1:-1:-1;;;;;35533:19:0;;33774:42;35533:19;35530:277;;;-1:-1:-1;33395:19:0;35530:277;;;-1:-1:-1;;;;;35630:19:0;;33863:42;35630:19;35627:180;;;-1:-1:-1;33467:19:0;35627:180;;;-1:-1:-1;;;;;35725:22:0;;33955:42;35725:22;35722:85;;;-1:-1:-1;33539:19:0;35722:85;35830:19;;35827:588;;35879:13;35934:16;;35928:3;:22;35925:291;;-1:-1:-1;35980:13:0;;;;35925:291;;;36038:16;;36032:3;:22;36029:187;;-1:-1:-1;36084:13:0;;;;;;;36029:187;;;36141:16;;36135:3;:22;36132:84;;-1:-1:-1;36187:13:0;;;;;;;36132:84;36247:11;;;;36244:158;;36305:49;36347:6;36305:37;36338:3;36305:28;:15;:28;;;:19;:28::i;:::-;:32;;:37::i;:::-;:41;;:49::i;:::-;36286:15;36296:4;36286:9;:15::i;:::-;:68;;36278:108;;;;;-1:-1:-1;;;36278:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35827:588;;36438:14;;;;;-1:-1:-1;;;;;36438:14:0;:28;36435:125;;36494:14;;36482:66;;;-1:-1:-1;;;36482:66:0;;-1:-1:-1;;;;;36482:66:0;;;;;;;;;;;;;;;;;;;;;;36494:14;;;;;;;;36482:48;;:66;;;;;-1:-1:-1;;36482:66:0;;;;;;;;-1:-1:-1;36494:14:0;36482:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36435:125;35280:1297;;;;:::o;1371:136::-;1429:7;1456:43;1460:1;1463;1456:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

ipfs://64ba3e3ccec31238d67a15e2c8906d2bc19b777eefbc8fd7aabde023f8a7b1c7

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.