ERC-1155
Overview
Max Total Supply
0
Holders
129
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WallStBullsOptionsToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ERC2981Setter.sol"; import "./AuthorizedAgent.sol"; contract WallStBullsOptionsToken is ERC1155Burnable, ERC2981Setter, AuthorizedAgent { uint256 public constant GOLD = 1; uint256 public salePrice = 1 ether; uint256 public mintCount = 0; uint256 public mintCap = 0; bool public baseURIFinal; bool public publicSaleActive; bool public presaleActive; bytes32 private _presaleMerkleRoot; event BaseURIChanged(string _baseURI); event PermanentURI(string _value, uint256 indexed _id); constructor(uint256 initialPriceWei, uint256 initialMintCap, string memory initialBaseURI) ERC1155(initialBaseURI) { salePrice = initialPriceWei; mintCap = initialMintCap; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC2981) returns (bool) { return ERC1155.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function isApprovedForAll( address _owner, address _operator ) public view virtual override returns (bool isOperator) { if (isAgent(_operator)) { return true; } return super.isApprovedForAll(_owner, _operator); } function setBaseURI(string memory _newBaseURI) external onlyOwner { require(!baseURIFinal, "Base URI is unchangeable"); _setURI(_newBaseURI); emit BaseURIChanged(_newBaseURI); } function finalizeBaseURI() external onlyOwner { baseURIFinal = true; } function emitPermanent(uint256 tokenId) external onlyOwner { require(baseURIFinal, "Base URI must be finalized first"); emit PermanentURI(string(abi.encodePacked(uri(tokenId), Strings.toString(tokenId))), tokenId); } function togglePresaleActive() external onlyOwner { presaleActive = !presaleActive; } function togglePublicSaleActive() external onlyOwner { publicSaleActive = !publicSaleActive; } function setPresaleMerkleRoot(bytes32 _merkleRoot) external onlyOwner { require(!presaleActive && !publicSaleActive, "Sale is currently active"); _presaleMerkleRoot = _merkleRoot; } function setSalePrice(uint256 _salePriceWei) external onlyOwner { salePrice = _salePriceWei; } function setMintCap(uint256 _mintCap) external onlyOwner { mintCap = _mintCap; } function withdraw( address _to, uint256 _amount ) external onlyOwner { (bool success,) = _to.call{value : _amount}(""); require(success, "Failed to withdraw Ether"); } function mintReserved( address _to, uint256 _tokenCount ) external onlyOwner { require(mintCount + _tokenCount <= mintCap, "No tokens available to mint"); require(_tokenCount > 0, "Must mint at least one token"); _mint(_to, GOLD, _tokenCount, ""); mintCount += _tokenCount; } function _verifyPresaleEligible( address _account, uint8 _maxAllowed, bytes32[] calldata _merkleProof ) private view returns (bool) { bytes32 node = keccak256(abi.encodePacked(_account, _maxAllowed)); return MerkleProof.verify(_merkleProof, _presaleMerkleRoot, node); } function mintPresale( uint256 _tokenCount, uint8 _maxAllowed, bytes32[] calldata _merkleProof ) external payable { require(presaleActive && !publicSaleActive, "Presale sale is not active"); require(_verifyPresaleEligible(msg.sender, _maxAllowed, _merkleProof), "Address not found in presale list"); require(mintCount + _tokenCount <= mintCap, "No tokens available to mint"); require(_tokenCount > 0, "Must mint at least one token"); require(salePrice * _tokenCount == msg.value, "ETH amount is incorrect"); _mint(msg.sender, GOLD, _tokenCount, ""); mintCount += _tokenCount; } function mint(uint256 _tokenCount) external payable { require(publicSaleActive, "Sale is not active"); require(mintCount + _tokenCount <= mintCap, "No tokens available to mint"); require(_tokenCount > 0, "Must mint at least one token"); require(salePrice * _tokenCount == msg.value, "ETH amount is incorrect"); _mint(msg.sender, GOLD, _tokenCount, ""); mintCount += _tokenCount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract AuthorizedAgent is Ownable { mapping(address => bool) private agentAddresses; event AddAgent(address _address); event RemoveAgent(address _address); function addAgent(address _address) external onlyOwner { agentAddresses[_address] = true; emit AddAgent(_address); } function isAgent(address _address) public view returns (bool) { return agentAddresses[_address]; } function removeAgent(address _address) external onlyOwner { delete agentAddresses[_address]; emit RemoveAgent(_address); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract ERC2981Setter is Ownable, ERC2981 { function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner { super._setDefaultRoyalty(receiver, feeNumerator); } function setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) external onlyOwner { super._setTokenRoyalty(tokenId, receiver, feeNumerator); } function deleteDefaultRoyalty() external onlyOwner { super._deleteDefaultRoyalty(); } function feeDenominator() public pure returns (uint96) { return super._feeDenominator(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burnBatch(account, ids, values); } }
// 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 (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// 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/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 (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// 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 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"initialPriceWei","type":"uint256"},{"internalType":"uint256","name":"initialMintCap","type":"uint256"},{"internalType":"string","name":"initialBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"AddAgent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"RemoveAgent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"GOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitPermanent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDenominator","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"finalizeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAgent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenCount","type":"uint256"},{"internalType":"uint8","name":"_maxAllowed","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenCount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCap","type":"uint256"}],"name":"setMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setPresaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePriceWei","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052670de0b6b3a7640000600755600060085560006009553480156200002757600080fd5b5060405162005e3938038062005e3983398181016040528101906200004d919062000407565b806200006e620000626200009760201b60201c565b6200009f60201b60201c565b6200007f816200016360201b60201c565b508260078190555081600981905550505050620004e7565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600390805190602001906200017b9291906200017f565b5050565b8280546200018d90620004b1565b90600052602060002090601f016020900481019282620001b15760008555620001fd565b82601f10620001cc57805160ff1916838001178555620001fd565b82800160010185558215620001fd579182015b82811115620001fc578251825591602001919060010190620001df565b5b5090506200020c919062000210565b5090565b5b808211156200022b57600081600090555060010162000211565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620002588162000243565b81146200026457600080fd5b50565b60008151905062000278816200024d565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002d38262000288565b810181811067ffffffffffffffff82111715620002f557620002f462000299565b5b80604052505050565b60006200030a6200022f565b9050620003188282620002c8565b919050565b600067ffffffffffffffff8211156200033b576200033a62000299565b5b620003468262000288565b9050602081019050919050565b60005b838110156200037357808201518184015260208101905062000356565b8381111562000383576000848401525b50505050565b6000620003a06200039a846200031d565b620002fe565b905082815260208101848484011115620003bf57620003be62000283565b5b620003cc84828562000353565b509392505050565b600082601f830112620003ec57620003eb6200027e565b5b8151620003fe84826020860162000389565b91505092915050565b60008060006060848603121562000423576200042262000239565b5b6000620004338682870162000267565b9350506020620004468682870162000267565b925050604084015167ffffffffffffffff8111156200046a57620004696200023e565b5b6200047886828701620003d4565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004ca57607f821691505b60208210811415620004e157620004e062000482565b5b50919050565b61594280620004f76000396000f3fe60806040526004361061023a5760003560e01c80636b20c4541161012e578063a0712d68116100ab578063f242432a1161006f578063f242432a14610803578063f2fde38b1461082c578063f3fef3a314610855578063f51f96dd1461087e578063f5298aca146108a95761023a565b8063a0712d681461073f578063a22cb4651461075b578063aa1b103f14610784578063bc8893b41461079b578063e985e9c5146107c65761023a565b806384e79842116100f257806384e798421461068057806389b0649b146106a95780638da5cb5b146106c05780639659867e146106eb57806397a6278e146107165761023a565b80636b20c454146105c1578063715018a6146105ea57806376c71ca1146106015780637a55deae1461062c5780637de55fe1146106575761023a565b80632eb2c2d6116101bc5780634e1273f4116101805780634e1273f4146104eb57806353135ca01461052857806355f804b3146105535780635944c7531461057c57806367ad6458146105a55761023a565b80632eb2c2d61461042e57806337c3fdbc146104575780633e4bee381461046e5780634070a0c9146104995780634333adc6146104c25761023a565b8063180b0d7e11610203578063180b0d7e146103365780631919fed7146103615780631ffbb0641461038a57806328d7b276146103c75780632a55205a146103f05761023a565b8062fdd58e1461023f57806301ffc9a71461027c57806304634d8d146102b95780630c894cfe146102e25780630e89341c146102f9575b600080fd5b34801561024b57600080fd5b50610266600480360381019061026191906137f8565b6108d2565b6040516102739190613847565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906138ba565b61099c565b6040516102b09190613902565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613961565b6109be565b005b3480156102ee57600080fd5b506102f76109d4565b005b34801561030557600080fd5b50610320600480360381019061031b91906139a1565b610a08565b60405161032d9190613a67565b60405180910390f35b34801561034257600080fd5b5061034b610a9c565b6040516103589190613a98565b60405180910390f35b34801561036d57600080fd5b50610388600480360381019061038391906139a1565b610aab565b005b34801561039657600080fd5b506103b160048036038101906103ac9190613ab3565b610abd565b6040516103be9190613902565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190613b16565b610b13565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613b43565b610b8e565b604051610425929190613b92565b60405180910390f35b34801561043a57600080fd5b5061045560048036038101906104509190613db8565b610d79565b005b34801561046357600080fd5b5061046c610e1a565b005b34801561047a57600080fd5b50610483610e3f565b6040516104909190613847565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb91906139a1565b610e44565b005b3480156104ce57600080fd5b506104e960048036038101906104e491906139a1565b610e56565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613f4a565b610f19565b60405161051f9190614080565b60405180910390f35b34801561053457600080fd5b5061053d611032565b60405161054a9190613902565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190614143565b611045565b005b34801561058857600080fd5b506105a3600480360381019061059e919061418c565b6110e0565b005b6105bf60048036038101906105ba9190614273565b6110f8565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906142e7565b6112ca565b005b3480156105f657600080fd5b506105ff611367565b005b34801561060d57600080fd5b5061061661137b565b6040516106239190613847565b60405180910390f35b34801561063857600080fd5b50610641611381565b60405161064e9190613902565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906137f8565b611394565b005b34801561068c57600080fd5b506106a760048036038101906106a29190613ab3565b61146a565b005b3480156106b557600080fd5b506106be611504565b005b3480156106cc57600080fd5b506106d5611538565b6040516106e29190614372565b60405180910390f35b3480156106f757600080fd5b50610700611561565b60405161070d9190613847565b60405180910390f35b34801561072257600080fd5b5061073d60048036038101906107389190613ab3565b611567565b005b610759600480360381019061075491906139a1565b6115f8565b005b34801561076757600080fd5b50610782600480360381019061077d91906143b9565b611763565b005b34801561079057600080fd5b50610799611779565b005b3480156107a757600080fd5b506107b061178b565b6040516107bd9190613902565b60405180910390f35b3480156107d257600080fd5b506107ed60048036038101906107e891906143f9565b61179e565b6040516107fa9190613902565b60405180910390f35b34801561080f57600080fd5b5061082a60048036038101906108259190614439565b6117ca565b005b34801561083857600080fd5b50610853600480360381019061084e9190613ab3565b61186b565b005b34801561086157600080fd5b5061087c600480360381019061087791906137f8565b6118ef565b005b34801561088a57600080fd5b506108936119a8565b6040516108a09190613847565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb91906144d0565b6119ae565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a90614595565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006109a782611a4b565b806109b757506109b682611b2d565b5b9050919050565b6109c6611ba7565b6109d08282611c25565b5050565b6109dc611ba7565b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b606060038054610a17906145e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a43906145e4565b8015610a905780601f10610a6557610100808354040283529160200191610a90565b820191906000526020600020905b815481529060010190602001808311610a7357829003601f168201915b50505050509050919050565b6000610aa6611dbb565b905090565b610ab3611ba7565b8060078190555050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610b1b611ba7565b600a60029054906101000a900460ff16158015610b455750600a60019054906101000a900460ff16155b610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90614662565b60405180910390fd5b80600b8190555050565b6000806000600560008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610d245760046040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d2e611dbb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d5a91906146b1565b610d64919061473a565b90508160000151819350935050509250929050565b610d81611dc5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610dc75750610dc685610dc1611dc5565b61179e565b5b610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906147dd565b60405180910390fd5b610e138585858585611dcd565b5050505050565b610e22611ba7565b6001600a60006101000a81548160ff021916908315150217905550565b600181565b610e4c611ba7565b8060098190555050565b610e5e611ba7565b600a60009054906101000a900460ff16610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490614849565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610ed883610a08565b610ee1846120f2565b604051602001610ef29291906148a5565b604051602081830303815290604052604051610f0e9190613a67565b60405180910390a250565b60608151835114610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f569061493b565b60405180910390fd5b6000835167ffffffffffffffff811115610f7c57610f7b613bc0565b5b604051908082528060200260200182016040528015610faa5781602001602082028036833780820191505090505b50905060005b845181101561102757610ff7858281518110610fcf57610fce61495b565b5b6020026020010151858381518110610fea57610fe961495b565b5b60200260200101516108d2565b82828151811061100a5761100961495b565b5b602002602001018181525050806110209061498a565b9050610fb0565b508091505092915050565b600a60029054906101000a900460ff1681565b61104d611ba7565b600a60009054906101000a900460ff161561109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490614a1f565b60405180910390fd5b6110a681612253565b7f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516110d59190613a67565b60405180910390a150565b6110e8611ba7565b6110f383838361226d565b505050565b600a60029054906101000a900460ff1680156111215750600a60019054906101000a900460ff16155b611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790614a8b565b60405180910390fd5b61116c33848484612415565b6111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290614b1d565b60405180910390fd5b600954846008546111bc9190614b3d565b11156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614bdf565b60405180910390fd5b60008411611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790614c4b565b60405180910390fd5b348460075461124f91906146b1565b1461128f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128690614cb7565b60405180910390fd5b6112ab336001866040518060200160405280600081525061249c565b83600860008282546112bd9190614b3d565b9250508190555050505050565b6112d2611dc5565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611318575061131783611312611dc5565b61179e565b5b611357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134e906147dd565b60405180910390fd5b61136283838361264e565b505050565b61136f611ba7565b611379600061291f565b565b60095481565b600a60009054906101000a900460ff1681565b61139c611ba7565b600954816008546113ad9190614b3d565b11156113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590614bdf565b60405180910390fd5b60008111611431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142890614c4b565b60405180910390fd5b61144d826001836040518060200160405280600081525061249c565b806008600082825461145f9190614b3d565b925050819055505050565b611472611ba7565b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f13380ad6c58c6a2855a70fd3970b4fe598e8b60a683408ec8a5896b680188acd816040516114f99190614372565b60405180910390a150565b61150c611ba7565b600a60029054906101000a900460ff1615600a60026101000a81548160ff021916908315150217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b61156f611ba7565b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690557f7d9ce70f39c0d594d373d4b779781839de1debeda94cbb04501bc0773a1199eb816040516115ed9190614372565b60405180910390a150565b600a60019054906101000a900460ff16611647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163e90614d23565b60405180910390fd5b600954816008546116589190614b3d565b1115611699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169090614bdf565b60405180910390fd5b600081116116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390614c4b565b60405180910390fd5b34816007546116eb91906146b1565b1461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290614cb7565b60405180910390fd5b611747336001836040518060200160405280600081525061249c565b80600860008282546117599190614b3d565b9250508190555050565b61177561176e611dc5565b83836129e3565b5050565b611781611ba7565b611789612b50565b565b600a60019054906101000a900460ff1681565b60006117a982610abd565b156117b757600190506117c4565b6117c18383612b9d565b90505b92915050565b6117d2611dc5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611818575061181785611812611dc5565b61179e565b5b611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906147dd565b60405180910390fd5b6118648585858585612c31565b5050505050565b611873611ba7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90614db5565b60405180910390fd5b6118ec8161291f565b50565b6118f7611ba7565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161191d90614e06565b60006040518083038185875af1925050503d806000811461195a576040519150601f19603f3d011682016040523d82523d6000602084013e61195f565b606091505b50509050806119a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199a90614e67565b60405180910390fd5b505050565b60075481565b6119b6611dc5565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119fc57506119fb836119f6611dc5565b61179e565b5b611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a32906147dd565b60405180910390fd5b611a46838383612ed0565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b1657507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b265750611b2582613119565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ba05750611b9f82611a4b565b5b9050919050565b611baf611dc5565b73ffffffffffffffffffffffffffffffffffffffff16611bcd611538565b73ffffffffffffffffffffffffffffffffffffffff1614611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90614ed3565b60405180910390fd5b565b611c2d611dbb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290614f65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614fd1565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600460008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b600033905090565b8151835114611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890615063565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906150f5565b60405180910390fd5b6000611e8b611dc5565b9050611e9b818787878787613183565b60005b845181101561204f576000858281518110611ebc57611ebb61495b565b5b602002602001015190506000858381518110611edb57611eda61495b565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7490615187565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120349190614b3d565b92505081905550505050806120489061498a565b9050611e9e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516120c69291906151a7565b60405180910390a46120dc81878787878761318b565b6120ea818787878787613193565b505050505050565b6060600082141561213a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061224e565b600082905060005b6000821461216c5780806121559061498a565b915050600a82612165919061473a565b9150612142565b60008167ffffffffffffffff81111561218857612187613bc0565b5b6040519080825280601f01601f1916602001820160405280156121ba5781602001600182028036833780820191505090505b5090505b60008514612247576001826121d391906151de565b9150600a856121e29190615212565b60306121ee9190614b3d565b60f81b8183815181106122045761220361495b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612240919061473a565b94506121be565b8093505050505b919050565b80600390805190602001906122699291906136ad565b5050565b612275611dbb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90614f65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a9061528f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b600080858560405160200161242b92919061532d565b604051602081830303815290604052805190602001209050612491848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b548361337a565b915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561250c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612503906153cb565b60405180910390fd5b6000612516611dc5565b9050600061252385613391565b9050600061253085613391565b905061254183600089858589613183565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a19190614b3d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161261f9291906153eb565b60405180910390a46126368360008985858961318b565b6126458360008989898961340b565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b590615486565b60405180910390fd5b8051825114612702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f990615063565b60405180910390fd5b600061270c611dc5565b905061272c81856000868660405180602001604052806000815250613183565b60005b835181101561287b57600084828151811061274d5761274c61495b565b5b60200260200101519050600084838151811061276c5761276b61495b565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561280e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280590615518565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806128739061498a565b91505061272f565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516128f39291906151a7565b60405180910390a46129198185600086866040518060200160405280600081525061318b565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a49906155aa565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b439190613902565b60405180910390a3505050565b6004600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c98906150f5565b60405180910390fd5b6000612cab611dc5565b90506000612cb885613391565b90506000612cc585613391565b9050612cd5838989858589613183565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6490615187565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e249190614b3d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612ea19291906153eb565b60405180910390a4612eb7848a8a86868a61318b565b612ec5848a8a8a8a8a61340b565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3790615486565b60405180910390fd5b6000612f4a611dc5565b90506000612f5784613391565b90506000612f6484613391565b9050612f8483876000858560405180602001604052806000815250613183565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508481101561301c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301390615518565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516130ea9291906153eb565b60405180910390a46131108488600086866040518060200160405280600081525061318b565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b505050505050565b6131b28473ffffffffffffffffffffffffffffffffffffffff166135f2565b15613372578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016131f895949392919061561f565b602060405180830381600087803b15801561321257600080fd5b505af192505050801561324357506040513d601f19601f82011682018060405250810190613240919061569c565b60015b6132e95761324f6156d6565b806308c379a014156132ac57506132646156f8565b8061326f57506132ae565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a39190613a67565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e090615800565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336790615892565b60405180910390fd5b505b505050505050565b6000826133878584613615565b1490509392505050565b60606000600167ffffffffffffffff8111156133b0576133af613bc0565b5b6040519080825280602002602001820160405280156133de5781602001602082028036833780820191505090505b50905082816000815181106133f6576133f561495b565b5b60200260200101818152505080915050919050565b61342a8473ffffffffffffffffffffffffffffffffffffffff166135f2565b156135ea578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016134709594939291906158b2565b602060405180830381600087803b15801561348a57600080fd5b505af19250505080156134bb57506040513d601f19601f820116820180604052508101906134b8919061569c565b60015b613561576134c76156d6565b806308c379a0141561352457506134dc6156f8565b806134e75750613526565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351b9190613a67565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355890615800565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135df90615892565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156136605761364b8286838151811061363e5761363d61495b565b5b602002602001015161366b565b915080806136589061498a565b91505061361e565b508091505092915050565b60008183106136835761367e8284613696565b61368e565b61368d8383613696565b5b905092915050565b600082600052816020526040600020905092915050565b8280546136b9906145e4565b90600052602060002090601f0160209004810192826136db5760008555613722565b82601f106136f457805160ff1916838001178555613722565b82800160010185558215613722579182015b82811115613721578251825591602001919060010190613706565b5b50905061372f9190613733565b5090565b5b8082111561374c576000816000905550600101613734565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061378f82613764565b9050919050565b61379f81613784565b81146137aa57600080fd5b50565b6000813590506137bc81613796565b92915050565b6000819050919050565b6137d5816137c2565b81146137e057600080fd5b50565b6000813590506137f2816137cc565b92915050565b6000806040838503121561380f5761380e61375a565b5b600061381d858286016137ad565b925050602061382e858286016137e3565b9150509250929050565b613841816137c2565b82525050565b600060208201905061385c6000830184613838565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61389781613862565b81146138a257600080fd5b50565b6000813590506138b48161388e565b92915050565b6000602082840312156138d0576138cf61375a565b5b60006138de848285016138a5565b91505092915050565b60008115159050919050565b6138fc816138e7565b82525050565b600060208201905061391760008301846138f3565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61393e8161391d565b811461394957600080fd5b50565b60008135905061395b81613935565b92915050565b600080604083850312156139785761397761375a565b5b6000613986858286016137ad565b92505060206139978582860161394c565b9150509250929050565b6000602082840312156139b7576139b661375a565b5b60006139c5848285016137e3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a085780820151818401526020810190506139ed565b83811115613a17576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a39826139ce565b613a4381856139d9565b9350613a538185602086016139ea565b613a5c81613a1d565b840191505092915050565b60006020820190508181036000830152613a818184613a2e565b905092915050565b613a928161391d565b82525050565b6000602082019050613aad6000830184613a89565b92915050565b600060208284031215613ac957613ac861375a565b5b6000613ad7848285016137ad565b91505092915050565b6000819050919050565b613af381613ae0565b8114613afe57600080fd5b50565b600081359050613b1081613aea565b92915050565b600060208284031215613b2c57613b2b61375a565b5b6000613b3a84828501613b01565b91505092915050565b60008060408385031215613b5a57613b5961375a565b5b6000613b68858286016137e3565b9250506020613b79858286016137e3565b9150509250929050565b613b8c81613784565b82525050565b6000604082019050613ba76000830185613b83565b613bb46020830184613838565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bf882613a1d565b810181811067ffffffffffffffff82111715613c1757613c16613bc0565b5b80604052505050565b6000613c2a613750565b9050613c368282613bef565b919050565b600067ffffffffffffffff821115613c5657613c55613bc0565b5b602082029050602081019050919050565b600080fd5b6000613c7f613c7a84613c3b565b613c20565b90508083825260208201905060208402830185811115613ca257613ca1613c67565b5b835b81811015613ccb5780613cb788826137e3565b845260208401935050602081019050613ca4565b5050509392505050565b600082601f830112613cea57613ce9613bbb565b5b8135613cfa848260208601613c6c565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d2357613d22613bc0565b5b613d2c82613a1d565b9050602081019050919050565b82818337600083830152505050565b6000613d5b613d5684613d08565b613c20565b905082815260208101848484011115613d7757613d76613d03565b5b613d82848285613d39565b509392505050565b600082601f830112613d9f57613d9e613bbb565b5b8135613daf848260208601613d48565b91505092915050565b600080600080600060a08688031215613dd457613dd361375a565b5b6000613de2888289016137ad565b9550506020613df3888289016137ad565b945050604086013567ffffffffffffffff811115613e1457613e1361375f565b5b613e2088828901613cd5565b935050606086013567ffffffffffffffff811115613e4157613e4061375f565b5b613e4d88828901613cd5565b925050608086013567ffffffffffffffff811115613e6e57613e6d61375f565b5b613e7a88828901613d8a565b9150509295509295909350565b600067ffffffffffffffff821115613ea257613ea1613bc0565b5b602082029050602081019050919050565b6000613ec6613ec184613e87565b613c20565b90508083825260208201905060208402830185811115613ee957613ee8613c67565b5b835b81811015613f125780613efe88826137ad565b845260208401935050602081019050613eeb565b5050509392505050565b600082601f830112613f3157613f30613bbb565b5b8135613f41848260208601613eb3565b91505092915050565b60008060408385031215613f6157613f6061375a565b5b600083013567ffffffffffffffff811115613f7f57613f7e61375f565b5b613f8b85828601613f1c565b925050602083013567ffffffffffffffff811115613fac57613fab61375f565b5b613fb885828601613cd5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ff7816137c2565b82525050565b60006140098383613fee565b60208301905092915050565b6000602082019050919050565b600061402d82613fc2565b6140378185613fcd565b935061404283613fde565b8060005b8381101561407357815161405a8882613ffd565b975061406583614015565b925050600181019050614046565b5085935050505092915050565b6000602082019050818103600083015261409a8184614022565b905092915050565b600067ffffffffffffffff8211156140bd576140bc613bc0565b5b6140c682613a1d565b9050602081019050919050565b60006140e66140e1846140a2565b613c20565b90508281526020810184848401111561410257614101613d03565b5b61410d848285613d39565b509392505050565b600082601f83011261412a57614129613bbb565b5b813561413a8482602086016140d3565b91505092915050565b6000602082840312156141595761415861375a565b5b600082013567ffffffffffffffff8111156141775761417661375f565b5b61418384828501614115565b91505092915050565b6000806000606084860312156141a5576141a461375a565b5b60006141b3868287016137e3565b93505060206141c4868287016137ad565b92505060406141d58682870161394c565b9150509250925092565b600060ff82169050919050565b6141f5816141df565b811461420057600080fd5b50565b600081359050614212816141ec565b92915050565b600080fd5b60008083601f84011261423357614232613bbb565b5b8235905067ffffffffffffffff8111156142505761424f614218565b5b60208301915083602082028301111561426c5761426b613c67565b5b9250929050565b6000806000806060858703121561428d5761428c61375a565b5b600061429b878288016137e3565b94505060206142ac87828801614203565b935050604085013567ffffffffffffffff8111156142cd576142cc61375f565b5b6142d98782880161421d565b925092505092959194509250565b600080600060608486031215614300576142ff61375a565b5b600061430e868287016137ad565b935050602084013567ffffffffffffffff81111561432f5761432e61375f565b5b61433b86828701613cd5565b925050604084013567ffffffffffffffff81111561435c5761435b61375f565b5b61436886828701613cd5565b9150509250925092565b60006020820190506143876000830184613b83565b92915050565b614396816138e7565b81146143a157600080fd5b50565b6000813590506143b38161438d565b92915050565b600080604083850312156143d0576143cf61375a565b5b60006143de858286016137ad565b92505060206143ef858286016143a4565b9150509250929050565b600080604083850312156144105761440f61375a565b5b600061441e858286016137ad565b925050602061442f858286016137ad565b9150509250929050565b600080600080600060a086880312156144555761445461375a565b5b6000614463888289016137ad565b9550506020614474888289016137ad565b9450506040614485888289016137e3565b9350506060614496888289016137e3565b925050608086013567ffffffffffffffff8111156144b7576144b661375f565b5b6144c388828901613d8a565b9150509295509295909350565b6000806000606084860312156144e9576144e861375a565b5b60006144f7868287016137ad565b9350506020614508868287016137e3565b9250506040614519868287016137e3565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061457f602a836139d9565b915061458a82614523565b604082019050919050565b600060208201905081810360008301526145ae81614572565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145fc57607f821691505b602082108114156146105761460f6145b5565b5b50919050565b7f53616c652069732063757272656e746c79206163746976650000000000000000600082015250565b600061464c6018836139d9565b915061465782614616565b602082019050919050565b6000602082019050818103600083015261467b8161463f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146bc826137c2565b91506146c7836137c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614700576146ff614682565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614745826137c2565b9150614750836137c2565b9250826147605761475f61470b565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006147c7602f836139d9565b91506147d28261476b565b604082019050919050565b600060208201905081810360008301526147f6816147ba565b9050919050565b7f4261736520555249206d7573742062652066696e616c697a6564206669727374600082015250565b60006148336020836139d9565b915061483e826147fd565b602082019050919050565b6000602082019050818103600083015261486281614826565b9050919050565b600081905092915050565b600061487f826139ce565b6148898185614869565b93506148998185602086016139ea565b80840191505092915050565b60006148b18285614874565b91506148bd8284614874565b91508190509392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006149256029836139d9565b9150614930826148c9565b604082019050919050565b6000602082019050818103600083015261495481614918565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614995826137c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149c8576149c7614682565b5b600182019050919050565b7f426173652055524920697320756e6368616e676561626c650000000000000000600082015250565b6000614a096018836139d9565b9150614a14826149d3565b602082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f50726573616c652073616c65206973206e6f7420616374697665000000000000600082015250565b6000614a75601a836139d9565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f41646472657373206e6f7420666f756e6420696e2070726573616c65206c697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b076021836139d9565b9150614b1282614aab565b604082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b6000614b48826137c2565b9150614b53836137c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b8857614b87614682565b5b828201905092915050565b7f4e6f20746f6b656e7320617661696c61626c6520746f206d696e740000000000600082015250565b6000614bc9601b836139d9565b9150614bd482614b93565b602082019050919050565b60006020820190508181036000830152614bf881614bbc565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b6000614c35601c836139d9565b9150614c4082614bff565b602082019050919050565b60006020820190508181036000830152614c6481614c28565b9050919050565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b6000614ca16017836139d9565b9150614cac82614c6b565b602082019050919050565b60006020820190508181036000830152614cd081614c94565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000614d0d6012836139d9565b9150614d1882614cd7565b602082019050919050565b60006020820190508181036000830152614d3c81614d00565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d9f6026836139d9565b9150614daa82614d43565b604082019050919050565b60006020820190508181036000830152614dce81614d92565b9050919050565b600081905092915050565b50565b6000614df0600083614dd5565b9150614dfb82614de0565b600082019050919050565b6000614e1182614de3565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000614e516018836139d9565b9150614e5c82614e1b565b602082019050919050565b60006020820190508181036000830152614e8081614e44565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ebd6020836139d9565b9150614ec882614e87565b602082019050919050565b60006020820190508181036000830152614eec81614eb0565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614f4f602a836139d9565b9150614f5a82614ef3565b604082019050919050565b60006020820190508181036000830152614f7e81614f42565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614fbb6019836139d9565b9150614fc682614f85565b602082019050919050565b60006020820190508181036000830152614fea81614fae565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061504d6028836139d9565b915061505882614ff1565b604082019050919050565b6000602082019050818103600083015261507c81615040565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006150df6025836139d9565b91506150ea82615083565b604082019050919050565b6000602082019050818103600083015261510e816150d2565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615171602a836139d9565b915061517c82615115565b604082019050919050565b600060208201905081810360008301526151a081615164565b9050919050565b600060408201905081810360008301526151c18185614022565b905081810360208301526151d58184614022565b90509392505050565b60006151e9826137c2565b91506151f4836137c2565b92508282101561520757615206614682565b5b828203905092915050565b600061521d826137c2565b9150615228836137c2565b9250826152385761523761470b565b5b828206905092915050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000615279601b836139d9565b915061528482615243565b602082019050919050565b600060208201905081810360008301526152a88161526c565b9050919050565b60008160601b9050919050565b60006152c7826152af565b9050919050565b60006152d9826152bc565b9050919050565b6152f16152ec82613784565b6152ce565b82525050565b60008160f81b9050919050565b600061530f826152f7565b9050919050565b615327615322826141df565b615304565b82525050565b600061533982856152e0565b6014820191506153498284615316565b6001820191508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153b56021836139d9565b91506153c082615359565b604082019050919050565b600060208201905081810360008301526153e4816153a8565b9050919050565b60006040820190506154006000830185613838565b61540d6020830184613838565b9392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006154706023836139d9565b915061547b82615414565b604082019050919050565b6000602082019050818103600083015261549f81615463565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006155026024836139d9565b915061550d826154a6565b604082019050919050565b60006020820190508181036000830152615531816154f5565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006155946029836139d9565b915061559f82615538565b604082019050919050565b600060208201905081810360008301526155c381615587565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155f1826155ca565b6155fb81856155d5565b935061560b8185602086016139ea565b61561481613a1d565b840191505092915050565b600060a0820190506156346000830188613b83565b6156416020830187613b83565b81810360408301526156538186614022565b905081810360608301526156678185614022565b9050818103608083015261567b81846155e6565b90509695505050505050565b6000815190506156968161388e565b92915050565b6000602082840312156156b2576156b161375a565b5b60006156c084828501615687565b91505092915050565b60008160e01c9050919050565b600060033d11156156f55760046000803e6156f26000516156c9565b90505b90565b600060443d10156157085761578b565b615710613750565b60043d036004823e80513d602482011167ffffffffffffffff8211171561573857505061578b565b808201805167ffffffffffffffff811115615756575050505061578b565b80602083010160043d03850181111561577357505050505061578b565b61578282602001850186613bef565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006157ea6034836139d9565b91506157f58261578e565b604082019050919050565b60006020820190508181036000830152615819816157dd565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061587c6028836139d9565b915061588782615820565b604082019050919050565b600060208201905081810360008301526158ab8161586f565b9050919050565b600060a0820190506158c76000830188613b83565b6158d46020830187613b83565b6158e16040830186613838565b6158ee6060830185613838565b818103608083015261590081846155e6565b9050969550505050505056fea26469706673582212202a2937bbff0431948c8845bc80250c132f32c55e7ece41fd1941de9faa0cf40c64736f6c63430008090033000000000000000000000000000000000000000000000000009536c708910000000000000000000000000000000000000000000000000000000000000000037a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003968747470733a2f2f77616c6c73747265657462756c6c732e696f2f7773626f7074696f6e73746f6b656e2f746f6b656e2f7b69647d3f68657800000000000000
Deployed Bytecode
0x60806040526004361061023a5760003560e01c80636b20c4541161012e578063a0712d68116100ab578063f242432a1161006f578063f242432a14610803578063f2fde38b1461082c578063f3fef3a314610855578063f51f96dd1461087e578063f5298aca146108a95761023a565b8063a0712d681461073f578063a22cb4651461075b578063aa1b103f14610784578063bc8893b41461079b578063e985e9c5146107c65761023a565b806384e79842116100f257806384e798421461068057806389b0649b146106a95780638da5cb5b146106c05780639659867e146106eb57806397a6278e146107165761023a565b80636b20c454146105c1578063715018a6146105ea57806376c71ca1146106015780637a55deae1461062c5780637de55fe1146106575761023a565b80632eb2c2d6116101bc5780634e1273f4116101805780634e1273f4146104eb57806353135ca01461052857806355f804b3146105535780635944c7531461057c57806367ad6458146105a55761023a565b80632eb2c2d61461042e57806337c3fdbc146104575780633e4bee381461046e5780634070a0c9146104995780634333adc6146104c25761023a565b8063180b0d7e11610203578063180b0d7e146103365780631919fed7146103615780631ffbb0641461038a57806328d7b276146103c75780632a55205a146103f05761023a565b8062fdd58e1461023f57806301ffc9a71461027c57806304634d8d146102b95780630c894cfe146102e25780630e89341c146102f9575b600080fd5b34801561024b57600080fd5b50610266600480360381019061026191906137f8565b6108d2565b6040516102739190613847565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906138ba565b61099c565b6040516102b09190613902565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613961565b6109be565b005b3480156102ee57600080fd5b506102f76109d4565b005b34801561030557600080fd5b50610320600480360381019061031b91906139a1565b610a08565b60405161032d9190613a67565b60405180910390f35b34801561034257600080fd5b5061034b610a9c565b6040516103589190613a98565b60405180910390f35b34801561036d57600080fd5b50610388600480360381019061038391906139a1565b610aab565b005b34801561039657600080fd5b506103b160048036038101906103ac9190613ab3565b610abd565b6040516103be9190613902565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190613b16565b610b13565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613b43565b610b8e565b604051610425929190613b92565b60405180910390f35b34801561043a57600080fd5b5061045560048036038101906104509190613db8565b610d79565b005b34801561046357600080fd5b5061046c610e1a565b005b34801561047a57600080fd5b50610483610e3f565b6040516104909190613847565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb91906139a1565b610e44565b005b3480156104ce57600080fd5b506104e960048036038101906104e491906139a1565b610e56565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613f4a565b610f19565b60405161051f9190614080565b60405180910390f35b34801561053457600080fd5b5061053d611032565b60405161054a9190613902565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190614143565b611045565b005b34801561058857600080fd5b506105a3600480360381019061059e919061418c565b6110e0565b005b6105bf60048036038101906105ba9190614273565b6110f8565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906142e7565b6112ca565b005b3480156105f657600080fd5b506105ff611367565b005b34801561060d57600080fd5b5061061661137b565b6040516106239190613847565b60405180910390f35b34801561063857600080fd5b50610641611381565b60405161064e9190613902565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906137f8565b611394565b005b34801561068c57600080fd5b506106a760048036038101906106a29190613ab3565b61146a565b005b3480156106b557600080fd5b506106be611504565b005b3480156106cc57600080fd5b506106d5611538565b6040516106e29190614372565b60405180910390f35b3480156106f757600080fd5b50610700611561565b60405161070d9190613847565b60405180910390f35b34801561072257600080fd5b5061073d60048036038101906107389190613ab3565b611567565b005b610759600480360381019061075491906139a1565b6115f8565b005b34801561076757600080fd5b50610782600480360381019061077d91906143b9565b611763565b005b34801561079057600080fd5b50610799611779565b005b3480156107a757600080fd5b506107b061178b565b6040516107bd9190613902565b60405180910390f35b3480156107d257600080fd5b506107ed60048036038101906107e891906143f9565b61179e565b6040516107fa9190613902565b60405180910390f35b34801561080f57600080fd5b5061082a60048036038101906108259190614439565b6117ca565b005b34801561083857600080fd5b50610853600480360381019061084e9190613ab3565b61186b565b005b34801561086157600080fd5b5061087c600480360381019061087791906137f8565b6118ef565b005b34801561088a57600080fd5b506108936119a8565b6040516108a09190613847565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb91906144d0565b6119ae565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a90614595565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006109a782611a4b565b806109b757506109b682611b2d565b5b9050919050565b6109c6611ba7565b6109d08282611c25565b5050565b6109dc611ba7565b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b606060038054610a17906145e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a43906145e4565b8015610a905780601f10610a6557610100808354040283529160200191610a90565b820191906000526020600020905b815481529060010190602001808311610a7357829003601f168201915b50505050509050919050565b6000610aa6611dbb565b905090565b610ab3611ba7565b8060078190555050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610b1b611ba7565b600a60029054906101000a900460ff16158015610b455750600a60019054906101000a900460ff16155b610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90614662565b60405180910390fd5b80600b8190555050565b6000806000600560008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610d245760046040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d2e611dbb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d5a91906146b1565b610d64919061473a565b90508160000151819350935050509250929050565b610d81611dc5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610dc75750610dc685610dc1611dc5565b61179e565b5b610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906147dd565b60405180910390fd5b610e138585858585611dcd565b5050505050565b610e22611ba7565b6001600a60006101000a81548160ff021916908315150217905550565b600181565b610e4c611ba7565b8060098190555050565b610e5e611ba7565b600a60009054906101000a900460ff16610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490614849565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610ed883610a08565b610ee1846120f2565b604051602001610ef29291906148a5565b604051602081830303815290604052604051610f0e9190613a67565b60405180910390a250565b60608151835114610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f569061493b565b60405180910390fd5b6000835167ffffffffffffffff811115610f7c57610f7b613bc0565b5b604051908082528060200260200182016040528015610faa5781602001602082028036833780820191505090505b50905060005b845181101561102757610ff7858281518110610fcf57610fce61495b565b5b6020026020010151858381518110610fea57610fe961495b565b5b60200260200101516108d2565b82828151811061100a5761100961495b565b5b602002602001018181525050806110209061498a565b9050610fb0565b508091505092915050565b600a60029054906101000a900460ff1681565b61104d611ba7565b600a60009054906101000a900460ff161561109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490614a1f565b60405180910390fd5b6110a681612253565b7f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516110d59190613a67565b60405180910390a150565b6110e8611ba7565b6110f383838361226d565b505050565b600a60029054906101000a900460ff1680156111215750600a60019054906101000a900460ff16155b611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790614a8b565b60405180910390fd5b61116c33848484612415565b6111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290614b1d565b60405180910390fd5b600954846008546111bc9190614b3d565b11156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614bdf565b60405180910390fd5b60008411611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790614c4b565b60405180910390fd5b348460075461124f91906146b1565b1461128f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128690614cb7565b60405180910390fd5b6112ab336001866040518060200160405280600081525061249c565b83600860008282546112bd9190614b3d565b9250508190555050505050565b6112d2611dc5565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611318575061131783611312611dc5565b61179e565b5b611357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134e906147dd565b60405180910390fd5b61136283838361264e565b505050565b61136f611ba7565b611379600061291f565b565b60095481565b600a60009054906101000a900460ff1681565b61139c611ba7565b600954816008546113ad9190614b3d565b11156113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590614bdf565b60405180910390fd5b60008111611431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142890614c4b565b60405180910390fd5b61144d826001836040518060200160405280600081525061249c565b806008600082825461145f9190614b3d565b925050819055505050565b611472611ba7565b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f13380ad6c58c6a2855a70fd3970b4fe598e8b60a683408ec8a5896b680188acd816040516114f99190614372565b60405180910390a150565b61150c611ba7565b600a60029054906101000a900460ff1615600a60026101000a81548160ff021916908315150217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b61156f611ba7565b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690557f7d9ce70f39c0d594d373d4b779781839de1debeda94cbb04501bc0773a1199eb816040516115ed9190614372565b60405180910390a150565b600a60019054906101000a900460ff16611647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163e90614d23565b60405180910390fd5b600954816008546116589190614b3d565b1115611699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169090614bdf565b60405180910390fd5b600081116116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390614c4b565b60405180910390fd5b34816007546116eb91906146b1565b1461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290614cb7565b60405180910390fd5b611747336001836040518060200160405280600081525061249c565b80600860008282546117599190614b3d565b9250508190555050565b61177561176e611dc5565b83836129e3565b5050565b611781611ba7565b611789612b50565b565b600a60019054906101000a900460ff1681565b60006117a982610abd565b156117b757600190506117c4565b6117c18383612b9d565b90505b92915050565b6117d2611dc5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611818575061181785611812611dc5565b61179e565b5b611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906147dd565b60405180910390fd5b6118648585858585612c31565b5050505050565b611873611ba7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90614db5565b60405180910390fd5b6118ec8161291f565b50565b6118f7611ba7565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161191d90614e06565b60006040518083038185875af1925050503d806000811461195a576040519150601f19603f3d011682016040523d82523d6000602084013e61195f565b606091505b50509050806119a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199a90614e67565b60405180910390fd5b505050565b60075481565b6119b6611dc5565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119fc57506119fb836119f6611dc5565b61179e565b5b611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a32906147dd565b60405180910390fd5b611a46838383612ed0565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b1657507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b265750611b2582613119565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ba05750611b9f82611a4b565b5b9050919050565b611baf611dc5565b73ffffffffffffffffffffffffffffffffffffffff16611bcd611538565b73ffffffffffffffffffffffffffffffffffffffff1614611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90614ed3565b60405180910390fd5b565b611c2d611dbb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290614f65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614fd1565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600460008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b600033905090565b8151835114611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890615063565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906150f5565b60405180910390fd5b6000611e8b611dc5565b9050611e9b818787878787613183565b60005b845181101561204f576000858281518110611ebc57611ebb61495b565b5b602002602001015190506000858381518110611edb57611eda61495b565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7490615187565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120349190614b3d565b92505081905550505050806120489061498a565b9050611e9e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516120c69291906151a7565b60405180910390a46120dc81878787878761318b565b6120ea818787878787613193565b505050505050565b6060600082141561213a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061224e565b600082905060005b6000821461216c5780806121559061498a565b915050600a82612165919061473a565b9150612142565b60008167ffffffffffffffff81111561218857612187613bc0565b5b6040519080825280601f01601f1916602001820160405280156121ba5781602001600182028036833780820191505090505b5090505b60008514612247576001826121d391906151de565b9150600a856121e29190615212565b60306121ee9190614b3d565b60f81b8183815181106122045761220361495b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612240919061473a565b94506121be565b8093505050505b919050565b80600390805190602001906122699291906136ad565b5050565b612275611dbb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90614f65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a9061528f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b600080858560405160200161242b92919061532d565b604051602081830303815290604052805190602001209050612491848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b548361337a565b915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561250c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612503906153cb565b60405180910390fd5b6000612516611dc5565b9050600061252385613391565b9050600061253085613391565b905061254183600089858589613183565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a19190614b3d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161261f9291906153eb565b60405180910390a46126368360008985858961318b565b6126458360008989898961340b565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b590615486565b60405180910390fd5b8051825114612702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f990615063565b60405180910390fd5b600061270c611dc5565b905061272c81856000868660405180602001604052806000815250613183565b60005b835181101561287b57600084828151811061274d5761274c61495b565b5b60200260200101519050600084838151811061276c5761276b61495b565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561280e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280590615518565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806128739061498a565b91505061272f565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516128f39291906151a7565b60405180910390a46129198185600086866040518060200160405280600081525061318b565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a49906155aa565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b439190613902565b60405180910390a3505050565b6004600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c98906150f5565b60405180910390fd5b6000612cab611dc5565b90506000612cb885613391565b90506000612cc585613391565b9050612cd5838989858589613183565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6490615187565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e249190614b3d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612ea19291906153eb565b60405180910390a4612eb7848a8a86868a61318b565b612ec5848a8a8a8a8a61340b565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3790615486565b60405180910390fd5b6000612f4a611dc5565b90506000612f5784613391565b90506000612f6484613391565b9050612f8483876000858560405180602001604052806000815250613183565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508481101561301c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301390615518565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516130ea9291906153eb565b60405180910390a46131108488600086866040518060200160405280600081525061318b565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b505050505050565b6131b28473ffffffffffffffffffffffffffffffffffffffff166135f2565b15613372578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016131f895949392919061561f565b602060405180830381600087803b15801561321257600080fd5b505af192505050801561324357506040513d601f19601f82011682018060405250810190613240919061569c565b60015b6132e95761324f6156d6565b806308c379a014156132ac57506132646156f8565b8061326f57506132ae565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a39190613a67565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e090615800565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336790615892565b60405180910390fd5b505b505050505050565b6000826133878584613615565b1490509392505050565b60606000600167ffffffffffffffff8111156133b0576133af613bc0565b5b6040519080825280602002602001820160405280156133de5781602001602082028036833780820191505090505b50905082816000815181106133f6576133f561495b565b5b60200260200101818152505080915050919050565b61342a8473ffffffffffffffffffffffffffffffffffffffff166135f2565b156135ea578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016134709594939291906158b2565b602060405180830381600087803b15801561348a57600080fd5b505af19250505080156134bb57506040513d601f19601f820116820180604052508101906134b8919061569c565b60015b613561576134c76156d6565b806308c379a0141561352457506134dc6156f8565b806134e75750613526565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351b9190613a67565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355890615800565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135df90615892565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156136605761364b8286838151811061363e5761363d61495b565b5b602002602001015161366b565b915080806136589061498a565b91505061361e565b508091505092915050565b60008183106136835761367e8284613696565b61368e565b61368d8383613696565b5b905092915050565b600082600052816020526040600020905092915050565b8280546136b9906145e4565b90600052602060002090601f0160209004810192826136db5760008555613722565b82601f106136f457805160ff1916838001178555613722565b82800160010185558215613722579182015b82811115613721578251825591602001919060010190613706565b5b50905061372f9190613733565b5090565b5b8082111561374c576000816000905550600101613734565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061378f82613764565b9050919050565b61379f81613784565b81146137aa57600080fd5b50565b6000813590506137bc81613796565b92915050565b6000819050919050565b6137d5816137c2565b81146137e057600080fd5b50565b6000813590506137f2816137cc565b92915050565b6000806040838503121561380f5761380e61375a565b5b600061381d858286016137ad565b925050602061382e858286016137e3565b9150509250929050565b613841816137c2565b82525050565b600060208201905061385c6000830184613838565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61389781613862565b81146138a257600080fd5b50565b6000813590506138b48161388e565b92915050565b6000602082840312156138d0576138cf61375a565b5b60006138de848285016138a5565b91505092915050565b60008115159050919050565b6138fc816138e7565b82525050565b600060208201905061391760008301846138f3565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61393e8161391d565b811461394957600080fd5b50565b60008135905061395b81613935565b92915050565b600080604083850312156139785761397761375a565b5b6000613986858286016137ad565b92505060206139978582860161394c565b9150509250929050565b6000602082840312156139b7576139b661375a565b5b60006139c5848285016137e3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a085780820151818401526020810190506139ed565b83811115613a17576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a39826139ce565b613a4381856139d9565b9350613a538185602086016139ea565b613a5c81613a1d565b840191505092915050565b60006020820190508181036000830152613a818184613a2e565b905092915050565b613a928161391d565b82525050565b6000602082019050613aad6000830184613a89565b92915050565b600060208284031215613ac957613ac861375a565b5b6000613ad7848285016137ad565b91505092915050565b6000819050919050565b613af381613ae0565b8114613afe57600080fd5b50565b600081359050613b1081613aea565b92915050565b600060208284031215613b2c57613b2b61375a565b5b6000613b3a84828501613b01565b91505092915050565b60008060408385031215613b5a57613b5961375a565b5b6000613b68858286016137e3565b9250506020613b79858286016137e3565b9150509250929050565b613b8c81613784565b82525050565b6000604082019050613ba76000830185613b83565b613bb46020830184613838565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bf882613a1d565b810181811067ffffffffffffffff82111715613c1757613c16613bc0565b5b80604052505050565b6000613c2a613750565b9050613c368282613bef565b919050565b600067ffffffffffffffff821115613c5657613c55613bc0565b5b602082029050602081019050919050565b600080fd5b6000613c7f613c7a84613c3b565b613c20565b90508083825260208201905060208402830185811115613ca257613ca1613c67565b5b835b81811015613ccb5780613cb788826137e3565b845260208401935050602081019050613ca4565b5050509392505050565b600082601f830112613cea57613ce9613bbb565b5b8135613cfa848260208601613c6c565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d2357613d22613bc0565b5b613d2c82613a1d565b9050602081019050919050565b82818337600083830152505050565b6000613d5b613d5684613d08565b613c20565b905082815260208101848484011115613d7757613d76613d03565b5b613d82848285613d39565b509392505050565b600082601f830112613d9f57613d9e613bbb565b5b8135613daf848260208601613d48565b91505092915050565b600080600080600060a08688031215613dd457613dd361375a565b5b6000613de2888289016137ad565b9550506020613df3888289016137ad565b945050604086013567ffffffffffffffff811115613e1457613e1361375f565b5b613e2088828901613cd5565b935050606086013567ffffffffffffffff811115613e4157613e4061375f565b5b613e4d88828901613cd5565b925050608086013567ffffffffffffffff811115613e6e57613e6d61375f565b5b613e7a88828901613d8a565b9150509295509295909350565b600067ffffffffffffffff821115613ea257613ea1613bc0565b5b602082029050602081019050919050565b6000613ec6613ec184613e87565b613c20565b90508083825260208201905060208402830185811115613ee957613ee8613c67565b5b835b81811015613f125780613efe88826137ad565b845260208401935050602081019050613eeb565b5050509392505050565b600082601f830112613f3157613f30613bbb565b5b8135613f41848260208601613eb3565b91505092915050565b60008060408385031215613f6157613f6061375a565b5b600083013567ffffffffffffffff811115613f7f57613f7e61375f565b5b613f8b85828601613f1c565b925050602083013567ffffffffffffffff811115613fac57613fab61375f565b5b613fb885828601613cd5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ff7816137c2565b82525050565b60006140098383613fee565b60208301905092915050565b6000602082019050919050565b600061402d82613fc2565b6140378185613fcd565b935061404283613fde565b8060005b8381101561407357815161405a8882613ffd565b975061406583614015565b925050600181019050614046565b5085935050505092915050565b6000602082019050818103600083015261409a8184614022565b905092915050565b600067ffffffffffffffff8211156140bd576140bc613bc0565b5b6140c682613a1d565b9050602081019050919050565b60006140e66140e1846140a2565b613c20565b90508281526020810184848401111561410257614101613d03565b5b61410d848285613d39565b509392505050565b600082601f83011261412a57614129613bbb565b5b813561413a8482602086016140d3565b91505092915050565b6000602082840312156141595761415861375a565b5b600082013567ffffffffffffffff8111156141775761417661375f565b5b61418384828501614115565b91505092915050565b6000806000606084860312156141a5576141a461375a565b5b60006141b3868287016137e3565b93505060206141c4868287016137ad565b92505060406141d58682870161394c565b9150509250925092565b600060ff82169050919050565b6141f5816141df565b811461420057600080fd5b50565b600081359050614212816141ec565b92915050565b600080fd5b60008083601f84011261423357614232613bbb565b5b8235905067ffffffffffffffff8111156142505761424f614218565b5b60208301915083602082028301111561426c5761426b613c67565b5b9250929050565b6000806000806060858703121561428d5761428c61375a565b5b600061429b878288016137e3565b94505060206142ac87828801614203565b935050604085013567ffffffffffffffff8111156142cd576142cc61375f565b5b6142d98782880161421d565b925092505092959194509250565b600080600060608486031215614300576142ff61375a565b5b600061430e868287016137ad565b935050602084013567ffffffffffffffff81111561432f5761432e61375f565b5b61433b86828701613cd5565b925050604084013567ffffffffffffffff81111561435c5761435b61375f565b5b61436886828701613cd5565b9150509250925092565b60006020820190506143876000830184613b83565b92915050565b614396816138e7565b81146143a157600080fd5b50565b6000813590506143b38161438d565b92915050565b600080604083850312156143d0576143cf61375a565b5b60006143de858286016137ad565b92505060206143ef858286016143a4565b9150509250929050565b600080604083850312156144105761440f61375a565b5b600061441e858286016137ad565b925050602061442f858286016137ad565b9150509250929050565b600080600080600060a086880312156144555761445461375a565b5b6000614463888289016137ad565b9550506020614474888289016137ad565b9450506040614485888289016137e3565b9350506060614496888289016137e3565b925050608086013567ffffffffffffffff8111156144b7576144b661375f565b5b6144c388828901613d8a565b9150509295509295909350565b6000806000606084860312156144e9576144e861375a565b5b60006144f7868287016137ad565b9350506020614508868287016137e3565b9250506040614519868287016137e3565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061457f602a836139d9565b915061458a82614523565b604082019050919050565b600060208201905081810360008301526145ae81614572565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145fc57607f821691505b602082108114156146105761460f6145b5565b5b50919050565b7f53616c652069732063757272656e746c79206163746976650000000000000000600082015250565b600061464c6018836139d9565b915061465782614616565b602082019050919050565b6000602082019050818103600083015261467b8161463f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146bc826137c2565b91506146c7836137c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614700576146ff614682565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614745826137c2565b9150614750836137c2565b9250826147605761475f61470b565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006147c7602f836139d9565b91506147d28261476b565b604082019050919050565b600060208201905081810360008301526147f6816147ba565b9050919050565b7f4261736520555249206d7573742062652066696e616c697a6564206669727374600082015250565b60006148336020836139d9565b915061483e826147fd565b602082019050919050565b6000602082019050818103600083015261486281614826565b9050919050565b600081905092915050565b600061487f826139ce565b6148898185614869565b93506148998185602086016139ea565b80840191505092915050565b60006148b18285614874565b91506148bd8284614874565b91508190509392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006149256029836139d9565b9150614930826148c9565b604082019050919050565b6000602082019050818103600083015261495481614918565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614995826137c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149c8576149c7614682565b5b600182019050919050565b7f426173652055524920697320756e6368616e676561626c650000000000000000600082015250565b6000614a096018836139d9565b9150614a14826149d3565b602082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f50726573616c652073616c65206973206e6f7420616374697665000000000000600082015250565b6000614a75601a836139d9565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f41646472657373206e6f7420666f756e6420696e2070726573616c65206c697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b076021836139d9565b9150614b1282614aab565b604082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b6000614b48826137c2565b9150614b53836137c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b8857614b87614682565b5b828201905092915050565b7f4e6f20746f6b656e7320617661696c61626c6520746f206d696e740000000000600082015250565b6000614bc9601b836139d9565b9150614bd482614b93565b602082019050919050565b60006020820190508181036000830152614bf881614bbc565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b6000614c35601c836139d9565b9150614c4082614bff565b602082019050919050565b60006020820190508181036000830152614c6481614c28565b9050919050565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b6000614ca16017836139d9565b9150614cac82614c6b565b602082019050919050565b60006020820190508181036000830152614cd081614c94565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000614d0d6012836139d9565b9150614d1882614cd7565b602082019050919050565b60006020820190508181036000830152614d3c81614d00565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d9f6026836139d9565b9150614daa82614d43565b604082019050919050565b60006020820190508181036000830152614dce81614d92565b9050919050565b600081905092915050565b50565b6000614df0600083614dd5565b9150614dfb82614de0565b600082019050919050565b6000614e1182614de3565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000614e516018836139d9565b9150614e5c82614e1b565b602082019050919050565b60006020820190508181036000830152614e8081614e44565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ebd6020836139d9565b9150614ec882614e87565b602082019050919050565b60006020820190508181036000830152614eec81614eb0565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614f4f602a836139d9565b9150614f5a82614ef3565b604082019050919050565b60006020820190508181036000830152614f7e81614f42565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614fbb6019836139d9565b9150614fc682614f85565b602082019050919050565b60006020820190508181036000830152614fea81614fae565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061504d6028836139d9565b915061505882614ff1565b604082019050919050565b6000602082019050818103600083015261507c81615040565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006150df6025836139d9565b91506150ea82615083565b604082019050919050565b6000602082019050818103600083015261510e816150d2565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615171602a836139d9565b915061517c82615115565b604082019050919050565b600060208201905081810360008301526151a081615164565b9050919050565b600060408201905081810360008301526151c18185614022565b905081810360208301526151d58184614022565b90509392505050565b60006151e9826137c2565b91506151f4836137c2565b92508282101561520757615206614682565b5b828203905092915050565b600061521d826137c2565b9150615228836137c2565b9250826152385761523761470b565b5b828206905092915050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000615279601b836139d9565b915061528482615243565b602082019050919050565b600060208201905081810360008301526152a88161526c565b9050919050565b60008160601b9050919050565b60006152c7826152af565b9050919050565b60006152d9826152bc565b9050919050565b6152f16152ec82613784565b6152ce565b82525050565b60008160f81b9050919050565b600061530f826152f7565b9050919050565b615327615322826141df565b615304565b82525050565b600061533982856152e0565b6014820191506153498284615316565b6001820191508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153b56021836139d9565b91506153c082615359565b604082019050919050565b600060208201905081810360008301526153e4816153a8565b9050919050565b60006040820190506154006000830185613838565b61540d6020830184613838565b9392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006154706023836139d9565b915061547b82615414565b604082019050919050565b6000602082019050818103600083015261549f81615463565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006155026024836139d9565b915061550d826154a6565b604082019050919050565b60006020820190508181036000830152615531816154f5565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006155946029836139d9565b915061559f82615538565b604082019050919050565b600060208201905081810360008301526155c381615587565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155f1826155ca565b6155fb81856155d5565b935061560b8185602086016139ea565b61561481613a1d565b840191505092915050565b600060a0820190506156346000830188613b83565b6156416020830187613b83565b81810360408301526156538186614022565b905081810360608301526156678185614022565b9050818103608083015261567b81846155e6565b90509695505050505050565b6000815190506156968161388e565b92915050565b6000602082840312156156b2576156b161375a565b5b60006156c084828501615687565b91505092915050565b60008160e01c9050919050565b600060033d11156156f55760046000803e6156f26000516156c9565b90505b90565b600060443d10156157085761578b565b615710613750565b60043d036004823e80513d602482011167ffffffffffffffff8211171561573857505061578b565b808201805167ffffffffffffffff811115615756575050505061578b565b80602083010160043d03850181111561577357505050505061578b565b61578282602001850186613bef565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006157ea6034836139d9565b91506157f58261578e565b604082019050919050565b60006020820190508181036000830152615819816157dd565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061587c6028836139d9565b915061588782615820565b604082019050919050565b600060208201905081810360008301526158ab8161586f565b9050919050565b600060a0820190506158c76000830188613b83565b6158d46020830187613b83565b6158e16040830186613838565b6158ee6060830185613838565b818103608083015261590081846155e6565b9050969550505050505056fea26469706673582212202a2937bbff0431948c8845bc80250c132f32c55e7ece41fd1941de9faa0cf40c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000009536c708910000000000000000000000000000000000000000000000000000000000000000037a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003968747470733a2f2f77616c6c73747265657462756c6c732e696f2f7773626f7074696f6e73746f6b656e2f746f6b656e2f7b69647d3f68657800000000000000
-----Decoded View---------------
Arg [0] : initialPriceWei (uint256): 42000000000000000
Arg [1] : initialMintCap (uint256): 890
Arg [2] : initialBaseURI (string): https://wallstreetbulls.io/wsboptionstoken/token/{id}?hex
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000009536c708910000
Arg [1] : 000000000000000000000000000000000000000000000000000000000000037a
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000039
Arg [4] : 68747470733a2f2f77616c6c73747265657462756c6c732e696f2f7773626f70
Arg [5] : 74696f6e73746f6b656e2f746f6b656e2f7b69647d3f68657800000000000000
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.