ERC-20
Overview
Max Total Supply
14,803,252.925193004359984681 CHEETH
Holders
1,238
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
711.936274 CHEETHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CheethV3
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./Interfaces.sol"; contract CheethV3 is ERC20Burnable, Ownable { uint256 public constant MAX_SUPPLY = 21_000_000; address private _rewarderAddress; address public genesisAddress; address public babyAddress; bool public isSignatureClaimEnabled; mapping(uint256 => bool) public claimedBabies; mapping(uint256 => bool) public claimedGenesis; mapping(address => bool) public claimedWallets; constructor() ERC20("Cheeth", "CHEETH") { isSignatureClaimEnabled = true; } function claimCheeth(uint256 outcome, bytes calldata signature) external { ( uint256[] memory genesisTokens, uint256 genesisClaimableCheeth, uint256[] memory babyTokens, uint256 babyClaimableCheeth ) = getClaimableData(msg.sender); for (uint256 index = 0; index < genesisTokens.length; index++) { claimedGenesis[genesisTokens[index]] = true; } for (uint256 index = 0; index < babyTokens.length; index++) { claimedBabies[babyTokens[index]] = true; } if (outcome > 0) { _validateCheethClaimSignature(outcome, signature); claimedWallets[msg.sender] = true; } _safeMint(msg.sender, genesisClaimableCheeth + babyClaimableCheeth + outcome); } function _validateCheethClaimSignature(uint256 outcome, bytes calldata signature) internal view { require(isSignatureClaimEnabled, "signature claim disabled"); require(!claimedWallets[msg.sender], "not allowed"); bytes32 messageHash = keccak256(abi.encodePacked(outcome, msg.sender)); require(_verifySignature(messageHash, signature), "invalid signature"); } function getClaimableData(address owner) public view returns ( uint256[] memory genesisTokens, uint256 genesisClaimableCheeth, uint256[] memory babyTokens, uint256 babyClaimableCheeth ) { genesisTokens = _getClaimableGenesisTokens(owner); babyTokens = _getClaimableBabyTokens(owner); genesisClaimableCheeth = genesisTokens.length * 4500 ether; babyClaimableCheeth = babyTokens.length * 1125 ether; return (genesisTokens, genesisClaimableCheeth, babyTokens, babyClaimableCheeth); } function setIsSignatureClaimEnabled(bool _isSignatureClaimEnabled) external onlyOwner { isSignatureClaimEnabled = _isSignatureClaimEnabled; } function setAddresses( address _genesisAddress, address _babyAddress, address rewarderAddress ) external onlyOwner { genesisAddress = _genesisAddress; babyAddress = _babyAddress; _rewarderAddress = rewarderAddress; } function _getClaimableGenesisTokens(address owner) internal view returns (uint256[] memory) { uint256[] memory tokens = _getAllTokens(genesisAddress, owner); uint256 claimableTokensCount; for (uint256 index = 0; index < tokens.length; index++) { uint256 tokenId = tokens[index]; if (!claimedGenesis[tokenId]) { claimableTokensCount++; } } uint256[] memory claimableTokens = new uint256[](claimableTokensCount); uint256 resultsIndex; for (uint256 index = 0; index < tokens.length; index++) { uint256 tokenId = tokens[index]; if (!claimedGenesis[tokenId]) { claimableTokens[resultsIndex] = tokenId; resultsIndex++; } } return claimableTokens; } function _getClaimableBabyTokens(address owner) internal view returns (uint256[] memory) { uint256[] memory tokens = _getAllTokens(babyAddress, owner); uint256 claimableTokensCount; for (uint256 index = 0; index < tokens.length; index++) { uint256 tokenId = tokens[index]; if (!claimedBabies[tokenId]) { claimableTokensCount++; } } uint256[] memory claimableTokens = new uint256[](claimableTokensCount); uint256 resultsIndex; for (uint256 index = 0; index < tokens.length; index++) { uint256 tokenId = tokens[index]; if (!claimedBabies[tokenId]) { claimableTokens[resultsIndex] = tokenId; resultsIndex++; } } return claimableTokens; } function _getAllTokens(address tokenAddress, address owner) internal view returns (uint256[] memory) { uint256 tokenCount = IERC721Enumerable(tokenAddress).balanceOf(owner); uint256[] memory tokens = new uint256[](tokenCount); for (uint256 index = 0; index < tokenCount; index++) { tokens[index] = IERC721Enumerable(tokenAddress).tokenOfOwnerByIndex(owner, index); } return tokens; } function _safeMint(address to, uint256 amount) internal { uint256 newSupply = totalSupply() + amount; require(newSupply <= MAX_SUPPLY * 1 ether, "max supply"); _mint(to, amount); } function _verifySignature(bytes32 messageHash, bytes memory signature) internal view returns (bool) { return ECDSA.recover(ECDSA.toEthSignedMessageHash(messageHash), signature) == _rewarderAddress; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; interface RewardLike { function mintMany(address to, uint256 amount) external; } interface IDNAChip is RewardLike { function tokenIdToTraits(uint256 tokenId) external view returns (uint256); function isEvolutionPod(uint256 tokenId) external view returns (bool); function breedingIdToEvolutionPod(uint256 tokenId) external view returns (uint256); } interface IDescriptor { function tokenURI(uint256 _tokenId) external view returns (string memory); function tokenBreedingURI(uint256 _tokenId, uint256 _breedingId) external view returns (string memory); } interface IEvolutionTraits { function getDNAChipSVG(uint256 base) external view returns (string memory); function getEvolutionPodImageTag(uint256 base) external view returns (string memory); function getTraitsImageTags(uint8[8] memory traits) external view returns (string memory); function getMetadata(uint8[8] memory traits) external view returns (string memory); } interface IERC721Like { function transferFrom( address from, address to, uint256 id ) external; function transfer(address to, uint256 id) external; function ownerOf(uint256 id) external returns (address owner); function mint(address to, uint256 tokenid) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"MAX_SUPPLY","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":[],"name":"babyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"outcome","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claimCheeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedBabies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedGenesis","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"genesisAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getClaimableData","outputs":[{"internalType":"uint256[]","name":"genesisTokens","type":"uint256[]"},{"internalType":"uint256","name":"genesisClaimableCheeth","type":"uint256"},{"internalType":"uint256[]","name":"babyTokens","type":"uint256[]"},{"internalType":"uint256","name":"babyClaimableCheeth","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":[],"name":"isSignatureClaimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_genesisAddress","type":"address"},{"internalType":"address","name":"_babyAddress","type":"address"},{"internalType":"address","name":"rewarderAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSignatureClaimEnabled","type":"bool"}],"name":"setIsSignatureClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405180604001604052806006815260200165086d0cacae8d60d31b81525060405180604001604052806006815260200165086908a8aa8960d31b8152508160039080519060200190620000689291906200010a565b5080516200007e9060049060208401906200010a565b5050506200009b62000095620000b460201b60201c565b620000b8565b6008805460ff60a01b1916600160a01b179055620001ed565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011890620001b0565b90600052602060002090601f0160209004810192826200013c576000855562000187565b82601f106200015757805160ff191683800117855562000187565b8280016001018555821562000187579182015b82811115620001875782518255916020019190600101906200016a565b506200019592915062000199565b5090565b5b808211156200019557600081556001016200019a565b600181811c90821680620001c557607f821691505b60208210811415620001e757634e487b7160e01b600052602260045260246000fd5b50919050565b611dc080620001fd6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806345ceca0e116100f95780638da5cb5b11610097578063a9059cbb11610071578063a9059cbb146103ca578063dd62ed3e146103dd578063e82d71b414610416578063f2fde38b1461042957600080fd5b80638da5cb5b1461039e57806395d89b41146103af578063a457c2d7146103b757600080fd5b806370a08231116100d357806370a0823114610346578063715018a61461036f57806374b071ae1461037757806379cc67901461038b57600080fd5b806345ceca0e146102ed5780636065fb331461031057806369b027b81461032357600080fd5b806323b872dd1161016657806332cb6b0c1161014057806332cb6b0c146102a9578063363bf964146102b457806339509351146102c757806342966c68146102da57600080fd5b806323b872dd146102645780632d8902ce14610277578063313ce5671461029a57600080fd5b806306fdde03146101ae578063095ea7b3146101cc5780630ad1ed7b146101ef5780630bb96d871461021257806315fa98ef1461022757806318160ddd14610252575b600080fd5b6101b661043c565b6040516101c39190611c04565b60405180910390f35b6101df6101da366004611a92565b6104ce565b60405190151581526020016101c3565b6101df6101fd366004611ade565b60096020526000908152604090205460ff1681565b610225610220366004611abc565b6104e4565b005b60085461023a906001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b6002545b6040519081526020016101c3565b6101df610272366004611a56565b610535565b61028a6102853660046119be565b6105df565b6040516101c39493929190611bc7565b604051601281526020016101c3565b6102566301406f4081565b6102256102c2366004611a13565b610634565b6101df6102d5366004611a92565b61069d565b6102256102e8366004611ade565b6106d9565b6101df6102fb366004611ade565b600a6020526000908152604090205460ff1681565b60075461023a906001600160a01b031681565b6101df6103313660046119be565b600b6020526000908152604090205460ff1681565b6102566103543660046119be565b6001600160a01b031660009081526020819052604090205490565b6102256106e6565b6008546101df90600160a01b900460ff1681565b610225610399366004611a92565b61071c565b6005546001600160a01b031661023a565b6101b66107a2565b6101df6103c5366004611a92565b6107b1565b6101df6103d8366004611a92565b61084a565b6102566103eb3660046119e0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610225610424366004611b10565b610857565b6102256104373660046119be565b61098b565b60606003805461044b90611cdc565b80601f016020809104026020016040519081016040528092919081815260200182805461047790611cdc565b80156104c45780601f10610499576101008083540402835291602001916104c4565b820191906000526020600020905b8154815290600101906020018083116104a757829003601f168201915b5050505050905090565b60006104db338484610a23565b50600192915050565b6005546001600160a01b031633146105175760405162461bcd60e51b815260040161050e90611c59565b60405180910390fd5b60088054911515600160a01b0260ff60a01b19909216919091179055565b6000610542848484610b47565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105c75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161050e565b6105d48533858403610a23565b506001949350505050565b60606000606060006105f085610d17565b93506105fb85610e76565b9150835168f3f20b8dfa69d000006106139190611ca6565b92508151683cfc82e37e9a74000061062b9190611ca6565b90509193509193565b6005546001600160a01b0316331461065e5760405162461bcd60e51b815260040161050e90611c59565b600780546001600160a01b039485166001600160a01b031991821617909155600880549385169382169390931790925560068054919093169116179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104db9185906106d4908690611c8e565b610a23565b6106e33382610fca565b50565b6005546001600160a01b031633146107105760405162461bcd60e51b815260040161050e90611c59565b61071a6000611118565b565b600061072883336103eb565b9050818110156107865760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161050e565b6107938333848403610a23565b61079d8383610fca565b505050565b60606004805461044b90611cdc565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108335760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161050e565b6108403385858403610a23565b5060019392505050565b60006104db338484610b47565b600080600080610866336105df565b935093509350935060005b84518110156108d2576001600a600087848151811061089257610892611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806108ca90611d17565b915050610871565b5060005b8251811015610937576001600960008584815181106108f7576108f7611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061092f90611d17565b9150506108d6565b5086156109645761094987878761116a565b336000908152600b60205260409020805460ff191660011790555b61098233886109738487611c8e565b61097d9190611c8e565b6112d9565b50505050505050565b6005546001600160a01b031633146109b55760405162461bcd60e51b815260040161050e90611c59565b6001600160a01b038116610a1a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050e565b6106e381611118565b6001600160a01b038316610a855760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161050e565b6001600160a01b038216610ae65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161050e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161050e565b6001600160a01b038216610c0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161050e565b6001600160a01b03831660009081526020819052604090205481811015610c855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161050e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610cbc908490611c8e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0891815260200190565b60405180910390a35b50505050565b600754606090600090610d33906001600160a01b03168461134d565b90506000805b8251811015610d9d576000838281518110610d5657610d56611d5e565b6020908102919091018101516000818152600a90925260409091205490915060ff16610d8a5782610d8681611d17565b9350505b5080610d9581611d17565b915050610d39565b5060008167ffffffffffffffff811115610db957610db9611d74565b604051908082528060200260200182016040528015610de2578160200160208202803683370190505b5090506000805b8451811015610e6b576000858281518110610e0657610e06611d5e565b6020908102919091018101516000818152600a90925260409091205490915060ff16610e585780848481518110610e3f57610e3f611d5e565b602090810291909101015282610e5481611d17565b9350505b5080610e6381611d17565b915050610de9565b509095945050505050565b600854606090600090610e92906001600160a01b03168461134d565b90506000805b8251811015610efc576000838281518110610eb557610eb5611d5e565b6020908102919091018101516000818152600990925260409091205490915060ff16610ee95782610ee581611d17565b9350505b5080610ef481611d17565b915050610e98565b5060008167ffffffffffffffff811115610f1857610f18611d74565b604051908082528060200260200182016040528015610f41578160200160208202803683370190505b5090506000805b8451811015610e6b576000858281518110610f6557610f65611d5e565b6020908102919091018101516000818152600990925260409091205490915060ff16610fb75780848481518110610f9e57610f9e611d5e565b602090810291909101015282610fb381611d17565b9350505b5080610fc281611d17565b915050610f48565b6001600160a01b03821661102a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161050e565b6001600160a01b0382166000908152602081905260409020548181101561109e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161050e565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110cd908490611cc5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600854600160a01b900460ff166111c35760405162461bcd60e51b815260206004820152601860248201527f7369676e617475726520636c61696d2064697361626c65640000000000000000604482015260640161050e565b336000908152600b602052604090205460ff16156112115760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b604482015260640161050e565b6000833360405160200161124192919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012090506112998184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114d892505050565b610d115760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b604482015260640161050e565b6000816112e560025490565b6112ef9190611c8e565b90506113076301406f40670de0b6b3a7640000611ca6565b8111156113435760405162461bcd60e51b815260206004820152600a6024820152696d617820737570706c7960b01b604482015260640161050e565b61079d8383611558565b6040516370a0823160e01b81526001600160a01b0382811660048301526060916000918516906370a082319060240160206040518083038186803b15801561139457600080fd5b505afa1580156113a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cc9190611af7565b905060008167ffffffffffffffff8111156113e9576113e9611d74565b604051908082528060200260200182016040528015611412578160200160208202803683370190505b50905060005b828110156114cf57604051632f745c5960e01b81526001600160a01b03868116600483015260248201839052871690632f745c599060440160206040518083038186803b15801561146857600080fd5b505afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190611af7565b8282815181106114b2576114b2611d5e565b6020908102919091010152806114c781611d17565b915050611418565b50949350505050565b6006546000906001600160a01b0316611547611541856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b84611637565b6001600160a01b0316149392505050565b6001600160a01b0382166115ae5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161050e565b80600260008282546115c09190611c8e565b90915550506001600160a01b038216600090815260208190526040812080548392906115ed908490611c8e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000806000611646858561165b565b91509150611653816116cb565b509392505050565b6000808251604114156116925760208301516040840151606085015160001a61168687828585611886565b945094505050506116c4565b8251604014156116bc57602083015160408401516116b1868383611973565b9350935050506116c4565b506000905060025b9250929050565b60008160048111156116df576116df611d48565b14156116e85750565b60018160048111156116fc576116fc611d48565b141561174a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161050e565b600281600481111561175e5761175e611d48565b14156117ac5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161050e565b60038160048111156117c0576117c0611d48565b14156118195760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161050e565b600481600481111561182d5761182d611d48565b14156106e35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161050e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156118bd575060009050600361196a565b8460ff16601b141580156118d557508460ff16601c14155b156118e6575060009050600461196a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561193a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119635760006001925092505061196a565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b0161199487828885611886565b935093505050935093915050565b80356001600160a01b03811681146119b957600080fd5b919050565b6000602082840312156119d057600080fd5b6119d9826119a2565b9392505050565b600080604083850312156119f357600080fd5b6119fc836119a2565b9150611a0a602084016119a2565b90509250929050565b600080600060608486031215611a2857600080fd5b611a31846119a2565b9250611a3f602085016119a2565b9150611a4d604085016119a2565b90509250925092565b600080600060608486031215611a6b57600080fd5b611a74846119a2565b9250611a82602085016119a2565b9150604084013590509250925092565b60008060408385031215611aa557600080fd5b611aae836119a2565b946020939093013593505050565b600060208284031215611ace57600080fd5b813580151581146119d957600080fd5b600060208284031215611af057600080fd5b5035919050565b600060208284031215611b0957600080fd5b5051919050565b600080600060408486031215611b2557600080fd5b83359250602084013567ffffffffffffffff80821115611b4457600080fd5b818601915086601f830112611b5857600080fd5b813581811115611b6757600080fd5b876020828501011115611b7957600080fd5b6020830194508093505050509250925092565b600081518084526020808501945080840160005b83811015611bbc57815187529582019590820190600101611ba0565b509495945050505050565b608081526000611bda6080830187611b8c565b8560208401528281036040840152611bf28186611b8c565b91505082606083015295945050505050565b600060208083528351808285015260005b81811015611c3157858101830151858201604001528201611c15565b81811115611c43576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611ca157611ca1611d32565b500190565b6000816000190483118215151615611cc057611cc0611d32565b500290565b600082821015611cd757611cd7611d32565b500390565b600181811c90821680611cf057607f821691505b60208210811415611d1157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d2b57611d2b611d32565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220823421e707309267b55c854a1d0a4e951720287caa82fe9edc3c9eb16725f3c264736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806345ceca0e116100f95780638da5cb5b11610097578063a9059cbb11610071578063a9059cbb146103ca578063dd62ed3e146103dd578063e82d71b414610416578063f2fde38b1461042957600080fd5b80638da5cb5b1461039e57806395d89b41146103af578063a457c2d7146103b757600080fd5b806370a08231116100d357806370a0823114610346578063715018a61461036f57806374b071ae1461037757806379cc67901461038b57600080fd5b806345ceca0e146102ed5780636065fb331461031057806369b027b81461032357600080fd5b806323b872dd1161016657806332cb6b0c1161014057806332cb6b0c146102a9578063363bf964146102b457806339509351146102c757806342966c68146102da57600080fd5b806323b872dd146102645780632d8902ce14610277578063313ce5671461029a57600080fd5b806306fdde03146101ae578063095ea7b3146101cc5780630ad1ed7b146101ef5780630bb96d871461021257806315fa98ef1461022757806318160ddd14610252575b600080fd5b6101b661043c565b6040516101c39190611c04565b60405180910390f35b6101df6101da366004611a92565b6104ce565b60405190151581526020016101c3565b6101df6101fd366004611ade565b60096020526000908152604090205460ff1681565b610225610220366004611abc565b6104e4565b005b60085461023a906001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b6002545b6040519081526020016101c3565b6101df610272366004611a56565b610535565b61028a6102853660046119be565b6105df565b6040516101c39493929190611bc7565b604051601281526020016101c3565b6102566301406f4081565b6102256102c2366004611a13565b610634565b6101df6102d5366004611a92565b61069d565b6102256102e8366004611ade565b6106d9565b6101df6102fb366004611ade565b600a6020526000908152604090205460ff1681565b60075461023a906001600160a01b031681565b6101df6103313660046119be565b600b6020526000908152604090205460ff1681565b6102566103543660046119be565b6001600160a01b031660009081526020819052604090205490565b6102256106e6565b6008546101df90600160a01b900460ff1681565b610225610399366004611a92565b61071c565b6005546001600160a01b031661023a565b6101b66107a2565b6101df6103c5366004611a92565b6107b1565b6101df6103d8366004611a92565b61084a565b6102566103eb3660046119e0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610225610424366004611b10565b610857565b6102256104373660046119be565b61098b565b60606003805461044b90611cdc565b80601f016020809104026020016040519081016040528092919081815260200182805461047790611cdc565b80156104c45780601f10610499576101008083540402835291602001916104c4565b820191906000526020600020905b8154815290600101906020018083116104a757829003601f168201915b5050505050905090565b60006104db338484610a23565b50600192915050565b6005546001600160a01b031633146105175760405162461bcd60e51b815260040161050e90611c59565b60405180910390fd5b60088054911515600160a01b0260ff60a01b19909216919091179055565b6000610542848484610b47565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105c75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161050e565b6105d48533858403610a23565b506001949350505050565b60606000606060006105f085610d17565b93506105fb85610e76565b9150835168f3f20b8dfa69d000006106139190611ca6565b92508151683cfc82e37e9a74000061062b9190611ca6565b90509193509193565b6005546001600160a01b0316331461065e5760405162461bcd60e51b815260040161050e90611c59565b600780546001600160a01b039485166001600160a01b031991821617909155600880549385169382169390931790925560068054919093169116179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104db9185906106d4908690611c8e565b610a23565b6106e33382610fca565b50565b6005546001600160a01b031633146107105760405162461bcd60e51b815260040161050e90611c59565b61071a6000611118565b565b600061072883336103eb565b9050818110156107865760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161050e565b6107938333848403610a23565b61079d8383610fca565b505050565b60606004805461044b90611cdc565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108335760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161050e565b6108403385858403610a23565b5060019392505050565b60006104db338484610b47565b600080600080610866336105df565b935093509350935060005b84518110156108d2576001600a600087848151811061089257610892611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806108ca90611d17565b915050610871565b5060005b8251811015610937576001600960008584815181106108f7576108f7611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061092f90611d17565b9150506108d6565b5086156109645761094987878761116a565b336000908152600b60205260409020805460ff191660011790555b61098233886109738487611c8e565b61097d9190611c8e565b6112d9565b50505050505050565b6005546001600160a01b031633146109b55760405162461bcd60e51b815260040161050e90611c59565b6001600160a01b038116610a1a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050e565b6106e381611118565b6001600160a01b038316610a855760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161050e565b6001600160a01b038216610ae65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161050e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161050e565b6001600160a01b038216610c0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161050e565b6001600160a01b03831660009081526020819052604090205481811015610c855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161050e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610cbc908490611c8e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0891815260200190565b60405180910390a35b50505050565b600754606090600090610d33906001600160a01b03168461134d565b90506000805b8251811015610d9d576000838281518110610d5657610d56611d5e565b6020908102919091018101516000818152600a90925260409091205490915060ff16610d8a5782610d8681611d17565b9350505b5080610d9581611d17565b915050610d39565b5060008167ffffffffffffffff811115610db957610db9611d74565b604051908082528060200260200182016040528015610de2578160200160208202803683370190505b5090506000805b8451811015610e6b576000858281518110610e0657610e06611d5e565b6020908102919091018101516000818152600a90925260409091205490915060ff16610e585780848481518110610e3f57610e3f611d5e565b602090810291909101015282610e5481611d17565b9350505b5080610e6381611d17565b915050610de9565b509095945050505050565b600854606090600090610e92906001600160a01b03168461134d565b90506000805b8251811015610efc576000838281518110610eb557610eb5611d5e565b6020908102919091018101516000818152600990925260409091205490915060ff16610ee95782610ee581611d17565b9350505b5080610ef481611d17565b915050610e98565b5060008167ffffffffffffffff811115610f1857610f18611d74565b604051908082528060200260200182016040528015610f41578160200160208202803683370190505b5090506000805b8451811015610e6b576000858281518110610f6557610f65611d5e565b6020908102919091018101516000818152600990925260409091205490915060ff16610fb75780848481518110610f9e57610f9e611d5e565b602090810291909101015282610fb381611d17565b9350505b5080610fc281611d17565b915050610f48565b6001600160a01b03821661102a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161050e565b6001600160a01b0382166000908152602081905260409020548181101561109e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161050e565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110cd908490611cc5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600854600160a01b900460ff166111c35760405162461bcd60e51b815260206004820152601860248201527f7369676e617475726520636c61696d2064697361626c65640000000000000000604482015260640161050e565b336000908152600b602052604090205460ff16156112115760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b604482015260640161050e565b6000833360405160200161124192919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012090506112998184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114d892505050565b610d115760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b604482015260640161050e565b6000816112e560025490565b6112ef9190611c8e565b90506113076301406f40670de0b6b3a7640000611ca6565b8111156113435760405162461bcd60e51b815260206004820152600a6024820152696d617820737570706c7960b01b604482015260640161050e565b61079d8383611558565b6040516370a0823160e01b81526001600160a01b0382811660048301526060916000918516906370a082319060240160206040518083038186803b15801561139457600080fd5b505afa1580156113a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cc9190611af7565b905060008167ffffffffffffffff8111156113e9576113e9611d74565b604051908082528060200260200182016040528015611412578160200160208202803683370190505b50905060005b828110156114cf57604051632f745c5960e01b81526001600160a01b03868116600483015260248201839052871690632f745c599060440160206040518083038186803b15801561146857600080fd5b505afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190611af7565b8282815181106114b2576114b2611d5e565b6020908102919091010152806114c781611d17565b915050611418565b50949350505050565b6006546000906001600160a01b0316611547611541856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b84611637565b6001600160a01b0316149392505050565b6001600160a01b0382166115ae5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161050e565b80600260008282546115c09190611c8e565b90915550506001600160a01b038216600090815260208190526040812080548392906115ed908490611c8e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000806000611646858561165b565b91509150611653816116cb565b509392505050565b6000808251604114156116925760208301516040840151606085015160001a61168687828585611886565b945094505050506116c4565b8251604014156116bc57602083015160408401516116b1868383611973565b9350935050506116c4565b506000905060025b9250929050565b60008160048111156116df576116df611d48565b14156116e85750565b60018160048111156116fc576116fc611d48565b141561174a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161050e565b600281600481111561175e5761175e611d48565b14156117ac5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161050e565b60038160048111156117c0576117c0611d48565b14156118195760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161050e565b600481600481111561182d5761182d611d48565b14156106e35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161050e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156118bd575060009050600361196a565b8460ff16601b141580156118d557508460ff16601c14155b156118e6575060009050600461196a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561193a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119635760006001925092505061196a565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b0161199487828885611886565b935093505050935093915050565b80356001600160a01b03811681146119b957600080fd5b919050565b6000602082840312156119d057600080fd5b6119d9826119a2565b9392505050565b600080604083850312156119f357600080fd5b6119fc836119a2565b9150611a0a602084016119a2565b90509250929050565b600080600060608486031215611a2857600080fd5b611a31846119a2565b9250611a3f602085016119a2565b9150611a4d604085016119a2565b90509250925092565b600080600060608486031215611a6b57600080fd5b611a74846119a2565b9250611a82602085016119a2565b9150604084013590509250925092565b60008060408385031215611aa557600080fd5b611aae836119a2565b946020939093013593505050565b600060208284031215611ace57600080fd5b813580151581146119d957600080fd5b600060208284031215611af057600080fd5b5035919050565b600060208284031215611b0957600080fd5b5051919050565b600080600060408486031215611b2557600080fd5b83359250602084013567ffffffffffffffff80821115611b4457600080fd5b818601915086601f830112611b5857600080fd5b813581811115611b6757600080fd5b876020828501011115611b7957600080fd5b6020830194508093505050509250925092565b600081518084526020808501945080840160005b83811015611bbc57815187529582019590820190600101611ba0565b509495945050505050565b608081526000611bda6080830187611b8c565b8560208401528281036040840152611bf28186611b8c565b91505082606083015295945050505050565b600060208083528351808285015260005b81811015611c3157858101830151858201604001528201611c15565b81811115611c43576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611ca157611ca1611d32565b500190565b6000816000190483118215151615611cc057611cc0611d32565b500290565b600082821015611cd757611cd7611d32565b500390565b600181811c90821680611cf057607f821691505b60208210811415611d1157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d2b57611d2b611d32565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220823421e707309267b55c854a1d0a4e951720287caa82fe9edc3c9eb16725f3c264736f6c63430008070033
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.