Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
463 GODOT
Holders
225
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GODOTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GodotMovement
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.4; // /ohhhyyyssssssssysyysd // N. N // -N // -N // : N // : hssssssoss+N // - / // : N / // - /d // N: /h // N-yh hh/d // dddN N d // N // N/+oosssooooooooooooo+d // N.d /y // -d /y // -d /y // N/d +y // N+ /s // N+ /sN // N/d /sN // N/ /sN // /NN :y // /hhdd ddddddddddd:s // dhyhshdddhhhhhhhhhyhyd // N hhhhhd // dydN NhdN // Ndy NhyN // Nhhd hh // NN d NN /// @creator: godot movement* /// @author: peker.eth - twitter.com/peker_eth import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract GodotMovement is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; using SafeERC20 for IERC20; bytes32 public root; address proxyRegistryAddress; string BASE_URI = "https://api.godotmovement.com/metadata/"; bool public IS_PRESALE_ACTIVE = false; bool public IS_SALE_ACTIVE = false; uint constant TOTAL_SUPPLY = 9999; uint constant INCREASED_MAX_TOKEN_ID = TOTAL_SUPPLY + 2; uint constant MINT_PRICE = 0.08 ether; uint constant MINT_PRICE_ASH = 15 ether; uint constant NUMBER_OF_TOKENS_ALLOWED_PER_TX = 10; uint constant NUMBER_OF_TOKENS_ALLOWED_PER_ADDRESS = 20; mapping (address => uint) addressToMintCount; IERC20 ASH; address COMMUNITY_WALLET = 0xf15017b4C823E3d4E91D9031F1445cb001c3fecB; address TEAM_1 = 0x4a481Ac8F43fC87beBc6470552c9CC505BAC8C68; address TEAM_2 = 0x51266b01772C9945D33bd0851C981A94c3F5Bf00; address TEAM_3 = 0xEAA37d4e3d977aa2F6D460f2Cc8B81ea5Dd96323; address TEAM_4 = 0xe5cB2C6ACe5A67191Fd053c0ec60C75E690937D0; address TEAM_5 = 0x3385A612e0Eb663dcd2C068F69aD65d092110be8; address TEAM_6 = 0x78B21283E86160E943691134aA5f7961cd828630; address TEAM_7 = 0x02a54E66A41BAF1Fba3c141e68169b44A9060DB4; address TEAM_8 = 0xf93f4075A896accFCcE1eBD4da735250fB0eb7A9; address CONTRACT_DEV = 0xA800F34505e8b340cf3Ab8793cB40Bf09042B28F; constructor(string memory name, string memory symbol, bytes32 merkleroot, string memory baseURI, address _ashAddress, address _proxyRegistryAddress) ERC721(name, symbol) { root = merkleroot; BASE_URI = baseURI; ASH = IERC20(_ashAddress); proxyRegistryAddress = _proxyRegistryAddress; _tokenIdCounter.increment(); } function setMerkleRoot(bytes32 merkleroot) onlyOwner public { root = merkleroot; } function _baseURI() internal view override returns (string memory) { return BASE_URI; } function setBaseURI(string memory newUri) public onlyOwner { BASE_URI = newUri; } function togglePublicSale() public onlyOwner { IS_SALE_ACTIVE = !IS_SALE_ACTIVE; } function togglePreSale() public onlyOwner { IS_PRESALE_ACTIVE = !IS_PRESALE_ACTIVE; } modifier onlyAccounts () { require(msg.sender == tx.origin, "Not allowed origin"); _; } function ownerMint(uint numberOfTokens) public onlyOwner { uint current = _tokenIdCounter.current(); require(current + numberOfTokens < INCREASED_MAX_TOKEN_ID, "Exceeds total supply"); for (uint i = 0; i < numberOfTokens; i++) { mintInternal(); } } function presaleMint(address account, uint numberOfTokens, uint256 allowance, string memory key, bytes32[] calldata proof) public payable onlyAccounts { require(msg.sender == account, "Not allowed"); require(IS_PRESALE_ACTIVE, "Pre-sale haven't started"); require(msg.value >= numberOfTokens * MINT_PRICE, "Not enough ethers sent"); string memory payload = string(abi.encodePacked(Strings.toString(allowance), ":", key)); require(_verify(_leaf(msg.sender, payload), proof), "Invalid merkle proof"); uint current = _tokenIdCounter.current(); require(current + numberOfTokens < INCREASED_MAX_TOKEN_ID, "Exceeds total supply"); require(addressToMintCount[msg.sender] + numberOfTokens <= allowance, "Exceeds allowance"); addressToMintCount[msg.sender] += numberOfTokens; for (uint i = 0; i < numberOfTokens; i++) { mintInternal(); } } function publicSaleMint(uint numberOfTokens) public payable onlyAccounts { require(IS_SALE_ACTIVE, "Sale haven't started"); require(numberOfTokens <= NUMBER_OF_TOKENS_ALLOWED_PER_TX, "Too many requested"); require(msg.value >= numberOfTokens * MINT_PRICE, "Not enough ethers sent"); uint current = _tokenIdCounter.current(); require(current + numberOfTokens < INCREASED_MAX_TOKEN_ID, "Exceeds total supply"); require(addressToMintCount[msg.sender] + numberOfTokens <= NUMBER_OF_TOKENS_ALLOWED_PER_ADDRESS, "Exceeds allowance"); addressToMintCount[msg.sender] += numberOfTokens; for (uint i = 0; i < numberOfTokens; i++) { mintInternal(); } } function presaleMintASH(address account, uint numberOfTokens, uint256 allowance, string memory key, bytes32[] calldata proof) public onlyAccounts { require(msg.sender == account, "Not allowed"); require(IS_PRESALE_ACTIVE, "Pre-sale haven't started"); ASH.safeTransferFrom(msg.sender, address(this), numberOfTokens * MINT_PRICE_ASH); string memory payload = string(abi.encodePacked(Strings.toString(allowance), ":", key)); require(_verify(_leaf(msg.sender, payload), proof), "Invalid merkle proof"); uint current = _tokenIdCounter.current(); require(current + numberOfTokens < INCREASED_MAX_TOKEN_ID, "Exceeds total supply"); require(addressToMintCount[msg.sender] + numberOfTokens <= allowance, "Exceeds allowance"); addressToMintCount[msg.sender] += numberOfTokens; for (uint i = 0; i < numberOfTokens; i++) { mintInternal(); } } function publicSaleMintASH(uint numberOfTokens) public onlyAccounts { require(IS_SALE_ACTIVE, "Sale haven't started"); require(numberOfTokens <= NUMBER_OF_TOKENS_ALLOWED_PER_TX, "Too many requested"); ASH.safeTransferFrom(msg.sender, address(this), numberOfTokens * MINT_PRICE_ASH); uint current = _tokenIdCounter.current(); require(current + numberOfTokens < INCREASED_MAX_TOKEN_ID, "Exceeds total supply"); require(addressToMintCount[msg.sender] + numberOfTokens <= NUMBER_OF_TOKENS_ALLOWED_PER_ADDRESS, "Exceeds allowance"); addressToMintCount[msg.sender] += numberOfTokens; for (uint i = 0; i < numberOfTokens; i++) { mintInternal(); } } function getCurrentMintCount(address _account) public view returns (uint) { return addressToMintCount[_account]; } function mintInternal() internal { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _mint(msg.sender, tokenId); } function withdrawAll() public onlyOwner { withdrawETH(); withdrawASH(); } function withdrawETH() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0); _withdraw(COMMUNITY_WALLET, (balance * 210) / 1000); _withdraw(TEAM_1, (balance * 2000) / 10000); _withdraw(TEAM_2, (balance * 2000) / 10000); _withdraw(TEAM_3, (balance * 2000) / 10000); _withdraw(TEAM_4, (balance * 500) / 10000); _withdraw(TEAM_5, (balance * 250) / 10000); _withdraw(TEAM_6, (balance * 150) / 10000); _withdraw(TEAM_7, (balance * 125) / 10000); _withdraw(TEAM_8, (balance * 125) / 10000); _withdraw(CONTRACT_DEV, (balance * 750) / 10000); _withdraw(owner(), address(this).balance); } function withdrawASH() public onlyOwner { uint256 ashBalance = ASH.balanceOf(address(this)); require(ashBalance > 0); ASH.safeTransfer(COMMUNITY_WALLET, (ashBalance * 210) / 1000); ASH.safeTransfer(TEAM_1, (ashBalance * 2000) / 10000); ASH.safeTransfer(TEAM_2, (ashBalance * 2000) / 10000); ASH.safeTransfer(TEAM_3, (ashBalance * 2000) / 10000); ASH.safeTransfer(TEAM_4, (ashBalance * 500) / 10000); ASH.safeTransfer(TEAM_5, (ashBalance * 250) / 10000); ASH.safeTransfer(TEAM_6, (ashBalance * 150) / 10000); ASH.safeTransfer(TEAM_7, (ashBalance * 125) / 10000); ASH.safeTransfer(TEAM_8, (ashBalance * 125) / 10000); ASH.safeTransfer(CONTRACT_DEV, (ashBalance * 750) / 10000); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } function totalSupply() public view returns (uint) { return _tokenIdCounter.current() - 1; } function tokensOfOwner(address _owner, uint startId, uint endId) external view returns(uint256[] memory ) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index = 0; for (uint256 tokenId = startId; tokenId < endId; tokenId++) { if (index == tokenCount) break; if (ownerOf(tokenId) == _owner) { result[index] = tokenId; index++; } } return result; } } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function _leaf(address account, string memory payload) internal pure returns (bytes32) { return keccak256(abi.encodePacked(payload, account)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, root, leaf); } }
// 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 // 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 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` 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 tokenId ) internal virtual {} }
// 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) { return interfaceId == type(IERC165).interfaceId; } }
// 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 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// 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 (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 (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" ] } } }
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":"bytes32","name":"merkleroot","type":"bytes32"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_ashAddress","type":"address"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IS_PRESALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getCurrentMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","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":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"string","name":"key","type":"string"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"string","name":"key","type":"string"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMintASH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicSaleMintASH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleroot","type":"bytes32"}],"name":"setMerkleRoot","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":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawASH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260276080818152906200357160a03980516200002991600a91602090910190620002b9565b50600b805461ffff19169055600e80546001600160a01b031990811673f15017b4c823e3d4e91d9031f1445cb001c3fecb17909155600f80548216734a481ac8f43fc87bebc6470552c9cc505bac8c681790556010805482167351266b01772c9945d33bd0851c981a94c3f5bf0017905560118054821673eaa37d4e3d977aa2f6d460f2cc8b81ea5dd9632317905560128054821673e5cb2c6ace5a67191fd053c0ec60c75e690937d0179055601380548216733385a612e0eb663dcd2c068f69ad65d092110be81790556014805482167378b21283e86160e943691134aa5f7961cd8286301790556015805482167302a54e66a41baf1fba3c141e68169b44a9060db417905560168054821673f93f4075a896accfcce1ebd4da735250fb0eb7a91790556017805490911673a800f34505e8b340cf3ab8793cb40bf09042b28f1790553480156200017a57600080fd5b5060405162003598380380620035988339810160408190526200019d9162000433565b855186908690620001b6906000906020850190620002b9565b508051620001cc906001906020840190620002b9565b505050620001e9620001e36200025a60201b60201c565b6200025e565b600884905582516200020390600a906020860190620002b9565b50600d80546001600160a01b03199081166001600160a01b0385811691909117909255600980549091169183169190911790556200024e6007620002b0602090811b62001b4617901c565b50505050505062000545565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b828054620002c790620004f2565b90600052602060002090601f016020900481019282620002eb576000855562000336565b82601f106200030657805160ff191683800117855562000336565b8280016001018555821562000336579182015b828111156200033657825182559160200191906001019062000319565b506200034492915062000348565b5090565b5b8082111562000344576000815560010162000349565b80516001600160a01b03811681146200037757600080fd5b919050565b600082601f8301126200038e57600080fd5b81516001600160401b0380821115620003ab57620003ab6200052f565b604051601f8301601f19908116603f01168101908282118183101715620003d657620003d66200052f565b81604052838152602092508683858801011115620003f357600080fd5b600091505b83821015620004175785820183015181830184015290820190620003f8565b83821115620004295760008385830101525b9695505050505050565b60008060008060008060c087890312156200044d57600080fd5b86516001600160401b03808211156200046557600080fd5b620004738a838b016200037c565b975060208901519150808211156200048a57600080fd5b620004988a838b016200037c565b9650604089015195506060890151915080821115620004b657600080fd5b50620004c589828a016200037c565b935050620004d6608088016200035f565b9150620004e660a088016200035f565b90509295509295509295565b600181811c908216806200050757607f821691505b602082108114156200052957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61301c80620005556000396000f3fe6080604052600436106101f95760003560e01c806382d29a0f1161010d578063c839fe94116100a0578063e222c7f91161006f578063e222c7f914610590578063e985e9c5146105a5578063ebf0c717146105c5578063f19e75d4146105db578063f2fde38b146105fb57600080fd5b8063c839fe9414610519578063c87b56dd14610546578063ca3cb52214610566578063e086e5ec1461057b57600080fd5b806396966108116100dc57806396966108146104a6578063a22cb465146104c6578063b3ab66b0146104e6578063b88d4fde146104f957600080fd5b806382d29a0f14610444578063853828b61461045e5780638da5cb5b1461047357806395d89b411461049157600080fd5b80632ee8e6171161019057806367ffe5fd1161015f57806367ffe5fd146103b057806370a08231146103d0578063715018a6146103f057806376d02b71146104055780637cb647591461042457600080fd5b80632ee8e6171461033b57806342842e0e1461035057806355f804b3146103705780636352211e1461039057600080fd5b80631545fb9a116101cc5780631545fb9a146102af57806318160ddd146102c25780631d0d1257146102e557806323b872dd1461031b57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004612add565b61061b565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861066d565b60405161022a9190612ced565b34801561026157600080fd5b50610275610270366004612ac4565b6106ff565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004612987565b610799565b005b6102ad6102bd3660046129e8565b6108af565b3480156102ce57600080fd5b506102d7610b43565b60405190815260200161022a565b3480156102f157600080fd5b506102d7610300366004612842565b6001600160a01b03166000908152600c602052604090205490565b34801561032757600080fd5b506102ad610336366004612898565b610b5f565b34801561034757600080fd5b506102ad610b90565b34801561035c57600080fd5b506102ad61036b366004612898565b610d96565b34801561037c57600080fd5b506102ad61038b366004612b34565b610db1565b34801561039c57600080fd5b506102756103ab366004612ac4565b610df2565b3480156103bc57600080fd5b506102ad6103cb3660046129e8565b610e69565b3480156103dc57600080fd5b506102d76103eb366004612842565b61108a565b3480156103fc57600080fd5b506102ad611111565b34801561041157600080fd5b50600b5461021e90610100900460ff1681565b34801561043057600080fd5b506102ad61043f366004612ac4565b611147565b34801561045057600080fd5b50600b5461021e9060ff1681565b34801561046a57600080fd5b506102ad611176565b34801561047f57600080fd5b506006546001600160a01b0316610275565b34801561049d57600080fd5b506102486111b0565b3480156104b257600080fd5b506102ad6104c1366004612ac4565b6111bf565b3480156104d257600080fd5b506102ad6104e1366004612959565b611350565b6102ad6104f4366004612ac4565b61135b565b34801561050557600080fd5b506102ad6105143660046128d9565b61152f565b34801561052557600080fd5b506105396105343660046129b3565b611567565b60405161022a9190612ca9565b34801561055257600080fd5b50610248610561366004612ac4565b61165f565b34801561057257600080fd5b506102ad611739565b34801561058757600080fd5b506102ad611777565b34801561059c57600080fd5b506102ad611907565b3480156105b157600080fd5b5061021e6105c036600461285f565b61194e565b3480156105d157600080fd5b506102d760085481565b3480156105e757600080fd5b506102ad6105f6366004612ac4565b611a1e565b34801561060757600080fd5b506102ad610616366004612842565b611aae565b60006001600160e01b031982166380ac58cd60e01b148061064c57506001600160e01b03198216635b5e139f60e01b145b8061066757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461067c90612eeb565b80601f01602080910402602001604051908101604052809291908181526020018280546106a890612eeb565b80156106f55780601f106106ca576101008083540402835291602001916106f5565b820191906000526020600020905b8154815290600101906020018083116106d857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661077d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107a482610df2565b9050806001600160a01b0316836001600160a01b031614156108125760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610774565b336001600160a01b038216148061082e575061082e813361194e565b6108a05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610774565b6108aa8383611b4f565b505050565b3332146108ce5760405162461bcd60e51b815260040161077490612de0565b336001600160a01b038716146109145760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610774565b600b5460ff166109615760405162461bcd60e51b8152602060048201526018602482015277141c994b5cd85b19481a185d995b89dd081cdd185c9d195960421b6044820152606401610774565b61097367011c37937e08000086612e89565b3410156109bb5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da08195d1a195c9cc81cd95b9d60521b6044820152606401610774565b60006109c685611bbd565b846040516020016109d8929190612c30565b6040516020818303038152906040529050610a2f6109f63383611cbb565b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611cee92505050565b610a725760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610774565b6000610a7d60075490565b9050610a8c61270f6002612e5d565b610a968883612e5d565b10610ab35760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020548690610ad0908990612e5d565b1115610aee5760405162461bcd60e51b815260040161077490612d52565b336000908152600c602052604081208054899290610b0d908490612e5d565b90915550600090505b87811015610b3857610b26611cfd565b80610b3081612f26565b915050610b16565b505050505050505050565b60006001610b5060075490565b610b5a9190612ea8565b905090565b610b693382611d22565b610b855760405162461bcd60e51b815260040161077490612e0c565b6108aa838383611df1565b6006546001600160a01b03163314610bba5760405162461bcd60e51b815260040161077490612dab565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610bfe57600080fd5b505afa158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190612b69565b905060008111610c4557600080fd5b600e54610c80906001600160a01b03166103e8610c638460d2612e89565b610c6d9190612e75565b600d546001600160a01b03169190611f91565b600f54610c9f906001600160a01b0316612710610c63846107d0612e89565b601054610cbe906001600160a01b0316612710610c63846107d0612e89565b601154610cdd906001600160a01b0316612710610c63846107d0612e89565b601254610cfc906001600160a01b0316612710610c63846101f4612e89565b601354610d1a906001600160a01b0316612710610c638460fa612e89565b601454610d38906001600160a01b0316612710610c63846096612e89565b601554610d56906001600160a01b0316612710610c6384607d612e89565b601654610d74906001600160a01b0316612710610c6384607d612e89565b601754610d93906001600160a01b0316612710610c63846102ee612e89565b50565b6108aa8383836040518060200160405280600081525061152f565b6006546001600160a01b03163314610ddb5760405162461bcd60e51b815260040161077490612dab565b8051610dee90600a906020840190612713565b5050565b6000818152600260205260408120546001600160a01b0316806106675760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610774565b333214610e885760405162461bcd60e51b815260040161077490612de0565b336001600160a01b03871614610ece5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610774565b600b5460ff16610f1b5760405162461bcd60e51b8152602060048201526018602482015277141c994b5cd85b19481a185d995b89dd081cdd185c9d195960421b6044820152606401610774565b610f463330610f3267d02ab486cedc000089612e89565b600d546001600160a01b0316929190611ff4565b6000610f5185611bbd565b84604051602001610f63929190612c30565b6040516020818303038152906040529050610f816109f63383611cbb565b610fc45760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610774565b6000610fcf60075490565b9050610fde61270f6002612e5d565b610fe88883612e5d565b106110055760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020548690611022908990612e5d565b11156110405760405162461bcd60e51b815260040161077490612d52565b336000908152600c60205260408120805489929061105f908490612e5d565b90915550600090505b87811015610b3857611078611cfd565b8061108281612f26565b915050611068565b60006001600160a01b0382166110f55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610774565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461113b5760405162461bcd60e51b815260040161077490612dab565b611145600061202c565b565b6006546001600160a01b031633146111715760405162461bcd60e51b815260040161077490612dab565b600855565b6006546001600160a01b031633146111a05760405162461bcd60e51b815260040161077490612dab565b6111a8611777565b611145610b90565b60606001805461067c90612eeb565b3332146111de5760405162461bcd60e51b815260040161077490612de0565b600b54610100900460ff1661122c5760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185d995b89dd081cdd185c9d195960621b6044820152606401610774565b600a8111156112725760405162461bcd60e51b8152602060048201526012602482015271151bdbc81b585b9e481c995c5d595cdd195960721b6044820152606401610774565b6112893330610f3267d02ab486cedc000085612e89565b600061129460075490565b90506112a361270f6002612e5d565b6112ad8383612e5d565b106112ca5760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020546014906112e8908490612e5d565b11156113065760405162461bcd60e51b815260040161077490612d52565b336000908152600c602052604081208054849290611325908490612e5d565b90915550600090505b828110156108aa5761133e611cfd565b8061134881612f26565b91505061132e565b610dee33838361207e565b33321461137a5760405162461bcd60e51b815260040161077490612de0565b600b54610100900460ff166113c85760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185d995b89dd081cdd185c9d195960621b6044820152606401610774565b600a81111561140e5760405162461bcd60e51b8152602060048201526012602482015271151bdbc81b585b9e481c995c5d595cdd195960721b6044820152606401610774565b61142067011c37937e08000082612e89565b3410156114685760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da08195d1a195c9cc81cd95b9d60521b6044820152606401610774565b600061147360075490565b905061148261270f6002612e5d565b61148c8383612e5d565b106114a95760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020546014906114c7908490612e5d565b11156114e55760405162461bcd60e51b815260040161077490612d52565b336000908152600c602052604081208054849290611504908490612e5d565b90915550600090505b828110156108aa5761151d611cfd565b8061152781612f26565b91505061150d565b6115393383611d22565b6115555760405162461bcd60e51b815260040161077490612e0c565b6115618484848461214d565b50505050565b606060006115748561108a565b905080611591575050604080516000815260208101909152611658565b60008167ffffffffffffffff8111156115ac576115ac612f97565b6040519080825280602002602001820160405280156115d5578160200160208202803683370190505b5090506000855b8581101561165157838214156115f157611651565b876001600160a01b031661160482610df2565b6001600160a01b0316141561163f578083838151811061162657611626612f81565b60209081029190910101528161163b81612f26565b9250505b8061164981612f26565b9150506115dc565b5090925050505b9392505050565b6000818152600260205260409020546060906001600160a01b03166116de5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610774565b60006116e8612180565b905060008151116117085760405180602001604052806000815250611658565b8061171284611bbd565b604051602001611723929190612c01565b6040516020818303038152906040529392505050565b6006546001600160a01b031633146117635760405162461bcd60e51b815260040161077490612dab565b600b805460ff19811660ff90911615179055565b6006546001600160a01b031633146117a15760405162461bcd60e51b815260040161077490612dab565b47806117ac57600080fd5b600e546117d9906001600160a01b03166103e86117ca8460d2612e89565b6117d49190612e75565b61218f565b600f546117f8906001600160a01b03166127106117ca846107d0612e89565b601054611817906001600160a01b03166127106117ca846107d0612e89565b601154611836906001600160a01b03166127106117ca846107d0612e89565b601254611855906001600160a01b03166127106117ca846101f4612e89565b601354611873906001600160a01b03166127106117ca8460fa612e89565b601454611891906001600160a01b03166127106117ca846096612e89565b6015546118af906001600160a01b03166127106117ca84607d612e89565b6016546118cd906001600160a01b03166127106117ca84607d612e89565b6017546118ec906001600160a01b03166127106117ca846102ee612e89565b610d936119016006546001600160a01b031690565b4761218f565b6006546001600160a01b031633146119315760405162461bcd60e51b815260040161077490612dab565b600b805461ff001981166101009182900460ff1615909102179055565b60095460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561199b57600080fd5b505afa1580156119af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d39190612b17565b6001600160a01b031614156119ec576001915050610667565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314611a485760405162461bcd60e51b815260040161077490612dab565b6000611a5360075490565b9050611a6261270f6002612e5d565b611a6c8383612e5d565b10611a895760405162461bcd60e51b815260040161077490612d7d565b60005b828110156108aa57611a9c611cfd565b80611aa681612f26565b915050611a8c565b6006546001600160a01b03163314611ad85760405162461bcd60e51b815260040161077490612dab565b6001600160a01b038116611b3d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610774565b610d938161202c565b80546001019055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b8482610df2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606081611be15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c0b5780611bf581612f26565b9150611c049050600a83612e75565b9150611be5565b60008167ffffffffffffffff811115611c2657611c26612f97565b6040519080825280601f01601f191660200182016040528015611c50576020820181803683370190505b5090505b8415611a1657611c65600183612ea8565b9150611c72600a86612f41565b611c7d906030612e5d565b60f81b818381518110611c9257611c92612f81565b60200101906001600160f81b031916908160001a905350611cb4600a86612e75565b9450611c54565b60008183604051602001611cd0929190612bca565b60405160208183030381529060405280519060200120905092915050565b60006116588260085485612225565b6000611d0860075490565b9050611d18600780546001019055565b610d93338261223b565b6000818152600260205260408120546001600160a01b0316611d9b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610774565b6000611da683610df2565b9050806001600160a01b0316846001600160a01b03161480611de15750836001600160a01b0316611dd6846106ff565b6001600160a01b0316145b80611a165750611a16818561194e565b826001600160a01b0316611e0482610df2565b6001600160a01b031614611e6c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610774565b6001600160a01b038216611ece5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610774565b611ed9600082611b4f565b6001600160a01b0383166000908152600360205260408120805460019290611f02908490612ea8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f30908490612e5d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040516001600160a01b0383166024820152604481018290526108aa90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261237d565b6040516001600160a01b03808516602483015283166044820152606481018290526115619085906323b872dd60e01b90608401611fbd565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156120e05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610774565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612158848484611df1565b6121648484848461244f565b6115615760405162461bcd60e51b815260040161077490612d00565b6060600a805461067c90612eeb565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121dc576040519150601f19603f3d011682016040523d82523d6000602084013e6121e1565b606091505b50509050806108aa5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610774565b600082612232858461255c565b14949350505050565b6001600160a01b0382166122915760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610774565b6000818152600260205260409020546001600160a01b0316156122f65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610774565b6001600160a01b038216600090815260036020526040812080546001929061231f908490612e5d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006123d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126089092919063ffffffff16565b8051909150156108aa57808060200190518101906123f09190612aa7565b6108aa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610774565b60006001600160a01b0384163b1561255157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612493903390899088908890600401612c6c565b602060405180830381600087803b1580156124ad57600080fd5b505af19250505080156124dd575060408051601f3d908101601f191682019092526124da91810190612afa565b60015b612537573d80801561250b576040519150601f19603f3d011682016040523d82523d6000602084013e612510565b606091505b50805161252f5760405162461bcd60e51b815260040161077490612d00565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a16565b506001949350505050565b600081815b845181101561260057600085828151811061257e5761257e612f81565b602002602001015190508083116125c05760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506125ed565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806125f881612f26565b915050612561565b509392505050565b6060611a16848460008585843b6126615760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610774565b600080866001600160a01b0316858760405161267d9190612bae565b60006040518083038185875af1925050503d80600081146126ba576040519150601f19603f3d011682016040523d82523d6000602084013e6126bf565b606091505b50915091506126cf8282866126da565b979650505050505050565b606083156126e9575081611658565b8251156126f95782518084602001fd5b8160405162461bcd60e51b81526004016107749190612ced565b82805461271f90612eeb565b90600052602060002090601f0160209004810192826127415760008555612787565b82601f1061275a57805160ff1916838001178555612787565b82800160010185558215612787579182015b8281111561278757825182559160200191906001019061276c565b50612793929150612797565b5090565b5b808211156127935760008155600101612798565b600067ffffffffffffffff808411156127c7576127c7612f97565b604051601f8501601f19908116603f011681019082821181831017156127ef576127ef612f97565b8160405280935085815286868601111561280857600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261283357600080fd5b611658838335602085016127ac565b60006020828403121561285457600080fd5b813561165881612fad565b6000806040838503121561287257600080fd5b823561287d81612fad565b9150602083013561288d81612fad565b809150509250929050565b6000806000606084860312156128ad57600080fd5b83356128b881612fad565b925060208401356128c881612fad565b929592945050506040919091013590565b600080600080608085870312156128ef57600080fd5b84356128fa81612fad565b9350602085013561290a81612fad565b925060408501359150606085013567ffffffffffffffff81111561292d57600080fd5b8501601f8101871361293e57600080fd5b61294d878235602084016127ac565b91505092959194509250565b6000806040838503121561296c57600080fd5b823561297781612fad565b9150602083013561288d81612fc2565b6000806040838503121561299a57600080fd5b82356129a581612fad565b946020939093013593505050565b6000806000606084860312156129c857600080fd5b83356129d381612fad565b95602085013595506040909401359392505050565b60008060008060008060a08789031215612a0157600080fd5b8635612a0c81612fad565b95506020870135945060408701359350606087013567ffffffffffffffff80821115612a3757600080fd5b612a438a838b01612822565b94506080890135915080821115612a5957600080fd5b818901915089601f830112612a6d57600080fd5b813581811115612a7c57600080fd5b8a60208260051b8501011115612a9157600080fd5b6020830194508093505050509295509295509295565b600060208284031215612ab957600080fd5b815161165881612fc2565b600060208284031215612ad657600080fd5b5035919050565b600060208284031215612aef57600080fd5b813561165881612fd0565b600060208284031215612b0c57600080fd5b815161165881612fd0565b600060208284031215612b2957600080fd5b815161165881612fad565b600060208284031215612b4657600080fd5b813567ffffffffffffffff811115612b5d57600080fd5b611a1684828501612822565b600060208284031215612b7b57600080fd5b5051919050565b60008151808452612b9a816020860160208601612ebf565b601f01601f19169290920160200192915050565b60008251612bc0818460208701612ebf565b9190910192915050565b60008351612bdc818460208801612ebf565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351612c13818460208801612ebf565b835190830190612c27818360208801612ebf565b01949350505050565b60008351612c42818460208801612ebf565b601d60f91b9083019081528351612c60816001840160208801612ebf565b01600101949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c9f90830184612b82565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ce157835183529284019291840191600101612cc5565b50909695505050505050565b6020815260006116586020830184612b82565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601190820152704578636565647320616c6c6f77616e636560781b604082015260600190565b6020808252601490820152734578636565647320746f74616c20737570706c7960601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601290820152712737ba1030b63637bbb2b21037b934b3b4b760711b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612e7057612e70612f55565b500190565b600082612e8457612e84612f6b565b500490565b6000816000190483118215151615612ea357612ea3612f55565b500290565b600082821015612eba57612eba612f55565b500390565b60005b83811015612eda578181015183820152602001612ec2565b838111156115615750506000910152565b600181811c90821680612eff57607f821691505b60208210811415612f2057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f3a57612f3a612f55565b5060010190565b600082612f5057612f50612f6b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d9357600080fd5b8015158114610d9357600080fd5b6001600160e01b031981168114610d9357600080fdfea2646970667358221220f26c24418379afb52839d05f7dcc20eec3d9b88a4e89d1a583f6d169f51e52d864736f6c6343000807003368747470733a2f2f6170692e676f646f746d6f76656d656e742e636f6d2f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001006975cd7e3530d0dcf036790309685b94f4c21a10106ddd12d7ea3cc0fb5be2f9000000000000000000000000000000000000000000000000000000000000014000000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000e676f646f74206d6f76656d656e740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005474f444f54000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f683674696863376e67332e657865637574652d6170692e65752d776573742d312e616d617a6f6e6177732e636f6d2f676f646f746d6f76656d656e742f6d657461646174612f000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c806382d29a0f1161010d578063c839fe94116100a0578063e222c7f91161006f578063e222c7f914610590578063e985e9c5146105a5578063ebf0c717146105c5578063f19e75d4146105db578063f2fde38b146105fb57600080fd5b8063c839fe9414610519578063c87b56dd14610546578063ca3cb52214610566578063e086e5ec1461057b57600080fd5b806396966108116100dc57806396966108146104a6578063a22cb465146104c6578063b3ab66b0146104e6578063b88d4fde146104f957600080fd5b806382d29a0f14610444578063853828b61461045e5780638da5cb5b1461047357806395d89b411461049157600080fd5b80632ee8e6171161019057806367ffe5fd1161015f57806367ffe5fd146103b057806370a08231146103d0578063715018a6146103f057806376d02b71146104055780637cb647591461042457600080fd5b80632ee8e6171461033b57806342842e0e1461035057806355f804b3146103705780636352211e1461039057600080fd5b80631545fb9a116101cc5780631545fb9a146102af57806318160ddd146102c25780631d0d1257146102e557806323b872dd1461031b57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004612add565b61061b565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861066d565b60405161022a9190612ced565b34801561026157600080fd5b50610275610270366004612ac4565b6106ff565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004612987565b610799565b005b6102ad6102bd3660046129e8565b6108af565b3480156102ce57600080fd5b506102d7610b43565b60405190815260200161022a565b3480156102f157600080fd5b506102d7610300366004612842565b6001600160a01b03166000908152600c602052604090205490565b34801561032757600080fd5b506102ad610336366004612898565b610b5f565b34801561034757600080fd5b506102ad610b90565b34801561035c57600080fd5b506102ad61036b366004612898565b610d96565b34801561037c57600080fd5b506102ad61038b366004612b34565b610db1565b34801561039c57600080fd5b506102756103ab366004612ac4565b610df2565b3480156103bc57600080fd5b506102ad6103cb3660046129e8565b610e69565b3480156103dc57600080fd5b506102d76103eb366004612842565b61108a565b3480156103fc57600080fd5b506102ad611111565b34801561041157600080fd5b50600b5461021e90610100900460ff1681565b34801561043057600080fd5b506102ad61043f366004612ac4565b611147565b34801561045057600080fd5b50600b5461021e9060ff1681565b34801561046a57600080fd5b506102ad611176565b34801561047f57600080fd5b506006546001600160a01b0316610275565b34801561049d57600080fd5b506102486111b0565b3480156104b257600080fd5b506102ad6104c1366004612ac4565b6111bf565b3480156104d257600080fd5b506102ad6104e1366004612959565b611350565b6102ad6104f4366004612ac4565b61135b565b34801561050557600080fd5b506102ad6105143660046128d9565b61152f565b34801561052557600080fd5b506105396105343660046129b3565b611567565b60405161022a9190612ca9565b34801561055257600080fd5b50610248610561366004612ac4565b61165f565b34801561057257600080fd5b506102ad611739565b34801561058757600080fd5b506102ad611777565b34801561059c57600080fd5b506102ad611907565b3480156105b157600080fd5b5061021e6105c036600461285f565b61194e565b3480156105d157600080fd5b506102d760085481565b3480156105e757600080fd5b506102ad6105f6366004612ac4565b611a1e565b34801561060757600080fd5b506102ad610616366004612842565b611aae565b60006001600160e01b031982166380ac58cd60e01b148061064c57506001600160e01b03198216635b5e139f60e01b145b8061066757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461067c90612eeb565b80601f01602080910402602001604051908101604052809291908181526020018280546106a890612eeb565b80156106f55780601f106106ca576101008083540402835291602001916106f5565b820191906000526020600020905b8154815290600101906020018083116106d857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661077d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107a482610df2565b9050806001600160a01b0316836001600160a01b031614156108125760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610774565b336001600160a01b038216148061082e575061082e813361194e565b6108a05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610774565b6108aa8383611b4f565b505050565b3332146108ce5760405162461bcd60e51b815260040161077490612de0565b336001600160a01b038716146109145760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610774565b600b5460ff166109615760405162461bcd60e51b8152602060048201526018602482015277141c994b5cd85b19481a185d995b89dd081cdd185c9d195960421b6044820152606401610774565b61097367011c37937e08000086612e89565b3410156109bb5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da08195d1a195c9cc81cd95b9d60521b6044820152606401610774565b60006109c685611bbd565b846040516020016109d8929190612c30565b6040516020818303038152906040529050610a2f6109f63383611cbb565b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611cee92505050565b610a725760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610774565b6000610a7d60075490565b9050610a8c61270f6002612e5d565b610a968883612e5d565b10610ab35760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020548690610ad0908990612e5d565b1115610aee5760405162461bcd60e51b815260040161077490612d52565b336000908152600c602052604081208054899290610b0d908490612e5d565b90915550600090505b87811015610b3857610b26611cfd565b80610b3081612f26565b915050610b16565b505050505050505050565b60006001610b5060075490565b610b5a9190612ea8565b905090565b610b693382611d22565b610b855760405162461bcd60e51b815260040161077490612e0c565b6108aa838383611df1565b6006546001600160a01b03163314610bba5760405162461bcd60e51b815260040161077490612dab565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610bfe57600080fd5b505afa158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190612b69565b905060008111610c4557600080fd5b600e54610c80906001600160a01b03166103e8610c638460d2612e89565b610c6d9190612e75565b600d546001600160a01b03169190611f91565b600f54610c9f906001600160a01b0316612710610c63846107d0612e89565b601054610cbe906001600160a01b0316612710610c63846107d0612e89565b601154610cdd906001600160a01b0316612710610c63846107d0612e89565b601254610cfc906001600160a01b0316612710610c63846101f4612e89565b601354610d1a906001600160a01b0316612710610c638460fa612e89565b601454610d38906001600160a01b0316612710610c63846096612e89565b601554610d56906001600160a01b0316612710610c6384607d612e89565b601654610d74906001600160a01b0316612710610c6384607d612e89565b601754610d93906001600160a01b0316612710610c63846102ee612e89565b50565b6108aa8383836040518060200160405280600081525061152f565b6006546001600160a01b03163314610ddb5760405162461bcd60e51b815260040161077490612dab565b8051610dee90600a906020840190612713565b5050565b6000818152600260205260408120546001600160a01b0316806106675760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610774565b333214610e885760405162461bcd60e51b815260040161077490612de0565b336001600160a01b03871614610ece5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610774565b600b5460ff16610f1b5760405162461bcd60e51b8152602060048201526018602482015277141c994b5cd85b19481a185d995b89dd081cdd185c9d195960421b6044820152606401610774565b610f463330610f3267d02ab486cedc000089612e89565b600d546001600160a01b0316929190611ff4565b6000610f5185611bbd565b84604051602001610f63929190612c30565b6040516020818303038152906040529050610f816109f63383611cbb565b610fc45760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610774565b6000610fcf60075490565b9050610fde61270f6002612e5d565b610fe88883612e5d565b106110055760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020548690611022908990612e5d565b11156110405760405162461bcd60e51b815260040161077490612d52565b336000908152600c60205260408120805489929061105f908490612e5d565b90915550600090505b87811015610b3857611078611cfd565b8061108281612f26565b915050611068565b60006001600160a01b0382166110f55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610774565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461113b5760405162461bcd60e51b815260040161077490612dab565b611145600061202c565b565b6006546001600160a01b031633146111715760405162461bcd60e51b815260040161077490612dab565b600855565b6006546001600160a01b031633146111a05760405162461bcd60e51b815260040161077490612dab565b6111a8611777565b611145610b90565b60606001805461067c90612eeb565b3332146111de5760405162461bcd60e51b815260040161077490612de0565b600b54610100900460ff1661122c5760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185d995b89dd081cdd185c9d195960621b6044820152606401610774565b600a8111156112725760405162461bcd60e51b8152602060048201526012602482015271151bdbc81b585b9e481c995c5d595cdd195960721b6044820152606401610774565b6112893330610f3267d02ab486cedc000085612e89565b600061129460075490565b90506112a361270f6002612e5d565b6112ad8383612e5d565b106112ca5760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020546014906112e8908490612e5d565b11156113065760405162461bcd60e51b815260040161077490612d52565b336000908152600c602052604081208054849290611325908490612e5d565b90915550600090505b828110156108aa5761133e611cfd565b8061134881612f26565b91505061132e565b610dee33838361207e565b33321461137a5760405162461bcd60e51b815260040161077490612de0565b600b54610100900460ff166113c85760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185d995b89dd081cdd185c9d195960621b6044820152606401610774565b600a81111561140e5760405162461bcd60e51b8152602060048201526012602482015271151bdbc81b585b9e481c995c5d595cdd195960721b6044820152606401610774565b61142067011c37937e08000082612e89565b3410156114685760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da08195d1a195c9cc81cd95b9d60521b6044820152606401610774565b600061147360075490565b905061148261270f6002612e5d565b61148c8383612e5d565b106114a95760405162461bcd60e51b815260040161077490612d7d565b336000908152600c60205260409020546014906114c7908490612e5d565b11156114e55760405162461bcd60e51b815260040161077490612d52565b336000908152600c602052604081208054849290611504908490612e5d565b90915550600090505b828110156108aa5761151d611cfd565b8061152781612f26565b91505061150d565b6115393383611d22565b6115555760405162461bcd60e51b815260040161077490612e0c565b6115618484848461214d565b50505050565b606060006115748561108a565b905080611591575050604080516000815260208101909152611658565b60008167ffffffffffffffff8111156115ac576115ac612f97565b6040519080825280602002602001820160405280156115d5578160200160208202803683370190505b5090506000855b8581101561165157838214156115f157611651565b876001600160a01b031661160482610df2565b6001600160a01b0316141561163f578083838151811061162657611626612f81565b60209081029190910101528161163b81612f26565b9250505b8061164981612f26565b9150506115dc565b5090925050505b9392505050565b6000818152600260205260409020546060906001600160a01b03166116de5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610774565b60006116e8612180565b905060008151116117085760405180602001604052806000815250611658565b8061171284611bbd565b604051602001611723929190612c01565b6040516020818303038152906040529392505050565b6006546001600160a01b031633146117635760405162461bcd60e51b815260040161077490612dab565b600b805460ff19811660ff90911615179055565b6006546001600160a01b031633146117a15760405162461bcd60e51b815260040161077490612dab565b47806117ac57600080fd5b600e546117d9906001600160a01b03166103e86117ca8460d2612e89565b6117d49190612e75565b61218f565b600f546117f8906001600160a01b03166127106117ca846107d0612e89565b601054611817906001600160a01b03166127106117ca846107d0612e89565b601154611836906001600160a01b03166127106117ca846107d0612e89565b601254611855906001600160a01b03166127106117ca846101f4612e89565b601354611873906001600160a01b03166127106117ca8460fa612e89565b601454611891906001600160a01b03166127106117ca846096612e89565b6015546118af906001600160a01b03166127106117ca84607d612e89565b6016546118cd906001600160a01b03166127106117ca84607d612e89565b6017546118ec906001600160a01b03166127106117ca846102ee612e89565b610d936119016006546001600160a01b031690565b4761218f565b6006546001600160a01b031633146119315760405162461bcd60e51b815260040161077490612dab565b600b805461ff001981166101009182900460ff1615909102179055565b60095460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561199b57600080fd5b505afa1580156119af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d39190612b17565b6001600160a01b031614156119ec576001915050610667565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314611a485760405162461bcd60e51b815260040161077490612dab565b6000611a5360075490565b9050611a6261270f6002612e5d565b611a6c8383612e5d565b10611a895760405162461bcd60e51b815260040161077490612d7d565b60005b828110156108aa57611a9c611cfd565b80611aa681612f26565b915050611a8c565b6006546001600160a01b03163314611ad85760405162461bcd60e51b815260040161077490612dab565b6001600160a01b038116611b3d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610774565b610d938161202c565b80546001019055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b8482610df2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606081611be15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c0b5780611bf581612f26565b9150611c049050600a83612e75565b9150611be5565b60008167ffffffffffffffff811115611c2657611c26612f97565b6040519080825280601f01601f191660200182016040528015611c50576020820181803683370190505b5090505b8415611a1657611c65600183612ea8565b9150611c72600a86612f41565b611c7d906030612e5d565b60f81b818381518110611c9257611c92612f81565b60200101906001600160f81b031916908160001a905350611cb4600a86612e75565b9450611c54565b60008183604051602001611cd0929190612bca565b60405160208183030381529060405280519060200120905092915050565b60006116588260085485612225565b6000611d0860075490565b9050611d18600780546001019055565b610d93338261223b565b6000818152600260205260408120546001600160a01b0316611d9b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610774565b6000611da683610df2565b9050806001600160a01b0316846001600160a01b03161480611de15750836001600160a01b0316611dd6846106ff565b6001600160a01b0316145b80611a165750611a16818561194e565b826001600160a01b0316611e0482610df2565b6001600160a01b031614611e6c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610774565b6001600160a01b038216611ece5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610774565b611ed9600082611b4f565b6001600160a01b0383166000908152600360205260408120805460019290611f02908490612ea8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f30908490612e5d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040516001600160a01b0383166024820152604481018290526108aa90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261237d565b6040516001600160a01b03808516602483015283166044820152606481018290526115619085906323b872dd60e01b90608401611fbd565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156120e05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610774565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612158848484611df1565b6121648484848461244f565b6115615760405162461bcd60e51b815260040161077490612d00565b6060600a805461067c90612eeb565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121dc576040519150601f19603f3d011682016040523d82523d6000602084013e6121e1565b606091505b50509050806108aa5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610774565b600082612232858461255c565b14949350505050565b6001600160a01b0382166122915760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610774565b6000818152600260205260409020546001600160a01b0316156122f65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610774565b6001600160a01b038216600090815260036020526040812080546001929061231f908490612e5d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006123d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126089092919063ffffffff16565b8051909150156108aa57808060200190518101906123f09190612aa7565b6108aa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610774565b60006001600160a01b0384163b1561255157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612493903390899088908890600401612c6c565b602060405180830381600087803b1580156124ad57600080fd5b505af19250505080156124dd575060408051601f3d908101601f191682019092526124da91810190612afa565b60015b612537573d80801561250b576040519150601f19603f3d011682016040523d82523d6000602084013e612510565b606091505b50805161252f5760405162461bcd60e51b815260040161077490612d00565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a16565b506001949350505050565b600081815b845181101561260057600085828151811061257e5761257e612f81565b602002602001015190508083116125c05760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506125ed565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806125f881612f26565b915050612561565b509392505050565b6060611a16848460008585843b6126615760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610774565b600080866001600160a01b0316858760405161267d9190612bae565b60006040518083038185875af1925050503d80600081146126ba576040519150601f19603f3d011682016040523d82523d6000602084013e6126bf565b606091505b50915091506126cf8282866126da565b979650505050505050565b606083156126e9575081611658565b8251156126f95782518084602001fd5b8160405162461bcd60e51b81526004016107749190612ced565b82805461271f90612eeb565b90600052602060002090601f0160209004810192826127415760008555612787565b82601f1061275a57805160ff1916838001178555612787565b82800160010185558215612787579182015b8281111561278757825182559160200191906001019061276c565b50612793929150612797565b5090565b5b808211156127935760008155600101612798565b600067ffffffffffffffff808411156127c7576127c7612f97565b604051601f8501601f19908116603f011681019082821181831017156127ef576127ef612f97565b8160405280935085815286868601111561280857600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261283357600080fd5b611658838335602085016127ac565b60006020828403121561285457600080fd5b813561165881612fad565b6000806040838503121561287257600080fd5b823561287d81612fad565b9150602083013561288d81612fad565b809150509250929050565b6000806000606084860312156128ad57600080fd5b83356128b881612fad565b925060208401356128c881612fad565b929592945050506040919091013590565b600080600080608085870312156128ef57600080fd5b84356128fa81612fad565b9350602085013561290a81612fad565b925060408501359150606085013567ffffffffffffffff81111561292d57600080fd5b8501601f8101871361293e57600080fd5b61294d878235602084016127ac565b91505092959194509250565b6000806040838503121561296c57600080fd5b823561297781612fad565b9150602083013561288d81612fc2565b6000806040838503121561299a57600080fd5b82356129a581612fad565b946020939093013593505050565b6000806000606084860312156129c857600080fd5b83356129d381612fad565b95602085013595506040909401359392505050565b60008060008060008060a08789031215612a0157600080fd5b8635612a0c81612fad565b95506020870135945060408701359350606087013567ffffffffffffffff80821115612a3757600080fd5b612a438a838b01612822565b94506080890135915080821115612a5957600080fd5b818901915089601f830112612a6d57600080fd5b813581811115612a7c57600080fd5b8a60208260051b8501011115612a9157600080fd5b6020830194508093505050509295509295509295565b600060208284031215612ab957600080fd5b815161165881612fc2565b600060208284031215612ad657600080fd5b5035919050565b600060208284031215612aef57600080fd5b813561165881612fd0565b600060208284031215612b0c57600080fd5b815161165881612fd0565b600060208284031215612b2957600080fd5b815161165881612fad565b600060208284031215612b4657600080fd5b813567ffffffffffffffff811115612b5d57600080fd5b611a1684828501612822565b600060208284031215612b7b57600080fd5b5051919050565b60008151808452612b9a816020860160208601612ebf565b601f01601f19169290920160200192915050565b60008251612bc0818460208701612ebf565b9190910192915050565b60008351612bdc818460208801612ebf565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351612c13818460208801612ebf565b835190830190612c27818360208801612ebf565b01949350505050565b60008351612c42818460208801612ebf565b601d60f91b9083019081528351612c60816001840160208801612ebf565b01600101949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c9f90830184612b82565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ce157835183529284019291840191600101612cc5565b50909695505050505050565b6020815260006116586020830184612b82565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601190820152704578636565647320616c6c6f77616e636560781b604082015260600190565b6020808252601490820152734578636565647320746f74616c20737570706c7960601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601290820152712737ba1030b63637bbb2b21037b934b3b4b760711b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612e7057612e70612f55565b500190565b600082612e8457612e84612f6b565b500490565b6000816000190483118215151615612ea357612ea3612f55565b500290565b600082821015612eba57612eba612f55565b500390565b60005b83811015612eda578181015183820152602001612ec2565b838111156115615750506000910152565b600181811c90821680612eff57607f821691505b60208210811415612f2057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f3a57612f3a612f55565b5060010190565b600082612f5057612f50612f6b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d9357600080fd5b8015158114610d9357600080fd5b6001600160e01b031981168114610d9357600080fdfea2646970667358221220f26c24418379afb52839d05f7dcc20eec3d9b88a4e89d1a583f6d169f51e52d864736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001006975cd7e3530d0dcf036790309685b94f4c21a10106ddd12d7ea3cc0fb5be2f9000000000000000000000000000000000000000000000000000000000000014000000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000e676f646f74206d6f76656d656e740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005474f444f54000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f683674696863376e67332e657865637574652d6170692e65752d776573742d312e616d617a6f6e6177732e636f6d2f676f646f746d6f76656d656e742f6d657461646174612f000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): godot movement
Arg [1] : symbol (string): GODOT
Arg [2] : merkleroot (bytes32): 0x6975cd7e3530d0dcf036790309685b94f4c21a10106ddd12d7ea3cc0fb5be2f9
Arg [3] : baseURI (string): https://h6tihc7ng3.execute-api.eu-west-1.amazonaws.com/godotmovement/metadata/
Arg [4] : _ashAddress (address): 0x64D91f12Ece7362F91A6f8E7940Cd55F05060b92
Arg [5] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 6975cd7e3530d0dcf036790309685b94f4c21a10106ddd12d7ea3cc0fb5be2f9
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 00000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92
Arg [5] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [7] : 676f646f74206d6f76656d656e74000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 474f444f54000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000004e
Arg [11] : 68747470733a2f2f683674696863376e67332e657865637574652d6170692e65
Arg [12] : 752d776573742d312e616d617a6f6e6177732e636f6d2f676f646f746d6f7665
Arg [13] : 6d656e742f6d657461646174612f000000000000000000000000000000000000
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.