ETH Price: $2,859.84 (-9.66%)
Gas: 9 Gwei

Token

Pinky Promise Token (PINKY)
 

Overview

Max Total Supply

8,170.800648745538749094 PINKY

Holders

91

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9.8 PINKY

Value
$0.00
0x94909384a03c2b910ea8a48ac4d75b00c29f6d8b
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:
PINKY

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-17
*/

// SPDX-License-Identifier: MIT

/* 
 * Pinky Promise Token 
 * Developed by DevHound
 */
 
// Partial License: MIT

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 PINKY 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"}]

608060405269010f0cf064dd5920000060045560026005556040516200341438038062003414833981810160405260808110156200003c57600080fd5b81019080805160405193929190846401000000008211156200005d57600080fd5b838201915060208201858111156200007457600080fd5b82518660018202830111640100000000821117156200009257600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c8578082015181840152602081019050620000ab565b50505050905090810190601f168015620000f65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011a57600080fd5b838201915060208201858111156200013157600080fd5b82518660018202830111640100000000821117156200014f57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018557808201518184015260208101905062000168565b50505050905090810190601f168015620001b35780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919050505083838160069080519060200190620001eb929190620008fe565b50806007908051906020019062000204929190620008fe565b506012600860006101000a81548160ff021916908360ff16021790555050506200023481620002ca60201b60201c565b620002463383620002e860201b60201c565b6200026a6000801b6200025e6200030360201b60201c565b6200030b60201b60201c565b620002c060405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d0190506040518091039020620002b46200030360201b60201c565b6200030b60201b60201c565b50505050620009ad565b80600860006101000a81548160ff021916908360ff16021790555050565b620002ff82826200032160201b620025cb1760201c565b5050565b600033905090565b6200031d82826200035d60201b60201c565b5050565b62000332826200040060201b60201c565b620003426200046360201b60201c565b6200035982826200048760201b620025ea1760201c565b5050565b6200038b816000808581526020019081526020016000206000016200066760201b62001a261790919060201c565b15620003fc57620003a16200030360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62000460600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002062000454836200069f60201b60201c565b620006e860201b60201c565b50565b62000485600a620004796200077b60201b60201c565b620006e860201b60201c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200052b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6200053f600083836200078560201b60201c565b6200055b816003546200078a60201b6200175d1790919060201c565b600381905550620005ba81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200078a60201b6200175d1790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600062000697836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200081360201b60201c565b905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600062000701600c6200088d60201b62001aa51760201c565b90508062000718846000016200089b60201b60201c565b1015620007765782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600354905090565b505050565b60008082840190508381101562000809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000620008278383620008db60201b60201c565b6200088257826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000887565b600090505b92915050565b600081600001549050919050565b60008082805490501415620008b45760009050620008d6565b81600183805490500381548110620008c857fe5b906000526020600020015490505b919050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200094157805160ff191683800117855562000972565b8280016001018555821562000972579182015b828111156200097157825182559160200191906001019062000954565b5b50905062000981919062000985565b5090565b620009aa91905b80821115620009a65760008160009055506001016200098c565b5090565b90565b612a5780620009bd6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806379cc679011610104578063a217fddf116100a2578063d547741f11610071578063d547741f14610932578063dd62ed3e14610980578063f61d627d146109f8578063f846a88514610a16576101cf565b8063a217fddf14610806578063a457c2d714610824578063a9059cbb1461088a578063ca15c873146108f0576101cf565b806391d14854116100de57806391d14854146106d157806395d89b41146107375780639711715a146107ba578063981b24d0146107c4576101cf565b806379cc6790146105ed5780637ede036d1461063b5780639010d07c14610659576101cf565b8063313ce5671161017157806342966c681161014b57806342966c68146104e75780634ee2cd7e146105155780637028e2cd1461057757806370a0823114610595576101cf565b8063313ce5671461040f57806336568abe146104335780633950935114610481576101cf565b806318160ddd116101ad57806318160ddd146102db57806323b872dd146102f9578063248a9ca31461037f5780632f2ff15d146103c1576101cf565b806301c234a8146101d457806306fdde03146101f2578063095ea7b314610275575b600080fd5b6101dc610a34565b6040518082815260200191505060405180910390f35b6101fa610a39565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023a57808201518184015260208101905061021f565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c16004803603604081101561028b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610adb565b604051808215151515815260200191505060405180910390f35b6102e3610af9565b6040518082815260200191505060405180910390f35b6103656004803603606081101561030f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b03565b604051808215151515815260200191505060405180910390f35b6103ab6004803603602081101561039557600080fd5b8101908080359060200190929190505050610bdc565b6040518082815260200191505060405180910390f35b61040d600480360360408110156103d757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bfb565b005b610417610c84565b604051808260ff1660ff16815260200191505060405180910390f35b61047f6004803603604081101561044957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c9b565b005b6104cd6004803603604081101561049757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d34565b604051808215151515815260200191505060405180910390f35b610513600480360360208110156104fd57600080fd5b8101908080359060200190929190505050610de7565b005b6105616004803603604081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dfb565b6040518082815260200191505060405180910390f35b61057f610e6b565b6040518082815260200191505060405180910390f35b6105d7600480360360208110156105ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ea4565b6040518082815260200191505060405180910390f35b6106396004803603604081101561060357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610eed565b005b610643610f4f565b6040518082815260200191505060405180910390f35b61068f6004803603604081101561066f57600080fd5b810190808035906020019092919080359060200190929190505050610f59565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61071d600480360360408110156106e757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f8a565b604051808215151515815260200191505060405180910390f35b61073f610fbb565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077f578082015181840152602081019050610764565b50505050905090810190601f1680156107ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107c261105d565b005b6107f0600480360360208110156107da57600080fd5b8101908080359060200190929190505050611103565b6040518082815260200191505060405180910390f35b61080e611134565b6040518082815260200191505060405180910390f35b6108706004803603604081101561083a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061113b565b604051808215151515815260200191505060405180910390f35b6108d6600480360360408110156108a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611208565b604051808215151515815260200191505060405180910390f35b61091c6004803603602081101561090657600080fd5b8101908080359060200190929190505050611226565b6040518082815260200191505060405180910390f35b61097e6004803603604081101561094857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124c565b005b6109e26004803603604081101561099657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112d5565b6040518082815260200191505060405180910390f35b610a0061135c565b6040518082815260200191505060405180910390f35b610a1e611362565b6040518082815260200191505060405180910390f35b606481565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610aef610ae8611368565b8484611370565b6001905092915050565b6000600354905090565b6000610b10848484611567565b610bd184610b1c611368565b610bcc8560405180606001604052806028815260200161291860289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b82611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b610c2160008084815260200190815260200160002060020154610c1c611368565b610f8a565b610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806127f9602f913960400191505060405180910390fd5b610c808282611637565b5050565b6000600860009054906101000a900460ff16905090565b610ca3611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129f3602f913960400191505060405180910390fd5b610d3082826116ca565b5050565b6000610ddd610d41611368565b84610dd88560026000610d52611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b611370565b6001905092915050565b610df8610df2611368565b826117e5565b50565b6000806000610e4884600960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206117f3565b9150915081610e5f57610e5a85610ea4565b610e61565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f2c8260405180606001604052806024815260200161294060249139610f1d86610f18611368565b6112d5565b6115779092919063ffffffff16565b9050610f4083610f3a611368565b83611370565b610f4a83836117e5565b505050565b6000600454905090565b6000610f828260008086815260200190815260200160002060000161194d90919063ffffffff16565b905092915050565b6000610fb38260008086815260200190815260200160002060000161196790919063ffffffff16565b905092915050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110535780601f1061102857610100808354040283529160200191611053565b820191906000526020600020905b81548152906001019060200180831161103657829003601f168201915b5050505050905090565b6110a360405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902061109e611368565b610f8a565b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806128c26035913960400191505060405180910390fd5b611100611997565b50565b600080600061111384600a6117f3565b915091508161112957611124610af9565b61112b565b805b92505050919050565b6000801b81565b60006111fe611148611368565b846111f9856040518060600160405280602581526020016129ce6025913960026000611172611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b6001905092915050565b600061121c611215611368565b8484611567565b6001905092915050565b60006112456000808481526020019081526020016000206000016119ef565b9050919050565b6112726000808481526020019081526020016000206002015461126d611368565b610f8a565b6112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806128926030913960400191505060405180910390fd5b6112d182826116ca565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60045481565b60055481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806129aa6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061284a6022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611572838383611a04565b505050565b6000838311158290611624576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115e95780820151818401526020810190506115ce565b50505050905090810190601f1680156116165780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b61165e81600080858152602001908152602001600020600001611a2690919063ffffffff16565b156116c65761166b611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6116f181600080858152602001908152602001600020600001611a5690919063ffffffff16565b15611759576116fe611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808284019050838110156117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6117ef8282611a86565b5050565b6000806000841161186c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b611876600c611aa5565b8411156118eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b60006119038585600001611ab390919063ffffffff16565b90508360000180549050811415611924576000808090509250925050611946565b600184600101828154811061193557fe5b906000526020600020015492509250505b9250929050565b600061195c8360000183611b68565b60001c905092915050565b600061198f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611beb565b905092915050565b60006119a3600c611c0e565b60006119af600c611aa5565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b60006119fd82600001611c24565b9050919050565b611a0d83611c35565b611a1682611c35565b611a21838383611c88565b505050565b6000611a4e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611fb8565b905092915050565b6000611a7e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612028565b905092915050565b611a8f82611c35565b611a97612110565b611aa18282612124565b5050565b600081600001549050919050565b60008083805490501415611aca5760009050611b62565b60008090506000848054905090505b80821015611b22576000611aed83836122ea565b905084868281548110611afc57fe5b90600052602060002001541115611b1557809150611b1c565b6001810192505b50611ad9565b600082118015611b4a575083856001840381548110611b3d57fe5b9060005260206000200154145b15611b5c576001820392505050611b62565b81925050505b92915050565b600081836000018054905011611bc9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127b46022913960400191505060405180910390fd5b826000018281548110611bd857fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b611c85600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611c8083610ea4565b61232c565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129856025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127d66023913960400191505060405180910390fd5b611d9f8383836123a9565b60008190506004546003541115611e095760006005541115611e08576000611de56064611dd7600554866123ae90919063ffffffff16565b61243490919063ffffffff16565b9050611df185826117e5565b611e04818361247e90919063ffffffff16565b9150505b5b611e758160405180606001604052806026815260200161286c60269139600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f0a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a350505050565b6000611fc48383611beb565b61201d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612022565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114612104576000600182039050600060018660000180549050039050600086600001828154811061207357fe5b906000526020600020015490508087600001848154811061209057fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806120c857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061210a565b60009150505b92915050565b612122600a61211d610af9565b61232c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129646021913960400191505060405180910390fd5b6121b6826000836123a9565b6122228160405180606001604052806022815260200161282860229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061227a8160035461247e90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600060028083816122f757fe5b066002858161230257fe5b06018161230b57fe5b046002838161231657fe5b046002858161232157fe5b040101905092915050565b6000612338600c611aa5565b905080612347846000016124c8565b10156123a45782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b505050565b6000808314156123c1576000905061242e565b60008284029050828482816123d257fe5b0414612429576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806128f76021913960400191505060405180910390fd5b809150505b92915050565b600061247683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612505565b905092915050565b60006124c083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611577565b905092915050565b600080828054905014156124df5760009050612500565b816001838054905003815481106124f257fe5b906000526020600020015490505b919050565b600080831182906125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257657808201518184015260208101905061255b565b50505050905090810190601f1680156125a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816125bd57fe5b049050809150509392505050565b6125d482611c35565b6125dc612110565b6125e682826125ea565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612699600083836123a9565b6126ae8160035461175d90919063ffffffff16565b60038190555061270681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220db6682667b9853f888716687db3e98231bf0a619b9d38328d9f48fbddf6fae4264736f6c63430006060033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001350696e6b792050726f6d69736520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000550494e4b59000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806379cc679011610104578063a217fddf116100a2578063d547741f11610071578063d547741f14610932578063dd62ed3e14610980578063f61d627d146109f8578063f846a88514610a16576101cf565b8063a217fddf14610806578063a457c2d714610824578063a9059cbb1461088a578063ca15c873146108f0576101cf565b806391d14854116100de57806391d14854146106d157806395d89b41146107375780639711715a146107ba578063981b24d0146107c4576101cf565b806379cc6790146105ed5780637ede036d1461063b5780639010d07c14610659576101cf565b8063313ce5671161017157806342966c681161014b57806342966c68146104e75780634ee2cd7e146105155780637028e2cd1461057757806370a0823114610595576101cf565b8063313ce5671461040f57806336568abe146104335780633950935114610481576101cf565b806318160ddd116101ad57806318160ddd146102db57806323b872dd146102f9578063248a9ca31461037f5780632f2ff15d146103c1576101cf565b806301c234a8146101d457806306fdde03146101f2578063095ea7b314610275575b600080fd5b6101dc610a34565b6040518082815260200191505060405180910390f35b6101fa610a39565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023a57808201518184015260208101905061021f565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c16004803603604081101561028b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610adb565b604051808215151515815260200191505060405180910390f35b6102e3610af9565b6040518082815260200191505060405180910390f35b6103656004803603606081101561030f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b03565b604051808215151515815260200191505060405180910390f35b6103ab6004803603602081101561039557600080fd5b8101908080359060200190929190505050610bdc565b6040518082815260200191505060405180910390f35b61040d600480360360408110156103d757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bfb565b005b610417610c84565b604051808260ff1660ff16815260200191505060405180910390f35b61047f6004803603604081101561044957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c9b565b005b6104cd6004803603604081101561049757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d34565b604051808215151515815260200191505060405180910390f35b610513600480360360208110156104fd57600080fd5b8101908080359060200190929190505050610de7565b005b6105616004803603604081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dfb565b6040518082815260200191505060405180910390f35b61057f610e6b565b6040518082815260200191505060405180910390f35b6105d7600480360360208110156105ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ea4565b6040518082815260200191505060405180910390f35b6106396004803603604081101561060357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610eed565b005b610643610f4f565b6040518082815260200191505060405180910390f35b61068f6004803603604081101561066f57600080fd5b810190808035906020019092919080359060200190929190505050610f59565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61071d600480360360408110156106e757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f8a565b604051808215151515815260200191505060405180910390f35b61073f610fbb565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077f578082015181840152602081019050610764565b50505050905090810190601f1680156107ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107c261105d565b005b6107f0600480360360208110156107da57600080fd5b8101908080359060200190929190505050611103565b6040518082815260200191505060405180910390f35b61080e611134565b6040518082815260200191505060405180910390f35b6108706004803603604081101561083a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061113b565b604051808215151515815260200191505060405180910390f35b6108d6600480360360408110156108a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611208565b604051808215151515815260200191505060405180910390f35b61091c6004803603602081101561090657600080fd5b8101908080359060200190929190505050611226565b6040518082815260200191505060405180910390f35b61097e6004803603604081101561094857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124c565b005b6109e26004803603604081101561099657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112d5565b6040518082815260200191505060405180910390f35b610a0061135c565b6040518082815260200191505060405180910390f35b610a1e611362565b6040518082815260200191505060405180910390f35b606481565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610aef610ae8611368565b8484611370565b6001905092915050565b6000600354905090565b6000610b10848484611567565b610bd184610b1c611368565b610bcc8560405180606001604052806028815260200161291860289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b82611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b610c2160008084815260200190815260200160002060020154610c1c611368565b610f8a565b610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806127f9602f913960400191505060405180910390fd5b610c808282611637565b5050565b6000600860009054906101000a900460ff16905090565b610ca3611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129f3602f913960400191505060405180910390fd5b610d3082826116ca565b5050565b6000610ddd610d41611368565b84610dd88560026000610d52611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b611370565b6001905092915050565b610df8610df2611368565b826117e5565b50565b6000806000610e4884600960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206117f3565b9150915081610e5f57610e5a85610ea4565b610e61565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f2c8260405180606001604052806024815260200161294060249139610f1d86610f18611368565b6112d5565b6115779092919063ffffffff16565b9050610f4083610f3a611368565b83611370565b610f4a83836117e5565b505050565b6000600454905090565b6000610f828260008086815260200190815260200160002060000161194d90919063ffffffff16565b905092915050565b6000610fb38260008086815260200190815260200160002060000161196790919063ffffffff16565b905092915050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110535780601f1061102857610100808354040283529160200191611053565b820191906000526020600020905b81548152906001019060200180831161103657829003601f168201915b5050505050905090565b6110a360405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902061109e611368565b610f8a565b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806128c26035913960400191505060405180910390fd5b611100611997565b50565b600080600061111384600a6117f3565b915091508161112957611124610af9565b61112b565b805b92505050919050565b6000801b81565b60006111fe611148611368565b846111f9856040518060600160405280602581526020016129ce6025913960026000611172611368565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b611370565b6001905092915050565b600061121c611215611368565b8484611567565b6001905092915050565b60006112456000808481526020019081526020016000206000016119ef565b9050919050565b6112726000808481526020019081526020016000206002015461126d611368565b610f8a565b6112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806128926030913960400191505060405180910390fd5b6112d182826116ca565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60045481565b60055481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806129aa6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061284a6022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611572838383611a04565b505050565b6000838311158290611624576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115e95780820151818401526020810190506115ce565b50505050905090810190601f1680156116165780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b61165e81600080858152602001908152602001600020600001611a2690919063ffffffff16565b156116c65761166b611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6116f181600080858152602001908152602001600020600001611a5690919063ffffffff16565b15611759576116fe611368565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808284019050838110156117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6117ef8282611a86565b5050565b6000806000841161186c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b611876600c611aa5565b8411156118eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b60006119038585600001611ab390919063ffffffff16565b90508360000180549050811415611924576000808090509250925050611946565b600184600101828154811061193557fe5b906000526020600020015492509250505b9250929050565b600061195c8360000183611b68565b60001c905092915050565b600061198f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611beb565b905092915050565b60006119a3600c611c0e565b60006119af600c611aa5565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b60006119fd82600001611c24565b9050919050565b611a0d83611c35565b611a1682611c35565b611a21838383611c88565b505050565b6000611a4e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611fb8565b905092915050565b6000611a7e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612028565b905092915050565b611a8f82611c35565b611a97612110565b611aa18282612124565b5050565b600081600001549050919050565b60008083805490501415611aca5760009050611b62565b60008090506000848054905090505b80821015611b22576000611aed83836122ea565b905084868281548110611afc57fe5b90600052602060002001541115611b1557809150611b1c565b6001810192505b50611ad9565b600082118015611b4a575083856001840381548110611b3d57fe5b9060005260206000200154145b15611b5c576001820392505050611b62565b81925050505b92915050565b600081836000018054905011611bc9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127b46022913960400191505060405180910390fd5b826000018281548110611bd857fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b611c85600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611c8083610ea4565b61232c565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129856025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127d66023913960400191505060405180910390fd5b611d9f8383836123a9565b60008190506004546003541115611e095760006005541115611e08576000611de56064611dd7600554866123ae90919063ffffffff16565b61243490919063ffffffff16565b9050611df185826117e5565b611e04818361247e90919063ffffffff16565b9150505b5b611e758160405180606001604052806026815260200161286c60269139600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f0a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a350505050565b6000611fc48383611beb565b61201d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612022565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114612104576000600182039050600060018660000180549050039050600086600001828154811061207357fe5b906000526020600020015490508087600001848154811061209057fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806120c857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061210a565b60009150505b92915050565b612122600a61211d610af9565b61232c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129646021913960400191505060405180910390fd5b6121b6826000836123a9565b6122228160405180606001604052806022815260200161282860229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115779092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061227a8160035461247e90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600060028083816122f757fe5b066002858161230257fe5b06018161230b57fe5b046002838161231657fe5b046002858161232157fe5b040101905092915050565b6000612338600c611aa5565b905080612347846000016124c8565b10156123a45782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b505050565b6000808314156123c1576000905061242e565b60008284029050828482816123d257fe5b0414612429576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806128f76021913960400191505060405180910390fd5b809150505b92915050565b600061247683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612505565b905092915050565b60006124c083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611577565b905092915050565b600080828054905014156124df5760009050612500565b816001838054905003815481106124f257fe5b906000526020600020015490505b919050565b600080831182906125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257657808201518184015260208101905061255b565b50505050905090810190601f1680156125a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816125bd57fe5b049050809150509392505050565b6125d482611c35565b6125dc612110565b6125e682826125ea565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612699600083836123a9565b6126ae8160035461175d90919063ffffffff16565b60038190555061270681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175d90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220db6682667b9853f888716687db3e98231bf0a619b9d38328d9f48fbddf6fae4264736f6c63430006060033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001350696e6b792050726f6d69736520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000550494e4b59000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Pinky Promise Token
Arg [1] : symbol (string): PINKY
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] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [5] : 50696e6b792050726f6d69736520546f6b656e00000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 50494e4b59000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

