ETH Price: $3,470.68 (+4.78%)

Contract

0x2aF72850c504dDD3c1876C66a914cAee7Ff8a46A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

WhaleRoom (WHL) (@$0.2297)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve212057262024-11-17 6:46:236 days ago1731825983IN
WhaleRoom: WHL Token
0 ETH0.000414848.97387028
Approve211992142024-11-16 8:58:597 days ago1731747539IN
WhaleRoom: WHL Token
0 ETH0.000633113.62460349
Approve211977002024-11-16 3:54:477 days ago1731729287IN
WhaleRoom: WHL Token
0 ETH0.0003659415.09408025
Approve211499332024-11-09 11:55:1114 days ago1731153311IN
WhaleRoom: WHL Token
0 ETH0.000369517.98715863
Transfer211499242024-11-09 11:53:2314 days ago1731153203IN
WhaleRoom: WHL Token
0 ETH0.0005809811.21283562
Transfer209749622024-10-16 1:52:4738 days ago1729043567IN
WhaleRoom: WHL Token
0 ETH0.0007325914.139
Approve209421522024-10-11 11:42:3543 days ago1728646955IN
WhaleRoom: WHL Token
0 ETH0.000595712.87954674
Approve208022522024-09-21 23:32:3562 days ago1726961555IN
WhaleRoom: WHL Token
0 ETH0.000260565.60735608
Transfer206940012024-09-06 20:40:3577 days ago1725655235IN
WhaleRoom: WHL Token
0 ETH0.000422638.99195482
Transfer206939972024-09-06 20:39:4777 days ago1725655187IN
WhaleRoom: WHL Token
0 ETH0.00040599.21483466
Transfer205591912024-08-19 0:47:1196 days ago1724028431IN
WhaleRoom: WHL Token
0 ETH0.000045280.87355086
Approve205579222024-08-18 20:32:2396 days ago1724013143IN
WhaleRoom: WHL Token
0 ETH0.000046190.99412652
Transfer205530672024-08-18 4:16:5997 days ago1723954619IN
WhaleRoom: WHL Token
0 ETH0.000044360.94423483
Transfer204461542024-08-03 6:14:47112 days ago1722665687IN
WhaleRoom: WHL Token
0 ETH0.000156723.33279261
Approve203664232024-07-23 3:03:59123 days ago1721703839IN
WhaleRoom: WHL Token
0 ETH0.000157463.38426656
Approve199702622024-05-28 18:49:35178 days ago1716922175IN
WhaleRoom: WHL Token
0 ETH0.0009076819.53355185
Transfer199702442024-05-28 18:45:59178 days ago1716921959IN
WhaleRoom: WHL Token
0 ETH0.0011283324
Approve199404282024-05-24 14:46:23183 days ago1716561983IN
WhaleRoom: WHL Token
0 ETH0.00037178.03652938
Approve196894212024-04-19 12:15:35218 days ago1713528935IN
WhaleRoom: WHL Token
0 ETH0.000445369.62659747
Approve196059422024-04-07 19:37:35229 days ago1712518655IN
WhaleRoom: WHL Token
0 ETH0.0007517716.15754805
Transfer195859372024-04-05 0:21:47232 days ago1712276507IN
WhaleRoom: WHL Token
0 ETH0.000420714.06373316
Transfer195858932024-04-05 0:12:59232 days ago1712275979IN
WhaleRoom: WHL Token
0 ETH0.0006808813.1439017
Transfer195852812024-04-04 22:09:59232 days ago1712268599IN
WhaleRoom: WHL Token
0 ETH0.0008837718.80778091
Approve195840622024-04-04 18:04:11232 days ago1712253851IN
WhaleRoom: WHL Token
0 ETH0.0022423348.48077608
Approve194817002024-03-21 7:57:59247 days ago1711007879IN
WhaleRoom: WHL Token
0 ETH0.0012344926.53220348
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WhaleRoom

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-10
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.5;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

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

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

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

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

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

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

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

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

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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



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

    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 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 { }
}

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

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    using SafeMath for uint256;

    uint256 private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor (uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - minted tokens must not cause the total supply to go over the cap.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        if (from == address(0)) { // When minting tokens
            require(totalSupply().add(amount) <= _cap, "ERC20Capped: cap exceeded");
        }
    }
}


