ETH Price: $3,120.35 (+0.62%)

Token

bloXmove Token (BLXM)
 

Overview

Max Total Supply

50,000,000 BLXM

Holders

1,145 ( -0.087%)

Market

Price

$0.05 @ 0.000016 ETH (-1.18%)

Onchain Market Cap

$2,477,971.00

Circulating Supply Market Cap

$836,755.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 BLXM

Value
$0.00
0x7a7d0a5f733d838dfbd572a3eb43b3d9cf12853b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

BLXM is the token for #DeMo - Decentralized Mobility

Market

Volume (24H):$672.61
Market Capitalization:$836,755.00
Circulating Supply:16,883,880.00 BLXM
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BloXmoveToken

Compiler Version
v0.7.3+commit.9bfce1f6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : BloXmoveToken.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.7.3;

import "@openzeppelin/contracts/introspection/ERC165.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/**
 * @title bloXmove ERC20 Contract.
 */
contract BloXmoveToken is ERC20, ERC165 {
    using SafeMath for uint256;

    /**
     * @dev mint the tokens, register the ERC20 interface.
     * The total supply is 50000000 tokens
     *
     * @param _grantsManagerAddr the address of the multi-sig wallet responsible for add Grants in the Vesting contract.
     * @param _foundationAddr the address of the wallet responsible for market making.
     * @param _publicSaleAddr the address of the multi-sig wallet responsible for public sale.
     * @param _grantsSupply the amount of token to be locked as Grants to private investors (currently estimated 49000000 tokens)
     * @param _marketmakingSupply the amount of token for the market making (currently estimated 500000 tokens)
     * @param _publicSaleSupply the amount of token for the public sale (currently estimated 500000 tokens)
     *
     * Emits a {Transfer} event three times.
     */
    constructor(
        address _grantsManagerAddr,
        address _foundationAddr,
        address _publicSaleAddr,
        uint256 _grantsSupply,
        uint256 _marketmakingSupply,
        uint256 _publicSaleSupply
    ) ERC20("bloXmove Token", "BLXM") {
        require(
            _grantsSupply.add(_marketmakingSupply).add(_publicSaleSupply) ==
                50000000000000000000000000,
            "ERC20: Wrong total supply"
        );
        _mint(_grantsManagerAddr, _grantsSupply);
        _mint(_foundationAddr, _marketmakingSupply);
        _mint(_publicSaleAddr, _publicSaleSupply);
        _registerInterface(type(IERC20).interfaceId);
        _registerInterface(ERC20.name.selector);
        _registerInterface(ERC20.symbol.selector);
        _registerInterface(ERC20.decimals.selector);
    }

    /**
     * @dev Not supported receive function.
     */
    receive() external payable {
        revert("Not supported receive function");
    }

    /**
     * @dev Not supported fallback function.
     */
    fallback() external payable {
        revert("Not supported fallback function");
    }

    /**
     * @dev Bulk transfer which gets an array of addresses and an array of values to transfer.
     * @param _to the array of addresses receiving the transfers
     * @param _values the amount of tokens (unit 1/18) for each transfer
     *
     * Requirements:
     *
     * - Both arrays have equal length
     * - Inherits the requirements from the transfer function
     *
     * @return true after finishing all transfers successfully.
     */
    function bulkTransfer(address[] calldata _to, uint256[] calldata _values)
        external
        returns (bool)
    {
        require(_to.length == _values.length, "Not the same length");
        for (uint256 i = 0; i < _to.length; i++) {
            require(transfer(_to[i], _values[i]), "Transfer Error");
        }
        return true;
    }
}

File 2 of 7 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

