Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
0 PUP
Holders
38
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:
PuppyMint
Compiler Version
v0.8.7+commit.e28d00a7
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.0 <0.9.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * puppymint semi-fungible token very wow. * * allows users to wrap their PUP erc20 tokens into erc1155 semi-fungible-tokens (sfts) of specific denominations. * * anybody can mint a coin by storing PUP erc20 in this contract. * anybody can redeem a coin for its ascribed PUP erc20 value at any time. * anybody can swap one coin for another coin if they have the same PUP value. * some coin types can be "limited edition" and have a capped supply, while others are only implicitly capped by the max total supply of the erc20 PUP. */ contract PuppyMint is ERC1155, Ownable { string public name = "PuppyCoin"; string public symbol = "PUP"; string private _metadataURI = "https://assets.puppycoin.fun/metadata/{id}.json"; string private _contractUri = "https://assets.puppycoin.fun/metadata/contract.json"; IPuppyCoin puppyCoinContract = IPuppyCoin(_pupErc20Address()); uint private MILLI_PUP_PER_PUP = 1000; // PUP erc20 has 3 decimals. uint private PUP_MAX_SUPPLY = 21696969696; struct TokenInfo { uint id; uint valueInPUP; uint numInCirculation; uint maxSupply; } mapping(uint => TokenInfo) public tokenInfoById; // the next token type created will have this id. this gets incremented with each new token type. uint public nextAvailableTokenId = 1; // owner can freeze the base uri. bool public baseUriFrozen = false; constructor() public ERC1155(_metadataURI) {} /** * gets the contract address for the PUP erc20 token. */ function _pupErc20Address() internal view returns(address) { address addr; assembly { switch chainid() case 1 { // mainnet addr := 0x2696Fc1896F2D5F3DEAA2D91338B1D2E5f4E1D44 } case 4 { // rinkeby addr := 0x183B665119F1289dFD446a2ebA29f858eE0D3224 } } return addr; } /** * mint one or more puppymint sfts of the provided id. * * sender must have first called approve() on the PUP token contract w/ this contract's address * for greater than or equal to the token id's pup value times numToMint. */ function mint(uint tokenId, uint numToMint) public { _requireLegalTokenId(tokenId); // transfer PUP from the sender to this contract. uint256 totalCostMilliPup = tokenInfoById[tokenId].valueInPUP * MILLI_PUP_PER_PUP * numToMint; puppyCoinContract.transferFrom( msg.sender, address(this), totalCostMilliPup ); _mintToSender(tokenId, numToMint); } /** * mint one (or more) sfts with the given tokenId to the sender. * ensures the mint will not exceed the token's max supply. */ function _mintToSender(uint tokenId, uint numToMint) internal { tokenInfoById[tokenId].numInCirculation += numToMint; require(tokenInfoById[tokenId].numInCirculation <= tokenInfoById[tokenId].maxSupply, "minting would exceed max supply"); _mint(msg.sender, tokenId, numToMint, ""); } /** * redeem one (or more) sfts for PUP. */ function redeem(uint tokenId, uint numToRedeem) public { _requireLegalTokenId(tokenId); // burn the sft(s). _burnFromSender(tokenId, numToRedeem); // send PUP to the caller. uint milliPupToSend = tokenInfoById[tokenId].valueInPUP * MILLI_PUP_PER_PUP * numToRedeem; puppyCoinContract.transfer( msg.sender, milliPupToSend ); } /** * burn one or more tokens from the sender and decrement the token's numInCirculation. */ function _burnFromSender(uint tokenId, uint numToBurn) internal { tokenInfoById[tokenId].numInCirculation -= numToBurn; _burn(msg.sender, tokenId, numToBurn); } /** * swap one token for another one. the two tokens must have the same PUP value. */ function swap(uint burnTokenId, uint mintTokenId, uint numToSwap) public { _requireLegalTokenId(burnTokenId); _requireLegalTokenId(mintTokenId); require(tokenInfoById[burnTokenId].valueInPUP == tokenInfoById[mintTokenId].valueInPUP, "tokens are not the same value"); _burnFromSender(burnTokenId, numToSwap); _mintToSender(mintTokenId, numToSwap); } function _requireLegalTokenId(uint id) internal view { // the contract owner must have initialized this tokenId. // if the token was never set, then its id will be 0. require(tokenInfoById[id].id != 0, "illegal token id"); } function contractURI() public view returns (string memory) { return _contractUri; } /** * creates a new token type with the provided value in PUP. */ function createNewToken(uint tokenValuePup) public onlyOwner { // a unlimited token is just one where PUP_MAX_SUPPLY is the limit. createNewLimitedEditionToken(tokenValuePup, PUP_MAX_SUPPLY); } function createNewLimitedEditionToken(uint tokenValuePup, uint maxSupply) public onlyOwner { tokenInfoById[nextAvailableTokenId] = TokenInfo(nextAvailableTokenId, tokenValuePup, 0, maxSupply); nextAvailableTokenId++; } function setContractUri(string calldata newUri) public onlyOwner { _contractUri = newUri; } function setBaseUri(string calldata newUri) public onlyOwner { require(!baseUriFrozen, "base uri is frozen"); _setURI(newUri); } function isApprovedForAll(address owner, address operator) public view override returns (bool) { return OpenSeaGasFreeListing.isApprovedForAll(owner, operator) || super.isApprovedForAll(owner, operator); } /** * DANGER BETCH! only call this if you're sure the current URI is good forever. */ function freezeBaseUri() public onlyOwner { baseUriFrozen = true; } } /** * very wow interface for the PUP erc-20 token. */ interface IPuppyCoin { function transferFrom( address sender, address recipient, uint256 amount ) external; function transfer( address recipient, uint256 amount ) external; } /** * much trust allow gas-free listing on opensea. */ library OpenSeaGasFreeListing { function isApprovedForAll(address owner, address operator) internal view returns (bool) { ProxyRegistry registry; assembly { switch chainid() case 1 { // mainnet registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1 } case 4 { // rinkeby registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317 } } return address(registry) != address(0) && address(registry.proxies(owner)) == operator; } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// 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 v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/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 (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. 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. 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 (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 be 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 v4.4.1 (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: balance query for the zero address"); 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 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: transfer caller is not 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(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), 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); _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); _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(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * 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); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * 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(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); 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); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * 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); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "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 `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 _beforeTokenTransfer( 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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"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":"baseUriFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenValuePup","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"createNewLimitedEditionToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenValuePup","type":"uint256"}],"name":"createNewToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextAvailableTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numToRedeem","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setContractUri","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":[{"internalType":"uint256","name":"burnTokenId","type":"uint256"},{"internalType":"uint256","name":"mintTokenId","type":"uint256"},{"internalType":"uint256","name":"numToSwap","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenInfoById","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"valueInPUP","type":"uint256"},{"internalType":"uint256","name":"numInCirculation","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"view","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"}]
Contract Creation Code
60806040526040518060400160405280600981526020017f5075707079436f696e000000000000000000000000000000000000000000000081525060049080519060200190620000519291906200039f565b506040518060400160405280600381526020017f5055500000000000000000000000000000000000000000000000000000000000815250600590805190602001906200009f9291906200039f565b506040518060600160405280602f81526020016200472b602f913960069080519060200190620000d19291906200039f565b50604051806060016040528060338152602001620046f86033913960079080519060200190620001039291906200039f565b50620001146200025c60201b60201c565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e860095564050d3d7be0600a556001600c556000600d60006101000a81548160ff0219169083151502179055503480156200019057600080fd5b5060068054620001a0906200044f565b80601f0160208091040260200160405190810160405280929190818152602001828054620001ce906200044f565b80156200021f5780601f10620001f3576101008083540402835291602001916200021f565b820191906000526020600020905b8154815290600101906020018083116200020157829003601f168201915b50505050506200023581620002b560201b60201c565b50620002566200024a620002d160201b60201c565b620002d960201b60201c565b620004b4565b60008046600181146200027857600481146200029557620002ad565b732696fc1896f2d5f3deaa2d91338b1d2e5f4e1d449150620002ad565b73183b665119f1289dfd446a2eba29f858ee0d322491505b508091505090565b8060029080519060200190620002cd9291906200039f565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003ad906200044f565b90600052602060002090601f016020900481019282620003d157600085556200041d565b82601f10620003ec57805160ff19168380011785556200041d565b828001600101855582156200041d579182015b828111156200041c578251825591602001919060010190620003ff565b5b5090506200042c919062000430565b5090565b5b808211156200044b57600081600090555060010162000431565b5090565b600060028204905060018216806200046857607f821691505b602082108114156200047f576200047e62000485565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61423480620004c46000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c80638da5cb5b116100de578063e7a2d42b11610097578063f242432a11610071578063f242432a14610438578063f2fde38b14610454578063f588405214610470578063feebf4d21461047a57610172565b8063e7a2d42b146103cc578063e8a3d485146103ea578063e985e9c51461040857610172565b80638da5cb5b1461032057806395d89b411461033e5780639d9892cd1461035c578063a0bcfc7f14610378578063a22cb46514610394578063ccb4807b146103b057610172565b80633766f05f116101305780633766f05f1461025d5780634e1273f414610290578063715018a6146102c05780637580cdc4146102ca5780637cbc2373146102e85780638c76aff81461030457610172565b8062fdd58e1461017757806301ffc9a7146101a757806306fdde03146101d75780630e89341c146101f55780631b2ef1ca146102255780632eb2c2d614610241575b600080fd5b610191600480360381019061018c9190612c80565b610496565b60405161019e91906136bc565b60405180910390f35b6101c160048036038101906101bc9190612d38565b61055f565b6040516101ce919061341f565b60405180910390f35b6101df610641565b6040516101ec919061343a565b60405180910390f35b61020f600480360381019061020a9190612e0c565b6106cf565b60405161021c919061343a565b60405180910390f35b61023f600480360381019061023a9190612e39565b610763565b005b61025b60048036038101906102569190612ada565b61083f565b005b61027760048036038101906102729190612e0c565b6108e0565b6040516102879493929190613700565b60405180910390f35b6102aa60048036038101906102a59190612cc0565b610910565b6040516102b791906133c6565b60405180910390f35b6102c8610a29565b005b6102d2610ab1565b6040516102df91906136bc565b60405180910390f35b61030260048036038101906102fd9190612e39565b610ab7565b005b61031e60048036038101906103199190612e39565b610b91565b005b610328610c8d565b6040516103359190613289565b60405180910390f35b610346610cb7565b604051610353919061343a565b60405180910390f35b61037660048036038101906103719190612e79565b610d45565b005b610392600480360381019061038d9190612dbf565b610dde565b005b6103ae60048036038101906103a99190612c40565b610efb565b005b6103ca60048036038101906103c59190612dbf565b610f11565b005b6103d4610fa3565b6040516103e1919061341f565b60405180910390f35b6103f2610fb6565b6040516103ff919061343a565b60405180910390f35b610422600480360381019061041d9190612a9a565b611048565b60405161042f919061341f565b60405180910390f35b610452600480360381019061044d9190612ba9565b61106d565b005b61046e60048036038101906104699190612a6d565b61110e565b005b610478611206565b005b610494600480360381019061048f9190612e0c565b61129f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fe906134bc565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063a57506106398261132a565b5b9050919050565b6004805461064e90613a10565b80601f016020809104026020016040519081016040528092919081815260200182805461067a90613a10565b80156106c75780601f1061069c576101008083540402835291602001916106c7565b820191906000526020600020905b8154815290600101906020018083116106aa57829003601f168201915b505050505081565b6060600280546106de90613a10565b80601f016020809104026020016040519081016040528092919081815260200182805461070a90613a10565b80156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b50505050509050919050565b61076c82611394565b600081600954600b60008681526020019081526020016000206001015461079391906138ba565b61079d91906138ba565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016107fe9392919061330c565b600060405180830381600087803b15801561081857600080fd5b505af115801561082c573d6000803e3d6000fd5b5050505061083a83836113f1565b505050565b6108476114ac565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061088d575061088c856108876114ac565b611048565b5b6108cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c39061357c565b60405180910390fd5b6108d985858585856114b4565b5050505050565b600b6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b60608151835114610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d9061365c565b60405180910390fd5b6000835167ffffffffffffffff81111561097357610972613b49565b5b6040519080825280602002602001820160405280156109a15781602001602082028036833780820191505090505b50905060005b8451811015610a1e576109ee8582815181106109c6576109c5613b1a565b5b60200260200101518583815181106109e1576109e0613b1a565b5b6020026020010151610496565b828281518110610a0157610a00613b1a565b5b60200260200101818152505080610a1790613a73565b90506109a7565b508091505092915050565b610a316114ac565b73ffffffffffffffffffffffffffffffffffffffff16610a4f610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906135dc565b60405180910390fd5b610aaf60006117c8565b565b600c5481565b610ac082611394565b610aca828261188e565b600081600954600b600086815260200190815260200160002060010154610af191906138ba565b610afb91906138ba565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610b5a92919061339d565b600060405180830381600087803b158015610b7457600080fd5b505af1158015610b88573d6000803e3d6000fd5b50505050505050565b610b996114ac565b73ffffffffffffffffffffffffffffffffffffffff16610bb7610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c04906135dc565b60405180910390fd5b6040518060800160405280600c5481526020018381526020016000815260200182815250600b6000600c54815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050600c6000815480929190610c8490613a73565b91905055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60058054610cc490613a10565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf090613a10565b8015610d3d5780601f10610d1257610100808354040283529160200191610d3d565b820191906000526020600020905b815481529060010190602001808311610d2057829003601f168201915b505050505081565b610d4e83611394565b610d5782611394565b600b600083815260200190815260200160002060010154600b60008581526020019081526020016000206001015414610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc9061347c565b60405180910390fd5b610dcf838261188e565b610dd982826113f1565b505050565b610de66114ac565b73ffffffffffffffffffffffffffffffffffffffff16610e04610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e51906135dc565b60405180910390fd5b600d60009054906101000a900460ff1615610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea19061353c565b60405180910390fd5b610ef782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506118ca565b5050565b610f0d610f066114ac565b83836118e4565b5050565b610f196114ac565b73ffffffffffffffffffffffffffffffffffffffff16610f37610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f84906135dc565b60405180910390fd5b818160079190610f9e9291906126c4565b505050565b600d60009054906101000a900460ff1681565b606060078054610fc590613a10565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff190613a10565b801561103e5780601f106110135761010080835404028352916020019161103e565b820191906000526020600020905b81548152906001019060200180831161102157829003601f168201915b5050505050905090565b60006110548383611a51565b8061106557506110648383611b98565b5b905092915050565b6110756114ac565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110bb57506110ba856110b56114ac565b611048565b5b6110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f19061351c565b60405180910390fd5b6111078585858585611c2c565b5050505050565b6111166114ac565b73ffffffffffffffffffffffffffffffffffffffff16611134610c8d565b73ffffffffffffffffffffffffffffffffffffffff161461118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906135dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f1906134dc565b60405180910390fd5b611203816117c8565b50565b61120e6114ac565b73ffffffffffffffffffffffffffffffffffffffff1661122c610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611279906135dc565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b6112a76114ac565b73ffffffffffffffffffffffffffffffffffffffff166112c5610c8d565b73ffffffffffffffffffffffffffffffffffffffff161461131b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611312906135dc565b60405180910390fd5b61132781600a54610b91565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600b60008381526020019081526020016000206000015414156113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e59061361c565b60405180910390fd5b50565b80600b600084815260200190815260200160002060020160008282546114179190613864565b92505081905550600b600083815260200190815260200160002060030154600b600084815260200190815260200160002060020154111561148d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611484906135fc565b60405180910390fd5b6114a833838360405180602001604052806000815250611eae565b5050565b600033905090565b81518351146114f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ef9061367c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f9061355c565b60405180910390fd5b60006115726114ac565b9050611582818787878787612044565b60005b84518110156117335760008582815181106115a3576115a2613b1a565b5b6020026020010151905060008583815181106115c2576115c1613b1a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a906135bc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117189190613864565b925050819055505050508061172c90613a73565b9050611585565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117aa9291906133e8565b60405180910390a46117c081878787878761204c565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600b600084815260200190815260200160002060020160008282546118b49190613914565b925050819055506118c6338383612233565b5050565b80600290805190602001906118e092919061274a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a9061363c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a44919061341f565b60405180910390a3505050565b6000804660018114611a6a5760048114611a8657611a9e565b73a5409ec958c83c3f309868babaca7c86dcb077c19150611a9e565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015611b8f57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611b279190613289565b60206040518083038186803b158015611b3f57600080fd5b505afa158015611b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b779190612d92565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c939061355c565b60405180910390fd5b6000611ca66114ac565b9050611cc6818787611cb788612450565b611cc088612450565b87612044565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d54906135bc565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e129190613864565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611e8f9291906136d7565b60405180910390a4611ea58288888888886124ca565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061369c565b60405180910390fd5b6000611f286114ac565b9050611f4981600087611f3a88612450565b611f4388612450565b87612044565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa89190613864565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516120269291906136d7565b60405180910390a461203d816000878787876124ca565b5050505050565b505050505050565b61206b8473ffffffffffffffffffffffffffffffffffffffff166126b1565b1561222b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120b19594939291906132a4565b602060405180830381600087803b1580156120cb57600080fd5b505af19250505080156120fc57506040513d601f19601f820116820180604052508101906120f99190612d65565b60015b6121a257612108613b78565b806308c379a01415612165575061211d6140f5565b806121285750612167565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c919061343a565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121999061345c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612229576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122209061349c565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a9061359c565b60405180910390fd5b60006122ad6114ac565b90506122dd818560006122bf87612450565b6122c887612450565b60405180602001604052806000815250612044565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236b906134fc565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516124419291906136d7565b60405180910390a45050505050565b60606000600167ffffffffffffffff81111561246f5761246e613b49565b5b60405190808252806020026020018201604052801561249d5781602001602082028036833780820191505090505b50905082816000815181106124b5576124b4613b1a565b5b60200260200101818152505080915050919050565b6124e98473ffffffffffffffffffffffffffffffffffffffff166126b1565b156126a9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161252f959493929190613343565b602060405180830381600087803b15801561254957600080fd5b505af192505050801561257a57506040513d601f19601f820116820180604052508101906125779190612d65565b60015b61262057612586613b78565b806308c379a014156125e3575061259b6140f5565b806125a657506125e5565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125da919061343a565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126179061345c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e9061349c565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546126d090613a10565b90600052602060002090601f0160209004810192826126f25760008555612739565b82601f1061270b57803560ff1916838001178555612739565b82800160010185558215612739579182015b8281111561273857823582559160200191906001019061271d565b5b50905061274691906127d0565b5090565b82805461275690613a10565b90600052602060002090601f01602090048101928261277857600085556127bf565b82601f1061279157805160ff19168380011785556127bf565b828001600101855582156127bf579182015b828111156127be5782518255916020019190600101906127a3565b5b5090506127cc91906127d0565b5090565b5b808211156127e95760008160009055506001016127d1565b5090565b60006128006127fb8461376a565b613745565b9050808382526020820190508285602086028201111561282357612822613ba4565b5b60005b858110156128535781612839888261290f565b845260208401935060208301925050600181019050612826565b5050509392505050565b600061287061286b84613796565b613745565b9050808382526020820190508285602086028201111561289357612892613ba4565b5b60005b858110156128c357816128a98882612a58565b845260208401935060208301925050600181019050612896565b5050509392505050565b60006128e06128db846137c2565b613745565b9050828152602081018484840111156128fc576128fb613ba9565b5b6129078482856139ce565b509392505050565b60008135905061291e8161418b565b92915050565b600082601f83011261293957612938613b9f565b5b81356129498482602086016127ed565b91505092915050565b600082601f83011261296757612966613b9f565b5b813561297784826020860161285d565b91505092915050565b60008135905061298f816141a2565b92915050565b6000813590506129a4816141b9565b92915050565b6000815190506129b9816141b9565b92915050565b600082601f8301126129d4576129d3613b9f565b5b81356129e48482602086016128cd565b91505092915050565b6000815190506129fc816141d0565b92915050565b60008083601f840112612a1857612a17613b9f565b5b8235905067ffffffffffffffff811115612a3557612a34613b9a565b5b602083019150836001820283011115612a5157612a50613ba4565b5b9250929050565b600081359050612a67816141e7565b92915050565b600060208284031215612a8357612a82613bb3565b5b6000612a918482850161290f565b91505092915050565b60008060408385031215612ab157612ab0613bb3565b5b6000612abf8582860161290f565b9250506020612ad08582860161290f565b9150509250929050565b600080600080600060a08688031215612af657612af5613bb3565b5b6000612b048882890161290f565b9550506020612b158882890161290f565b945050604086013567ffffffffffffffff811115612b3657612b35613bae565b5b612b4288828901612952565b935050606086013567ffffffffffffffff811115612b6357612b62613bae565b5b612b6f88828901612952565b925050608086013567ffffffffffffffff811115612b9057612b8f613bae565b5b612b9c888289016129bf565b9150509295509295909350565b600080600080600060a08688031215612bc557612bc4613bb3565b5b6000612bd38882890161290f565b9550506020612be48882890161290f565b9450506040612bf588828901612a58565b9350506060612c0688828901612a58565b925050608086013567ffffffffffffffff811115612c2757612c26613bae565b5b612c33888289016129bf565b9150509295509295909350565b60008060408385031215612c5757612c56613bb3565b5b6000612c658582860161290f565b9250506020612c7685828601612980565b9150509250929050565b60008060408385031215612c9757612c96613bb3565b5b6000612ca58582860161290f565b9250506020612cb685828601612a58565b9150509250929050565b60008060408385031215612cd757612cd6613bb3565b5b600083013567ffffffffffffffff811115612cf557612cf4613bae565b5b612d0185828601612924565b925050602083013567ffffffffffffffff811115612d2257612d21613bae565b5b612d2e85828601612952565b9150509250929050565b600060208284031215612d4e57612d4d613bb3565b5b6000612d5c84828501612995565b91505092915050565b600060208284031215612d7b57612d7a613bb3565b5b6000612d89848285016129aa565b91505092915050565b600060208284031215612da857612da7613bb3565b5b6000612db6848285016129ed565b91505092915050565b60008060208385031215612dd657612dd5613bb3565b5b600083013567ffffffffffffffff811115612df457612df3613bae565b5b612e0085828601612a02565b92509250509250929050565b600060208284031215612e2257612e21613bb3565b5b6000612e3084828501612a58565b91505092915050565b60008060408385031215612e5057612e4f613bb3565b5b6000612e5e85828601612a58565b9250506020612e6f85828601612a58565b9150509250929050565b600080600060608486031215612e9257612e91613bb3565b5b6000612ea086828701612a58565b9350506020612eb186828701612a58565b9250506040612ec286828701612a58565b9150509250925092565b6000612ed8838361326b565b60208301905092915050565b612eed81613948565b82525050565b6000612efe82613803565b612f088185613831565b9350612f13836137f3565b8060005b83811015612f44578151612f2b8882612ecc565b9750612f3683613824565b925050600181019050612f17565b5085935050505092915050565b612f5a8161395a565b82525050565b6000612f6b8261380e565b612f758185613842565b9350612f858185602086016139dd565b612f8e81613bb8565b840191505092915050565b6000612fa482613819565b612fae8185613853565b9350612fbe8185602086016139dd565b612fc781613bb8565b840191505092915050565b6000612fdf603483613853565b9150612fea82613bd6565b604082019050919050565b6000613002601d83613853565b915061300d82613c25565b602082019050919050565b6000613025602883613853565b915061303082613c4e565b604082019050919050565b6000613048602b83613853565b915061305382613c9d565b604082019050919050565b600061306b602683613853565b915061307682613cec565b604082019050919050565b600061308e602483613853565b915061309982613d3b565b604082019050919050565b60006130b1602983613853565b91506130bc82613d8a565b604082019050919050565b60006130d4601283613853565b91506130df82613dd9565b602082019050919050565b60006130f7602583613853565b915061310282613e02565b604082019050919050565b600061311a603283613853565b915061312582613e51565b604082019050919050565b600061313d602383613853565b915061314882613ea0565b604082019050919050565b6000613160602a83613853565b915061316b82613eef565b604082019050919050565b6000613183602083613853565b915061318e82613f3e565b602082019050919050565b60006131a6601f83613853565b91506131b182613f67565b602082019050919050565b60006131c9601083613853565b91506131d482613f90565b602082019050919050565b60006131ec602983613853565b91506131f782613fb9565b604082019050919050565b600061320f602983613853565b915061321a82614008565b604082019050919050565b6000613232602883613853565b915061323d82614057565b604082019050919050565b6000613255602183613853565b9150613260826140a6565b604082019050919050565b613274816139c4565b82525050565b613283816139c4565b82525050565b600060208201905061329e6000830184612ee4565b92915050565b600060a0820190506132b96000830188612ee4565b6132c66020830187612ee4565b81810360408301526132d88186612ef3565b905081810360608301526132ec8185612ef3565b905081810360808301526133008184612f60565b90509695505050505050565b60006060820190506133216000830186612ee4565b61332e6020830185612ee4565b61333b604083018461327a565b949350505050565b600060a0820190506133586000830188612ee4565b6133656020830187612ee4565b613372604083018661327a565b61337f606083018561327a565b81810360808301526133918184612f60565b90509695505050505050565b60006040820190506133b26000830185612ee4565b6133bf602083018461327a565b9392505050565b600060208201905081810360008301526133e08184612ef3565b905092915050565b600060408201905081810360008301526134028185612ef3565b905081810360208301526134168184612ef3565b90509392505050565b60006020820190506134346000830184612f51565b92915050565b600060208201905081810360008301526134548184612f99565b905092915050565b6000602082019050818103600083015261347581612fd2565b9050919050565b6000602082019050818103600083015261349581612ff5565b9050919050565b600060208201905081810360008301526134b581613018565b9050919050565b600060208201905081810360008301526134d58161303b565b9050919050565b600060208201905081810360008301526134f58161305e565b9050919050565b6000602082019050818103600083015261351581613081565b9050919050565b60006020820190508181036000830152613535816130a4565b9050919050565b60006020820190508181036000830152613555816130c7565b9050919050565b60006020820190508181036000830152613575816130ea565b9050919050565b600060208201905081810360008301526135958161310d565b9050919050565b600060208201905081810360008301526135b581613130565b9050919050565b600060208201905081810360008301526135d581613153565b9050919050565b600060208201905081810360008301526135f581613176565b9050919050565b6000602082019050818103600083015261361581613199565b9050919050565b60006020820190508181036000830152613635816131bc565b9050919050565b60006020820190508181036000830152613655816131df565b9050919050565b6000602082019050818103600083015261367581613202565b9050919050565b6000602082019050818103600083015261369581613225565b9050919050565b600060208201905081810360008301526136b581613248565b9050919050565b60006020820190506136d1600083018461327a565b92915050565b60006040820190506136ec600083018561327a565b6136f9602083018461327a565b9392505050565b6000608082019050613715600083018761327a565b613722602083018661327a565b61372f604083018561327a565b61373c606083018461327a565b95945050505050565b600061374f613760565b905061375b8282613a42565b919050565b6000604051905090565b600067ffffffffffffffff82111561378557613784613b49565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137b1576137b0613b49565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137dd576137dc613b49565b5b6137e682613bb8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061386f826139c4565b915061387a836139c4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138af576138ae613abc565b5b828201905092915050565b60006138c5826139c4565b91506138d0836139c4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561390957613908613abc565b5b828202905092915050565b600061391f826139c4565b915061392a836139c4565b92508282101561393d5761393c613abc565b5b828203905092915050565b6000613953826139a4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061399d82613948565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139fb5780820151818401526020810190506139e0565b83811115613a0a576000848401525b50505050565b60006002820490506001821680613a2857607f821691505b60208210811415613a3c57613a3b613aeb565b5b50919050565b613a4b82613bb8565b810181811067ffffffffffffffff82111715613a6a57613a69613b49565b5b80604052505050565b6000613a7e826139c4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ab157613ab0613abc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613b975760046000803e613b94600051613bc9565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f746f6b656e7320617265206e6f74207468652073616d652076616c7565000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f62617365207572692069732066726f7a656e0000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f696c6c6567616c20746f6b656e20696400000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561410557614188565b61410d613760565b60043d036004823e80513d602482011167ffffffffffffffff82111715614135575050614188565b808201805167ffffffffffffffff8111156141535750505050614188565b80602083010160043d038501811115614170575050505050614188565b61417f82602001850186613a42565b82955050505050505b90565b61419481613948565b811461419f57600080fd5b50565b6141ab8161395a565b81146141b657600080fd5b50565b6141c281613966565b81146141cd57600080fd5b50565b6141d981613992565b81146141e457600080fd5b50565b6141f0816139c4565b81146141fb57600080fd5b5056fea264697066735822122008579df7c3aed04825150ce78dcf252daff5ffb1e16242312b144a1e5030460164736f6c6343000807003368747470733a2f2f6173736574732e7075707079636f696e2e66756e2f6d657461646174612f636f6e74726163742e6a736f6e68747470733a2f2f6173736574732e7075707079636f696e2e66756e2f6d657461646174612f7b69647d2e6a736f6e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101725760003560e01c80638da5cb5b116100de578063e7a2d42b11610097578063f242432a11610071578063f242432a14610438578063f2fde38b14610454578063f588405214610470578063feebf4d21461047a57610172565b8063e7a2d42b146103cc578063e8a3d485146103ea578063e985e9c51461040857610172565b80638da5cb5b1461032057806395d89b411461033e5780639d9892cd1461035c578063a0bcfc7f14610378578063a22cb46514610394578063ccb4807b146103b057610172565b80633766f05f116101305780633766f05f1461025d5780634e1273f414610290578063715018a6146102c05780637580cdc4146102ca5780637cbc2373146102e85780638c76aff81461030457610172565b8062fdd58e1461017757806301ffc9a7146101a757806306fdde03146101d75780630e89341c146101f55780631b2ef1ca146102255780632eb2c2d614610241575b600080fd5b610191600480360381019061018c9190612c80565b610496565b60405161019e91906136bc565b60405180910390f35b6101c160048036038101906101bc9190612d38565b61055f565b6040516101ce919061341f565b60405180910390f35b6101df610641565b6040516101ec919061343a565b60405180910390f35b61020f600480360381019061020a9190612e0c565b6106cf565b60405161021c919061343a565b60405180910390f35b61023f600480360381019061023a9190612e39565b610763565b005b61025b60048036038101906102569190612ada565b61083f565b005b61027760048036038101906102729190612e0c565b6108e0565b6040516102879493929190613700565b60405180910390f35b6102aa60048036038101906102a59190612cc0565b610910565b6040516102b791906133c6565b60405180910390f35b6102c8610a29565b005b6102d2610ab1565b6040516102df91906136bc565b60405180910390f35b61030260048036038101906102fd9190612e39565b610ab7565b005b61031e60048036038101906103199190612e39565b610b91565b005b610328610c8d565b6040516103359190613289565b60405180910390f35b610346610cb7565b604051610353919061343a565b60405180910390f35b61037660048036038101906103719190612e79565b610d45565b005b610392600480360381019061038d9190612dbf565b610dde565b005b6103ae60048036038101906103a99190612c40565b610efb565b005b6103ca60048036038101906103c59190612dbf565b610f11565b005b6103d4610fa3565b6040516103e1919061341f565b60405180910390f35b6103f2610fb6565b6040516103ff919061343a565b60405180910390f35b610422600480360381019061041d9190612a9a565b611048565b60405161042f919061341f565b60405180910390f35b610452600480360381019061044d9190612ba9565b61106d565b005b61046e60048036038101906104699190612a6d565b61110e565b005b610478611206565b005b610494600480360381019061048f9190612e0c565b61129f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fe906134bc565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063a57506106398261132a565b5b9050919050565b6004805461064e90613a10565b80601f016020809104026020016040519081016040528092919081815260200182805461067a90613a10565b80156106c75780601f1061069c576101008083540402835291602001916106c7565b820191906000526020600020905b8154815290600101906020018083116106aa57829003601f168201915b505050505081565b6060600280546106de90613a10565b80601f016020809104026020016040519081016040528092919081815260200182805461070a90613a10565b80156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b50505050509050919050565b61076c82611394565b600081600954600b60008681526020019081526020016000206001015461079391906138ba565b61079d91906138ba565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016107fe9392919061330c565b600060405180830381600087803b15801561081857600080fd5b505af115801561082c573d6000803e3d6000fd5b5050505061083a83836113f1565b505050565b6108476114ac565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061088d575061088c856108876114ac565b611048565b5b6108cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c39061357c565b60405180910390fd5b6108d985858585856114b4565b5050505050565b600b6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b60608151835114610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d9061365c565b60405180910390fd5b6000835167ffffffffffffffff81111561097357610972613b49565b5b6040519080825280602002602001820160405280156109a15781602001602082028036833780820191505090505b50905060005b8451811015610a1e576109ee8582815181106109c6576109c5613b1a565b5b60200260200101518583815181106109e1576109e0613b1a565b5b6020026020010151610496565b828281518110610a0157610a00613b1a565b5b60200260200101818152505080610a1790613a73565b90506109a7565b508091505092915050565b610a316114ac565b73ffffffffffffffffffffffffffffffffffffffff16610a4f610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906135dc565b60405180910390fd5b610aaf60006117c8565b565b600c5481565b610ac082611394565b610aca828261188e565b600081600954600b600086815260200190815260200160002060010154610af191906138ba565b610afb91906138ba565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610b5a92919061339d565b600060405180830381600087803b158015610b7457600080fd5b505af1158015610b88573d6000803e3d6000fd5b50505050505050565b610b996114ac565b73ffffffffffffffffffffffffffffffffffffffff16610bb7610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c04906135dc565b60405180910390fd5b6040518060800160405280600c5481526020018381526020016000815260200182815250600b6000600c54815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050600c6000815480929190610c8490613a73565b91905055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60058054610cc490613a10565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf090613a10565b8015610d3d5780601f10610d1257610100808354040283529160200191610d3d565b820191906000526020600020905b815481529060010190602001808311610d2057829003601f168201915b505050505081565b610d4e83611394565b610d5782611394565b600b600083815260200190815260200160002060010154600b60008581526020019081526020016000206001015414610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc9061347c565b60405180910390fd5b610dcf838261188e565b610dd982826113f1565b505050565b610de66114ac565b73ffffffffffffffffffffffffffffffffffffffff16610e04610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e51906135dc565b60405180910390fd5b600d60009054906101000a900460ff1615610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea19061353c565b60405180910390fd5b610ef782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506118ca565b5050565b610f0d610f066114ac565b83836118e4565b5050565b610f196114ac565b73ffffffffffffffffffffffffffffffffffffffff16610f37610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614610f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f84906135dc565b60405180910390fd5b818160079190610f9e9291906126c4565b505050565b600d60009054906101000a900460ff1681565b606060078054610fc590613a10565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff190613a10565b801561103e5780601f106110135761010080835404028352916020019161103e565b820191906000526020600020905b81548152906001019060200180831161102157829003601f168201915b5050505050905090565b60006110548383611a51565b8061106557506110648383611b98565b5b905092915050565b6110756114ac565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110bb57506110ba856110b56114ac565b611048565b5b6110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f19061351c565b60405180910390fd5b6111078585858585611c2c565b5050505050565b6111166114ac565b73ffffffffffffffffffffffffffffffffffffffff16611134610c8d565b73ffffffffffffffffffffffffffffffffffffffff161461118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906135dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f1906134dc565b60405180910390fd5b611203816117c8565b50565b61120e6114ac565b73ffffffffffffffffffffffffffffffffffffffff1661122c610c8d565b73ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611279906135dc565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b6112a76114ac565b73ffffffffffffffffffffffffffffffffffffffff166112c5610c8d565b73ffffffffffffffffffffffffffffffffffffffff161461131b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611312906135dc565b60405180910390fd5b61132781600a54610b91565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600b60008381526020019081526020016000206000015414156113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e59061361c565b60405180910390fd5b50565b80600b600084815260200190815260200160002060020160008282546114179190613864565b92505081905550600b600083815260200190815260200160002060030154600b600084815260200190815260200160002060020154111561148d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611484906135fc565b60405180910390fd5b6114a833838360405180602001604052806000815250611eae565b5050565b600033905090565b81518351146114f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ef9061367c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f9061355c565b60405180910390fd5b60006115726114ac565b9050611582818787878787612044565b60005b84518110156117335760008582815181106115a3576115a2613b1a565b5b6020026020010151905060008583815181106115c2576115c1613b1a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a906135bc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117189190613864565b925050819055505050508061172c90613a73565b9050611585565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117aa9291906133e8565b60405180910390a46117c081878787878761204c565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600b600084815260200190815260200160002060020160008282546118b49190613914565b925050819055506118c6338383612233565b5050565b80600290805190602001906118e092919061274a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a9061363c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a44919061341f565b60405180910390a3505050565b6000804660018114611a6a5760048114611a8657611a9e565b73a5409ec958c83c3f309868babaca7c86dcb077c19150611a9e565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015611b8f57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611b279190613289565b60206040518083038186803b158015611b3f57600080fd5b505afa158015611b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b779190612d92565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c939061355c565b60405180910390fd5b6000611ca66114ac565b9050611cc6818787611cb788612450565b611cc088612450565b87612044565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d54906135bc565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e129190613864565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611e8f9291906136d7565b60405180910390a4611ea58288888888886124ca565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061369c565b60405180910390fd5b6000611f286114ac565b9050611f4981600087611f3a88612450565b611f4388612450565b87612044565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa89190613864565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516120269291906136d7565b60405180910390a461203d816000878787876124ca565b5050505050565b505050505050565b61206b8473ffffffffffffffffffffffffffffffffffffffff166126b1565b1561222b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120b19594939291906132a4565b602060405180830381600087803b1580156120cb57600080fd5b505af19250505080156120fc57506040513d601f19601f820116820180604052508101906120f99190612d65565b60015b6121a257612108613b78565b806308c379a01415612165575061211d6140f5565b806121285750612167565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c919061343a565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121999061345c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612229576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122209061349c565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a9061359c565b60405180910390fd5b60006122ad6114ac565b90506122dd818560006122bf87612450565b6122c887612450565b60405180602001604052806000815250612044565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236b906134fc565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516124419291906136d7565b60405180910390a45050505050565b60606000600167ffffffffffffffff81111561246f5761246e613b49565b5b60405190808252806020026020018201604052801561249d5781602001602082028036833780820191505090505b50905082816000815181106124b5576124b4613b1a565b5b60200260200101818152505080915050919050565b6124e98473ffffffffffffffffffffffffffffffffffffffff166126b1565b156126a9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161252f959493929190613343565b602060405180830381600087803b15801561254957600080fd5b505af192505050801561257a57506040513d601f19601f820116820180604052508101906125779190612d65565b60015b61262057612586613b78565b806308c379a014156125e3575061259b6140f5565b806125a657506125e5565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125da919061343a565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126179061345c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e9061349c565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546126d090613a10565b90600052602060002090601f0160209004810192826126f25760008555612739565b82601f1061270b57803560ff1916838001178555612739565b82800160010185558215612739579182015b8281111561273857823582559160200191906001019061271d565b5b50905061274691906127d0565b5090565b82805461275690613a10565b90600052602060002090601f01602090048101928261277857600085556127bf565b82601f1061279157805160ff19168380011785556127bf565b828001600101855582156127bf579182015b828111156127be5782518255916020019190600101906127a3565b5b5090506127cc91906127d0565b5090565b5b808211156127e95760008160009055506001016127d1565b5090565b60006128006127fb8461376a565b613745565b9050808382526020820190508285602086028201111561282357612822613ba4565b5b60005b858110156128535781612839888261290f565b845260208401935060208301925050600181019050612826565b5050509392505050565b600061287061286b84613796565b613745565b9050808382526020820190508285602086028201111561289357612892613ba4565b5b60005b858110156128c357816128a98882612a58565b845260208401935060208301925050600181019050612896565b5050509392505050565b60006128e06128db846137c2565b613745565b9050828152602081018484840111156128fc576128fb613ba9565b5b6129078482856139ce565b509392505050565b60008135905061291e8161418b565b92915050565b600082601f83011261293957612938613b9f565b5b81356129498482602086016127ed565b91505092915050565b600082601f83011261296757612966613b9f565b5b813561297784826020860161285d565b91505092915050565b60008135905061298f816141a2565b92915050565b6000813590506129a4816141b9565b92915050565b6000815190506129b9816141b9565b92915050565b600082601f8301126129d4576129d3613b9f565b5b81356129e48482602086016128cd565b91505092915050565b6000815190506129fc816141d0565b92915050565b60008083601f840112612a1857612a17613b9f565b5b8235905067ffffffffffffffff811115612a3557612a34613b9a565b5b602083019150836001820283011115612a5157612a50613ba4565b5b9250929050565b600081359050612a67816141e7565b92915050565b600060208284031215612a8357612a82613bb3565b5b6000612a918482850161290f565b91505092915050565b60008060408385031215612ab157612ab0613bb3565b5b6000612abf8582860161290f565b9250506020612ad08582860161290f565b9150509250929050565b600080600080600060a08688031215612af657612af5613bb3565b5b6000612b048882890161290f565b9550506020612b158882890161290f565b945050604086013567ffffffffffffffff811115612b3657612b35613bae565b5b612b4288828901612952565b935050606086013567ffffffffffffffff811115612b6357612b62613bae565b5b612b6f88828901612952565b925050608086013567ffffffffffffffff811115612b9057612b8f613bae565b5b612b9c888289016129bf565b9150509295509295909350565b600080600080600060a08688031215612bc557612bc4613bb3565b5b6000612bd38882890161290f565b9550506020612be48882890161290f565b9450506040612bf588828901612a58565b9350506060612c0688828901612a58565b925050608086013567ffffffffffffffff811115612c2757612c26613bae565b5b612c33888289016129bf565b9150509295509295909350565b60008060408385031215612c5757612c56613bb3565b5b6000612c658582860161290f565b9250506020612c7685828601612980565b9150509250929050565b60008060408385031215612c9757612c96613bb3565b5b6000612ca58582860161290f565b9250506020612cb685828601612a58565b9150509250929050565b60008060408385031215612cd757612cd6613bb3565b5b600083013567ffffffffffffffff811115612cf557612cf4613bae565b5b612d0185828601612924565b925050602083013567ffffffffffffffff811115612d2257612d21613bae565b5b612d2e85828601612952565b9150509250929050565b600060208284031215612d4e57612d4d613bb3565b5b6000612d5c84828501612995565b91505092915050565b600060208284031215612d7b57612d7a613bb3565b5b6000612d89848285016129aa565b91505092915050565b600060208284031215612da857612da7613bb3565b5b6000612db6848285016129ed565b91505092915050565b60008060208385031215612dd657612dd5613bb3565b5b600083013567ffffffffffffffff811115612df457612df3613bae565b5b612e0085828601612a02565b92509250509250929050565b600060208284031215612e2257612e21613bb3565b5b6000612e3084828501612a58565b91505092915050565b60008060408385031215612e5057612e4f613bb3565b5b6000612e5e85828601612a58565b9250506020612e6f85828601612a58565b9150509250929050565b600080600060608486031215612e9257612e91613bb3565b5b6000612ea086828701612a58565b9350506020612eb186828701612a58565b9250506040612ec286828701612a58565b9150509250925092565b6000612ed8838361326b565b60208301905092915050565b612eed81613948565b82525050565b6000612efe82613803565b612f088185613831565b9350612f13836137f3565b8060005b83811015612f44578151612f2b8882612ecc565b9750612f3683613824565b925050600181019050612f17565b5085935050505092915050565b612f5a8161395a565b82525050565b6000612f6b8261380e565b612f758185613842565b9350612f858185602086016139dd565b612f8e81613bb8565b840191505092915050565b6000612fa482613819565b612fae8185613853565b9350612fbe8185602086016139dd565b612fc781613bb8565b840191505092915050565b6000612fdf603483613853565b9150612fea82613bd6565b604082019050919050565b6000613002601d83613853565b915061300d82613c25565b602082019050919050565b6000613025602883613853565b915061303082613c4e565b604082019050919050565b6000613048602b83613853565b915061305382613c9d565b604082019050919050565b600061306b602683613853565b915061307682613cec565b604082019050919050565b600061308e602483613853565b915061309982613d3b565b604082019050919050565b60006130b1602983613853565b91506130bc82613d8a565b604082019050919050565b60006130d4601283613853565b91506130df82613dd9565b602082019050919050565b60006130f7602583613853565b915061310282613e02565b604082019050919050565b600061311a603283613853565b915061312582613e51565b604082019050919050565b600061313d602383613853565b915061314882613ea0565b604082019050919050565b6000613160602a83613853565b915061316b82613eef565b604082019050919050565b6000613183602083613853565b915061318e82613f3e565b602082019050919050565b60006131a6601f83613853565b91506131b182613f67565b602082019050919050565b60006131c9601083613853565b91506131d482613f90565b602082019050919050565b60006131ec602983613853565b91506131f782613fb9565b604082019050919050565b600061320f602983613853565b915061321a82614008565b604082019050919050565b6000613232602883613853565b915061323d82614057565b604082019050919050565b6000613255602183613853565b9150613260826140a6565b604082019050919050565b613274816139c4565b82525050565b613283816139c4565b82525050565b600060208201905061329e6000830184612ee4565b92915050565b600060a0820190506132b96000830188612ee4565b6132c66020830187612ee4565b81810360408301526132d88186612ef3565b905081810360608301526132ec8185612ef3565b905081810360808301526133008184612f60565b90509695505050505050565b60006060820190506133216000830186612ee4565b61332e6020830185612ee4565b61333b604083018461327a565b949350505050565b600060a0820190506133586000830188612ee4565b6133656020830187612ee4565b613372604083018661327a565b61337f606083018561327a565b81810360808301526133918184612f60565b90509695505050505050565b60006040820190506133b26000830185612ee4565b6133bf602083018461327a565b9392505050565b600060208201905081810360008301526133e08184612ef3565b905092915050565b600060408201905081810360008301526134028185612ef3565b905081810360208301526134168184612ef3565b90509392505050565b60006020820190506134346000830184612f51565b92915050565b600060208201905081810360008301526134548184612f99565b905092915050565b6000602082019050818103600083015261347581612fd2565b9050919050565b6000602082019050818103600083015261349581612ff5565b9050919050565b600060208201905081810360008301526134b581613018565b9050919050565b600060208201905081810360008301526134d58161303b565b9050919050565b600060208201905081810360008301526134f58161305e565b9050919050565b6000602082019050818103600083015261351581613081565b9050919050565b60006020820190508181036000830152613535816130a4565b9050919050565b60006020820190508181036000830152613555816130c7565b9050919050565b60006020820190508181036000830152613575816130ea565b9050919050565b600060208201905081810360008301526135958161310d565b9050919050565b600060208201905081810360008301526135b581613130565b9050919050565b600060208201905081810360008301526135d581613153565b9050919050565b600060208201905081810360008301526135f581613176565b9050919050565b6000602082019050818103600083015261361581613199565b9050919050565b60006020820190508181036000830152613635816131bc565b9050919050565b60006020820190508181036000830152613655816131df565b9050919050565b6000602082019050818103600083015261367581613202565b9050919050565b6000602082019050818103600083015261369581613225565b9050919050565b600060208201905081810360008301526136b581613248565b9050919050565b60006020820190506136d1600083018461327a565b92915050565b60006040820190506136ec600083018561327a565b6136f9602083018461327a565b9392505050565b6000608082019050613715600083018761327a565b613722602083018661327a565b61372f604083018561327a565b61373c606083018461327a565b95945050505050565b600061374f613760565b905061375b8282613a42565b919050565b6000604051905090565b600067ffffffffffffffff82111561378557613784613b49565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137b1576137b0613b49565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137dd576137dc613b49565b5b6137e682613bb8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061386f826139c4565b915061387a836139c4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138af576138ae613abc565b5b828201905092915050565b60006138c5826139c4565b91506138d0836139c4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561390957613908613abc565b5b828202905092915050565b600061391f826139c4565b915061392a836139c4565b92508282101561393d5761393c613abc565b5b828203905092915050565b6000613953826139a4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061399d82613948565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139fb5780820151818401526020810190506139e0565b83811115613a0a576000848401525b50505050565b60006002820490506001821680613a2857607f821691505b60208210811415613a3c57613a3b613aeb565b5b50919050565b613a4b82613bb8565b810181811067ffffffffffffffff82111715613a6a57613a69613b49565b5b80604052505050565b6000613a7e826139c4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ab157613ab0613abc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613b975760046000803e613b94600051613bc9565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f746f6b656e7320617265206e6f74207468652073616d652076616c7565000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f62617365207572692069732066726f7a656e0000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f696c6c6567616c20746f6b656e20696400000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561410557614188565b61410d613760565b60043d036004823e80513d602482011167ffffffffffffffff82111715614135575050614188565b808201805167ffffffffffffffff8111156141535750505050614188565b80602083010160043d038501811115614170575050505050614188565b61417f82602001850186613a42565b82955050505050505b90565b61419481613948565b811461419f57600080fd5b50565b6141ab8161395a565b81146141b657600080fd5b50565b6141c281613966565b81146141cd57600080fd5b50565b6141d981613992565b81146141e457600080fd5b50565b6141f0816139c4565b81146141fb57600080fd5b5056fea264697066735822122008579df7c3aed04825150ce78dcf252daff5ffb1e16242312b144a1e5030460164736f6c63430008070033
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.