Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 3,046 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Change Name | 21424700 | 6 days ago | IN | 0 ETH | 0.00176345 | ||||
Claim Full | 21378520 | 12 days ago | IN | 0 ETH | 0.00078814 | ||||
Approve | 21350311 | 16 days ago | IN | 0 ETH | 0.00058567 | ||||
Claim Full | 21350305 | 16 days ago | IN | 0 ETH | 0.00218954 | ||||
Claim Full | 21342931 | 17 days ago | IN | 0 ETH | 0.00085165 | ||||
Commit Change | 21308504 | 22 days ago | IN | 0 ETH | 0.0009709 | ||||
Claim Full | 21308448 | 22 days ago | IN | 0 ETH | 0.00127757 | ||||
Claim Full | 21263236 | 28 days ago | IN | 0 ETH | 0.00142305 | ||||
Approve | 21252206 | 30 days ago | IN | 0 ETH | 0.00069702 | ||||
Claim Full | 21251538 | 30 days ago | IN | 0 ETH | 0.00179155 | ||||
Claim Full | 21169304 | 42 days ago | IN | 0 ETH | 0.00161602 | ||||
Claim Full | 21159837 | 43 days ago | IN | 0 ETH | 0.00207589 | ||||
Claim Full | 21141148 | 45 days ago | IN | 0 ETH | 0.00055925 | ||||
Transfer | 21062353 | 56 days ago | IN | 0 ETH | 0.00016131 | ||||
Claim Full | 21062350 | 56 days ago | IN | 0 ETH | 0.00222522 | ||||
Claim Full | 21062342 | 56 days ago | IN | 0 ETH | 0.00210718 | ||||
Commit Change | 21004742 | 64 days ago | IN | 0 ETH | 0.00029138 | ||||
Commit Change | 20692353 | 108 days ago | IN | 0 ETH | 0.00080339 | ||||
Commit Change | 20692340 | 108 days ago | IN | 0 ETH | 0.00087141 | ||||
Claim Full | 20692302 | 108 days ago | IN | 0 ETH | 0.00133534 | ||||
Approve | 20632425 | 116 days ago | IN | 0 ETH | 0.00003859 | ||||
Commit Change | 20520518 | 132 days ago | IN | 0 ETH | 0.00026027 | ||||
Claim Full | 20520474 | 132 days ago | IN | 0 ETH | 0.00035693 | ||||
Commit Change | 20515311 | 133 days ago | IN | 0 ETH | 0.00015896 | ||||
Commit Change | 20515298 | 133 days ago | IN | 0 ETH | 0.00017407 |
Loading...
Loading
Contract Name:
GoofToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: NONE pragma solidity ^0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; //import "hardhat/console.sol"; // ██████╗ ██████╗ ██████╗ ███████╗██████╗ █████╗ ██╗ ██╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ // ██╔════╝ ██╔═══██╗██╔═══██╗██╔════╝██╔══██╗██╔══██╗██║ ██║ ██╔════╝ ██╔══██╗████╗ ██║██╔════╝ // ██║ ███╗██║ ██║██║ ██║█████╗ ██████╔╝███████║██║ ██║ ██║ ███╗███████║██╔██╗ ██║██║ ███╗ // ██║ ██║██║ ██║██║ ██║██╔══╝ ██╔══██╗██╔══██║██║ ██║ ██║ ██║██╔══██║██║╚██╗██║██║ ██║ // ╚██████╔╝╚██████╔╝╚██████╔╝██║ ██████╔╝██║ ██║███████╗███████╗ ╚██████╔╝██║ ██║██║ ╚████║╚██████╔╝ // ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ // $GOOF token contract // Utility token for modifying goofball NFTs // // https://www.goofballgang.com contract NFTContract { function ownerOf(uint256 tokenId) external view returns (address owner) {} function walletOfOwner(address _owner) public view returns (uint256[] memory) {} } contract GoofToken is Ownable, ERC20("Goofball Gang Token", "GOOF"), ERC20Burnable { uint256 public constant DAILY_RATE = 10 ether; uint256 public constant START_TIME = 1634250000; /* ~Oct 15th 2021 */ uint256 public constant TIME_BLOCKSIZE = 10_000; uint256 public constant BONUS_TIME_LIMIT_1 = 1638316800; /* Dec 1st 2021 */ uint256 public constant BONUS_TIME_LIMIT_2 = 1640995200; /* Jan 1st 2022 */ uint256 public constant MIN_NAME_LENGTH = 2; uint256 public constant MAX_NAME_LENGTH = 30; event ChangeCommit(uint256 indexed tokenId, uint256 price, bytes changeData); event NameChange(uint256 indexed tokenId, bytes newName); NFTContract private delegate; uint256 public nameChangePrice = 1000 ether; uint256 public distributionEndTime = 1798761600; /* Jan 1st 2027 */ uint256 public gweiPerGoof = 0; /** We stash 16 last update timestamps in every 256 bit word by using only 16 bits for the last update time. Every 16 bit value encodes 10,000 seconds (TIME_BLOCKSIZE) since START_TIME (Nov 1st 2021), so we can encode an interval of 20 years. */ mapping(uint256 => uint256) public lastUpdateMap; mapping(uint256 => bytes) public goofNameMap; mapping(bytes => uint256) public nameOwnerMap; mapping(address => uint256) public permittedContracts; constructor(address nftContract, uint256 initialSupply) { delegate = NFTContract(nftContract); _mint(msg.sender, initialSupply); } function getUpdateTime(uint256 id) public view returns (uint256 updateTime) { uint256 value = lastUpdateMap[id >> 4]; value = (value >> ((id & 0xF) << 4)) & 0xFFFF; return value * TIME_BLOCKSIZE + START_TIME; } function setUpdateTime(uint256 id, uint256 time) internal returns (uint256 roundedTime) { require(time > START_TIME, "invalid time"); uint256 currentValue = lastUpdateMap[id >> 4]; uint256 shift = ((id & 0xF) << 4); uint256 mask = ~(0xFFFF << shift); // Round up block time uint256 newEncodedValue = (time - START_TIME + TIME_BLOCKSIZE - 1) / TIME_BLOCKSIZE; lastUpdateMap[id >> 4] = ((currentValue & mask) | (newEncodedValue << shift)); return newEncodedValue * TIME_BLOCKSIZE + START_TIME; } function setPermission(address addr, uint256 permitted) public onlyOwner { permittedContracts[addr] = permitted; } function setGweiPerGoof(uint256 value) public onlyOwner { gweiPerGoof = value; } function getName(uint256 id) public view returns (string memory) { return string(abi.encodePacked(goofNameMap[id])); } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } function setNameChangePrice(uint256 price) public onlyOwner { nameChangePrice = price; } function setDistributionEndTime(uint256 endTime) public onlyOwner { distributionEndTime = endTime; } function getInitialGrant(uint256 t) public pure returns (uint256) { if (t < BONUS_TIME_LIMIT_1) { return 1000 ether; } if (t < BONUS_TIME_LIMIT_2) { return 500 ether; } else { return 0; } } function getGrantBetween(uint256 beginTime, uint256 endTime) public pure returns (uint256) { if (beginTime > BONUS_TIME_LIMIT_2) { return ((endTime - beginTime) * DAILY_RATE) / 86400; } uint256 weightedTime = 0; if (beginTime < BONUS_TIME_LIMIT_1) { weightedTime += (min(endTime, BONUS_TIME_LIMIT_1) - beginTime) * 4; } if (beginTime < BONUS_TIME_LIMIT_2 && endTime > BONUS_TIME_LIMIT_1) { weightedTime += (min(endTime, BONUS_TIME_LIMIT_2) - max(beginTime, BONUS_TIME_LIMIT_1)) * 2; } if (endTime > BONUS_TIME_LIMIT_2) { weightedTime += endTime - max(beginTime, BONUS_TIME_LIMIT_2); } return (weightedTime * DAILY_RATE) / 86400; } function claim(uint256 tokenId) internal returns (uint256) { uint256 lastUpdate = getUpdateTime(tokenId); // Round up by block uint256 timeUpdate = min(block.timestamp, distributionEndTime); timeUpdate = setUpdateTime(tokenId, timeUpdate); if (lastUpdate == START_TIME) { return getInitialGrant(timeUpdate); } else { return getGrantBetween(lastUpdate, timeUpdate); } } function claimReward(uint256[] memory id) public { uint256 totalReward = 0; for (uint256 i = 0; i < id.length; i++) { require(delegate.ownerOf(id[i]) == msg.sender, "id not owned"); totalReward += claim(id[i]); } if (totalReward > 0) { _mint(msg.sender, totalReward); } } function claimFull() public { claimFullFor(msg.sender); } function claimFullFor(address addr) public { uint256[] memory id = delegate.walletOfOwner(addr); uint256 totalReward = 0; for (uint256 i = 0; i < id.length; i++) { totalReward += claim(id[i]); } if (totalReward > 0) { _mint(addr, totalReward); } } function mint(uint256 amount) public onlyOwner { _mint(msg.sender, amount); } // burn tokens, allowing sent ETH to be converted according to gweiPerGoof function burnTokens(uint256 amount) private { if (msg.value > 0 && gweiPerGoof > 0) { uint256 converted = (msg.value * 1 gwei) / gweiPerGoof; if (converted >= amount) { amount = 0; } else { amount -= converted; } } if (amount > 0) { _burn(msg.sender, amount); } } // Buy items function commitChange( uint256 tokenId, uint256 pricePaid, bytes memory changeData ) public payable { require(delegate.ownerOf(tokenId) == msg.sender, "not owner"); burnTokens(pricePaid); emit ChangeCommit(tokenId, pricePaid, changeData); } function isValidName(bytes memory nameBytes) public pure returns (bool) { if (nameBytes.length < MIN_NAME_LENGTH || nameBytes.length > MAX_NAME_LENGTH) { return false; } uint8 prevChar = 32; for (uint256 i = 0; i < nameBytes.length; i++) { uint8 ch = uint8(nameBytes[i]); if (ch == 32 && prevChar == 32) { return false; // no repeated spaces (and also checks first character) } // allow letter, numbers, punctuation, but no risk of HTML tags (<>) or // impersonating another goofball (# sign) if (!(ch >= 32 && ch <= 126) || ch == 60 || ch == 62 || ch == 35) { return false; } prevChar = ch; } if (prevChar == 32) { // No trailing space return false; } return true; } function toLower(bytes memory name) private pure returns (bytes memory) { bytes memory lowerCased = new bytes(name.length); for (uint256 i = 0; i < name.length; i++) { uint8 ch = uint8(name[i]); if (ch >= 65 && ch <= 90) { lowerCased[i] = bytes1( ch + 97 - /* 'a' */ 65 /* 'A' */ ); } else { lowerCased[i] = bytes1(ch); } } return lowerCased; } function changeName(uint256 tokenId, bytes memory newName) public payable { require(newName.length == 0 || isValidName(newName), "not valid name"); require(delegate.ownerOf(tokenId) == msg.sender, "not owner"); bytes memory lowerCased = toLower(newName); if (newName.length > 0) { uint256 nameOwner = nameOwnerMap[lowerCased]; // 0 = nobody, other number is id + 1 require(nameOwner == 0 || nameOwner == tokenId + 1, "name duplicate"); } burnTokens(nameChangePrice); bytes memory currentName = goofNameMap[tokenId]; if (currentName.length > 0) { delete nameOwnerMap[toLower(currentName)]; } goofNameMap[tokenId] = newName; if (newName.length > 0) { nameOwnerMap[lowerCased] = tokenId + 1; } emit NameChange(tokenId, newName); } function permittedMint(address destination, uint256 amount) public { require(permittedContracts[msg.sender] == 1); _mint(destination, amount); } function permittedBurn(address src, uint256 amount) public { require(permittedContracts[msg.sender] == 1); _burn(src, amount); } function permittedTransfer( address src, address dest, uint256 amount ) public { require(permittedContracts[msg.sender] == 1); _transfer(src, dest, amount); } function withdrawBalance(address to, uint256 amount) external onlyOwner { if (amount == 0) { amount = address(this).balance; } // https://consensys.github.io/smart-contract-best-practices/recommendations/#dont-use-transfer-or-send // solhint-disable-next-line avoid-low-level-calls (bool success, ) = payable(to).call{value: amount}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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; 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; /** * @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; } }
// 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 "../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); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "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":"nftContract","type":"address"},{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"changeData","type":"bytes"}],"name":"ChangeCommit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newName","type":"bytes"}],"name":"NameChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BONUS_TIME_LIMIT_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BONUS_TIME_LIMIT_2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DAILY_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NAME_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_NAME_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIME_BLOCKSIZE","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"newName","type":"bytes"}],"name":"changeName","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimFull","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"claimFullFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"id","type":"uint256[]"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"pricePaid","type":"uint256"},{"internalType":"bytes","name":"changeData","type":"bytes"}],"name":"commitChange","outputs":[],"stateMutability":"payable","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":"distributionEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"beginTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"getGrantBetween","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"t","type":"uint256"}],"name":"getInitialGrant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getUpdateTime","outputs":[{"internalType":"uint256","name":"updateTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"goofNameMap","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gweiPerGoof","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":"bytes","name":"nameBytes","type":"bytes"}],"name":"isValidName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastUpdateMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"nameOwnerMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"permittedBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"permittedContracts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"permittedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"permittedTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"setDistributionEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setGweiPerGoof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setNameChangePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"permitted","type":"uint256"}],"name":"setPermission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052683635c9adc5dea00000600755636b36ec8060085560006009553480156200002b57600080fd5b5060405162002f2638038062002f268339810160408190526200004e91620002fa565b6040518060400160405280601381526020017f476f6f6662616c6c2047616e6720546f6b656e000000000000000000000000008152506040518060400160405280600481526020016323a7a7a360e11b815250620000bb620000b56200011860201b60201c565b6200011c565b8151620000d090600490602085019062000254565b508051620000e690600590602084019062000254565b5050600680546001600160a01b0319166001600160a01b038516179055506200011033826200016c565b50506200039a565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001c75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060036000828254620001db919062000336565b90915550506001600160a01b038216600090815260016020526040812080548392906200020a90849062000336565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000262906200035d565b90600052602060002090601f016020900481019282620002865760008555620002d1565b82601f10620002a157805160ff1916838001178555620002d1565b82800160010185558215620002d1579182015b82811115620002d1578251825591602001919060010190620002b4565b50620002df929150620002e3565b5090565b5b80821115620002df5760008155600101620002e4565b600080604083850312156200030e57600080fd5b82516001600160a01b03811681146200032657600080fd5b6020939093015192949293505050565b600082198211156200035857634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200037257607f821691505b602082108114156200039457634e487b7160e01b600052602260045260246000fd5b50919050565b612b7c80620003aa6000396000f3fe60806040526004361061031e5760003560e01c806379cc6790116101a5578063a9059cbb116100ec578063dd62ed3e11610095578063e4d2a5e01161006f578063e4d2a5e0146108ae578063f2fde38b146108e6578063f3b3ac0614610906578063f959ff521461092657600080fd5b8063dd62ed3e1461083a578063ddaa26ad14610880578063e2cc8d031461089857600080fd5b8063c94c7ff4116100c6578063c94c7ff4146107e2578063d0dec55b14610802578063d8ded14b1461081a57600080fd5b8063a9059cbb14610782578063b1209d4a146107a2578063bc870094146107c257600080fd5b80638da5cb5b1161014e578063a0712d6811610128578063a0712d6814610722578063a33972b414610742578063a457c2d71461076257600080fd5b80638da5cb5b146106d257806393d3949f146106fa57806395d89b411461070d57600080fd5b8063860749851161017f57806386074985146106705780638bee55b7146106855780638c8773b6146106a557600080fd5b806379cc6790146106035780637bfcbb801461062357806384a1b9021461065057600080fd5b80632cdabb781161026957806350cfeddd1161021257806370a08231116101ec57806370a082311461059c578063715018a6146105d257806373684856146105e757600080fd5b806350cfeddd1461055257806364dd2cc9146105675780636b8ff5741461057c57600080fd5b806342966c681161024357806342966c68146104fc57806345ca77381461051c57806346d46a531461053257600080fd5b80632cdabb78146104a0578063313ce567146104c057806339509351146104dc57600080fd5b806318160ddd116102cb57806327b80214116102a557806327b80214146104525780632ae683e4146104725780632caf9b501461048a57600080fd5b806318160ddd146103fd5780631cb0a2d21461041257806323b872dd1461043257600080fd5b8063095ea7b3116102fc578063095ea7b31461038d5780630cf20cc9146103bd5780630dea21bf146103dd57600080fd5b8063058b1d5b1461032357806305ba0a511461033857806306fdde031461036b575b600080fd5b61033661033136600461259f565b61093c565b005b34801561034457600080fd5b506103586103533660046125ef565b610a47565b6040519081526020015b60405180910390f35b34801561037757600080fd5b50610380610a89565b6040516103629190612660565b34801561039957600080fd5b506103ad6103a8366004612688565b610b1b565b6040519015158152602001610362565b3480156103c957600080fd5b506103366103d8366004612688565b610b32565b3480156103e957600080fd5b506103806103f83660046125ef565b610c3c565b34801561040957600080fd5b50600354610358565b34801561041e57600080fd5b5061033661042d3660046125ef565b610cd6565b34801561043e57600080fd5b506103ad61044d3660046126b4565b610d35565b34801561045e57600080fd5b5061035861046d3660046126f5565b610df4565b34801561047e57600080fd5b506103586361a6bb0081565b34801561049657600080fd5b5061035861271081565b3480156104ac57600080fd5b506103ad6104bb366004612717565b610f25565b3480156104cc57600080fd5b5060405160128152602001610362565b3480156104e857600080fd5b506103ad6104f7366004612688565b611011565b34801561050857600080fd5b506103366105173660046125ef565b61104d565b34801561052857600080fd5b5061035860075481565b34801561053e57600080fd5b5061033661054d36600461274c565b61105a565b34801561055e57600080fd5b50610358600281565b34801561057357600080fd5b50610336611155565b34801561058857600080fd5b506103806105973660046125ef565b611160565b3480156105a857600080fd5b506103586105b736600461274c565b6001600160a01b031660009081526001602052604090205490565b3480156105de57600080fd5b5061033661119b565b3480156105f357600080fd5b50610358678ac7230489e8000081565b34801561060f57600080fd5b5061033661061e366004612688565b6111ff565b34801561062f57600080fd5b5061035861063e3660046125ef565b600a6020526000908152604090205481565b34801561065c57600080fd5b5061033661066b3660046125ef565b611299565b34801561067c57600080fd5b50610358601e81565b34801561069157600080fd5b506103366106a0366004612688565b6112f8565b3480156106b157600080fd5b506103586106c036600461274c565b600d6020526000908152604090205481565b3480156106de57600080fd5b506000546040516001600160a01b039091168152602001610362565b610336610708366004612769565b611322565b34801561071957600080fd5b50610380611646565b34801561072e57600080fd5b5061033661073d3660046125ef565b611655565b34801561074e57600080fd5b5061033661075d3660046125ef565b6116b9565b34801561076e57600080fd5b506103ad61077d366004612688565b611718565b34801561078e57600080fd5b506103ad61079d366004612688565b6117c9565b3480156107ae57600080fd5b506103586107bd3660046125ef565b6117d6565b3480156107ce57600080fd5b506103366107dd3660046126b4565b611819565b3480156107ee57600080fd5b506103366107fd3660046127d4565b611840565b34801561080e57600080fd5b506103586361cf998081565b34801561082657600080fd5b50610336610835366004612688565b611986565b34801561084657600080fd5b5061035861085536600461285f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561088c57600080fd5b50610358636168ad1081565b3480156108a457600080fd5b5061035860085481565b3480156108ba57600080fd5b506103586108c9366004612717565b8051602081830181018051600c8252928201919093012091525481565b3480156108f257600080fd5b5061033661090136600461274c565b6119fc565b34801561091257600080fd5b50610336610921366004612688565b611adb565b34801561093257600080fd5b5061035860095481565b6006546040516331a9108f60e11b81526004810185905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561098057600080fd5b505afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b89190612898565b6001600160a01b0316146109ff5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b610a0882611b01565b827f08d728b8128aef131eaa9518167f8a974c7f7ca36b54a916875a9f50b79055e08383604051610a3a9291906128b5565b60405180910390a2505050565b60006361a6bb00821015610a655750683635c9adc5dea00000919050565b6361cf9980821015610a815750681b1ae4d6e2ef500000919050565b506000919050565b606060048054610a98906128ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac4906128ce565b8015610b115780601f10610ae657610100808354040283529160200191610b11565b820191906000526020600020905b815481529060010190602001808311610af457829003601f168201915b5050505050905090565b6000610b28338484611b67565b5060015b92915050565b6000546001600160a01b03163314610b8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b80610b945750475b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610be1576040519150601f19603f3d011682016040523d82523d6000602084013e610be6565b606091505b5050905080610c375760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e0000000000000000000000000000000060448201526064016109f6565b505050565b600b6020526000908152604090208054610c55906128ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610c81906128ce565b8015610cce5780601f10610ca357610100808354040283529160200191610cce565b820191906000526020600020905b815481529060010190602001808311610cb157829003601f168201915b505050505081565b6000546001600160a01b03163314610d305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b600955565b6000610d42848484611cbf565b6001600160a01b038416600090815260026020908152604080832033845290915290205482811015610ddc5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016109f6565b610de98533858403611b67565b506001949350505050565b60006361cf9980831115610e345762015180678ac7230489e80000610e19858561291f565b610e239190612936565b610e2d9190612955565b9050610b2c565b60006361a6bb00841015610e735783610e51846361a6bb00611ed8565b610e5b919061291f565b610e66906004612936565b610e709082612977565b90505b6361cf998084108015610e8957506361a6bb0083115b15610ecc57610e9c846361a6bb00611eee565b610eaa846361cf9980611ed8565b610eb4919061291f565b610ebf906002612936565b610ec99082612977565b90505b6361cf9980831115610efd57610ee6846361cf9980611eee565b610ef0908461291f565b610efa9082612977565b90505b62015180610f13678ac7230489e8000083612936565b610f1d9190612955565b949350505050565b6000600282511080610f385750601e8251115b15610f4557506000919050565b602060005b8351811015610ffb576000848281518110610f6757610f6761298f565b0160209081015160f81c915081148015610f8457508260ff166020145b15610f9457506000949350505050565b60208160ff1610158015610fac5750607e8160ff1611155b1580610fbb57508060ff16603c145b80610fc957508060ff16603e145b80610fd757508060ff166023145b15610fe757506000949350505050565b915080610ff3816129a5565b915050610f4a565b508060ff1660201415610b285750600092915050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610b28918590611048908690612977565b611b67565b6110573382611efd565b50565b6006546040517f438b63000000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600092169063438b63009060240160006040518083038186803b1580156110b957600080fd5b505afa1580156110cd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110f591908101906129c0565b90506000805b8251811015611144576111268382815181106111195761111961298f565b6020026020010151612082565b6111309083612977565b91508061113c816129a5565b9150506110fb565b508015610c3757610c3783826120cb565b61115e3361105a565b565b6060600b60008381526020019081526020016000206040516020016111859190612a46565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146111f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b61115e60006121aa565b600061120b8333610855565b9050818110156112825760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016109f6565b61128f8333848403611b67565b610c378383611efd565b6000546001600160a01b031633146112f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b600755565b336000908152600d602052604090205460011461131457600080fd5b61131e82826120cb565b5050565b80511580611334575061133481610f25565b6113805760405162461bcd60e51b815260206004820152600e60248201527f6e6f742076616c6964206e616d6500000000000000000000000000000000000060448201526064016109f6565b6006546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156113c457600080fd5b505afa1580156113d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fc9190612898565b6001600160a01b03161461143e5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016109f6565b600061144982612212565b8251909150156114dc576000600c826040516114659190612ae2565b9081526020016040518091039020549050806000148061148e575061148b846001612977565b81145b6114da5760405162461bcd60e51b815260206004820152600e60248201527f6e616d65206475706c696361746500000000000000000000000000000000000060448201526064016109f6565b505b6114e7600754611b01565b6000838152600b602052604081208054611500906128ce565b80601f016020809104026020016040519081016040528092919081815260200182805461152c906128ce565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b505050505090506000815111156115b557600c61159582612212565b6040516115a29190612ae2565b9081526020016040518091039020600090555b6000848152600b6020908152604090912084516115d49286019061244f565b50825115611608576115e7846001612977565b600c836040516115f79190612ae2565b908152604051908190036020019020555b837fb3762c87bda5e31381db82a46a4d787c981db17101772ccd3d7a0685ccd57e7d846040516116389190612660565b60405180910390a250505050565b606060058054610a98906128ce565b6000546001600160a01b031633146116af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b61105733826120cb565b6000546001600160a01b031633146117135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b600855565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156117b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109f6565b6117bf3385858403611b67565b5060019392505050565b6000610b28338484611cbf565b600481811c6000908152600a6020526040812054909183901b60f0161c61ffff16636168ad1061180861271083612936565b6118129190612977565b9392505050565b336000908152600d602052604090205460011461183557600080fd5b610c37838383611cbf565b6000805b825181101561197557600654835133916001600160a01b031690636352211e908690859081106118765761187661298f565b60200260200101516040518263ffffffff1660e01b815260040161189c91815260200190565b60206040518083038186803b1580156118b457600080fd5b505afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612898565b6001600160a01b0316146119425760405162461bcd60e51b815260206004820152600c60248201527f6964206e6f74206f776e6564000000000000000000000000000000000000000060448201526064016109f6565b6119578382815181106111195761111961298f565b6119619083612977565b91508061196d816129a5565b915050611844565b50801561131e5761131e33826120cb565b6000546001600160a01b031633146119e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b6001600160a01b039091166000908152600d6020526040902055565b6000546001600160a01b03163314611a565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b6001600160a01b038116611ad25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109f6565b611057816121aa565b336000908152600d6020526040902054600114611af757600080fd5b61131e8282611efd565b600034118015611b1357506000600954115b15611b5757600954600090611b2c34633b9aca00612936565b611b369190612955565b9050818110611b485760009150611b55565b611b52818361291f565b91505b505b8015611057576110573382611efd565b6001600160a01b038316611be25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038216611c5e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611d3b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038216611db75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b03831660009081526001602052604090205481811015611e465760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611e7d908490612977565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ec991815260200190565b60405180910390a35b50505050565b6000818310611ee75781611812565b5090919050565b6000818311611ee75781611812565b6001600160a01b038216611f795760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038216600090815260016020526040902054818110156120085760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038316600090815260016020526040812083830390556003805484929061203790849061291f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60008061208e836117d6565b9050600061209e42600854611ed8565b90506120aa8482612361565b9050636168ad108214156120c157610f1d81610a47565b610f1d8282610df4565b6001600160a01b0382166121215760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109f6565b80600360008282546121339190612977565b90915550506001600160a01b03821660009081526001602052604081208054839290612160908490612977565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60606000825167ffffffffffffffff811115612230576122306124e8565b6040519080825280601f01601f19166020018201604052801561225a576020820181803683370190505b50905060005b835181101561235a57600084828151811061227d5761227d61298f565b016020015160f81c90506041811080159061229c5750605a8160ff1611155b156123015760416122ae826061612afe565b6122b89190612b23565b60f81b8383815181106122cd576122cd61298f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612347565b8060f81b8383815181106123175761231761298f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b5080612352816129a5565b915050612260565b5092915050565b6000636168ad1082116123b65760405162461bcd60e51b815260206004820152600c60248201527f696e76616c69642074696d65000000000000000000000000000000000000000060448201526064016109f6565b600483811c6000908152600a60205260408120549185901b60f0169061ffff821b19906127106001816123ed636168ad108a61291f565b6123f79190612977565b612401919061291f565b61240b9190612955565b600488901c6000908152600a6020526040902085841682861b1790559050636168ad1061243a61271083612936565b6124449190612977565b979650505050505050565b82805461245b906128ce565b90600052602060002090601f01602090048101928261247d57600085556124c3565b82601f1061249657805160ff19168380011785556124c3565b828001600101855582156124c3579182015b828111156124c35782518255916020019190600101906124a8565b506124cf9291506124d3565b5090565b5b808211156124cf57600081556001016124d4565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612527576125276124e8565b604052919050565b600082601f83011261254057600080fd5b813567ffffffffffffffff81111561255a5761255a6124e8565b61256d601f8201601f19166020016124fe565b81815284602083860101111561258257600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156125b457600080fd5b8335925060208401359150604084013567ffffffffffffffff8111156125d957600080fd5b6125e58682870161252f565b9150509250925092565b60006020828403121561260157600080fd5b5035919050565b60005b8381101561262357818101518382015260200161260b565b83811115611ed25750506000910152565b6000815180845261264c816020860160208601612608565b601f01601f19169290920160200192915050565b6020815260006118126020830184612634565b6001600160a01b038116811461105757600080fd5b6000806040838503121561269b57600080fd5b82356126a681612673565b946020939093013593505050565b6000806000606084860312156126c957600080fd5b83356126d481612673565b925060208401356126e481612673565b929592945050506040919091013590565b6000806040838503121561270857600080fd5b50508035926020909101359150565b60006020828403121561272957600080fd5b813567ffffffffffffffff81111561274057600080fd5b610f1d8482850161252f565b60006020828403121561275e57600080fd5b813561181281612673565b6000806040838503121561277c57600080fd5b82359150602083013567ffffffffffffffff81111561279a57600080fd5b6127a68582860161252f565b9150509250929050565b600067ffffffffffffffff8211156127ca576127ca6124e8565b5060051b60200190565b600060208083850312156127e757600080fd5b823567ffffffffffffffff8111156127fe57600080fd5b8301601f8101851361280f57600080fd5b803561282261281d826127b0565b6124fe565b81815260059190911b8201830190838101908783111561284157600080fd5b928401925b8284101561244457833582529284019290840190612846565b6000806040838503121561287257600080fd5b823561287d81612673565b9150602083013561288d81612673565b809150509250929050565b6000602082840312156128aa57600080fd5b815161181281612673565b828152604060208201526000610f1d6040830184612634565b600181811c908216806128e257607f821691505b6020821081141561290357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561293157612931612909565b500390565b600081600019048311821515161561295057612950612909565b500290565b60008261297257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561298a5761298a612909565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156129b9576129b9612909565b5060010190565b600060208083850312156129d357600080fd5b825167ffffffffffffffff8111156129ea57600080fd5b8301601f810185136129fb57600080fd5b8051612a0961281d826127b0565b81815260059190911b82018301908381019087831115612a2857600080fd5b928401925b8284101561244457835182529284019290840190612a2d565b600080835481600182811c915080831680612a6257607f831692505b6020808410821415612a8257634e487b7160e01b86526022600452602486fd5b818015612a965760018114612aa757612ad4565b60ff19861689528489019650612ad4565b60008a81526020902060005b86811015612acc5781548b820152908501908301612ab3565b505084890196505b509498975050505050505050565b60008251612af4818460208701612608565b9190910192915050565b600060ff821660ff84168060ff03821115612b1b57612b1b612909565b019392505050565b600060ff821660ff841680821015612b3d57612b3d612909565b9003939250505056fea2646970667358221220a1e4a2a0e71f5ab3673d2cfe61616420d11b6be38aedd2b01fe1a254d580d7b464736f6c63430008090033000000000000000000000000f1987f66553460a4f0730ce17484f5a9a2e883a6000000000000000000000000000000000000000000000000000000000003d090
Deployed Bytecode
0x60806040526004361061031e5760003560e01c806379cc6790116101a5578063a9059cbb116100ec578063dd62ed3e11610095578063e4d2a5e01161006f578063e4d2a5e0146108ae578063f2fde38b146108e6578063f3b3ac0614610906578063f959ff521461092657600080fd5b8063dd62ed3e1461083a578063ddaa26ad14610880578063e2cc8d031461089857600080fd5b8063c94c7ff4116100c6578063c94c7ff4146107e2578063d0dec55b14610802578063d8ded14b1461081a57600080fd5b8063a9059cbb14610782578063b1209d4a146107a2578063bc870094146107c257600080fd5b80638da5cb5b1161014e578063a0712d6811610128578063a0712d6814610722578063a33972b414610742578063a457c2d71461076257600080fd5b80638da5cb5b146106d257806393d3949f146106fa57806395d89b411461070d57600080fd5b8063860749851161017f57806386074985146106705780638bee55b7146106855780638c8773b6146106a557600080fd5b806379cc6790146106035780637bfcbb801461062357806384a1b9021461065057600080fd5b80632cdabb781161026957806350cfeddd1161021257806370a08231116101ec57806370a082311461059c578063715018a6146105d257806373684856146105e757600080fd5b806350cfeddd1461055257806364dd2cc9146105675780636b8ff5741461057c57600080fd5b806342966c681161024357806342966c68146104fc57806345ca77381461051c57806346d46a531461053257600080fd5b80632cdabb78146104a0578063313ce567146104c057806339509351146104dc57600080fd5b806318160ddd116102cb57806327b80214116102a557806327b80214146104525780632ae683e4146104725780632caf9b501461048a57600080fd5b806318160ddd146103fd5780631cb0a2d21461041257806323b872dd1461043257600080fd5b8063095ea7b3116102fc578063095ea7b31461038d5780630cf20cc9146103bd5780630dea21bf146103dd57600080fd5b8063058b1d5b1461032357806305ba0a511461033857806306fdde031461036b575b600080fd5b61033661033136600461259f565b61093c565b005b34801561034457600080fd5b506103586103533660046125ef565b610a47565b6040519081526020015b60405180910390f35b34801561037757600080fd5b50610380610a89565b6040516103629190612660565b34801561039957600080fd5b506103ad6103a8366004612688565b610b1b565b6040519015158152602001610362565b3480156103c957600080fd5b506103366103d8366004612688565b610b32565b3480156103e957600080fd5b506103806103f83660046125ef565b610c3c565b34801561040957600080fd5b50600354610358565b34801561041e57600080fd5b5061033661042d3660046125ef565b610cd6565b34801561043e57600080fd5b506103ad61044d3660046126b4565b610d35565b34801561045e57600080fd5b5061035861046d3660046126f5565b610df4565b34801561047e57600080fd5b506103586361a6bb0081565b34801561049657600080fd5b5061035861271081565b3480156104ac57600080fd5b506103ad6104bb366004612717565b610f25565b3480156104cc57600080fd5b5060405160128152602001610362565b3480156104e857600080fd5b506103ad6104f7366004612688565b611011565b34801561050857600080fd5b506103366105173660046125ef565b61104d565b34801561052857600080fd5b5061035860075481565b34801561053e57600080fd5b5061033661054d36600461274c565b61105a565b34801561055e57600080fd5b50610358600281565b34801561057357600080fd5b50610336611155565b34801561058857600080fd5b506103806105973660046125ef565b611160565b3480156105a857600080fd5b506103586105b736600461274c565b6001600160a01b031660009081526001602052604090205490565b3480156105de57600080fd5b5061033661119b565b3480156105f357600080fd5b50610358678ac7230489e8000081565b34801561060f57600080fd5b5061033661061e366004612688565b6111ff565b34801561062f57600080fd5b5061035861063e3660046125ef565b600a6020526000908152604090205481565b34801561065c57600080fd5b5061033661066b3660046125ef565b611299565b34801561067c57600080fd5b50610358601e81565b34801561069157600080fd5b506103366106a0366004612688565b6112f8565b3480156106b157600080fd5b506103586106c036600461274c565b600d6020526000908152604090205481565b3480156106de57600080fd5b506000546040516001600160a01b039091168152602001610362565b610336610708366004612769565b611322565b34801561071957600080fd5b50610380611646565b34801561072e57600080fd5b5061033661073d3660046125ef565b611655565b34801561074e57600080fd5b5061033661075d3660046125ef565b6116b9565b34801561076e57600080fd5b506103ad61077d366004612688565b611718565b34801561078e57600080fd5b506103ad61079d366004612688565b6117c9565b3480156107ae57600080fd5b506103586107bd3660046125ef565b6117d6565b3480156107ce57600080fd5b506103366107dd3660046126b4565b611819565b3480156107ee57600080fd5b506103366107fd3660046127d4565b611840565b34801561080e57600080fd5b506103586361cf998081565b34801561082657600080fd5b50610336610835366004612688565b611986565b34801561084657600080fd5b5061035861085536600461285f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561088c57600080fd5b50610358636168ad1081565b3480156108a457600080fd5b5061035860085481565b3480156108ba57600080fd5b506103586108c9366004612717565b8051602081830181018051600c8252928201919093012091525481565b3480156108f257600080fd5b5061033661090136600461274c565b6119fc565b34801561091257600080fd5b50610336610921366004612688565b611adb565b34801561093257600080fd5b5061035860095481565b6006546040516331a9108f60e11b81526004810185905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561098057600080fd5b505afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b89190612898565b6001600160a01b0316146109ff5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b610a0882611b01565b827f08d728b8128aef131eaa9518167f8a974c7f7ca36b54a916875a9f50b79055e08383604051610a3a9291906128b5565b60405180910390a2505050565b60006361a6bb00821015610a655750683635c9adc5dea00000919050565b6361cf9980821015610a815750681b1ae4d6e2ef500000919050565b506000919050565b606060048054610a98906128ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac4906128ce565b8015610b115780601f10610ae657610100808354040283529160200191610b11565b820191906000526020600020905b815481529060010190602001808311610af457829003601f168201915b5050505050905090565b6000610b28338484611b67565b5060015b92915050565b6000546001600160a01b03163314610b8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b80610b945750475b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610be1576040519150601f19603f3d011682016040523d82523d6000602084013e610be6565b606091505b5050905080610c375760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e0000000000000000000000000000000060448201526064016109f6565b505050565b600b6020526000908152604090208054610c55906128ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610c81906128ce565b8015610cce5780601f10610ca357610100808354040283529160200191610cce565b820191906000526020600020905b815481529060010190602001808311610cb157829003601f168201915b505050505081565b6000546001600160a01b03163314610d305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b600955565b6000610d42848484611cbf565b6001600160a01b038416600090815260026020908152604080832033845290915290205482811015610ddc5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016109f6565b610de98533858403611b67565b506001949350505050565b60006361cf9980831115610e345762015180678ac7230489e80000610e19858561291f565b610e239190612936565b610e2d9190612955565b9050610b2c565b60006361a6bb00841015610e735783610e51846361a6bb00611ed8565b610e5b919061291f565b610e66906004612936565b610e709082612977565b90505b6361cf998084108015610e8957506361a6bb0083115b15610ecc57610e9c846361a6bb00611eee565b610eaa846361cf9980611ed8565b610eb4919061291f565b610ebf906002612936565b610ec99082612977565b90505b6361cf9980831115610efd57610ee6846361cf9980611eee565b610ef0908461291f565b610efa9082612977565b90505b62015180610f13678ac7230489e8000083612936565b610f1d9190612955565b949350505050565b6000600282511080610f385750601e8251115b15610f4557506000919050565b602060005b8351811015610ffb576000848281518110610f6757610f6761298f565b0160209081015160f81c915081148015610f8457508260ff166020145b15610f9457506000949350505050565b60208160ff1610158015610fac5750607e8160ff1611155b1580610fbb57508060ff16603c145b80610fc957508060ff16603e145b80610fd757508060ff166023145b15610fe757506000949350505050565b915080610ff3816129a5565b915050610f4a565b508060ff1660201415610b285750600092915050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610b28918590611048908690612977565b611b67565b6110573382611efd565b50565b6006546040517f438b63000000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600092169063438b63009060240160006040518083038186803b1580156110b957600080fd5b505afa1580156110cd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110f591908101906129c0565b90506000805b8251811015611144576111268382815181106111195761111961298f565b6020026020010151612082565b6111309083612977565b91508061113c816129a5565b9150506110fb565b508015610c3757610c3783826120cb565b61115e3361105a565b565b6060600b60008381526020019081526020016000206040516020016111859190612a46565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146111f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b61115e60006121aa565b600061120b8333610855565b9050818110156112825760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016109f6565b61128f8333848403611b67565b610c378383611efd565b6000546001600160a01b031633146112f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b600755565b336000908152600d602052604090205460011461131457600080fd5b61131e82826120cb565b5050565b80511580611334575061133481610f25565b6113805760405162461bcd60e51b815260206004820152600e60248201527f6e6f742076616c6964206e616d6500000000000000000000000000000000000060448201526064016109f6565b6006546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156113c457600080fd5b505afa1580156113d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fc9190612898565b6001600160a01b03161461143e5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016109f6565b600061144982612212565b8251909150156114dc576000600c826040516114659190612ae2565b9081526020016040518091039020549050806000148061148e575061148b846001612977565b81145b6114da5760405162461bcd60e51b815260206004820152600e60248201527f6e616d65206475706c696361746500000000000000000000000000000000000060448201526064016109f6565b505b6114e7600754611b01565b6000838152600b602052604081208054611500906128ce565b80601f016020809104026020016040519081016040528092919081815260200182805461152c906128ce565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b505050505090506000815111156115b557600c61159582612212565b6040516115a29190612ae2565b9081526020016040518091039020600090555b6000848152600b6020908152604090912084516115d49286019061244f565b50825115611608576115e7846001612977565b600c836040516115f79190612ae2565b908152604051908190036020019020555b837fb3762c87bda5e31381db82a46a4d787c981db17101772ccd3d7a0685ccd57e7d846040516116389190612660565b60405180910390a250505050565b606060058054610a98906128ce565b6000546001600160a01b031633146116af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b61105733826120cb565b6000546001600160a01b031633146117135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b600855565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156117b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109f6565b6117bf3385858403611b67565b5060019392505050565b6000610b28338484611cbf565b600481811c6000908152600a6020526040812054909183901b60f0161c61ffff16636168ad1061180861271083612936565b6118129190612977565b9392505050565b336000908152600d602052604090205460011461183557600080fd5b610c37838383611cbf565b6000805b825181101561197557600654835133916001600160a01b031690636352211e908690859081106118765761187661298f565b60200260200101516040518263ffffffff1660e01b815260040161189c91815260200190565b60206040518083038186803b1580156118b457600080fd5b505afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612898565b6001600160a01b0316146119425760405162461bcd60e51b815260206004820152600c60248201527f6964206e6f74206f776e6564000000000000000000000000000000000000000060448201526064016109f6565b6119578382815181106111195761111961298f565b6119619083612977565b91508061196d816129a5565b915050611844565b50801561131e5761131e33826120cb565b6000546001600160a01b031633146119e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b6001600160a01b039091166000908152600d6020526040902055565b6000546001600160a01b03163314611a565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109f6565b6001600160a01b038116611ad25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109f6565b611057816121aa565b336000908152600d6020526040902054600114611af757600080fd5b61131e8282611efd565b600034118015611b1357506000600954115b15611b5757600954600090611b2c34633b9aca00612936565b611b369190612955565b9050818110611b485760009150611b55565b611b52818361291f565b91505b505b8015611057576110573382611efd565b6001600160a01b038316611be25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038216611c5e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611d3b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038216611db75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b03831660009081526001602052604090205481811015611e465760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611e7d908490612977565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ec991815260200190565b60405180910390a35b50505050565b6000818310611ee75781611812565b5090919050565b6000818311611ee75781611812565b6001600160a01b038216611f795760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038216600090815260016020526040902054818110156120085760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038316600090815260016020526040812083830390556003805484929061203790849061291f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60008061208e836117d6565b9050600061209e42600854611ed8565b90506120aa8482612361565b9050636168ad108214156120c157610f1d81610a47565b610f1d8282610df4565b6001600160a01b0382166121215760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109f6565b80600360008282546121339190612977565b90915550506001600160a01b03821660009081526001602052604081208054839290612160908490612977565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60606000825167ffffffffffffffff811115612230576122306124e8565b6040519080825280601f01601f19166020018201604052801561225a576020820181803683370190505b50905060005b835181101561235a57600084828151811061227d5761227d61298f565b016020015160f81c90506041811080159061229c5750605a8160ff1611155b156123015760416122ae826061612afe565b6122b89190612b23565b60f81b8383815181106122cd576122cd61298f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612347565b8060f81b8383815181106123175761231761298f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b5080612352816129a5565b915050612260565b5092915050565b6000636168ad1082116123b65760405162461bcd60e51b815260206004820152600c60248201527f696e76616c69642074696d65000000000000000000000000000000000000000060448201526064016109f6565b600483811c6000908152600a60205260408120549185901b60f0169061ffff821b19906127106001816123ed636168ad108a61291f565b6123f79190612977565b612401919061291f565b61240b9190612955565b600488901c6000908152600a6020526040902085841682861b1790559050636168ad1061243a61271083612936565b6124449190612977565b979650505050505050565b82805461245b906128ce565b90600052602060002090601f01602090048101928261247d57600085556124c3565b82601f1061249657805160ff19168380011785556124c3565b828001600101855582156124c3579182015b828111156124c35782518255916020019190600101906124a8565b506124cf9291506124d3565b5090565b5b808211156124cf57600081556001016124d4565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612527576125276124e8565b604052919050565b600082601f83011261254057600080fd5b813567ffffffffffffffff81111561255a5761255a6124e8565b61256d601f8201601f19166020016124fe565b81815284602083860101111561258257600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156125b457600080fd5b8335925060208401359150604084013567ffffffffffffffff8111156125d957600080fd5b6125e58682870161252f565b9150509250925092565b60006020828403121561260157600080fd5b5035919050565b60005b8381101561262357818101518382015260200161260b565b83811115611ed25750506000910152565b6000815180845261264c816020860160208601612608565b601f01601f19169290920160200192915050565b6020815260006118126020830184612634565b6001600160a01b038116811461105757600080fd5b6000806040838503121561269b57600080fd5b82356126a681612673565b946020939093013593505050565b6000806000606084860312156126c957600080fd5b83356126d481612673565b925060208401356126e481612673565b929592945050506040919091013590565b6000806040838503121561270857600080fd5b50508035926020909101359150565b60006020828403121561272957600080fd5b813567ffffffffffffffff81111561274057600080fd5b610f1d8482850161252f565b60006020828403121561275e57600080fd5b813561181281612673565b6000806040838503121561277c57600080fd5b82359150602083013567ffffffffffffffff81111561279a57600080fd5b6127a68582860161252f565b9150509250929050565b600067ffffffffffffffff8211156127ca576127ca6124e8565b5060051b60200190565b600060208083850312156127e757600080fd5b823567ffffffffffffffff8111156127fe57600080fd5b8301601f8101851361280f57600080fd5b803561282261281d826127b0565b6124fe565b81815260059190911b8201830190838101908783111561284157600080fd5b928401925b8284101561244457833582529284019290840190612846565b6000806040838503121561287257600080fd5b823561287d81612673565b9150602083013561288d81612673565b809150509250929050565b6000602082840312156128aa57600080fd5b815161181281612673565b828152604060208201526000610f1d6040830184612634565b600181811c908216806128e257607f821691505b6020821081141561290357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561293157612931612909565b500390565b600081600019048311821515161561295057612950612909565b500290565b60008261297257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561298a5761298a612909565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156129b9576129b9612909565b5060010190565b600060208083850312156129d357600080fd5b825167ffffffffffffffff8111156129ea57600080fd5b8301601f810185136129fb57600080fd5b8051612a0961281d826127b0565b81815260059190911b82018301908381019087831115612a2857600080fd5b928401925b8284101561244457835182529284019290840190612a2d565b600080835481600182811c915080831680612a6257607f831692505b6020808410821415612a8257634e487b7160e01b86526022600452602486fd5b818015612a965760018114612aa757612ad4565b60ff19861689528489019650612ad4565b60008a81526020902060005b86811015612acc5781548b820152908501908301612ab3565b505084890196505b509498975050505050505050565b60008251612af4818460208701612608565b9190910192915050565b600060ff821660ff84168060ff03821115612b1b57612b1b612909565b019392505050565b600060ff821660ff841680821015612b3d57612b3d612909565b9003939250505056fea2646970667358221220a1e4a2a0e71f5ab3673d2cfe61616420d11b6be38aedd2b01fe1a254d580d7b464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f1987f66553460a4f0730ce17484f5a9a2e883a6000000000000000000000000000000000000000000000000000000000003d090
-----Decoded View---------------
Arg [0] : nftContract (address): 0xf1987F66553460a4F0730Ce17484F5a9A2E883a6
Arg [1] : initialSupply (uint256): 250000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f1987f66553460a4f0730ce17484f5a9a2e883a6
Arg [1] : 000000000000000000000000000000000000000000000000000000000003d090
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.