ETH Price: $3,290.84 (-0.27%)

Token

BOOMswap.org (BOOM)
 

Overview

Max Total Supply

7,542.93240103620112815 BOOM

Holders

237

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.428298396805904473 BOOM

Value
$0.00
0x852af00dc5e46b56e88cb285f9142ae4d0a57805
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BOOMswap

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-19
*/

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


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @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.
 */
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 () internal {
        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;
    }
}

// Partial License: MIT

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


// Partial License: MIT

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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


// Partial License: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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


// Partial License: MIT

pragma solidity ^0.6.0;

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;
    uint256 public _minimumSupply = 5000000000000000000000;
    uint256 public BURN_RATE = 2;
    uint256 constant public PERCENTS_DIVIDER = 100;

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

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

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

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

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

        uint256 remainingAmount = amount;
        if(_totalSupply > _minimumSupply) {
            if(BURN_RATE > 0) {
                uint256 burnAmount = amount.mul(BURN_RATE).div(PERCENTS_DIVIDER);
                _burn(sender, burnAmount);
                remainingAmount = remainingAmount.sub(burnAmount);
            }
        }
        _balances[sender] = _balances[sender].sub(remainingAmount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(remainingAmount);
        emit Transfer(sender, recipient, remainingAmount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

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


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
   /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}


// Partial License: MIT

pragma solidity ^0.6.0;

/**
 * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
 * total supply at the time are recorded for later access.
 *
 * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
 * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
 * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
 * used to create an efficient ERC20 forking mechanism.
 *
 * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
 * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
 * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
 * and the account address.
 *
 * ==== Gas Costs
 *
 * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
 * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
 * smaller since identical balances in subsequent snapshots are stored as a single entry.
 *
 * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
 * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
 * transfers will have normal cost until the next snapshot, and so on.
 */
abstract contract ERC20Snapshot is ERC20 {
    // Inspired by Jordi Baylina's MiniMeToken to record historical balances:
    // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol

    using SafeMath for uint256;
    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping (address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _currentSnapshotId.current();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId) public view returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view returns(uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);

        return snapshotted ? value : totalSupply();
    }

    // _transfer, _mint and _burn are the only functions where the balances are modified, so it is there that the
    // snapshots are updated. Note that the update happens _before_ the balance change, with the pre-modified value.
    // The same is true for the total supply and _mint and _burn.
    function _transfer(address from, address to, uint256 value) internal virtual override {
        _updateAccountSnapshot(from);
        _updateAccountSnapshot(to);

        super._transfer(from, to, value);
    }

    function _mint(address account, uint256 value) internal virtual override {
        _updateAccountSnapshot(account);
        _updateTotalSupplySnapshot();

        super._mint(account, value);
    }

    function _burn(address account, uint256 value) internal virtual override {
        _updateAccountSnapshot(account);
        _updateTotalSupplySnapshot();

        super._burn(account, value);
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots)
        private view returns (bool, uint256)
    {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        // solhint-disable-next-line max-line-length
        require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id");

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
        uint256 currentId = _currentSnapshotId.current();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
}


pragma solidity ^0.6.0;

abstract contract CMERC20Snapshot is Context, AccessControl, ERC20Snapshot {

    bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE");
    
    function snapshot() public {
        require(hasRole(SNAPSHOT_ROLE, _msgSender()), "ERC20Snapshot: must have snapshotter role to snapshot");
        _snapshot();
    }

}


pragma solidity ^0.6.0;

// imports

contract BOOMswap is ERC20Burnable, CMERC20Snapshot {

    constructor(string memory name, string memory symbol, uint256 amount, uint8 decimals) ERC20(name, symbol) public payable {
        _setupDecimals(decimals);
        _mint(msg.sender, amount);
        
        // set up required roles
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(SNAPSHOT_ROLE, _msgSender());
    }

    
    // overrides
    function _burn(address account, uint256 value) internal override(ERC20, ERC20Snapshot) {
        super._burn(account, value);
    }

    function _mint(address account, uint256 value) internal override(ERC20, ERC20Snapshot) {
        super._mint(account, value);
    }

    function _transfer(address from, address to, uint256 value)internal override(ERC20, ERC20Snapshot) {
        super._transfer(from, to, value);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"stateMutability":"payable","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURN_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTS_DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_minimumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"minimumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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"}]

608060405269010f0cf064dd5920000060045560026005556040516200341438038062003414833981810160405260808110156200003c57600080fd5b81019080805160405193929190846401000000008211156200005d57600080fd5b838201915060208201858111156200007457600080fd5b82518660018202830111640100000000821117156200009257600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c8578082015181840152602081019050620000ab565b50505050905090810190601f168015620000f65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011a57600080fd5b838201915060208201858111156200013157600080fd5b82518660018202830111640100000000821117156200014f57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018557808201518184015260208101905062000168565b50505050905090810190601f168015620001b35780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919050505083838160069080519060200190620001eb929190620008fe565b50806007908051906020019062000204929190620008fe565b506012600860006101000a81548160ff021916908360ff16021790555050506200023481620002ca60201b60201c565b620002463383620002e860201b60201c565b6200026a6000801b6200025e6200030360201b60201c565b6200030b60201b60201c565b620002c060405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d0190506040518091039020620002b46200030360201b60201c565b6200030b60201b60201c565b50505050620009ad565b80600860006101000a81548160ff021916908360ff16021790555050565b620002ff82826200032160201b620025cb1760201c565b5050565b600033905090565b6200031d82826200035d60201b60201c565b5050565b62000332826200040060201b60201c565b620003426200046360201b60201c565b6200035982826200048760201b620025ea1760201c565b5050565b6200038b816000808581526020019081526020016000206000016200066760201b62001a261790919060201c565b15620003fc57620003a16200030360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62000460600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002062000454836200069f60201b60201c565b620006e860201b60201c565b50565b62000485600a620004796200077b60201b60201c565b620006e860201b60201c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200052b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6200053f600083836200078560201b60201c565b6200055b816003546200078a60201b6200175d1790919060201c565b600381905550620005ba81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200078a60201b6200175d1790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600062000697836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200081360201b60201c565b905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600062000701600c6200088d60201b62001aa51760201c565b90508062000718846000016200089b60201b60201c565b1015620007765782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600354905090565b505050565b60008082840190508381101562000809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000620008278383620008db60201b60201c565b6200088257826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000887565b600090505b92915050565b600081600001549050919050565b60008082805490501415620008b45760009050620008d6565b81600183805490500381548110620008c857fe5b906000526020600020015490505b919050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200094157805160ff191683800117855562000972565b8280016001018555821562000972579182015b828111156200097157825182559160200191906001019062000954565b5b50905062000981919062000985565b5090565b620009aa91905b80821115620009a65760008160009055506001016200098c565b5090565b90565b612a5780620009bd6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806379cc679011610104578063a217fddf116100a2578063d547741f11610071578063d547741f14610932578063dd62ed3e14610980578063f61d627d146109f8578063f846a88514610a16576101cf565b8063a217fddf14610806578063a457c2d714610824578063a9059cbb1461088a578063ca15c873146108f0576101cf565b806391d14854116100de57806391d14854146106d157806395d89b41146107375780639711715a146107ba578063981b24d0146107c4576101cf565b806379cc6790146105ed5780637ede036d1461063b5780639010d07c14610659576101cf565b8063313ce5671161017157806342966c681161014b57806342966c68146104e75780634ee2cd7e146105155780637028e2cd1461057757806370a0823114610595576101cf565b8063313ce5671461040f57806336568abe146104335780633950935114610481576101cf565b806318160ddd116101ad57806318160ddd146102db57806323b872dd146102f9578063248a9ca31461037f5780632f2ff15d146103c1576101cf565b806301c234a8146101d457806306fdde03146101f2578063095ea7b314610275575b600080fd5b6101dc610a34565b6040518082815260200191505060405180910390f35b6101fa610a39565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023a57808201518184015260208101905061021f565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c16004803603604081101561028b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610adb565b604051808215151515815260200191505060405180910390f35b6102e3610af9565b6040518082815260200191505060405180910390f35b6103656004803603606081101561030f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b03565b604051808215151515815260200191505060405180910390f35b6103ab6004803603602081101561039557600080fd5b8101908080359060200190929190505050610bdc565b6040518082815260200191505060405180910390f35b61040d600480360360408110156103d757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bfb565b005b610417610c84565b604051808260ff1660ff16815260200191505060405180910390f35b61047f6004803603604081101561044957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c9b565b005b6104cd6004803603604081101561049757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d34565b604051808215151515815260200191505060405180910390f35b610513600480360360208110156104fd57600080fd5b8101908080359060200190929190505050610de7565b005b6105616004803603604081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dfb565b6040518082815260200191505060405180910390f35b61057f610e6b565b6040518082815260200191505060405180910390f35b6105d7600480360360208110156105ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ea4565b6040518082815260200191505060405180910390f35b6106396004803603604081101561060357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610eed565b005b610643610f4f565b6040518082815260200191505060405180910390f35b61068f6004803603604081101561066f57600080fd5b810190808035906020019092919080359060200190929190505050610f59565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61071d600480360360408110156106e757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f8a565b604051808215151515815260200191505060405180910390f35b61073f610fbb565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077f578082015181840152602081019050610764565b50505050905090810190601f1680156107ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107c261105d565b005b6107f0600480360360208110156107da57600080fd5b8101908080359060200190929190505050611103565b6040518082815260200191505060405180910390f35b61080e611134565b6040518082815260200191505060405180910390f35b6108706004803603604081101561083a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061113b565b604051808215151515815260200191505060405180910390f35b6108d6600480360360408110156108a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611208565b604051808215151515815260200191505060405180910390f35b61091c6004803603602081101561090657600080fd5b8101908080359060200190929190505050611226565b6040518082815260200191505060405180910390f35b61097e6004803603604081101561094857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124c565b005b6109e26004803603604081101561099657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112d5565b6040518082815260200191505060405180910390f35b610a0061135c565b6040518082815260200191505060405180910390f35b610a1e611362565b6040518082815260200191505060405180910390f35b606481565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610aef610ae8611368565b8484611370565b6001905092915050565b6000600354905090565b6000610b10848484611567565b610bd184610b1c611368565b610bcc8560405180606001604052806028815260200161291860289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b82611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b610c2160008084815260200190815260200160002060020154610c1c611368565b610f8a565b610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806127f9602f913960400191505060405180910390fd5b610c808282611637565b5050565b6000600860009054906101000a900460ff16905090565b610ca3611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129f3602f913960400191505060405180910390fd5b610d3082826116ca565b5050565b6000610ddd610d41611368565b84610dd88560026000610d52611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b611370565b6001905092915050565b610df8610df2611368565b826117e5565b50565b6000806000610e4884600960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206117f3565b9150915081610e5f57610e5a85610ea4565b610e61565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f2c8260405180606001604052806024815260200161294060249139610f1d86610f18611368565b6112d5565b6115779092919063ffffffff16565b9050610f4083610f3a611368565b83611370565b610f4a83836117e5565b505050565b6000600454905090565b6000610f828260008086815260200190815260200160002060000161194d90919063ffffffff16565b905092915050565b6000610fb38260008086815260200190815260200160002060000161196790919063ffffffff16565b905092915050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110535780601f1061102857610100808354040283529160200191611053565b820191906000526020600020905b81548152906001019060200180831161103657829003601f168201915b5050505050905090565b6110a360405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902061109e611368565b610f8a565b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806128c26035913960400191505060405180910390fd5b611100611997565b50565b600080600061111384600a6117f3565b915091508161112957611124610af9565b61112b565b805b92505050919050565b6000801b81565b60006111fe611148611368565b846111f9856040518060600160405280602581526020016129ce6025913960026000611172611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b6001905092915050565b600061121c611215611368565b8484611567565b6001905092915050565b60006112456000808481526020019081526020016000206000016119ef565b9050919050565b6112726000808481526020019081526020016000206002015461126d611368565b610f8a565b6112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806128926030913960400191505060405180910390fd5b6112d182826116ca565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60045481565b60055481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806129aa6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061284a6022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611572838383611a04565b505050565b6000838311158290611624576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115e95780820151818401526020810190506115ce565b50505050905090810190601f1680156116165780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b61165e81600080858152602001908152602001600020600001611a2690919063ffffffff16565b156116c65761166b611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6116f181600080858152602001908152602001600020600001611a5690919063ffffffff16565b15611759576116fe611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808284019050838110156117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6117ef8282611a86565b5050565b6000806000841161186c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b611876600c611aa5565b8411156118eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b60006119038585600001611ab390919063ffffffff16565b90508360000180549050811415611924576000808090509250925050611946565b600184600101828154811061193557fe5b906000526020600020015492509250505b9250929050565b600061195c8360000183611b68565b60001c905092915050565b600061198f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611beb565b905092915050565b60006119a3600c611c0e565b60006119af600c611aa5565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b60006119fd82600001611c24565b9050919050565b611a0d83611c35565b611a1682611c35565b611a21838383611c88565b505050565b6000611a4e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611fb8565b905092915050565b6000611a7e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612028565b905092915050565b611a8f82611c35565b611a97612110565b611aa18282612124565b5050565b600081600001549050919050565b60008083805490501415611aca5760009050611b62565b60008090506000848054905090505b80821015611b22576000611aed83836122ea565b905084868281548110611afc57fe5b90600052602060002001541115611b1557809150611b1c565b6001810192505b50611ad9565b600082118015611b4a575083856001840381548110611b3d57fe5b9060005260206000200154145b15611b5c576001820392505050611b62565b81925050505b92915050565b600081836000018054905011611bc9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127b46022913960400191505060405180910390fd5b826000018281548110611bd857fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b611c85600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611c8083610ea4565b61232c565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129856025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127d66023913960400191505060405180910390fd5b611d9f8383836123a9565b60008190506004546003541115611e095760006005541115611e08576000611de56064611dd7600554866123ae90919063ffffffff16565b61243490919063ffffffff16565b9050611df185826117e5565b611e04818361247e90919063ffffffff16565b9150505b5b611e758160405180606001604052806026815260200161286c60269139600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f0a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a350505050565b6000611fc48383611beb565b61201d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612022565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114612104576000600182039050600060018660000180549050039050600086600001828154811061207357fe5b906000526020600020015490508087600001848154811061209057fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806120c857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061210a565b60009150505b92915050565b612122600a61211d610af9565b61232c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129646021913960400191505060405180910390fd5b6121b6826000836123a9565b6122228160405180606001604052806022815260200161282860229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061227a8160035461247e90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600060028083816122f757fe5b066002858161230257fe5b06018161230b57fe5b046002838161231657fe5b046002858161232157fe5b040101905092915050565b6000612338600c611aa5565b905080612347846000016124c8565b10156123a45782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b505050565b6000808314156123c1576000905061242e565b60008284029050828482816123d257fe5b0414612429576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806128f76021913960400191505060405180910390fd5b809150505b92915050565b600061247683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612505565b905092915050565b60006124c083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611577565b905092915050565b600080828054905014156124df5760009050612500565b816001838054905003815481106124f257fe5b906000526020600020015490505b919050565b600080831182906125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257657808201518184015260208101905061255b565b50505050905090810190601f1680156125a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816125bd57fe5b049050809150509392505050565b6125d482611c35565b6125dc612110565b6125e682826125ea565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612699600083836123a9565b6126ae8160035461175d90919063ffffffff16565b60038190555061270681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220e624582fd8d3537f62ef0cc8ca24134d1d93e0ee9fdaf99d54113a66ddbb1f5564736f6c63430006060033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000c424f4f4d737761702e6f726700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424f4f4d00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806379cc679011610104578063a217fddf116100a2578063d547741f11610071578063d547741f14610932578063dd62ed3e14610980578063f61d627d146109f8578063f846a88514610a16576101cf565b8063a217fddf14610806578063a457c2d714610824578063a9059cbb1461088a578063ca15c873146108f0576101cf565b806391d14854116100de57806391d14854146106d157806395d89b41146107375780639711715a146107ba578063981b24d0146107c4576101cf565b806379cc6790146105ed5780637ede036d1461063b5780639010d07c14610659576101cf565b8063313ce5671161017157806342966c681161014b57806342966c68146104e75780634ee2cd7e146105155780637028e2cd1461057757806370a0823114610595576101cf565b8063313ce5671461040f57806336568abe146104335780633950935114610481576101cf565b806318160ddd116101ad57806318160ddd146102db57806323b872dd146102f9578063248a9ca31461037f5780632f2ff15d146103c1576101cf565b806301c234a8146101d457806306fdde03146101f2578063095ea7b314610275575b600080fd5b6101dc610a34565b6040518082815260200191505060405180910390f35b6101fa610a39565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023a57808201518184015260208101905061021f565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c16004803603604081101561028b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610adb565b604051808215151515815260200191505060405180910390f35b6102e3610af9565b6040518082815260200191505060405180910390f35b6103656004803603606081101561030f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b03565b604051808215151515815260200191505060405180910390f35b6103ab6004803603602081101561039557600080fd5b8101908080359060200190929190505050610bdc565b6040518082815260200191505060405180910390f35b61040d600480360360408110156103d757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bfb565b005b610417610c84565b604051808260ff1660ff16815260200191505060405180910390f35b61047f6004803603604081101561044957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c9b565b005b6104cd6004803603604081101561049757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d34565b604051808215151515815260200191505060405180910390f35b610513600480360360208110156104fd57600080fd5b8101908080359060200190929190505050610de7565b005b6105616004803603604081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dfb565b6040518082815260200191505060405180910390f35b61057f610e6b565b6040518082815260200191505060405180910390f35b6105d7600480360360208110156105ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ea4565b6040518082815260200191505060405180910390f35b6106396004803603604081101561060357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610eed565b005b610643610f4f565b6040518082815260200191505060405180910390f35b61068f6004803603604081101561066f57600080fd5b810190808035906020019092919080359060200190929190505050610f59565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61071d600480360360408110156106e757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f8a565b604051808215151515815260200191505060405180910390f35b61073f610fbb565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077f578082015181840152602081019050610764565b50505050905090810190601f1680156107ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107c261105d565b005b6107f0600480360360208110156107da57600080fd5b8101908080359060200190929190505050611103565b6040518082815260200191505060405180910390f35b61080e611134565b6040518082815260200191505060405180910390f35b6108706004803603604081101561083a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061113b565b604051808215151515815260200191505060405180910390f35b6108d6600480360360408110156108a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611208565b604051808215151515815260200191505060405180910390f35b61091c6004803603602081101561090657600080fd5b8101908080359060200190929190505050611226565b6040518082815260200191505060405180910390f35b61097e6004803603604081101561094857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124c565b005b6109e26004803603604081101561099657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112d5565b6040518082815260200191505060405180910390f35b610a0061135c565b6040518082815260200191505060405180910390f35b610a1e611362565b6040518082815260200191505060405180910390f35b606481565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610aef610ae8611368565b8484611370565b6001905092915050565b6000600354905090565b6000610b10848484611567565b610bd184610b1c611368565b610bcc8560405180606001604052806028815260200161291860289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b82611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b610c2160008084815260200190815260200160002060020154610c1c611368565b610f8a565b610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806127f9602f913960400191505060405180910390fd5b610c808282611637565b5050565b6000600860009054906101000a900460ff16905090565b610ca3611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129f3602f913960400191505060405180910390fd5b610d3082826116ca565b5050565b6000610ddd610d41611368565b84610dd88560026000610d52611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b611370565b6001905092915050565b610df8610df2611368565b826117e5565b50565b6000806000610e4884600960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206117f3565b9150915081610e5f57610e5a85610ea4565b610e61565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f2c8260405180606001604052806024815260200161294060249139610f1d86610f18611368565b6112d5565b6115779092919063ffffffff16565b9050610f4083610f3a611368565b83611370565b610f4a83836117e5565b505050565b6000600454905090565b6000610f828260008086815260200190815260200160002060000161194d90919063ffffffff16565b905092915050565b6000610fb38260008086815260200190815260200160002060000161196790919063ffffffff16565b905092915050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110535780601f1061102857610100808354040283529160200191611053565b820191906000526020600020905b81548152906001019060200180831161103657829003601f168201915b5050505050905090565b6110a360405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902061109e611368565b610f8a565b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806128c26035913960400191505060405180910390fd5b611100611997565b50565b600080600061111384600a6117f3565b915091508161112957611124610af9565b61112b565b805b92505050919050565b6000801b81565b60006111fe611148611368565b846111f9856040518060600160405280602581526020016129ce6025913960026000611172611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b6001905092915050565b600061121c611215611368565b8484611567565b6001905092915050565b60006112456000808481526020019081526020016000206000016119ef565b9050919050565b6112726000808481526020019081526020016000206002015461126d611368565b610f8a565b6112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806128926030913960400191505060405180910390fd5b6112d182826116ca565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60045481565b60055481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806129aa6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061284a6022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611572838383611a04565b505050565b6000838311158290611624576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115e95780820151818401526020810190506115ce565b50505050905090810190601f1680156116165780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b61165e81600080858152602001908152602001600020600001611a2690919063ffffffff16565b156116c65761166b611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6116f181600080858152602001908152602001600020600001611a5690919063ffffffff16565b15611759576116fe611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808284019050838110156117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6117ef8282611a86565b5050565b6000806000841161186c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b611876600c611aa5565b8411156118eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b60006119038585600001611ab390919063ffffffff16565b90508360000180549050811415611924576000808090509250925050611946565b600184600101828154811061193557fe5b906000526020600020015492509250505b9250929050565b600061195c8360000183611b68565b60001c905092915050565b600061198f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611beb565b905092915050565b60006119a3600c611c0e565b60006119af600c611aa5565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b60006119fd82600001611c24565b9050919050565b611a0d83611c35565b611a1682611c35565b611a21838383611c88565b505050565b6000611a4e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611fb8565b905092915050565b6000611a7e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612028565b905092915050565b611a8f82611c35565b611a97612110565b611aa18282612124565b5050565b600081600001549050919050565b60008083805490501415611aca5760009050611b62565b60008090506000848054905090505b80821015611b22576000611aed83836122ea565b905084868281548110611afc57fe5b90600052602060002001541115611b1557809150611b1c565b6001810192505b50611ad9565b600082118015611b4a575083856001840381548110611b3d57fe5b9060005260206000200154145b15611b5c576001820392505050611b62565b81925050505b92915050565b600081836000018054905011611bc9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127b46022913960400191505060405180910390fd5b826000018281548110611bd857fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b611c85600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611c8083610ea4565b61232c565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129856025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127d66023913960400191505060405180910390fd5b611d9f8383836123a9565b60008190506004546003541115611e095760006005541115611e08576000611de56064611dd7600554866123ae90919063ffffffff16565b61243490919063ffffffff16565b9050611df185826117e5565b611e04818361247e90919063ffffffff16565b9150505b5b611e758160405180606001604052806026815260200161286c60269139600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f0a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a350505050565b6000611fc48383611beb565b61201d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612022565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114612104576000600182039050600060018660000180549050039050600086600001828154811061207357fe5b906000526020600020015490508087600001848154811061209057fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806120c857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061210a565b60009150505b92915050565b612122600a61211d610af9565b61232c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129646021913960400191505060405180910390fd5b6121b6826000836123a9565b6122228160405180606001604052806022815260200161282860229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061227a8160035461247e90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600060028083816122f757fe5b066002858161230257fe5b06018161230b57fe5b046002838161231657fe5b046002858161232157fe5b040101905092915050565b6000612338600c611aa5565b905080612347846000016124c8565b10156123a45782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b505050565b6000808314156123c1576000905061242e565b60008284029050828482816123d257fe5b0414612429576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806128f76021913960400191505060405180910390fd5b809150505b92915050565b600061247683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612505565b905092915050565b60006124c083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611577565b905092915050565b600080828054905014156124df5760009050612500565b816001838054905003815481106124f257fe5b906000526020600020015490505b919050565b600080831182906125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257657808201518184015260208101905061255b565b50505050905090810190601f1680156125a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816125bd57fe5b049050809150509392505050565b6125d482611c35565b6125dc612110565b6125e682826125ea565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612699600083836123a9565b6126ae8160035461175d90919063ffffffff16565b60038190555061270681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220e624582fd8d3537f62ef0cc8ca24134d1d93e0ee9fdaf99d54113a66ddbb1f5564736f6c63430006060033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000c424f4f4d737761702e6f726700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424f4f4d00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): BOOMswap.org
Arg [1] : symbol (string): BOOM
Arg [2] : amount (uint256): 10000000000000000000000
Arg [3] : decimals (uint8): 18

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 424f4f4d737761702e6f72670000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 424f4f4d00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

58397:877:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58397:877:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;19144:46:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19827:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;19827:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22099:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22099:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20902:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22742:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22742:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;42637:114;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;42637:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43013:227;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43013:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20754:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;44222:209;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;44222:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23472:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23472:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29614:91;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;29614:91:0;;;;;;;;;;;;;;;;;:::i;:::-;;53923:258;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;53923:258:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;58096:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21231:119;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21231:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30024:295;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;30024:295:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21073:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42310:138;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;42310:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41271:139;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41271:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20029:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20029:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58175:170;;;:::i;:::-;;54285:225;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;54285:225:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40016:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24193:269;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24193:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21563:175;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21563:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41584:127;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41584:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43485:230;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43485:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21801:151;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21801:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19048:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19109:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19144:46;19187:3;19144:46;:::o;19827:83::-;19864:13;19897:5;19890:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19827:83;:::o;22099:169::-;22182:4;22199:39;22208:12;:10;:12::i;:::-;22222:7;22231:6;22199:8;:39::i;:::-;22256:4;22249:11;;22099:169;;;;:::o;20902:100::-;20955:7;20982:12;;20975:19;;20902:100;:::o;22742:321::-;22848:4;22865:36;22875:6;22883:9;22894:6;22865:9;:36::i;:::-;22912:121;22921:6;22929:12;:10;:12::i;:::-;22943:89;22981:6;22943:89;;;;;;;;;;;;;;;;;:11;:19;22955:6;22943:19;;;;;;;;;;;;;;;:33;22963:12;:10;:12::i;:::-;22943:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;22912:8;:121::i;:::-;23051:4;23044:11;;22742:321;;;;;:::o;42637:114::-;42694:7;42721:6;:12;42728:4;42721:12;;;;;;;;;;;:22;;;42714:29;;42637:114;;;:::o;43013:227::-;43097:45;43105:6;:12;43112:4;43105:12;;;;;;;;;;;:22;;;43129:12;:10;:12::i;:::-;43097:7;:45::i;:::-;43089:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43207:25;43218:4;43224:7;43207:10;:25::i;:::-;43013:227;;:::o;20754:83::-;20795:5;20820:9;;;;;;;;;;;20813:16;;20754:83;:::o;44222:209::-;44320:12;:10;:12::i;:::-;44309:23;;:7;:23;;;44301:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44397:26;44409:4;44415:7;44397:11;:26::i;:::-;44222:209;;:::o;23472:218::-;23560:4;23577:83;23586:12;:10;:12::i;:::-;23600:7;23609:50;23648:10;23609:11;:25;23621:12;:10;:12::i;:::-;23609:25;;;;;;;;;;;;;;;:34;23635:7;23609:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;23577:8;:83::i;:::-;23678:4;23671:11;;23472:218;;;;:::o;29614:91::-;29670:27;29676:12;:10;:12::i;:::-;29690:6;29670:5;:27::i;:::-;29614:91;:::o;53923:258::-;54002:7;54023:16;54041:13;54058:55;54067:10;54079:24;:33;54104:7;54079:33;;;;;;;;;;;;;;;54058:8;:55::i;:::-;54022:91;;;;54133:11;:40;;54155:18;54165:7;54155:9;:18::i;:::-;54133:40;;;54147:5;54133:40;54126:47;;;;53923:258;;;;:::o;58096:66::-;58136:26;;;;;;;;;;;;;;;;;;;58096:66;:::o;21231:119::-;21297:7;21324:9;:18;21334:7;21324:18;;;;;;;;;;;;;;;;21317:25;;21231:119;;;:::o;30024:295::-;30101:26;30130:84;30167:6;30130:84;;;;;;;;;;;;;;;;;:32;30140:7;30149:12;:10;:12::i;:::-;30130:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;30101:113;;30227:51;30236:7;30245:12;:10;:12::i;:::-;30259:18;30227:8;:51::i;:::-;30289:22;30295:7;30304:6;30289:5;:22::i;:::-;30024:295;;;:::o;21073:95::-;21119:7;21146:14;;21139:21;;21073:95;:::o;42310:138::-;42383:7;42410:30;42434:5;42410:6;:12;42417:4;42410:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;42403:37;;42310:138;;;;:::o;41271:139::-;41340:4;41364:38;41394:7;41364:6;:12;41371:4;41364:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;41357:45;;41271:139;;;;:::o;20029:87::-;20068:13;20101:7;20094:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20029:87;:::o;58175:170::-;58221:36;58136:26;;;;;;;;;;;;;;;;;;;58244:12;:10;:12::i;:::-;58221:7;:36::i;:::-;58213:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58326:11;:9;:11::i;:::-;;58175:170::o;54285:225::-;54348:7;54369:16;54387:13;54404:43;54413:10;54425:21;54404:8;:43::i;:::-;54368:79;;;;54467:11;:35;;54489:13;:11;:13::i;:::-;54467:35;;;54481:5;54467:35;54460:42;;;;54285:225;;;:::o;40016:49::-;40061:4;40016:49;;;:::o;24193:269::-;24286:4;24303:129;24312:12;:10;:12::i;:::-;24326:7;24335:96;24374:15;24335:96;;;;;;;;;;;;;;;;;:11;:25;24347:12;:10;:12::i;:::-;24335:25;;;;;;;;;;;;;;;:34;24361:7;24335:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;24303:8;:129::i;:::-;24450:4;24443:11;;24193:269;;;;:::o;21563:175::-;21649:4;21666:42;21676:12;:10;:12::i;:::-;21690:9;21701:6;21666:9;:42::i;:::-;21726:4;21719:11;;21563:175;;;;:::o;41584:127::-;41647:7;41674:29;:6;:12;41681:4;41674:12;;;;;;;;;;;:20;;:27;:29::i;:::-;41667:36;;41584:127;;;:::o;43485:230::-;43570:45;43578:6;:12;43585:4;43578:12;;;;;;;;;;;:22;;;43602:12;:10;:12::i;:::-;43570:7;:45::i;:::-;43562:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43681:26;43693:4;43699:7;43681:11;:26::i;:::-;43485:230;;:::o;21801:151::-;21890:7;21917:11;:18;21929:5;21917:18;;;;;;;;;;;;;;;:27;21936:7;21917:27;;;;;;;;;;;;;;;;21910:34;;21801:151;;;;:::o;19048:54::-;;;;:::o;19109:28::-;;;;:::o;570:106::-;623:15;658:10;651:17;;570:106;:::o;27709:346::-;27828:1;27811:19;;:5;:19;;;;27803:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27909:1;27890:21;;:7;:21;;;;27882:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27993:6;27963:11;:18;27975:5;27963:18;;;;;;;;;;;;;;;:27;27982:7;27963:27;;;;;;;;;;;;;;;:36;;;;28031:7;28015:32;;28024:5;28015:32;;;28040:6;28015:32;;;;;;;;;;;;;;;;;;27709:346;;;:::o;59121:150::-;59231:32;59247:4;59253:2;59257:5;59231:15;:32::i;:::-;59121:150;;;:::o;7757:192::-;7843:7;7876:1;7871;:6;;7879:12;7863:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;7863:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7903:9;7919:1;7915;:5;7903:17;;7940:1;7933:8;;;7757:192;;;;;:::o;45465:188::-;45539:33;45564:7;45539:6;:12;45546:4;45539:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;45535:111;;;45621:12;:10;:12::i;:::-;45594:40;;45612:7;45594:40;;45606:4;45594:40;;;;;;;;;;45535:111;45465:188;;:::o;45661:192::-;45736:36;45764:7;45736:6;:12;45743:4;45736:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;45732:114;;;45821:12;:10;:12::i;:::-;45794:40;;45812:7;45794:40;;45806:4;45794:40;;;;;;;;;;45732:114;45661:192;;:::o;6854:181::-;6912:7;6932:9;6948:1;6944;:5;6932:17;;6973:1;6968;:6;;6960:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7026:1;7019:8;;;6854:181;;;;:::o;58839:133::-;58937:27;58949:7;58958:5;58937:11;:27::i;:::-;58839:133;;:::o;55461:1692::-;55559:4;55565:7;55611:1;55598:10;:14;55590:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55726:28;:18;:26;:28::i;:::-;55712:10;:42;;55704:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56927:13;56943:40;56972:10;56943:9;:13;;:28;;:40;;;;:::i;:::-;56927:56;;57009:9;:13;;:20;;;;57000:5;:29;56996:150;;;57054:5;57061:1;57046:17;;;;;;;;;;56996:150;57104:4;57110:9;:16;;57127:5;57110:23;;;;;;;;;;;;;;;;57096:38;;;;;55461:1692;;;;;;:::o;36589:149::-;36663:7;36706:22;36710:3;:10;;36722:5;36706:3;:22::i;:::-;36698:31;;36683:47;;36589:149;;;;:::o;35884:158::-;35964:4;35988:46;35998:3;:10;;36026:5;36018:14;;36010:23;;35988:9;:46::i;:::-;35981:53;;35884:158;;;;:::o;53583:228::-;53630:7;53650:30;:18;:28;:30::i;:::-;53693:17;53713:28;:18;:26;:28::i;:::-;53693:48;;53757:19;53766:9;53757:19;;;;;;;;;;;;;;;;;;53794:9;53787:16;;;53583:228;:::o;36128:117::-;36191:7;36218:19;36226:3;:10;;36218:7;:19::i;:::-;36211:26;;36128:117;;;:::o;54818:215::-;54915:28;54938:4;54915:22;:28::i;:::-;54954:26;54977:2;54954:22;:26::i;:::-;54993:32;55009:4;55015:2;55019:5;54993:15;:32::i;:::-;54818:215;;;:::o;35330:143::-;35400:4;35424:41;35429:3;:10;;35457:5;35449:14;;35441:23;;35424:4;:41::i;:::-;35417:48;;35330:143;;;;:::o;35649:149::-;35722:4;35746:44;35754:3;:10;;35782:5;35774:14;;35766:23;;35746:7;:44::i;:::-;35739:51;;35649:149;;;;:::o;55251:202::-;55335:31;55358:7;55335:22;:31::i;:::-;55377:28;:26;:28::i;:::-;55418:27;55430:7;55439:5;55418:11;:27::i;:::-;55251:202;;:::o;49263:114::-;49328:7;49355;:14;;;49348:21;;49263:114;;;:::o;47253:918::-;47342:7;47382:1;47366:5;:12;;;;:17;47362:58;;;47407:1;47400:8;;;;47362:58;47432:11;47446:1;47432:15;;47458:12;47473:5;:12;;;;47458:27;;47498:424;47511:4;47505:3;:10;47498:424;;;47532:11;47546:23;47559:3;47564:4;47546:12;:23::i;:::-;47532:37;;47803:7;47790:5;47796:3;47790:10;;;;;;;;;;;;;;;;:20;47786:125;;;47838:3;47831:10;;47786:125;;;47894:1;47888:3;:7;47882:13;;47786:125;47498:424;;;;48048:1;48042:3;:7;:36;;;;;48071:7;48053:5;48065:1;48059:3;:7;48053:14;;;;;;;;;;;;;;;;:25;48042:36;48038:126;;;48108:1;48102:3;:7;48095:14;;;;;;48038:126;48149:3;48142:10;;;;47253:918;;;;;:::o;34872:204::-;34939:7;34988:5;34967:3;:11;;:18;;;;:26;34959:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35050:3;:11;;35062:5;35050:18;;;;;;;;;;;;;;;;35043:25;;34872:204;;;;:::o;34204:129::-;34277:4;34324:1;34301:3;:12;;:19;34314:5;34301:19;;;;;;;;;;;;:24;;34294:31;;34204:129;;;;:::o;49385:181::-;49557:1;49539:7;:14;;;:19;;;;;;;;;;;49385:181;:::o;34419:109::-;34475:7;34502:3;:11;;:18;;;;34495:25;;34419:109;;;:::o;57161:146::-;57229:70;57245:24;:33;57270:7;57245:33;;;;;;;;;;;;;;;57280:18;57290:7;57280:9;:18::i;:::-;57229:15;:70::i;:::-;57161:146;:::o;24952:908::-;25076:1;25058:20;;:6;:20;;;;25050:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25160:1;25139:23;;:9;:23;;;;25131:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25215:47;25236:6;25244:9;25255:6;25215:20;:47::i;:::-;25275:23;25301:6;25275:32;;25336:14;;25321:12;;:29;25318:289;;;25382:1;25370:9;;:13;25367:229;;;25404:18;25425:43;19187:3;25425:21;25436:9;;25425:6;:10;;:21;;;;:::i;:::-;:25;;:43;;;;:::i;:::-;25404:64;;25487:25;25493:6;25501:10;25487:5;:25::i;:::-;25549:31;25569:10;25549:15;:19;;:31;;;;:::i;:::-;25531:49;;25367:229;;25318:289;25637:80;25659:15;25637:80;;;;;;;;;;;;;;;;;:9;:17;25647:6;25637:17;;;;;;;;;;;;;;;;:21;;:80;;;;;:::i;:::-;25617:9;:17;25627:6;25617:17;;;;;;;;;;;;;;;:100;;;;25751:41;25776:15;25751:9;:20;25761:9;25751:20;;;;;;;;;;;;;;;;:24;;:41;;;;:::i;:::-;25728:9;:20;25738:9;25728:20;;;;;;;;;;;;;;;:64;;;;25825:9;25808:44;;25817:6;25808:44;;;25836:15;25808:44;;;;;;;;;;;;;;;;;;24952:908;;;;:::o;31984:414::-;32047:4;32069:21;32079:3;32084:5;32069:9;:21::i;:::-;32064:327;;32107:3;:11;;32124:5;32107:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;32107:23:0;;;;;;;;;;;;;;;;;;;32290:3;:11;;:18;;;;32268:3;:12;;:19;32281:5;32268:19;;;;;;;;;;;:40;;;;32330:4;32323:11;;;;32064:327;32374:5;32367:12;;31984:414;;;;;:::o;32574:1544::-;32640:4;32758:18;32779:3;:12;;:19;32792:5;32779:19;;;;;;;;;;;;32758:40;;32829:1;32815:10;:15;32811:1300;;33177:21;33214:1;33201:10;:14;33177:38;;33230:17;33271:1;33250:3;:11;;:18;;;;:22;33230:42;;33517:17;33537:3;:11;;33549:9;33537:22;;;;;;;;;;;;;;;;33517:42;;33683:9;33654:3;:11;;33666:13;33654:26;;;;;;;;;;;;;;;:38;;;;33802:1;33786:13;:17;33760:3;:12;;:23;33773:9;33760:23;;;;;;;;;;;:43;;;;33912:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;34007:3;:12;;:19;34020:5;34007:19;;;;;;;;;;;34000:26;;;34050:4;34043:11;;;;;;;;32811:1300;34094:5;34087:12;;;32574:1544;;;;;:::o;57315:118::-;57372:53;57388:21;57411:13;:11;:13::i;:::-;57372:15;:53::i;:::-;57315:118::o;26851:418::-;26954:1;26935:21;;:7;:21;;;;26927:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27007:49;27028:7;27045:1;27049:6;27007:20;:49::i;:::-;27090:68;27113:6;27090:68;;;;;;;;;;;;;;;;;:9;:18;27100:7;27090:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;27069:9;:18;27079:7;27069:18;;;;;;;;;;;;;;;:89;;;;27184:24;27201:6;27184:12;;:16;;:24;;;;:::i;:::-;27169:12;:39;;;;27250:1;27224:37;;27233:7;27224:37;;;27254:6;27224:37;;;;;;;;;;;;;;;;;;26851:418;;:::o;46488:193::-;46550:7;46671:1;46666;46662;:5;;;;;;46658:1;46654;:5;;;;;;:13;46653:19;;;;;;46647:1;46643;:5;;;;;;46637:1;46633;:5;;;;;;46632:17;:41;46625:48;;46488:193;;;;:::o;57441:315::-;57536:17;57556:28;:18;:26;:28::i;:::-;57536:48;;57632:9;57599:30;57615:9;:13;;57599:15;:30::i;:::-;:42;57595:154;;;57658:9;:13;;57677:9;57658:29;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;57658:29:0;;;;;;;;;;;;;;;;;;;57702:9;:16;;57724:12;57702:35;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;57702:35:0;;;;;;;;;;;;;;;;;;;57595:154;57441:315;;;:::o;29080:92::-;;;;:::o;8208:471::-;8266:7;8516:1;8511;:6;8507:47;;;8541:1;8534:8;;;;8507:47;8566:9;8582:1;8578;:5;8566:17;;8611:1;8606;8602;:5;;;;;;:10;8594:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8670:1;8663:8;;;8208:471;;;;;:::o;9155:132::-;9213:7;9240:39;9244:1;9247;9240:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;9233:46;;9155:132;;;;:::o;7318:136::-;7376:7;7403:43;7407:1;7410;7403:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7396:50;;7318:136;;;;:::o;57764:212::-;57834:7;57872:1;57858:3;:10;;;;:15;57854:115;;;57897:1;57890:8;;;;57854:115;57938:3;57955:1;57942:3;:10;;;;:14;57938:19;;;;;;;;;;;;;;;;57931:26;;57764:212;;;;:::o;9783:278::-;9869:7;9901:1;9897;:5;9904:12;9889:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;9889:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9928:9;9944:1;9940;:5;;;;;;9928:17;;10052:1;10045:8;;;9783:278;;;;;:::o;55041:202::-;55125:31;55148:7;55125:22;:31::i;:::-;55167:28;:26;:28::i;:::-;55208:27;55220:7;55229:5;55208:11;:27::i;:::-;55041:202;;:::o;26141:378::-;26244:1;26225:21;;:7;:21;;;;26217:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26295:49;26324:1;26328:7;26337:6;26295:20;:49::i;:::-;26372:24;26389:6;26372:12;;:16;;:24;;;;:::i;:::-;26357:12;:39;;;;26428:30;26451:6;26428:9;:18;26438:7;26428:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;26407:9;:18;26417:7;26407:18;;;;;;;;;;;;;;;:51;;;;26495:7;26474:37;;26491:1;26474:37;;;26504:6;26474:37;;;;;;;;;;;;;;;;;;26141:378;;:::o

Swarm Source

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