ETH Price: $3,284.63 (+0.59%)
Gas: 34 Gwei

Token

Gasless Ether (gETH)
 

Overview

Max Total Supply

0.108950684111186235 gETH

Holders

31

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000000002 gETH

Value
$0.00
0xc04d59BF919cDaE9C0aeCC628134D93D613A0730
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:
gETH

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2023-07-18
*/

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.18;

/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
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
    //////////////////////////////////////////////////////////////*/

    mapping(address => uint256) public balanceOf;

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

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

    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 {
            address recoveredAddress = ecrecover(
                keccak256(
                    abi.encodePacked(
                        "\x19\x01",
                        DOMAIN_SEPARATOR(),
                        keccak256(
                            abi.encode(
                                keccak256(
                                    "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
                                ),
                                owner,
                                spender,
                                value,
                                nonces[owner]++,
                                deadline
                            )
                        )
                    )
                ),
                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 {
        // 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;

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

pragma solidity >=0.8.0;

/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.
/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.
library SafeTransferLib {
    /*//////////////////////////////////////////////////////////////
                             ETH OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransferETH(address to, uint256 amount) internal {
        bool success;

        /// @solidity memory-safe-assembly
        assembly {
            // Transfer the ETH and store if it succeeded or not.
            success := call(gas(), to, amount, 0, 0, 0, 0)
        }

        require(success, "ETH_TRANSFER_FAILED");
    }

    /*//////////////////////////////////////////////////////////////
                            ERC20 OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransferFrom(
        ERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        bool success;

        /// @solidity memory-safe-assembly
        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "from" argument.
            mstore(add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument.
            mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)
            )
        }

        require(success, "TRANSFER_FROM_FAILED");
    }

    function safeTransfer(
        ERC20 token,
        address to,
        uint256 amount
    ) internal {
        bool success;

        /// @solidity memory-safe-assembly
        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
            )
        }

        require(success, "TRANSFER_FAILED");
    }

    function safeApprove(
        ERC20 token,
        address to,
        uint256 amount
    ) internal {
        bool success;

        /// @solidity memory-safe-assembly
        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
            )
        }

        require(success, "APPROVE_FAILED");
    }
}

contract gETH is ERC20("Gasless Ether", "gETH", 18) {
    using SafeTransferLib for address;

    event Deposit(address indexed from, uint256 amount);

    event Withdrawal(address indexed to, uint256 amount);

    function totalSupply() public view returns (uint) {
        return address(this).balance;
    }

    function deposit() public payable virtual {
        _mint(msg.sender, msg.value);

        emit Deposit(msg.sender, msg.value);
    }

    function withdraw(uint256 amount) public virtual {
        _burn(msg.sender, amount);

        emit Withdrawal(msg.sender, amount);

        msg.sender.safeTransferETH(amount);
    }

    receive() external payable virtual {
        deposit();
    }
}

Contract Security Audit

Contract ABI