// File: contracts/token/ERC20/behaviours/ERC20Mintable.sol

/**
 * @title ERC20Mintable
 * @dev Implementation of the ERC20Mintable. Extension of {ERC20} that adds a minting behaviour.
 */
abstract contract ERC20Mintable is ERC20 {

    // indicates if minting is finished
    bool private _mintingFinished = false;

    /**
     * @dev Emitted during finish minting
     */
    event MintFinished();

    /**
     * @dev Tokens can be minted only before minting finished.
     */
    modifier canMint() {
        require(!_mintingFinished, "ERC20Mintable: minting is finished");
        _;
    }

    /**
     * @return if minting is finished or not.
     */
    function mintingFinished() public view returns (bool) {
        return _mintingFinished;
    }

    /**
     * @dev Function to mint tokens.
     *
     * WARNING: it allows everyone to mint new tokens. Access controls MUST be defined in derived contracts.
     *
     * @param account The address that will receive the minted tokens
     * @param amount The amount of tokens to mint
     */
    function mint(address account, uint256 amount) public canMint {
        _mint(account, amount);
    }

    /**
     * @dev Function to stop minting new tokens.
     *
     * WARNING: it allows everyone to finish minting. Access controls MUST be defined in derived contracts.
     */
    function finishMinting() public canMint {
        _finishMinting();
    }

    /**
     * @dev Function to stop minting new tokens.
     */
    function _finishMinting() internal virtual {
        _mintingFinished = true;

        emit MintFinished();
    }
}


/**
 * @title WhaleRoom
 * @dev Implementation of the WhaleRoom
 */
