ETH Price: $3,114.90 (+0.56%)
Gas: 3 Gwei

Token

eTACO-v2 (eTACO)
 

Overview

Max Total Supply

395,097,860 eTACO

Holders

1,454 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
822,145.348007380409249725 eTACO

Value
$0.00
0xdd2d6446bee70e4c4813b7d24f0742dd0f5c7942
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

TACOSwap is a Dex Defi protocol with added fiat on-ramp and off-ramp and rewards for liquidity providers while improving the payout rate to 0.5%.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
eTaco

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : eTACO.sol
pragma solidity 0.8.0;
pragma experimental ABIEncoderV2;

// SPDX-License-Identifier: MIT




contract eTaco {
    /// @notice EIP-20 token name for this token
    string public constant name = "eTACO-v2";

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

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

    /// @notice Total number of tokens in circulation
    uint public constant totalSupply = 395097860e18; // 395,097,860 million eTaco

    /// @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;

    /// @dev 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 A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @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 eTaco token
     */
    constructor() {
        balances[msg.sender] = uint96(totalSupply);
        emit Transfer(address(0), msg.sender, totalSupply);
    }

    /**
     * @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 == type(uint256).max) {
            amount = type(uint96).max;
        } else {
            amount = safe96(rawAmount, "eTacoToken::approve: amount exceeds 96 bits");
        }

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

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

    /**
     * @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, "eTacoToken::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, "eTacoToken::approve: amount exceeds 96 bits");

        if (spender != src && spenderAllowance != type(uint96).max) {
            uint96 newAllowance = sub96(spenderAllowance, amount, "eTacoToken::transferFrom: transfer amount exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

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

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

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "eTacoToken::_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, "eTacoToken::_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, "eTacoToken::_writeCheckpoint: block number exceeds 32 bits");

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

      emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "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":"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":"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"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"}]

608060405234801561001057600080fd5b503360008181526001602052604080822080546001600160601b0319166b0146d139e866ce271990000090811790915590517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9161006d9161007a565b60405180910390a3610083565b90815260200190565b6119ad806100926000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea571461025f578063c3cda52014610272578063dd62ed3e14610285578063e7a324dc14610298578063f1127ed8146102a057610121565b806370a08231146101fe578063782d6fe1146102115780637ecebe001461023157806395d89b4114610244578063a9059cbb1461024c57610121565b806323b872dd116100f457806323b872dd14610181578063313ce56714610194578063587cde1e146101a95780635c19a95c146101c95780636fcfff45146101de57610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016457806320606b7014610179575b600080fd5b61012e6102c1565b60405161013b9190611435565b60405180910390f35b6101576101523660046112c7565b6102e5565b60405161013b91906113bb565b61016c6103a7565b60405161013b91906113c6565b61016c6103b7565b61015761018f36600461128c565b6103db565b61019c61051e565b60405161013b91906116ab565b6101bc6101b7366004611240565b610523565b60405161013b91906113a7565b6101dc6101d7366004611240565b61053e565b005b6101f16101ec366004611240565b61054b565b60405161013b919061167b565b61016c61020c366004611240565b610563565b61022461021f3660046112c7565b61058b565b60405161013b91906116b9565b61016c61023f366004611240565b6107db565b61012e6107ed565b61015761025a3660046112c7565b61080e565b61022461026d366004611240565b61084a565b6101dc6102803660046112f0565b6108c8565b61016c61029336600461125a565b610ad5565b61016c610b07565b6102b36102ae36600461134e565b610b2b565b60405161013b92919061168c565b6040518060400160405280600881526020016732aa20a1a796bb1960c11b81525081565b60008060001983141561030057506001600160601b03610325565b610322836040518060600160405280602b8152602001611831602b9139610b60565b90505b336000818152602081815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103939085906116b9565b60405180910390a360019150505b92915050565b6b0146d139e866ce271990000081565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602b80845291936001600160601b03909116928592610431928892919061183190830139610b60565b9050866001600160a01b0316836001600160a01b03161415801561045e57506001600160601b0382811614155b15610506576000610488838360405180608001604052806043815260200161189660439139610b8f565b6001600160a01b03898116600081815260208181526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104fc9085906116b9565b60405180910390a3505b610511878783610bd9565b5060019695505050505050565b601281565b6002602052600090815260409020546001600160a01b031681565b6105483382610d84565b50565b60046020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600160205260409020546001600160601b03165b919050565b60004382106105b55760405162461bcd60e51b81526004016105ac9061162e565b60405180910390fd5b6001600160a01b03831660009081526004602052604090205463ffffffff16806105e35760009150506103a1565b6001600160a01b03841660009081526003602052604081208491610608600185611760565b63ffffffff9081168252602082019290925260400160002054161161067b576001600160a01b03841660009081526003602052604081209061064b600184611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506103a19050565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156106b65760009150506103a1565b6000806106c4600184611760565b90505b8163ffffffff168163ffffffff16111561079657600060026106e98484611760565b6106f39190611731565b6106fd9083611760565b6001600160a01b038816600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915291925087141561076a576020015194506103a19350505050565b805163ffffffff168711156107815781935061078f565b61078c600183611760565b92505b50506106c7565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60056020526000908152604090205481565b60405180604001604052806005815260200164655441434f60d81b81525081565b600080610833836040518060600160405280602c8152602001611805602c9139610b60565b9050610840338583610bd9565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff16806108755760006108c1565b6001600160a01b038316600090815260036020526040812090610899600184611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60408051808201909152600881526732aa20a1a796bb1960c11b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fbbc04479c055a17f154466a5984797709bdb9cea515f8cb73051d7dbf30b027f610934610e0e565b3060405160200161094894939291906113f3565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf88888860405160200161099994939291906113cf565b604051602081830303815290604052805190602001209050600082826040516020016109c692919061138c565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610a039493929190611417565b6020604051602081039080840390855afa158015610a25573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a585760405162461bcd60e51b81526004016105ac906114e6565b6001600160a01b0381166000908152600560205260408120805491610a7c836117a5565b919050558914610a9e5760405162461bcd60e51b81526004016105ac906115e6565b87421115610abe5760405162461bcd60e51b81526004016105ac9061159a565b610ac8818b610d84565b505050505b505050505050565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610b875760405162461bcd60e51b81526004016105ac9190611435565b509192915050565b6000836001600160601b0316836001600160601b031611158290610bc65760405162461bcd60e51b81526004016105ac9190611435565b50610bd18385611785565b949350505050565b6001600160a01b038316610bff5760405162461bcd60e51b81526004016105ac90611532565b6001600160a01b038216610c255760405162461bcd60e51b81526004016105ac90611488565b6001600160a01b03831660009081526001602090815260409182902054825160608101909352603c808452610c70936001600160601b03909216928592919061190f90830139610b8f565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526036808452610cd894919091169285929091906118d990830139610e12565b6001600160a01b038381166000818152600160205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d459085906116b9565b60405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054610d7f92918216911683610e5f565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610e08828483610e5f565b50505050565b4690565b600080610e1f848661170f565b9050846001600160601b0316816001600160601b031610158390610e565760405162461bcd60e51b81526004016105ac9190611435565b50949350505050565b816001600160a01b0316836001600160a01b031614158015610e8a57506000816001600160601b0316115b15610d7f576001600160a01b03831615610f4f576001600160a01b03831660009081526004602052604081205463ffffffff169081610eca576000610f16565b6001600160a01b038516600090815260036020526040812090610eee600185611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000610f3d82856040518060600160405280602e81526020016117d7602e9139610b8f565b9050610f4b86848484611007565b5050505b6001600160a01b03821615610d7f576001600160a01b03821660009081526004602052604081205463ffffffff169081610f8a576000610fd6565b6001600160a01b038416600090815260036020526040812090610fae600185611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000610ffd82856040518060600160405280602d815260200161194b602d9139610e12565b9050610acd858484845b600061102b436040518060600160405280603a815260200161185c603a9139611202565b905060008463ffffffff1611801561108557506001600160a01b038516600090815260036020526040812063ffffffff831691611069600188611760565b63ffffffff908116825260208201929092526040016000205416145b156110f9576001600160a01b038516600090815260036020526040812083916110af600188611760565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff00000000199092169190911790556111b8565b60408051808201825263ffffffff83811682526001600160601b0385811660208085019182526001600160a01b038b166000908152600382528681208b861682529091529490942092518354945163ffffffff199095169216919091176fffffffffffffffffffffffff000000001916600160201b93909116929092029190911790556111878460016116e7565b6001600160a01b0386166000908152600460205260409020805463ffffffff191663ffffffff929092169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516111f39291906116cd565b60405180910390a25050505050565b600081600160201b8410610b875760405162461bcd60e51b81526004016105ac9190611435565b80356001600160a01b038116811461058657600080fd5b600060208284031215611251578081fd5b6108c182611229565b6000806040838503121561126c578081fd5b61127583611229565b915061128360208401611229565b90509250929050565b6000806000606084860312156112a0578081fd5b6112a984611229565b92506112b760208501611229565b9150604084013590509250925092565b600080604083850312156112d9578182fd5b6112e283611229565b946020939093013593505050565b60008060008060008060c08789031215611308578182fd5b61131187611229565b95506020870135945060408701359350606087013560ff81168114611334578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611360578182fd5b61136983611229565b9150602083013563ffffffff81168114611381578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b8181101561146157858101830151858201604001528201611445565b818111156114725783604083870101525b50601f01601f1916929092016040019392505050565b602080825260409082018190527f655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e908201527f6e6f74207472616e7366657220746f20746865207a65726f2061646472657373606082015260800190565b6020808252602c908201527f655461636f546f6b656e3a3a64656c656761746542795369673a20696e76616c60408201526b6964207369676e617475726560a01b606082015260800190565b60208082526042908201527f655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e60408201527f6e6f74207472616e736665722066726f6d20746865207a65726f206164647265606082015261737360f01b608082015260a00190565b6020808252602c908201527f655461636f546f6b656e3a3a64656c656761746542795369673a207369676e6160408201526b1d1d5c9948195e1c1a5c995960a21b606082015260800190565b60208082526028908201527f655461636f546f6b656e3a3a64656c656761746542795369673a20696e76616c6040820152676964206e6f6e636560c01b606082015260800190565b6020808252602d908201527f655461636f546f6b656e3a3a6765745072696f72566f7465733a206e6f74207960408201526c195d0819195d195c9b5a5b9959609a1b606082015260800190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b0392831681529116602082015260400190565b600063ffffffff808316818516808303821115611706576117066117c0565b01949350505050565b60006001600160601b03808316818516808303821115611706576117066117c0565b600063ffffffff8084168061175457634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff8381169083168181101561177d5761177d6117c0565b039392505050565b60006001600160601b038381169083168181101561177d5761177d6117c0565b60006000198214156117b9576117b96117c0565b5060010190565b634e487b7160e01b600052601160045260246000fdfe655461636f546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773655461636f546f6b656e3a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473655461636f546f6b656e3a3a617070726f76653a20616d6f756e7420657863656564732039362062697473655461636f546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473655461636f546f6b656e3a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365655461636f546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773a2646970667358221220eb405c5b3e63c523effd2173ba2b4d64bc017f273c20963ad85cfe680080571164736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea571461025f578063c3cda52014610272578063dd62ed3e14610285578063e7a324dc14610298578063f1127ed8146102a057610121565b806370a08231146101fe578063782d6fe1146102115780637ecebe001461023157806395d89b4114610244578063a9059cbb1461024c57610121565b806323b872dd116100f457806323b872dd14610181578063313ce56714610194578063587cde1e146101a95780635c19a95c146101c95780636fcfff45146101de57610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016457806320606b7014610179575b600080fd5b61012e6102c1565b60405161013b9190611435565b60405180910390f35b6101576101523660046112c7565b6102e5565b60405161013b91906113bb565b61016c6103a7565b60405161013b91906113c6565b61016c6103b7565b61015761018f36600461128c565b6103db565b61019c61051e565b60405161013b91906116ab565b6101bc6101b7366004611240565b610523565b60405161013b91906113a7565b6101dc6101d7366004611240565b61053e565b005b6101f16101ec366004611240565b61054b565b60405161013b919061167b565b61016c61020c366004611240565b610563565b61022461021f3660046112c7565b61058b565b60405161013b91906116b9565b61016c61023f366004611240565b6107db565b61012e6107ed565b61015761025a3660046112c7565b61080e565b61022461026d366004611240565b61084a565b6101dc6102803660046112f0565b6108c8565b61016c61029336600461125a565b610ad5565b61016c610b07565b6102b36102ae36600461134e565b610b2b565b60405161013b92919061168c565b6040518060400160405280600881526020016732aa20a1a796bb1960c11b81525081565b60008060001983141561030057506001600160601b03610325565b610322836040518060600160405280602b8152602001611831602b9139610b60565b90505b336000818152602081815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103939085906116b9565b60405180910390a360019150505b92915050565b6b0146d139e866ce271990000081565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602b80845291936001600160601b03909116928592610431928892919061183190830139610b60565b9050866001600160a01b0316836001600160a01b03161415801561045e57506001600160601b0382811614155b15610506576000610488838360405180608001604052806043815260200161189660439139610b8f565b6001600160a01b03898116600081815260208181526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104fc9085906116b9565b60405180910390a3505b610511878783610bd9565b5060019695505050505050565b601281565b6002602052600090815260409020546001600160a01b031681565b6105483382610d84565b50565b60046020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600160205260409020546001600160601b03165b919050565b60004382106105b55760405162461bcd60e51b81526004016105ac9061162e565b60405180910390fd5b6001600160a01b03831660009081526004602052604090205463ffffffff16806105e35760009150506103a1565b6001600160a01b03841660009081526003602052604081208491610608600185611760565b63ffffffff9081168252602082019290925260400160002054161161067b576001600160a01b03841660009081526003602052604081209061064b600184611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506103a19050565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156106b65760009150506103a1565b6000806106c4600184611760565b90505b8163ffffffff168163ffffffff16111561079657600060026106e98484611760565b6106f39190611731565b6106fd9083611760565b6001600160a01b038816600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915291925087141561076a576020015194506103a19350505050565b805163ffffffff168711156107815781935061078f565b61078c600183611760565b92505b50506106c7565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60056020526000908152604090205481565b60405180604001604052806005815260200164655441434f60d81b81525081565b600080610833836040518060600160405280602c8152602001611805602c9139610b60565b9050610840338583610bd9565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff16806108755760006108c1565b6001600160a01b038316600090815260036020526040812090610899600184611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60408051808201909152600881526732aa20a1a796bb1960c11b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fbbc04479c055a17f154466a5984797709bdb9cea515f8cb73051d7dbf30b027f610934610e0e565b3060405160200161094894939291906113f3565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf88888860405160200161099994939291906113cf565b604051602081830303815290604052805190602001209050600082826040516020016109c692919061138c565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610a039493929190611417565b6020604051602081039080840390855afa158015610a25573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a585760405162461bcd60e51b81526004016105ac906114e6565b6001600160a01b0381166000908152600560205260408120805491610a7c836117a5565b919050558914610a9e5760405162461bcd60e51b81526004016105ac906115e6565b87421115610abe5760405162461bcd60e51b81526004016105ac9061159a565b610ac8818b610d84565b505050505b505050505050565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610b875760405162461bcd60e51b81526004016105ac9190611435565b509192915050565b6000836001600160601b0316836001600160601b031611158290610bc65760405162461bcd60e51b81526004016105ac9190611435565b50610bd18385611785565b949350505050565b6001600160a01b038316610bff5760405162461bcd60e51b81526004016105ac90611532565b6001600160a01b038216610c255760405162461bcd60e51b81526004016105ac90611488565b6001600160a01b03831660009081526001602090815260409182902054825160608101909352603c808452610c70936001600160601b03909216928592919061190f90830139610b8f565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526036808452610cd894919091169285929091906118d990830139610e12565b6001600160a01b038381166000818152600160205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d459085906116b9565b60405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054610d7f92918216911683610e5f565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610e08828483610e5f565b50505050565b4690565b600080610e1f848661170f565b9050846001600160601b0316816001600160601b031610158390610e565760405162461bcd60e51b81526004016105ac9190611435565b50949350505050565b816001600160a01b0316836001600160a01b031614158015610e8a57506000816001600160601b0316115b15610d7f576001600160a01b03831615610f4f576001600160a01b03831660009081526004602052604081205463ffffffff169081610eca576000610f16565b6001600160a01b038516600090815260036020526040812090610eee600185611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000610f3d82856040518060600160405280602e81526020016117d7602e9139610b8f565b9050610f4b86848484611007565b5050505b6001600160a01b03821615610d7f576001600160a01b03821660009081526004602052604081205463ffffffff169081610f8a576000610fd6565b6001600160a01b038416600090815260036020526040812090610fae600185611760565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000610ffd82856040518060600160405280602d815260200161194b602d9139610e12565b9050610acd858484845b600061102b436040518060600160405280603a815260200161185c603a9139611202565b905060008463ffffffff1611801561108557506001600160a01b038516600090815260036020526040812063ffffffff831691611069600188611760565b63ffffffff908116825260208201929092526040016000205416145b156110f9576001600160a01b038516600090815260036020526040812083916110af600188611760565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff00000000199092169190911790556111b8565b60408051808201825263ffffffff83811682526001600160601b0385811660208085019182526001600160a01b038b166000908152600382528681208b861682529091529490942092518354945163ffffffff199095169216919091176fffffffffffffffffffffffff000000001916600160201b93909116929092029190911790556111878460016116e7565b6001600160a01b0386166000908152600460205260409020805463ffffffff191663ffffffff929092169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516111f39291906116cd565b60405180910390a25050505050565b600081600160201b8410610b875760405162461bcd60e51b81526004016105ac9190611435565b80356001600160a01b038116811461058657600080fd5b600060208284031215611251578081fd5b6108c182611229565b6000806040838503121561126c578081fd5b61127583611229565b915061128360208401611229565b90509250929050565b6000806000606084860312156112a0578081fd5b6112a984611229565b92506112b760208501611229565b9150604084013590509250925092565b600080604083850312156112d9578182fd5b6112e283611229565b946020939093013593505050565b60008060008060008060c08789031215611308578182fd5b61131187611229565b95506020870135945060408701359350606087013560ff81168114611334578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611360578182fd5b61136983611229565b9150602083013563ffffffff81168114611381578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b8181101561146157858101830151858201604001528201611445565b818111156114725783604083870101525b50601f01601f1916929092016040019392505050565b602080825260409082018190527f655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e908201527f6e6f74207472616e7366657220746f20746865207a65726f2061646472657373606082015260800190565b6020808252602c908201527f655461636f546f6b656e3a3a64656c656761746542795369673a20696e76616c60408201526b6964207369676e617475726560a01b606082015260800190565b60208082526042908201527f655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e60408201527f6e6f74207472616e736665722066726f6d20746865207a65726f206164647265606082015261737360f01b608082015260a00190565b6020808252602c908201527f655461636f546f6b656e3a3a64656c656761746542795369673a207369676e6160408201526b1d1d5c9948195e1c1a5c995960a21b606082015260800190565b60208082526028908201527f655461636f546f6b656e3a3a64656c656761746542795369673a20696e76616c6040820152676964206e6f6e636560c01b606082015260800190565b6020808252602d908201527f655461636f546f6b656e3a3a6765745072696f72566f7465733a206e6f74207960408201526c195d0819195d195c9b5a5b9959609a1b606082015260800190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b0392831681529116602082015260400190565b600063ffffffff808316818516808303821115611706576117066117c0565b01949350505050565b60006001600160601b03808316818516808303821115611706576117066117c0565b600063ffffffff8084168061175457634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff8381169083168181101561177d5761177d6117c0565b039392505050565b60006001600160601b038381169083168181101561177d5761177d6117c0565b60006000198214156117b9576117b96117c0565b5060010190565b634e487b7160e01b600052601160045260246000fdfe655461636f546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773655461636f546f6b656e3a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473655461636f546f6b656e3a3a617070726f76653a20616d6f756e7420657863656564732039362062697473655461636f546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473655461636f546f6b656e3a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773655461636f546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365655461636f546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773a2646970667358221220eb405c5b3e63c523effd2173ba2b4d64bc017f273c20963ad85cfe680080571164736f6c63430008000033

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.