Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
291,100 UNIC
Holders
138
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
9.6 UNICLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UNI20
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 20000 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "./ERC20/IERC20.sol"; import "./ERC721/ERC721.sol"; import "./ERC721/IERC721.sol"; import "./Base64.sol"; import "./verify.sol"; struct Tick { string op; uint256 amt; } contract UNI20 is IERC20, ERC721, VerifySig { uint64 public maxSupply; // 21,000,000 uint64 public mintLimit; // 1000 uint64 public lastBlock; uint64 public mintedPer; // bytes32 public immutable hashPre; bytes32 public immutable hash; bool public nft2ft; // number of tickets minted uint128 private tickNumber; uint128 internal _totalSupply; address public proxy; mapping(uint256 => bool) public claimed; address public constant signer = address(0x211b9f667ED28963FefE7B54d58Bd806F1F17489); // -------- IERC20 -------- mapping(address => uint256) internal _balances; mapping(address => uint256) internal _insBalances; mapping(address => mapping(address => uint256)) private _allowances; string private _tick; // for svg mapping(uint256 => Tick) internal _tickets; constructor( string memory tick, uint64 maxSupply_, uint64 mintLimit_, address proxy_ ) ERC721("uni-20", tick) { _tick = tick; // hashPre = keccak256( // string.concat( // '{"p":"uni-20","op":"mint","tick":"', // bytes(tick), // '","amt":"' // ) // ); // hashTail = keccak256(bytes('"}')); hash = keccak256( string.concat( '{"p":"uni-20","op":"mint","tick":"', bytes(tick), '","amt":"1000"}' ) ); maxSupply = maxSupply_; mintLimit = mintLimit_; proxy = proxy_; } event Inscribe(address indexed from, address indexed to, string data); function verify(uint256[] memory tokenId, bytes memory sig) internal view { bytes32 msgHash = keccak256(abi.encodePacked(msg.sender, tokenId)); bytes32 ethSignedMessageHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", msgHash)); require(recover(ethSignedMessageHash, sig) == signer, "invalid sig"); } function claim(uint256[] memory tokenId, bytes memory sig) public { require(tx.origin == msg.sender, "Contracts are not allowed"); verify(tokenId, sig); for (uint i = 0; i < tokenId.length; i ++) { uint256 id = tokenId[i]; require(_owners[id] == address(0), "Claimed"); uint256 amt = 1000; _mint(msg.sender, id, amt); } require(_totalSupply < maxSupply, "Exceeded max supply"); } function _mint(address to, uint256 tokenId, uint256 amount) internal { _beforeTokenTransfer(address(0), to, tokenId); unchecked { _totalSupply += uint128(amount); _balances[to] += amount; _insBalances[msg.sender]++; } _owners[tokenId] = to; _tickets[tokenId] = Tick("mint", amount); emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /* function extractAmt(string memory json) internal view returns (uint256) { // index of amt's value uint amtStart = 47; bytes memory jsonBytes = bytes(json); require( jsonBytes.length == 53, 'Inscribe data is wrong.' ); // verify pre hash bytes memory pre = new bytes(amtStart); for (uint256 i = 0; i < amtStart; i++) { pre[i] = jsonBytes[i]; } require( keccak256(pre) == hashPre, 'Inscribe data is wrong.' ); // index of amt's value end uint256 end = amtStart; while (end < jsonBytes.length && jsonBytes[end] != '"') { end++; } // get the value of amt bytes memory amtBytes = new bytes(end - amtStart); for (uint i; i < end - amtStart; i++) { amtBytes[i] = jsonBytes[amtStart + i]; } // verify tail hash bytes memory tail = new bytes(2); tail[0] = jsonBytes[jsonBytes.length - 2]; tail[1] = jsonBytes[jsonBytes.length - 1]; require( keccak256(tail) == hashTail, 'Inscribe data is wrong.' ); // convert to uint uint result = 0; for (uint i = 0; i < amtBytes.length; i++) { uint256 amt = uint256(uint8(amtBytes[i])); // ASCII if (amt < 48 || amt > 57) { revert("Non-numeric character encountered"); } result = result * 10 + (amt - 48); } return result; } */ // -------- IERC20 -------- function symbol() public view virtual override returns (string memory) { return _tick; } function decimals() public view virtual returns (uint8) { return 1; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf( address owner ) public view override(ERC721, IERC20) returns (uint256) { require(owner != address(0), "ERC20: address zero is not a valid owner"); return nft2ft ? _balances[owner] : _insBalances[owner]; } function allowance( address owner, address spender ) public view override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amountOrTokenID ) public override(ERC721, IERC20) { if (!nft2ft) { ERC721.approve(spender, amountOrTokenID); } else { address owner = msg.sender; _approve(owner, spender, amountOrTokenID); } } function setApprovalForAll( address operator, bool approved ) public override { if (!nft2ft) { ERC721.setApprovalForAll(operator,approved); } } // only for FT function transfer( address to, uint256 amount ) external override returns (bool) { if (nft2ft) { require(to != address(0), "ERC20: transfer to the zero address"); _transfer20(msg.sender, to, amount); } return nft2ft; } function transferFrom( address from, address to, uint256 tokenIdOrAmount ) public override(ERC721, IERC20) returns (bool) { require(from != address(0), "UNI20: transfer from the zero address"); require(to != address(0), "UNI20: transfer to the zero address"); if (!nft2ft) { require( _isApprovedOrOwner(_msgSender(), tokenIdOrAmount), "ERC721: caller is not token owner nor approved" ); _transfer721(from, to, tokenIdOrAmount); } else { _spendAllowance(from, msg.sender, tokenIdOrAmount); _transfer20(from, to, tokenIdOrAmount); } return true; } function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; if(nft2ft) emit Approval(owner, spender, amount); } function _transfer20(address from, address to, uint256 amount) internal { _beforeTokenTransfer(from, to, amount); // transfer like erc20 uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; string memory t = string( string.concat( '{"p":"uni-20","op":"transfer","tick":"UNIC","amt":"', bytes(toString(amount)), '"}' ) ); emit Inscribe( from, to, string(string.concat("data:text/plain;charset=utf-8", bytes(t))) ); _afterTokenTransfer(from, to, amount); if (nft2ft) emit Transfer(from, to, amount); } // -------- IERC721 -------- // just for erc721 transfer function _transfer721(address from, address to, uint256 tokenId) internal { // transfer like erc721 ERC721._transfer(from, to, tokenId); // transfer like erc20 _transfer20(from, to, _tickets[tokenId].amt); _insBalances[from] -= 1; _insBalances[to] += 1; emit Transfer(from, to, tokenId); ERC721._approve(address(0), tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override { require( !nft2ft, "Not support ERC721 any more." ); safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public override { require( !nft2ft, "Not support ERC721 any more." ); require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved" ); _transfer721(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } function toFT() public { require(!nft2ft && proxy == msg.sender, "Has done"); nft2ft = true; } // metadata function tokenURI( uint256 tokenID ) public view virtual override returns (string memory) { require( !nft2ft, "Not support ERC721 any more." ); string memory output = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"> <style>.base { fill: white; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="black" /><text x="100" y="100" class="base">{</text><text x="130" y="130" class="base">"p":"uni-20",</text><text x="130" y="160" class="base">"op":"'; bytes memory data; data = abi.encodePacked( output, bytes(_tickets[tokenID].op), '",</text><text x="130" y="190" class="base">"tick":"unic",</text><text x="130" y="220" class="base">"amt":' ); data = abi.encodePacked( data, bytes(toString(_tickets[tokenID].amt)), '</text><text x="100" y="250" class="base">}</text></svg>' ); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"description": "UNI20 is a social experiment, the alternative inscription experiment on EVM.", "image": "data:image/svg+xml;base64,', Base64.encode(data), '"}' ) ) ) ); output = string(abi.encodePacked("data:application/json;base64,", json)); return output; } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal override(ERC721) { if (from == address(0)) { tickNumber++; } } function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721) {} function toString(uint256 value) internal pure returns (string memory) { 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/INS20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the INS20 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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; /** * @dev Moves `amount` tokens from `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721Metadata.sol"; import "./IERC721Receiver.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, IERC721Metadata { using Strings for uint256; using Address for address; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; // 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 {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 {IERC165-supportsInterface}. */ function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf( address owner ) public view virtual override returns (uint256) {} /** * @dev See {IERC721-ownerOf}. */ function ownerOf( uint256 tokenId ) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) {} /** * @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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved( uint256 tokenId ) public view virtual override returns (address) { _requireMinted(tokenId); 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 returns (bool) { return true; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override {} /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override {} /** * @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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @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 {} function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner" ); _owners[tokenId] = to; } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) internal 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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 tokenIdOrAmount ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenIdOrAmount ); /** * @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`. * * 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; /** * @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 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 returns (bool); /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved( uint256 tokenId ) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract VerifySig { function verify(address _signer, string memory _message, bytes memory _sig) internal pure returns (bool){ bytes32 messageHash = getMessageHash(_message); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recover(ethSignedMessageHash, _sig) == _signer; } function getMessageHash(string memory _message) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_message)); } function getEthSignedMessageHash(bytes32 _messageHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked( "\x19Ethereum Signed Message:\n32", _messageHash )); } function recover(bytes32 _ethSignedMessageHash, bytes memory _sig) internal pure returns (address){ (bytes32 r, bytes32 s, uint8 v) = _split(_sig); return ecrecover(_ethSignedMessageHash, v, r, s); } function _split(bytes memory _sig) internal pure returns (bytes32 r, bytes32 s, uint8 v){ require(_sig.length == 65, "invalid signature length"); assembly { r :=mload(add(_sig, 32)) s :=mload(add(_sig, 64)) v :=byte(0, mload(add(_sig, 96))) } } }
// 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 (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-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 (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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// 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/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); }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 20000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "istanbul", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"tick","type":"string"},{"internalType":"uint64","name":"maxSupply_","type":"uint64"},{"internalType":"uint64","name":"mintLimit_","type":"uint64"},{"internalType":"address","name":"proxy_","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":"tokenIdOrAmount","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"data","type":"string"}],"name":"Inscribe","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":"tokenIdOrAmount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrTokenID","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[]"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"lastBlock","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedPer","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft2ft","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"toFT","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenIdOrAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620035b5380380620035b58339810160408190526200003491620001f6565b604080518082019091526006808252650756e692d32360d41b60208301908152869162000064916000916200011b565b5080516200007a9060019060208401906200011b565b50508451620000929150600d9060208701906200011b565b5083604051602001620000a69190620002e4565b60408051808303601f190181529190528051602090910120608052600580546001600160401b039485166001600160801b031990911617680100000000000000009390941692909202929092179055600880546001600160a01b0319166001600160a01b0390921691909117905550620003d5565b828054620001299062000382565b90600052602060002090601f0160209004810192826200014d576000855562000198565b82601f106200016857805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001985782518255916020019190600101906200017b565b50620001a6929150620001aa565b5090565b5b80821115620001a65760008155600101620001ab565b80516001600160a01b0381168114620001d957600080fd5b919050565b80516001600160401b0381168114620001d957600080fd5b600080600080608085870312156200020c578384fd5b84516001600160401b038082111562000223578586fd5b818701915087601f83011262000237578586fd5b8151818111156200024c576200024c620003bf565b604051601f8201601f19908116603f01168101908382118183101715620002775762000277620003bf565b816040528281528a602084870101111562000290578889fd5b620002a38360208301602088016200034f565b8098505050505050620002b960208601620001de565b9250620002c960408601620001de565b9150620002d960608601620001c1565b905092959194509250565b7f7b2270223a22756e692d3230222c226f70223a226d696e74222c227469636b228152611d1160f11b602082015260008251620003298160228501602087016200034f565b6e222c22616d74223a2231303030227d60881b6022939091019283015250603101919050565b60005b838110156200036c57818101518382015260200162000352565b838111156200037c576000848401525b50505050565b600181811c908216806200039757607f821691505b60208210811415620003b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6080516131c4620003f1600039600061025801526131c46000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063806b984f116100f9578063c87b56dd11610097578063dbe7e3bd11610071578063dbe7e3bd14610439578063dd62ed3e1461045c578063e985e9c5146104a2578063ec556889146104eb57600080fd5b8063c87b56dd146103ff578063d48a3d3d14610412578063d5abeb011461042557600080fd5b8063a22cb465116100d3578063a22cb465146103be578063a9059cbb146103d1578063aa32ddcc146103e4578063b88d4fde146103ec57600080fd5b8063806b984f1461036e57806395d89b4114610396578063996517cf1461039e57600080fd5b806323b872dd1161016657806331a462da1161014057806331a462da1461032857806342842e0e146103355780636352211e1461034857806370a082311461035b57600080fd5b806323b872dd146102bd5780632910b20a146102d0578063313ce5671461031957600080fd5b8063095ea7b3116101a2578063095ea7b31461023e57806309bd5a601461025357806318160ddd14610288578063238ac933146102a257600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d73660046127fc565b61050b565b60405190151581526020015b60405180910390f35b6101f96105a4565b6040516101e89190612d4c565b610219610214366004612834565b610636565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101e8565b61025161024c36600461270a565b61066a565b005b61027a7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101e8565b6007546fffffffffffffffffffffffffffffffff1661027a565b61021973211b9f667ed28963fefe7b54d58bd806f1f1748981565b6101dc6102cb36600461262f565b610693565b600554610300907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101e8565b604051600181526020016101e8565b6006546101dc9060ff1681565b61025161034336600461262f565b610863565b610219610356366004612834565b6108d1565b61027a6103693660046125dc565b610943565b60055461030090700100000000000000000000000000000000900467ffffffffffffffff1681565b6101f9610a2c565b6005546103009068010000000000000000900467ffffffffffffffff1681565b6102516103cc3660046126d0565b610a3b565b6101dc6103df36600461270a565b610a4f565b610251610afe565b6102516103fa36600461266a565b610ba1565b6101f961040d366004612834565b610cfe565b610251610420366004612733565b610e87565b6005546103009067ffffffffffffffff1681565b6101dc610447366004612834565b60096020526000908152604090205460ff1681565b61027a61046a3660046125fd565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600c6020908152604080832093909416825291909152205490565b6101dc6104b03660046125fd565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b6008546102199073ffffffffffffffffffffffffffffffffffffffff1681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061059e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546105b390612e5a565b80601f01602080910402602001604051908101604052809291908181526020018280546105df90612e5a565b801561062c5780601f106106015761010080835404028352916020019161062c565b820191906000526020600020905b81548152906001019060200180831161060f57829003601f168201915b5050505050905090565b600061064182611040565b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60065460ff166106825761067e82826110b4565b5050565b3361068e818484611208565b505050565b600073ffffffffffffffffffffffffffffffffffffffff84166107235760405162461bcd60e51b815260206004820152602560248201527f554e4932303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166107ac5760405162461bcd60e51b815260206004820152602360248201527f554e4932303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161071a565b60065460ff16610843576107c1335b836113b9565b6108335760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161071a565b61083e848484611479565b610859565b61084e84338461156c565b610859848484611623565b5060019392505050565b60065460ff16156108b65760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e00000000604482015260640161071a565b61068e83838360405180602001604052806000815250610ba1565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061059e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161071a565b600073ffffffffffffffffffffffffffffffffffffffff82166109ce5760405162461bcd60e51b815260206004820152602860248201527f45524332303a2061646472657373207a65726f206973206e6f7420612076616c60448201527f6964206f776e6572000000000000000000000000000000000000000000000000606482015260840161071a565b60065460ff16610a035773ffffffffffffffffffffffffffffffffffffffff82166000908152600b602052604090205461059e565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b6060600d80546105b390612e5a565b60065460ff1661067e5761067e828261184e565b60065460009060ff1615610af15773ffffffffffffffffffffffffffffffffffffffff8316610ae65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161071a565b610af1338484611623565b5060065460ff1692915050565b60065460ff16158015610b28575060085473ffffffffffffffffffffffffffffffffffffffff1633145b610b745760405162461bcd60e51b815260206004820152600860248201527f48617320646f6e65000000000000000000000000000000000000000000000000604482015260640161071a565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60065460ff1615610bf45760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e00000000604482015260640161071a565b610bfd336107bb565b610c6f5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161071a565b610c7a848484611479565b610c8684848484611859565b610cf85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161071a565b50505050565b60065460609060ff1615610d545760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e00000000604482015260640161071a565b6000604051806101a001604052806101688152602001612fe761016891399050606081600e6000868152602001908152602001600020600001604051602001610d9e929190612973565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526000868152600e60205220600101549091508190610de990611a3e565b604051602001610dfa9291906128f6565b60405160208183030381529060405290506000610e3d610e1983611bbe565b604051602001610e299190612af0565b604051602081830303815290604052611bbe565b905080604051602001610e509190612bf4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905295945050505050565b323314610ed65760405162461bcd60e51b815260206004820152601960248201527f436f6e74726163747320617265206e6f7420616c6c6f77656400000000000000604482015260640161071a565b610ee08282611dbe565b60005b8251811015610fcc576000838281518110610f27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020908102919091018101516000818152600290925260409091205490915073ffffffffffffffffffffffffffffffffffffffff1615610fa95760405162461bcd60e51b815260206004820152600760248201527f436c61696d656400000000000000000000000000000000000000000000000000604482015260640161071a565b6103e8610fb7338383611eda565b50508080610fc490612ede565b915050610ee3565b5060055460075467ffffffffffffffff9091166fffffffffffffffffffffffffffffffff9091161061067e5760405162461bcd60e51b815260206004820152601360248201527f4578636565646564206d617820737570706c7900000000000000000000000000604482015260640161071a565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff166110b15760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161071a565b50565b60006110bf826108d1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161071a565b3373ffffffffffffffffffffffffffffffffffffffff8216148061118c575061118c81336104b0565b6111fe5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161071a565b61068e8383612051565b73ffffffffffffffffffffffffffffffffffffffff83166112905760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161071a565b73ffffffffffffffffffffffffffffffffffffffff82166113195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161071a565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600c6020908152604080832093861683529290522081905560065460ff161561068e57808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000806113c5836108d1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611433575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b8061147157508373ffffffffffffffffffffffffffffffffffffffff1661145984610636565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b6114848383836120f1565b6000818152600e60205260409020600101546114a39084908490611623565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b602052604081208054600192906114d9908490612e17565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600b60205260408120805460019290611514908490612dae565b9091555050604051819073ffffffffffffffffffffffffffffffffffffffff80851691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a461068e600082612051565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600c60209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610cf857818110156116165760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161071a565b610cf88484848403611208565b61162e8383836121ee565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054818110156116ca5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161071a565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a602052604080822085850390559185168152908120805484929061170e908490612dae565b909155506000905061171f83611a3e565b60405160200161172f9190612c71565b60405160208183030381529060405290508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d836040516020016117a09190612c39565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526117d891612d4c565b60405180910390a360065460ff161561184757828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b61067e33838361226c565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611a33576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906118d0903390899088908890600401612d03565b602060405180830381600087803b1580156118ea57600080fd5b505af1925050508015611938575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261193591810190612818565b60015b6119e8573d808015611966576040519150601f19603f3d011682016040523d82523d6000602084013e61196b565b606091505b5080516119e05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161071a565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611471565b506001949350505050565b606081611a7e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611aa85780611a9281612ede565b9150611aa19050600a83612dc6565b9150611a82565b60008167ffffffffffffffff811115611aea577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b14576020820181803683370190505b5090505b841561147157611b29600183612e17565b9150611b36600a86612f17565b611b41906030612dae565b60f81b818381518110611b7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bb7600a86612dc6565b9450611b18565b805160609080611bde575050604080516020810190915260008152919050565b60006003611bed836002612dae565b611bf79190612dc6565b611c02906004612dda565b90506000611c11826020612dae565b67ffffffffffffffff811115611c50577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c7a576020820181803683370190505b509050600060405180606001604052806040815260200161314f604091399050600181016020830160005b86811015611d06576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611ca5565b506003860660018114611d205760028114611d6a57611db0565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152611db0565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b60003383604051602001611dd3929190612896565b604051602081830303815290604052805190602001209050600081604051602001611e2a91907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60405160208183030381529060405280519060200120905073211b9f667ed28963fefe7b54d58bd806f1f1748973ffffffffffffffffffffffffffffffffffffffff16611e778285612380565b73ffffffffffffffffffffffffffffffffffffffff1614610cf85760405162461bcd60e51b815260206004820152600b60248201527f696e76616c696420736967000000000000000000000000000000000000000000604482015260640161071a565b611ee6600084846121ee565b600780546fffffffffffffffffffffffffffffffff8082168401167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090911617905573ffffffffffffffffffffffffffffffffffffffff83166000818152600a60209081526040808320805486019055338352600b8252808320805460010190558583526002825280832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016909417909355825160808101845260048185019081527f6d696e740000000000000000000000000000000000000000000000000000000060608301528152808201859052858352600e825292909120825180519192611ff992849290910190612491565b5060209190910151600190910155604051829073ffffffffffffffffffffffffffffffffffffffff8516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906120ab826108d1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612111826108d1565b73ffffffffffffffffffffffffffffffffffffffff161461219a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161071a565b600090815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff831661068e576006805461010090046fffffffffffffffffffffffffffffffff1690600161223083612eae565b91906101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122e85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161071a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526004602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008060008061238f8561241d565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa1580156123ea573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080600083516041146124735760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e6774680000000000000000604482015260640161071a565b50505060208101516040820151606090920151909260009190911a90565b82805461249d90612e5a565b90600052602060002090601f0160209004810192826124bf5760008555612505565b82601f106124d857805160ff1916838001178555612505565b82800160010185558215612505579182015b828111156125055782518255916020019190600101906124ea565b50612511929150612515565b5090565b5b808211156125115760008155600101612516565b803573ffffffffffffffffffffffffffffffffffffffff8116811461254e57600080fd5b919050565b600082601f830112612563578081fd5b813567ffffffffffffffff81111561257d5761257d612f89565b6125ae60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612d5f565b8181528460208386010111156125c2578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156125ed578081fd5b6125f68261252a565b9392505050565b6000806040838503121561260f578081fd5b6126188361252a565b91506126266020840161252a565b90509250929050565b600080600060608486031215612643578081fd5b61264c8461252a565b925061265a6020850161252a565b9150604084013590509250925092565b6000806000806080858703121561267f578081fd5b6126888561252a565b93506126966020860161252a565b925060408501359150606085013567ffffffffffffffff8111156126b8578182fd5b6126c487828801612553565b91505092959194509250565b600080604083850312156126e2578182fd5b6126eb8361252a565b9150602083013580151581146126ff578182fd5b809150509250929050565b6000806040838503121561271c578182fd5b6127258361252a565b946020939093013593505050565b60008060408385031215612745578182fd5b823567ffffffffffffffff8082111561275c578384fd5b818501915085601f83011261276f578384fd5b813560208282111561278357612783612f89565b8160051b612792828201612d5f565b8381528281019086840183880185018c10156127ac57898afd5b8997505b858810156127ce5780358352600197909701969184019184016127b0565b5097505050860135925050808211156127e5578283fd5b506127f285828601612553565b9150509250929050565b60006020828403121561280d578081fd5b81356125f681612fb8565b600060208284031215612829578081fd5b81516125f681612fb8565b600060208284031215612845578081fd5b5035919050565b60008151808452612864816020860160208601612e2e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008360601b16815260006014820183516020808601845b838110156128e9578151855293820193908201906001016128cd565b5092979650505050505050565b60008351612908818460208801612e2e565b83519083019061291c818360208801612e2e565b7f3c2f746578743e3c7465787420783d223130302220793d223235302220636c6191019081527f73733d2262617365223e7d3c2f746578743e3c2f7376673e00000000000000006020820152603801949350505050565b6000835160206129868285838901612e2e565b8454918401918390600181811c90808316806129a357607f831692505b8583108114156129da577f4e487b710000000000000000000000000000000000000000000000000000000088526022600452602488fd5b8080156129ee5760018114612a1d57612a49565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00851688528388019550612a49565b60008b815260209020895b85811015612a415781548a820152908401908801612a28565b505083880195505b50507f222c3c2f746578743e3c7465787420783d223133302220793d22313930222063845250507f6c6173733d2262617365223e227469636b223a22756e6963222c3c2f746578746020830152507f3e3c7465787420783d223133302220793d223232302220636c6173733d22626160408201527f7365223e22616d74223a000000000000000000000000000000000000000000006060820152606a019695505050505050565b7f7b226465736372697074696f6e223a2022554e493230206973206120736f636981527f616c206578706572696d656e742c2074686520616c7465726e6174697665206960208201527f6e736372697074696f6e206578706572696d656e74206f6e2045564d2e222c2060408201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617360608201527f6536342c00000000000000000000000000000000000000000000000000000000608082015260008251612bc0816084850160208701612e2e565b7f227d0000000000000000000000000000000000000000000000000000000000006084939091019283015250608601919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612c2c81601d850160208701612e2e565b91909101601d0192915050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d38000000815260008251612c2c81601d850160208701612e2e565b7f7b2270223a22756e692d3230222c226f70223a227472616e73666572222c227481527f69636b223a22554e4943222c22616d74223a2200000000000000000000000000602082015260008251612ccf816033850160208701612e2e565b7f227d0000000000000000000000000000000000000000000000000000000000006033939091019283015250603501919050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612d42608083018461284c565b9695505050505050565b6020815260006125f6602083018461284c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612da657612da6612f89565b604052919050565b60008219821115612dc157612dc1612f2b565b500190565b600082612dd557612dd5612f5a565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e1257612e12612f2b565b500290565b600082821015612e2957612e29612f2b565b500390565b60005b83811015612e49578181015183820152602001612e31565b83811115610cf85750506000910152565b600181811c90821680612e6e57607f821691505b60208210811415612ea8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006fffffffffffffffffffffffffffffffff80831681811415612ed457612ed4612f2b565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f1057612f10612f2b565b5060010190565b600082612f2657612f26612f5a565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146110b157600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e203c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d223130302220793d223130302220636c6173733d2262617365223e7b3c2f746578743e3c7465787420783d223133302220793d223133302220636c6173733d2262617365223e2270223a22756e692d3230222c3c2f746578743e3c7465787420783d223133302220793d223136302220636c6173733d2262617365223e226f70223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f20e6364af2f7b50e520c864199baa0f2897e2edd4f0b1672dfd57e4c431093064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000001406f4000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000211b9f667ed28963fefe7b54d58bd806f1f174890000000000000000000000000000000000000000000000000000000000000004554e494300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063806b984f116100f9578063c87b56dd11610097578063dbe7e3bd11610071578063dbe7e3bd14610439578063dd62ed3e1461045c578063e985e9c5146104a2578063ec556889146104eb57600080fd5b8063c87b56dd146103ff578063d48a3d3d14610412578063d5abeb011461042557600080fd5b8063a22cb465116100d3578063a22cb465146103be578063a9059cbb146103d1578063aa32ddcc146103e4578063b88d4fde146103ec57600080fd5b8063806b984f1461036e57806395d89b4114610396578063996517cf1461039e57600080fd5b806323b872dd1161016657806331a462da1161014057806331a462da1461032857806342842e0e146103355780636352211e1461034857806370a082311461035b57600080fd5b806323b872dd146102bd5780632910b20a146102d0578063313ce5671461031957600080fd5b8063095ea7b3116101a2578063095ea7b31461023e57806309bd5a601461025357806318160ddd14610288578063238ac933146102a257600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d73660046127fc565b61050b565b60405190151581526020015b60405180910390f35b6101f96105a4565b6040516101e89190612d4c565b610219610214366004612834565b610636565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101e8565b61025161024c36600461270a565b61066a565b005b61027a7f4405fa39914deeeafde02ddac197ed047091f2990a31e54cb1ef6d3ab7aa157f81565b6040519081526020016101e8565b6007546fffffffffffffffffffffffffffffffff1661027a565b61021973211b9f667ed28963fefe7b54d58bd806f1f1748981565b6101dc6102cb36600461262f565b610693565b600554610300907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101e8565b604051600181526020016101e8565b6006546101dc9060ff1681565b61025161034336600461262f565b610863565b610219610356366004612834565b6108d1565b61027a6103693660046125dc565b610943565b60055461030090700100000000000000000000000000000000900467ffffffffffffffff1681565b6101f9610a2c565b6005546103009068010000000000000000900467ffffffffffffffff1681565b6102516103cc3660046126d0565b610a3b565b6101dc6103df36600461270a565b610a4f565b610251610afe565b6102516103fa36600461266a565b610ba1565b6101f961040d366004612834565b610cfe565b610251610420366004612733565b610e87565b6005546103009067ffffffffffffffff1681565b6101dc610447366004612834565b60096020526000908152604090205460ff1681565b61027a61046a3660046125fd565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600c6020908152604080832093909416825291909152205490565b6101dc6104b03660046125fd565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b6008546102199073ffffffffffffffffffffffffffffffffffffffff1681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061059e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546105b390612e5a565b80601f01602080910402602001604051908101604052809291908181526020018280546105df90612e5a565b801561062c5780601f106106015761010080835404028352916020019161062c565b820191906000526020600020905b81548152906001019060200180831161060f57829003601f168201915b5050505050905090565b600061064182611040565b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60065460ff166106825761067e82826110b4565b5050565b3361068e818484611208565b505050565b600073ffffffffffffffffffffffffffffffffffffffff84166107235760405162461bcd60e51b815260206004820152602560248201527f554e4932303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166107ac5760405162461bcd60e51b815260206004820152602360248201527f554e4932303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161071a565b60065460ff16610843576107c1335b836113b9565b6108335760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161071a565b61083e848484611479565b610859565b61084e84338461156c565b610859848484611623565b5060019392505050565b60065460ff16156108b65760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e00000000604482015260640161071a565b61068e83838360405180602001604052806000815250610ba1565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061059e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161071a565b600073ffffffffffffffffffffffffffffffffffffffff82166109ce5760405162461bcd60e51b815260206004820152602860248201527f45524332303a2061646472657373207a65726f206973206e6f7420612076616c60448201527f6964206f776e6572000000000000000000000000000000000000000000000000606482015260840161071a565b60065460ff16610a035773ffffffffffffffffffffffffffffffffffffffff82166000908152600b602052604090205461059e565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b6060600d80546105b390612e5a565b60065460ff1661067e5761067e828261184e565b60065460009060ff1615610af15773ffffffffffffffffffffffffffffffffffffffff8316610ae65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161071a565b610af1338484611623565b5060065460ff1692915050565b60065460ff16158015610b28575060085473ffffffffffffffffffffffffffffffffffffffff1633145b610b745760405162461bcd60e51b815260206004820152600860248201527f48617320646f6e65000000000000000000000000000000000000000000000000604482015260640161071a565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60065460ff1615610bf45760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e00000000604482015260640161071a565b610bfd336107bb565b610c6f5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161071a565b610c7a848484611479565b610c8684848484611859565b610cf85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161071a565b50505050565b60065460609060ff1615610d545760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e00000000604482015260640161071a565b6000604051806101a001604052806101688152602001612fe761016891399050606081600e6000868152602001908152602001600020600001604051602001610d9e929190612973565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526000868152600e60205220600101549091508190610de990611a3e565b604051602001610dfa9291906128f6565b60405160208183030381529060405290506000610e3d610e1983611bbe565b604051602001610e299190612af0565b604051602081830303815290604052611bbe565b905080604051602001610e509190612bf4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905295945050505050565b323314610ed65760405162461bcd60e51b815260206004820152601960248201527f436f6e74726163747320617265206e6f7420616c6c6f77656400000000000000604482015260640161071a565b610ee08282611dbe565b60005b8251811015610fcc576000838281518110610f27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020908102919091018101516000818152600290925260409091205490915073ffffffffffffffffffffffffffffffffffffffff1615610fa95760405162461bcd60e51b815260206004820152600760248201527f436c61696d656400000000000000000000000000000000000000000000000000604482015260640161071a565b6103e8610fb7338383611eda565b50508080610fc490612ede565b915050610ee3565b5060055460075467ffffffffffffffff9091166fffffffffffffffffffffffffffffffff9091161061067e5760405162461bcd60e51b815260206004820152601360248201527f4578636565646564206d617820737570706c7900000000000000000000000000604482015260640161071a565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff166110b15760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161071a565b50565b60006110bf826108d1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161071a565b3373ffffffffffffffffffffffffffffffffffffffff8216148061118c575061118c81336104b0565b6111fe5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161071a565b61068e8383612051565b73ffffffffffffffffffffffffffffffffffffffff83166112905760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161071a565b73ffffffffffffffffffffffffffffffffffffffff82166113195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161071a565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600c6020908152604080832093861683529290522081905560065460ff161561068e57808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000806113c5836108d1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611433575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b8061147157508373ffffffffffffffffffffffffffffffffffffffff1661145984610636565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b6114848383836120f1565b6000818152600e60205260409020600101546114a39084908490611623565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b602052604081208054600192906114d9908490612e17565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600b60205260408120805460019290611514908490612dae565b9091555050604051819073ffffffffffffffffffffffffffffffffffffffff80851691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a461068e600082612051565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600c60209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610cf857818110156116165760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161071a565b610cf88484848403611208565b61162e8383836121ee565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054818110156116ca5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161071a565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a602052604080822085850390559185168152908120805484929061170e908490612dae565b909155506000905061171f83611a3e565b60405160200161172f9190612c71565b60405160208183030381529060405290508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d836040516020016117a09190612c39565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526117d891612d4c565b60405180910390a360065460ff161561184757828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b61067e33838361226c565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611a33576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906118d0903390899088908890600401612d03565b602060405180830381600087803b1580156118ea57600080fd5b505af1925050508015611938575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261193591810190612818565b60015b6119e8573d808015611966576040519150601f19603f3d011682016040523d82523d6000602084013e61196b565b606091505b5080516119e05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161071a565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611471565b506001949350505050565b606081611a7e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611aa85780611a9281612ede565b9150611aa19050600a83612dc6565b9150611a82565b60008167ffffffffffffffff811115611aea577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b14576020820181803683370190505b5090505b841561147157611b29600183612e17565b9150611b36600a86612f17565b611b41906030612dae565b60f81b818381518110611b7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bb7600a86612dc6565b9450611b18565b805160609080611bde575050604080516020810190915260008152919050565b60006003611bed836002612dae565b611bf79190612dc6565b611c02906004612dda565b90506000611c11826020612dae565b67ffffffffffffffff811115611c50577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c7a576020820181803683370190505b509050600060405180606001604052806040815260200161314f604091399050600181016020830160005b86811015611d06576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611ca5565b506003860660018114611d205760028114611d6a57611db0565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152611db0565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b60003383604051602001611dd3929190612896565b604051602081830303815290604052805190602001209050600081604051602001611e2a91907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60405160208183030381529060405280519060200120905073211b9f667ed28963fefe7b54d58bd806f1f1748973ffffffffffffffffffffffffffffffffffffffff16611e778285612380565b73ffffffffffffffffffffffffffffffffffffffff1614610cf85760405162461bcd60e51b815260206004820152600b60248201527f696e76616c696420736967000000000000000000000000000000000000000000604482015260640161071a565b611ee6600084846121ee565b600780546fffffffffffffffffffffffffffffffff8082168401167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090911617905573ffffffffffffffffffffffffffffffffffffffff83166000818152600a60209081526040808320805486019055338352600b8252808320805460010190558583526002825280832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016909417909355825160808101845260048185019081527f6d696e740000000000000000000000000000000000000000000000000000000060608301528152808201859052858352600e825292909120825180519192611ff992849290910190612491565b5060209190910151600190910155604051829073ffffffffffffffffffffffffffffffffffffffff8516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906120ab826108d1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612111826108d1565b73ffffffffffffffffffffffffffffffffffffffff161461219a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161071a565b600090815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff831661068e576006805461010090046fffffffffffffffffffffffffffffffff1690600161223083612eae565b91906101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122e85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161071a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526004602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008060008061238f8561241d565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa1580156123ea573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080600083516041146124735760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e6774680000000000000000604482015260640161071a565b50505060208101516040820151606090920151909260009190911a90565b82805461249d90612e5a565b90600052602060002090601f0160209004810192826124bf5760008555612505565b82601f106124d857805160ff1916838001178555612505565b82800160010185558215612505579182015b828111156125055782518255916020019190600101906124ea565b50612511929150612515565b5090565b5b808211156125115760008155600101612516565b803573ffffffffffffffffffffffffffffffffffffffff8116811461254e57600080fd5b919050565b600082601f830112612563578081fd5b813567ffffffffffffffff81111561257d5761257d612f89565b6125ae60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612d5f565b8181528460208386010111156125c2578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156125ed578081fd5b6125f68261252a565b9392505050565b6000806040838503121561260f578081fd5b6126188361252a565b91506126266020840161252a565b90509250929050565b600080600060608486031215612643578081fd5b61264c8461252a565b925061265a6020850161252a565b9150604084013590509250925092565b6000806000806080858703121561267f578081fd5b6126888561252a565b93506126966020860161252a565b925060408501359150606085013567ffffffffffffffff8111156126b8578182fd5b6126c487828801612553565b91505092959194509250565b600080604083850312156126e2578182fd5b6126eb8361252a565b9150602083013580151581146126ff578182fd5b809150509250929050565b6000806040838503121561271c578182fd5b6127258361252a565b946020939093013593505050565b60008060408385031215612745578182fd5b823567ffffffffffffffff8082111561275c578384fd5b818501915085601f83011261276f578384fd5b813560208282111561278357612783612f89565b8160051b612792828201612d5f565b8381528281019086840183880185018c10156127ac57898afd5b8997505b858810156127ce5780358352600197909701969184019184016127b0565b5097505050860135925050808211156127e5578283fd5b506127f285828601612553565b9150509250929050565b60006020828403121561280d578081fd5b81356125f681612fb8565b600060208284031215612829578081fd5b81516125f681612fb8565b600060208284031215612845578081fd5b5035919050565b60008151808452612864816020860160208601612e2e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008360601b16815260006014820183516020808601845b838110156128e9578151855293820193908201906001016128cd565b5092979650505050505050565b60008351612908818460208801612e2e565b83519083019061291c818360208801612e2e565b7f3c2f746578743e3c7465787420783d223130302220793d223235302220636c6191019081527f73733d2262617365223e7d3c2f746578743e3c2f7376673e00000000000000006020820152603801949350505050565b6000835160206129868285838901612e2e565b8454918401918390600181811c90808316806129a357607f831692505b8583108114156129da577f4e487b710000000000000000000000000000000000000000000000000000000088526022600452602488fd5b8080156129ee5760018114612a1d57612a49565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00851688528388019550612a49565b60008b815260209020895b85811015612a415781548a820152908401908801612a28565b505083880195505b50507f222c3c2f746578743e3c7465787420783d223133302220793d22313930222063845250507f6c6173733d2262617365223e227469636b223a22756e6963222c3c2f746578746020830152507f3e3c7465787420783d223133302220793d223232302220636c6173733d22626160408201527f7365223e22616d74223a000000000000000000000000000000000000000000006060820152606a019695505050505050565b7f7b226465736372697074696f6e223a2022554e493230206973206120736f636981527f616c206578706572696d656e742c2074686520616c7465726e6174697665206960208201527f6e736372697074696f6e206578706572696d656e74206f6e2045564d2e222c2060408201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617360608201527f6536342c00000000000000000000000000000000000000000000000000000000608082015260008251612bc0816084850160208701612e2e565b7f227d0000000000000000000000000000000000000000000000000000000000006084939091019283015250608601919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612c2c81601d850160208701612e2e565b91909101601d0192915050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d38000000815260008251612c2c81601d850160208701612e2e565b7f7b2270223a22756e692d3230222c226f70223a227472616e73666572222c227481527f69636b223a22554e4943222c22616d74223a2200000000000000000000000000602082015260008251612ccf816033850160208701612e2e565b7f227d0000000000000000000000000000000000000000000000000000000000006033939091019283015250603501919050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612d42608083018461284c565b9695505050505050565b6020815260006125f6602083018461284c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612da657612da6612f89565b604052919050565b60008219821115612dc157612dc1612f2b565b500190565b600082612dd557612dd5612f5a565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e1257612e12612f2b565b500290565b600082821015612e2957612e29612f2b565b500390565b60005b83811015612e49578181015183820152602001612e31565b83811115610cf85750506000910152565b600181811c90821680612e6e57607f821691505b60208210811415612ea8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006fffffffffffffffffffffffffffffffff80831681811415612ed457612ed4612f2b565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f1057612f10612f2b565b5060010190565b600082612f2657612f26612f5a565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146110b157600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e203c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d223130302220793d223130302220636c6173733d2262617365223e7b3c2f746578743e3c7465787420783d223133302220793d223133302220636c6173733d2262617365223e2270223a22756e692d3230222c3c2f746578743e3c7465787420783d223133302220793d223136302220636c6173733d2262617365223e226f70223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f20e6364af2f7b50e520c864199baa0f2897e2edd4f0b1672dfd57e4c431093064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000001406f4000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000211b9f667ed28963fefe7b54d58bd806f1f174890000000000000000000000000000000000000000000000000000000000000004554e494300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : tick (string): UNIC
Arg [1] : maxSupply_ (uint64): 21000000
Arg [2] : mintLimit_ (uint64): 1000
Arg [3] : proxy_ (address): 0x211b9f667ED28963FefE7B54d58Bd806F1F17489
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000001406f40
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 000000000000000000000000211b9f667ed28963fefe7b54d58bd806f1f17489
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 554e494300000000000000000000000000000000000000000000000000000000
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.