ETH Price: $3,289.91 (-1.21%)

Token

PulseX IOU (PLSXIOU)
 

Overview

Max Total Supply

1,000,000,000 PLSXIOU

Holders

50

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,942,162.491127957442375331 PLSXIOU

Value
$0.00
0x4673acf2bd1763091029c60e897d2b62802f6704
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:
PLSXIOUToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 5 runs

Other Settings:
default evmVersion
File 1 of 1 : PLSXIOU.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.7;

library SafeMath {
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

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

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address to, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, 'ERC20: decreased allowance below zero');
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), 'ERC20: transfer from the zero address');
        require(to != address(0), 'ERC20: transfer to the zero address');

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, 'ERC20: transfer amount exceeds balance');
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), 'ERC20: mint to the zero address');

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), 'ERC20: burn from the zero address');

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, 'ERC20: burn amount exceeds balance');
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), 'ERC20: approve from the zero address');
        require(spender != address(0), 'ERC20: approve to the zero address');

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

    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, 'ERC20: insufficient allowance');
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

library Strings {
    bytes16 private constant _HEX_SYMBOLS = '0123456789abcdef';
    uint8 private constant _ADDRESS_LENGTH = 20;

    function toString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return '0';
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return '0x00';
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = '0';
        buffer[1] = 'x';
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, 'Strings: hex length insufficient');
        return string(buffer);
    }

    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert('ECDSA: invalid signature');
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert('ECDSA: invalid signature length');
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;

            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked('\x19Ethereum Signed Message:\n32', hash));
    }

    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked('\x19Ethereum Signed Message:\n', Strings.toString(s.length), s));
    }

    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked('\x19\x01', domainSeparator, structHash));
    }
}

abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            'EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