[{"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":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","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":"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":"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":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b506040518060400160405280600d81526020016c23b0b9b632b9b99022ba3432b960991b815250604051806040016040528060048152602001630ce8aa8960e31b81525060128260009081620000689190620001db565b506001620000778382620001db565b5060ff81166080524660a0526200008d6200009a565b60c0525062000325915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000ce9190620002a7565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016157607f821691505b6020821081036200018257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d657600081815260208120601f850160051c81016020861015620001b15750805b601f850160051c820191505b81811015620001d257828155600101620001bd565b5050505b505050565b81516001600160401b03811115620001f757620001f762000136565b6200020f816200020884546200014c565b8462000188565b602080601f8311600181146200024757600084156200022e5750858301515b600019600386901b1c1916600185901b178555620001d2565b600085815260208120601f198616915b82811015620002785788860151825594840194600190910190840162000257565b5085821015620002975787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002b7816200014c565b60018281168015620002d25760018114620002e85762000319565b60ff198416875282151583028701945062000319565b8760005260208060002060005b85811015620003105781548a820152908401908201620002f5565b50505082870194505b50929695505050505050565b60805160a05160c051610d0362000355600039600061059801526000610563015260006101bf0152610d036000f3fe6080604052600436106100e15760003560e01c806370a082311161007f578063a9059cbb11610059578063a9059cbb14610277578063d0e30db014610297578063d505accf1461029f578063dd62ed3e146102bf57600080fd5b806370a08231146102085780637ecebe001461023557806395d89b411461026257600080fd5b806323b872dd116100bb57806323b872dd1461016d5780632e1a7d4d1461018d578063313ce567146101ad5780633644e515146101f357600080fd5b806306fdde03146100f5578063095ea7b31461012057806318160ddd1461015057600080fd5b366100f0576100ee6102f7565b005b600080fd5b34801561010157600080fd5b5061010a610338565b6040516101179190610a02565b60405180910390f35b34801561012c57600080fd5b5061014061013b366004610a6c565b6103c6565b6040519015158152602001610117565b34801561015c57600080fd5b50475b604051908152602001610117565b34801561017957600080fd5b50610140610188366004610a96565b610433565b34801561019957600080fd5b506100ee6101a8366004610ad2565b610513565b3480156101b957600080fd5b506101e17f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610117565b3480156101ff57600080fd5b5061015f61055f565b34801561021457600080fd5b5061015f610223366004610aeb565b60026020526000908152604090205481565b34801561024157600080fd5b5061015f610250366004610aeb565b60046020526000908152604090205481565b34801561026e57600080fd5b5061010a6105ba565b34801561028357600080fd5b50610140610292366004610a6c565b6105c7565b6100ee6102f7565b3480156102ab57600080fd5b506100ee6102ba366004610b0d565b61062d565b3480156102cb57600080fd5b5061015f6102da366004610b80565b600360209081526000928352604080842090915290825290205481565b6103013334610876565b60405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b6000805461034590610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461037190610bb3565b80156103be5780601f10610393576101008083540402835291602001916103be565b820191906000526020600020905b8154815290600101906020018083116103a157829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104219086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600360209081526040808320338452909152812054600019811461048f5761046a8382610bed565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b6001600160a01b038516600090815260026020526040812080548592906104b7908490610bed565b90915550506001600160a01b0380851660008181526002602052604090819020805487019055519091871690600080516020610cae833981519152906105009087815260200190565b60405180910390a3506001949350505050565b61051d33826108b9565b60405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a261055c3382610912565b50565b60007f0000000000000000000000000000000000000000000000000000000000000000461461059557610590610968565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b6001805461034590610bb3565b336000908152600260205260408120805483919083906105e8908490610bed565b90915550506001600160a01b03831660008181526002602052604090819020805485019055513390600080516020610cae833981519152906104219086815260200190565b428410156106825760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b6000600161068e61055f565b6001600160a01b038a811660008181526004602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa15801561079a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107d05750876001600160a01b0316816001600160a01b0316145b61080d5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610679565b6001600160a01b0390811660009081526003602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6001600160a01b038216600081815260026020908152604080832080548601905551848152600080516020610cae83398151915291015b60405180910390a35050565b6001600160a01b038216600090815260026020526040812080548392906108e1908490610bed565b90915550506040518181526000906001600160a01b03841690600080516020610cae833981519152906020016108ad565b600080600080600085875af19050806109635760405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b6044820152606401610679565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161099a9190610c0e565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600060208083528351808285015260005b81811015610a2f57858101830151858201604001528201610a13565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6757600080fd5b919050565b60008060408385031215610a7f57600080fd5b610a8883610a50565b946020939093013593505050565b600080600060608486031215610aab57600080fd5b610ab484610a50565b9250610ac260208501610a50565b9150604084013590509250925092565b600060208284031215610ae457600080fd5b5035919050565b600060208284031215610afd57600080fd5b610b0682610a50565b9392505050565b600080600080600080600060e0888a031215610b2857600080fd5b610b3188610a50565b9650610b3f60208901610a50565b95506040880135945060608801359350608088013560ff81168114610b6357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610b9357600080fd5b610b9c83610a50565b9150610baa60208401610a50565b90509250929050565b600181811c90821680610bc757607f821691505b602082108103610be757634e487b7160e01b600052602260045260246000fd5b50919050565b8181038181111561042d57634e487b7160e01b600052601160045260246000fd5b600080835481600182811c915080831680610c2a57607f831692505b60208084108203610c4957634e487b7160e01b86526022600452602486fd5b818015610c5d5760018114610c7257610c9f565b60ff1986168952841515850289019650610c9f565b60008a81526020902060005b86811015610c975781548b820152908501908301610c7e565b505084890196505b50949897505050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122031d4579b2ee70b0084226ea87c413d050d189c710fc8125d075bac4aa7889a8c64736f6c63430008120033

Deployed Bytecode

0x6080604052600436106100e15760003560e01c806370a082311161007f578063a9059cbb11610059578063a9059cbb14610277578063d0e30db014610297578063d505accf1461029f578063dd62ed3e146102bf57600080fd5b806370a08231146102085780637ecebe001461023557806395d89b411461026257600080fd5b806323b872dd116100bb57806323b872dd1461016d5780632e1a7d4d1461018d578063313ce567146101ad5780633644e515146101f357600080fd5b806306fdde03146100f5578063095ea7b31461012057806318160ddd1461015057600080fd5b366100f0576100ee6102f7565b005b600080fd5b34801561010157600080fd5b5061010a610338565b6040516101179190610a02565b60405180910390f35b34801561012c57600080fd5b5061014061013b366004610a6c565b6103c6565b6040519015158152602001610117565b34801561015c57600080fd5b50475b604051908152602001610117565b34801561017957600080fd5b50610140610188366004610a96565b610433565b34801561019957600080fd5b506100ee6101a8366004610ad2565b610513565b3480156101b957600080fd5b506101e17f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610117565b3480156101ff57600080fd5b5061015f61055f565b34801561021457600080fd5b5061015f610223366004610aeb565b60026020526000908152604090205481565b34801561024157600080fd5b5061015f610250366004610aeb565b60046020526000908152604090205481565b34801561026e57600080fd5b5061010a6105ba565b34801561028357600080fd5b50610140610292366004610a6c565b6105c7565b6100ee6102f7565b3480156102ab57600080fd5b506100ee6102ba366004610b0d565b61062d565b3480156102cb57600080fd5b5061015f6102da366004610b80565b600360209081526000928352604080842090915290825290205481565b6103013334610876565b60405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b6000805461034590610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461037190610bb3565b80156103be5780601f10610393576101008083540402835291602001916103be565b820191906000526020600020905b8154815290600101906020018083116103a157829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104219086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600360209081526040808320338452909152812054600019811461048f5761046a8382610bed565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b6001600160a01b038516600090815260026020526040812080548592906104b7908490610bed565b90915550506001600160a01b0380851660008181526002602052604090819020805487019055519091871690600080516020610cae833981519152906105009087815260200190565b60405180910390a3506001949350505050565b61051d33826108b9565b60405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a261055c3382610912565b50565b60007f0000000000000000000000000000000000000000000000000000000000000001461461059557610590610968565b905090565b507fc24c47d557f20f4ce6454251ec265516b7ffa0c4f6fcf20fa1a09eb543aac0b790565b6001805461034590610bb3565b336000908152600260205260408120805483919083906105e8908490610bed565b90915550506001600160a01b03831660008181526002602052604090819020805485019055513390600080516020610cae833981519152906104219086815260200190565b428410156106825760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b6000600161068e61055f565b6001600160a01b038a811660008181526004602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa15801561079a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107d05750876001600160a01b0316816001600160a01b0316145b61080d5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610679565b6001600160a01b0390811660009081526003602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6001600160a01b038216600081815260026020908152604080832080548601905551848152600080516020610cae83398151915291015b60405180910390a35050565b6001600160a01b038216600090815260026020526040812080548392906108e1908490610bed565b90915550506040518181526000906001600160a01b03841690600080516020610cae833981519152906020016108ad565b600080600080600085875af19050806109635760405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b6044820152606401610679565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161099a9190610c0e565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600060208083528351808285015260005b81811015610a2f57858101830151858201604001528201610a13565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6757600080fd5b919050565b60008060408385031215610a7f57600080fd5b610a8883610a50565b946020939093013593505050565b600080600060608486031215610aab57600080fd5b610ab484610a50565b9250610ac260208501610a50565b9150604084013590509250925092565b600060208284031215610ae457600080fd5b5035919050565b600060208284031215610afd57600080fd5b610b0682610a50565b9392505050565b600080600080600080600060e0888a031215610b2857600080fd5b610b3188610a50565b9650610b3f60208901610a50565b95506040880135945060608801359350608088013560ff81168114610b6357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610b9357600080fd5b610b9c83610a50565b9150610baa60208401610a50565b90509250929050565b600181811c90821680610bc757607f821691505b602082108103610be757634e487b7160e01b600052602260045260246000fd5b50919050565b8181038181111561042d57634e487b7160e01b600052601160045260246000fd5b600080835481600182811c915080831680610c2a57607f831692505b60208084108203610c4957634e487b7160e01b86526022600452602486fd5b818015610c5d5760018114610c7257610c9f565b60ff1986168952841515850289019650610c9f565b60008a81526020902060005b86811015610c975781548b820152908501908301610c7e565b505084890196505b50949897505050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122031d4579b2ee70b0084226ea87c413d050d189c710fc8125d075bac4aa7889a8c64736f6c63430008120033

Deployed Bytecode Sourcemap

13027:734:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13741:9;:7;:9::i;:::-;13027:734;;;;;929:18;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2371:217;;;;;;;;;;-1:-1:-1;2371:217:0;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;2371:217:0;1004:187:1;13249:97:0;;;;;;;;;;-1:-1:-1;13317:21:0;13249:97;;;1342:25:1;;;1330:2;1315:18;13249:97:0;1196:177:1;2989:612:0;;;;;;;;;;-1:-1:-1;2989:612:0;;;;;:::i;:::-;;:::i;13499:188::-;;;;;;;;;;-1:-1:-1;13499:188:0;;;;;:::i;:::-;;:::i;985:31::-;;;;;;;;;;;;;;;;;;2068:4:1;2056:17;;;2038:36;;2026:2;2011:18;985:31:0;1896:184:1;5331:179:0;;;;;;;;;;;;;:::i;1212:44::-;;;;;;;;;;-1:-1:-1;1212:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;1638:41;;;;;;;;;;-1:-1:-1;1638:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;956:20;;;;;;;;;;;;;:::i;2596:385::-;;;;;;;;;;-1:-1:-1;2596:385:0;;;;;:::i;:::-;;:::i;13354:137::-;;;:::i;3796:1527::-;;;;;;;;;;-1:-1:-1;3796:1527:0;;;;;:::i;:::-;;:::i;1265:64::-;;;;;;;;;;-1:-1:-1;1265:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;13354:137;13407:28;13413:10;13425:9;13407:5;:28::i;:::-;13453:30;;13473:9;1342:25:1;;13461:10:0;;13453:30;;1330:2:1;1315:18;13453:30:0;;;;;;;13354:137::o;929:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2371:217::-;2472:10;2445:4;2462:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2462:30:0;;;;;;;;;;:39;;;2519:37;2445:4;;2462:30;;2519:37;;;;2495:6;1342:25:1;;1330:2;1315:18;;1196:177;2519:37:0;;;;;;;;-1:-1:-1;2576:4:0;2371:217;;;;;:::o;2989:612::-;-1:-1:-1;;;;;3146:15:0;;3111:4;3146:15;;;:9;:15;;;;;;;;3162:10;3146:27;;;;;;;;-1:-1:-1;;3226:28:0;;3222:80;;3286:16;3296:6;3286:7;:16;:::i;:::-;-1:-1:-1;;;;;3256:15:0;;;;;;:9;:15;;;;;;;;3272:10;3256:27;;;;;;;:46;3222:80;-1:-1:-1;;;;;3315:15:0;;;;;;:9;:15;;;;;:25;;3334:6;;3315:15;:25;;3334:6;;3315:25;:::i;:::-;;;;-1:-1:-1;;;;;;;3491:13:0;;;;;;;:9;:13;;;;;;;:23;;;;;;3543:26;3491:13;;3543:26;;;-1:-1:-1;;;;;;;;;;;3543:26:0;;;3508:6;1342:25:1;;1330:2;1315:18;;1196:177;3543:26:0;;;;;;;;-1:-1:-1;3589:4:0;;2989:612;-1:-1:-1;;;;2989:612:0:o;13499:188::-;13559:25;13565:10;13577:6;13559:5;:25::i;:::-;13602:30;;1342:25:1;;;13613:10:0;;13602:30;;1330:2:1;1315:18;13602:30:0;;;;;;;13645:34;:10;13672:6;13645:26;:34::i;:::-;13499:188;:::o;5331:179::-;5388:7;5432:16;5415:13;:33;:87;;5478:24;:22;:24::i;:::-;5408:94;;5331:179;:::o;5415:87::-;-1:-1:-1;5451:24:0;;5331:179::o;956:20::-;;;;;;;:::i;2596:385::-;2693:10;2666:4;2683:21;;;:9;:21;;;;;:31;;2708:6;;2683:21;2666:4;;2683:31;;2708:6;;2683:31;:::i;:::-;;;;-1:-1:-1;;;;;;;2865:13:0;;;;;;:9;:13;;;;;;;:23;;;;;;2917:32;2926:10;;-1:-1:-1;;;;;;;;;;;2917:32:0;;;2882:6;1342:25:1;;1330:2;1315:18;;1196:177;3796:1527:0;4024:15;4012:8;:27;;4004:63;;;;-1:-1:-1;;;4004:63:0;;4238:2:1;4004:63:0;;;4220:21:1;4277:2;4257:18;;;4250:30;4316:25;4296:18;;;4289:53;4359:18;;4004:63:0;;;;;;;;;4237:24;4264:827;4404:18;:16;:18::i;:::-;-1:-1:-1;;;;;4858:13:0;;;;;;;:6;:13;;;;;;;;;:15;;;;;;;;4489:458;;4534:167;4489:458;;;4675:25:1;4754:18;;;4747:43;;;;4826:15;;;4806:18;;;4799:43;4858:18;;;4851:34;;;4901:19;;;4894:35;;;;4945:19;;;;4938:35;;;4489:458:0;;;;;;;;;;4647:19:1;;;4489:458:0;;;4449:525;;;;;;;;-1:-1:-1;;;4324:673:0;;;5242:27:1;5285:11;;;5278:27;;;;5321:12;;;5314:28;;;;5358:12;;4324:673:0;;;-1:-1:-1;;4324:673:0;;;;;;;;;4292:724;;4324:673;4292:724;;;;4264:827;;;;;;;;;5608:25:1;5681:4;5669:17;;5649:18;;;5642:45;5703:18;;;5696:34;;;5746:18;;;5739:34;;;5580:19;;4264:827:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4264:827:0;;-1:-1:-1;;4264:827:0;;;-1:-1:-1;;;;;;;5116:30:0;;;;;;:59;;;5170:5;-1:-1:-1;;;;;5150:25:0;:16;-1:-1:-1;;;;;5150:25:0;;5116:59;5108:86;;;;-1:-1:-1;;;5108:86:0;;5986:2:1;5108:86:0;;;5968:21:1;6025:2;6005:18;;;5998:30;-1:-1:-1;;;6044:18:1;;;6037:44;6098:18;;5108:86:0;5784:338:1;5108:86:0;-1:-1:-1;;;;;5211:27:0;;;;;;;:9;:27;;;;;;;;:36;;;;;;;;;;;;;:44;;;5284:31;1342:25:1;;;5211:36:0;;5284:31;;;;;1315:18:1;5284:31:0;;;;;;;3796:1527;;;;;;;:::o;6175:301::-;-1:-1:-1;;;;;6384:13:0;;;;;;:9;:13;;;;;;;;:23;;;;;;6436:32;1342:25:1;;;-1:-1:-1;;;;;;;;;;;6436:32:0;1315:18:1;6436:32:0;;;;;;;;6175:301;;:::o;6484:158::-;-1:-1:-1;;;;;6557:15:0;;;;;;:9;:15;;;;;:25;;6576:6;;6557:15;:25;;6576:6;;6557:25;:::i;:::-;;;;-1:-1:-1;;6600:34:0;;1342:25:1;;;6623:1:0;;-1:-1:-1;;;;;6600:34:0;;;-1:-1:-1;;;;;;;;;;;6600:34:0;1330:2:1;1315:18;6600:34:0;1196:177:1;7373:349:0;7446:12;7650:1;7647;7644;7641;7633:6;7629:2;7622:5;7617:35;7606:46;;7683:7;7675:39;;;;-1:-1:-1;;;7675:39:0;;6329:2:1;7675:39:0;;;6311:21:1;6368:2;6348:18;;;6341:30;-1:-1:-1;;;6387:18:1;;;6380:49;6446:18;;7675:39:0;6127:343:1;7675:39:0;7435:287;7373:349;;:::o;5518:457::-;5583:7;5684:95;5818:4;5802:22;;;;;;:::i;:::-;;;;;;;;;;5651:301;;;8001:25:1;;;;8042:18;;8035:34;;;;5847:14:0;8085:18:1;;;8078:34;5884:13:0;8128:18:1;;;8121:34;5928:4:0;8171:19:1;;;8164:61;7973:19;;5651:301:0;;;;;;;;;;;;5623:344;;;;;;5603:364;;5518:457;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1711:180::-;1770:6;1823:2;1811:9;1802:7;1798:23;1794:32;1791:52;;;1839:1;1836;1829:12;1791:52;-1:-1:-1;1862:23:1;;1711:180;-1:-1:-1;1711:180:1:o;2267:186::-;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2418:29;2437:9;2418:29;:::i;:::-;2408:39;2267:186;-1:-1:-1;;;2267:186:1:o;2458:693::-;2569:6;2577;2585;2593;2601;2609;2617;2670:3;2658:9;2649:7;2645:23;2641:33;2638:53;;;2687:1;2684;2677:12;2638:53;2710:29;2729:9;2710:29;:::i;:::-;2700:39;;2758:38;2792:2;2781:9;2777:18;2758:38;:::i;:::-;2748:48;;2843:2;2832:9;2828:18;2815:32;2805:42;;2894:2;2883:9;2879:18;2866:32;2856:42;;2948:3;2937:9;2933:19;2920:33;2993:4;2986:5;2982:16;2975:5;2972:27;2962:55;;3013:1;3010;3003:12;2962:55;2458:693;;;;-1:-1:-1;2458:693:1;;;;3036:5;3088:3;3073:19;;3060:33;;-1:-1:-1;3140:3:1;3125:19;;;3112:33;;2458:693;-1:-1:-1;;2458:693:1:o;3156:260::-;3224:6;3232;3285:2;3273:9;3264:7;3260:23;3256:32;3253:52;;;3301:1;3298;3291:12;3253:52;3324:29;3343:9;3324:29;:::i;:::-;3314:39;;3372:38;3406:2;3395:9;3391:18;3372:38;:::i;:::-;3362:48;;3156:260;;;;;:::o;3421:380::-;3500:1;3496:12;;;;3543;;;3564:61;;3618:4;3610:6;3606:17;3596:27;;3564:61;3671:2;3663:6;3660:14;3640:18;3637:38;3634:161;;3717:10;3712:3;3708:20;3705:1;3698:31;3752:4;3749:1;3742:15;3780:4;3777:1;3770:15;3634:161;;3421:380;;;:::o;3806:225::-;3873:9;;;3894:11;;;3891:134;;;3947:10;3942:3;3938:20;3935:1;3928:31;3982:4;3979:1;3972:15;4010:4;4007:1;4000:15;6604:1133;6734:3;6763:1;6796:6;6790:13;6826:3;6848:1;6876:9;6872:2;6868:18;6858:28;;6936:2;6925:9;6921:18;6958;6948:61;;7002:4;6994:6;6990:17;6980:27;;6948:61;7028:2;7076;7068:6;7065:14;7045:18;7042:38;7039:165;;-1:-1:-1;;;7103:33:1;;7159:4;7156:1;7149:15;7189:4;7110:3;7177:17;7039:165;7220:18;7247:133;;;;7394:1;7389:323;;;;7213:499;;7247:133;-1:-1:-1;;7280:24:1;;7268:37;;7353:14;;7346:22;7334:35;;7325:45;;;-1:-1:-1;7247:133:1;;7389:323;6551:1;6544:14;;;6588:4;6575:18;;7487:1;7501:165;7515:6;7512:1;7509:13;7501:165;;;7593:14;;7580:11;;;7573:35;7636:16;;;;7530:10;;7501:165;;;7505:3;;7695:6;7690:3;7686:16;7679:23;;7213:499;-1:-1:-1;7728:3:1;;6604:1133;-1:-1:-1;;;;;;;;6604:1133:1:o

Swarm Source

ipfs://31d4579b2ee70b0084226ea87c413d050d189c710fc8125d075bac4aa7889a8c
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.