ETH Price: $3,938.30 (+0.00%)

Token

ERC-20: ALPHA (ALPHA)
 

Overview

Max Total Supply

1,144,172.893200231481473167 ALPHA

Holders

784

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
yuyah.eth
Balance
148.146990740740740737 ALPHA

Value
$0.00
0x665873e68474c917bf8852c9daa29298c901059d
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:
AlphaToken

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : AlphaToken.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.14;

import {ERC20} from "@solmate/tokens/ERC20.sol";
import {Ownable} from "@openzeppelin/access/Ownable.sol";
import {IAlphaToken} from "$/interfaces/IAlphaToken.sol";

/// @title  $ALPHA
/// @author Aleph Retamal <github.com/alephao>, Gustavo Tiago <github.com/gutiago>
contract AlphaToken is IAlphaToken, ERC20, Ownable {
    /// @notice Addresses with special access to use mint/burn functions
    mapping(address => bool) private allowed;

    modifier onlyAllowed() {
        if (!allowed[msg.sender]) revert NotAllowed();
        _;
    }

    // solhint-disable-next-line no-empty-blocks
    constructor() ERC20("ALPHA", "ALPHA", 18) {}

    /// @notice     Mints an amount of tokens to an address.
    ///             Caller has to be allowed.
    function mint(address addr, uint256 amount) external onlyAllowed {
        _mint(addr, amount);
    }

    /// @notice     Burn an amount of tokens from an address.
    ///             Caller has to be a allowed.
    function burn(address from, uint256 amount) external onlyAllowed {
        _burn(from, amount);
    }

    /// @notice     Set or unset an address as a controller.
    ///             Owner Only.
    function setAllowed(address addr, bool isAllowed) external onlyOwner {
        if (allowed[addr] == isAllowed) revert NotChanged();
        allowed[addr] = isAllowed;
    }
}

File 2 of 5 : ERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
abstract contract ERC20 {
    /*///////////////////////////////////////////////////////////////
                                  EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 amount);

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

    /*///////////////////////////////////////////////////////////////
                             METADATA STORAGE
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    uint8 public immutable decimals;

    /*///////////////////////////////////////////////////////////////
                              ERC20 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

    mapping(address => mapping(address => uint256)) public allowance;

    /*///////////////////////////////////////////////////////////////
                             EIP-2612 STORAGE
    //////////////////////////////////////////////////////////////*/

    bytes32 public constant PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(address => uint256) public nonces;

    /*///////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;

        INITIAL_CHAIN_ID = block.chainid;
        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();
    }

    /*///////////////////////////////////////////////////////////////
                              ERC20 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 amount) public virtual returns (bool) {
        allowance[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);

        return true;
    }

    function transfer(address to, uint256 amount) public virtual returns (bool) {
        balanceOf[msg.sender] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(msg.sender, to, amount);

        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.

        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;

        balanceOf[from] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(from, to, amount);

        return true;
    }

    /*///////////////////////////////////////////////////////////////
                              EIP-2612 LOGIC
    //////////////////////////////////////////////////////////////*/

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED");

        // Unchecked because the only math done is incrementing
        // the owner's nonce which cannot realistically overflow.
        unchecked {
            bytes32 digest = keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    DOMAIN_SEPARATOR(),
                    keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
                )
            );

            address recoveredAddress = ecrecover(digest, v, r, s);

            require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER");

            allowance[recoveredAddress][spender] = value;
        }

        emit Approval(owner, spender, value);
    }

    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
    }

    function computeDomainSeparator() internal view virtual returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                    keccak256(bytes(name)),
                    keccak256("1"),
                    block.chainid,
                    address(this)
                )
            );
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 amount) internal virtual {
        totalSupply += amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal virtual {
        balanceOf[from] -= amount;

        // Cannot underflow because a user's balance
        // will never be larger than the total supply.
        unchecked {
            totalSupply -= amount;
        }

        emit Transfer(from, address(0), amount);
    }
}

File 3 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 4 of 5 : IAlphaToken.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.14;

