ETH Price: $3,468.33 (+2.97%)

Token

validator-Eth2 (vETH2)
 

Overview

Max Total Supply

15,999.909191360385201961 vETH2

Holders

542

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Zapper.Fi: Uniswap V2 Zap In 2
Balance
0.000000000000000002 vETH2

Value
$0.00
0x6d9893fa101cd2b1f8d1a12de3189ff7b80fdc10
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:
vEth2

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at Etherscan.io on 2020-09-16
*/

/**
 *Submitted for verification at Etherscan.io on 2020-09-15
*/

pragma solidity ^0.7.5;
pragma experimental ABIEncoderV2;

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.

/**
 * @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 addition of two unsigned integers, reverting with custom message on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, errorMessage);

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    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 multiplication of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b, string memory errorMessage) 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, errorMessage);

        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) {
        // Solidity only automatically asserts when dividing by 0
        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;
    }
}

contract vEth2 {
    /// @notice EIP-20 token name for this token
    string public constant name = "validator-Eth2";

    /// @notice EIP-20 token symbol for this token
    string public constant symbol = "vETH2";

    /// @notice EIP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint public totalSupply;

    /// @notice Address which may mint new tokens
    address public minter;

    /// @notice The timestamp after which minting may occur
    uint public mintingAllowedAfter;

    /// @notice Minimum time between mints
    // Flash mint protection
    uint32 public constant minimumTimeBetweenMints = 1;

    //Allowance amounts on behalf of others
    mapping (address => mapping (address => uint96)) internal allowances;

    // Official record of token balances for each account
    mapping (address => uint96) internal balances;

    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice The EIP-712 typehash for the permit struct used by the contract
    bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when the minter address is changed
    event MinterChanged(address minter, address newMinter);

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /// @notice The standard EIP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @notice The standard EIP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /**
     * @notice Construct a new Uni token
     * @param account The initial account to grant all the tokens
     * @param minter_ The account with minting ability
     * @param mintingAllowedAfter_ The timestamp after which minting may occur
     */
    constructor(address account, address minter_, uint mintingAllowedAfter_) public {
        require(mintingAllowedAfter_ >= block.timestamp, "vETH2::constructor: minting can only begin after deployment");

        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);
        minter = minter_;
        emit MinterChanged(address(0), minter);
        mintingAllowedAfter = mintingAllowedAfter_;
    }

    /**
     * @notice Change the minter address
     * @param minter_ The address of the new minter
     */
    function setMinter(address minter_) external {
        require(msg.sender == minter, "vETH2::setMinter: only the minter can change the minter address");
        emit MinterChanged(minter, minter_);
        minter = minter_;
    }

    /**
     * @notice Mint new tokens
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to be minted
     */
    function mint(address dst, uint rawAmount) external {
        require(msg.sender == minter, "vETH2::mint: only the minter can mint");
        require(block.timestamp >= mintingAllowedAfter, "vETH2::mint: minting not allowed yet");
        require(dst != address(0), "vETH2::mint: cannot transfer to the zero address");

        // record the mint
        mintingAllowedAfter = SafeMath.add(block.timestamp, minimumTimeBetweenMints);

        // mint the amount
        uint96 amount = safe96(rawAmount, "vETH2::mint: amount exceeds 96 bits");
        totalSupply = safe96(SafeMath.add(totalSupply, amount), "vETH2::mint: totalSupply exceeds 96 bits");

        // transfer the amount to the recipient
        balances[dst] = add96(balances[dst], amount, "vETH2::mint: transfer amount overflows");
        emit Transfer(address(0), dst, amount);

        // move delegates
        _moveDelegates(address(0), delegates[dst], amount);
    }
    
    
    function burn(address src, uint rawAmount) external {
        require(msg.sender == minter, "vETH2::burn: only the minter can burn");
        require(block.timestamp >= mintingAllowedAfter, "vETH2::burn: minting not allowed yet");
        uint96 amount = safe96(rawAmount, "vETH2::burn: amount exceeds 96 bits");
        require(amount <= totalSupply, "vETH2::burn: exceededed total supply");
        mintingAllowedAfter = SafeMath.add(block.timestamp, minimumTimeBetweenMints);

        totalSupply = safe96(SafeMath.sub(totalSupply, amount), "vETH2::burn: totalSupply exceeds 96 bits");
        
        // transfer the amount to the recipient
        balances[src] = sub96(balances[src], amount, "vETH2::burn: transfer amount overflows");
        emit Transfer(src, address(0), amount);

        // move delegates
        _moveDelegates(delegates[src], address(0), amount);
    }

    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint rawAmount) external returns (bool) {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "vETH2::approve: amount exceeds 96 bits");
        }

        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "vETH2::permit: amount exceeds 96 bits");
        }

        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, rawAmount, nonces[owner]++, deadline));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "vETH2::permit: invalid signature");
        require(signatory == owner, "vETH2::permit: unauthorized");
        require(block.timestamp <= deadline, "vETH2::permit: signature expired");

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint rawAmount) external returns (bool) {
        uint96 amount = safe96(rawAmount, "vETH2::transfer: amount exceeds 96 bits");
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint rawAmount) external returns (bool) {
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(rawAmount, "vETH2::approve: amount exceeds 96 bits");

        if (spender != src && spenderAllowance != uint96(-1)) {
            uint96 newAllowance = sub96(spenderAllowance, amount, "vETH2::transferFrom: transfer amount exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "vETH2::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "vETH2::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "vETH2::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, "vETH2::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint96 delegatorBalance = balances[delegator];
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _transferTokens(address src, address dst, uint96 amount) internal {
        require(src != address(0), "vETH2::_transferTokens: cannot transfer from the zero address");
        require(dst != address(0), "vETH2::_transferTokens: cannot transfer to the zero address");

        balances[src] = sub96(balances[src], amount, "vETH2::_transferTokens: transfer amount exceeds balance");
        balances[dst] = add96(balances[dst], amount, "vETH2::_transferTokens: transfer amount overflows");
        emit Transfer(src, dst, amount);

        _moveDelegates(delegates[src], delegates[dst], amount);
    }

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "vETH2::_moveVotes: vote amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, "vETH2::_moveVotes: vote amount overflows");
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {
      uint32 blockNumber = safe32(block.number, "vETH2::_writeCheckpoint: block number exceeds 32 bits");

      if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
          checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
      } else {
          checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
          numCheckpoints[delegatee] = nCheckpoints + 1;
      }

      emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"minter_","type":"address"},{"internalType":"uint256","name":"mintingAllowedAfter_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address","name":"newMinter","type":"address"}],"name":"MinterChanged","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":"rawAmount","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":"src","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTimeBetweenMints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingAllowedAfter","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":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620027883803806200278883398101604081905262000034916200015e565b42811015620000605760405162461bcd60e51b81526004016200005790620001b8565b60405180910390fd5b600080546001600160a01b0385168083526004602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620000ce919062000215565b60405180910390a3600180546001600160a01b0319166001600160a01b0384811691909117918290556040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6926200012d926000929116906200019e565b60405180910390a1600255506200021e9050565b80516001600160a01b03811681146200015957600080fd5b919050565b60008060006060848603121562000173578283fd5b6200017e8462000141565b92506200018e6020850162000141565b9150604084015190509250925092565b6001600160a01b0392831681529116602082015260400190565b6020808252603b908201527f76455448323a3a636f6e7374727563746f723a206d696e74696e672063616e2060408201527f6f6e6c7920626567696e206166746572206465706c6f796d656e740000000000606082015260800190565b90815260200190565b61255a806200022e6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80636fcfff45116100f9578063b4b5ea5711610097578063dd62ed3e11610071578063dd62ed3e14610366578063e7a324dc14610379578063f1127ed814610381578063fca3b5aa146103a2576101a9565b8063b4b5ea571461032d578063c3cda52014610340578063d505accf14610353576101a9565b80637ecebe00116100d35780637ecebe00146102ec57806395d89b41146102ff5780639dc29fac14610307578063a9059cbb1461031a576101a9565b80636fcfff45146102a657806370a08231146102b9578063782d6fe1146102cc576101a9565b806330adf81f1161016657806340c10f191161014057806340c10f1914610256578063587cde1e1461026b5780635c11d62f1461027e5780635c19a95c14610293576101a9565b806330adf81f1461023157806330b36cef14610239578063313ce56714610241576101a9565b806306fdde03146101ae57806307546172146101cc578063095ea7b3146101e157806318160ddd1461020157806320606b701461021657806323b872dd1461021e575b600080fd5b6101b66103b5565b6040516101c39190611d37565b60405180910390f35b6101d46103df565b6040516101c39190611c5b565b6101f46101ef366004611b82565b6103ee565b6040516101c39190611c89565b6102096104ad565b6040516101c39190611c94565b6102096104b3565b6101f461022c366004611ade565b6104d7565b61020961061e565b610209610642565b610249610648565b6040516101c39190612268565b610269610264366004611b82565b61064d565b005b6101d4610279366004611a92565b610823565b61028661083e565b6040516101c39190612238565b6102696102a1366004611a92565b610843565b6102866102b4366004611a92565b610850565b6102096102c7366004611a92565b610868565b6102df6102da366004611b82565b610890565b6040516101c39190612276565b6102096102fa366004611a92565b610a9e565b6101b6610ab0565b610269610315366004611b82565b610ad1565b6101f4610328366004611b82565b610c9b565b6102df61033b366004611a92565b610cd7565b61026961034e366004611bab565b610d48565b610269610361366004611b19565b610f54565b610209610374366004611aac565b61125c565b610209611290565b61039461038f366004611c02565b6112b4565b6040516101c3929190612249565b6102696103b0366004611a92565b6112e9565b6040518060400160405280600e81526020016d3b30b634b230ba37b916a2ba341960911b81525081565b6001546001600160a01b031681565b6000806000198314156104045750600019610429565b610426836040518060600160405280602681526020016123ac6026913961137c565b90505b3360008181526003602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610499908590612276565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b03831660009081526003602090815260408083203380855290835281842054825160608101909352602680845291936001600160601b0390911692859261052f92889291906123ac9083013961137c565b9050866001600160a01b0316836001600160a01b03161415801561055c57506001600160601b0382811614155b1561060657600061058683836040518060600160405280603e81526020016122d6603e91396113ab565b6001600160a01b038981166000818152600360209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105fc908590612276565b60405180910390a3505b6106118787836113ea565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025481565b601281565b6001546001600160a01b031633146106805760405162461bcd60e51b815260040161067790611f55565b60405180910390fd5b6002544210156106a25760405162461bcd60e51b815260040161067790612057565b6001600160a01b0382166106c85760405162461bcd60e51b815260040161067790611d8a565b6106d3426001611590565b60028190555060006106fd826040518060600160405280602381526020016123d26023913961137c565b9050610735610717600054836001600160601b0316611590565b6040518060600160405280602881526020016124526028913961137c565b6001600160601b0390811660009081556001600160a01b03851681526004602090815260409182902054825160608101909352602680845261078794919091169285929091906124ff908301396115b5565b6001600160a01b03841660008181526004602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107f1908590612276565b60405180910390a36001600160a01b0380841660009081526005602052604081205461081e9216836115f1565b505050565b6005602052600090815260409020546001600160a01b031681565b600181565b61084d3382611783565b50565b60076020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600460205260409020546001600160601b03165b919050565b60004382106108b15760405162461bcd60e51b815260040161067790612127565b6001600160a01b03831660009081526007602052604090205463ffffffff16806108df5760009150506104a7565b6001600160a01b038416600090815260066020908152604080832063ffffffff60001986018116855292529091205416831061095b576001600160a01b03841660009081526006602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506104a7565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff168310156109965760009150506104a7565b600060001982015b8163ffffffff168163ffffffff161115610a5957600282820363ffffffff160481036109c8611a53565b506001600160a01b038716600090815260066020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610a34576020015194506104a79350505050565b805163ffffffff16871115610a4b57819350610a52565b6001820392505b505061099e565b506001600160a01b038516600090815260066020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60086020526000908152604090205481565b604051806040016040528060058152602001643b22aa241960d91b81525081565b6001546001600160a01b03163314610afb5760405162461bcd60e51b8152600401610677906120e2565b600254421015610b1d5760405162461bcd60e51b815260040161067790612013565b6000610b418260405180606001604052806023815260200161233b6023913961137c565b9050600054816001600160601b03161115610b6e5760405162461bcd60e51b815260040161067790611f9a565b610b79426001611590565b600255600054610bb490610b96906001600160601b03841661180d565b60405180606001604052806028815260200161235e6028913961137c565b6001600160601b0390811660009081556001600160a01b038516815260046020908152604091829020548251606081019093526026808452610c069491909116928592909190612386908301396113ab565b6001600160a01b03841660008181526004602052604080822080546001600160601b0319166001600160601b03959095169490941790935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c6d908590612276565b60405180910390a36001600160a01b0380841660009081526005602052604081205461081e921690836115f1565b600080610cc0836040518060600160405280602781526020016123146027913961137c565b9050610ccd3385836113ea565b5060019392505050565b6001600160a01b03811660009081526007602052604081205463ffffffff1680610d02576000610d41565b6001600160a01b0383166000908152600660209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600e81526d3b30b634b230ba37b916a2ba341960911b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f708c8f758cff9ebd6b14ccad5b936b478b5b7f52def52e47a625e4794efc9ff5610dba61184f565b30604051602001610dce9493929190611cf5565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610e1f9493929190611cd1565b60405160208183030381529060405280519060200120905060008282604051602001610e4c929190611c40565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610e899493929190611d19565b6020604051602081039080840390855afa158015610eab573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ede5760405162461bcd60e51b815260040161067790611e6e565b6001600160a01b03811660009081526008602052604090208054600181019091558914610f1d5760405162461bcd60e51b815260040161067790611eb5565b87421115610f3d5760405162461bcd60e51b81526004016106779061209b565b610f47818b611783565b505050505b505050505050565b6000600019861415610f695750600019610f8e565b610f8b8660405180606001604052806025815260200161247a6025913961137c565b90505b60408051808201909152600e81526d3b30b634b230ba37b916a2ba341960911b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f708c8f758cff9ebd6b14ccad5b936b478b5b7f52def52e47a625e4794efc9ff561100061184f565b306040516020016110149493929190611cf5565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600883529283208054600181019091559094509192611086927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611c9d565b604051602081830303815290604052805190602001209050600082826040516020016110b3929190611c40565b6040516020818303038152906040528051906020012090506000600182898989604051600081526020016040526040516110f09493929190611d19565b6020604051602081039080840390855afa158015611112573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111455760405162461bcd60e51b815260040161067790612203565b8b6001600160a01b0316816001600160a01b0316146111765760405162461bcd60e51b8152600401610677906121cc565b884211156111965760405162461bcd60e51b815260040161067790611fde565b84600360008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516112469190612276565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526003602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600660209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146113135760405162461bcd60e51b81526004016106779061216f565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f691611352916001600160a01b03909116908490611c6f565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600081600160601b84106113a35760405162461bcd60e51b81526004016106779190611d37565b509192915050565b6000836001600160601b0316836001600160601b0316111582906113e25760405162461bcd60e51b81526004016106779190611d37565b505050900390565b6001600160a01b0383166114105760405162461bcd60e51b815260040161067790611ef8565b6001600160a01b0382166114365760405162461bcd60e51b815260040161067790611e11565b6001600160a01b038316600090815260046020908152604091829020548251606081019093526037808452611481936001600160601b0390921692859291906124c8908301396113ab565b6001600160a01b03848116600090815260046020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260318084526114e994919091169285929091906122a5908301396115b5565b6001600160a01b038381166000818152600460205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611556908590612276565b60405180910390a36001600160a01b0380841660009081526005602052604080822054858416835291205461081e929182169116836115f1565b600082820183811015610d415760405162461bcd60e51b815260040161067790611dda565b6000838301826001600160601b0380871690831610156115e85760405162461bcd60e51b81526004016106779190611d37565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561161c57506000816001600160601b0316115b1561081e576001600160a01b038316156116d4576001600160a01b03831660009081526007602052604081205463ffffffff16908161165c57600061169b565b6001600160a01b0385166000908152600660209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116c2828560405180606001604052806029815260200161249f602991396113ab565b90506116d086848484611853565b5050505b6001600160a01b0382161561081e576001600160a01b03821660009081526007602052604081205463ffffffff16908161170f57600061174e565b6001600160a01b0384166000908152600660209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611775828560405180606001604052806028815260200161242a602891396115b5565b9050610f4c85848484611853565b6001600160a01b03808316600081815260056020818152604080842080546004845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46118078284836115f1565b50505050565b6000610d4183836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f7700815250611a08565b4690565b6000611877436040518060600160405280603581526020016123f560359139611a2c565b905060008463ffffffff161180156118c057506001600160a01b038516600090815260066020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561191f576001600160a01b0385166000908152600660209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b038516021790556119be565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600683528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600790935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516119f992919061228a565b60405180910390a25050505050565b600081848411156113e25760405162461bcd60e51b81526004016106779190611d37565b600081600160201b84106113a35760405162461bcd60e51b81526004016106779190611d37565b604080518082019091526000808252602082015290565b80356001600160a01b038116811461088b57600080fd5b803560ff8116811461088b57600080fd5b600060208284031215611aa3578081fd5b610d4182611a6a565b60008060408385031215611abe578081fd5b611ac783611a6a565b9150611ad560208401611a6a565b90509250929050565b600080600060608486031215611af2578081fd5b611afb84611a6a565b9250611b0960208501611a6a565b9150604084013590509250925092565b600080600080600080600060e0888a031215611b33578283fd5b611b3c88611a6a565b9650611b4a60208901611a6a565b95506040880135945060608801359350611b6660808901611a81565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b94578182fd5b611b9d83611a6a565b946020939093013593505050565b60008060008060008060c08789031215611bc3578182fd5b611bcc87611a6a565b95506020870135945060408701359350611be860608801611a81565b92506080870135915060a087013590509295509295509295565b60008060408385031215611c14578182fd5b611c1d83611a6a565b9150602083013563ffffffff81168114611c35578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611d6357858101830151858201604001528201611d47565b81811115611d745783604083870101525b50601f01601f1916929092016040019392505050565b60208082526030908201527f76455448323a3a6d696e743a2063616e6e6f74207472616e7366657220746f2060408201526f746865207a65726f206164647265737360801b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603b908201527f76455448323a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460408201527f72616e7366657220746f20746865207a65726f20616464726573730000000000606082015260800190565b60208082526027908201527f76455448323a3a64656c656761746542795369673a20696e76616c6964207369604082015266676e617475726560c81b606082015260800190565b60208082526023908201527f76455448323a3a64656c656761746542795369673a20696e76616c6964206e6f6040820152626e636560e81b606082015260800190565b6020808252603d908201527f76455448323a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460408201527f72616e736665722066726f6d20746865207a65726f2061646472657373000000606082015260800190565b60208082526025908201527f76455448323a3a6d696e743a206f6e6c7920746865206d696e7465722063616e604082015264081b5a5b9d60da1b606082015260800190565b60208082526024908201527f76455448323a3a6275726e3a206578636565646564656420746f74616c20737560408201526370706c7960e01b606082015260800190565b6020808252818101527f76455448323a3a7065726d69743a207369676e61747572652065787069726564604082015260600190565b60208082526024908201527f76455448323a3a6275726e3a206d696e74696e67206e6f7420616c6c6f776564604082015263081e595d60e21b606082015260800190565b60208082526024908201527f76455448323a3a6d696e743a206d696e74696e67206e6f7420616c6c6f776564604082015263081e595d60e21b606082015260800190565b60208082526027908201527f76455448323a3a64656c656761746542795369673a207369676e617475726520604082015266195e1c1a5c995960ca1b606082015260800190565b60208082526025908201527f76455448323a3a6275726e3a206f6e6c7920746865206d696e7465722063616e60408201526410313ab93760d91b606082015260800190565b60208082526028908201527f76455448323a3a6765745072696f72566f7465733a206e6f74207965742064656040820152671d195c9b5a5b995960c21b606082015260800190565b6020808252603f908201527f76455448323a3a7365744d696e7465723a206f6e6c7920746865206d696e746560408201527f722063616e206368616e676520746865206d696e746572206164647265737300606082015260800190565b6020808252601b908201527f76455448323a3a7065726d69743a20756e617574686f72697a65640000000000604082015260600190565b6020808252818101527f76455448323a3a7065726d69743a20696e76616c6964207369676e6174757265604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b039283168152911660208201526040019056fe76455448323a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777376455448323a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e636576455448323a3a7472616e736665723a20616d6f756e742065786365656473203936206269747376455448323a3a6275726e3a20616d6f756e742065786365656473203936206269747376455448323a3a6275726e3a20746f74616c537570706c792065786365656473203936206269747376455448323a3a6275726e3a207472616e7366657220616d6f756e74206f766572666c6f777376455448323a3a617070726f76653a20616d6f756e742065786365656473203936206269747376455448323a3a6d696e743a20616d6f756e742065786365656473203936206269747376455448323a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747376455448323a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f777376455448323a3a6d696e743a20746f74616c537570706c792065786365656473203936206269747376455448323a3a7065726d69743a20616d6f756e742065786365656473203936206269747376455448323a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f777376455448323a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e636576455448323a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f7773a2646970667358221220ffd98a8a8e2214d172e2387488f0728e0abc39a1b3d475e986e27e49d7d521eb64736f6c63430007050033000000000000000000000000a1feaf41d843d53d0f6bed86a8cf592ce21c409e000000000000000000000000a1feaf41d843d53d0f6bed86a8cf592ce21c409e000000000000000000000000000000000000000000000000000000005fd249de

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80636fcfff45116100f9578063b4b5ea5711610097578063dd62ed3e11610071578063dd62ed3e14610366578063e7a324dc14610379578063f1127ed814610381578063fca3b5aa146103a2576101a9565b8063b4b5ea571461032d578063c3cda52014610340578063d505accf14610353576101a9565b80637ecebe00116100d35780637ecebe00146102ec57806395d89b41146102ff5780639dc29fac14610307578063a9059cbb1461031a576101a9565b80636fcfff45146102a657806370a08231146102b9578063782d6fe1146102cc576101a9565b806330adf81f1161016657806340c10f191161014057806340c10f1914610256578063587cde1e1461026b5780635c11d62f1461027e5780635c19a95c14610293576101a9565b806330adf81f1461023157806330b36cef14610239578063313ce56714610241576101a9565b806306fdde03146101ae57806307546172146101cc578063095ea7b3146101e157806318160ddd1461020157806320606b701461021657806323b872dd1461021e575b600080fd5b6101b66103b5565b6040516101c39190611d37565b60405180910390f35b6101d46103df565b6040516101c39190611c5b565b6101f46101ef366004611b82565b6103ee565b6040516101c39190611c89565b6102096104ad565b6040516101c39190611c94565b6102096104b3565b6101f461022c366004611ade565b6104d7565b61020961061e565b610209610642565b610249610648565b6040516101c39190612268565b610269610264366004611b82565b61064d565b005b6101d4610279366004611a92565b610823565b61028661083e565b6040516101c39190612238565b6102696102a1366004611a92565b610843565b6102866102b4366004611a92565b610850565b6102096102c7366004611a92565b610868565b6102df6102da366004611b82565b610890565b6040516101c39190612276565b6102096102fa366004611a92565b610a9e565b6101b6610ab0565b610269610315366004611b82565b610ad1565b6101f4610328366004611b82565b610c9b565b6102df61033b366004611a92565b610cd7565b61026961034e366004611bab565b610d48565b610269610361366004611b19565b610f54565b610209610374366004611aac565b61125c565b610209611290565b61039461038f366004611c02565b6112b4565b6040516101c3929190612249565b6102696103b0366004611a92565b6112e9565b6040518060400160405280600e81526020016d3b30b634b230ba37b916a2ba341960911b81525081565b6001546001600160a01b031681565b6000806000198314156104045750600019610429565b610426836040518060600160405280602681526020016123ac6026913961137c565b90505b3360008181526003602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610499908590612276565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b03831660009081526003602090815260408083203380855290835281842054825160608101909352602680845291936001600160601b0390911692859261052f92889291906123ac9083013961137c565b9050866001600160a01b0316836001600160a01b03161415801561055c57506001600160601b0382811614155b1561060657600061058683836040518060600160405280603e81526020016122d6603e91396113ab565b6001600160a01b038981166000818152600360209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105fc908590612276565b60405180910390a3505b6106118787836113ea565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025481565b601281565b6001546001600160a01b031633146106805760405162461bcd60e51b815260040161067790611f55565b60405180910390fd5b6002544210156106a25760405162461bcd60e51b815260040161067790612057565b6001600160a01b0382166106c85760405162461bcd60e51b815260040161067790611d8a565b6106d3426001611590565b60028190555060006106fd826040518060600160405280602381526020016123d26023913961137c565b9050610735610717600054836001600160601b0316611590565b6040518060600160405280602881526020016124526028913961137c565b6001600160601b0390811660009081556001600160a01b03851681526004602090815260409182902054825160608101909352602680845261078794919091169285929091906124ff908301396115b5565b6001600160a01b03841660008181526004602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107f1908590612276565b60405180910390a36001600160a01b0380841660009081526005602052604081205461081e9216836115f1565b505050565b6005602052600090815260409020546001600160a01b031681565b600181565b61084d3382611783565b50565b60076020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600460205260409020546001600160601b03165b919050565b60004382106108b15760405162461bcd60e51b815260040161067790612127565b6001600160a01b03831660009081526007602052604090205463ffffffff16806108df5760009150506104a7565b6001600160a01b038416600090815260066020908152604080832063ffffffff60001986018116855292529091205416831061095b576001600160a01b03841660009081526006602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506104a7565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff168310156109965760009150506104a7565b600060001982015b8163ffffffff168163ffffffff161115610a5957600282820363ffffffff160481036109c8611a53565b506001600160a01b038716600090815260066020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610a34576020015194506104a79350505050565b805163ffffffff16871115610a4b57819350610a52565b6001820392505b505061099e565b506001600160a01b038516600090815260066020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60086020526000908152604090205481565b604051806040016040528060058152602001643b22aa241960d91b81525081565b6001546001600160a01b03163314610afb5760405162461bcd60e51b8152600401610677906120e2565b600254421015610b1d5760405162461bcd60e51b815260040161067790612013565b6000610b418260405180606001604052806023815260200161233b6023913961137c565b9050600054816001600160601b03161115610b6e5760405162461bcd60e51b815260040161067790611f9a565b610b79426001611590565b600255600054610bb490610b96906001600160601b03841661180d565b60405180606001604052806028815260200161235e6028913961137c565b6001600160601b0390811660009081556001600160a01b038516815260046020908152604091829020548251606081019093526026808452610c069491909116928592909190612386908301396113ab565b6001600160a01b03841660008181526004602052604080822080546001600160601b0319166001600160601b03959095169490941790935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c6d908590612276565b60405180910390a36001600160a01b0380841660009081526005602052604081205461081e921690836115f1565b600080610cc0836040518060600160405280602781526020016123146027913961137c565b9050610ccd3385836113ea565b5060019392505050565b6001600160a01b03811660009081526007602052604081205463ffffffff1680610d02576000610d41565b6001600160a01b0383166000908152600660209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600e81526d3b30b634b230ba37b916a2ba341960911b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f708c8f758cff9ebd6b14ccad5b936b478b5b7f52def52e47a625e4794efc9ff5610dba61184f565b30604051602001610dce9493929190611cf5565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610e1f9493929190611cd1565b60405160208183030381529060405280519060200120905060008282604051602001610e4c929190611c40565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610e899493929190611d19565b6020604051602081039080840390855afa158015610eab573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ede5760405162461bcd60e51b815260040161067790611e6e565b6001600160a01b03811660009081526008602052604090208054600181019091558914610f1d5760405162461bcd60e51b815260040161067790611eb5565b87421115610f3d5760405162461bcd60e51b81526004016106779061209b565b610f47818b611783565b505050505b505050505050565b6000600019861415610f695750600019610f8e565b610f8b8660405180606001604052806025815260200161247a6025913961137c565b90505b60408051808201909152600e81526d3b30b634b230ba37b916a2ba341960911b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f708c8f758cff9ebd6b14ccad5b936b478b5b7f52def52e47a625e4794efc9ff561100061184f565b306040516020016110149493929190611cf5565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600883529283208054600181019091559094509192611086927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611c9d565b604051602081830303815290604052805190602001209050600082826040516020016110b3929190611c40565b6040516020818303038152906040528051906020012090506000600182898989604051600081526020016040526040516110f09493929190611d19565b6020604051602081039080840390855afa158015611112573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111455760405162461bcd60e51b815260040161067790612203565b8b6001600160a01b0316816001600160a01b0316146111765760405162461bcd60e51b8152600401610677906121cc565b884211156111965760405162461bcd60e51b815260040161067790611fde565b84600360008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516112469190612276565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526003602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600660209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146113135760405162461bcd60e51b81526004016106779061216f565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f691611352916001600160a01b03909116908490611c6f565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600081600160601b84106113a35760405162461bcd60e51b81526004016106779190611d37565b509192915050565b6000836001600160601b0316836001600160601b0316111582906113e25760405162461bcd60e51b81526004016106779190611d37565b505050900390565b6001600160a01b0383166114105760405162461bcd60e51b815260040161067790611ef8565b6001600160a01b0382166114365760405162461bcd60e51b815260040161067790611e11565b6001600160a01b038316600090815260046020908152604091829020548251606081019093526037808452611481936001600160601b0390921692859291906124c8908301396113ab565b6001600160a01b03848116600090815260046020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260318084526114e994919091169285929091906122a5908301396115b5565b6001600160a01b038381166000818152600460205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611556908590612276565b60405180910390a36001600160a01b0380841660009081526005602052604080822054858416835291205461081e929182169116836115f1565b600082820183811015610d415760405162461bcd60e51b815260040161067790611dda565b6000838301826001600160601b0380871690831610156115e85760405162461bcd60e51b81526004016106779190611d37565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561161c57506000816001600160601b0316115b1561081e576001600160a01b038316156116d4576001600160a01b03831660009081526007602052604081205463ffffffff16908161165c57600061169b565b6001600160a01b0385166000908152600660209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116c2828560405180606001604052806029815260200161249f602991396113ab565b90506116d086848484611853565b5050505b6001600160a01b0382161561081e576001600160a01b03821660009081526007602052604081205463ffffffff16908161170f57600061174e565b6001600160a01b0384166000908152600660209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611775828560405180606001604052806028815260200161242a602891396115b5565b9050610f4c85848484611853565b6001600160a01b03808316600081815260056020818152604080842080546004845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46118078284836115f1565b50505050565b6000610d4183836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f7700815250611a08565b4690565b6000611877436040518060600160405280603581526020016123f560359139611a2c565b905060008463ffffffff161180156118c057506001600160a01b038516600090815260066020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561191f576001600160a01b0385166000908152600660209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b038516021790556119be565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600683528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600790935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516119f992919061228a565b60405180910390a25050505050565b600081848411156113e25760405162461bcd60e51b81526004016106779190611d37565b600081600160201b84106113a35760405162461bcd60e51b81526004016106779190611d37565b604080518082019091526000808252602082015290565b80356001600160a01b038116811461088b57600080fd5b803560ff8116811461088b57600080fd5b600060208284031215611aa3578081fd5b610d4182611a6a565b60008060408385031215611abe578081fd5b611ac783611a6a565b9150611ad560208401611a6a565b90509250929050565b600080600060608486031215611af2578081fd5b611afb84611a6a565b9250611b0960208501611a6a565b9150604084013590509250925092565b600080600080600080600060e0888a031215611b33578283fd5b611b3c88611a6a565b9650611b4a60208901611a6a565b95506040880135945060608801359350611b6660808901611a81565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b94578182fd5b611b9d83611a6a565b946020939093013593505050565b60008060008060008060c08789031215611bc3578182fd5b611bcc87611a6a565b95506020870135945060408701359350611be860608801611a81565b92506080870135915060a087013590509295509295509295565b60008060408385031215611c14578182fd5b611c1d83611a6a565b9150602083013563ffffffff81168114611c35578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611d6357858101830151858201604001528201611d47565b81811115611d745783604083870101525b50601f01601f1916929092016040019392505050565b60208082526030908201527f76455448323a3a6d696e743a2063616e6e6f74207472616e7366657220746f2060408201526f746865207a65726f206164647265737360801b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603b908201527f76455448323a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460408201527f72616e7366657220746f20746865207a65726f20616464726573730000000000606082015260800190565b60208082526027908201527f76455448323a3a64656c656761746542795369673a20696e76616c6964207369604082015266676e617475726560c81b606082015260800190565b60208082526023908201527f76455448323a3a64656c656761746542795369673a20696e76616c6964206e6f6040820152626e636560e81b606082015260800190565b6020808252603d908201527f76455448323a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460408201527f72616e736665722066726f6d20746865207a65726f2061646472657373000000606082015260800190565b60208082526025908201527f76455448323a3a6d696e743a206f6e6c7920746865206d696e7465722063616e604082015264081b5a5b9d60da1b606082015260800190565b60208082526024908201527f76455448323a3a6275726e3a206578636565646564656420746f74616c20737560408201526370706c7960e01b606082015260800190565b6020808252818101527f76455448323a3a7065726d69743a207369676e61747572652065787069726564604082015260600190565b60208082526024908201527f76455448323a3a6275726e3a206d696e74696e67206e6f7420616c6c6f776564604082015263081e595d60e21b606082015260800190565b60208082526024908201527f76455448323a3a6d696e743a206d696e74696e67206e6f7420616c6c6f776564604082015263081e595d60e21b606082015260800190565b60208082526027908201527f76455448323a3a64656c656761746542795369673a207369676e617475726520604082015266195e1c1a5c995960ca1b606082015260800190565b60208082526025908201527f76455448323a3a6275726e3a206f6e6c7920746865206d696e7465722063616e60408201526410313ab93760d91b606082015260800190565b60208082526028908201527f76455448323a3a6765745072696f72566f7465733a206e6f74207965742064656040820152671d195c9b5a5b995960c21b606082015260800190565b6020808252603f908201527f76455448323a3a7365744d696e7465723a206f6e6c7920746865206d696e746560408201527f722063616e206368616e676520746865206d696e746572206164647265737300606082015260800190565b6020808252601b908201527f76455448323a3a7065726d69743a20756e617574686f72697a65640000000000604082015260600190565b6020808252818101527f76455448323a3a7065726d69743a20696e76616c6964207369676e6174757265604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b039283168152911660208201526040019056fe76455448323a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777376455448323a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e636576455448323a3a7472616e736665723a20616d6f756e742065786365656473203936206269747376455448323a3a6275726e3a20616d6f756e742065786365656473203936206269747376455448323a3a6275726e3a20746f74616c537570706c792065786365656473203936206269747376455448323a3a6275726e3a207472616e7366657220616d6f756e74206f766572666c6f777376455448323a3a617070726f76653a20616d6f756e742065786365656473203936206269747376455448323a3a6d696e743a20616d6f756e742065786365656473203936206269747376455448323a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747376455448323a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f777376455448323a3a6d696e743a20746f74616c537570706c792065786365656473203936206269747376455448323a3a7065726d69743a20616d6f756e742065786365656473203936206269747376455448323a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f777376455448323a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e636576455448323a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f7773a2646970667358221220ffd98a8a8e2214d172e2387488f0728e0abc39a1b3d475e986e27e49d7d521eb64736f6c63430007050033

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

000000000000000000000000a1feaf41d843d53d0f6bed86a8cf592ce21c409e000000000000000000000000a1feaf41d843d53d0f6bed86a8cf592ce21c409e000000000000000000000000000000000000000000000000000000005fd249de

-----Decoded View---------------
Arg [0] : account (address): 0xa1feaF41d843d53d0F6bEd86a8cF592cE21C409e
Arg [1] : minter_ (address): 0xa1feaF41d843d53d0F6bEd86a8cF592cE21C409e
Arg [2] : mintingAllowedAfter_ (uint256): 1607616990

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a1feaf41d843d53d0f6bed86a8cf592ce21c409e
Arg [1] : 000000000000000000000000a1feaf41d843d53d0f6bed86a8cf592ce21c409e
Arg [2] : 000000000000000000000000000000000000000000000000000000005fd249de


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.