contract WhaleRoom is ERC20Capped, ERC20Mintable, Ownable {

    constructor (
        string memory name,
        string memory symbol,
        uint8 decimals,
        uint256 cap,
        uint256 initialBalance
    )
        ERC20(name, symbol)
        ERC20Capped(cap)
    {
        _setupDecimals(decimals);
        _mint(_msgSender(), initialBalance);
    }

    /**
     * @dev Function to mint tokens.
     *
     * NOTE: restricting access to owner only. See {ERC20Mintable-mint}.
     *
     * @param account The address that will receive the minted tokens
     * @param amount The amount of tokens to mint
     */
    function _mint(address account, uint256 amount) internal override onlyOwner {
        super._mint(account, amount);
    }

    /**
     * @dev Function to stop minting new tokens.
     *
     * NOTE: restricting access to owner only. See {ERC20Mintable-finishMinting}.
     */
    function _finishMinting() internal override onlyOwner {
        super._finishMinting();
    }

    /**
     * @dev See {ERC20-_beforeTokenTransfer}. See {ERC20Capped-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Capped) {
        super._beforeTokenTransfer(from, to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialBalance","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":[],"name":"MintFinished","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":[{"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":"cap","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":[],"name":"finishMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805460ff191690553480156200001b57600080fd5b50604051620016cd380380620016cd833981810160405260a08110156200004157600080fd5b81019080805160405193929190846401000000008211156200006257600080fd5b9083019060208201858111156200007857600080fd5b82516401000000008111828201881017156200009357600080fd5b82525081516020918201929091019080838360005b83811015620000c2578181015183820152602001620000a8565b50505050905090810190601f168015620000f05780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011457600080fd5b9083019060208201858111156200012a57600080fd5b82516401000000008111828201881017156200014557600080fd5b82525081516020918201929091019080838360005b83811015620001745781810151838201526020016200015a565b50505050905090810190601f168015620001a25780820380516001836020036101000a031916815260200191505b506040908152602082810151918301516060909301518751929550929350839187918791620001d89160039190850190620005bd565b508051620001ee906004906020840190620005bd565b50506005805460ff19166012179055508062000251576040805162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015290519081900360640190fd5b600655600062000260620002e1565b60078054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620002c183620002e5565b620002d6620002cf620002e1565b82620002fb565b505050505062000669565b3390565b6005805460ff191660ff92909216919091179055565b62000305620002e1565b60075461010090046001600160a01b039081169116146200036d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6200038482826200038860201b620008ed1760201c565b5050565b6001600160a01b038216620003e4576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620003f26000838362000497565b6200040e81600254620004b460201b620009dd1790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000441918390620009dd620004b4821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b620004af8383836200051660201b62000a3e1760201c565b505050565b6000828201838110156200050f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6200052e838383620004af60201b62000abf1760201c565b6001600160a01b038316620004af5760065462000563826200054f620005b7565b620004b460201b620009dd1790919060201c565b1115620004af576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b60025490565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620005f5576000855562000640565b82601f106200061057805160ff191683800117855562000640565b8280016001018555821562000640579182015b828111156200064057825182559160200191906001019062000623565b506200064e92915062000652565b5090565b5b808211156200064e576000815560010162000653565b61105480620006796000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806395d89b411161007157806395d89b411461030a578063a457c2d714610312578063a9059cbb1461033e578063dd62ed3e1461036a578063f2fde38b1461039857610116565b806370a08231146102b0578063715018a6146102d65780637d64bcb4146102de5780638da5cb5b146102e657610116565b806323b872dd116100e957806323b872dd146101fa578063313ce56714610230578063355274ea1461024e578063395093511461025657806340c10f191461028257610116565b806305d2035b1461011b57806306fdde0314610137578063095ea7b3146101b457806318160ddd146101e0575b600080fd5b6101236103be565b604080519115158252519081900360200190f35b61013f6103c7565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610179578181015183820152602001610161565b50505050905090810190601f1680156101a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610123600480360360408110156101ca57600080fd5b506001600160a01b03813516906020013561045d565b6101e861047a565b60408051918252519081900360200190f35b6101236004803603606081101561021057600080fd5b506001600160a01b03813581169160208101359091169060400135610480565b610238610507565b6040805160ff9092168252519081900360200190f35b6101e8610510565b6101236004803603604081101561026c57600080fd5b506001600160a01b038135169060200135610516565b6102ae6004803603604081101561029857600080fd5b506001600160a01b038135169060200135610564565b005b6101e8600480360360208110156102c657600080fd5b50356001600160a01b03166105b4565b6102ae6105cf565b6102ae61067c565b6102ee6106c8565b604080516001600160a01b039092168252519081900360200190f35b61013f6106dc565b6101236004803603604081101561032857600080fd5b506001600160a01b03813516906020013561073d565b6101236004803603604081101561035457600080fd5b506001600160a01b0381351690602001356107a5565b6101e86004803603604081101561038057600080fd5b506001600160a01b03813581169160200135166107b9565b6102ae600480360360208110156103ae57600080fd5b50356001600160a01b03166107e4565b60075460ff1690565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b5050505050905090565b600061047161046a610ac4565b8484610ac8565b50600192915050565b60025490565b600061048d848484610bb4565b6104fd84610499610ac4565b6104f885604051806060016040528060288152602001610f47602891396001600160a01b038a166000908152600160205260408120906104d7610ac4565b6001600160a01b031681526020810191909152604001600020549190610d0f565b610ac8565b5060019392505050565b60055460ff1690565b60065490565b6000610471610523610ac4565b846104f88560016000610534610ac4565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906109dd565b60075460ff16156105a65760405162461bcd60e51b8152600401808060200182810382526022815260200180610fd86022913960400191505060405180910390fd5b6105b08282610da6565b5050565b6001600160a01b031660009081526020819052604090205490565b6105d7610ac4565b60075461010090046001600160a01b0390811691161461062c576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b60075460ff16156106be5760405162461bcd60e51b8152600401808060200182810382526022815260200180610fd86022913960400191505060405180910390fd5b6106c6610e0d565b565b60075461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104535780601f1061042857610100808354040283529160200191610453565b600061047161074a610ac4565b846104f885604051806060016040528060258152602001610ffa6025913960016000610774610ac4565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610d0f565b60006104716107b2610ac4565b8484610bb4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107ec610ac4565b60075461010090046001600160a01b03908116911614610841576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b6001600160a01b0381166108865760405162461bcd60e51b8152600401808060200182810382526026815260200180610ed96026913960400191505060405180910390fd5b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b038216610948576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61095460008383610e72565b60025461096190826109dd565b6002556001600160a01b03821660009081526020819052604090205461098790826109dd565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082820183811015610a37576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b610a49838383610abf565b6001600160a01b038316610abf57600654610a6c82610a6661047a565b906109dd565b1115610abf576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b505050565b3390565b6001600160a01b038316610b0d5760405162461bcd60e51b8152600401808060200182810382526024815260200180610fb46024913960400191505060405180910390fd5b6001600160a01b038216610b525760405162461bcd60e51b8152600401808060200182810382526022815260200180610eff6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bf95760405162461bcd60e51b8152600401808060200182810382526025815260200180610f8f6025913960400191505060405180910390fd5b6001600160a01b038216610c3e5760405162461bcd60e51b8152600401808060200182810382526023815260200180610eb66023913960400191505060405180910390fd5b610c49838383610e72565b610c8681604051806060016040528060268152602001610f21602691396001600160a01b0386166000908152602081905260409020549190610d0f565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610cb590826109dd565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d9e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d63578181015183820152602001610d4b565b50505050905090810190601f168015610d905780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b610dae610ac4565b60075461010090046001600160a01b03908116911614610e03576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b6105b082826108ed565b610e15610ac4565b60075461010090046001600160a01b03908116911614610e6a576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b6106c6610e7d565b610abf838383610a3e565b6007805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a156fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332304d696e7461626c653a206d696e74696e672069732066696e697368656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122092787f8591b439963527c40999ed54a5ad761861a4f080d36516a0b2b293489a64736f6c6343000706003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000000000000000000000095768616c65526f6f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357484c0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806395d89b411161007157806395d89b411461030a578063a457c2d714610312578063a9059cbb1461033e578063dd62ed3e1461036a578063f2fde38b1461039857610116565b806370a08231146102b0578063715018a6146102d65780637d64bcb4146102de5780638da5cb5b146102e657610116565b806323b872dd116100e957806323b872dd146101fa578063313ce56714610230578063355274ea1461024e578063395093511461025657806340c10f191461028257610116565b806305d2035b1461011b57806306fdde0314610137578063095ea7b3146101b457806318160ddd146101e0575b600080fd5b6101236103be565b604080519115158252519081900360200190f35b61013f6103c7565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610179578181015183820152602001610161565b50505050905090810190601f1680156101a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610123600480360360408110156101ca57600080fd5b506001600160a01b03813516906020013561045d565b6101e861047a565b60408051918252519081900360200190f35b6101236004803603606081101561021057600080fd5b506001600160a01b03813581169160208101359091169060400135610480565b610238610507565b6040805160ff9092168252519081900360200190f35b6101e8610510565b6101236004803603604081101561026c57600080fd5b506001600160a01b038135169060200135610516565b6102ae6004803603604081101561029857600080fd5b506001600160a01b038135169060200135610564565b005b6101e8600480360360208110156102c657600080fd5b50356001600160a01b03166105b4565b6102ae6105cf565b6102ae61067c565b6102ee6106c8565b604080516001600160a01b039092168252519081900360200190f35b61013f6106dc565b6101236004803603604081101561032857600080fd5b506001600160a01b03813516906020013561073d565b6101236004803603604081101561035457600080fd5b506001600160a01b0381351690602001356107a5565b6101e86004803603604081101561038057600080fd5b506001600160a01b03813581169160200135166107b9565b6102ae600480360360208110156103ae57600080fd5b50356001600160a01b03166107e4565b60075460ff1690565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b5050505050905090565b600061047161046a610ac4565b8484610ac8565b50600192915050565b60025490565b600061048d848484610bb4565b6104fd84610499610ac4565b6104f885604051806060016040528060288152602001610f47602891396001600160a01b038a166000908152600160205260408120906104d7610ac4565b6001600160a01b031681526020810191909152604001600020549190610d0f565b610ac8565b5060019392505050565b60055460ff1690565b60065490565b6000610471610523610ac4565b846104f88560016000610534610ac4565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906109dd565b60075460ff16156105a65760405162461bcd60e51b8152600401808060200182810382526022815260200180610fd86022913960400191505060405180910390fd5b6105b08282610da6565b5050565b6001600160a01b031660009081526020819052604090205490565b6105d7610ac4565b60075461010090046001600160a01b0390811691161461062c576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b60075460ff16156106be5760405162461bcd60e51b8152600401808060200182810382526022815260200180610fd86022913960400191505060405180910390fd5b6106c6610e0d565b565b60075461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104535780601f1061042857610100808354040283529160200191610453565b600061047161074a610ac4565b846104f885604051806060016040528060258152602001610ffa6025913960016000610774610ac4565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610d0f565b60006104716107b2610ac4565b8484610bb4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107ec610ac4565b60075461010090046001600160a01b03908116911614610841576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b6001600160a01b0381166108865760405162461bcd60e51b8152600401808060200182810382526026815260200180610ed96026913960400191505060405180910390fd5b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b038216610948576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61095460008383610e72565b60025461096190826109dd565b6002556001600160a01b03821660009081526020819052604090205461098790826109dd565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082820183811015610a37576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b610a49838383610abf565b6001600160a01b038316610abf57600654610a6c82610a6661047a565b906109dd565b1115610abf576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b505050565b3390565b6001600160a01b038316610b0d5760405162461bcd60e51b8152600401808060200182810382526024815260200180610fb46024913960400191505060405180910390fd5b6001600160a01b038216610b525760405162461bcd60e51b8152600401808060200182810382526022815260200180610eff6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bf95760405162461bcd60e51b8152600401808060200182810382526025815260200180610f8f6025913960400191505060405180910390fd5b6001600160a01b038216610c3e5760405162461bcd60e51b8152600401808060200182810382526023815260200180610eb66023913960400191505060405180910390fd5b610c49838383610e72565b610c8681604051806060016040528060268152602001610f21602691396001600160a01b0386166000908152602081905260409020549190610d0f565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610cb590826109dd565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d9e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d63578181015183820152602001610d4b565b50505050905090810190601f168015610d905780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b610dae610ac4565b60075461010090046001600160a01b03908116911614610e03576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b6105b082826108ed565b610e15610ac4565b60075461010090046001600160a01b03908116911614610e6a576040805162461bcd60e51b81526020600482018190526024820152600080516020610f6f833981519152604482015290519081900360640190fd5b6106c6610e7d565b610abf838383610a3e565b6007805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a156fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332304d696e7461626c653a206d696e74696e672069732066696e697368656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122092787f8591b439963527c40999ed54a5ad761861a4f080d36516a0b2b293489a64736f6c63430007060033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000000000000000000000095768616c65526f6f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357484c0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): WhaleRoom
Arg [1] : symbol (string): WHL
Arg [2] : decimals (uint8): 18
Arg [3] : cap (uint256): 1000000000000000000000000
Arg [4] : initialBalance (uint256): 1000000000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [4] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 5768616c65526f6f6d0000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 57484c0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

25264:1326:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24211:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;13518:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15624:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15624:169:0;;;;;;;;:::i;14593:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;16275:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16275:321:0;;;;;;;;;;;;;;;;;:::i;14445:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22930:75;;;:::i;17005:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17005:218:0;;;;;;;;:::i;24619:103::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24619:103:0;;;;;;;;:::i;:::-;;14756:119;;;;;;;;;;;;;;;;-1:-1:-1;14756:119:0;-1:-1:-1;;;;;14756:119:0;;:::i;2718:148::-;;;:::i;24915:75::-;;;:::i;2076:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2076:79:0;;;;;;;;;;;;;;13720:87;;;:::i;17726:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17726:269:0;;;;;;;;:::i;15088:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15088:175:0;;;;;;;;:::i;15326:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15326:151:0;;;;;;;;;;:::i;3021:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3021:244:0;-1:-1:-1;;;;;3021:244:0;;:::i;24211:96::-;24283:16;;;;24211:96;:::o;13518:83::-;13588:5;13581:12;;;;;;;;-1:-1:-1;;13581:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13555:13;;13581:12;;13588:5;;13581:12;;13588:5;13581:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13518:83;:::o;15624:169::-;15707:4;15724:39;15733:12;:10;:12::i;:::-;15747:7;15756:6;15724:8;:39::i;:::-;-1:-1:-1;15781:4:0;15624:169;;;;:::o;14593:100::-;14673:12;;14593:100;:::o;16275:321::-;16381:4;16398:36;16408:6;16416:9;16427:6;16398:9;:36::i;:::-;16445:121;16454:6;16462:12;:10;:12::i;:::-;16476:89;16514:6;16476:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16476:19:0;;;;;;:11;:19;;;;;;16496:12;:10;:12::i;:::-;-1:-1:-1;;;;;16476:33:0;;;;;;;;;;;;-1:-1:-1;16476:33:0;;;:89;:37;:89::i;:::-;16445:8;:121::i;:::-;-1:-1:-1;16584:4:0;16275:321;;;;;:::o;14445:83::-;14511:9;;;;14445:83;:::o;22930:75::-;22993:4;;22930:75;:::o;17005:218::-;17093:4;17110:83;17119:12;:10;:12::i;:::-;17133:7;17142:50;17181:10;17142:11;:25;17154:12;:10;:12::i;:::-;-1:-1:-1;;;;;17142:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17142:25:0;;;:34;;;;;;;;;;;:38;:50::i;24619:103::-;24063:16;;;;24062:17;24054:64;;;;-1:-1:-1;;;24054:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24692:22:::1;24698:7;24707:6;24692:5;:22::i;:::-;24619:103:::0;;:::o;14756:119::-;-1:-1:-1;;;;;14849:18:0;14822:7;14849:18;;;;;;;;;;;;14756:119::o;2718:148::-;2298:12;:10;:12::i;:::-;2288:6;;;;;-1:-1:-1;;;;;2288:6:0;;;:22;;;2280:67;;;;;-1:-1:-1;;;2280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2280:67:0;;;;;;;;;;;;;;;2809:6:::1;::::0;2788:40:::1;::::0;2825:1:::1;::::0;2809:6:::1;::::0;::::1;-1:-1:-1::0;;;;;2809:6:0::1;::::0;2788:40:::1;::::0;2825:1;;2788:40:::1;2839:6;:19:::0;;-1:-1:-1;;;;;;2839:19:0::1;::::0;;2718:148::o;24915:75::-;24063:16;;;;24062:17;24054:64;;;;-1:-1:-1;;;24054:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24966:16:::1;:14;:16::i;:::-;24915:75::o:0;2076:79::-;2141:6;;;;;-1:-1:-1;;;;;2141:6:0;;2076:79::o;13720:87::-;13792:7;13785:14;;;;;;;;-1:-1:-1;;13785:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13759:13;;13785:14;;13792:7;;13785:14;;13792:7;13785:14;;;;;;;;;;;;;;;;;;;;;;;;17726:269;17819:4;17836:129;17845:12;:10;:12::i;:::-;17859:7;17868:96;17907:15;17868:96;;;;;;;;;;;;;;;;;:11;:25;17880:12;:10;:12::i;:::-;-1:-1:-1;;;;;17868:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17868:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15088:175::-;15174:4;15191:42;15201:12;:10;:12::i;:::-;15215:9;15226:6;15191:9;:42::i;15326:151::-;-1:-1:-1;;;;;15442:18:0;;;15415:7;15442:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15326:151::o;3021:244::-;2298:12;:10;:12::i;:::-;2288:6;;;;;-1:-1:-1;;;;;2288:6:0;;;:22;;;2280:67;;;;;-1:-1:-1;;;2280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2280:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3110:22:0;::::1;3102:73;;;;-1:-1:-1::0;;;3102:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3212:6;::::0;3191:38:::1;::::0;-1:-1:-1;;;;;3191:38:0;;::::1;::::0;3212:6:::1;::::0;::::1;;::::0;3191:38:::1;::::0;;;::::1;3240:6;:17:::0;;-1:-1:-1;;;;;3240:17:0;;::::1;;;-1:-1:-1::0;;;;;;3240:17:0;;::::1;::::0;;;::::1;::::0;;3021:244::o;19306:378::-;-1:-1:-1;;;;;19390:21:0;;19382:65;;;;;-1:-1:-1;;;19382:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19460:49;19489:1;19493:7;19502:6;19460:20;:49::i;:::-;19537:12;;:24;;19554:6;19537:16;:24::i;:::-;19522:12;:39;-1:-1:-1;;;;;19593:18:0;;:9;:18;;;;;;;;;;;:30;;19616:6;19593:22;:30::i;:::-;-1:-1:-1;;;;;19572:18:0;;:9;:18;;;;;;;;;;;:51;;;;19639:37;;;;;;;19572:18;;:9;;19639:37;;;;;;;;;;19306:378;;:::o;6938:181::-;6996:7;7028:5;;;7052:6;;;;7044:46;;;;;-1:-1:-1;;;7044:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7110:1;6938:181;-1:-1:-1;;;6938:181:0:o;23192:318::-;23301:44;23328:4;23334:2;23338:6;23301:26;:44::i;:::-;-1:-1:-1;;;;;23362:18:0;;23358:145;;23457:4;;23428:25;23446:6;23428:13;:11;:13::i;:::-;:17;;:25::i;:::-;:33;;23420:71;;;;;-1:-1:-1;;;23420:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23192:318;;;:::o;657:106::-;745:10;657:106;:::o;20873:346::-;-1:-1:-1;;;;;20975:19:0;;20967:68;;;;-1:-1:-1;;;20967:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21054:21:0;;21046:68;;;;-1:-1:-1;;;21046:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21127:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21179:32;;;;;;;;;;;;;;;;;20873:346;;;:::o;18485:539::-;-1:-1:-1;;;;;18591:20:0;;18583:70;;;;-1:-1:-1;;;18583:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18672:23:0;;18664:71;;;;-1:-1:-1;;;18664:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18748:47;18769:6;18777:9;18788:6;18748:20;:47::i;:::-;18828:71;18850:6;18828:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18828:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18808:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18933:20;;;;;;;:32;;18958:6;18933:24;:32::i;:::-;-1:-1:-1;;;;;18910:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18981:35;;;;;;;18910:20;;18981:35;;;;;;;;;;;;;18485:539;;;:::o;7841:192::-;7927:7;7963:12;7955:6;;;;7947:29;;;;-1:-1:-1;;;7947:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7999:5:0;;;7841:192::o;25916:123::-;2298:12;:10;:12::i;:::-;2288:6;;;;;-1:-1:-1;;;;;2288:6:0;;;:22;;;2280:67;;;;;-1:-1:-1;;;2280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2280:67:0;;;;;;;;;;;;;;;26003:28:::1;26015:7;26024:6;26003:11;:28::i;26206:95::-:0;2298:12;:10;:12::i;:::-;2288:6;;;;;-1:-1:-1;;;;;2288:6:0;;;:22;;;2280:67;;;;;-1:-1:-1;;;2280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2280:67:0;;;;;;;;;;;;;;;26271:22:::1;:20;:22::i;26414:173::-:0;26535:44;26562:4;26568:2;26572:6;26535:26;:44::i;25066:117::-;25120:16;:23;;-1:-1:-1;;25120:23:0;25139:4;25120:23;;;25161:14;;;;25120:16;;25161:14;25066:117::o

Swarm Source

ipfs://92787f8591b439963527c40999ed54a5ad761861a4f080d36516a0b2b293489a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Chatrooms for crypto projects, whales, and influencers.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.