ETH Price: $1,900.99 (-1.62%)

Token

Hypersound (HYPERS)
 

Overview

Max Total Supply

556,226.642497256303430049 HYPERS

Holders

339

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Null: 0x000...000
Balance
0 HYPERS

Value
$0.00
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
HypersoundV2

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 300 runs

Other Settings:
paris EvmVersion
File 1 of 8 : HypersoundV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IBlast.sol";
import "../interfaces/IBlastPoints.sol";

/*
    __  __                                                 __
   / / / /_  ______  ___  ______________  __  ______  ____/ /
  / /_/ / / / / __ \/ _ \/ ___/ ___/ __ \/ / / / __ \/ __  / 
 / __  / /_/ / /_/ /  __/ /  (__  ) /_/ / /_/ / / / / /_/ /  
/_/ /_/\__, / .___/\___/_/  /____/\____/\__,_/_/ /_/\__,_/   
      /____/_/                                                                                                                                                                     
*/

/// @author blastoshi
contract HypersoundV2 is ERC20, Ownable {
    uint256 public maxSupply = 21000000000000000000000000;
    uint256 public miningReward = 250000000000000000000;
    uint256 public txFee = 50000000000000000;
    uint256 public halvingInterval = 42000;
    uint256 public blockNumber = 16269; // Restarting from the last V1 block
    uint256 public lastHalvingBlock;
    uint256 public lastBlockTime = 1724451571;
    uint256 public blockInterval = 1 minutes;
    uint256 public feesPool;
    uint256 public v1BalancesMinted;

    mapping(uint256 => address[]) public minersPerBlock;
    mapping(address => mapping(uint256 => uint256)) public stakedInProposal; // address => proposalId => amount staked

    enum ProposalStatus {
        Pending,
        Passed,
        Rejected,
        QuorumFailed
    }

    struct Proposal {
        address proposer;
        uint256 txFeeValue;
        uint256 startTime;
        uint256 votesFor;
        uint256 votesAgainst;
        ProposalStatus status;
    }
    Proposal[] public proposals;

    event Mine(uint256 indexed blockNumber, address miner);
    event Burn(uint256 amount, uint256 claim);
    event Inscription(bytes data);
    event GasFeesClaim(uint256 amount);
    event NewBlock(uint256 blockNumber, address miner);
    event ProposalStarted(uint256 id, uint256 txFeeValue, uint256 endTime);
    event ProposalEnded(uint256 id, uint256 txFeeValue, ProposalStatus result);
    event Vote(uint256 indexed proposalId, address indexed voter, uint256 _amount, bool vote);
    error TransferFailed();

    constructor() ERC20('Hypersound', 'HYPERS') {
        IBlast(0x4300000000000000000000000000000000000002).configureAutomaticYield();
        IBlast(0x4300000000000000000000000000000000000002).configureClaimableGas();
        IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800).configurePointsOperator(0x0e0A2919703adC3951f9F0Ccce834D6a91ADE424);
        
        // Burn the same amount as in V1
        _mint(msg.sender, 3463 * 1e18);
        burn(3463);
    }

    receive() external payable {}

    function mineBatch(uint256 nbTx, bytes calldata extraData) external {
        require(nbTx > 0 && nbTx <= 1000, 'Invalid nbTx');
        for (uint256 i = 0; i < nbTx; i++) {
            mine(extraData);
        }
    }

    function mintV1Balances(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner {
        require(recipients.length == amounts.length, "Array lengths do not match");

        for (uint256 i = 0; i < recipients.length; i++) {
            v1BalancesMinted += amounts[i];
            require(v1BalancesMinted <= 4063787 * 1e18, 'All V1 balances already minted');
            _mint(recipients[i], amounts[i]);
        }
    }

    function mine(bytes calldata extraData) public {
        minersPerBlock[blockNumber + 1].push(msg.sender);

        // Inscribe data if sent by the miner
        if (extraData.length > 0) emit Inscription(extraData);

        emit Mine(blockNumber + 1, msg.sender);

        if (block.timestamp >= lastBlockTime + blockInterval) {
            _finishProposal();
            claimGasFees();

            blockNumber++;

            // Randomly select a miner to receive the reward
            address selectedMiner = _selectRandomMiner();

            // Proceed halving check & reward only if the whole supply was not minted yet
            if (totalSupply() + miningReward <= maxSupply) {
                // Check if it's time for halving
                if (blockNumber >= lastHalvingBlock + halvingInterval) {
                    miningReward = miningReward / 2;
                    lastHalvingBlock = blockNumber;
                }

                // Mint the reward to the selected miner
                _mint(selectedMiner, miningReward);
            }

            // Send the tokens from the feesPool to the miner and reset feesPool
            if (feesPool > 0) {
                super._transfer(address(this), selectedMiner, feesPool);
                feesPool = 0;
            }

            lastBlockTime = block.timestamp;
            emit NewBlock(blockNumber, selectedMiner);
        }
    }

    // Can only burn a minimum of 1 token (amount == 1 == 1000000000000000000)
    function burn(uint256 amount) public {
        uint256 scaledAmount = amount * 1e18;
        uint256 claim = (tokenValue() * amount);
        maxSupply -= scaledAmount;
        _burn(msg.sender, scaledAmount);
        emit Burn(amount, claim);
        (bool success, ) = payable(msg.sender).call{value: claim}("");
        if (!success) revert TransferFailed();
    }

    function startProposal (uint256 _txFeeValue, uint256 _firstVoteAmount) public {
        require(!hasActiveProposal(), 'A proposal is already being voted');
        require((_firstVoteAmount >= totalSupply() / 1000) && (balanceOf(msg.sender) >= _firstVoteAmount), 'Not enough tokens to start a proposal'); // Proposer should lock at least 0.1% of the current supply to start a proposal
        proposals.push(Proposal(msg.sender, _txFeeValue, block.timestamp, 0, 0, ProposalStatus.Pending));
        emit ProposalStarted(proposals.length - 1, _txFeeValue, block.timestamp + 1 days);
        vote(_firstVoteAmount, true);
    }

    function vote (uint256 _amount, bool _vote) public {
        require(hasActiveProposal(), 'No active proposal found');
        require(block.timestamp < proposals[proposals.length - 1].startTime + 1 days, 'The time to vote on the proposal elapsed');
        require(_amount > 0, 'The amount can not be 0');

        uint256 proposalId = proposals.length - 1;

        super._transfer(msg.sender, address(this), _amount);
        stakedInProposal[msg.sender][proposalId] += _amount;

        if (_vote) {
            proposals[proposalId].votesFor += _amount;
        } else {
            proposals[proposalId].votesAgainst += _amount;
        }

        emit Vote(proposalId, msg.sender, _amount, _vote);
    }

    function unstake (uint256 _proposalId) public {
        require(proposals[_proposalId].status != ProposalStatus.Pending, 'This proposal is still in voting process');
        require(stakedInProposal[msg.sender][_proposalId] > 0, 'No tokens staked');
        super._transfer(address(this), msg.sender, stakedInProposal[msg.sender][_proposalId]);
        stakedInProposal[msg.sender][_proposalId] = 0;
    }

    function claimGasFees() public {
        uint256 oldBalance = address(this).balance;
        IBlast(0x4300000000000000000000000000000000000002).claimMaxGas(address(this), address(this));
        emit GasFeesClaim(address(this).balance - oldBalance);
    }

    function nextHalvingBlock () public view returns (uint256) {
        return lastHalvingBlock + halvingInterval;
    }

    function minersPerBlockCount (uint256 _blockNumber) public view returns (uint256) {
        return minersPerBlock[_blockNumber].length;
    }

    function hasActiveProposal () public view returns (bool) {
        if (proposals.length == 0) {
            return false;
        } else {
            return proposals[proposals.length - 1].status == ProposalStatus.Pending;
        }
    }

    function tokenValue() public view returns (uint256) {
        uint256 supply = totalSupply();
        if (supply == 0) {
            return 0;
        }
        return (address(this).balance * 1e18) / supply;
    }


    function _transfer(address from, address to, uint256 amount) internal override {
        uint256 fromBalance = balanceOf(from);
        require(fromBalance >= amount + txFee, "Transfer amount exceeds balance + txFee");
        feesPool += txFee;
        super._transfer(from, to, amount);
        super._transfer(from, address(this), txFee);
    }

    function _finishProposal() private {
        if (!hasActiveProposal()) return;

        uint256 proposalId = proposals.length - 1;
        Proposal storage activeProposal = proposals[proposalId];

        if (block.timestamp - activeProposal.startTime < 1 days) return;

        // 10% quorum is required
        if (activeProposal.votesFor + activeProposal.votesAgainst < totalSupply() / 10) {
            activeProposal.status = ProposalStatus.QuorumFailed;
        } else if (activeProposal.votesFor > activeProposal.votesAgainst) {
            txFee = activeProposal.txFeeValue;
            activeProposal.status = ProposalStatus.Passed;
        } else {
            activeProposal.status = ProposalStatus.Rejected;
        }

        emit ProposalEnded(proposalId, proposals[proposalId].txFeeValue, proposals[proposalId].status);
    }

    function _selectRandomMiner() private view returns (address) {
        uint256 randomIndex = uint256(
            keccak256(
                abi.encodePacked(
                    block.prevrandao, 
                    block.timestamp, 
                    minersPerBlockCount(blockNumber),
                    minersPerBlock[blockNumber][minersPerBlockCount(blockNumber) - 1]
                )
            )
        ) % minersPerBlockCount(blockNumber);
        return minersPerBlock[blockNumber][randomIndex];
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` 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 += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 4 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 5 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 8 : IBlast.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.21;

enum YieldMode {
    AUTOMATIC,
    VOID,
    CLAIMABLE
}

enum GasMode {
    VOID,
    CLAIMABLE 
}

interface IBlast{
    // configure
    function configureContract(address contractAddress, YieldMode _yield, GasMode gasMode, address governor) external;
    function configure(YieldMode _yield, GasMode gasMode, address governor) external;

    // base configuration options
    function configureClaimableYield() external;
    function configureClaimableYieldOnBehalf(address contractAddress) external;
    function configureAutomaticYield() external;
    function configureAutomaticYieldOnBehalf(address contractAddress) external;
    function configureVoidYield() external;
    function configureVoidYieldOnBehalf(address contractAddress) external;
    function configureClaimableGas() external;
    function configureClaimableGasOnBehalf(address contractAddress) external;
    function configureVoidGas() external;
    function configureVoidGasOnBehalf(address contractAddress) external;
    function configureGovernor(address _governor) external;
    function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external;

    // claim yield
    function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256);
    function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256);

    // claim gas
    function claimAllGas(address contractAddress, address recipientOfGas) external returns (uint256);
    function claimGasAtMinClaimRate(address contractAddress, address recipientOfGas, uint256 minClaimRateBips) external returns (uint256);
    function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256);
    function claimGas(address contractAddress, address recipientOfGas, uint256 gasToClaim, uint256 gasSecondsToConsume) external returns (uint256);

    // read functions
    function readClaimableYield(address contractAddress) external view returns (uint256);
    function readYieldConfiguration(address contractAddress) external view returns (uint8);
    function readGasParams(address contractAddress) external view returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, GasMode);
}

File 8 of 8 : IBlastPoints.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.21;

interface IBlastPoints {
    function configurePointsOperator(address operator) external;
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"TransferFailed","type":"error"},{"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":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claim","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"GasFeesClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"Inscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"address","name":"miner","type":"address"}],"name":"Mine","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"address","name":"miner","type":"address"}],"name":"NewBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txFeeValue","type":"uint256"},{"indexed":false,"internalType":"enum HypersoundV2.ProposalStatus","name":"result","type":"uint8"}],"name":"ProposalEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txFeeValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"ProposalStarted","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":true,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"vote","type":"bool"}],"name":"Vote","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockNumber","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":[],"name":"claimGasFees","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":[],"name":"feesPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"halvingInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasActiveProposal","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":"lastBlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHalvingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"mine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nbTx","type":"uint256"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"mineBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"minersPerBlock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blockNumber","type":"uint256"}],"name":"minersPerBlockCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"miningReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintV1Balances","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextHalvingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"proposals","outputs":[{"internalType":"address","name":"proposer","type":"address"},{"internalType":"uint256","name":"txFeeValue","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"votesFor","type":"uint256"},{"internalType":"uint256","name":"votesAgainst","type":"uint256"},{"internalType":"enum HypersoundV2.ProposalStatus","name":"status","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakedInProposal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txFeeValue","type":"uint256"},{"internalType":"uint256","name":"_firstVoteAmount","type":"uint256"}],"name":"startProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_proposalId","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"v1BalancesMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_vote","type":"bool"}],"name":"vote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040908082523462000700576000906200001b816200072f565b600a8152602069121e5c195c9cdbdd5b9960b21b8183015283519262000041846200072f565b600684526548595045525360d01b8285015282516001600160401b0393909290848411620006ec5760038054946001928387811c97168015620006e1575b85881014620006cd578190601f978881116200067a575b508590888311600114620006175787926200060b575b505060001982841b1c191690831b1781555b865190868211620005f75760049788548481811c91168015620005ec575b86821014620005d95787811162000591575b5084908784116001146200052a5793839491849288956200051e575b50501b92600019911b1c19161785555b60058054336001600160a01b031982168117909255875191906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a36a115eec47f6cf7e35000000600655680d8d726b7177a8000060075566b1a2bc2ec5000060085561a410600955613f8d600a556366c90af3600c55603c600d5573430000000000000000000000000000000000000290813b156200051a5763388a0bbd60e11b81528381888183865af18015620004d45762000504575b50803b15620004d05782809187895180948193634e606c4760e01b83525af18015620004fa57908391620004de575b5050732536fe9ab3f511540f2f9e2ec2a805005c3dd800803b15620004d057829081885180926336b91f2b60e01b8252730e0a2919703adc3951f9f0ccce834d6a91ade4248a8301528160249586925af18015620004d457908491620004b8575b50503315620004785760025468bbbac7783d59bc000090818101809111620004665760025533845283835287842081815401905587518181527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908582863393a3620002d86200074b565b91610d879182840293808504841490151715620004525760065468bbbac7783d59bbffff199081810190811162000440576006553388528787528b882054838110620003f3578c89969295878097968197968783987f410c5c259085cde81fedf70c1aa308ec839373c26e9b7ada6560a2aca0254eb6978f86903382525201868520556002540160025584519182528c3392a38151908152838a820152a1335af1943d15620003e8573d91818311620003d5578851958301601f19908116603f0116860191821186831017620003d55750875283523d92013e5b15620003c75750516121919081620007918239f35b90516312171d8360e31b8152fd5b634e487b7160e01b600090815260418952fd5b5050505050620003b2565b8c5162461bcd60e51b8152808d018990526022818901527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b634e487b7160e01b895260118c528689fd5b8460118b634e487b7160e01b600052526000fd5b634e487b7160e01b8552601188528285fd5b83869160649389519362461bcd60e51b85528401528201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b620004c39062000705565b620004d05782386200026d565b8280fd5b88513d86823e3d90fd5b620004e99062000705565b620004f65781386200020c565b5080fd5b87513d85823e3d90fd5b620005129093919362000705565b9138620001dd565b8380fd5b0151935038806200010a565b89875285872092919084601f198116895b89898383106200057957505050106200055e575b50505050811b0185556200011a565b01519060f884600019921b161c19169055388080806200054f565b8686015189559097019694850194889350016200053b565b8987528587208880860160051c820192888710620005cf575b0160051c019085905b828110620005c3575050620000ee565b888155018590620005b3565b92508192620005aa565b634e487b7160e01b875260228a52602487fd5b90607f1690620000dc565b634e487b7160e01b85526041600452602485fd5b015190503880620000ac565b8488528688208694509190601f198416895b898282106200066357505084116200064a575b505050811b018155620000be565b015160001983861b60f8161c191690553880806200063c565b838501518655899790950194938401930162000629565b9091508387528587208880850160051c820192888610620006c3575b918791869594930160051c01915b828110620006b457505062000096565b898155859450879101620006a4565b9250819262000696565b634e487b7160e01b86526022600452602486fd5b96607f16966200007f565b634e487b7160e01b83526041600452602483fd5b600080fd5b6001600160401b0381116200071957604052565b634e487b7160e01b600052604160045260246000fd5b604081019081106001600160401b038211176200071957604052565b60025480156200078a57670de0b6b3a76400004781810291811591830414171562000774570490565b634e487b7160e01b600052601160045260246000fd5b5060009056fe60406080815260049081361015610020575b5050361561001e57600080fd5b005b600091823560e01c8063013cf08b146115cf57806306fdde03146114db578063095ea7b3146114b15780630aa74b551461148a5780630e493031146113e657806318160ddd146113c75780631ec7e345146113aa57806323b872dd146112df5780632e17de78146111bf578063313ce567146111a3578063395093511461115457806342966c6814610f425780634ac2d10314610f235780634e1a6d0714610ee357806351b98c5914610e9957806357e871e714610e7a5780636a47aa0614610e5b5780636b25969014610e3c57806370a0823114610e06578063714b824614610ddb578063715018a614610d79578063724b2f5a14610d5a5780638da5cb5b14610d325780639091793d14610cf857806390cdef8514610cd957806392bc5fa014610b7357806395d89b4114610a6f578063a457c2d7146109ca578063a8bfb78f146109ab578063a9059cbb1461097a578063c25a9cb814610596578063c4c22e9814610577578063c85ea4ec14610558578063c9d27afe14610359578063cf8204611461033a578063d5abeb011461031b578063dd62ed3e146102d2578063eb2ada8c146102a85763f2fde38b146101da5750610011565b346102a45760203660031901126102a4576101f361170a565b906101fc6117c8565b6001600160a01b03809216928315610252575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b5050346102ce57816003193601126102ce576020906102c5611f45565b90519015158152f35b5080fd5b5050346102ce57806003193601126102ce57806020926102f061170a565b6102f8611725565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346102ce57816003193601126102ce576020906006549051908152f35b5050346102ce57816003193601126102ce576020906008549051908152f35b509190346102ce57806003193601126102ce578235906024908135948515159081870361055457610388611f45565b15610517576012546000198101949085116105065760026103a88661164d565b5001546201518081018091116104f4574210156104a157851561046557508495966103f67f833b8bad1ff76b718af5adb72da0547533a1fb1ff56639c0b2597d636830b0a795963033611d18565b3388526011602052838820868952602052838820610415888254611858565b905515610448575060036104288561164d565b5001610435868254611858565b90555b815194855260208501523393a380f35b6104518561164d565b500161045e868254611858565b9055610438565b906017606492602086519362461bcd60e51b855284015282015276054686520616d6f756e742063616e206e6f74206265203604c1b6044820152fd5b906028608492602086519362461bcd60e51b85528401528201527f5468652074696d6520746f20766f7465206f6e207468652070726f706f73616c60448201526708195b185c1cd95960c21b6064820152fd5b50634e487b7160e01b87526011825286fd5b634e487b7160e01b87526011825286fd5b606490601885602086519362461bcd60e51b855284015282015277139bc81858dd1a5d99481c1c9bdc1bdcd85b08199bdd5b9960421b6044820152fd5b8580fd5b5050346102ce57816003193601126102ce57602090600c549051908152f35b5050346102ce57816003193601126102ce57602090600d549051908152f35b50346102a4576105a536611769565b9290916105b0611f45565b61092e576103e8600254048410158061091a575b156108ca5781519060c0820182811067ffffffffffffffff8211176108b7578352338252602091828101908582528481014281526060820189815260808301918a835260a08401948b8652601254600160401b8110156108a45780600161062e920160125561164d565b9590956108925751855473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039190911617855551600185015551600284015551600383015551838201559051600591909101908281101561087f5760ff8019835416911617905560125493600019850194851161081c57620151809081420180421161086c577ffd20af996698edc83941559f41114f67a6c8f4978f3cd7bef30c5dd540556587916060918751918983528783015287820152a16106ed611f45565b1561082f5760026106fd8661164d565b50015490810180911161081c574210156107ca57841561078f57509060017f833b8bad1ff76b718af5adb72da0547533a1fb1ff56639c0b2597d636830b0a792610748863033611d18565b338752601181528287208588528152828720610765878254611858565b905560036107728661164d565b500161077f878254611858565b905582519586528501523393a380f35b915162461bcd60e51b8152918201526017602482015276054686520616d6f756e742063616e206e6f74206265203604c1b6044820152606490fd5b915162461bcd60e51b815291820152602860248201527f5468652074696d6520746f20766f7465206f6e207468652070726f706f73616c60448201526708195b185c1cd95960c21b6064820152608490fd5b634e487b7160e01b875260118252602487fd5b50915162461bcd60e51b8152918201526018602482015277139bc81858dd1a5d99481c1c9bdc1bdcd85b08199bdd5b9960421b6044820152606490fd5b634e487b7160e01b895260118452602489fd5b634e487b7160e01b885260218352602488fd5b634e487b7160e01b8d528c885260248dfd5b634e487b7160e01b8d526041885260248dfd5b634e487b7160e01b875260418252602487fd5b6020608492519162461bcd60e51b8352820152602560248201527f4e6f7420656e6f75676820746f6b656e7320746f20737461727420612070726f6044820152641c1bdcd85b60da1b6064820152fd5b5033855284602052838286205410156105c4565b6020608492519162461bcd60e51b8352820152602160248201527f412070726f706f73616c20697320616c7265616479206265696e6720766f74656044820152601960fa1b6064820152fd5b5050346102ce57806003193601126102ce576020906109a461099a61170a565b6024359033611faa565b5160018152f35b83346109c757806003193601126109c7576109c4611e93565b80f35b80fd5b5082346109c757826003193601126109c7576109e461170a565b91836024359233815260016020528181206001600160a01b0386168252602052205490828210610a1e576020856109a4858503873361187b565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b509190346102ce57816003193601126102ce57805191809380549160019083821c92828516948515610b69575b6020958686108114610b5657858952908115610b325750600114610ada575b610ad68787610acc828c0383611820565b51918291826116c1565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b828410610b1f5750505082610ad694610acc92820101943880610abb565b8054868501880152928601928101610b01565b60ff19168887015250505050151560051b8301019250610acc82610ad63880610abb565b634e487b7160e01b845260228352602484fd5b93607f1693610a9c565b50346102a457816003193601126102a45767ffffffffffffffff8135818111610cd557610ba39036908401611797565b906024928335908111610cd157610bbd9036908601611797565b949093610bc86117c8565b858403610c8f57875b848110610bdc578880f35b6a035c8a55aea1b3e5cc0000610bf382898961198c565b35610c01600f918254611858565b80915511610c4d57610c1481868661198c565b35906001600160a01b0382168203610c4957610c3f610c4492610c38838b8b61198c565b359061199c565b61197d565b610bd1565b8980fd5b875162461bcd60e51b8152602081850152601e818401527f416c6c2056312062616c616e63657320616c7265616479206d696e74656400006044820152606490fd5b90601a606492602089519362461bcd60e51b85528401528201527f4172726179206c656e6774687320646f206e6f74206d617463680000000000006044820152fd5b8680fd5b8480fd5b5050346102ce57816003193601126102ce57602090600f549051908152f35b8382346102ce5760203660031901126102ce57803567ffffffffffffffff81116102a4576109c491610d2c9136910161173b565b90611a3f565b5050346102ce57816003193601126102ce576020906001600160a01b03600554169051908152f35b5050346102ce57816003193601126102ce57602090600b549051908152f35b83346109c757806003193601126109c757610d926117c8565b806001600160a01b036005546bffffffffffffffffffffffff60a01b8116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102ce57816003193601126102ce57602090610dff600b5460095490611858565b9051908152f35b5050346102ce5760203660031901126102ce57806020926001600160a01b03610e2d61170a565b16815280845220549051908152f35b5050346102ce57816003193601126102ce57602090600e549051908152f35b5050346102ce57816003193601126102ce576020906009549051908152f35b5050346102ce57816003193601126102ce57602090600a549051908152f35b5050346102ce57610ea936611769565b9290815260106020528181209081548410156109c75750610ed46020936001600160a01b039261177f565b92905490519260031b1c168152f35b5050346102ce57806003193601126102ce57806020926001600160a01b03610f0961170a565b168152601184528181206024358252845220549051908152f35b5050346102ce57816003193601126102ce576020906007549051908152f35b5090346102a457602080600319360112611150578235670de0b6b3a76400009081810291818304148115171561113d57610f7a611f7d565b918183029280840483149015171561112a57610f9881600654611e86565b60065533156110dd573387528684528487205481811061108f5787937f410c5c259085cde81fedf70c1aa308ec839373c26e9b7ada6560a2aca0254eb6878695868681978297338452838d520384832055806002540360025583519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8b3392a381519081528389820152a1335af1903d15611089573d9067ffffffffffffffff821161107657859084519261105982601f19601f8401160185611820565b83523d92013e5b15611069578280f35b516312171d8360e31b8152fd5b634e487b7160e01b865260418552602486fd5b50611060565b855162461bcd60e51b8152808801869052602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b845162461bcd60e51b8152808701859052602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b634e487b7160e01b875260118652602487fd5b634e487b7160e01b865260118552602486fd5b8380fd5b5050346102ce57806003193601126102ce576109a460209261119c61117761170a565b91338152600186528481206001600160a01b0384168252865284602435912054611858565b903361187b565b5050346102ce57816003193601126102ce576020905160128152f35b509190346102ce57602092836003193601126102a45780359060ff60056111e58461164d565b50015416818110156112cc57156112785733845260118552828420828552855282842054156112425750829333845260118152828420828552815261122e838520543330611d18565b338452601181528284209184525281205580f35b825162461bcd60e51b8152908101859052601060248201526f139bc81d1bdad95b9cc81cdd185ad95960821b6044820152606490fd5b825162461bcd60e51b8152908101859052602860248201527f546869732070726f706f73616c206973207374696c6c20696e20766f74696e676044820152672070726f6365737360c01b6064820152608490fd5b634e487b7160e01b855260218252602485fd5b508290346102ce5760603660031901126102ce576112fb61170a565b611303611725565b9184604435946001600160a01b03841681526001602052818120338252602052205490600019820361133e575b6020866109a4878787611faa565b848210611367575091839161135c602096956109a49503338361187b565b919394819350611330565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346102ce57816003193601126102ce57602090610dff611f7d565b5050346102ce57816003193601126102ce576020906002549051908152f35b50346102a457816003193601126102a45780359160243567ffffffffffffffff8111610cd557611419903690840161173b565b9290918415158061147e575b1561144c575050835b838110611439578480f35b61144790610c3f8484611a3f565b61142e565b906020606492519162461bcd60e51b8352820152600c60248201526b092dcecc2d8d2c840dcc4a8f60a31b6044820152fd5b506103e8851115611425565b50346102a45760203660031901126102a45760209282913581526010845220549051908152f35b5050346102ce57806003193601126102ce576020906109a46114d161170a565b602435903361187b565b5090346102a457826003193601126102a457805191836003549060019082821c9282811680156115c5575b60209586861082146115b257508488529081156115905750600114611537575b610ad68686610acc828b0383611820565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061157d5750505082610ad694610acc928201019438611526565b8054868501880152928601928101611560565b60ff191687860152505050151560051b8301019250610acc82610ad638611526565b634e487b7160e01b845260229052602483fd5b93607f1693611506565b5082346109c75760203660031901126109c7578135906012548210156109c7575060c0926115ff61164b9261164d565b506001600160a01b038154169360018201549260028301549060ff60056003860154948601549501541694815197885260208801528601526060850152608084015260a083019061169e565bf35b601254811015611688576006906012600052027fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440190600090565b634e487b7160e01b600052603260045260246000fd5b9060048210156116ab5752565b634e487b7160e01b600052602160045260246000fd5b6020808252825181830181905290939260005b8281106116f657505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016116d4565b600435906001600160a01b038216820361172057565b600080fd5b602435906001600160a01b038216820361172057565b9181601f840112156117205782359167ffffffffffffffff8311611720576020838186019501011161172057565b6040906003190112611720576004359060243590565b80548210156116885760005260206000200190600090565b9181601f840112156117205782359167ffffffffffffffff8311611720576020808501948460051b01011161172057565b6001600160a01b036005541633036117dc57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff82111761184257604052565b634e487b7160e01b600052604160045260246000fd5b9190820180921161186557565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0380911691821561192c57169182156118dc5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b60001981146118655760010190565b91908110156116885760051b0190565b6001600160a01b03169081156119fa577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020826119de600094600254611858565b60025584845283825260408420818154019055604051908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b919091600a546001810180911161186557600090815260209060108252604092838220805490600160401b821015611c8b5790611a819160018201815561177f565b969080549760031b6001600160a01b03988933831b921b19161790558481611cc7575b505050600a5460018101809111611cb3577faa4d2abb4dfd58d60bd53a7ac8c1ca7741283ad1a2af7645198ed19380465786838551338152a2611aec600c54600d5490611858565b421015611afb575b5050509050565b611b03612056565b611b0b611e93565b611b16600a5461197d565b9081600a5581815260108352838120805490600019820190828211611c9f5790611b3f9161177f565b90549060031b1c85519085820192448452428884015260608301526bffffffffffffffffffffffff199060601b1660808201526074815260a0810181811067ffffffffffffffff821117611c8b578652519020958282526010845284822054968715611c77577f58ab9d8b9ae9ad7e2baee835f3d3fe920b93baf574a51df42c0390491f7297e99697611bdc91858552601087520686842061177f565b90549060031b1c1691600254611bf56007548092611858565b6006541015611c3b575b5050600e5480611c26575b505042600c55600a54918351928352820152a180388080611af4565b611c31908330611d18565b600e553880611c0a565b611c4a600b5460095490611858565b821015611c67575b5050611c606007548361199c565b3880611bff565b60011c600755600b553880611c52565b634e487b7160e01b83526012600452602483fd5b634e487b7160e01b84526041600452602484fd5b634e487b7160e01b84526011600452602484fd5b634e487b7160e01b82526011600452602482fd5b7f23a2085a3962f0c1f53329739081b36a57cac5ac628ab574c7197d552368634a928282519384928884528189850152848401378181018301869052601f01601f19168101030190a1388084611aa4565b6001600160a01b03809116918215611e335716918215611de257600082815280602052604081205491808310611d8e57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b9190820391821161186557565b4760405163662aa11d60e01b815230600482015230602482015260208160448160007343000000000000000000000000000000000000025af18015611f3957611f0e575b506020611f057f957f8f0c84501046c5e95feaddcebb033034101dd1c27192abd7671bfb53b5999247611e86565b604051908152a1565b602090813d8111611f32575b611f248183611820565b810103126117205738611ed7565b503d611f1a565b6040513d6000823e3d90fd5b60125480611f535750600090565b6000198101908111611865576005611f6c60ff9261164d565b5001541660048110156116ab571590565b6002548015611fa457670de0b6b3a764000047818102918115918304141715611865570490565b50600090565b90916001600160a01b03821660005260006020526040600020549060085491611fd38383611858565b1161200157611fff93611feb611ff493600e54611858565b600e5583611d18565b600854903090611d18565b565b60405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e6365206044820152662b20747846656560c81b6064820152608490fd5b61205e611f45565b15611fff5760125460001981019081116118655761207b8161164d565b506201518061208e600283015442611e86565b10612157577f921645c1149a77b2dcb0e5a776a8680f0f737fbc9d1181c38e38fd3f260625a291600582600360609401546004820154906120cf8282611858565b600a600254041160001461212757505001805460ff191660031790555b61212460016120fa8361164d565b50015460ff600561210a8561164d565b50015416906040519384526020840152604083019061169e565ba1565b111561214657600181015460085501600160ff198254161790556120ec565b01805460ff191660021790556120ec565b505056fea26469706673582212206e16e3b51cb02ca88e262f5be346503298f03dcd42eef806c7da2c2ef58688c364736f6c63430008150033

Deployed Bytecode

0x60406080815260049081361015610020575b5050361561001e57600080fd5b005b600091823560e01c8063013cf08b146115cf57806306fdde03146114db578063095ea7b3146114b15780630aa74b551461148a5780630e493031146113e657806318160ddd146113c75780631ec7e345146113aa57806323b872dd146112df5780632e17de78146111bf578063313ce567146111a3578063395093511461115457806342966c6814610f425780634ac2d10314610f235780634e1a6d0714610ee357806351b98c5914610e9957806357e871e714610e7a5780636a47aa0614610e5b5780636b25969014610e3c57806370a0823114610e06578063714b824614610ddb578063715018a614610d79578063724b2f5a14610d5a5780638da5cb5b14610d325780639091793d14610cf857806390cdef8514610cd957806392bc5fa014610b7357806395d89b4114610a6f578063a457c2d7146109ca578063a8bfb78f146109ab578063a9059cbb1461097a578063c25a9cb814610596578063c4c22e9814610577578063c85ea4ec14610558578063c9d27afe14610359578063cf8204611461033a578063d5abeb011461031b578063dd62ed3e146102d2578063eb2ada8c146102a85763f2fde38b146101da5750610011565b346102a45760203660031901126102a4576101f361170a565b906101fc6117c8565b6001600160a01b03809216928315610252575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b5050346102ce57816003193601126102ce576020906102c5611f45565b90519015158152f35b5080fd5b5050346102ce57806003193601126102ce57806020926102f061170a565b6102f8611725565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346102ce57816003193601126102ce576020906006549051908152f35b5050346102ce57816003193601126102ce576020906008549051908152f35b509190346102ce57806003193601126102ce578235906024908135948515159081870361055457610388611f45565b15610517576012546000198101949085116105065760026103a88661164d565b5001546201518081018091116104f4574210156104a157851561046557508495966103f67f833b8bad1ff76b718af5adb72da0547533a1fb1ff56639c0b2597d636830b0a795963033611d18565b3388526011602052838820868952602052838820610415888254611858565b905515610448575060036104288561164d565b5001610435868254611858565b90555b815194855260208501523393a380f35b6104518561164d565b500161045e868254611858565b9055610438565b906017606492602086519362461bcd60e51b855284015282015276054686520616d6f756e742063616e206e6f74206265203604c1b6044820152fd5b906028608492602086519362461bcd60e51b85528401528201527f5468652074696d6520746f20766f7465206f6e207468652070726f706f73616c60448201526708195b185c1cd95960c21b6064820152fd5b50634e487b7160e01b87526011825286fd5b634e487b7160e01b87526011825286fd5b606490601885602086519362461bcd60e51b855284015282015277139bc81858dd1a5d99481c1c9bdc1bdcd85b08199bdd5b9960421b6044820152fd5b8580fd5b5050346102ce57816003193601126102ce57602090600c549051908152f35b5050346102ce57816003193601126102ce57602090600d549051908152f35b50346102a4576105a536611769565b9290916105b0611f45565b61092e576103e8600254048410158061091a575b156108ca5781519060c0820182811067ffffffffffffffff8211176108b7578352338252602091828101908582528481014281526060820189815260808301918a835260a08401948b8652601254600160401b8110156108a45780600161062e920160125561164d565b9590956108925751855473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039190911617855551600185015551600284015551600383015551838201559051600591909101908281101561087f5760ff8019835416911617905560125493600019850194851161081c57620151809081420180421161086c577ffd20af996698edc83941559f41114f67a6c8f4978f3cd7bef30c5dd540556587916060918751918983528783015287820152a16106ed611f45565b1561082f5760026106fd8661164d565b50015490810180911161081c574210156107ca57841561078f57509060017f833b8bad1ff76b718af5adb72da0547533a1fb1ff56639c0b2597d636830b0a792610748863033611d18565b338752601181528287208588528152828720610765878254611858565b905560036107728661164d565b500161077f878254611858565b905582519586528501523393a380f35b915162461bcd60e51b8152918201526017602482015276054686520616d6f756e742063616e206e6f74206265203604c1b6044820152606490fd5b915162461bcd60e51b815291820152602860248201527f5468652074696d6520746f20766f7465206f6e207468652070726f706f73616c60448201526708195b185c1cd95960c21b6064820152608490fd5b634e487b7160e01b875260118252602487fd5b50915162461bcd60e51b8152918201526018602482015277139bc81858dd1a5d99481c1c9bdc1bdcd85b08199bdd5b9960421b6044820152606490fd5b634e487b7160e01b895260118452602489fd5b634e487b7160e01b885260218352602488fd5b634e487b7160e01b8d528c885260248dfd5b634e487b7160e01b8d526041885260248dfd5b634e487b7160e01b875260418252602487fd5b6020608492519162461bcd60e51b8352820152602560248201527f4e6f7420656e6f75676820746f6b656e7320746f20737461727420612070726f6044820152641c1bdcd85b60da1b6064820152fd5b5033855284602052838286205410156105c4565b6020608492519162461bcd60e51b8352820152602160248201527f412070726f706f73616c20697320616c7265616479206265696e6720766f74656044820152601960fa1b6064820152fd5b5050346102ce57806003193601126102ce576020906109a461099a61170a565b6024359033611faa565b5160018152f35b83346109c757806003193601126109c7576109c4611e93565b80f35b80fd5b5082346109c757826003193601126109c7576109e461170a565b91836024359233815260016020528181206001600160a01b0386168252602052205490828210610a1e576020856109a4858503873361187b565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b509190346102ce57816003193601126102ce57805191809380549160019083821c92828516948515610b69575b6020958686108114610b5657858952908115610b325750600114610ada575b610ad68787610acc828c0383611820565b51918291826116c1565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b828410610b1f5750505082610ad694610acc92820101943880610abb565b8054868501880152928601928101610b01565b60ff19168887015250505050151560051b8301019250610acc82610ad63880610abb565b634e487b7160e01b845260228352602484fd5b93607f1693610a9c565b50346102a457816003193601126102a45767ffffffffffffffff8135818111610cd557610ba39036908401611797565b906024928335908111610cd157610bbd9036908601611797565b949093610bc86117c8565b858403610c8f57875b848110610bdc578880f35b6a035c8a55aea1b3e5cc0000610bf382898961198c565b35610c01600f918254611858565b80915511610c4d57610c1481868661198c565b35906001600160a01b0382168203610c4957610c3f610c4492610c38838b8b61198c565b359061199c565b61197d565b610bd1565b8980fd5b875162461bcd60e51b8152602081850152601e818401527f416c6c2056312062616c616e63657320616c7265616479206d696e74656400006044820152606490fd5b90601a606492602089519362461bcd60e51b85528401528201527f4172726179206c656e6774687320646f206e6f74206d617463680000000000006044820152fd5b8680fd5b8480fd5b5050346102ce57816003193601126102ce57602090600f549051908152f35b8382346102ce5760203660031901126102ce57803567ffffffffffffffff81116102a4576109c491610d2c9136910161173b565b90611a3f565b5050346102ce57816003193601126102ce576020906001600160a01b03600554169051908152f35b5050346102ce57816003193601126102ce57602090600b549051908152f35b83346109c757806003193601126109c757610d926117c8565b806001600160a01b036005546bffffffffffffffffffffffff60a01b8116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102ce57816003193601126102ce57602090610dff600b5460095490611858565b9051908152f35b5050346102ce5760203660031901126102ce57806020926001600160a01b03610e2d61170a565b16815280845220549051908152f35b5050346102ce57816003193601126102ce57602090600e549051908152f35b5050346102ce57816003193601126102ce576020906009549051908152f35b5050346102ce57816003193601126102ce57602090600a549051908152f35b5050346102ce57610ea936611769565b9290815260106020528181209081548410156109c75750610ed46020936001600160a01b039261177f565b92905490519260031b1c168152f35b5050346102ce57806003193601126102ce57806020926001600160a01b03610f0961170a565b168152601184528181206024358252845220549051908152f35b5050346102ce57816003193601126102ce576020906007549051908152f35b5090346102a457602080600319360112611150578235670de0b6b3a76400009081810291818304148115171561113d57610f7a611f7d565b918183029280840483149015171561112a57610f9881600654611e86565b60065533156110dd573387528684528487205481811061108f5787937f410c5c259085cde81fedf70c1aa308ec839373c26e9b7ada6560a2aca0254eb6878695868681978297338452838d520384832055806002540360025583519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8b3392a381519081528389820152a1335af1903d15611089573d9067ffffffffffffffff821161107657859084519261105982601f19601f8401160185611820565b83523d92013e5b15611069578280f35b516312171d8360e31b8152fd5b634e487b7160e01b865260418552602486fd5b50611060565b855162461bcd60e51b8152808801869052602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b845162461bcd60e51b8152808701859052602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b634e487b7160e01b875260118652602487fd5b634e487b7160e01b865260118552602486fd5b8380fd5b5050346102ce57806003193601126102ce576109a460209261119c61117761170a565b91338152600186528481206001600160a01b0384168252865284602435912054611858565b903361187b565b5050346102ce57816003193601126102ce576020905160128152f35b509190346102ce57602092836003193601126102a45780359060ff60056111e58461164d565b50015416818110156112cc57156112785733845260118552828420828552855282842054156112425750829333845260118152828420828552815261122e838520543330611d18565b338452601181528284209184525281205580f35b825162461bcd60e51b8152908101859052601060248201526f139bc81d1bdad95b9cc81cdd185ad95960821b6044820152606490fd5b825162461bcd60e51b8152908101859052602860248201527f546869732070726f706f73616c206973207374696c6c20696e20766f74696e676044820152672070726f6365737360c01b6064820152608490fd5b634e487b7160e01b855260218252602485fd5b508290346102ce5760603660031901126102ce576112fb61170a565b611303611725565b9184604435946001600160a01b03841681526001602052818120338252602052205490600019820361133e575b6020866109a4878787611faa565b848210611367575091839161135c602096956109a49503338361187b565b919394819350611330565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346102ce57816003193601126102ce57602090610dff611f7d565b5050346102ce57816003193601126102ce576020906002549051908152f35b50346102a457816003193601126102a45780359160243567ffffffffffffffff8111610cd557611419903690840161173b565b9290918415158061147e575b1561144c575050835b838110611439578480f35b61144790610c3f8484611a3f565b61142e565b906020606492519162461bcd60e51b8352820152600c60248201526b092dcecc2d8d2c840dcc4a8f60a31b6044820152fd5b506103e8851115611425565b50346102a45760203660031901126102a45760209282913581526010845220549051908152f35b5050346102ce57806003193601126102ce576020906109a46114d161170a565b602435903361187b565b5090346102a457826003193601126102a457805191836003549060019082821c9282811680156115c5575b60209586861082146115b257508488529081156115905750600114611537575b610ad68686610acc828b0383611820565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061157d5750505082610ad694610acc928201019438611526565b8054868501880152928601928101611560565b60ff191687860152505050151560051b8301019250610acc82610ad638611526565b634e487b7160e01b845260229052602483fd5b93607f1693611506565b5082346109c75760203660031901126109c7578135906012548210156109c7575060c0926115ff61164b9261164d565b506001600160a01b038154169360018201549260028301549060ff60056003860154948601549501541694815197885260208801528601526060850152608084015260a083019061169e565bf35b601254811015611688576006906012600052027fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440190600090565b634e487b7160e01b600052603260045260246000fd5b9060048210156116ab5752565b634e487b7160e01b600052602160045260246000fd5b6020808252825181830181905290939260005b8281106116f657505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016116d4565b600435906001600160a01b038216820361172057565b600080fd5b602435906001600160a01b038216820361172057565b9181601f840112156117205782359167ffffffffffffffff8311611720576020838186019501011161172057565b6040906003190112611720576004359060243590565b80548210156116885760005260206000200190600090565b9181601f840112156117205782359167ffffffffffffffff8311611720576020808501948460051b01011161172057565b6001600160a01b036005541633036117dc57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff82111761184257604052565b634e487b7160e01b600052604160045260246000fd5b9190820180921161186557565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0380911691821561192c57169182156118dc5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b60001981146118655760010190565b91908110156116885760051b0190565b6001600160a01b03169081156119fa577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020826119de600094600254611858565b60025584845283825260408420818154019055604051908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b919091600a546001810180911161186557600090815260209060108252604092838220805490600160401b821015611c8b5790611a819160018201815561177f565b969080549760031b6001600160a01b03988933831b921b19161790558481611cc7575b505050600a5460018101809111611cb3577faa4d2abb4dfd58d60bd53a7ac8c1ca7741283ad1a2af7645198ed19380465786838551338152a2611aec600c54600d5490611858565b421015611afb575b5050509050565b611b03612056565b611b0b611e93565b611b16600a5461197d565b9081600a5581815260108352838120805490600019820190828211611c9f5790611b3f9161177f565b90549060031b1c85519085820192448452428884015260608301526bffffffffffffffffffffffff199060601b1660808201526074815260a0810181811067ffffffffffffffff821117611c8b578652519020958282526010845284822054968715611c77577f58ab9d8b9ae9ad7e2baee835f3d3fe920b93baf574a51df42c0390491f7297e99697611bdc91858552601087520686842061177f565b90549060031b1c1691600254611bf56007548092611858565b6006541015611c3b575b5050600e5480611c26575b505042600c55600a54918351928352820152a180388080611af4565b611c31908330611d18565b600e553880611c0a565b611c4a600b5460095490611858565b821015611c67575b5050611c606007548361199c565b3880611bff565b60011c600755600b553880611c52565b634e487b7160e01b83526012600452602483fd5b634e487b7160e01b84526041600452602484fd5b634e487b7160e01b84526011600452602484fd5b634e487b7160e01b82526011600452602482fd5b7f23a2085a3962f0c1f53329739081b36a57cac5ac628ab574c7197d552368634a928282519384928884528189850152848401378181018301869052601f01601f19168101030190a1388084611aa4565b6001600160a01b03809116918215611e335716918215611de257600082815280602052604081205491808310611d8e57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b9190820391821161186557565b4760405163662aa11d60e01b815230600482015230602482015260208160448160007343000000000000000000000000000000000000025af18015611f3957611f0e575b506020611f057f957f8f0c84501046c5e95feaddcebb033034101dd1c27192abd7671bfb53b5999247611e86565b604051908152a1565b602090813d8111611f32575b611f248183611820565b810103126117205738611ed7565b503d611f1a565b6040513d6000823e3d90fd5b60125480611f535750600090565b6000198101908111611865576005611f6c60ff9261164d565b5001541660048110156116ab571590565b6002548015611fa457670de0b6b3a764000047818102918115918304141715611865570490565b50600090565b90916001600160a01b03821660005260006020526040600020549060085491611fd38383611858565b1161200157611fff93611feb611ff493600e54611858565b600e5583611d18565b600854903090611d18565b565b60405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e6365206044820152662b20747846656560c81b6064820152608490fd5b61205e611f45565b15611fff5760125460001981019081116118655761207b8161164d565b506201518061208e600283015442611e86565b10612157577f921645c1149a77b2dcb0e5a776a8680f0f737fbc9d1181c38e38fd3f260625a291600582600360609401546004820154906120cf8282611858565b600a600254041160001461212757505001805460ff191660031790555b61212460016120fa8361164d565b50015460ff600561210a8561164d565b50015416906040519384526020840152604083019061169e565ba1565b111561214657600181015460085501600160ff198254161790556120ec565b01805460ff191660021790556120ec565b505056fea26469706673582212206e16e3b51cb02ca88e262f5be346503298f03dcd42eef806c7da2c2ef58688c364736f6c63430008150033

[ 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.