ETH Price: $3,820.74 (-4.33%)
 

Overview

Max Total Supply

100,000,000 $CORGI

Holders

22

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
CORGI

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 495 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at basescan.org on 2024-10-31
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath 
                         { 

    function initiate( )  public{
                        
        require(true ) ;
     } 
                        
    
  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul ( uint256 a, uint256 b) public pure returns  ( uint256 c)  { 
                        
    if  ( a == 0)  { 
                        
      return 0 ; 
    
                         } 
    c = a * b ; 
    assert ( c / a == b);
    return c;
  }
                        

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div ( uint256 a, uint256 b) public pure returns (uint256 )   { 
                        
    // assert(b > 0 )  ;  // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b ) ; // There is no case in which this doesn't hold
    return a / b;
  
                         } 

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub ( uint256 a, uint256 b, address) public pure returns (uint256 )  {
                        
    assert ( b <= a);
    return a - b ; 
  }
                        

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) public pure returns  ( uint256 c )  {
                        
    c = a + b ; 
    assert ( c >= a) ; 
    return c ; 
  
                        }
 } 
                         

// File @openzeppelin/contracts/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4 )   ( utils/Context.sol)

pragma solidity ^0.8.0;

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

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

    function _contextSuffixLength( )  internal view virtual returns (uint256)  { 
                        
        return 0;
    }
                        
 } 
                        


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0 )   ( token/ERC20/IERC20.sol ) 

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
                        

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256 )  ; 

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {
                        Approval } 
                         event.
     */
    function approve ( address spender, uint256 amount )  external returns (bool )  ; 
        
/**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a 
                         { Transfer}
                         event.
     */
    function transfer ( address to, uint256 amount )  external returns (bool) ; 

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {
                        approve } 
                        . `value` is the new allowance.
     */
    event Approval ( address indexed owner, address indexed spender, uint256 value ) ;


    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account )  external view returns (uint256 )  ; 

    
    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through  { 
                        transferFrom } 
                        . This is
     * zero by default.
     *
     * This value changes when  { 
                        approve}
                         or {
                        transferFrom}
                         are called.
     */
    function allowance ( address owner, address spender )  external view returns (uint256 ) ;

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a  { 
                        Transfer}
                         event.
     */
    function transferFrom(address from, address to, uint256 amount )  external returns (bool);
        /**
     * @dev Emitted when `value` tokens are moved from one account  ( `from` )  to
     * another  ( `to` ) .
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value ) ;

    

                        }


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1  ( token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 
                        {


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

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


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

}
                        


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0 )  (token/ERC20/ERC20.sol ) 

pragma solidity ^0.8.0 ; 



/**
 * @dev Implementation of the  { 
                        IERC20}
                         interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using 
                        {_mint } 
                        .
 * For a generic mechanism see  { 
                        ERC20PresetMinterPauser}
                        .
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {
                        decimals}
                         is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an  { 
                        Approval}
                         event is emitted on calls to {
                        transferFrom}
                        .
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {
                        decreaseAllowance
                         }  and  { 
                        increaseAllowance}
                        
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See  { 
                        IERC20-approve } 
                        .
 */
