Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
230,829.1918127145126 SHIT
Holders
199
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
314.4851850111264 SHITValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShitCoin
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; interface IButts { function ownerOf(uint256 tokenId) external view returns (address owner); function balanceOf(address owner) external view returns (uint256 balance); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); } contract ShitCoin is ERC20Burnable { uint256 public immutable SHIT_PER_DAY_PER_SECOND = 115740740700000; // 10 shit per day uint256 public START; uint256 public END = 1950048000; // Saturday, 18. October 2031 00:00:00 IButts public buttsContract; mapping(uint256 => uint256) public last; constructor(address _buttsAddress) ERC20("ShitCoin", "SHIT") { START = block.timestamp; buttsContract = IButts(_buttsAddress); } function mintForUser(address user) external { uint256 total = buttsContract.balanceOf(user); uint256 owed = 0; for (uint256 i = 0; i < total; i++) { uint256 id = buttsContract.tokenOfOwnerByIndex(user, i); uint256 claimed = lastClaim(id); uint256 base = getCorrectTimeStamp(); owed += (base - claimed) * SHIT_PER_DAY_PER_SECOND; last[id] = base; } _mint(user, owed); } function mintForIds(uint256[] calldata ids) external { for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; address owner = buttsContract.ownerOf(id); uint256 claimed = lastClaim(id); uint256 base = getCorrectTimeStamp(); uint256 owed = (base - claimed) * SHIT_PER_DAY_PER_SECOND; last[id] = base; _mint(owner, owed); } } function getCorrectTimeStamp() public view returns (uint256) { return min(block.timestamp, END); } function lastClaim(uint256 id) public view returns (uint256) { return max(last[id], START); } function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a <= b ? a : b; } function claimablePerId(uint256 id) public view returns (uint256) { uint256 claimed = lastClaim(id); uint256 base = getCorrectTimeStamp(); uint256 owed = (base - claimed) * SHIT_PER_DAY_PER_SECOND; return owed; } function totalClaimablePerAddress(address user) public view returns (uint256) { uint256 total = buttsContract.balanceOf(user); uint256 owed = 0; for (uint256 i = 0; i < total; i++) { uint256 id = buttsContract.tokenOfOwnerByIndex(user, i); uint256 claimed = lastClaim(id); uint256 base = getCorrectTimeStamp(); owed += ((base - claimed) * SHIT_PER_DAY_PER_SECOND); } return owed; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT 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 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; } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_buttsAddress","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHIT_PER_DAY_PER_SECOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buttsContract","outputs":[{"internalType":"contract IButts","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"claimablePerId","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":[],"name":"getCorrectTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"","type":"uint256"}],"name":"last","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"lastClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"mintForIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"mintForUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"totalClaimablePerAddress","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":"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
60a0604052656943fdbc476060805263743b5f006006553480156200002357600080fd5b50604051620015963803806200159683398101604081905262000046916200017b565b604080518082018252600881526729b434ba21b7b4b760c11b60208083019182528351808501909452600484526314d2125560e21b9084015281519192916200009291600391620000d5565b508051620000a8906004906020840190620000d5565b50504260055550600780546001600160a01b0319166001600160a01b0392909216919091179055620001e8565b828054620000e390620001ab565b90600052602060002090601f01602090048101928262000107576000855562000152565b82601f106200012257805160ff191683800117855562000152565b8280016001018555821562000152579182015b828111156200015257825182559160200191906001019062000135565b506200016092915062000164565b5090565b5b8082111562000160576000815560010162000165565b6000602082840312156200018d578081fd5b81516001600160a01b0381168114620001a4578182fd5b9392505050565b600181811c90821680620001c057607f821691505b60208210811415620001e257634e487b7160e01b600052602260045260246000fd5b50919050565b60805161137662000220600039600081816102500152818161056101528181610806015281816109df0152610b1e01526113766000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063ba9a061a1161007c578063ba9a061a14610302578063c7dcda541461030b578063dd62ed3e14610313578063e4c1a3b21461034c578063efe7a5041461036c578063fbe168ee1461037557600080fd5b806370a082311461028557806379cc6790146102ae57806395d89b41146102c15780639ab8ed48146102c9578063a457c2d7146102dc578063a9059cbb146102ef57600080fd5b8063313ce56711610115578063313ce5671461020157806339509351146102105780633d3728b51461022357806342966c68146102365780634692ca961461024b578063632508871461027257600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e5780631a9b8cca146101b057806323b872dd146101c35780632a3b64d4146101d6575b600080fd5b610165610388565b604051610172919061121e565b60405180910390f35b61018e610189366004611153565b61041a565b6040519015158152602001610172565b6002545b604051908152602001610172565b6101a26101be3660046110a3565b610430565b61018e6101d1366004611113565b6105be565b6007546101e9906001600160a01b031681565b6040516001600160a01b039091168152602001610172565b60405160128152602001610172565b61018e61021e366004611153565b61066d565b6101a26102313660046111ee565b6106a9565b6102496102443660046111ee565b6106cb565b005b6101a27f000000000000000000000000000000000000000000000000000000000000000081565b6102496102803660046110a3565b6106d8565b6101a26102933660046110a3565b6001600160a01b031660009081526020819052604090205490565b6102496102bc366004611153565b610878565b6101656108f9565b6102496102d736600461117e565b610908565b61018e6102ea366004611153565b610a47565b61018e6102fd366004611153565b610ae0565b6101a260055481565b6101a2610aed565b6101a26103213660046110db565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101a261035a3660046111ee565b60086020526000908152604090205481565b6101a260065481565b6101a26103833660046111ee565b610b00565b606060038054610397906112bf565b80601f01602080910402602001604051908101604052809291908181526020018280546103c3906112bf565b80156104105780601f106103e557610100808354040283529160200191610410565b820191906000526020600020905b8154815290600101906020018083116103f357829003601f168201915b5050505050905090565b6000610427338484610b5a565b50600192915050565b6007546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a082319060240160206040518083038186803b15801561047957600080fd5b505afa15801561048d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b19190611206565b90506000805b828110156105b657600754604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c599060440160206040518083038186803b15801561050c57600080fd5b505afa158015610520573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105449190611206565b90506000610551826106a9565b9050600061055d610aed565b90507f000000000000000000000000000000000000000000000000000000000000000061058a83836112a8565b6105949190611289565b61059e9086611271565b945050505080806105ae906112fa565b9150506104b7565b509392505050565b60006105cb848484610c7e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106555760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106628533858403610b5a565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104279185906106a4908690611271565b610b5a565b6000818152600860205260408120546005546106c59190610e4d565b92915050565b6106d53382610e66565b50565b6007546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a082319060240160206040518083038186803b15801561071e57600080fd5b505afa158015610732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107569190611206565b90506000805b8281101561086857600754604051632f745c5960e01b81526001600160a01b038681166004830152602482018490526000921690632f745c599060440160206040518083038186803b1580156107b157600080fd5b505afa1580156107c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190611206565b905060006107f6826106a9565b90506000610802610aed565b90507f000000000000000000000000000000000000000000000000000000000000000061082f83836112a8565b6108399190611289565b6108439086611271565b6000938452600860205260409093205550915080610860816112fa565b91505061075c565b506108738382610fb4565b505050565b60006108848333610321565b9050818110156108e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161064c565b6108ef8333848403610b5a565b6108738383610e66565b606060048054610397906112bf565b60005b8181101561087357600083838381811061093557634e487b7160e01b600052603260045260246000fd5b6007546040516331a9108f60e11b815260209290920293909301356004820181905293506000926001600160a01b03169150636352211e9060240160206040518083038186803b15801561098857600080fd5b505afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c091906110bf565b905060006109cd836106a9565b905060006109d9610aed565b905060007f0000000000000000000000000000000000000000000000000000000000000000610a0884846112a8565b610a129190611289565b60008681526008602052604090208390559050610a2f8482610fb4565b50505050508080610a3f906112fa565b91505061090b565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ac95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161064c565b610ad63385858403610b5a565b5060019392505050565b6000610427338484610c7e565b6000610afb42600654611093565b905090565b600080610b0c836106a9565b90506000610b18610aed565b905060007f0000000000000000000000000000000000000000000000000000000000000000610b4784846112a8565b610b519190611289565b95945050505050565b6001600160a01b038316610bbc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064c565b6001600160a01b038216610c1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ce25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064c565b6001600160a01b038216610d445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064c565b6001600160a01b03831660009081526020819052604090205481811015610dbc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161064c565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610df3908490611271565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e3f91815260200190565b60405180910390a350505050565b600081831015610e5d5781610e5f565b825b9392505050565b6001600160a01b038216610ec65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161064c565b6001600160a01b03821660009081526020819052604090205481811015610f3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161064c565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610f699084906112a8565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b03821661100a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161064c565b806002600082825461101c9190611271565b90915550506001600160a01b03821660009081526020819052604081208054839290611049908490611271565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600081831115610e5d5781610e5f565b6000602082840312156110b4578081fd5b8135610e5f8161132b565b6000602082840312156110d0578081fd5b8151610e5f8161132b565b600080604083850312156110ed578081fd5b82356110f88161132b565b915060208301356111088161132b565b809150509250929050565b600080600060608486031215611127578081fd5b83356111328161132b565b925060208401356111428161132b565b929592945050506040919091013590565b60008060408385031215611165578182fd5b82356111708161132b565b946020939093013593505050565b60008060208385031215611190578182fd5b823567ffffffffffffffff808211156111a7578384fd5b818501915085601f8301126111ba578384fd5b8135818111156111c8578485fd5b8660208260051b85010111156111dc578485fd5b60209290920196919550909350505050565b6000602082840312156111ff578081fd5b5035919050565b600060208284031215611217578081fd5b5051919050565b6000602080835283518082850152825b8181101561124a5785810183015185820160400152820161122e565b8181111561125b5783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561128457611284611315565b500190565b60008160001904831182151516156112a3576112a3611315565b500290565b6000828210156112ba576112ba611315565b500390565b600181811c908216806112d357607f821691505b602082108114156112f457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561130e5761130e611315565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146106d557600080fdfea2646970667358221220557840fb6b7c856528db4304bbc76b84dd17b5b83a657a4d5a3401feb347351064736f6c63430008040033000000000000000000000000afed2f17c749ed2705a558966cbbb343ff09e02d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063ba9a061a1161007c578063ba9a061a14610302578063c7dcda541461030b578063dd62ed3e14610313578063e4c1a3b21461034c578063efe7a5041461036c578063fbe168ee1461037557600080fd5b806370a082311461028557806379cc6790146102ae57806395d89b41146102c15780639ab8ed48146102c9578063a457c2d7146102dc578063a9059cbb146102ef57600080fd5b8063313ce56711610115578063313ce5671461020157806339509351146102105780633d3728b51461022357806342966c68146102365780634692ca961461024b578063632508871461027257600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e5780631a9b8cca146101b057806323b872dd146101c35780632a3b64d4146101d6575b600080fd5b610165610388565b604051610172919061121e565b60405180910390f35b61018e610189366004611153565b61041a565b6040519015158152602001610172565b6002545b604051908152602001610172565b6101a26101be3660046110a3565b610430565b61018e6101d1366004611113565b6105be565b6007546101e9906001600160a01b031681565b6040516001600160a01b039091168152602001610172565b60405160128152602001610172565b61018e61021e366004611153565b61066d565b6101a26102313660046111ee565b6106a9565b6102496102443660046111ee565b6106cb565b005b6101a27f00000000000000000000000000000000000000000000000000006943fdbc476081565b6102496102803660046110a3565b6106d8565b6101a26102933660046110a3565b6001600160a01b031660009081526020819052604090205490565b6102496102bc366004611153565b610878565b6101656108f9565b6102496102d736600461117e565b610908565b61018e6102ea366004611153565b610a47565b61018e6102fd366004611153565b610ae0565b6101a260055481565b6101a2610aed565b6101a26103213660046110db565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101a261035a3660046111ee565b60086020526000908152604090205481565b6101a260065481565b6101a26103833660046111ee565b610b00565b606060038054610397906112bf565b80601f01602080910402602001604051908101604052809291908181526020018280546103c3906112bf565b80156104105780601f106103e557610100808354040283529160200191610410565b820191906000526020600020905b8154815290600101906020018083116103f357829003601f168201915b5050505050905090565b6000610427338484610b5a565b50600192915050565b6007546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a082319060240160206040518083038186803b15801561047957600080fd5b505afa15801561048d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b19190611206565b90506000805b828110156105b657600754604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c599060440160206040518083038186803b15801561050c57600080fd5b505afa158015610520573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105449190611206565b90506000610551826106a9565b9050600061055d610aed565b90507f00000000000000000000000000000000000000000000000000006943fdbc476061058a83836112a8565b6105949190611289565b61059e9086611271565b945050505080806105ae906112fa565b9150506104b7565b509392505050565b60006105cb848484610c7e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106555760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106628533858403610b5a565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104279185906106a4908690611271565b610b5a565b6000818152600860205260408120546005546106c59190610e4d565b92915050565b6106d53382610e66565b50565b6007546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a082319060240160206040518083038186803b15801561071e57600080fd5b505afa158015610732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107569190611206565b90506000805b8281101561086857600754604051632f745c5960e01b81526001600160a01b038681166004830152602482018490526000921690632f745c599060440160206040518083038186803b1580156107b157600080fd5b505afa1580156107c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190611206565b905060006107f6826106a9565b90506000610802610aed565b90507f00000000000000000000000000000000000000000000000000006943fdbc476061082f83836112a8565b6108399190611289565b6108439086611271565b6000938452600860205260409093205550915080610860816112fa565b91505061075c565b506108738382610fb4565b505050565b60006108848333610321565b9050818110156108e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161064c565b6108ef8333848403610b5a565b6108738383610e66565b606060048054610397906112bf565b60005b8181101561087357600083838381811061093557634e487b7160e01b600052603260045260246000fd5b6007546040516331a9108f60e11b815260209290920293909301356004820181905293506000926001600160a01b03169150636352211e9060240160206040518083038186803b15801561098857600080fd5b505afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c091906110bf565b905060006109cd836106a9565b905060006109d9610aed565b905060007f00000000000000000000000000000000000000000000000000006943fdbc4760610a0884846112a8565b610a129190611289565b60008681526008602052604090208390559050610a2f8482610fb4565b50505050508080610a3f906112fa565b91505061090b565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ac95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161064c565b610ad63385858403610b5a565b5060019392505050565b6000610427338484610c7e565b6000610afb42600654611093565b905090565b600080610b0c836106a9565b90506000610b18610aed565b905060007f00000000000000000000000000000000000000000000000000006943fdbc4760610b4784846112a8565b610b519190611289565b95945050505050565b6001600160a01b038316610bbc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064c565b6001600160a01b038216610c1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ce25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064c565b6001600160a01b038216610d445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064c565b6001600160a01b03831660009081526020819052604090205481811015610dbc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161064c565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610df3908490611271565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e3f91815260200190565b60405180910390a350505050565b600081831015610e5d5781610e5f565b825b9392505050565b6001600160a01b038216610ec65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161064c565b6001600160a01b03821660009081526020819052604090205481811015610f3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161064c565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610f699084906112a8565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b03821661100a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161064c565b806002600082825461101c9190611271565b90915550506001600160a01b03821660009081526020819052604081208054839290611049908490611271565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600081831115610e5d5781610e5f565b6000602082840312156110b4578081fd5b8135610e5f8161132b565b6000602082840312156110d0578081fd5b8151610e5f8161132b565b600080604083850312156110ed578081fd5b82356110f88161132b565b915060208301356111088161132b565b809150509250929050565b600080600060608486031215611127578081fd5b83356111328161132b565b925060208401356111428161132b565b929592945050506040919091013590565b60008060408385031215611165578182fd5b82356111708161132b565b946020939093013593505050565b60008060208385031215611190578182fd5b823567ffffffffffffffff808211156111a7578384fd5b818501915085601f8301126111ba578384fd5b8135818111156111c8578485fd5b8660208260051b85010111156111dc578485fd5b60209290920196919550909350505050565b6000602082840312156111ff578081fd5b5035919050565b600060208284031215611217578081fd5b5051919050565b6000602080835283518082850152825b8181101561124a5785810183015185820160400152820161122e565b8181111561125b5783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561128457611284611315565b500190565b60008160001904831182151516156112a3576112a3611315565b500290565b6000828210156112ba576112ba611315565b500390565b600181811c908216806112d357607f821691505b602082108114156112f457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561130e5761130e611315565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146106d557600080fdfea2646970667358221220557840fb6b7c856528db4304bbc76b84dd17b5b83a657a4d5a3401feb347351064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000afed2f17c749ed2705a558966cbbb343ff09e02d
-----Decoded View---------------
Arg [0] : _buttsAddress (address): 0xafEd2f17C749ED2705a558966CbbB343fF09E02D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000afed2f17c749ed2705a558966cbbb343ff09e02d
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.