contract PLSXIOUToken is ERC20, EIP712 {
    using SafeMath for uint256;
    string private constant SIGNING_DOMAIN = 'PLSXIOU-VOUCHER';
    string private constant SIGNATURE_VERSION = '1';

    struct Voucher {
        address from;
        address to;
        uint256 amount;
        bytes signature;
    }

    constructor() ERC20('PulseX IOU', 'PLSXIOU') EIP712(SIGNING_DOMAIN, SIGNATURE_VERSION) {
        _mint(msg.sender, 1000000000 * 10 ** 18);
    }

    function burn(uint256 amount) external {
        _burn(msg.sender, amount);
    }

    function bulkTransfer(address[] calldata accounts, uint256[] calldata amounts) external {
        for (uint256 i = 0; i < accounts.length; i++) {
            transfer(accounts[i], amounts[i]);
        }
    }

    function permit(Voucher calldata voucher) external {
        address signer = _verify(voucher);
        require(signer == voucher.from, 'Invalid signature');

        _approve(voucher.from, voucher.to, voucher.amount);
    }

    function _hash(Voucher calldata voucher) internal view returns (bytes32) {
        return
            _hashTypedDataV4(
                keccak256(
                    abi.encode(
                        keccak256('Voucher(address from,address to,uint256 amount)'),
                        voucher.from,
                        voucher.to,
                        voucher.amount
                    )
                )
            );
    }

    function _verify(Voucher calldata voucher) internal view returns (address) {
        bytes32 digest = _hash(voucher);
        return ECDSA.recover(digest, voucher.signature);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"bulkTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct PLSXIOUToken.Voucher","name":"voucher","type":"tuple"}],"name":"permit","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6101406040523480156200001257600080fd5b506040518060400160405280600f81526020016e282629ac24a7aa96ab27aaa1a422a960891b815250604051806040016040528060018152602001603160f81b8152506040518060400160405280600a81526020016950756c73655820494f5560b01b81525060405180604001604052806007815260200166504c5358494f5560c81b8152508160039080519060200190620000b092919062000266565b508051620000c690600490602084019062000266565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060601b60c05261012052506200017892503391506b033b2e3c9fd0803ce800000090506200017e565b62000370565b6001600160a01b038216620001d95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001ed91906200030c565b90915550506001600160a01b038216600090815260208190526040812080548392906200021c9084906200030c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002749062000333565b90600052602060002090601f016020900481019282620002985760008555620002e3565b82601f10620002b357805160ff1916838001178555620002e3565b82800160010185558215620002e3579182015b82811115620002e3578251825591602001919060010190620002c6565b50620002f1929150620002f5565b5090565b5b80821115620002f15760008155600101620002f6565b600082198211156200032e57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200034857607f821691505b602082108114156200036a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c60e051610100516101205161123c620003c36000396000610d3201526000610d8101526000610d5c01526000610cb501526000610cdf01526000610d09015261123c6000f3fe608060405234801561001057600080fd5b50600436106100ba5760003560e01c806306fdde03146100bf578063095ea7b3146100dd578063153a1f3e1461010057806318160ddd1461011557806323b872dd14610127578063313ce5671461013a578063395093511461014957806342966c681461015c57806370a082311461016f57806395d89b4114610198578063a457c2d7146101a0578063a9059cbb146101b3578063b1cc647e146101c6578063dd62ed3e146101d9575b600080fd5b6100c76101ec565b6040516100d49190611084565b60405180910390f35b6100f06100eb366004610f9c565b61027e565b60405190151581526020016100d4565b61011361010e366004610fc6565b610296565b005b6002545b6040519081526020016100d4565b6100f0610135366004610f60565b610303565b604051601281526020016100d4565b6100f0610157366004610f9c565b610327565b61011361016a36600461106b565b610349565b61011961017d366004610f12565b6001600160a01b031660009081526020819052604090205490565b6100c7610356565b6100f06101ae366004610f9c565b610365565b6100f06101c1366004610f9c565b6103e5565b6101136101d4366004611031565b6103f3565b6101196101e7366004610f2d565b61048f565b6060600380546101fb9061114e565b80601f01602080910402602001604051908101604052809291908181526020018280546102279061114e565b80156102745780601f1061024957610100808354040283529160200191610274565b820191906000526020600020905b81548152906001019060200180831161025757829003601f168201915b5050505050905090565b60003361028c8185856104ba565b5060019392505050565b60005b838110156102fc576102e98585838181106102b6576102b66111d0565b90506020020160208101906102cb9190610f12565b8484848181106102dd576102dd6111d0565b905060200201356103e5565b50806102f481611189565b915050610299565b5050505050565b6000336103118582856105df565b61031c858585610659565b506001949350505050565b60003361028c81858561033a838361048f565b610344919061111f565b6104ba565b6103533382610815565b50565b6060600480546101fb9061114e565b60003381610373828661048f565b9050838110156103d85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61031c82868684036104ba565b60003361028c818585610659565b60006103fe82610949565b905061040d6020830183610f12565b6001600160a01b0316816001600160a01b0316146104615760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016103cf565b61048b6104716020840184610f12565b6104816040850160208601610f12565b84604001356104ba565b5050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661051c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103cf565b6001600160a01b03821661057d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103cf565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006105eb848461048f565b9050600019811461065357818110156106465760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103cf565b61065384848484036104ba565b50505050565b6001600160a01b0383166106bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103cf565b6001600160a01b03821661071f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103cf565b6001600160a01b038316600090815260208190526040902054818110156107975760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103cf565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906107ce90849061111f565b92505081905550826001600160a01b0316846001600160a01b03166000805160206111e78339815191528460405161080891815260200190565b60405180910390a3610653565b6001600160a01b0382166108755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103cf565b6001600160a01b038216600090815260208190526040902054818110156108e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103cf565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610918908490611137565b90915550506040518281526000906001600160a01b038516906000805160206111e7833981519152906020016105d2565b600080610955836109a9565b90506109a28161096860608601866110d9565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a3a92505050565b9392505050565b6000610a347f25191bba8b8e5bf3fac990c90ccdb4da85095952e4b832d87ad1b352631661276109dc6020850185610f12565b6109ec6040860160208701610f12565b6040805160208101949094526001600160a01b039283168482015291166060830152840135608082015260a00160405160208183030381529060405280519060200120610a5e565b92915050565b6000806000610a498585610aac565b91509150610a5681610af2565b509392505050565b6000610a34610a6b610ca8565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080825160411415610ae35760208301516040840151606085015160001a610ad787828585610dcf565b94509450505050610aeb565b506000905060025b9250929050565b6000816004811115610b0657610b066111ba565b1415610b0f5750565b6001816004811115610b2357610b236111ba565b1415610b6c5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016103cf565b6002816004811115610b8057610b806111ba565b1415610bce5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016103cf565b6003816004811115610be257610be26111ba565b1415610c3b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016103cf565b6004816004811115610c4f57610c4f6111ba565b14156103535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016103cf565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610d0157507f000000000000000000000000000000000000000000000000000000000000000046145b15610d2b57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115610dfc5750600090506003610ea9565b8460ff16601b14158015610e1457508460ff16601c14155b15610e255750600090506004610ea9565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610e79573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ea257600060019250925050610ea9565b9150600090505b94509492505050565b80356001600160a01b0381168114610ec957600080fd5b919050565b60008083601f840112610ee057600080fd5b5081356001600160401b03811115610ef757600080fd5b6020830191508360208260051b8501011115610aeb57600080fd5b600060208284031215610f2457600080fd5b6109a282610eb2565b60008060408385031215610f4057600080fd5b610f4983610eb2565b9150610f5760208401610eb2565b90509250929050565b600080600060608486031215610f7557600080fd5b610f7e84610eb2565b9250610f8c60208501610eb2565b9150604084013590509250925092565b60008060408385031215610faf57600080fd5b610fb883610eb2565b946020939093013593505050565b60008060008060408587031215610fdc57600080fd5b84356001600160401b0380821115610ff357600080fd5b610fff88838901610ece565b9096509450602087013591508082111561101857600080fd5b5061102587828801610ece565b95989497509550505050565b60006020828403121561104357600080fd5b81356001600160401b0381111561105957600080fd5b8201608081850312156109a257600080fd5b60006020828403121561107d57600080fd5b5035919050565b600060208083528351808285015260005b818110156110b157858101830151858201604001528201611095565b818111156110c3576000604083870101525b50601f01601f1916929092016040019392505050565b6000808335601e198436030181126110f057600080fd5b8301803591506001600160401b0382111561110a57600080fd5b602001915036819003821315610aeb57600080fd5b60008219821115611132576111326111a4565b500190565b600082821015611149576111496111a4565b500390565b600181811c9082168061116257607f821691505b6020821081141561118357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561119d5761119d6111a4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209a36d71b6fd1b96573af73624bd0cf477caee3175ba38b097a54fdb77489f73564736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ba5760003560e01c806306fdde03146100bf578063095ea7b3146100dd578063153a1f3e1461010057806318160ddd1461011557806323b872dd14610127578063313ce5671461013a578063395093511461014957806342966c681461015c57806370a082311461016f57806395d89b4114610198578063a457c2d7146101a0578063a9059cbb146101b3578063b1cc647e146101c6578063dd62ed3e146101d9575b600080fd5b6100c76101ec565b6040516100d49190611084565b60405180910390f35b6100f06100eb366004610f9c565b61027e565b60405190151581526020016100d4565b61011361010e366004610fc6565b610296565b005b6002545b6040519081526020016100d4565b6100f0610135366004610f60565b610303565b604051601281526020016100d4565b6100f0610157366004610f9c565b610327565b61011361016a36600461106b565b610349565b61011961017d366004610f12565b6001600160a01b031660009081526020819052604090205490565b6100c7610356565b6100f06101ae366004610f9c565b610365565b6100f06101c1366004610f9c565b6103e5565b6101136101d4366004611031565b6103f3565b6101196101e7366004610f2d565b61048f565b6060600380546101fb9061114e565b80601f01602080910402602001604051908101604052809291908181526020018280546102279061114e565b80156102745780601f1061024957610100808354040283529160200191610274565b820191906000526020600020905b81548152906001019060200180831161025757829003601f168201915b5050505050905090565b60003361028c8185856104ba565b5060019392505050565b60005b838110156102fc576102e98585838181106102b6576102b66111d0565b90506020020160208101906102cb9190610f12565b8484848181106102dd576102dd6111d0565b905060200201356103e5565b50806102f481611189565b915050610299565b5050505050565b6000336103118582856105df565b61031c858585610659565b506001949350505050565b60003361028c81858561033a838361048f565b610344919061111f565b6104ba565b6103533382610815565b50565b6060600480546101fb9061114e565b60003381610373828661048f565b9050838110156103d85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61031c82868684036104ba565b60003361028c818585610659565b60006103fe82610949565b905061040d6020830183610f12565b6001600160a01b0316816001600160a01b0316146104615760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016103cf565b61048b6104716020840184610f12565b6104816040850160208601610f12565b84604001356104ba565b5050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661051c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103cf565b6001600160a01b03821661057d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103cf565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006105eb848461048f565b9050600019811461065357818110156106465760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103cf565b61065384848484036104ba565b50505050565b6001600160a01b0383166106bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103cf565b6001600160a01b03821661071f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103cf565b6001600160a01b038316600090815260208190526040902054818110156107975760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103cf565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906107ce90849061111f565b92505081905550826001600160a01b0316846001600160a01b03166000805160206111e78339815191528460405161080891815260200190565b60405180910390a3610653565b6001600160a01b0382166108755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103cf565b6001600160a01b038216600090815260208190526040902054818110156108e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103cf565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610918908490611137565b90915550506040518281526000906001600160a01b038516906000805160206111e7833981519152906020016105d2565b600080610955836109a9565b90506109a28161096860608601866110d9565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a3a92505050565b9392505050565b6000610a347f25191bba8b8e5bf3fac990c90ccdb4da85095952e4b832d87ad1b352631661276109dc6020850185610f12565b6109ec6040860160208701610f12565b6040805160208101949094526001600160a01b039283168482015291166060830152840135608082015260a00160405160208183030381529060405280519060200120610a5e565b92915050565b6000806000610a498585610aac565b91509150610a5681610af2565b509392505050565b6000610a34610a6b610ca8565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080825160411415610ae35760208301516040840151606085015160001a610ad787828585610dcf565b94509450505050610aeb565b506000905060025b9250929050565b6000816004811115610b0657610b066111ba565b1415610b0f5750565b6001816004811115610b2357610b236111ba565b1415610b6c5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016103cf565b6002816004811115610b8057610b806111ba565b1415610bce5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016103cf565b6003816004811115610be257610be26111ba565b1415610c3b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016103cf565b6004816004811115610c4f57610c4f6111ba565b14156103535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016103cf565b6000306001600160a01b037f000000000000000000000000b1c0f86b072393f731cb7b9d56aa276aa421eb4016148015610d0157507f000000000000000000000000000000000000000000000000000000000000000146145b15610d2b57507fa17d299c1785b577c24c1cf69786cdcd8a3bc18cca816c25768d7dad43518a4490565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527faec74916310bf0857d5e17c3832ad9365315b06e8f7118107e2a23b3d27f72dc828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115610dfc5750600090506003610ea9565b8460ff16601b14158015610e1457508460ff16601c14155b15610e255750600090506004610ea9565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610e79573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ea257600060019250925050610ea9565b9150600090505b94509492505050565b80356001600160a01b0381168114610ec957600080fd5b919050565b60008083601f840112610ee057600080fd5b5081356001600160401b03811115610ef757600080fd5b6020830191508360208260051b8501011115610aeb57600080fd5b600060208284031215610f2457600080fd5b6109a282610eb2565b60008060408385031215610f4057600080fd5b610f4983610eb2565b9150610f5760208401610eb2565b90509250929050565b600080600060608486031215610f7557600080fd5b610f7e84610eb2565b9250610f8c60208501610eb2565b9150604084013590509250925092565b60008060408385031215610faf57600080fd5b610fb883610eb2565b946020939093013593505050565b60008060008060408587031215610fdc57600080fd5b84356001600160401b0380821115610ff357600080fd5b610fff88838901610ece565b9096509450602087013591508082111561101857600080fd5b5061102587828801610ece565b95989497509550505050565b60006020828403121561104357600080fd5b81356001600160401b0381111561105957600080fd5b8201608081850312156109a257600080fd5b60006020828403121561107d57600080fd5b5035919050565b600060208083528351808285015260005b818110156110b157858101830151858201604001528201611095565b818111156110c3576000604083870101525b50601f01601f1916929092016040019392505050565b6000808335601e198436030181126110f057600080fd5b8301803591506001600160401b0382111561110a57600080fd5b602001915036819003821315610aeb57600080fd5b60008219821115611132576111326111a4565b500190565b600082821015611149576111496111a4565b500390565b600181811c9082168061116257607f821691505b6020821081141561118357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561119d5761119d6111a4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209a36d71b6fd1b96573af73624bd0cf477caee3175ba38b097a54fdb77489f73564736f6c63430008070033

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.