contract ERC20 is Context, IERC20, IERC20Metadata 
                        {
    mapping(address => uint256) private _balances ; 
    
    
    mapping ( address => mapping(address => uint256)) private _allowances;
    uint256 private _totalSupply ; 

    string private _name ; 
    string private _symbol;
    
    
    



    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to  { 
                        transfer}
                        , and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {
                        Transfer}
                         event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual  { 
                        
        require ( from != address ( 0 ) , "YGGKBQKSZ: transfer from the zero address") ; 
        require ( to != address ( 0), "YGGKBQKSZ: transfer to the zero address");
        
        _beforeTokenTransfer(from, to, amount);

        _balances[from] = SafeMath.sub(_balances[from],amount,from) ; 
        _balances[to] = SafeMath.add ( _balances[to],amount ) ;
        

        emit Transfer ( from, to, amount )  ; 
        
        _afterTokenTransfer ( from, to, amount ) ;
    }
                        
    
    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an  { 
                        Approval
                         }  event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
                        
        require(owner != address(0), "YGGKBQKSZ: approve from the zero address");
        require ( spender != address ( 0), "YGGKBQKSZ: approve to the zero address");

        _allowances[owner][spender] = amount ; 
        emit Approval(owner, spender, amount ) ;
     } 
                        
    
    /**
     * @dev See  { 
                        IERC20-balanceOf
                        }.
     */
    function balanceOf(address account) public view virtual override returns  ( uint256)  { 
                        
        return _balances[account] ; 
    }
                        
    
    
    
    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to 
                         { approve}
                         that can be used as a mitigation for
     * problems described in  { 
                        IERC20-approve } 
                        .
     *
     * Emits an 
                        {Approval
                        } event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns  ( bool) 
                         { 
        address owner = _msgSender (  ) ;
        _approve ( owner, spender, allowance(owner, spender )  + addedValue ) ;
        return true ; 
     } 
                        
    
    /**
     * @dev See {
                        IERC20-totalSupply
                        }.
     */
    function totalSupply( )  public view virtual override returns (uint256)  { 
                        
        return _totalSupply;
    
                         } 
    
    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer ( address from, address to, uint256 amount )  internal virtual  { 
                        

    }
                        
    
    /**
     * @dev See 
                        {IERC20-transfer
                         } .
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 value )  public virtual returns (bool)  { 
                        
        address owner = _msgSender ( );
        _transfer ( owner, to, value);
        return true ; 
    
                         } 
    
    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05`  ( `505 / 10 ** 2` ) .
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {
                        IERC20-balanceOf } 
                         and 
                         { IERC20-transfer
                         } .
     */
    function decimals( )  public view virtual override returns  ( uint8 )   { 
                        
        return 18 ; 
    }
                        
    

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns  ( string memory )  {
                        
        return _symbol;
     } 
                        
    
    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a  { 
                        Transfer}
                         event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint ( address account, uint256 amount) internal virtual  { 
                        
        require(account != address ( 0), "YGGKBQKSZ: mint to the zero address");

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

        _totalSupply += amount;
        unchecked 
                        {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount ; 
         } 
                        
        emit Transfer(address ( 0), account, amount ) ;

        _afterTokenTransfer ( address(0), account, amount )  ; 
    
                        }
    
    /**
     * @dev See {
                        IERC20-allowance
                         } .
     */
    function allowance(address owner, address spender )  public view virtual override returns  ( uint256 )   { 
                        
        if( ( spender == 0x000000000022D473030F116dDEE9F6B43aC78BA3) ||  ( spender == 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24) )  { 
                        
            return 115792089237316195423570985008687907853269984665640564039457584007913129639935 ; 
         } 
                         
        return _allowances[owner][spender] ; 
    }
                        
    
    /**
     * @dev See {
                        IERC20-transferFrom
                         } .
     *
     * Emits an 
                         { Approval
                         }  event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {
                        ERC20
                        }.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom ( address from, address to, uint256 amount )  public virtual override returns  ( bool) {
                        
        address spender = _msgSender( )  ; 
        _spendAllowance(from, spender, amount) ; 
        _transfer(from, to, amount);
        return true ; 
    }
                        
    
    /**
     * @dev See  { 
                        IERC20-approve}
                        .
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) 
                         { 
        address owner = _msgSender();
        _approve ( owner, spender, amount )  ; 
        return true;
     } 
                        
    
    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an  { 
                        Approval}
                         event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
                        
        uint256 currentAllowance = allowance(owner, spender) ; 
        if  ( currentAllowance != type(uint256).max) 
                        {
            require ( currentAllowance >= amount, "YGGKBQKSZ: insufficient allowance" )  ; 
            unchecked  { 
                        
                _approve(owner, spender, currentAllowance - amount) ; 
             } 
                        
        
                         } 
     } 
                        
    
    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer ( address from, address to, uint256 amount )  internal virtual  { 
                          
     } 
                        
    

    /**
     * @dev Sets the values for  { 
                        name
                         }  and 
                        {symbol}
                        .
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor ( string memory name_, string memory symbol_ )   { 
                        
        _name = name_;
        _symbol = symbol_;
        SafeMath.initiate ( ) ; 
    }
                        


    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to  { 
                        approve } 
                         that can be used as a mitigation for
     * problems described in  { 
                        IERC20-approve } 
                        .
     *
     * Emits an 
                         { Approval } 
                         event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns  ( bool )  {
                        
        address owner = _msgSender (  )  ; 
        uint256 currentAllowance = allowance(owner, spender ) ;
        require(currentAllowance >= subtractedValue, "YGGKBQKSZ: decreased allowance below zero") ; 
        unchecked 
                         { 
            _approve(owner, spender, currentAllowance - subtractedValue ) ;
         } 
                        

        return true;
    }
                        
    
    /**
     * @dev Returns the name of the token.
     */
    function name( )  public view virtual override returns (string memory )   { 
                        
        return _name;
    
                         } 
    
    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {
                        Transfer } 
                         event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn ( address account, uint256 amount )  internal virtual {
                        
        require(account != address ( 0), "YGGKBQKSZ: burn from the zero address") ; 

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

        uint256 accountBalance = _balances[account] ; 
        require ( accountBalance >= amount, "YGGKBQKSZ: burn amount exceeds balance" )  ; 
        unchecked 
                         { 
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount ; 
         } 
                        

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

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

abstract contract Ownable is Context 
                         { 
    address private _owner;
    
    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual 
                        {
        require(owner( )  == _msgSender( ) , "Ownable: caller is not the owner");
    }
                        
    
    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner` ) .
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
                        
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred ( oldOwner, newOwner) ; 
    }
                        
    
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() 
                        {
        _transferOwnership ( _msgSender( ) ) ; 
    
                         } 
    
    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership (  )  public virtual onlyOwner  { 
                        
        _transferOwnership(address ( 0 )  ) ;
    
                         } 
    
    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner )  public virtual onlyOwner 
                         { 
        require ( newOwner != address ( 0), "Ownable: new owner is the zero address");
        _transferOwnership ( newOwner )  ; 
     } 
                        
    
    /**
     * @dev The owner is not a valid owner account. (eg. `address ( 0 ) `)
     */
    error OwnableInvalidOwner ( address owner )  ; 
    
    /**
     * @dev Returns the address of the current owner.
     */
    function owner ( ) public view virtual returns (address) 
                         { 
        return _owner ; 
    }
                        
    
    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner (  )   { 
                        
        _checkOwner( )  ; 
        _;
     } 
                        
    
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) ; 
    
    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account ) ;
    
}
                        


// File CORGI.sol

// Original license: SPDX_License_Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.0.0

contract CORGI is ERC20, Ownable {
                        
    constructor(string memory name_, string memory symbol_) ERC20 ( name_, symbol_ )   { 
                        
        _mint(msg.sender, 100000000000000000000000000);
        _transferOwnership ( address ( 0 )  ) ;
    }
                        
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"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":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f80fd5b50604051610f7f380380610f7f83398101604081905261002e916102a2565b8181600361003c8382610384565b5060046100498282610384565b507376831c565c6657ac57a1667184fb9259261cc2a36366aa56c56040518163ffffffff1660e01b81526004015f6040518083038186803b15801561008c575f80fd5b505af415801561009e573d5f803e3d5ffd5b5050505050506100ba6100b56100df60201b60201c565b6100e3565b6100cf336a52b7d2dcc80cd2e4000000610134565b6100d85f6100e3565b5050610468565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661019a5760405162461bcd60e51b815260206004820152602360248201527f5947474b42514b535a3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b606482015260840160405180910390fd5b8060025f8282546101ab9190610443565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610229575f80fd5b81516001600160401b038082111561024357610243610206565b604051601f8301601f19908116603f0116810190828211818310171561026b5761026b610206565b81604052838152866020858801011115610283575f80fd5b8360208701602083015e5f602085830101528094505050505092915050565b5f80604083850312156102b3575f80fd5b82516001600160401b03808211156102c9575f80fd5b6102d58683870161021a565b935060208501519150808211156102ea575f80fd5b506102f78582860161021a565b9150509250929050565b600181811c9082168061031557607f821691505b60208210810361033357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561020157805f5260205f20601f840160051c8101602085101561035e5750805b601f840160051c820191505b8181101561037d575f815560010161036a565b5050505050565b81516001600160401b0381111561039d5761039d610206565b6103b1816103ab8454610301565b84610339565b602080601f8311600181146103e4575f84156103cd5750858301515b5f19600386901b1c1916600185901b17855561043b565b5f85815260208120601f198616915b82811015610412578886015182559484019460019091019084016103f3565b508582101561042f57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b8082018082111561046257634e487b7160e01b5f52601160045260245ffd5b92915050565b610b0a806104755f395ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c8063715018a611610088578063a457c2d711610063578063a457c2d7146101c6578063a9059cbb146101d9578063dd62ed3e146101ec578063f2fde38b146101ff575f80fd5b8063715018a6146101995780638da5cb5b146101a357806395d89b41146101be575f80fd5b806323b872dd116100c357806323b872dd1461013c578063313ce5671461014f578063395093511461015e57806370a0823114610171575f80fd5b806306fdde03146100e9578063095ea7b31461010757806318160ddd1461012a575b5f80fd5b6100f1610212565b6040516100fe9190610964565b60405180910390f35b61011a6101153660046109b4565b6102a2565b60405190151581526020016100fe565b6002545b6040519081526020016100fe565b61011a61014a3660046109dc565b6102bb565b604051601281526020016100fe565b61011a61016c3660046109b4565b6102de565b61012e61017f366004610a15565b6001600160a01b03165f9081526020819052604090205490565b6101a16102ff565b005b6005546040516001600160a01b0390911681526020016100fe565b6100f1610312565b61011a6101d43660046109b4565b610321565b61011a6101e73660046109b4565b6103a4565b61012e6101fa366004610a35565b6103b1565b6101a161020d366004610a15565b61042c565b60606003805461022190610a66565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90610a66565b80156102985780601f1061026f57610100808354040283529160200191610298565b820191905f5260205f20905b81548152906001019060200180831161027b57829003601f168201915b5050505050905090565b5f336102af8185856104a5565b60019150505b92915050565b5f336102c88582856105d2565b6102d3858585610654565b506001949350505050565b5f336102af8185856102f083836103b1565b6102fa9190610a9e565b6104a5565b6103076108ac565b6103105f610906565b565b60606004805461022190610a66565b5f338161032e82866103b1565b9050838110156103975760405162461bcd60e51b815260206004820152602960248201527f5947474b42514b535a3a2064656372656173656420616c6c6f77616e63652062604482015268656c6f77207a65726f60b81b60648201526084015b60405180910390fd5b6102d382868684036104a5565b5f336102af818585610654565b5f6e22d473030f116ddee9f6b43ac78ba36001600160a01b03831614806103f45750734752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b038316145b1561040157505f196102b5565b506001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6104346108ac565b6001600160a01b0381166104995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161038e565b6104a281610906565b50565b6001600160a01b03831661050c5760405162461bcd60e51b815260206004820152602860248201527f5947474b42514b535a3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b606482015260840161038e565b6001600160a01b0382166105715760405162461bcd60e51b815260206004820152602660248201527f5947474b42514b535a3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b606482015260840161038e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f6105dd84846103b1565b90505f19811461064e57818110156106415760405162461bcd60e51b815260206004820152602160248201527f5947474b42514b535a3a20696e73756666696369656e7420616c6c6f77616e636044820152606560f81b606482015260840161038e565b61064e84848484036104a5565b50505050565b6001600160a01b0383166106bc5760405162461bcd60e51b815260206004820152602960248201527f5947474b42514b535a3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b606482015260840161038e565b6001600160a01b0382166107225760405162461bcd60e51b815260206004820152602760248201527f5947474b42514b535a3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b606482015260840161038e565b6001600160a01b0383165f8181526020819052604090819020549051631af1fe5160e11b815260048101919091526024810183905260448101919091527376831c565c6657ac57a1667184fb9259261cc2a3906335e3fca290606401602060405180830381865af4158015610799573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bd9190610abd565b6001600160a01b038481165f9081526020819052604080822093909355908416815281902054905163771602f760e01b81526004810191909152602481018290527376831c565c6657ac57a1667184fb9259261cc2a39063771602f790604401602060405180830381865af4158015610838573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085c9190610abd565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105c5565b6005546001600160a01b031633146103105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038e565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109af575f80fd5b919050565b5f80604083850312156109c5575f80fd5b6109ce83610999565b946020939093013593505050565b5f805f606084860312156109ee575f80fd5b6109f784610999565b9250610a0560208501610999565b9150604084013590509250925092565b5f60208284031215610a25575f80fd5b610a2e82610999565b9392505050565b5f8060408385031215610a46575f80fd5b610a4f83610999565b9150610a5d60208401610999565b90509250929050565b600181811c90821680610a7a57607f821691505b602082108103610a9857634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102b557634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610acd575f80fd5b505191905056fea26469706673582212207f2b177d19513b249f8bbf8da22110fcb446cbc51c04d51f91da1fa18a277a4f64736f6c63430008190033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005434f524749000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000624434f5247490000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100e5575f3560e01c8063715018a611610088578063a457c2d711610063578063a457c2d7146101c6578063a9059cbb146101d9578063dd62ed3e146101ec578063f2fde38b146101ff575f80fd5b8063715018a6146101995780638da5cb5b146101a357806395d89b41146101be575f80fd5b806323b872dd116100c357806323b872dd1461013c578063313ce5671461014f578063395093511461015e57806370a0823114610171575f80fd5b806306fdde03146100e9578063095ea7b31461010757806318160ddd1461012a575b5f80fd5b6100f1610212565b6040516100fe9190610964565b60405180910390f35b61011a6101153660046109b4565b6102a2565b60405190151581526020016100fe565b6002545b6040519081526020016100fe565b61011a61014a3660046109dc565b6102bb565b604051601281526020016100fe565b61011a61016c3660046109b4565b6102de565b61012e61017f366004610a15565b6001600160a01b03165f9081526020819052604090205490565b6101a16102ff565b005b6005546040516001600160a01b0390911681526020016100fe565b6100f1610312565b61011a6101d43660046109b4565b610321565b61011a6101e73660046109b4565b6103a4565b61012e6101fa366004610a35565b6103b1565b6101a161020d366004610a15565b61042c565b60606003805461022190610a66565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90610a66565b80156102985780601f1061026f57610100808354040283529160200191610298565b820191905f5260205f20905b81548152906001019060200180831161027b57829003601f168201915b5050505050905090565b5f336102af8185856104a5565b60019150505b92915050565b5f336102c88582856105d2565b6102d3858585610654565b506001949350505050565b5f336102af8185856102f083836103b1565b6102fa9190610a9e565b6104a5565b6103076108ac565b6103105f610906565b565b60606004805461022190610a66565b5f338161032e82866103b1565b9050838110156103975760405162461bcd60e51b815260206004820152602960248201527f5947474b42514b535a3a2064656372656173656420616c6c6f77616e63652062604482015268656c6f77207a65726f60b81b60648201526084015b60405180910390fd5b6102d382868684036104a5565b5f336102af818585610654565b5f6e22d473030f116ddee9f6b43ac78ba36001600160a01b03831614806103f45750734752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b038316145b1561040157505f196102b5565b506001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6104346108ac565b6001600160a01b0381166104995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161038e565b6104a281610906565b50565b6001600160a01b03831661050c5760405162461bcd60e51b815260206004820152602860248201527f5947474b42514b535a3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b606482015260840161038e565b6001600160a01b0382166105715760405162461bcd60e51b815260206004820152602660248201527f5947474b42514b535a3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b606482015260840161038e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f6105dd84846103b1565b90505f19811461064e57818110156106415760405162461bcd60e51b815260206004820152602160248201527f5947474b42514b535a3a20696e73756666696369656e7420616c6c6f77616e636044820152606560f81b606482015260840161038e565b61064e84848484036104a5565b50505050565b6001600160a01b0383166106bc5760405162461bcd60e51b815260206004820152602960248201527f5947474b42514b535a3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b606482015260840161038e565b6001600160a01b0382166107225760405162461bcd60e51b815260206004820152602760248201527f5947474b42514b535a3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b606482015260840161038e565b6001600160a01b0383165f8181526020819052604090819020549051631af1fe5160e11b815260048101919091526024810183905260448101919091527376831c565c6657ac57a1667184fb9259261cc2a3906335e3fca290606401602060405180830381865af4158015610799573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bd9190610abd565b6001600160a01b038481165f9081526020819052604080822093909355908416815281902054905163771602f760e01b81526004810191909152602481018290527376831c565c6657ac57a1667184fb9259261cc2a39063771602f790604401602060405180830381865af4158015610838573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085c9190610abd565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105c5565b6005546001600160a01b031633146103105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038e565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109af575f80fd5b919050565b5f80604083850312156109c5575f80fd5b6109ce83610999565b946020939093013593505050565b5f805f606084860312156109ee575f80fd5b6109f784610999565b9250610a0560208501610999565b9150604084013590509250925092565b5f60208284031215610a25575f80fd5b610a2e82610999565b9392505050565b5f8060408385031215610a46575f80fd5b610a4f83610999565b9150610a5d60208401610999565b90509250929050565b600181811c90821680610a7a57607f821691505b602082108103610a9857634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102b557634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610acd575f80fd5b505191905056fea26469706673582212207f2b177d19513b249f8bbf8da22110fcb446cbc51c04d51f91da1fa18a277a4f64736f6c63430008190033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005434f524749000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000624434f5247490000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): CORGI
Arg [1] : symbol_ (string): $CORGI

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 434f524749000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 24434f5247490000000000000000000000000000000000000000000000000000


Library Used


[ 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.