58523:874:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58523:874:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;19270:46:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19953: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;19953:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22225:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22225:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21028:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22868:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22868:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;42763:114;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;42763:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43139:227;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43139:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20880:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;44348:209;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;44348:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23598:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23598:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29740:91;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;29740:91:0;;;;;;;;;;;;;;;;;:::i;:::-;;54049:258;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;54049:258:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;58222:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21357:119;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21357:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30150:295;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;30150:295:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21199:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42436:138;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;42436:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41397:139;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41397:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20155: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;20155:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58301:170;;;:::i;:::-;;54411:225;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;54411:225:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40142:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24319:269;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24319:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21689:175;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21689:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41710:127;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41710:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43611:230;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43611:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21927:151;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21927:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19174:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19235:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19270:46;19313:3;19270:46;:::o;19953:83::-;19990:13;20023:5;20016:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19953:83;:::o;22225:169::-;22308:4;22325:39;22334:12;:10;:12::i;:::-;22348:7;22357:6;22325:8;:39::i;:::-;22382:4;22375:11;;22225:169;;;;:::o;21028:100::-;21081:7;21108:12;;21101:19;;21028:100;:::o;22868:321::-;22974:4;22991:36;23001:6;23009:9;23020:6;22991:9;:36::i;:::-;23038:121;23047:6;23055:12;:10;:12::i;:::-;23069:89;23107:6;23069:89;;;;;;;;;;;;;;;;;:11;:19;23081:6;23069:19;;;;;;;;;;;;;;;:33;23089:12;:10;:12::i;:::-;23069:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;23038:8;:121::i;:::-;23177:4;23170:11;;22868:321;;;;;:::o;42763:114::-;42820:7;42847:6;:12;42854:4;42847:12;;;;;;;;;;;:22;;;42840:29;;42763:114;;;:::o;43139:227::-;43223:45;43231:6;:12;43238:4;43231:12;;;;;;;;;;;:22;;;43255:12;:10;:12::i;:::-;43223:7;:45::i;:::-;43215:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43333:25;43344:4;43350:7;43333:10;:25::i;:::-;43139:227;;:::o;20880:83::-;20921:5;20946:9;;;;;;;;;;;20939:16;;20880:83;:::o;44348:209::-;44446:12;:10;:12::i;:::-;44435:23;;:7;:23;;;44427:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44523:26;44535:4;44541:7;44523:11;:26::i;:::-;44348:209;;:::o;23598:218::-;23686:4;23703:83;23712:12;:10;:12::i;:::-;23726:7;23735:50;23774:10;23735:11;:25;23747:12;:10;:12::i;:::-;23735:25;;;;;;;;;;;;;;;:34;23761:7;23735:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;23703:8;:83::i;:::-;23804:4;23797:11;;23598:218;;;;:::o;29740:91::-;29796:27;29802:12;:10;:12::i;:::-;29816:6;29796:5;:27::i;:::-;29740:91;:::o;54049:258::-;54128:7;54149:16;54167:13;54184:55;54193:10;54205:24;:33;54230:7;54205:33;;;;;;;;;;;;;;;54184:8;:55::i;:::-;54148:91;;;;54259:11;:40;;54281:18;54291:7;54281:9;:18::i;:::-;54259:40;;;54273:5;54259:40;54252:47;;;;54049:258;;;;:::o;58222:66::-;58262:26;;;;;;;;;;;;;;;;;;;58222:66;:::o;21357:119::-;21423:7;21450:9;:18;21460:7;21450:18;;;;;;;;;;;;;;;;21443:25;;21357:119;;;:::o;30150:295::-;30227:26;30256:84;30293:6;30256:84;;;;;;;;;;;;;;;;;:32;30266:7;30275:12;:10;:12::i;:::-;30256:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;30227:113;;30353:51;30362:7;30371:12;:10;:12::i;:::-;30385:18;30353:8;:51::i;:::-;30415:22;30421:7;30430:6;30415:5;:22::i;:::-;30150:295;;;:::o;21199:95::-;21245:7;21272:14;;21265:21;;21199:95;:::o;42436:138::-;42509:7;42536:30;42560:5;42536:6;:12;42543:4;42536:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;42529:37;;42436:138;;;;:::o;41397:139::-;41466:4;41490:38;41520:7;41490:6;:12;41497:4;41490:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;41483:45;;41397:139;;;;:::o;20155:87::-;20194:13;20227:7;20220:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20155:87;:::o;58301:170::-;58347:36;58262:26;;;;;;;;;;;;;;;;;;;58370:12;:10;:12::i;:::-;58347:7;:36::i;:::-;58339:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58452:11;:9;:11::i;:::-;;58301:170::o;54411:225::-;54474:7;54495:16;54513:13;54530:43;54539:10;54551:21;54530:8;:43::i;:::-;54494:79;;;;54593:11;:35;;54615:13;:11;:13::i;:::-;54593:35;;;54607:5;54593:35;54586:42;;;;54411:225;;;:::o;40142:49::-;40187:4;40142:49;;;:::o;24319:269::-;24412:4;24429:129;24438:12;:10;:12::i;:::-;24452:7;24461:96;24500:15;24461:96;;;;;;;;;;;;;;;;;:11;:25;24473:12;:10;:12::i;:::-;24461:25;;;;;;;;;;;;;;;:34;24487:7;24461:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;24429:8;:129::i;:::-;24576:4;24569:11;;24319:269;;;;:::o;21689:175::-;21775:4;21792:42;21802:12;:10;:12::i;:::-;21816:9;21827:6;21792:9;:42::i;:::-;21852:4;21845:11;;21689:175;;;;:::o;41710:127::-;41773:7;41800:29;:6;:12;41807:4;41800:12;;;;;;;;;;;:20;;:27;:29::i;:::-;41793:36;;41710:127;;;:::o;43611:230::-;43696:45;43704:6;:12;43711:4;43704:12;;;;;;;;;;;:22;;;43728:12;:10;:12::i;:::-;43696:7;:45::i;:::-;43688:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43807:26;43819:4;43825:7;43807:11;:26::i;:::-;43611:230;;:::o;21927:151::-;22016:7;22043:11;:18;22055:5;22043:18;;;;;;;;;;;;;;;:27;22062:7;22043:27;;;;;;;;;;;;;;;;22036:34;;21927:151;;;;:::o;19174:54::-;;;;:::o;19235:28::-;;;;:::o;696:106::-;749:15;784:10;777:17;;696:106;:::o;27835:346::-;27954:1;27937:19;;:5;:19;;;;27929:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28035:1;28016:21;;:7;:21;;;;28008:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28119:6;28089:11;:18;28101:5;28089:18;;;;;;;;;;;;;;;:27;28108:7;28089:27;;;;;;;;;;;;;;;:36;;;;28157:7;28141:32;;28150:5;28141:32;;;28166:6;28141:32;;;;;;;;;;;;;;;;;;27835:346;;;:::o;59244:150::-;59354:32;59370:4;59376:2;59380:5;59354:15;:32::i;:::-;59244:150;;;:::o;7883:192::-;7969:7;8002:1;7997;:6;;8005:12;7989: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;7989:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8029:9;8045:1;8041;:5;8029:17;;8066:1;8059:8;;;7883:192;;;;;:::o;45591:188::-;45665:33;45690:7;45665:6;:12;45672:4;45665:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;45661:111;;;45747:12;:10;:12::i;:::-;45720:40;;45738:7;45720:40;;45732:4;45720:40;;;;;;;;;;45661:111;45591:188;;:::o;45787:192::-;45862:36;45890:7;45862:6;:12;45869:4;45862:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;45858:114;;;45947:12;:10;:12::i;:::-;45920:40;;45938:7;45920:40;;45932:4;45920:40;;;;;;;;;;45858:114;45787:192;;:::o;6980:181::-;7038:7;7058:9;7074:1;7070;:5;7058:17;;7099:1;7094;:6;;7086:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7152:1;7145:8;;;6980:181;;;;:::o;58962:133::-;59060:27;59072:7;59081:5;59060:11;:27::i;:::-;58962:133;;:::o;55587:1692::-;55685:4;55691:7;55737:1;55724:10;:14;55716:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55852:28;:18;:26;:28::i;:::-;55838:10;:42;;55830:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57053:13;57069:40;57098:10;57069:9;:13;;:28;;:40;;;;:::i;:::-;57053:56;;57135:9;:13;;:20;;;;57126:5;:29;57122:150;;;57180:5;57187:1;57172:17;;;;;;;;;;57122:150;57230:4;57236:9;:16;;57253:5;57236:23;;;;;;;;;;;;;;;;57222:38;;;;;55587:1692;;;;;;:::o;36715:149::-;36789:7;36832:22;36836:3;:10;;36848:5;36832:3;:22::i;:::-;36824:31;;36809:47;;36715:149;;;;:::o;36010:158::-;36090:4;36114:46;36124:3;:10;;36152:5;36144:14;;36136:23;;36114:9;:46::i;:::-;36107:53;;36010:158;;;;:::o;53709:228::-;53756:7;53776:30;:18;:28;:30::i;:::-;53819:17;53839:28;:18;:26;:28::i;:::-;53819:48;;53883:19;53892:9;53883:19;;;;;;;;;;;;;;;;;;53920:9;53913:16;;;53709:228;:::o;36254:117::-;36317:7;36344:19;36352:3;:10;;36344:7;:19::i;:::-;36337:26;;36254:117;;;:::o;54944:215::-;55041:28;55064:4;55041:22;:28::i;:::-;55080:26;55103:2;55080:22;:26::i;:::-;55119:32;55135:4;55141:2;55145:5;55119:15;:32::i;:::-;54944:215;;;:::o;35456:143::-;35526:4;35550:41;35555:3;:10;;35583:5;35575:14;;35567:23;;35550:4;:41::i;:::-;35543:48;;35456:143;;;;:::o;35775:149::-;35848:4;35872:44;35880:3;:10;;35908:5;35900:14;;35892:23;;35872:7;:44::i;:::-;35865:51;;35775:149;;;;:::o;55377:202::-;55461:31;55484:7;55461:22;:31::i;:::-;55503:28;:26;:28::i;:::-;55544:27;55556:7;55565:5;55544:11;:27::i;:::-;55377:202;;:::o;49389:114::-;49454:7;49481;:14;;;49474:21;;49389:114;;;:::o;47379:918::-;47468:7;47508:1;47492:5;:12;;;;:17;47488:58;;;47533:1;47526:8;;;;47488:58;47558:11;47572:1;47558:15;;47584:12;47599:5;:12;;;;47584:27;;47624:424;47637:4;47631:3;:10;47624:424;;;47658:11;47672:23;47685:3;47690:4;47672:12;:23::i;:::-;47658:37;;47929:7;47916:5;47922:3;47916:10;;;;;;;;;;;;;;;;:20;47912:125;;;47964:3;47957:10;;47912:125;;;48020:1;48014:3;:7;48008:13;;47912:125;47624:424;;;;48174:1;48168:3;:7;:36;;;;;48197:7;48179:5;48191:1;48185:3;:7;48179:14;;;;;;;;;;;;;;;;:25;48168:36;48164:126;;;48234:1;48228:3;:7;48221:14;;;;;;48164:126;48275:3;48268:10;;;;47379:918;;;;;:::o;34998:204::-;35065:7;35114:5;35093:3;:11;;:18;;;;:26;35085:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35176:3;:11;;35188:5;35176:18;;;;;;;;;;;;;;;;35169:25;;34998:204;;;;:::o;34330:129::-;34403:4;34450:1;34427:3;:12;;:19;34440:5;34427:19;;;;;;;;;;;;:24;;34420:31;;34330:129;;;;:::o;49511:181::-;49683:1;49665:7;:14;;;:19;;;;;;;;;;;49511:181;:::o;34545:109::-;34601:7;34628:3;:11;;:18;;;;34621:25;;34545:109;;;:::o;57287:146::-;57355:70;57371:24;:33;57396:7;57371:33;;;;;;;;;;;;;;;57406:18;57416:7;57406:9;:18::i;:::-;57355:15;:70::i;:::-;57287:146;:::o;25078:908::-;25202:1;25184:20;;:6;:20;;;;25176:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25286:1;25265:23;;:9;:23;;;;25257:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25341:47;25362:6;25370:9;25381:6;25341:20;:47::i;:::-;25401:23;25427:6;25401:32;;25462:14;;25447:12;;:29;25444:289;;;25508:1;25496:9;;:13;25493:229;;;25530:18;25551:43;19313:3;25551:21;25562:9;;25551:6;:10;;:21;;;;:::i;:::-;:25;;:43;;;;:::i;:::-;25530:64;;25613:25;25619:6;25627:10;25613:5;:25::i;:::-;25675:31;25695:10;25675:15;:19;;:31;;;;:::i;:::-;25657:49;;25493:229;;25444:289;25763:80;25785:15;25763:80;;;;;;;;;;;;;;;;;:9;:17;25773:6;25763:17;;;;;;;;;;;;;;;;:21;;:80;;;;;:::i;:::-;25743:9;:17;25753:6;25743:17;;;;;;;;;;;;;;;:100;;;;25877:41;25902:15;25877:9;:20;25887:9;25877:20;;;;;;;;;;;;;;;;:24;;:41;;;;:::i;:::-;25854:9;:20;25864:9;25854:20;;;;;;;;;;;;;;;:64;;;;25951:9;25934:44;;25943:6;25934:44;;;25962:15;25934:44;;;;;;;;;;;;;;;;;;25078:908;;;;:::o;32110:414::-;32173:4;32195:21;32205:3;32210:5;32195:9;:21::i;:::-;32190:327;;32233:3;:11;;32250:5;32233:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;32233:23:0;;;;;;;;;;;;;;;;;;;32416:3;:11;;:18;;;;32394:3;:12;;:19;32407:5;32394:19;;;;;;;;;;;:40;;;;32456:4;32449:11;;;;32190:327;32500:5;32493:12;;32110:414;;;;;:::o;32700:1544::-;32766:4;32884:18;32905:3;:12;;:19;32918:5;32905:19;;;;;;;;;;;;32884:40;;32955:1;32941:10;:15;32937:1300;;33303:21;33340:1;33327:10;:14;33303:38;;33356:17;33397:1;33376:3;:11;;:18;;;;:22;33356:42;;33643:17;33663:3;:11;;33675:9;33663:22;;;;;;;;;;;;;;;;33643:42;;33809:9;33780:3;:11;;33792:13;33780:26;;;;;;;;;;;;;;;:38;;;;33928:1;33912:13;:17;33886:3;:12;;:23;33899:9;33886:23;;;;;;;;;;;:43;;;;34038:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;34133:3;:12;;:19;34146:5;34133:19;;;;;;;;;;;34126:26;;;34176:4;34169:11;;;;;;;;32937:1300;34220:5;34213:12;;;32700:1544;;;;;:::o;57441:118::-;57498:53;57514:21;57537:13;:11;:13::i;:::-;57498:15;:53::i;:::-;57441:118::o;26977:418::-;27080:1;27061:21;;:7;:21;;;;27053:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27133:49;27154:7;27171:1;27175:6;27133:20;:49::i;:::-;27216:68;27239:6;27216:68;;;;;;;;;;;;;;;;;:9;:18;27226:7;27216:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;27195:9;:18;27205:7;27195:18;;;;;;;;;;;;;;;:89;;;;27310:24;27327:6;27310:12;;:16;;:24;;;;:::i;:::-;27295:12;:39;;;;27376:1;27350:37;;27359:7;27350:37;;;27380:6;27350:37;;;;;;;;;;;;;;;;;;26977:418;;:::o;46614:193::-;46676:7;46797:1;46792;46788;:5;;;;;;46784:1;46780;:5;;;;;;:13;46779:19;;;;;;46773:1;46769;:5;;;;;;46763:1;46759;:5;;;;;;46758:17;:41;46751:48;;46614:193;;;;:::o;57567:315::-;57662:17;57682:28;:18;:26;:28::i;:::-;57662:48;;57758:9;57725:30;57741:9;:13;;57725:15;:30::i;:::-;:42;57721:154;;;57784:9;:13;;57803:9;57784:29;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;57784:29:0;;;;;;;;;;;;;;;;;;;57828:9;:16;;57850:12;57828:35;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;57828:35:0;;;;;;;;;;;;;;;;;;;57721:154;57567:315;;;:::o;29206:92::-;;;;:::o;8334:471::-;8392:7;8642:1;8637;:6;8633:47;;;8667:1;8660:8;;;;8633:47;8692:9;8708:1;8704;:5;8692:17;;8737:1;8732;8728;:5;;;;;;:10;8720:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8796:1;8789:8;;;8334:471;;;;;:::o;9281:132::-;9339:7;9366:39;9370:1;9373;9366:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;9359:46;;9281:132;;;;:::o;7444:136::-;7502:7;7529:43;7533:1;7536;7529:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7522:50;;7444:136;;;;:::o;57890:212::-;57960:7;57998:1;57984:3;:10;;;;:15;57980:115;;;58023:1;58016:8;;;;57980:115;58064:3;58081:1;58068:3;:10;;;;:14;58064:19;;;;;;;;;;;;;;;;58057:26;;57890:212;;;;:::o;9909:278::-;9995:7;10027:1;10023;:5;10030:12;10015: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;10015:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10054:9;10070:1;10066;:5;;;;;;10054:17;;10178:1;10171:8;;;9909:278;;;;;:::o;55167:202::-;55251:31;55274:7;55251:22;:31::i;:::-;55293:28;:26;:28::i;:::-;55334:27;55346:7;55355:5;55334:11;:27::i;:::-;55167:202;;:::o;26267:378::-;26370:1;26351:21;;:7;:21;;;;26343:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26421:49;26450:1;26454:7;26463:6;26421:20;:49::i;:::-;26498:24;26515:6;26498:12;;:16;;:24;;;;:::i;:::-;26483:12;:39;;;;26554:30;26577:6;26554:9;:18;26564:7;26554:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;26533:9;:18;26543:7;26533:18;;;;;;;;;;;;;;;:51;;;;26621:7;26600:37;;26617:1;26600:37;;;26630:6;26600:37;;;;;;;;;;;;;;;;;;26267:378;;:::o

Swarm Source

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