File 3 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";

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

    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_) {
        _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 4 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT

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 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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 7 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_grantsManagerAddr","type":"address"},{"internalType":"address","name":"_foundationAddr","type":"address"},{"internalType":"address","name":"_publicSaleAddr","type":"address"},{"internalType":"uint256","name":"_grantsSupply","type":"uint256"},{"internalType":"uint256","name":"_marketmakingSupply","type":"uint256"},{"internalType":"uint256","name":"_publicSaleSupply","type":"uint256"}],"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"}],"name":"bulkTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620011d9380380620011d9833981810160405260c08110156200003757600080fd5b5080516020808301516040808501516060860151608087015160a09097015183518085018552600e81526d313637ac36b7bb32902a37b5b2b760911b81880190815285518087019096526004865263424c584d60e01b97860197909752805197989597939692959491939092620000b29160039190620003ef565b508051620000c8906004906020840190620003ef565b50506005805460ff1916601217905550620000ea6301ffc9a760e01b620001f4565b6200011d816200010984866200027960201b620008bf1790919060201c565b6200027960201b620008bf1790919060201c565b6a295be96e64066972000000146200017c576040805162461bcd60e51b815260206004820152601960248201527f45524332303a2057726f6e6720746f74616c20737570706c7900000000000000604482015290519081900360640190fd5b620001888684620002db565b620001948583620002db565b620001a08482620002db565b620001b26336372b0760e01b620001f4565b620001c46306fdde0360e01b620001f4565b620001d66395d89b4160e01b620001f4565b620001e863313ce56760e01b620001f4565b5050505050506200048b565b6001600160e01b0319808216141562000254576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600660205260409020805460ff19166001179055565b600082820183811015620002d4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821662000337576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200034560008383620003ea565b62000361816002546200027960201b620008bf1790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000394918390620008bf62000279821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200043257805160ff191683800117855562000462565b8280016001018555821562000462579182015b828111156200046257825182559160200191906001019062000445565b506200047092915062000474565b5090565b5b8082111562000470576000815560010162000475565b610d3e806200049b6000396000f3fe6080604052600436106100c65760003560e01c8063313ce5671161007f57806395d89b411161005957806395d89b4114610440578063a457c2d714610455578063a9059cbb1461048e578063dd62ed3e146104c757610118565b8063313ce567146103a957806339509351146103d457806370a082311461040d57610118565b806301ffc9a71461016557806306fdde03146101ad578063095ea7b314610237578063153a1f3e1461027057806318160ddd1461033f57806323b872dd1461036657610118565b36610118576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420737570706f7274656420726563656976652066756e6374696f6e0000604482015290519081900360640190fd5b6040805162461bcd60e51b815260206004820152601f60248201527f4e6f7420737570706f727465642066616c6c6261636b2066756e6374696f6e00604482015290519081900360640190fd5b34801561017157600080fd5b506101996004803603602081101561018857600080fd5b50356001600160e01b031916610502565b604080519115158252519081900360200190f35b3480156101b957600080fd5b506101c2610521565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fc5781810151838201526020016101e4565b50505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561024357600080fd5b506101996004803603604081101561025a57600080fd5b506001600160a01b0381351690602001356105b7565b34801561027c57600080fd5b506101996004803603604081101561029357600080fd5b8101906020810181356401000000008111156102ae57600080fd5b8201836020820111156102c057600080fd5b803590602001918460208302840111640100000000831117156102e257600080fd5b91939092909160208101903564010000000081111561030057600080fd5b82018360208201111561031257600080fd5b8035906020019184602083028401116401000000008311171561033457600080fd5b5090925090506105d4565b34801561034b57600080fd5b506103546106b8565b60408051918252519081900360200190f35b34801561037257600080fd5b506101996004803603606081101561038957600080fd5b506001600160a01b038135811691602081013590911690604001356106be565b3480156103b557600080fd5b506103be610745565b6040805160ff9092168252519081900360200190f35b3480156103e057600080fd5b50610199600480360360408110156103f757600080fd5b506001600160a01b03813516906020013561074e565b34801561041957600080fd5b506103546004803603602081101561043057600080fd5b50356001600160a01b031661079c565b34801561044c57600080fd5b506101c26107b7565b34801561046157600080fd5b506101996004803603604081101561047857600080fd5b506001600160a01b038135169060200135610818565b34801561049a57600080fd5b50610199600480360360408110156104b157600080fd5b506001600160a01b038135169060200135610880565b3480156104d357600080fd5b50610354600480360360408110156104ea57600080fd5b506001600160a01b0381358116916020013516610894565b6001600160e01b03191660009081526006602052604090205460ff1690565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b60006105cb6105c4610920565b8484610924565b50600192915050565b6000838214610620576040805162461bcd60e51b815260206004820152601360248201527209cdee840e8d0ca40e6c2daca40d8cadccee8d606b1b604482015290519081900360640190fd5b60005b848110156106ac5761066286868381811061063a57fe5b905060200201356001600160a01b031685858481811061065657fe5b90506020020135610880565b6106a4576040805162461bcd60e51b815260206004820152600e60248201526d2a3930b739b332b91022b93937b960911b604482015290519081900360640190fd5b600101610623565b50600195945050505050565b60025490565b60006106cb848484610a10565b61073b846106d7610920565b61073685604051806060016040528060288152602001610c73602891396001600160a01b038a16600090815260016020526040812090610715610920565b6001600160a01b031681526020810191909152604001600020549190610b6b565b610924565b5060019392505050565b60055460ff1690565b60006105cb61075b610920565b84610736856001600061076c610920565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906108bf565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ad5780601f10610582576101008083540402835291602001916105ad565b60006105cb610825610920565b8461073685604051806060016040528060258152602001610ce4602591396001600061084f610920565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b6b565b60006105cb61088d610920565b8484610a10565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600082820183811015610919576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166109695760405162461bcd60e51b8152600401808060200182810382526024815260200180610cc06024913960400191505060405180910390fd5b6001600160a01b0382166109ae5760405162461bcd60e51b8152600401808060200182810382526022815260200180610c2b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a555760405162461bcd60e51b8152600401808060200182810382526025815260200180610c9b6025913960400191505060405180910390fd5b6001600160a01b038216610a9a5760405162461bcd60e51b8152600401808060200182810382526023815260200180610c086023913960400191505060405180910390fd5b610aa5838383610c02565b610ae281604051806060016040528060268152602001610c4d602691396001600160a01b0386166000908152602081905260409020549190610b6b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610b1190826108bf565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610bfa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bbf578181015183820152602001610ba7565b50505050905090810190601f168015610bec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205368bc375edcd2e59e717f8a7fc3f08a5d63e3cefcaaa414294373e4fc4cdbc364736f6c634300070300330000000000000000000000003ce099bdbb0082fd28ba992f88334cb9bad4e2a30000000000000000000000002cd40b5ff501d8ee3a2ded01227660dc051d959000000000000000000000000049cedf639f0e6ed75a58489dd11f2f30bd06e64a00000000000000000000000000000000000000000028f208607c9ff2a18000000000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000034f086f3b33b68400000

Deployed Bytecode

0x6080604052600436106100c65760003560e01c8063313ce5671161007f57806395d89b411161005957806395d89b4114610440578063a457c2d714610455578063a9059cbb1461048e578063dd62ed3e146104c757610118565b8063313ce567146103a957806339509351146103d457806370a082311461040d57610118565b806301ffc9a71461016557806306fdde03146101ad578063095ea7b314610237578063153a1f3e1461027057806318160ddd1461033f57806323b872dd1461036657610118565b36610118576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420737570706f7274656420726563656976652066756e6374696f6e0000604482015290519081900360640190fd5b6040805162461bcd60e51b815260206004820152601f60248201527f4e6f7420737570706f727465642066616c6c6261636b2066756e6374696f6e00604482015290519081900360640190fd5b34801561017157600080fd5b506101996004803603602081101561018857600080fd5b50356001600160e01b031916610502565b604080519115158252519081900360200190f35b3480156101b957600080fd5b506101c2610521565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fc5781810151838201526020016101e4565b50505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561024357600080fd5b506101996004803603604081101561025a57600080fd5b506001600160a01b0381351690602001356105b7565b34801561027c57600080fd5b506101996004803603604081101561029357600080fd5b8101906020810181356401000000008111156102ae57600080fd5b8201836020820111156102c057600080fd5b803590602001918460208302840111640100000000831117156102e257600080fd5b91939092909160208101903564010000000081111561030057600080fd5b82018360208201111561031257600080fd5b8035906020019184602083028401116401000000008311171561033457600080fd5b5090925090506105d4565b34801561034b57600080fd5b506103546106b8565b60408051918252519081900360200190f35b34801561037257600080fd5b506101996004803603606081101561038957600080fd5b506001600160a01b038135811691602081013590911690604001356106be565b3480156103b557600080fd5b506103be610745565b6040805160ff9092168252519081900360200190f35b3480156103e057600080fd5b50610199600480360360408110156103f757600080fd5b506001600160a01b03813516906020013561074e565b34801561041957600080fd5b506103546004803603602081101561043057600080fd5b50356001600160a01b031661079c565b34801561044c57600080fd5b506101c26107b7565b34801561046157600080fd5b506101996004803603604081101561047857600080fd5b506001600160a01b038135169060200135610818565b34801561049a57600080fd5b50610199600480360360408110156104b157600080fd5b506001600160a01b038135169060200135610880565b3480156104d357600080fd5b50610354600480360360408110156104ea57600080fd5b506001600160a01b0381358116916020013516610894565b6001600160e01b03191660009081526006602052604090205460ff1690565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b60006105cb6105c4610920565b8484610924565b50600192915050565b6000838214610620576040805162461bcd60e51b815260206004820152601360248201527209cdee840e8d0ca40e6c2daca40d8cadccee8d606b1b604482015290519081900360640190fd5b60005b848110156106ac5761066286868381811061063a57fe5b905060200201356001600160a01b031685858481811061065657fe5b90506020020135610880565b6106a4576040805162461bcd60e51b815260206004820152600e60248201526d2a3930b739b332b91022b93937b960911b604482015290519081900360640190fd5b600101610623565b50600195945050505050565b60025490565b60006106cb848484610a10565b61073b846106d7610920565b61073685604051806060016040528060288152602001610c73602891396001600160a01b038a16600090815260016020526040812090610715610920565b6001600160a01b031681526020810191909152604001600020549190610b6b565b610924565b5060019392505050565b60055460ff1690565b60006105cb61075b610920565b84610736856001600061076c610920565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906108bf565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ad5780601f10610582576101008083540402835291602001916105ad565b60006105cb610825610920565b8461073685604051806060016040528060258152602001610ce4602591396001600061084f610920565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b6b565b60006105cb61088d610920565b8484610a10565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600082820183811015610919576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166109695760405162461bcd60e51b8152600401808060200182810382526024815260200180610cc06024913960400191505060405180910390fd5b6001600160a01b0382166109ae5760405162461bcd60e51b8152600401808060200182810382526022815260200180610c2b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a555760405162461bcd60e51b8152600401808060200182810382526025815260200180610c9b6025913960400191505060405180910390fd5b6001600160a01b038216610a9a5760405162461bcd60e51b8152600401808060200182810382526023815260200180610c086023913960400191505060405180910390fd5b610aa5838383610c02565b610ae281604051806060016040528060268152602001610c4d602691396001600160a01b0386166000908152602081905260409020549190610b6b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610b1190826108bf565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610bfa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bbf578181015183820152602001610ba7565b50505050905090810190601f168015610bec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205368bc375edcd2e59e717f8a7fc3f08a5d63e3cefcaaa414294373e4fc4cdbc364736f6c63430007030033

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

0000000000000000000000003ce099bdbb0082fd28ba992f88334cb9bad4e2a30000000000000000000000002cd40b5ff501d8ee3a2ded01227660dc051d959000000000000000000000000049cedf639f0e6ed75a58489dd11f2f30bd06e64a00000000000000000000000000000000000000000028f208607c9ff2a18000000000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000034f086f3b33b68400000

-----Decoded View---------------
Arg [0] : _grantsManagerAddr (address): 0x3ce099bdBB0082FD28Ba992F88334Cb9BAd4E2A3
Arg [1] : _foundationAddr (address): 0x2Cd40B5Ff501d8ee3a2DEd01227660dC051D9590
Arg [2] : _publicSaleAddr (address): 0x49ceDF639f0E6eD75a58489DD11F2F30Bd06e64A
Arg [3] : _grantsSupply (uint256): 49500000000000000000000000
Arg [4] : _marketmakingSupply (uint256): 250000000000000000000000
Arg [5] : _publicSaleSupply (uint256): 250000000000000000000000

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ce099bdbb0082fd28ba992f88334cb9bad4e2a3
Arg [1] : 0000000000000000000000002cd40b5ff501d8ee3a2ded01227660dc051d9590
Arg [2] : 00000000000000000000000049cedf639f0e6ed75a58489dd11f2f30bd06e64a
Arg [3] : 00000000000000000000000000000000000000000028f208607c9ff2a1800000
Arg [4] : 0000000000000000000000000000000000000000000034f086f3b33b68400000
Arg [5] : 0000000000000000000000000000000000000000000034f086f3b33b68400000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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