ERC-721
NFT
Overview
Max Total Supply
17,499 ELEM
Holders
6,146
Market
Volume (24H)
81.2727 ETH
Min Price (24H)
$0.00 @ 0.000000 ETH
Max Price (24H)
$8,742.02 @ 2.750000 ETH
Other Info
Token Contract
Balance
508 ELEMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Elemental
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.18;import "solbase/src/tokens/ERC721/ERC721.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/utils/Strings.sol";import "@openzeppelin/contracts/token/common/ERC2981.sol";import {BitMaps} from "@openzeppelin/contracts/utils/structs/BitMaps.sol";import "closedsea/OperatorFilterer.sol";import "./MultisigOwnable.sol";error NotAllowedByRegistry();error RegistryNotSet();error InvalidTokenId();error BeanAddressNotSet();error RedeemBeanNotOpen();error InvalidRedeemer();error NoMoreTokenIds();interface IRegistry {function isAllowedOperator(address operator) external view returns (bool);}contract Elemental is ERC2981, ERC721, MultisigOwnable, OperatorFilterer {using Strings for uint256;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/// @notice Modern, minimalist, and gas-optimized ERC721 implementation./// @author SolDAO (https://github.com/Sol-DAO/solbase/blob/main/src/tokens/ERC721.sol)/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)abstract contract ERC721 {/// -----------------------------------------------------------------------/// Events/// -----------------------------------------------------------------------event Transfer(address indexed from, address indexed to, uint256 indexed id);event Approval(address indexed owner, address indexed spender, uint256 indexed id);event ApprovalForAll(address indexed owner, address indexed operator, bool approved);/// -----------------------------------------------------------------------/// Custom Errors/// -----------------------------------------------------------------------error NotMinted();error ZeroAddress();error Unauthorized();
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract Ownable is Context {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev Initializes the contract setting the deployer as the initial owner.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";import "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _SYMBOLS = "0123456789abcdef";uint8 private constant _ADDRESS_LENGTH = 20;/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)pragma solidity ^0.8.0;import "../../interfaces/IERC2981.sol";import "../../utils/introspection/ERC165.sol";/*** @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.** Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.** Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the* fee is specified in basis points by default.** IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.** _Available since v4.5._*/abstract contract ERC2981 is IERC2981, ERC165 {struct RoyaltyInfo {address receiver;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/BitMaps.sol)pragma solidity ^0.8.0;/*** @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.* Largely inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].*/library BitMaps {struct BitMap {mapping(uint256 => uint256) _data;}/*** @dev Returns whether the bit at `index` is set.*/function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {uint256 bucket = index >> 8;uint256 mask = 1 << (index & 0xff);return bitmap._data[bucket] & mask != 0;}/*** @dev Sets the bit at `index` to the boolean `value`.*/function setTo(BitMap storage bitmap, uint256 index, bool value) internal {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/// @notice Optimized and flexible operator filterer to abide to OpenSea's/// mandatory on-chain royalty enforcement in order for new collections to/// receive royalties./// For more information, see:/// See: https://github.com/ProjectOpenSea/operator-filter-registryabstract contract OperatorFilterer {/// @dev The default OpenSea operator blocklist subscription.address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;/// @dev The OpenSea operator filter registry.address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E;/// @dev Registers the current contract to OpenSea's operator filter,/// and subscribe to the default OpenSea operator blocklist./// Note: Will not revert nor update existing settings for repeated registration.function _registerForOperatorFiltering() internal virtual {_registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true);}/// @dev Registers the current contract to OpenSea's operator filter./// Note: Will not revert nor update existing settings for repeated registration.function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe)internal
1234567891011121314151617181920212223242526// SPDX-License-Identifier: CC0-1.0// Source: https://github.com/tubby-cats/dual-ownership-nftpragma solidity ^0.8.4;import '@openzeppelin/contracts/access/Ownable.sol';abstract contract MultisigOwnable is Ownable {address public realOwner;constructor() {realOwner = msg.sender;}modifier onlyRealOwner() {require(realOwner == msg.sender,'MultisigOwnable: caller is not the real owner');_;}function transferRealOwnership(address newRealOwner) public onlyRealOwner {realOwner = newRealOwner;}function transferLowerOwnership(address newOwner) public onlyRealOwner {
123456789101112131415161718192021222324// 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;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.0;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)pragma solidity ^0.8.0;import "../utils/introspection/IERC165.sol";/*** @dev Interface for the NFT Royalty Standard.** A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal* support for royalty payments across all NFT marketplaces and ecosystem participants.** _Available since v4.5._*/interface IERC2981 is IERC165 {/*** @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.*/function royaltyInfo(uint256 tokenId,uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)pragma solidity ^0.8.0;import "./IERC165.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check* for the additional interface id that will be supported. For example:** ```solidity* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);* }* ```** Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.*/abstract contract ERC165 is IERC165 {/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
12345678910111213141516171819202122232425// 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);}
1234567891011121314151617181920212223242526{"remappings": ["@openzeppelin/=lib/openzeppelin-contracts/","ERC721A/=lib/ERC721A/contracts/","closedsea/=lib/closedsea/src/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","erc721a-upgradeable/=lib/closedsea/lib/erc721a-upgradeable/contracts/","erc721a/=lib/ERC721A/","forge-std/=lib/forge-std/src/","openzeppelin-contracts-upgradeable/=lib/closedsea/lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","operator-filter-registry/=lib/closedsea/","solbase/=lib/solbase/","solmate/=lib/solmate/src/"],"optimizer": {"enabled": true,"runs": 200},"metadata": {"bytecodeHash": "ipfs","appendCBOR": true},"outputSelection": {"*": {
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint16","name":"maxSupply_","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"BeanAddressNotSet","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidRedeemer","type":"error"},{"inputs":[],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"NoMoreTokenIds","type":"error"},{"inputs":[],"name":"NotAllowedByRegistry","type":"error"},{"inputs":[],"name":"NotMinted","type":"error"},{"inputs":[],"name":"RedeemBeanNotOpen","type":"error"},{"inputs":[],"name":"RegistryNotSet","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"inputs":[],"name":"WrongFrom","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"beanId","type":"uint256"}],"name":"BeanRedeemed","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":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRegistryActive","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":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"realOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"beanIds","type":"uint256[]"}],"name":"redeemBeans","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemInfo","outputs":[{"internalType":"bool","name":"redeemBeanOpen","type":"bool"},{"internalType":"address","name":"beanAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURIPermanent","type":"string"}],"name":"setBaseURIPermanent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setBeanAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isRegistryActive","type":"bool"}],"name":"setIsRegistryActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"setIsUriPermanent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newName","type":"string"},{"internalType":"string","name":"_newSymbol","type":"string"}],"name":"setNameAndSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_redeemBeanOpen","type":"bool"}],"name":"setRedeemBeanState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_registryAddress","type":"address"}],"name":"setRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferLowerOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRealOwner","type":"address"}],"name":"transferRealOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526009805461ffff60a01b1916600160a01b1790553480156200002557600080fd5b50604051620027e6380380620027e683398101604081905262000048916200028c565b82826002620000588382620003a1565b506003620000678282620003a1565b505050620000846200007e620000d460201b60201c565b620000d8565b600980546001600160a01b0319163317905561ffff81166080819052600c805461ffff19169091179055620000b86200012a565b50506009805460ff60a01b1916600160a01b179055506200046d565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200014b733cc6cdda760b79bafa08df41ecfa224f810dceb660016200014d565b565b6001600160a01b0390911690637d3e3dbe816200017d5782620001765750634420e4866200017d565b5063a0af29035b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af1620001bd578060005160e01c03620001bd57600080fd5b5060006024525050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001ef57600080fd5b81516001600160401b03808211156200020c576200020c620001c7565b604051601f8301601f19908116603f01168101908282118183101715620002375762000237620001c7565b816040528381526020925086838588010111156200025457600080fd5b600091505b8382101562000278578582018301518183018401529082019062000259565b600093810190920192909252949350505050565b600080600060608486031215620002a257600080fd5b83516001600160401b0380821115620002ba57600080fd5b620002c887838801620001dd565b94506020860151915080821115620002df57600080fd5b50620002ee86828701620001dd565b925050604084015161ffff811681146200030757600080fd5b809150509250925092565b600181811c908216806200032757607f821691505b6020821081036200034857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c81016020861015620003775750805b601f850160051c820191505b81811015620003985782815560010162000383565b5050505b505050565b81516001600160401b03811115620003bd57620003bd620001c7565b620003d581620003ce845462000312565b846200034e565b602080601f8311600181146200040d5760008415620003f45750858301515b600019600386901b1c1916600185901b17855562000398565b600085815260208120601f198616915b828110156200043e578886015182559484019460019091019084016200041d565b50858210156200045d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161235662000490600039600081816102fb015261039b01526123566000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e11610130578063abd017ea116100b8578063e985e9c51161007c578063e985e9c514610555578063ed9aab5114610583578063efe7aa4914610596578063f2fde38b146105d2578063fb796e6c146105e557600080fd5b8063abd017ea146104e8578063b7c0b8e8146104fc578063b88d4fde1461050f578063c87b56dd14610522578063d443af801461053557600080fd5b80638e0d9fcc116100ff5780638e0d9fcc1461049457806390d9c86a146104a757806395d89b41146104ba578063a22cb465146104c2578063ab7b4993146104d557600080fd5b80636352211e1461045557806370a0823114610468578063715018a61461047b5780638da5cb5b1461048357600080fd5b80632a55205a116101be57806346fff98d1161018257806346fff98d146103f657806354ecf3091461040957806355f804b31461041c5780635944c7531461042f5780635a4462151461044257600080fd5b80632a55205a146103515780632cff67701461038357806332cb6b0c146103965780633c115fa6146103d057806342842e0e146103e357600080fd5b8063095ea7b311610205578063095ea7b3146102ca57806309af3f9a146102dd57806318160ddd146102f05780631df270f31461032b57806323b872dd1461033e57600080fd5b806301ffc9a71461023757806304634d8d1461025f57806306fdde0314610274578063081812fc14610289575b600080fd5b61024a610245366004611af2565b6105f9565b60405190151581526020015b60405180910390f35b61027261026d366004611b3d565b610619565b005b61027c61062f565b6040516102569190611b94565b6102b2610297366004611bc7565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610256565b6102726102d8366004611be0565b6106bd565b6102726102eb366004611c0a565b6106e8565b600c5461ffff9081167f000000000000000000000000000000000000000000000000000000000000000003165b604051908152602001610256565b6009546102b2906001600160a01b031681565b61027261034c366004611c25565b610727565b61036461035f366004611c61565b61078a565b604080516001600160a01b039093168352602083019190915201610256565b610272610391366004611c0a565b610838565b6103bd7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff9091168152602001610256565b6102726103de366004611cc5565b610884565b6102726103f1366004611c25565b61089a565b610272610404366004611d15565b610968565b610272610417366004611c0a565b6109b7565b61027261042a366004611cc5565b610a10565b61027261043d366004611d32565b610a26565b610272610450366004611d6e565b610a39565b6102b2610463366004611bc7565b610a63565b61031d610476366004611c0a565b610a9e565b610272610ae3565b6008546001600160a01b03166102b2565b6102726104a2366004611e1f565b610af7565b6102726104b5366004611d15565b610b3f565b61027c610bc5565b6102726104d0366004611e55565b610bd2565b6102726104e3366004611c0a565b610bf8565b60095461024a90600160a81b900460ff1681565b61027261050a366004611d15565b610c22565b61027261051d366004611e8c565b610c48565b61027c610530366004611bc7565b610d04565b610548610543366004611efb565b610d99565b6040516102569190611f4e565b61024a610563366004611f92565b600760209081526000928352604080842090915290825290205460ff1681565b600a546102b2906001600160a01b031681565b600b546105b39060ff81169061010090046001600160a01b031682565b6040805192151583526001600160a01b03909116602083015201610256565b6102726105e0366004611c0a565b610f0b565b60095461024a90600160a01b900460ff1681565b600061060482610f81565b80610613575061061382610fcf565b92915050565b610621611004565b61062b828261105e565b5050565b6002805461063c90611fbc565b80601f016020809104026020016040519081016040528092919081815260200182805461066890611fbc565b80156106b55780601f1061068a576101008083540402835291602001916106b5565b820191906000526020600020905b81548152906001019060200180831161069857829003601f168201915b505050505081565b81600954600160a01b900460ff16156106d9576106d981611118565b6106e3838361115c565b505050565b6009546001600160a01b0316331461071b5760405162461bcd60e51b815260040161071290611ff6565b60405180910390fd5b61072481610f0b565b50565b826001600160a01b038116331461075357600954600160a01b900460ff16156107535761075333611118565b61075c33611221565b610779576040516326406c5f60e11b815260040160405180910390fd5b6107848484846112ae565b50505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916107ff5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061081e906001600160601b031687612059565b6108289190612086565b91519350909150505b9250929050565b6009546001600160a01b031633146108625760405162461bcd60e51b815260040161071290611ff6565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61088c611004565b61100e6106e38284836120fe565b6108a5838383610727565b6001600160a01b0382163b156106e357604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af115801561091c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094091906121be565b6001600160e01b031916146106e357604051633da6393160e01b815260040160405180910390fd5b610970611004565b600a546001600160a01b031661099957604051630e048e7160e41b815260040160405180910390fd5b60098054911515600160a81b0260ff60a81b19909216919091179055565b6109bf611004565b60408051808201909152600b805460ff811615158084526001600160a01b039490941660209093018390526001600160a81b031916610100600160a81b031990931692909217610100909102179055565b610a18611004565b61100d6106e38284836120fe565b610a2e611004565b6106e383838361141b565b610a41611004565b6002610a4e8486836120fe565b506003610a5c8284836120fe565b5050505050565b6000818152600460205260409020546001600160a01b031680610a9957604051634d5e5fb360e01b815260040160405180910390fd5b919050565b60006001600160a01b038216610ac75760405163d92e233d60e01b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205490565b610aeb611004565b610af560006114e6565b565b610aff611004565b60005b818110156106e357610b37838383818110610b1f57610b1f6121db565b9050602002013561100f61153890919063ffffffff16565b600101610b02565b610b47611004565b600b5461010090046001600160a01b031680610b76576040516313142f0760e31b815260040160405180910390fd5b604080518082019091529115158083526001600160a01b039091166020909201829052600b8054610100909302610100600160a81b03199092166001600160a81b031990931692909217179055565b6003805461063c90611fbc565b81600954600160a01b900460ff1615610bee57610bee81611118565b6106e38383611561565b610c00611004565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610c2a611004565b60098054911515600160a01b0260ff60a01b19909216919091179055565b610c53858585610727565b6001600160a01b0384163b15610a5c57604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c999033908a908990899089906004016121f1565b6020604051808303816000875af1158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc91906121be565b6001600160e01b03191614610a5c57604051633da6393160e01b815260040160405180910390fd5b6000818152600460205260409020546060906001600160a01b0316610d3c576040516307ed98ed60e31b815260040160405180910390fd5b6000610d47836115cd565b90506000815111610d675760405180602001604052806000815250610d92565b80610d718461168d565b604051602001610d82929190612245565b6040516020818303038152906040525b9392505050565b60408051808201909152600b5460ff811615158083526101009091046001600160a01b0316602083015260609190610de4576040516372a58b2b60e11b815260040160405180910390fd5b80602001516001600160a01b0316336001600160a01b031614610e1a5760405163d8546cf160e01b815260040160405180910390fd5b8260008167ffffffffffffffff811115610e3657610e3661209a565b604051908082528060200260200182016040528015610e5f578160200160208202803683370190505b50905060005b82811015610f00576000878783818110610e8157610e816121db565b9050602002013590506000610e94611720565b9050610ea08a826118ee565b81818b6001600160a01b03167f71e92ec5a8e5a2b5c4717c4520cea4ce2cfe75c53bba10efe28c4328b31047cb60405160405180910390a480848481518110610eeb57610eeb6121db565b60209081029190910101525050600101610e65565b509695505050505050565b610f13611004565b6001600160a01b038116610f785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610712565b610724816114e6565b60006301ffc9a760e01b6001600160e01b031983161480610fb257506380ac58cd60e01b6001600160e01b03198316145b806106135750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061061357506301ffc9a760e01b6001600160e01b0319831614610613565b6008546001600160a01b03163314610af55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610712565b6127106001600160601b03821611156110895760405162461bcd60e51b815260040161071290612274565b6001600160a01b0382166110df5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610712565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611154573d6000803e3d6000fd5b6000603a5250565b6000818152600460205260409020546001600160a01b03163381148015906111a857506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b156111c5576040516282b42960e81b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600090600160a81b900460ff16156112a657600a546040516370c5e04560e11b81526001600160a01b03848116600483015290911690819063e18bc08a90602401602060405180830381865afa158015611282573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9291906122be565b506001919050565b6000818152600460205260409020546001600160a01b038481169116146112e85760405163c6de3f2560e01b815260040160405180910390fd5b6001600160a01b03821661130f57604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061134c57506001600160a01b038316600090815260076020908152604080832033845290915290205460ff16155b801561136f57506000818152600660205260409020546001600160a01b03163314155b1561138c576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0380841660008181526005602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600690925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6127106001600160601b03821611156114465760405162461bcd60e51b815260040161071290612274565b6001600160a01b03821661149c5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610712565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600881901c600090815260209290925260409091208054600160ff9093169290921b9091179055565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600881901c600090815261100f6020526040902054606090600160ff84161b166115f95761100d6115fd565b61100e5b805461160890611fbc565b80601f016020809104026020016040519081016040528092919081815260200182805461163490611fbc565b80156116815780601f1061165657610100808354040283529160200191611681565b820191906000526020600020905b81548152906001019060200180831161166457829003601f168201915b50505050509050919050565b6060600061169a836119b6565b600101905060008167ffffffffffffffff8111156116ba576116ba61209a565b6040519080825280601f01601f1916602001820160405280156116e4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846116ee57509392505050565b600c5460009061ffff1680820361174a5760405163aeb0cc9b60e01b815260040160405180910390fd5b600061175582611a8e565b9050600061176383836122db565b90506000600d8262010000811061177c5761177c6121db565b601091828204019190066002029054906101000a900461ffff1661ffff1690506000816000036117ad5750816117b0565b50805b60006117bd6001876122ef565b90508084146118b4576000600d826201000081106117dd576117dd6121db565b601091828204019190066002029054906101000a900461ffff1661ffff169050806000036118455781600d8662010000811061181b5761181b6121db565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506118b2565b80600d8662010000811061185b5761185b6121db565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600d82620100008110611895576118956121db565b601091828204019190066002026101000a81549061ffff02191690555b505b600c80546000906118c89061ffff16612302565b91906101000a81548161ffff021916908361ffff16021790555081965050505050505090565b6001600160a01b03821661191557604051634e46966960e11b815260040160405180910390fd5b6000818152600460205260409020546001600160a01b03161561194b57604051631bbdf5c560e31b815260040160405180910390fd5b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119f55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a21576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a3f57662386f26fc10000830492506010015b6305f5e1008310611a57576305f5e100830492506008015b6127108310611a6b57612710830492506004015b60648310611a7d576064830492506002015b600a83106106135760010192915050565b600044611a9c6001436122ef565b6040805160208101939093529040908201523060608201526080810183905260a00160408051601f19818403018152919052805160209091012092915050565b6001600160e01b03198116811461072457600080fd5b600060208284031215611b0457600080fd5b8135610d9281611adc565b80356001600160a01b0381168114610a9957600080fd5b80356001600160601b0381168114610a9957600080fd5b60008060408385031215611b5057600080fd5b611b5983611b0f565b9150611b6760208401611b26565b90509250929050565b60005b83811015611b8b578181015183820152602001611b73565b50506000910152565b6020815260008251806020840152611bb3816040850160208701611b70565b601f01601f19169190910160400192915050565b600060208284031215611bd957600080fd5b5035919050565b60008060408385031215611bf357600080fd5b611bfc83611b0f565b946020939093013593505050565b600060208284031215611c1c57600080fd5b610d9282611b0f565b600080600060608486031215611c3a57600080fd5b611c4384611b0f565b9250611c5160208501611b0f565b9150604084013590509250925092565b60008060408385031215611c7457600080fd5b50508035926020909101359150565b60008083601f840112611c9557600080fd5b50813567ffffffffffffffff811115611cad57600080fd5b60208301915083602082850101111561083157600080fd5b60008060208385031215611cd857600080fd5b823567ffffffffffffffff811115611cef57600080fd5b611cfb85828601611c83565b90969095509350505050565b801515811461072457600080fd5b600060208284031215611d2757600080fd5b8135610d9281611d07565b600080600060608486031215611d4757600080fd5b83359250611d5760208501611b0f565b9150611d6560408501611b26565b90509250925092565b60008060008060408587031215611d8457600080fd5b843567ffffffffffffffff80821115611d9c57600080fd5b611da888838901611c83565b90965094506020870135915080821115611dc157600080fd5b50611dce87828801611c83565b95989497509550505050565b60008083601f840112611dec57600080fd5b50813567ffffffffffffffff811115611e0457600080fd5b6020830191508360208260051b850101111561083157600080fd5b60008060208385031215611e3257600080fd5b823567ffffffffffffffff811115611e4957600080fd5b611cfb85828601611dda565b60008060408385031215611e6857600080fd5b611e7183611b0f565b91506020830135611e8181611d07565b809150509250929050565b600080600080600060808688031215611ea457600080fd5b611ead86611b0f565b9450611ebb60208701611b0f565b935060408601359250606086013567ffffffffffffffff811115611ede57600080fd5b611eea88828901611c83565b969995985093965092949392505050565b600080600060408486031215611f1057600080fd5b611f1984611b0f565b9250602084013567ffffffffffffffff811115611f3557600080fd5b611f4186828701611dda565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b81811015611f8657835183529284019291840191600101611f6a565b50909695505050505050565b60008060408385031215611fa557600080fd5b611fae83611b0f565b9150611b6760208401611b0f565b600181811c90821680611fd057607f821691505b602082108103611ff057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460408201526c3432903932b0b61037bbb732b960991b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761061357610613612043565b634e487b7160e01b600052601260045260246000fd5b60008261209557612095612070565b500490565b634e487b7160e01b600052604160045260246000fd5b601f8211156106e357600081815260208120601f850160051c810160208610156120d75750805b601f850160051c820191505b818110156120f6578281556001016120e3565b505050505050565b67ffffffffffffffff8311156121165761211661209a565b61212a836121248354611fbc565b836120b0565b6000601f84116001811461215e57600085156121465750838201355b600019600387901b1c1916600186901b178355610a5c565b600083815260209020601f19861690835b8281101561218f578685013582556020948501946001909201910161216f565b50868210156121ac5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156121d057600080fd5b8151610d9281611adc565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b60008351612257818460208801611b70565b83519083019061226b818360208801611b70565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6000602082840312156122d057600080fd5b8151610d9281611d07565b6000826122ea576122ea612070565b500690565b8181038181111561061357610613612043565b600061ffff82168061231657612316612043565b600019019291505056fea2646970667358221220f3f8fbc968aecb6b35aaa683702a084009954f3d41ec2600830b833c89bb673264736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000000009456c656d656e74616c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004454c454d00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e11610130578063abd017ea116100b8578063e985e9c51161007c578063e985e9c514610555578063ed9aab5114610583578063efe7aa4914610596578063f2fde38b146105d2578063fb796e6c146105e557600080fd5b8063abd017ea146104e8578063b7c0b8e8146104fc578063b88d4fde1461050f578063c87b56dd14610522578063d443af801461053557600080fd5b80638e0d9fcc116100ff5780638e0d9fcc1461049457806390d9c86a146104a757806395d89b41146104ba578063a22cb465146104c2578063ab7b4993146104d557600080fd5b80636352211e1461045557806370a0823114610468578063715018a61461047b5780638da5cb5b1461048357600080fd5b80632a55205a116101be57806346fff98d1161018257806346fff98d146103f657806354ecf3091461040957806355f804b31461041c5780635944c7531461042f5780635a4462151461044257600080fd5b80632a55205a146103515780632cff67701461038357806332cb6b0c146103965780633c115fa6146103d057806342842e0e146103e357600080fd5b8063095ea7b311610205578063095ea7b3146102ca57806309af3f9a146102dd57806318160ddd146102f05780631df270f31461032b57806323b872dd1461033e57600080fd5b806301ffc9a71461023757806304634d8d1461025f57806306fdde0314610274578063081812fc14610289575b600080fd5b61024a610245366004611af2565b6105f9565b60405190151581526020015b60405180910390f35b61027261026d366004611b3d565b610619565b005b61027c61062f565b6040516102569190611b94565b6102b2610297366004611bc7565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610256565b6102726102d8366004611be0565b6106bd565b6102726102eb366004611c0a565b6106e8565b600c5461ffff9081167f0000000000000000000000000000000000000000000000000000000000004e2003165b604051908152602001610256565b6009546102b2906001600160a01b031681565b61027261034c366004611c25565b610727565b61036461035f366004611c61565b61078a565b604080516001600160a01b039093168352602083019190915201610256565b610272610391366004611c0a565b610838565b6103bd7f0000000000000000000000000000000000000000000000000000000000004e2081565b60405161ffff9091168152602001610256565b6102726103de366004611cc5565b610884565b6102726103f1366004611c25565b61089a565b610272610404366004611d15565b610968565b610272610417366004611c0a565b6109b7565b61027261042a366004611cc5565b610a10565b61027261043d366004611d32565b610a26565b610272610450366004611d6e565b610a39565b6102b2610463366004611bc7565b610a63565b61031d610476366004611c0a565b610a9e565b610272610ae3565b6008546001600160a01b03166102b2565b6102726104a2366004611e1f565b610af7565b6102726104b5366004611d15565b610b3f565b61027c610bc5565b6102726104d0366004611e55565b610bd2565b6102726104e3366004611c0a565b610bf8565b60095461024a90600160a81b900460ff1681565b61027261050a366004611d15565b610c22565b61027261051d366004611e8c565b610c48565b61027c610530366004611bc7565b610d04565b610548610543366004611efb565b610d99565b6040516102569190611f4e565b61024a610563366004611f92565b600760209081526000928352604080842090915290825290205460ff1681565b600a546102b2906001600160a01b031681565b600b546105b39060ff81169061010090046001600160a01b031682565b6040805192151583526001600160a01b03909116602083015201610256565b6102726105e0366004611c0a565b610f0b565b60095461024a90600160a01b900460ff1681565b600061060482610f81565b80610613575061061382610fcf565b92915050565b610621611004565b61062b828261105e565b5050565b6002805461063c90611fbc565b80601f016020809104026020016040519081016040528092919081815260200182805461066890611fbc565b80156106b55780601f1061068a576101008083540402835291602001916106b5565b820191906000526020600020905b81548152906001019060200180831161069857829003601f168201915b505050505081565b81600954600160a01b900460ff16156106d9576106d981611118565b6106e3838361115c565b505050565b6009546001600160a01b0316331461071b5760405162461bcd60e51b815260040161071290611ff6565b60405180910390fd5b61072481610f0b565b50565b826001600160a01b038116331461075357600954600160a01b900460ff16156107535761075333611118565b61075c33611221565b610779576040516326406c5f60e11b815260040160405180910390fd5b6107848484846112ae565b50505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916107ff5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061081e906001600160601b031687612059565b6108289190612086565b91519350909150505b9250929050565b6009546001600160a01b031633146108625760405162461bcd60e51b815260040161071290611ff6565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61088c611004565b61100e6106e38284836120fe565b6108a5838383610727565b6001600160a01b0382163b156106e357604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af115801561091c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094091906121be565b6001600160e01b031916146106e357604051633da6393160e01b815260040160405180910390fd5b610970611004565b600a546001600160a01b031661099957604051630e048e7160e41b815260040160405180910390fd5b60098054911515600160a81b0260ff60a81b19909216919091179055565b6109bf611004565b60408051808201909152600b805460ff811615158084526001600160a01b039490941660209093018390526001600160a81b031916610100600160a81b031990931692909217610100909102179055565b610a18611004565b61100d6106e38284836120fe565b610a2e611004565b6106e383838361141b565b610a41611004565b6002610a4e8486836120fe565b506003610a5c8284836120fe565b5050505050565b6000818152600460205260409020546001600160a01b031680610a9957604051634d5e5fb360e01b815260040160405180910390fd5b919050565b60006001600160a01b038216610ac75760405163d92e233d60e01b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205490565b610aeb611004565b610af560006114e6565b565b610aff611004565b60005b818110156106e357610b37838383818110610b1f57610b1f6121db565b9050602002013561100f61153890919063ffffffff16565b600101610b02565b610b47611004565b600b5461010090046001600160a01b031680610b76576040516313142f0760e31b815260040160405180910390fd5b604080518082019091529115158083526001600160a01b039091166020909201829052600b8054610100909302610100600160a81b03199092166001600160a81b031990931692909217179055565b6003805461063c90611fbc565b81600954600160a01b900460ff1615610bee57610bee81611118565b6106e38383611561565b610c00611004565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610c2a611004565b60098054911515600160a01b0260ff60a01b19909216919091179055565b610c53858585610727565b6001600160a01b0384163b15610a5c57604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c999033908a908990899089906004016121f1565b6020604051808303816000875af1158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc91906121be565b6001600160e01b03191614610a5c57604051633da6393160e01b815260040160405180910390fd5b6000818152600460205260409020546060906001600160a01b0316610d3c576040516307ed98ed60e31b815260040160405180910390fd5b6000610d47836115cd565b90506000815111610d675760405180602001604052806000815250610d92565b80610d718461168d565b604051602001610d82929190612245565b6040516020818303038152906040525b9392505050565b60408051808201909152600b5460ff811615158083526101009091046001600160a01b0316602083015260609190610de4576040516372a58b2b60e11b815260040160405180910390fd5b80602001516001600160a01b0316336001600160a01b031614610e1a5760405163d8546cf160e01b815260040160405180910390fd5b8260008167ffffffffffffffff811115610e3657610e3661209a565b604051908082528060200260200182016040528015610e5f578160200160208202803683370190505b50905060005b82811015610f00576000878783818110610e8157610e816121db565b9050602002013590506000610e94611720565b9050610ea08a826118ee565b81818b6001600160a01b03167f71e92ec5a8e5a2b5c4717c4520cea4ce2cfe75c53bba10efe28c4328b31047cb60405160405180910390a480848481518110610eeb57610eeb6121db565b60209081029190910101525050600101610e65565b509695505050505050565b610f13611004565b6001600160a01b038116610f785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610712565b610724816114e6565b60006301ffc9a760e01b6001600160e01b031983161480610fb257506380ac58cd60e01b6001600160e01b03198316145b806106135750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061061357506301ffc9a760e01b6001600160e01b0319831614610613565b6008546001600160a01b03163314610af55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610712565b6127106001600160601b03821611156110895760405162461bcd60e51b815260040161071290612274565b6001600160a01b0382166110df5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610712565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611154573d6000803e3d6000fd5b6000603a5250565b6000818152600460205260409020546001600160a01b03163381148015906111a857506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b156111c5576040516282b42960e81b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600090600160a81b900460ff16156112a657600a546040516370c5e04560e11b81526001600160a01b03848116600483015290911690819063e18bc08a90602401602060405180830381865afa158015611282573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9291906122be565b506001919050565b6000818152600460205260409020546001600160a01b038481169116146112e85760405163c6de3f2560e01b815260040160405180910390fd5b6001600160a01b03821661130f57604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061134c57506001600160a01b038316600090815260076020908152604080832033845290915290205460ff16155b801561136f57506000818152600660205260409020546001600160a01b03163314155b1561138c576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0380841660008181526005602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600690925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6127106001600160601b03821611156114465760405162461bcd60e51b815260040161071290612274565b6001600160a01b03821661149c5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610712565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600881901c600090815260209290925260409091208054600160ff9093169290921b9091179055565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600881901c600090815261100f6020526040902054606090600160ff84161b166115f95761100d6115fd565b61100e5b805461160890611fbc565b80601f016020809104026020016040519081016040528092919081815260200182805461163490611fbc565b80156116815780601f1061165657610100808354040283529160200191611681565b820191906000526020600020905b81548152906001019060200180831161166457829003601f168201915b50505050509050919050565b6060600061169a836119b6565b600101905060008167ffffffffffffffff8111156116ba576116ba61209a565b6040519080825280601f01601f1916602001820160405280156116e4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846116ee57509392505050565b600c5460009061ffff1680820361174a5760405163aeb0cc9b60e01b815260040160405180910390fd5b600061175582611a8e565b9050600061176383836122db565b90506000600d8262010000811061177c5761177c6121db565b601091828204019190066002029054906101000a900461ffff1661ffff1690506000816000036117ad5750816117b0565b50805b60006117bd6001876122ef565b90508084146118b4576000600d826201000081106117dd576117dd6121db565b601091828204019190066002029054906101000a900461ffff1661ffff169050806000036118455781600d8662010000811061181b5761181b6121db565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506118b2565b80600d8662010000811061185b5761185b6121db565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600d82620100008110611895576118956121db565b601091828204019190066002026101000a81549061ffff02191690555b505b600c80546000906118c89061ffff16612302565b91906101000a81548161ffff021916908361ffff16021790555081965050505050505090565b6001600160a01b03821661191557604051634e46966960e11b815260040160405180910390fd5b6000818152600460205260409020546001600160a01b03161561194b57604051631bbdf5c560e31b815260040160405180910390fd5b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119f55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a21576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a3f57662386f26fc10000830492506010015b6305f5e1008310611a57576305f5e100830492506008015b6127108310611a6b57612710830492506004015b60648310611a7d576064830492506002015b600a83106106135760010192915050565b600044611a9c6001436122ef565b6040805160208101939093529040908201523060608201526080810183905260a00160408051601f19818403018152919052805160209091012092915050565b6001600160e01b03198116811461072457600080fd5b600060208284031215611b0457600080fd5b8135610d9281611adc565b80356001600160a01b0381168114610a9957600080fd5b80356001600160601b0381168114610a9957600080fd5b60008060408385031215611b5057600080fd5b611b5983611b0f565b9150611b6760208401611b26565b90509250929050565b60005b83811015611b8b578181015183820152602001611b73565b50506000910152565b6020815260008251806020840152611bb3816040850160208701611b70565b601f01601f19169190910160400192915050565b600060208284031215611bd957600080fd5b5035919050565b60008060408385031215611bf357600080fd5b611bfc83611b0f565b946020939093013593505050565b600060208284031215611c1c57600080fd5b610d9282611b0f565b600080600060608486031215611c3a57600080fd5b611c4384611b0f565b9250611c5160208501611b0f565b9150604084013590509250925092565b60008060408385031215611c7457600080fd5b50508035926020909101359150565b60008083601f840112611c9557600080fd5b50813567ffffffffffffffff811115611cad57600080fd5b60208301915083602082850101111561083157600080fd5b60008060208385031215611cd857600080fd5b823567ffffffffffffffff811115611cef57600080fd5b611cfb85828601611c83565b90969095509350505050565b801515811461072457600080fd5b600060208284031215611d2757600080fd5b8135610d9281611d07565b600080600060608486031215611d4757600080fd5b83359250611d5760208501611b0f565b9150611d6560408501611b26565b90509250925092565b60008060008060408587031215611d8457600080fd5b843567ffffffffffffffff80821115611d9c57600080fd5b611da888838901611c83565b90965094506020870135915080821115611dc157600080fd5b50611dce87828801611c83565b95989497509550505050565b60008083601f840112611dec57600080fd5b50813567ffffffffffffffff811115611e0457600080fd5b6020830191508360208260051b850101111561083157600080fd5b60008060208385031215611e3257600080fd5b823567ffffffffffffffff811115611e4957600080fd5b611cfb85828601611dda565b60008060408385031215611e6857600080fd5b611e7183611b0f565b91506020830135611e8181611d07565b809150509250929050565b600080600080600060808688031215611ea457600080fd5b611ead86611b0f565b9450611ebb60208701611b0f565b935060408601359250606086013567ffffffffffffffff811115611ede57600080fd5b611eea88828901611c83565b969995985093965092949392505050565b600080600060408486031215611f1057600080fd5b611f1984611b0f565b9250602084013567ffffffffffffffff811115611f3557600080fd5b611f4186828701611dda565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b81811015611f8657835183529284019291840191600101611f6a565b50909695505050505050565b60008060408385031215611fa557600080fd5b611fae83611b0f565b9150611b6760208401611b0f565b600181811c90821680611fd057607f821691505b602082108103611ff057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460408201526c3432903932b0b61037bbb732b960991b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761061357610613612043565b634e487b7160e01b600052601260045260246000fd5b60008261209557612095612070565b500490565b634e487b7160e01b600052604160045260246000fd5b601f8211156106e357600081815260208120601f850160051c810160208610156120d75750805b601f850160051c820191505b818110156120f6578281556001016120e3565b505050505050565b67ffffffffffffffff8311156121165761211661209a565b61212a836121248354611fbc565b836120b0565b6000601f84116001811461215e57600085156121465750838201355b600019600387901b1c1916600186901b178355610a5c565b600083815260209020601f19861690835b8281101561218f578685013582556020948501946001909201910161216f565b50868210156121ac5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156121d057600080fd5b8151610d9281611adc565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b60008351612257818460208801611b70565b83519083019061226b818360208801611b70565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6000602082840312156122d057600080fd5b8151610d9281611d07565b6000826122ea576122ea612070565b500690565b8181038181111561061357610613612043565b600061ffff82168061231657612316612043565b600019019291505056fea2646970667358221220f3f8fbc968aecb6b35aaa683702a084009954f3d41ec2600830b833c89bb673264736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000000009456c656d656e74616c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004454c454d00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Elemental
Arg [1] : _symbol (string): ELEM
Arg [2] : maxSupply_ (uint16): 20000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 456c656d656e74616c0000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 454c454d00000000000000000000000000000000000000000000000000000000
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.