ETH Price: $3,903.19 (+0.49%)

Token

Ethereum Push Notification Service (PUSH)
 

Overview

Max Total Supply

100,000,000 PUSH

Holders

5,626 ( -1.120%)

Market

Price

$0.17 @ 0.000042 ETH (-3.22%)

Onchain Market Cap

$16,548,600.00

Circulating Supply Market Cap

$9,988,580.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
61.035114630453969894 PUSH

Value
$10.10 ( ~0.00258762510286509 Eth) [0.0001%]
0x5340eb4dc06868acf25e3b3baceba9850dfc68a0
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Push Protocol is a web3 communication network, enabling cross-chain notifications and messaging for dapps, wallets, and services. Previously known as Ethereum Push Notification Service (EPNS).

Market

Volume (24H):$2,529,862.00
Market Capitalization:$9,988,580.00
Circulating Supply:60,365,125.00 PUSH
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
EPNS

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Audited
File 1 of 1 : EPNS.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;

//import "hardhat/console.sol";
//import "@openzeppelin/contracts/math/SafeMath.sol";

contract EPNS {
    /// @notice EIP-20 token name for this token
    string public constant name = "Ethereum Push Notification Service";

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

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

    /// @notice Total number of tokens in circulation
    uint public totalSupply = 100_000_000e18; // 100 million PUSH

    /// @notice block number when tokens came into circulation
    uint public born;

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

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

    /// @notice Official record of the token block information for the holder
    mapping (address => uint) public holderWeight;

    /// @notice Allows holder weight to be reset by other adddresses
    mapping (address => mapping(address => bool)) public holderDelegation;

    /// @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 an account changes its total token weight
    event HolderWeightChanged(address indexed holder, uint256 amount, uint weight);

    /// @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 PUSH token
     * @param account The initial account to grant all the tokens
     */
    constructor(address account) public {
        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);

        // holder weight initial adjustments
        holderWeight[account] = block.number;
        born = block.number;
    }

    /**
     * @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(uint96(-1))) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "Push::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 | Approve by signature
     * @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, "Push::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), "Push::permit: invalid signature");
        require(signatory == owner, "Push::permit: unauthorized");
        require(now <= deadline, "Push::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, "Push::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, "Push::approve: amount exceeds 96 bits");

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

            emit Approval(src, spender, newAllowance);
        }

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

    /**
     * @notice Return holder units
     */
    function returnHolderUnits(address account, uint atBlock) external view returns (uint) {
        return mul256(balances[account], sub256(atBlock, holderWeight[account], "Push::returnHolderUnits: atBlock should be greater than holderWeight"), "Push::returnHolderUnits: ratio exceeds max range");
    }

    /**
     * @notice toggle holder whitelist
     */
    function returnHolderDelegation(address account, address delegate) external view returns (bool) {
        return holderDelegation[account][delegate];
    }

    /**
     * @notice toggle holder whitelist
     */
    function setHolderDelegation(address delegate, bool value) external {
        holderDelegation[msg.sender][delegate] = value;
    }

    /**
     * @notice Reset holder weight to current block
     */
    function resetHolderWeight(address holder) external {
        require(holderDelegation[holder][msg.sender] == true || holder == msg.sender, "Push::resetHolderWeight: unauthorized");
        holderWeight[holder] = block.number;

        emit HolderWeightChanged(holder, balances[holder], block.number);
    }

     /**
      * @notice Destory `RawAmount` of tokens from a holder `account`
      * @param rawAmount The number of tokens
      */
    function burn(uint256 rawAmount) external {
        address account = msg.sender;

        uint96 balance = balances[account];
        uint96 amount = safe96(rawAmount, "Push::burn: amount exceeds 96 bits");

        balances[account] = sub96(balance, amount, "Push::burn: burn amount exceeds balance");
        totalSupply = sub256(totalSupply, rawAmount, "Push::burn: supply underflow");
        emit Transfer(account, address(0), amount);
    }

    /**
     * @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), "Push::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "Push::delegateBySig: invalid nonce");
        require(now <= expiry, "Push::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, "Push::getPriorVotes: not yet determined");

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

        Checkpoint memory lastCheckpoint = checkpoints[account][nCheckpoints - 1];

        // First check most recent balance
        if (lastCheckpoint.fromBlock <= blockNumber) {
            return lastCheckpoint.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), "Push::_transferTokens: cannot transfer from the zero address");
        require(dst != address(0), "Push::_transferTokens: cannot transfer to the zero address");

        // adjust holder weight
        _adjustHolderWeight(src, dst, amount);

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

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

    function _adjustHolderWeight(address src, address dst, uint96 amount) internal {
        // change holderWeight block
        uint96 balance = balances[dst];
        if (balance == 0) {
            holderWeight[dst] = holderWeight[src];
        }
        else {
            uint256 dstWeight = mul256(holderWeight[dst], balance, "Push::_adjustHolderWeight: holder dst weight exceeded limit");
            uint256 srcWeight = mul256(holderWeight[src], amount, "Push::_adjustHolderWeight: holder src weight exceeded limit");

            uint256 totalWeight = add256(dstWeight, srcWeight, "Push::_adjustHolderWeight: total weight exceeded limit");
            uint256 totalAmount = add256(balance, amount, "Push::_adjustHolderWeight: total amount exceeded limit");

            uint256 totalAmountBy2 = div256(totalAmount, 2, "");
            uint256 roundUpWeight = add256(totalWeight, totalAmountBy2, "Push::_adjustHolderWeight: round up amount exceeded limit");

            holderWeight[dst] = div256(roundUpWeight, totalAmount, "Push::_adjustHolderWeight: adjusted holder negative divide");
        }
    }

    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, "Push::_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, "Push::_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, "Push::_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 add256(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, errorMessage);

        return c;
    }

    function sub256(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul256(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;
    }

    function div256(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;
    }

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"}],"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":true,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"weight","type":"uint256"}],"name":"HolderWeightChanged","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":[],"name":"born","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"holderDelegation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderWeight","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":"holder","type":"address"}],"name":"resetHolderWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"returnHolderDelegation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"atBlock","type":"uint256"}],"name":"returnHolderUnits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setHolderDelegation","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"}]

60806040526a52b7d2dcc80cd2e40000006000553480156200002057600080fd5b50604051620027ec380380620027ec8339810160408190526200004391620000de565b600080546001600160a01b0383168083526003602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620000b191906200010e565b60405180910390a36001600160a01b03166000908152600460205260409020439081905560015562000117565b600060208284031215620000f0578081fd5b81516001600160a01b038116811462000107578182fd5b9392505050565b90815260200190565b6126c580620001276000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063587cde1e11610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146103c8578063e7a324dc146103db578063f1127ed8146103e3578063f18365d914610404576101cf565b8063a9059cbb1461037c578063b4b5ea571461038f578063c3cda520146103a2578063d505accf146103b5576101cf565b806370a08231116100de57806370a082311461032e578063782d6fe1146103415780637ecebe001461036157806395d89b4114610374576101cf565b8063587cde1e146102db5780635c19a95c146102fb5780636fcfff451461030e576101cf565b80632477c6e8116101715780633f5af2441161014b5780633f5af2441461028f57806342966c68146102a25780634823838d146102b557806351b07180146102c8576101cf565b80632477c6e81461025d57806330adf81f14610272578063313ce5671461027a576101cf565b806310c19421116101ad57806310c194211461023257806318160ddd1461023a57806320606b701461024257806323b872dd1461024a576101cf565b806306fdde03146101d4578063095ea7b3146101f25780630b1b72f214610212575b600080fd5b6101dc610417565b6040516101e99190611f20565b60405180910390f35b610205610200366004611c60565b610433565b6040516101e99190611e72565b610225610220366004611c60565b6104f6565b6040516101e99190611e7d565b610225610571565b610225610577565b61022561057d565b610205610258366004611b79565b610594565b61027061026b366004611c25565b6106db565b005b610225610713565b61028261071f565b6040516101e9919061225c565b61020561029d366004611b45565b610724565b6102706102b0366004611d17565b610752565b6102056102c3366004611b45565b610892565b6102256102d6366004611b2a565b6108b2565b6102ee6102e9366004611b2a565b6108c4565b6040516101e99190611e5e565b610270610309366004611b2a565b6108df565b61032161031c366004611b2a565b6108ec565b6040516101e9919061222c565b61022561033c366004611b2a565b610904565b61035461034f366004611c60565b610928565b6040516101e9919061226a565b61022561036f366004611b2a565b610b3b565b6101dc610b4d565b61020561038a366004611c60565b610b6d565b61035461039d366004611b2a565b610ba9565b6102706103b0366004611c8a565b610c19565b6102706103c3366004611bb9565b610de1565b6102256103d6366004611b45565b6110ab565b6102256110df565b6103f66103f1366004611ce3565b6110eb565b6040516101e992919061223d565b610270610412366004611b2a565b611120565b6040518060600160405280602281526020016123686022913981565b6000806001600160601b03831061044d5750600019610472565b61046f8360405180606001604052806025815260200161251c602591396111e9565b90505b3360008181526002602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104e290859061226a565b60405180910390a360019150505b92915050565b6001600160a01b0382166000908152600360209081526040808320546004835281842054825160808101909352604480845261056a946001600160601b039093169361054c93889392906125a590830139611218565b6040518060600160405280603081526020016122fd60309139611244565b9392505050565b60015481565b60005481565b60405161058990611db4565b604051809103902081565b6001600160a01b03831660009081526002602090815260408083203380855290835281842054825160608101909352602580845291936001600160601b039091169285926105ec928892919061251c908301396111e9565b9050866001600160a01b0316836001600160a01b03161415801561061957506001600160601b0382811614155b156106c357600061064383836040518060600160405280603d8152602001612541603d913961128a565b6001600160a01b038981166000818152600260209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906106b990859061226a565b60405180910390a3505b6106ce8787836112c1565b5060019695505050505050565b3360009081526005602090815260408083206001600160a01b0395909516835293905291909120805460ff1916911515919091179055565b60405161058990611d4a565b601281565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3360008181526003602090815260408083205481516060810190925260228083526001600160601b039091169392610794928792909161242a908301396111e9565b90506107b9828260405180606001604052806027815260200161257e6027913961128a565b60036000856001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b03160217905550610844600054856040518060400160405280601c81526020017f507573683a3a6275726e3a20737570706c7920756e646572666c6f7700000000815250611218565b60009081556040516001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061088490859061226a565b60405180910390a350505050565b600560209081526000928352604080842090915290825290205460ff1681565b60046020526000908152604090205481565b6006602052600090815260409020546001600160a01b031681565b6108e93382611477565b50565b60086020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b60004382106109525760405162461bcd60e51b81526004016109499061205b565b60405180910390fd5b6001600160a01b03831660009081526008602052604090205463ffffffff16806109805760009150506104f0565b610988611aeb565b506001600160a01b0384166000908152600760209081526040808320600019850163ffffffff908116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529084106109f5576020015191506104f09050565b6001600160a01b038516600090815260076020908152604080832083805290915290205463ffffffff16841015610a31576000925050506104f0565b600060001983015b8163ffffffff168163ffffffff161115610af557600282820363ffffffff16048103610a63611aeb565b506001600160a01b038816600090815260076020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290881415610ad0576020015195506104f0945050505050565b805163ffffffff16881115610ae757819350610aee565b6001820392505b5050610a39565b506001600160a01b038616600090815260076020908152604080832063ffffffff909416835292905220546001600160601b03600160201b909104169250505092915050565b60096020526000908152604090205481565b604051806040016040528060048152602001630a0aaa6960e31b81525081565b600080610b9283604051806060016040528060268152602001612610602691396111e9565b9050610b9f3385836112c1565b5060019392505050565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610bd457600061056a565b6001600160a01b0383166000908152600760209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03169392505050565b6000604051610c2790611db4565b60405180910390206040518060600160405280602281526020016123686022913980519060200120610c57611501565b30604051602001610c6b9493929190611ede565b6040516020818303038152906040528051906020012090506000604051610c9190611e0f565b604051908190038120610cac918a908a908a90602001611eba565b60405160208183030381529060405280519060200120905060008282604051602001610cd9929190611d2f565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610d169493929190611f02565b6020604051602081039080840390855afa158015610d38573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d6b5760405162461bcd60e51b8152600401610949906121af565b6001600160a01b03811660009081526009602052604090208054600181019091558914610daa5760405162461bcd60e51b81526004016109499061216d565b87421115610dca5760405162461bcd60e51b815260040161094990611f73565b610dd4818b611477565b505050505b505050505050565b6000600019861415610df65750600019610e1b565b610e1886604051806060016040528060248152602001612636602491396111e9565b90505b6000604051610e2990611db4565b60405180910390206040518060600160405280602281526020016123686022913980519060200120610e59611501565b30604051602001610e6d9493929190611ede565b6040516020818303038152906040528051906020012090506000604051610e9390611d4a565b604080519182900382206001600160a01b038d16600090815260096020908152929020805460018101909155610ed59391928e928e928e9290918e9101611e86565b60405160208183030381529060405280519060200120905060008282604051602001610f02929190611d2f565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610f3f9493929190611f02565b6020604051602081039080840390855afa158015610f61573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f945760405162461bcd60e51b8152600401610949906120a2565b8b6001600160a01b0316816001600160a01b031614610fc55760405162461bcd60e51b8152600401610949906121f5565b88421115610fe55760405162461bcd60e51b815260040161094990612136565b84600260008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051611095919061226a565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526002602090815260408083209390941682529190915220546001600160601b031690565b60405161058990611e0f565b600760209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001600160a01b038116600090815260056020908152604080832033845290915290205460ff1615156001148061115f57506001600160a01b03811633145b61117b5760405162461bcd60e51b815260040161094990611fb9565b6001600160a01b038116600081815260046020908152604080832043908190556003909252918290205491517f7ffd5ecbf13a4814c06acbd9d31dff13c728c3936046c339e8053a8c26b38bb5926111de926001600160601b039091169161227e565b60405180910390a250565b600081600160601b84106112105760405162461bcd60e51b81526004016109499190611f20565b509192915050565b6000818484111561123c5760405162461bcd60e51b81526004016109499190611f20565b505050900390565b6000836112535750600061056a565b8383028385828161126057fe5b041483906112815760405162461bcd60e51b81526004016109499190611f20565b50949350505050565b6000836001600160601b0316836001600160601b03161115829061123c5760405162461bcd60e51b81526004016109499190611f20565b6001600160a01b0383166112e75760405162461bcd60e51b815260040161094990611ffe565b6001600160a01b03821661130d5760405162461bcd60e51b8152600401610949906120d9565b611318838383611505565b6001600160a01b038316600090815260036020908152604091829020548251606081019093526036808452611363936001600160601b0390921692859291906123f49083013961128a565b6001600160a01b03848116600090815260036020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260308084526113cb94919091169285929091906123c4908301396116ec565b6001600160a01b038381166000818152600360205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061143890859061226a565b60405180910390a36001600160a01b038084166000908152600660205260408082205485841683529120546114729291821691168361171f565b505050565b6001600160a01b03808316600081815260066020818152604080842080546003845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46114fb82848361171f565b50505050565b4690565b6001600160a01b0382166000908152600360205260409020546001600160601b031680611554576001600160a01b038085166000908152600460205260408082205492861682529020556114fb565b60006115a760046000866001600160a01b03166001600160a01b0316815260200190815260200160002054836001600160601b03166040518060600160405280603b81526020016124b9603b9139611244565b905060006115fc60046000886001600160a01b03166001600160a01b0316815260200190815260200160002054856001600160601b03166040518060600160405280603b815260200161232d603b9139611244565b9050600061162383836040518060600160405280603681526020016122c7603691396118b1565b9050600061165c856001600160601b0316876001600160601b031660405180606001604052806036815260200161265a603691396118b1565b9050600061167b826002604051806020016040528060008152506118d8565b905060006116a2848360405180606001604052806039815260200161244c603991396118b1565b90506116c781846040518060600160405280603a815260200161238a603a91396118d8565b6001600160a01b038a1660009081526004602052604090205550505050505050505050565b6000838301826001600160601b0380871690831610156112815760405162461bcd60e51b81526004016109499190611f20565b816001600160a01b0316836001600160a01b03161415801561174a57506000816001600160601b0316115b15611472576001600160a01b03831615611802576001600160a01b03831660009081526008602052604081205463ffffffff16908161178a5760006117c9565b6001600160a01b0385166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006117f082856040518060600160405280602881526020016124f46028913961128a565b90506117fe8684848461190f565b5050505b6001600160a01b03821615611472576001600160a01b03821660009081526008602052604081205463ffffffff16908161183d57600061187c565b6001600160a01b0384166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006118a382856040518060600160405280602781526020016125e9602791396116ec565b9050610dd98584848461190f565b600083830182858210156112815760405162461bcd60e51b81526004016109499190611f20565b600081836118f95760405162461bcd60e51b81526004016109499190611f20565b50600083858161190557fe5b0495945050505050565b60006119334360405180606001604052806034815260200161248560349139611ac4565b905060008463ffffffff1611801561197c57506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b156119db576001600160a01b0385166000908152600760209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611a7a565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600783528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600890935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051611ab5929190612297565b60405180910390a25050505050565b600081600160201b84106112105760405162461bcd60e51b81526004016109499190611f20565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104f057600080fd5b803560ff811681146104f057600080fd5b600060208284031215611b3b578081fd5b61056a8383611b02565b60008060408385031215611b57578081fd5b611b618484611b02565b9150611b708460208501611b02565b90509250929050565b600080600060608486031215611b8d578081fd5b8335611b98816122b1565b92506020840135611ba8816122b1565b929592945050506040919091013590565b600080600080600080600060e0888a031215611bd3578283fd5b611bdd8989611b02565b9650611bec8960208a01611b02565b95506040880135945060608801359350611c098960808a01611b19565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611c37578182fd5b611c418484611b02565b915060208301358015158114611c55578182fd5b809150509250929050565b60008060408385031215611c72578182fd5b611c7c8484611b02565b946020939093013593505050565b60008060008060008060c08789031215611ca2578182fd5b611cac8888611b02565b95506020870135945060408701359350611cc98860608901611b19565b92506080870135915060a087013590509295509295509295565b60008060408385031215611cf5578182fd5b611cff8484611b02565b9150602083013563ffffffff81168114611c55578182fd5b600060208284031215611d28578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b7f5065726d69742861646472657373206f776e65722c616464726573732073706581527f6e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63656020820152712c75696e7432353620646561646c696e652960701b604082015260520190565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430190565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611f4c57858101830151858201604001528201611f30565b81811115611f5d5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526026908201527f507573683a3a64656c656761746542795369673a207369676e617475726520656040820152651e1c1a5c995960d21b606082015260800190565b60208082526025908201527f507573683a3a7265736574486f6c6465725765696768743a20756e617574686f6040820152641c9a5e995960da1b606082015260800190565b6020808252603c908201527f507573683a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260408201527f616e736665722066726f6d20746865207a65726f206164647265737300000000606082015260800190565b60208082526027908201527f507573683a3a6765745072696f72566f7465733a206e6f742079657420646574604082015266195c9b5a5b995960ca1b606082015260800190565b6020808252601f908201527f507573683a3a7065726d69743a20696e76616c6964207369676e617475726500604082015260600190565b6020808252603a908201527f507573683a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260408201527f616e7366657220746f20746865207a65726f2061646472657373000000000000606082015260800190565b6020808252601f908201527f507573683a3a7065726d69743a207369676e6174757265206578706972656400604082015260600190565b60208082526022908201527f507573683a3a64656c656761746542795369673a20696e76616c6964206e6f6e604082015261636560f01b606082015260800190565b60208082526026908201527f507573683a3a64656c656761746542795369673a20696e76616c6964207369676040820152656e617475726560d01b606082015260800190565b6020808252601a908201527f507573683a3a7065726d69743a20756e617574686f72697a6564000000000000604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b03929092168252602082015260400190565b6001600160601b0392831681529116602082015260400190565b6001600160a01b03811681146108e957600080fdfe507573683a3a5f61646a757374486f6c6465725765696768743a20746f74616c20776569676874206578636565646564206c696d6974507573683a3a72657475726e486f6c646572556e6974733a20726174696f2065786365656473206d61782072616e6765507573683a3a5f61646a757374486f6c6465725765696768743a20686f6c6465722073726320776569676874206578636565646564206c696d6974457468657265756d2050757368204e6f74696669636174696f6e2053657276696365507573683a3a5f61646a757374486f6c6465725765696768743a2061646a757374656420686f6c646572206e6567617469766520646976696465507573683a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773507573683a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365507573683a3a6275726e3a20616d6f756e7420657863656564732039362062697473507573683a3a5f61646a757374486f6c6465725765696768743a20726f756e6420757020616d6f756e74206578636565646564206c696d6974507573683a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473507573683a3a5f61646a757374486f6c6465725765696768743a20686f6c6465722064737420776569676874206578636565646564206c696d6974507573683a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773507573683a3a617070726f76653a20616d6f756e7420657863656564732039362062697473507573683a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365507573683a3a6275726e3a206275726e20616d6f756e7420657863656564732062616c616e6365507573683a3a72657475726e486f6c646572556e6974733a206174426c6f636b2073686f756c642062652067726561746572207468616e20686f6c646572576569676874507573683a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773507573683a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473507573683a3a7065726d69743a20616d6f756e7420657863656564732039362062697473507573683a3a5f61646a757374486f6c6465725765696768743a20746f74616c20616d6f756e74206578636565646564206c696d6974a2646970667358221220d4364887828ecbfbd1736b1d6d0e27b38452d55de8d77952884f2a2270719e6964736f6c634300060b0033000000000000000000000000057fcd7bd66e0b0e7cbf387d12b2a49a20d30922

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063587cde1e11610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146103c8578063e7a324dc146103db578063f1127ed8146103e3578063f18365d914610404576101cf565b8063a9059cbb1461037c578063b4b5ea571461038f578063c3cda520146103a2578063d505accf146103b5576101cf565b806370a08231116100de57806370a082311461032e578063782d6fe1146103415780637ecebe001461036157806395d89b4114610374576101cf565b8063587cde1e146102db5780635c19a95c146102fb5780636fcfff451461030e576101cf565b80632477c6e8116101715780633f5af2441161014b5780633f5af2441461028f57806342966c68146102a25780634823838d146102b557806351b07180146102c8576101cf565b80632477c6e81461025d57806330adf81f14610272578063313ce5671461027a576101cf565b806310c19421116101ad57806310c194211461023257806318160ddd1461023a57806320606b701461024257806323b872dd1461024a576101cf565b806306fdde03146101d4578063095ea7b3146101f25780630b1b72f214610212575b600080fd5b6101dc610417565b6040516101e99190611f20565b60405180910390f35b610205610200366004611c60565b610433565b6040516101e99190611e72565b610225610220366004611c60565b6104f6565b6040516101e99190611e7d565b610225610571565b610225610577565b61022561057d565b610205610258366004611b79565b610594565b61027061026b366004611c25565b6106db565b005b610225610713565b61028261071f565b6040516101e9919061225c565b61020561029d366004611b45565b610724565b6102706102b0366004611d17565b610752565b6102056102c3366004611b45565b610892565b6102256102d6366004611b2a565b6108b2565b6102ee6102e9366004611b2a565b6108c4565b6040516101e99190611e5e565b610270610309366004611b2a565b6108df565b61032161031c366004611b2a565b6108ec565b6040516101e9919061222c565b61022561033c366004611b2a565b610904565b61035461034f366004611c60565b610928565b6040516101e9919061226a565b61022561036f366004611b2a565b610b3b565b6101dc610b4d565b61020561038a366004611c60565b610b6d565b61035461039d366004611b2a565b610ba9565b6102706103b0366004611c8a565b610c19565b6102706103c3366004611bb9565b610de1565b6102256103d6366004611b45565b6110ab565b6102256110df565b6103f66103f1366004611ce3565b6110eb565b6040516101e992919061223d565b610270610412366004611b2a565b611120565b6040518060600160405280602281526020016123686022913981565b6000806001600160601b03831061044d5750600019610472565b61046f8360405180606001604052806025815260200161251c602591396111e9565b90505b3360008181526002602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104e290859061226a565b60405180910390a360019150505b92915050565b6001600160a01b0382166000908152600360209081526040808320546004835281842054825160808101909352604480845261056a946001600160601b039093169361054c93889392906125a590830139611218565b6040518060600160405280603081526020016122fd60309139611244565b9392505050565b60015481565b60005481565b60405161058990611db4565b604051809103902081565b6001600160a01b03831660009081526002602090815260408083203380855290835281842054825160608101909352602580845291936001600160601b039091169285926105ec928892919061251c908301396111e9565b9050866001600160a01b0316836001600160a01b03161415801561061957506001600160601b0382811614155b156106c357600061064383836040518060600160405280603d8152602001612541603d913961128a565b6001600160a01b038981166000818152600260209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906106b990859061226a565b60405180910390a3505b6106ce8787836112c1565b5060019695505050505050565b3360009081526005602090815260408083206001600160a01b0395909516835293905291909120805460ff1916911515919091179055565b60405161058990611d4a565b601281565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3360008181526003602090815260408083205481516060810190925260228083526001600160601b039091169392610794928792909161242a908301396111e9565b90506107b9828260405180606001604052806027815260200161257e6027913961128a565b60036000856001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b03160217905550610844600054856040518060400160405280601c81526020017f507573683a3a6275726e3a20737570706c7920756e646572666c6f7700000000815250611218565b60009081556040516001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061088490859061226a565b60405180910390a350505050565b600560209081526000928352604080842090915290825290205460ff1681565b60046020526000908152604090205481565b6006602052600090815260409020546001600160a01b031681565b6108e93382611477565b50565b60086020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b60004382106109525760405162461bcd60e51b81526004016109499061205b565b60405180910390fd5b6001600160a01b03831660009081526008602052604090205463ffffffff16806109805760009150506104f0565b610988611aeb565b506001600160a01b0384166000908152600760209081526040808320600019850163ffffffff908116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529084106109f5576020015191506104f09050565b6001600160a01b038516600090815260076020908152604080832083805290915290205463ffffffff16841015610a31576000925050506104f0565b600060001983015b8163ffffffff168163ffffffff161115610af557600282820363ffffffff16048103610a63611aeb565b506001600160a01b038816600090815260076020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290881415610ad0576020015195506104f0945050505050565b805163ffffffff16881115610ae757819350610aee565b6001820392505b5050610a39565b506001600160a01b038616600090815260076020908152604080832063ffffffff909416835292905220546001600160601b03600160201b909104169250505092915050565b60096020526000908152604090205481565b604051806040016040528060048152602001630a0aaa6960e31b81525081565b600080610b9283604051806060016040528060268152602001612610602691396111e9565b9050610b9f3385836112c1565b5060019392505050565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610bd457600061056a565b6001600160a01b0383166000908152600760209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03169392505050565b6000604051610c2790611db4565b60405180910390206040518060600160405280602281526020016123686022913980519060200120610c57611501565b30604051602001610c6b9493929190611ede565b6040516020818303038152906040528051906020012090506000604051610c9190611e0f565b604051908190038120610cac918a908a908a90602001611eba565b60405160208183030381529060405280519060200120905060008282604051602001610cd9929190611d2f565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610d169493929190611f02565b6020604051602081039080840390855afa158015610d38573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d6b5760405162461bcd60e51b8152600401610949906121af565b6001600160a01b03811660009081526009602052604090208054600181019091558914610daa5760405162461bcd60e51b81526004016109499061216d565b87421115610dca5760405162461bcd60e51b815260040161094990611f73565b610dd4818b611477565b505050505b505050505050565b6000600019861415610df65750600019610e1b565b610e1886604051806060016040528060248152602001612636602491396111e9565b90505b6000604051610e2990611db4565b60405180910390206040518060600160405280602281526020016123686022913980519060200120610e59611501565b30604051602001610e6d9493929190611ede565b6040516020818303038152906040528051906020012090506000604051610e9390611d4a565b604080519182900382206001600160a01b038d16600090815260096020908152929020805460018101909155610ed59391928e928e928e9290918e9101611e86565b60405160208183030381529060405280519060200120905060008282604051602001610f02929190611d2f565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610f3f9493929190611f02565b6020604051602081039080840390855afa158015610f61573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f945760405162461bcd60e51b8152600401610949906120a2565b8b6001600160a01b0316816001600160a01b031614610fc55760405162461bcd60e51b8152600401610949906121f5565b88421115610fe55760405162461bcd60e51b815260040161094990612136565b84600260008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051611095919061226a565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526002602090815260408083209390941682529190915220546001600160601b031690565b60405161058990611e0f565b600760209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001600160a01b038116600090815260056020908152604080832033845290915290205460ff1615156001148061115f57506001600160a01b03811633145b61117b5760405162461bcd60e51b815260040161094990611fb9565b6001600160a01b038116600081815260046020908152604080832043908190556003909252918290205491517f7ffd5ecbf13a4814c06acbd9d31dff13c728c3936046c339e8053a8c26b38bb5926111de926001600160601b039091169161227e565b60405180910390a250565b600081600160601b84106112105760405162461bcd60e51b81526004016109499190611f20565b509192915050565b6000818484111561123c5760405162461bcd60e51b81526004016109499190611f20565b505050900390565b6000836112535750600061056a565b8383028385828161126057fe5b041483906112815760405162461bcd60e51b81526004016109499190611f20565b50949350505050565b6000836001600160601b0316836001600160601b03161115829061123c5760405162461bcd60e51b81526004016109499190611f20565b6001600160a01b0383166112e75760405162461bcd60e51b815260040161094990611ffe565b6001600160a01b03821661130d5760405162461bcd60e51b8152600401610949906120d9565b611318838383611505565b6001600160a01b038316600090815260036020908152604091829020548251606081019093526036808452611363936001600160601b0390921692859291906123f49083013961128a565b6001600160a01b03848116600090815260036020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260308084526113cb94919091169285929091906123c4908301396116ec565b6001600160a01b038381166000818152600360205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061143890859061226a565b60405180910390a36001600160a01b038084166000908152600660205260408082205485841683529120546114729291821691168361171f565b505050565b6001600160a01b03808316600081815260066020818152604080842080546003845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46114fb82848361171f565b50505050565b4690565b6001600160a01b0382166000908152600360205260409020546001600160601b031680611554576001600160a01b038085166000908152600460205260408082205492861682529020556114fb565b60006115a760046000866001600160a01b03166001600160a01b0316815260200190815260200160002054836001600160601b03166040518060600160405280603b81526020016124b9603b9139611244565b905060006115fc60046000886001600160a01b03166001600160a01b0316815260200190815260200160002054856001600160601b03166040518060600160405280603b815260200161232d603b9139611244565b9050600061162383836040518060600160405280603681526020016122c7603691396118b1565b9050600061165c856001600160601b0316876001600160601b031660405180606001604052806036815260200161265a603691396118b1565b9050600061167b826002604051806020016040528060008152506118d8565b905060006116a2848360405180606001604052806039815260200161244c603991396118b1565b90506116c781846040518060600160405280603a815260200161238a603a91396118d8565b6001600160a01b038a1660009081526004602052604090205550505050505050505050565b6000838301826001600160601b0380871690831610156112815760405162461bcd60e51b81526004016109499190611f20565b816001600160a01b0316836001600160a01b03161415801561174a57506000816001600160601b0316115b15611472576001600160a01b03831615611802576001600160a01b03831660009081526008602052604081205463ffffffff16908161178a5760006117c9565b6001600160a01b0385166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006117f082856040518060600160405280602881526020016124f46028913961128a565b90506117fe8684848461190f565b5050505b6001600160a01b03821615611472576001600160a01b03821660009081526008602052604081205463ffffffff16908161183d57600061187c565b6001600160a01b0384166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006118a382856040518060600160405280602781526020016125e9602791396116ec565b9050610dd98584848461190f565b600083830182858210156112815760405162461bcd60e51b81526004016109499190611f20565b600081836118f95760405162461bcd60e51b81526004016109499190611f20565b50600083858161190557fe5b0495945050505050565b60006119334360405180606001604052806034815260200161248560349139611ac4565b905060008463ffffffff1611801561197c57506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b156119db576001600160a01b0385166000908152600760209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611a7a565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600783528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600890935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051611ab5929190612297565b60405180910390a25050505050565b600081600160201b84106112105760405162461bcd60e51b81526004016109499190611f20565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104f057600080fd5b803560ff811681146104f057600080fd5b600060208284031215611b3b578081fd5b61056a8383611b02565b60008060408385031215611b57578081fd5b611b618484611b02565b9150611b708460208501611b02565b90509250929050565b600080600060608486031215611b8d578081fd5b8335611b98816122b1565b92506020840135611ba8816122b1565b929592945050506040919091013590565b600080600080600080600060e0888a031215611bd3578283fd5b611bdd8989611b02565b9650611bec8960208a01611b02565b95506040880135945060608801359350611c098960808a01611b19565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611c37578182fd5b611c418484611b02565b915060208301358015158114611c55578182fd5b809150509250929050565b60008060408385031215611c72578182fd5b611c7c8484611b02565b946020939093013593505050565b60008060008060008060c08789031215611ca2578182fd5b611cac8888611b02565b95506020870135945060408701359350611cc98860608901611b19565b92506080870135915060a087013590509295509295509295565b60008060408385031215611cf5578182fd5b611cff8484611b02565b9150602083013563ffffffff81168114611c55578182fd5b600060208284031215611d28578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b7f5065726d69742861646472657373206f776e65722c616464726573732073706581527f6e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63656020820152712c75696e7432353620646561646c696e652960701b604082015260520190565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430190565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611f4c57858101830151858201604001528201611f30565b81811115611f5d5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526026908201527f507573683a3a64656c656761746542795369673a207369676e617475726520656040820152651e1c1a5c995960d21b606082015260800190565b60208082526025908201527f507573683a3a7265736574486f6c6465725765696768743a20756e617574686f6040820152641c9a5e995960da1b606082015260800190565b6020808252603c908201527f507573683a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260408201527f616e736665722066726f6d20746865207a65726f206164647265737300000000606082015260800190565b60208082526027908201527f507573683a3a6765745072696f72566f7465733a206e6f742079657420646574604082015266195c9b5a5b995960ca1b606082015260800190565b6020808252601f908201527f507573683a3a7065726d69743a20696e76616c6964207369676e617475726500604082015260600190565b6020808252603a908201527f507573683a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260408201527f616e7366657220746f20746865207a65726f2061646472657373000000000000606082015260800190565b6020808252601f908201527f507573683a3a7065726d69743a207369676e6174757265206578706972656400604082015260600190565b60208082526022908201527f507573683a3a64656c656761746542795369673a20696e76616c6964206e6f6e604082015261636560f01b606082015260800190565b60208082526026908201527f507573683a3a64656c656761746542795369673a20696e76616c6964207369676040820152656e617475726560d01b606082015260800190565b6020808252601a908201527f507573683a3a7065726d69743a20756e617574686f72697a6564000000000000604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b03929092168252602082015260400190565b6001600160601b0392831681529116602082015260400190565b6001600160a01b03811681146108e957600080fdfe507573683a3a5f61646a757374486f6c6465725765696768743a20746f74616c20776569676874206578636565646564206c696d6974507573683a3a72657475726e486f6c646572556e6974733a20726174696f2065786365656473206d61782072616e6765507573683a3a5f61646a757374486f6c6465725765696768743a20686f6c6465722073726320776569676874206578636565646564206c696d6974457468657265756d2050757368204e6f74696669636174696f6e2053657276696365507573683a3a5f61646a757374486f6c6465725765696768743a2061646a757374656420686f6c646572206e6567617469766520646976696465507573683a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773507573683a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365507573683a3a6275726e3a20616d6f756e7420657863656564732039362062697473507573683a3a5f61646a757374486f6c6465725765696768743a20726f756e6420757020616d6f756e74206578636565646564206c696d6974507573683a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473507573683a3a5f61646a757374486f6c6465725765696768743a20686f6c6465722064737420776569676874206578636565646564206c696d6974507573683a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773507573683a3a617070726f76653a20616d6f756e7420657863656564732039362062697473507573683a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365507573683a3a6275726e3a206275726e20616d6f756e7420657863656564732062616c616e6365507573683a3a72657475726e486f6c646572556e6974733a206174426c6f636b2073686f756c642062652067726561746572207468616e20686f6c646572576569676874507573683a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773507573683a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473507573683a3a7065726d69743a20616d6f756e7420657863656564732039362062697473507573683a3a5f61646a757374486f6c6465725765696768743a20746f74616c20616d6f756e74206578636565646564206c696d6974a2646970667358221220d4364887828ecbfbd1736b1d6d0e27b38452d55de8d77952884f2a2270719e6964736f6c634300060b0033

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

000000000000000000000000057fcd7bd66e0b0e7cbf387d12b2a49a20d30922

-----Decoded View---------------
Arg [0] : account (address): 0x057fcD7BD66e0b0e7CBF387D12b2A49A20d30922

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000057fcd7bd66e0b0e7cbf387d12b2a49a20d30922


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.