Overview
Max Total Supply
1,000,000,000 EARN
Holders
1,414 ( 0.141%)
Market
Price
$0.00 @ 0.000001 ETH (+3.00%)
Onchain Market Cap
$3,827,152.26
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,620.32322458330930128 EARNValue
$13.86 ( ~0.00376366979798214 Eth) [0.0004%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HoldEarn
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)
/** BUY, HOLD, EARN, BURN! Telegram: https://t.me/buyholdearn Website: http://buyholdearn.com X: https://twitter.com/buyholdearn */ // SPDX-License-Identifier: MIT /** This contract is derived from the ERC20.sol by openzeppelin and the reflection token contract by CoinTools. The contract removes liquidity and burn fee and only redistributes tokens to holders. */ pragma solidity 0.8.18; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract HoldEarn is Context, IERC20, IERC20Metadata, Ownable { uint256 private constant MAX = ~uint256(0); uint256 private _rTotalSupply; // total supply in r-space uint256 private immutable _tTotalSupply; // total supply in t-space string private _name; string private _symbol; address[] private _excludedFromReward; uint256 public taxFee = 200; // 200 => 2% uint256 public totalFees; mapping(address => uint256) private _rBalances; // balances in r-space mapping(address => uint256) private _tBalances; // balances in t-space mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) public isExcludedFromFee; mapping(address => bool) public isExcludedFromReward; event SetFee(uint256 value); constructor(address owner_) { _name = 'HOLD'; _symbol = 'EARN'; _tTotalSupply = 1000000000 * 10 ** decimals(); excludeFromFee(owner_); excludeFromFee(address(this)); _mint(owner_, _tTotalSupply); _transferOwnership(owner_); } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _tTotalSupply; } function balanceOf( address account ) public view virtual override returns (uint256) { uint256 rate = _getRate(); return _rBalances[account] / rate; } function transfer( address to, uint256 amount ) public virtual override returns (bool) { _transfer(msg.sender, to, amount); return true; } function allowance( address account, address spender ) public view virtual override returns (uint256) { return _allowances[account][spender]; } function approve( address spender, uint256 amount ) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { _approve( msg.sender, spender, allowance(msg.sender, spender) + addedValue ); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { uint256 currentAllowance = allowance(msg.sender, spender); require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(msg.sender, spender, currentAllowance - subtractedValue); } return true; } function setFee(uint256 newTxFee) public onlyOwner { taxFee = newTxFee; emit SetFee(taxFee); } function excludeFromReward(address account) public onlyOwner { require(!isExcludedFromReward[account], "Address already excluded"); require(_excludedFromReward.length < 100, "Excluded list is too long"); if (_rBalances[account] > 0) { uint256 rate = _getRate(); _tBalances[account] = _rBalances[account] / rate; } isExcludedFromReward[account] = true; _excludedFromReward.push(account); } function includeInReward(address account) public onlyOwner { require(isExcludedFromReward[account], "Account is already included"); uint256 nExcluded = _excludedFromReward.length; for (uint256 i = 0; i < nExcluded; i++) { if (_excludedFromReward[i] == account) { _excludedFromReward[i] = _excludedFromReward[ _excludedFromReward.length - 1 ]; _tBalances[account] = 0; isExcludedFromReward[account] = false; _excludedFromReward.pop(); break; } } } function excludeFromFee(address account) public onlyOwner { isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { isExcludedFromFee[account] = false; } function withdrawTokens( address tokenAddress, address receiverAddress ) external onlyOwner returns (bool success) { IERC20 tokenContract = IERC20(tokenAddress); uint256 amount = tokenContract.balanceOf(address(this)); return tokenContract.transfer(receiverAddress, amount); } function _getRate() private view returns (uint256) { uint256 rSupply = _rTotalSupply; uint256 tSupply = _tTotalSupply; uint256 nExcluded = _excludedFromReward.length; for (uint256 i = 0; i < nExcluded; i++) { rSupply = rSupply - _rBalances[_excludedFromReward[i]]; tSupply = tSupply - _tBalances[_excludedFromReward[i]]; } if (rSupply < _rTotalSupply / _tTotalSupply) { rSupply = _rTotalSupply; tSupply = _tTotalSupply; } // rSupply always > tSupply (no precision loss) uint256 rate = rSupply / tSupply; return rate; } function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 _taxFee; if (isExcludedFromFee[from] || isExcludedFromFee[to]) { _taxFee = 0; } else { _taxFee = taxFee; } // calc t-values uint256 tAmount = amount; uint256 tTxFee = (tAmount * _taxFee) / 10000; uint256 tTransferAmount = tAmount - tTxFee; // calc r-values uint256 rate = _getRate(); uint256 rTxFee = tTxFee * rate; uint256 rAmount = tAmount * rate; uint256 rTransferAmount = rAmount - rTxFee; // check balances uint256 rFromBalance = _rBalances[from]; uint256 tFromBalance = _tBalances[from]; if (isExcludedFromReward[from]) { require( tFromBalance >= tAmount, "ERC20: transfer amount exceeds balance" ); } else { require( rFromBalance >= rAmount, "ERC20: transfer amount exceeds balance" ); } // Overflow not possible: the sum of all balances is capped by // rTotalSupply and tTotalSupply, and the sum is preserved by // decrementing then incrementing. unchecked { // udpate balances in r-space _rBalances[from] = rFromBalance - rAmount; _rBalances[to] += rTransferAmount; // update balances in t-space if (isExcludedFromReward[from] && isExcludedFromReward[to]) { _tBalances[from] = tFromBalance - tAmount; _tBalances[to] += tTransferAmount; } else if ( isExcludedFromReward[from] && !isExcludedFromReward[to] ) { // could technically underflow but because tAmount is a // function of rAmount and _rTotalSupply == _tTotalSupply // it won't _tBalances[from] = tFromBalance - tAmount; } else if ( !isExcludedFromReward[from] && isExcludedFromReward[to] ) { // could technically overflow but because tAmount is a // function of rAmount and _rTotalSupply == _tTotalSupply // it won't _tBalances[to] += tTransferAmount; } // reflect fee // can never go below zero because rTxFee percentage of // current _rTotalSupply _rTotalSupply = _rTotalSupply - rTxFee; totalFees += tTxFee; } emit Transfer(from, to, tTransferAmount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _rTotalSupply += (MAX - (MAX % amount)); unchecked { _rBalances[account] += _rTotalSupply; } emit Transfer(address(0), account, amount); } function _approve( address account, address spender, uint256 amount ) internal virtual { require(account != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[account][spender] = amount; emit Approval(account, spender, amount); } function _spendAllowance( address account, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(account, spender); if (currentAllowance != type(uint256).max) { require( currentAllowance >= amount, "ERC20: insufficient allowance" ); unchecked { _approve(account, spender, currentAllowance - amount); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } }
{ "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":"address","name":"owner_","type":"address"}],"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":"uint256","name":"value","type":"uint256"}],"name":"SetFee","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":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"newTxFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"receiverAddress","type":"address"}],"name":"withdrawTokens","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405260c86005553480156200001657600080fd5b5060405162001ba138038062001ba18339810160408190526200003991620002c8565b6200004433620000f7565b6040805180820190915260048152631213d31160e21b60208201526002906200006e90826200039f565b5060408051808201909152600481526322a0a92760e11b60208201526003906200009990826200039f565b50620000a86012600a62000580565b620000b890633b9aca0062000591565b608052620000c68162000147565b620000d13062000147565b620000e5816080516200017560201b60201c565b620000f081620000f7565b50620005fa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001516200026a565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6001600160a01b038216620001d15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620001df81600019620005ab565b620001ed90600019620005ce565b60016000828254620002009190620005e4565b90915550506001546001600160a01b038316600081815260076020526040808220805490940190935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200025e9085815260200190565b60405180910390a35050565b6000546001600160a01b03163314620002c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001c8565b565b600060208284031215620002db57600080fd5b81516001600160a01b0381168114620002f357600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200032557607f821691505b6020821081036200034657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039a57600081815260208120601f850160051c81016020861015620003755750805b601f850160051c820191505b81811015620003965782815560010162000381565b5050505b505050565b81516001600160401b03811115620003bb57620003bb620002fa565b620003d381620003cc845462000310565b846200034c565b602080601f8311600181146200040b5760008415620003f25750858301515b600019600386901b1c1916600185901b17855562000396565b600085815260208120601f198616915b828110156200043c578886015182559484019460019091019084016200041b565b50858210156200045b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004c2578160001904821115620004a657620004a66200046b565b80851615620004b457918102915b93841c939080029062000486565b509250929050565b600082620004db575060016200057a565b81620004ea575060006200057a565b81600181146200050357600281146200050e576200052e565b60019150506200057a565b60ff8411156200052257620005226200046b565b50506001821b6200057a565b5060208310610133831016604e8410600b841016171562000553575081810a6200057a565b6200055f838362000481565b80600019048211156200057657620005766200046b565b0290505b92915050565b6000620002f360ff841683620004ca565b80820281158282048414176200057a576200057a6200046b565b600082620005c957634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200057a576200057a6200046b565b808201808211156200057a576200057a6200046b565b6080516115766200062b600039600081816101b70152818161110d015281816111dc015261121601526115766000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a457c2d71161007c578063a457c2d7146102eb578063a522ad25146102fe578063a9059cbb14610311578063dd62ed3e14610324578063ea2f0b3714610337578063f2fde38b1461034a57600080fd5b806370a0823114610281578063715018a61461029457806388f820201461029c5780638da5cb5b146102bf57806395d89b41146102da578063a071dcf4146102e257600080fd5b80633685d419116101155780633685d419146101fd5780633950935114610212578063437823ec1461022557806352390c02146102385780635342acb41461024b57806369fe0e2d1461026e57600080fd5b806306fdde031461015d578063095ea7b31461017b57806313114a9d1461019e57806318160ddd146101b557806323b872dd146101db578063313ce567146101ee575b600080fd5b61016561035d565b6040516101729190611294565b60405180910390f35b61018e6101893660046112fe565b6103ef565b6040519015158152602001610172565b6101a760065481565b604051908152602001610172565b7f00000000000000000000000000000000000000000000000000000000000000006101a7565b61018e6101e9366004611328565b610406565b60405160128152602001610172565b61021061020b366004611364565b61042a565b005b61018e6102203660046112fe565b6105c6565b610210610233366004611364565b6105e7565b610210610246366004611364565b610613565b61018e610259366004611364565b600a6020526000908152604090205460ff1681565b61021061027c36600461137f565b6107a6565b6101a761028f366004611364565b6107e8565b610210610821565b61018e6102aa366004611364565b600b6020526000908152604090205460ff1681565b6000546040516001600160a01b039091168152602001610172565b610165610835565b6101a760055481565b61018e6102f93660046112fe565b610844565b61018e61030c366004611398565b6108c8565b61018e61031f3660046112fe565b6109bf565b6101a7610332366004611398565b6109cc565b610210610345366004611364565b6109f7565b610210610358366004611364565b610a20565b60606002805461036c906113cb565b80601f0160208091040260200160405190810160405280929190818152602001828054610398906113cb565b80156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b5050505050905090565b60006103fc338484610a99565b5060015b92915050565b600033610414858285610bbd565b61041f858585610c37565b506001949350505050565b6104326110a7565b6001600160a01b0381166000908152600b602052604090205460ff1661049f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c75646564000000000060448201526064015b60405180910390fd5b60045460005b818110156105c157826001600160a01b0316600482815481106104ca576104ca611405565b6000918252602090912001546001600160a01b0316036105af57600480546104f490600190611431565b8154811061050457610504611405565b600091825260209091200154600480546001600160a01b03909216918390811061053057610530611405565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600882526040808220829055600b90925220805460ff19169055600480548061058857610588611444565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b806105b98161145a565b9150506104a5565b505050565b60006103fc3384846105d833886109cc565b6105e29190611473565b610a99565b6105ef6110a7565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b61061b6110a7565b6001600160a01b0381166000908152600b602052604090205460ff16156106845760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c7265616479206578636c7564656400000000000000006044820152606401610496565b6004546064116106d65760405162461bcd60e51b815260206004820152601960248201527f4578636c75646564206c69737420697320746f6f206c6f6e67000000000000006044820152606401610496565b6001600160a01b038116600090815260076020526040902054156107405760006106fe611101565b6001600160a01b038316600090815260076020526040902054909150610725908290611486565b6001600160a01b038316600090815260086020526040902055505b6001600160a01b03166000818152600b60205260408120805460ff191660019081179091556004805491820181559091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319169091179055565b6107ae6110a7565b60058190556040518181527e172ddfc5ae88d08b3de01a5a187667c37a5a53989e8c175055cb6c993792a79060200160405180910390a150565b6000806107f3611101565b6001600160a01b03841660009081526007602052604090205490915061081a908290611486565b9392505050565b6108296110a7565b6108336000611244565b565b60606003805461036c906113cb565b60008061085133856109cc565b9050828110156108b15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610496565b6108be3385858403610a99565b5060019392505050565b60006108d26110a7565b6040516370a0823160e01b815230600482015283906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561091b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093f91906114a8565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b691906114c1565b95945050505050565b60006103fc338484610c37565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b6109ff6110a7565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610a286110a7565b6001600160a01b038116610a8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610496565b610a9681611244565b50565b6001600160a01b038316610afb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610496565b6001600160a01b038216610b5c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610496565b6001600160a01b0383811660008181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610bc984846109cc565b90506000198114610c315781811015610c245760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610496565b610c318484848403610a99565b50505050565b6001600160a01b038316610c9b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610496565b6001600160a01b038216610cfd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610496565b60008111610d5f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610496565b6001600160a01b0383166000908152600a602052604081205460ff1680610d9e57506001600160a01b0383166000908152600a602052604090205460ff165b15610dab57506000610db0565b506005545b816000612710610dc084846114e3565b610dca9190611486565b90506000610dd88284611431565b90506000610de4611101565b90506000610df282856114e3565b90506000610e0083876114e3565b90506000610e0e8383611431565b6001600160a01b038c166000908152600760209081526040808320546008835281842054600b909352922054929350909160ff1615610e6c5788811015610e675760405162461bcd60e51b8152600401610496906114fa565b610e8c565b83821015610e8c5760405162461bcd60e51b8152600401610496906114fa565b838203600760008f6001600160a01b03166001600160a01b031681526020019081526020016000208190555082600760008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008282540192505081905550600b60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff168015610f4257506001600160a01b038c166000908152600b602052604090205460ff165b15610f77576001600160a01b03808e166000908152600860205260408082208c85039055918e16815220805488019055611044565b6001600160a01b038d166000908152600b602052604090205460ff168015610fb857506001600160a01b038c166000908152600b602052604090205460ff16155b15610fdf576001600160a01b038d1660009081526008602052604090208982039055611044565b6001600160a01b038d166000908152600b602052604090205460ff1615801561102057506001600160a01b038c166000908152600b602052604090205460ff165b15611044576001600160a01b038c1660009081526008602052604090208054880190555b60018054869003905560068054890190556040518781526001600160a01b038d811691908f16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050505050565b6000546001600160a01b031633146108335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610496565b600154600454600091907f000000000000000000000000000000000000000000000000000000000000000090835b818110156111d957600760006004838154811061114e5761114e611405565b60009182526020808320909101546001600160a01b0316835282019290925260400190205461117d9085611431565b9350600860006004838154811061119657611196611405565b60009182526020808320909101546001600160a01b031683528201929092526040019020546111c59084611431565b9250806111d18161145a565b91505061112f565b507f00000000000000000000000000000000000000000000000000000000000000006001546112089190611486565b8310156112385760015492507f000000000000000000000000000000000000000000000000000000000000000091505b60006109b68385611486565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b818110156112c1578581018301518582016040015282016112a5565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112f957600080fd5b919050565b6000806040838503121561131157600080fd5b61131a836112e2565b946020939093013593505050565b60008060006060848603121561133d57600080fd5b611346846112e2565b9250611354602085016112e2565b9150604084013590509250925092565b60006020828403121561137657600080fd5b61081a826112e2565b60006020828403121561139157600080fd5b5035919050565b600080604083850312156113ab57600080fd5b6113b4836112e2565b91506113c2602084016112e2565b90509250929050565b600181811c908216806113df57607f821691505b6020821081036113ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156104005761040061141b565b634e487b7160e01b600052603160045260246000fd5b60006001820161146c5761146c61141b565b5060010190565b808201808211156104005761040061141b565b6000826114a357634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156114ba57600080fd5b5051919050565b6000602082840312156114d357600080fd5b8151801515811461081a57600080fd5b80820281158282048414176104005761040061141b565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220d4b09b21801b57dba7e3d0cd4a3251cc24dfb48b83bef54a2741bc5d7d21affe64736f6c634300081200330000000000000000000000000cf66382d52c2d6c1d095c536c16c203117e2b2f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a457c2d71161007c578063a457c2d7146102eb578063a522ad25146102fe578063a9059cbb14610311578063dd62ed3e14610324578063ea2f0b3714610337578063f2fde38b1461034a57600080fd5b806370a0823114610281578063715018a61461029457806388f820201461029c5780638da5cb5b146102bf57806395d89b41146102da578063a071dcf4146102e257600080fd5b80633685d419116101155780633685d419146101fd5780633950935114610212578063437823ec1461022557806352390c02146102385780635342acb41461024b57806369fe0e2d1461026e57600080fd5b806306fdde031461015d578063095ea7b31461017b57806313114a9d1461019e57806318160ddd146101b557806323b872dd146101db578063313ce567146101ee575b600080fd5b61016561035d565b6040516101729190611294565b60405180910390f35b61018e6101893660046112fe565b6103ef565b6040519015158152602001610172565b6101a760065481565b604051908152602001610172565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006101a7565b61018e6101e9366004611328565b610406565b60405160128152602001610172565b61021061020b366004611364565b61042a565b005b61018e6102203660046112fe565b6105c6565b610210610233366004611364565b6105e7565b610210610246366004611364565b610613565b61018e610259366004611364565b600a6020526000908152604090205460ff1681565b61021061027c36600461137f565b6107a6565b6101a761028f366004611364565b6107e8565b610210610821565b61018e6102aa366004611364565b600b6020526000908152604090205460ff1681565b6000546040516001600160a01b039091168152602001610172565b610165610835565b6101a760055481565b61018e6102f93660046112fe565b610844565b61018e61030c366004611398565b6108c8565b61018e61031f3660046112fe565b6109bf565b6101a7610332366004611398565b6109cc565b610210610345366004611364565b6109f7565b610210610358366004611364565b610a20565b60606002805461036c906113cb565b80601f0160208091040260200160405190810160405280929190818152602001828054610398906113cb565b80156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b5050505050905090565b60006103fc338484610a99565b5060015b92915050565b600033610414858285610bbd565b61041f858585610c37565b506001949350505050565b6104326110a7565b6001600160a01b0381166000908152600b602052604090205460ff1661049f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c75646564000000000060448201526064015b60405180910390fd5b60045460005b818110156105c157826001600160a01b0316600482815481106104ca576104ca611405565b6000918252602090912001546001600160a01b0316036105af57600480546104f490600190611431565b8154811061050457610504611405565b600091825260209091200154600480546001600160a01b03909216918390811061053057610530611405565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600882526040808220829055600b90925220805460ff19169055600480548061058857610588611444565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b806105b98161145a565b9150506104a5565b505050565b60006103fc3384846105d833886109cc565b6105e29190611473565b610a99565b6105ef6110a7565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b61061b6110a7565b6001600160a01b0381166000908152600b602052604090205460ff16156106845760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c7265616479206578636c7564656400000000000000006044820152606401610496565b6004546064116106d65760405162461bcd60e51b815260206004820152601960248201527f4578636c75646564206c69737420697320746f6f206c6f6e67000000000000006044820152606401610496565b6001600160a01b038116600090815260076020526040902054156107405760006106fe611101565b6001600160a01b038316600090815260076020526040902054909150610725908290611486565b6001600160a01b038316600090815260086020526040902055505b6001600160a01b03166000818152600b60205260408120805460ff191660019081179091556004805491820181559091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319169091179055565b6107ae6110a7565b60058190556040518181527e172ddfc5ae88d08b3de01a5a187667c37a5a53989e8c175055cb6c993792a79060200160405180910390a150565b6000806107f3611101565b6001600160a01b03841660009081526007602052604090205490915061081a908290611486565b9392505050565b6108296110a7565b6108336000611244565b565b60606003805461036c906113cb565b60008061085133856109cc565b9050828110156108b15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610496565b6108be3385858403610a99565b5060019392505050565b60006108d26110a7565b6040516370a0823160e01b815230600482015283906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561091b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093f91906114a8565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b691906114c1565b95945050505050565b60006103fc338484610c37565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b6109ff6110a7565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610a286110a7565b6001600160a01b038116610a8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610496565b610a9681611244565b50565b6001600160a01b038316610afb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610496565b6001600160a01b038216610b5c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610496565b6001600160a01b0383811660008181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610bc984846109cc565b90506000198114610c315781811015610c245760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610496565b610c318484848403610a99565b50505050565b6001600160a01b038316610c9b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610496565b6001600160a01b038216610cfd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610496565b60008111610d5f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610496565b6001600160a01b0383166000908152600a602052604081205460ff1680610d9e57506001600160a01b0383166000908152600a602052604090205460ff165b15610dab57506000610db0565b506005545b816000612710610dc084846114e3565b610dca9190611486565b90506000610dd88284611431565b90506000610de4611101565b90506000610df282856114e3565b90506000610e0083876114e3565b90506000610e0e8383611431565b6001600160a01b038c166000908152600760209081526040808320546008835281842054600b909352922054929350909160ff1615610e6c5788811015610e675760405162461bcd60e51b8152600401610496906114fa565b610e8c565b83821015610e8c5760405162461bcd60e51b8152600401610496906114fa565b838203600760008f6001600160a01b03166001600160a01b031681526020019081526020016000208190555082600760008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008282540192505081905550600b60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff168015610f4257506001600160a01b038c166000908152600b602052604090205460ff165b15610f77576001600160a01b03808e166000908152600860205260408082208c85039055918e16815220805488019055611044565b6001600160a01b038d166000908152600b602052604090205460ff168015610fb857506001600160a01b038c166000908152600b602052604090205460ff16155b15610fdf576001600160a01b038d1660009081526008602052604090208982039055611044565b6001600160a01b038d166000908152600b602052604090205460ff1615801561102057506001600160a01b038c166000908152600b602052604090205460ff165b15611044576001600160a01b038c1660009081526008602052604090208054880190555b60018054869003905560068054890190556040518781526001600160a01b038d811691908f16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050505050565b6000546001600160a01b031633146108335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610496565b600154600454600091907f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000090835b818110156111d957600760006004838154811061114e5761114e611405565b60009182526020808320909101546001600160a01b0316835282019290925260400190205461117d9085611431565b9350600860006004838154811061119657611196611405565b60009182526020808320909101546001600160a01b031683528201929092526040019020546111c59084611431565b9250806111d18161145a565b91505061112f565b507f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006001546112089190611486565b8310156112385760015492507f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000091505b60006109b68385611486565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b818110156112c1578581018301518582016040015282016112a5565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112f957600080fd5b919050565b6000806040838503121561131157600080fd5b61131a836112e2565b946020939093013593505050565b60008060006060848603121561133d57600080fd5b611346846112e2565b9250611354602085016112e2565b9150604084013590509250925092565b60006020828403121561137657600080fd5b61081a826112e2565b60006020828403121561139157600080fd5b5035919050565b600080604083850312156113ab57600080fd5b6113b4836112e2565b91506113c2602084016112e2565b90509250929050565b600181811c908216806113df57607f821691505b6020821081036113ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156104005761040061141b565b634e487b7160e01b600052603160045260246000fd5b60006001820161146c5761146c61141b565b5060010190565b808201808211156104005761040061141b565b6000826114a357634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156114ba57600080fd5b5051919050565b6000602082840312156114d357600080fd5b8151801515811461081a57600080fd5b80820281158282048414176104005761040061141b565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220d4b09b21801b57dba7e3d0cd4a3251cc24dfb48b83bef54a2741bc5d7d21affe64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000cf66382d52c2d6c1d095c536c16c203117e2b2f
-----Decoded View---------------
Arg [0] : owner_ (address): 0x0cf66382d52C2D6c1D095c536c16c203117E2B2f
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000cf66382d52c2d6c1d095c536c16c203117e2b2f
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.