interface IAlphaToken {
    /// @dev 0x36a1c33f
    error NotChanged();
    /// @dev 0x3d693ada
    error NotAllowed();

    function mint(address addr, uint256 amount) external;

    function burn(address from, uint256 amount) external;
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

Settings
{
  "remappings": [
    "$/=src/",
    "@ds-test/=lib/ds-test/src/",
    "@forge-std/=lib/forge-std/src/",
    "@hevm/=lib/hevm/src/",
    "@openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "@solmate/=lib/solmate/src/",
    "ds-test/=lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "hardhat/=node_modules/hardhat/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
    "solmate/=lib/solmate/src/",
    "src/=src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotAllowed","type":"error"},{"inputs":[],"name":"NotChanged","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"DOMAIN_SEPARATOR","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":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"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":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isAllowed","type":"bool"}],"name":"setAllowed","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b50604080518082018252600580825264414c50484160d81b60208084018281528551808701909652928552840152815191929160129162000056916000919062000189565b5081516200006c90600190602085019062000189565b5060ff81166080524660a052620000826200009b565b60c0525062000095915033905062000137565b6200030e565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000cf91906200026b565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000197906200022f565b90600052602060002090601f016020900481019282620001bb576000855562000206565b82601f10620001d657805160ff191683800117855562000206565b8280016001018555821562000206579182015b8281111562000206578251825591602001919060010190620001e9565b506200021492915062000218565b5090565b5b8082111562000214576000815560010162000219565b600181811c908216806200024457607f821691505b6020821081036200026557634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c9150808316806200028857607f831692505b60208084108203620002a857634e487b7160e01b86526022600452602486fd5b818015620002bf5760018114620002d15762000300565b60ff1986168952848901965062000300565b60008a81526020902060005b86811015620002f85781548b820152908501908301620002dd565b505084890196505b509498975050505050505050565b60805160a05160c051610f0c6200033e6000396000610516015260006104e1015260006101bd0152610f0c6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad5780639dc29fac116100715780639dc29fac1461028c578063a9059cbb1461029f578063d505accf146102b2578063dd62ed3e146102c5578063f2fde38b146102f057600080fd5b806370a0823114610221578063715018a6146102415780637ecebe00146102495780638da5cb5b1461026957806395d89b411461028457600080fd5b806330adf81f116100f457806330adf81f14610191578063313ce567146101b85780633644e515146101f157806340c10f19146101f95780634697f05d1461020e57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016757806323b872dd1461017e575b600080fd5b61012e610303565b60405161013b9190610b8c565b60405180910390f35b610157610152366004610bfd565b610391565b604051901515815260200161013b565b61017060025481565b60405190815260200161013b565b61015761018c366004610c27565b6103fd565b6101707f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6101df7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161013b565b6101706104dd565b61020c610207366004610bfd565b610538565b005b61020c61021c366004610c63565b610576565b61017061022f366004610c9f565b60036020526000908152604090205481565b61020c610615565b610170610257366004610c9f565b60056020526000908152604090205481565b6006546040516001600160a01b03909116815260200161013b565b61012e61064b565b61020c61029a366004610bfd565b610658565b6101576102ad366004610bfd565b610692565b61020c6102c0366004610cc1565b6106f8565b6101706102d3366004610d34565b600460209081526000928352604080842090915290825290205481565b61020c6102fe366004610c9f565b610949565b6000805461031090610d67565b80601f016020809104026020016040519081016040528092919081815260200182805461033c90610d67565b80156103895780601f1061035e57610100808354040283529160200191610389565b820191906000526020600020905b81548152906001019060200180831161036c57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103ec9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610459576104348382610db7565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b03851660009081526003602052604081208054859290610481908490610db7565b90915550506001600160a01b0380851660008181526003602052604090819020805487019055519091871690600080516020610eb7833981519152906104ca9087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146105135761050e6109e4565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b3360009081526007602052604090205460ff1661056857604051631eb49d6d60e11b815260040160405180910390fd5b6105728282610a7e565b5050565b6006546001600160a01b031633146105a95760405162461bcd60e51b81526004016105a090610dce565b60405180910390fd5b6001600160a01b03821660009081526007602052604090205481151560ff9091161515036105ea576040516336a1c33f60e01b815260040160405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6006546001600160a01b0316331461063f5760405162461bcd60e51b81526004016105a090610dce565b6106496000610ad8565b565b6001805461031090610d67565b3360009081526007602052604090205460ff1661068857604051631eb49d6d60e11b815260040160405180910390fd5b6105728282610b2a565b336000908152600360205260408120805483919083906106b3908490610db7565b90915550506001600160a01b03831660008181526003602052604090819020805485019055513390600080516020610eb7833981519152906103ec9086815260200190565b428410156107485760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016105a0565b60006107526104dd565b6001600160a01b0389811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938c166060840152608083018b905260a083019390935260c08083018a90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa15801561086b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906108a15750886001600160a01b0316816001600160a01b0316145b6108de5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016105a0565b6001600160a01b0390811660009081526004602090815260408083208b8516808552908352928190208a905551898152919350918a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6006546001600160a01b031633146109735760405162461bcd60e51b81526004016105a090610dce565b6001600160a01b0381166109d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a0565b6109e181610ad8565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610a169190610e03565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254610a909190610e9e565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020610eb783398151915291015b60405180910390a35050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526003602052604081208054839290610b52908490610db7565b90915550506002805482900390556040518181526000906001600160a01b03841690600080516020610eb783398151915290602001610acc565b600060208083528351808285015260005b81811015610bb957858101830151858201604001528201610b9d565b81811115610bcb576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610bf857600080fd5b919050565b60008060408385031215610c1057600080fd5b610c1983610be1565b946020939093013593505050565b600080600060608486031215610c3c57600080fd5b610c4584610be1565b9250610c5360208501610be1565b9150604084013590509250925092565b60008060408385031215610c7657600080fd5b610c7f83610be1565b915060208301358015158114610c9457600080fd5b809150509250929050565b600060208284031215610cb157600080fd5b610cba82610be1565b9392505050565b600080600080600080600060e0888a031215610cdc57600080fd5b610ce588610be1565b9650610cf360208901610be1565b95506040880135945060608801359350608088013560ff81168114610d1757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610d4757600080fd5b610d5083610be1565b9150610d5e60208401610be1565b90509250929050565b600181811c90821680610d7b57607f821691505b602082108103610d9b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610dc957610dc9610da1565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080835481600182811c915080831680610e1f57607f831692505b60208084108203610e3e57634e487b7160e01b86526022600452602486fd5b818015610e525760018114610e6357610e90565b60ff19861689528489019650610e90565b60008a81526020902060005b86811015610e885781548b820152908501908301610e6f565b505084890196505b509498975050505050505050565b60008219821115610eb157610eb1610da1565b50019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208ce1b4a4e00a1e8114589a1413348c8ad4530edf0e129a4da5108c2f0d91e08a64736f6c634300080e0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad5780639dc29fac116100715780639dc29fac1461028c578063a9059cbb1461029f578063d505accf146102b2578063dd62ed3e146102c5578063f2fde38b146102f057600080fd5b806370a0823114610221578063715018a6146102415780637ecebe00146102495780638da5cb5b1461026957806395d89b411461028457600080fd5b806330adf81f116100f457806330adf81f14610191578063313ce567146101b85780633644e515146101f157806340c10f19146101f95780634697f05d1461020e57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016757806323b872dd1461017e575b600080fd5b61012e610303565b60405161013b9190610b8c565b60405180910390f35b610157610152366004610bfd565b610391565b604051901515815260200161013b565b61017060025481565b60405190815260200161013b565b61015761018c366004610c27565b6103fd565b6101707f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6101df7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161013b565b6101706104dd565b61020c610207366004610bfd565b610538565b005b61020c61021c366004610c63565b610576565b61017061022f366004610c9f565b60036020526000908152604090205481565b61020c610615565b610170610257366004610c9f565b60056020526000908152604090205481565b6006546040516001600160a01b03909116815260200161013b565b61012e61064b565b61020c61029a366004610bfd565b610658565b6101576102ad366004610bfd565b610692565b61020c6102c0366004610cc1565b6106f8565b6101706102d3366004610d34565b600460209081526000928352604080842090915290825290205481565b61020c6102fe366004610c9f565b610949565b6000805461031090610d67565b80601f016020809104026020016040519081016040528092919081815260200182805461033c90610d67565b80156103895780601f1061035e57610100808354040283529160200191610389565b820191906000526020600020905b81548152906001019060200180831161036c57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103ec9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610459576104348382610db7565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b03851660009081526003602052604081208054859290610481908490610db7565b90915550506001600160a01b0380851660008181526003602052604090819020805487019055519091871690600080516020610eb7833981519152906104ca9087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000146146105135761050e6109e4565b905090565b507f3efa5b2471739d7a3ffc6b9ba3033c28cdbfeb3795b3cd265abee131a440d33890565b3360009081526007602052604090205460ff1661056857604051631eb49d6d60e11b815260040160405180910390fd5b6105728282610a7e565b5050565b6006546001600160a01b031633146105a95760405162461bcd60e51b81526004016105a090610dce565b60405180910390fd5b6001600160a01b03821660009081526007602052604090205481151560ff9091161515036105ea576040516336a1c33f60e01b815260040160405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6006546001600160a01b0316331461063f5760405162461bcd60e51b81526004016105a090610dce565b6106496000610ad8565b565b6001805461031090610d67565b3360009081526007602052604090205460ff1661068857604051631eb49d6d60e11b815260040160405180910390fd5b6105728282610b2a565b336000908152600360205260408120805483919083906106b3908490610db7565b90915550506001600160a01b03831660008181526003602052604090819020805485019055513390600080516020610eb7833981519152906103ec9086815260200190565b428410156107485760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016105a0565b60006107526104dd565b6001600160a01b0389811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938c166060840152608083018b905260a083019390935260c08083018a90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa15801561086b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906108a15750886001600160a01b0316816001600160a01b0316145b6108de5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016105a0565b6001600160a01b0390811660009081526004602090815260408083208b8516808552908352928190208a905551898152919350918a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6006546001600160a01b031633146109735760405162461bcd60e51b81526004016105a090610dce565b6001600160a01b0381166109d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a0565b6109e181610ad8565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610a169190610e03565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254610a909190610e9e565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020610eb783398151915291015b60405180910390a35050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526003602052604081208054839290610b52908490610db7565b90915550506002805482900390556040518181526000906001600160a01b03841690600080516020610eb783398151915290602001610acc565b600060208083528351808285015260005b81811015610bb957858101830151858201604001528201610b9d565b81811115610bcb576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610bf857600080fd5b919050565b60008060408385031215610c1057600080fd5b610c1983610be1565b946020939093013593505050565b600080600060608486031215610c3c57600080fd5b610c4584610be1565b9250610c5360208501610be1565b9150604084013590509250925092565b60008060408385031215610c7657600080fd5b610c7f83610be1565b915060208301358015158114610c9457600080fd5b809150509250929050565b600060208284031215610cb157600080fd5b610cba82610be1565b9392505050565b600080600080600080600060e0888a031215610cdc57600080fd5b610ce588610be1565b9650610cf360208901610be1565b95506040880135945060608801359350608088013560ff81168114610d1757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610d4757600080fd5b610d5083610be1565b9150610d5e60208401610be1565b90509250929050565b600181811c90821680610d7b57607f821691505b602082108103610d9b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610dc957610dc9610da1565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080835481600182811c915080831680610e1f57607f831692505b60208084108203610e3e57634e487b7160e01b86526022600452602486fd5b818015610e525760018114610e6357610e90565b60ff19861689528489019650610e90565b60008a81526020902060005b86811015610e885781548b820152908501908301610e6f565b505084890196505b509498975050505050505050565b60008219821115610eb157610eb1610da1565b50019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208ce1b4a4e00a1e8114589a1413348c8ad4530edf0e129a4da5108c2f0d91e08a64736f6c634300080e0033

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.