ERC-1155
Overview
Max Total Supply
239 BCB
Holders
221
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:
RedeemableToken
Compiler Version
v0.8.11+commit.d7f03943
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.9 <0.9.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; abstract contract ForgeTokenContract { function mint(address to, uint256 amount) public virtual; } contract RedeemableToken is ERC1155, Ownable, ERC1155Burnable { string private _name = "BoxCatBall"; string private _symbol = "BCB"; constructor() ERC1155("BOXCAT") {} mapping(uint256 => uint256) public tokenSupply; mapping(uint256 => uint256) public supplyLimit; mapping(uint256 => address) public forgingContractAddresses; mapping(uint256 => string) public tokenURIs; // Mint function function airdrop( address[] calldata tos, uint256 tokenId, uint256 amount ) external onlyOwner { for (uint256 i = 0; i < tos.length; i++) { mint(tos[i], tokenId, amount); } } function mint( address to, uint256 tokenId, uint256 amount ) internal { require( tokenSupply[tokenId] + amount <= supplyLimit[tokenId], "Limit reached" ); tokenSupply[tokenId] = tokenSupply[tokenId] + amount; _mint(to, tokenId, amount, ""); } // Forge function function forgeToken(uint256 tokenId, uint256 amount) public { require( forgingContractAddresses[tokenId] != 0x0000000000000000000000000000000000000000, "No forging address set for this token" ); require( balanceOf(msg.sender, tokenId) >= amount, "Doesn't own the token" ); // Check if the user own one of the ERC-1155 burn(msg.sender, tokenId, amount); // Burn one the ERC-1155 token ForgeTokenContract forgingContract = ForgeTokenContract( forgingContractAddresses[tokenId] ); forgingContract.mint(msg.sender, amount); // Mint the ERC-721 token } // -------- // Getter // -------- function uri(uint256 tokenId) public view virtual override returns (string memory) { return tokenURIs[tokenId]; } // -------- // Setter // -------- function setTokenURIs(uint256 tokenId, string calldata newUri) public onlyOwner { tokenURIs[tokenId] = newUri; } function setSupply(uint256 tokenId, uint256 newSupply) public onlyOwner { supplyLimit[tokenId] = newSupply; } function setForgingAddress(uint256 tokenId, address forgingAddress) public onlyOwner { forgingContractAddresses[tokenId] = forgingAddress; } // In case someone send money to the contract by mistake function withdrawFunds() public onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"tos","type":"address[]"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forgeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"forgingContractAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"forgingAddress","type":"address"}],"name":"setForgingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newUri","type":"string"}],"name":"setTokenURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600a81526020017f426f7843617442616c6c00000000000000000000000000000000000000000000815250600490805190602001906200005192919062000206565b506040518060400160405280600381526020017f4243420000000000000000000000000000000000000000000000000000000000815250600590805190602001906200009f92919062000206565b50348015620000ad57600080fd5b506040518060400160405280600681526020017f424f584341540000000000000000000000000000000000000000000000000000815250620000f5816200011c60201b60201c565b50620001166200010a6200013860201b60201c565b6200014060201b60201c565b6200031b565b80600290805190602001906200013492919062000206565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021490620002e5565b90600052602060002090601f01602090048101928262000238576000855562000284565b82601f106200025357805160ff191683800117855562000284565b8280016001018555821562000284579182015b828111156200028357825182559160200191906001019062000266565b5b50905062000293919062000297565b5090565b5b80821115620002b257600081600090555060010162000298565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002fe57607f821691505b60208210811415620003155762000314620002b6565b5b50919050565b614168806200032b6000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c80636c8b703f116100de578063a22cb46511610097578063f242432a11610071578063f242432a14610459578063f2fde38b14610475578063f5298aca14610491578063fc784d49146104ad57610172565b8063a22cb465146103f1578063a496dedf1461040d578063e985e9c51461042957610172565b80636c8b703f1461032f578063715018a61461035f57806378416adb146103695780638da5cb5b1461039957806395d89b41146103b7578063a1af1b02146103d557610172565b806324600fc31161013057806324600fc3146102715780632693ebf21461027b5780632eb2c2d6146102ab5780634e1273f4146102c757806360f67c55146102f75780636b20c4541461031357610172565b8062fdd58e1461017757806301ffc9a7146101a757806306fdde03146101d75780630e89341c146101f55780631a20ea68146102255780631b99db0d14610255575b600080fd5b610191600480360381019061018c91906127ca565b6104c9565b60405161019e9190612819565b60405180910390f35b6101c160048036038101906101bc919061288c565b610592565b6040516101ce91906128d4565b60405180910390f35b6101df610674565b6040516101ec9190612988565b60405180910390f35b61020f600480360381019061020a91906129aa565b610706565b60405161021c9190612988565b60405180910390f35b61023f600480360381019061023a91906129aa565b6107ab565b60405161024c91906129e6565b60405180910390f35b61026f600480360381019061026a9190612a01565b6107de565b005b610279610982565b005b610295600480360381019061029091906129aa565b610a39565b6040516102a29190612819565b60405180910390f35b6102c560048036038101906102c09190612c3e565b610a51565b005b6102e160048036038101906102dc9190612dd0565b610af2565b6040516102ee9190612f06565b60405180910390f35b610311600480360381019061030c9190612f28565b610c0b565b005b61032d60048036038101906103289190612f68565b610c69565b005b610349600480360381019061034491906129aa565b610d06565b6040516103569190612988565b60405180910390f35b610367610da6565b005b610383600480360381019061037e91906129aa565b610dba565b6040516103909190612819565b60405180910390f35b6103a1610dd2565b6040516103ae91906129e6565b60405180910390f35b6103bf610dfc565b6040516103cc9190612988565b60405180910390f35b6103ef60048036038101906103ea919061304e565b610e8e565b005b61040b600480360381019061040691906130da565b610ebe565b005b61042760048036038101906104229190613170565b610ed4565b005b610443600480360381019061043e91906131e4565b610f36565b60405161045091906128d4565b60405180910390f35b610473600480360381019061046e9190613224565b610fca565b005b61048f600480360381019061048a91906132bb565b61106b565b005b6104ab60048036038101906104a691906132e8565b6110ef565b005b6104c760048036038101906104c29190612a01565b61118c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561053a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610531906133ad565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061066d575061066c826111b0565b5b9050919050565b606060048054610683906133fc565b80601f01602080910402602001604051908101604052809291908181526020018280546106af906133fc565b80156106fc5780601f106106d1576101008083540402835291602001916106fc565b820191906000526020600020905b8154815290600101906020018083116106df57829003601f168201915b5050505050905090565b6060600960008381526020019081526020016000208054610726906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610752906133fc565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b50505050509050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff166008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610878906134a0565b60405180910390fd5b8061088c33846104c9565b10156108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c49061350c565b60405180910390fd5b6108d83383836110ef565b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166340c10f1933846040518363ffffffff1660e01b815260040161094b92919061352c565b600060405180830381600087803b15801561096557600080fd5b505af1158015610979573d6000803e3d6000fd5b50505050505050565b61098a61121a565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516109b090613586565b60006040518083038185875af1925050503d80600081146109ed576040519150601f19603f3d011682016040523d82523d6000602084013e6109f2565b606091505b5050905080610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d906135e7565b60405180910390fd5b50565b60066020528060005260406000206000915090505481565b610a59611298565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a9f5750610a9e85610a99611298565b610f36565b5b610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590613679565b60405180910390fd5b610aeb85858585856112a0565b5050505050565b60608151835114610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f9061370b565b60405180910390fd5b6000835167ffffffffffffffff811115610b5557610b54612a46565b5b604051908082528060200260200182016040528015610b835781602001602082028036833780820191505090505b50905060005b8451811015610c0057610bd0858281518110610ba857610ba761372b565b5b6020026020010151858381518110610bc357610bc261372b565b5b60200260200101516104c9565b828281518110610be357610be261372b565b5b60200260200101818152505080610bf990613789565b9050610b89565b508091505092915050565b610c1361121a565b806008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610c71611298565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610cb75750610cb683610cb1611298565b610f36565b5b610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90613679565b60405180910390fd5b610d018383836115c2565b505050565b60096020528060005260406000206000915090508054610d25906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d51906133fc565b8015610d9e5780601f10610d7357610100808354040283529160200191610d9e565b820191906000526020600020905b815481529060010190602001808311610d8157829003601f168201915b505050505081565b610dae61121a565b610db86000611891565b565b60076020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054610e0b906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610e37906133fc565b8015610e845780601f10610e5957610100808354040283529160200191610e84565b820191906000526020600020905b815481529060010190602001808311610e6757829003601f168201915b5050505050905090565b610e9661121a565b8181600960008681526020019081526020016000209190610eb892919061267f565b50505050565b610ed0610ec9611298565b8383611957565b5050565b610edc61121a565b60005b84849050811015610f2f57610f1c858583818110610f0057610eff61372b565b5b9050602002016020810190610f1591906132bb565b8484611ac4565b8080610f2790613789565b915050610edf565b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fd2611298565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611018575061101785611012611298565b610f36565b5b611057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104e90613679565b60405180910390fd5b6110648585858585611b8e565b5050505050565b61107361121a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110da90613844565b60405180910390fd5b6110ec81611891565b50565b6110f7611298565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061113d575061113c83611137611298565b610f36565b5b61117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390613679565b60405180910390fd5b611187838383611e2a565b505050565b61119461121a565b8060076000848152602001908152602001600020819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611222611298565b73ffffffffffffffffffffffffffffffffffffffff16611240610dd2565b73ffffffffffffffffffffffffffffffffffffffff1614611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d906138b0565b60405180910390fd5b565b600033905090565b81518351146112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90613942565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b906139d4565b60405180910390fd5b600061135e611298565b905061136e818787878787612071565b60005b845181101561151f57600085828151811061138f5761138e61372b565b5b6020026020010151905060008583815181106113ae576113ad61372b565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561144f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144690613a66565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115049190613a86565b925050819055505050508061151890613789565b9050611371565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611596929190613adc565b60405180910390a46115ac818787878787612079565b6115ba818787878787612081565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162990613b85565b60405180910390fd5b8051825114611676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166d90613942565b60405180910390fd5b6000611680611298565b90506116a081856000868660405180602001604052806000815250612071565b60005b83518110156117ed5760008482815181106116c1576116c061372b565b5b6020026020010151905060008483815181106116e0576116df61372b565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890613c17565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806117e590613789565b9150506116a3565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611865929190613adc565b60405180910390a461188b81856000868660405180602001604052806000815250612079565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd90613ca9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab791906128d4565b60405180910390a3505050565b6007600083815260200190815260200160002054816006600085815260200190815260200160002054611af79190613a86565b1115611b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2f90613d15565b60405180910390fd5b806006600084815260200190815260200160002054611b579190613a86565b6006600084815260200190815260200160002081905550611b8983838360405180602001604052806000815250612259565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf5906139d4565b60405180910390fd5b6000611c08611298565b90506000611c158561240a565b90506000611c228561240a565b9050611c32838989858589612071565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090613a66565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7e9190613a86565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611dfb929190613d35565b60405180910390a4611e11848a8a86868a612079565b611e1f848a8a8a8a8a612484565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190613b85565b60405180910390fd5b6000611ea4611298565b90506000611eb18461240a565b90506000611ebe8461240a565b9050611ede83876000858560405180602001604052806000815250612071565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90613c17565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612042929190613d35565b60405180910390a461206884886000868660405180602001604052806000815250612079565b50505050505050565b505050505050565b505050505050565b6120a08473ffffffffffffffffffffffffffffffffffffffff1661265c565b15612251578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120e6959493929190613db3565b6020604051808303816000875af192505050801561212257506040513d601f19601f8201168201806040525081019061211f9190613e30565b60015b6121c85761212e613e6a565b806308c379a0141561218b5750612143613e8c565b8061214e575061218d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121829190612988565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613f94565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224690614026565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c0906140b8565b60405180910390fd5b60006122d3611298565b905060006122e08561240a565b905060006122ed8561240a565b90506122fe83600089858589612071565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235d9190613a86565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516123db929190613d35565b60405180910390a46123f283600089858589612079565b61240183600089898989612484565b50505050505050565b60606000600167ffffffffffffffff81111561242957612428612a46565b5b6040519080825280602002602001820160405280156124575781602001602082028036833780820191505090505b509050828160008151811061246f5761246e61372b565b5b60200260200101818152505080915050919050565b6124a38473ffffffffffffffffffffffffffffffffffffffff1661265c565b15612654578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124e99594939291906140d8565b6020604051808303816000875af192505050801561252557506040513d601f19601f820116820180604052508101906125229190613e30565b60015b6125cb57612531613e6a565b806308c379a0141561258e5750612546613e8c565b806125515750612590565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125859190612988565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c290613f94565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264990614026565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461268b906133fc565b90600052602060002090601f0160209004810192826126ad57600085556126f4565b82601f106126c657803560ff19168380011785556126f4565b828001600101855582156126f4579182015b828111156126f35782358255916020019190600101906126d8565b5b5090506127019190612705565b5090565b5b8082111561271e576000816000905550600101612706565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061276182612736565b9050919050565b61277181612756565b811461277c57600080fd5b50565b60008135905061278e81612768565b92915050565b6000819050919050565b6127a781612794565b81146127b257600080fd5b50565b6000813590506127c48161279e565b92915050565b600080604083850312156127e1576127e061272c565b5b60006127ef8582860161277f565b9250506020612800858286016127b5565b9150509250929050565b61281381612794565b82525050565b600060208201905061282e600083018461280a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61286981612834565b811461287457600080fd5b50565b60008135905061288681612860565b92915050565b6000602082840312156128a2576128a161272c565b5b60006128b084828501612877565b91505092915050565b60008115159050919050565b6128ce816128b9565b82525050565b60006020820190506128e960008301846128c5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561292957808201518184015260208101905061290e565b83811115612938576000848401525b50505050565b6000601f19601f8301169050919050565b600061295a826128ef565b61296481856128fa565b935061297481856020860161290b565b61297d8161293e565b840191505092915050565b600060208201905081810360008301526129a2818461294f565b905092915050565b6000602082840312156129c0576129bf61272c565b5b60006129ce848285016127b5565b91505092915050565b6129e081612756565b82525050565b60006020820190506129fb60008301846129d7565b92915050565b60008060408385031215612a1857612a1761272c565b5b6000612a26858286016127b5565b9250506020612a37858286016127b5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a7e8261293e565b810181811067ffffffffffffffff82111715612a9d57612a9c612a46565b5b80604052505050565b6000612ab0612722565b9050612abc8282612a75565b919050565b600067ffffffffffffffff821115612adc57612adb612a46565b5b602082029050602081019050919050565b600080fd5b6000612b05612b0084612ac1565b612aa6565b90508083825260208201905060208402830185811115612b2857612b27612aed565b5b835b81811015612b515780612b3d88826127b5565b845260208401935050602081019050612b2a565b5050509392505050565b600082601f830112612b7057612b6f612a41565b5b8135612b80848260208601612af2565b91505092915050565b600080fd5b600067ffffffffffffffff821115612ba957612ba8612a46565b5b612bb28261293e565b9050602081019050919050565b82818337600083830152505050565b6000612be1612bdc84612b8e565b612aa6565b905082815260208101848484011115612bfd57612bfc612b89565b5b612c08848285612bbf565b509392505050565b600082601f830112612c2557612c24612a41565b5b8135612c35848260208601612bce565b91505092915050565b600080600080600060a08688031215612c5a57612c5961272c565b5b6000612c688882890161277f565b9550506020612c798882890161277f565b945050604086013567ffffffffffffffff811115612c9a57612c99612731565b5b612ca688828901612b5b565b935050606086013567ffffffffffffffff811115612cc757612cc6612731565b5b612cd388828901612b5b565b925050608086013567ffffffffffffffff811115612cf457612cf3612731565b5b612d0088828901612c10565b9150509295509295909350565b600067ffffffffffffffff821115612d2857612d27612a46565b5b602082029050602081019050919050565b6000612d4c612d4784612d0d565b612aa6565b90508083825260208201905060208402830185811115612d6f57612d6e612aed565b5b835b81811015612d985780612d84888261277f565b845260208401935050602081019050612d71565b5050509392505050565b600082601f830112612db757612db6612a41565b5b8135612dc7848260208601612d39565b91505092915050565b60008060408385031215612de757612de661272c565b5b600083013567ffffffffffffffff811115612e0557612e04612731565b5b612e1185828601612da2565b925050602083013567ffffffffffffffff811115612e3257612e31612731565b5b612e3e85828601612b5b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e7d81612794565b82525050565b6000612e8f8383612e74565b60208301905092915050565b6000602082019050919050565b6000612eb382612e48565b612ebd8185612e53565b9350612ec883612e64565b8060005b83811015612ef9578151612ee08882612e83565b9750612eeb83612e9b565b925050600181019050612ecc565b5085935050505092915050565b60006020820190508181036000830152612f208184612ea8565b905092915050565b60008060408385031215612f3f57612f3e61272c565b5b6000612f4d858286016127b5565b9250506020612f5e8582860161277f565b9150509250929050565b600080600060608486031215612f8157612f8061272c565b5b6000612f8f8682870161277f565b935050602084013567ffffffffffffffff811115612fb057612faf612731565b5b612fbc86828701612b5b565b925050604084013567ffffffffffffffff811115612fdd57612fdc612731565b5b612fe986828701612b5b565b9150509250925092565b600080fd5b60008083601f84011261300e5761300d612a41565b5b8235905067ffffffffffffffff81111561302b5761302a612ff3565b5b60208301915083600182028301111561304757613046612aed565b5b9250929050565b6000806000604084860312156130675761306661272c565b5b6000613075868287016127b5565b935050602084013567ffffffffffffffff81111561309657613095612731565b5b6130a286828701612ff8565b92509250509250925092565b6130b7816128b9565b81146130c257600080fd5b50565b6000813590506130d4816130ae565b92915050565b600080604083850312156130f1576130f061272c565b5b60006130ff8582860161277f565b9250506020613110858286016130c5565b9150509250929050565b60008083601f8401126131305761312f612a41565b5b8235905067ffffffffffffffff81111561314d5761314c612ff3565b5b60208301915083602082028301111561316957613168612aed565b5b9250929050565b6000806000806060858703121561318a5761318961272c565b5b600085013567ffffffffffffffff8111156131a8576131a7612731565b5b6131b48782880161311a565b945094505060206131c7878288016127b5565b92505060406131d8878288016127b5565b91505092959194509250565b600080604083850312156131fb576131fa61272c565b5b60006132098582860161277f565b925050602061321a8582860161277f565b9150509250929050565b600080600080600060a086880312156132405761323f61272c565b5b600061324e8882890161277f565b955050602061325f8882890161277f565b9450506040613270888289016127b5565b9350506060613281888289016127b5565b925050608086013567ffffffffffffffff8111156132a2576132a1612731565b5b6132ae88828901612c10565b9150509295509295909350565b6000602082840312156132d1576132d061272c565b5b60006132df8482850161277f565b91505092915050565b6000806000606084860312156133015761330061272c565b5b600061330f8682870161277f565b9350506020613320868287016127b5565b9250506040613331868287016127b5565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613397602a836128fa565b91506133a28261333b565b604082019050919050565b600060208201905081810360008301526133c68161338a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061341457607f821691505b60208210811415613428576134276133cd565b5b50919050565b7f4e6f20666f7267696e6720616464726573732073657420666f7220746869732060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b600061348a6025836128fa565b91506134958261342e565b604082019050919050565b600060208201905081810360008301526134b98161347d565b9050919050565b7f446f65736e2774206f776e2074686520746f6b656e0000000000000000000000600082015250565b60006134f66015836128fa565b9150613501826134c0565b602082019050919050565b60006020820190508181036000830152613525816134e9565b9050919050565b600060408201905061354160008301856129d7565b61354e602083018461280a565b9392505050565b600081905092915050565b50565b6000613570600083613555565b915061357b82613560565b600082019050919050565b600061359182613563565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006135d16010836128fa565b91506135dc8261359b565b602082019050919050565b60006020820190508181036000830152613600816135c4565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613663602f836128fa565b915061366e82613607565b604082019050919050565b6000602082019050818103600083015261369281613656565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006136f56029836128fa565b915061370082613699565b604082019050919050565b60006020820190508181036000830152613724816136e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061379482612794565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137c7576137c661375a565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061382e6026836128fa565b9150613839826137d2565b604082019050919050565b6000602082019050818103600083015261385d81613821565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061389a6020836128fa565b91506138a582613864565b602082019050919050565b600060208201905081810360008301526138c98161388d565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061392c6028836128fa565b9150613937826138d0565b604082019050919050565b6000602082019050818103600083015261395b8161391f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006139be6025836128fa565b91506139c982613962565b604082019050919050565b600060208201905081810360008301526139ed816139b1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613a50602a836128fa565b9150613a5b826139f4565b604082019050919050565b60006020820190508181036000830152613a7f81613a43565b9050919050565b6000613a9182612794565b9150613a9c83612794565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ad157613ad061375a565b5b828201905092915050565b60006040820190508181036000830152613af68185612ea8565b90508181036020830152613b0a8184612ea8565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613b6f6023836128fa565b9150613b7a82613b13565b604082019050919050565b60006020820190508181036000830152613b9e81613b62565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613c016024836128fa565b9150613c0c82613ba5565b604082019050919050565b60006020820190508181036000830152613c3081613bf4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613c936029836128fa565b9150613c9e82613c37565b604082019050919050565b60006020820190508181036000830152613cc281613c86565b9050919050565b7f4c696d6974207265616368656400000000000000000000000000000000000000600082015250565b6000613cff600d836128fa565b9150613d0a82613cc9565b602082019050919050565b60006020820190508181036000830152613d2e81613cf2565b9050919050565b6000604082019050613d4a600083018561280a565b613d57602083018461280a565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613d8582613d5e565b613d8f8185613d69565b9350613d9f81856020860161290b565b613da88161293e565b840191505092915050565b600060a082019050613dc860008301886129d7565b613dd560208301876129d7565b8181036040830152613de78186612ea8565b90508181036060830152613dfb8185612ea8565b90508181036080830152613e0f8184613d7a565b90509695505050505050565b600081519050613e2a81612860565b92915050565b600060208284031215613e4657613e4561272c565b5b6000613e5484828501613e1b565b91505092915050565b60008160e01c9050919050565b600060033d1115613e895760046000803e613e86600051613e5d565b90505b90565b600060443d1015613e9c57613f1f565b613ea4612722565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ecc575050613f1f565b808201805167ffffffffffffffff811115613eea5750505050613f1f565b80602083010160043d038501811115613f07575050505050613f1f565b613f1682602001850186612a75565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613f7e6034836128fa565b9150613f8982613f22565b604082019050919050565b60006020820190508181036000830152613fad81613f71565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006140106028836128fa565b915061401b82613fb4565b604082019050919050565b6000602082019050818103600083015261403f81614003565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a26021836128fa565b91506140ad82614046565b604082019050919050565b600060208201905081810360008301526140d181614095565b9050919050565b600060a0820190506140ed60008301886129d7565b6140fa60208301876129d7565b614107604083018661280a565b614114606083018561280a565b81810360808301526141268184613d7a565b9050969550505050505056fea2646970667358221220bc6d803fdebb5433dbd8c5464b3c3f07cf89e4ee92a7d4b6fb0e334f8f0c82c064736f6c634300080b0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101725760003560e01c80636c8b703f116100de578063a22cb46511610097578063f242432a11610071578063f242432a14610459578063f2fde38b14610475578063f5298aca14610491578063fc784d49146104ad57610172565b8063a22cb465146103f1578063a496dedf1461040d578063e985e9c51461042957610172565b80636c8b703f1461032f578063715018a61461035f57806378416adb146103695780638da5cb5b1461039957806395d89b41146103b7578063a1af1b02146103d557610172565b806324600fc31161013057806324600fc3146102715780632693ebf21461027b5780632eb2c2d6146102ab5780634e1273f4146102c757806360f67c55146102f75780636b20c4541461031357610172565b8062fdd58e1461017757806301ffc9a7146101a757806306fdde03146101d75780630e89341c146101f55780631a20ea68146102255780631b99db0d14610255575b600080fd5b610191600480360381019061018c91906127ca565b6104c9565b60405161019e9190612819565b60405180910390f35b6101c160048036038101906101bc919061288c565b610592565b6040516101ce91906128d4565b60405180910390f35b6101df610674565b6040516101ec9190612988565b60405180910390f35b61020f600480360381019061020a91906129aa565b610706565b60405161021c9190612988565b60405180910390f35b61023f600480360381019061023a91906129aa565b6107ab565b60405161024c91906129e6565b60405180910390f35b61026f600480360381019061026a9190612a01565b6107de565b005b610279610982565b005b610295600480360381019061029091906129aa565b610a39565b6040516102a29190612819565b60405180910390f35b6102c560048036038101906102c09190612c3e565b610a51565b005b6102e160048036038101906102dc9190612dd0565b610af2565b6040516102ee9190612f06565b60405180910390f35b610311600480360381019061030c9190612f28565b610c0b565b005b61032d60048036038101906103289190612f68565b610c69565b005b610349600480360381019061034491906129aa565b610d06565b6040516103569190612988565b60405180910390f35b610367610da6565b005b610383600480360381019061037e91906129aa565b610dba565b6040516103909190612819565b60405180910390f35b6103a1610dd2565b6040516103ae91906129e6565b60405180910390f35b6103bf610dfc565b6040516103cc9190612988565b60405180910390f35b6103ef60048036038101906103ea919061304e565b610e8e565b005b61040b600480360381019061040691906130da565b610ebe565b005b61042760048036038101906104229190613170565b610ed4565b005b610443600480360381019061043e91906131e4565b610f36565b60405161045091906128d4565b60405180910390f35b610473600480360381019061046e9190613224565b610fca565b005b61048f600480360381019061048a91906132bb565b61106b565b005b6104ab60048036038101906104a691906132e8565b6110ef565b005b6104c760048036038101906104c29190612a01565b61118c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561053a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610531906133ad565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061066d575061066c826111b0565b5b9050919050565b606060048054610683906133fc565b80601f01602080910402602001604051908101604052809291908181526020018280546106af906133fc565b80156106fc5780601f106106d1576101008083540402835291602001916106fc565b820191906000526020600020905b8154815290600101906020018083116106df57829003601f168201915b5050505050905090565b6060600960008381526020019081526020016000208054610726906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610752906133fc565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b50505050509050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff166008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610878906134a0565b60405180910390fd5b8061088c33846104c9565b10156108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c49061350c565b60405180910390fd5b6108d83383836110ef565b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166340c10f1933846040518363ffffffff1660e01b815260040161094b92919061352c565b600060405180830381600087803b15801561096557600080fd5b505af1158015610979573d6000803e3d6000fd5b50505050505050565b61098a61121a565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516109b090613586565b60006040518083038185875af1925050503d80600081146109ed576040519150601f19603f3d011682016040523d82523d6000602084013e6109f2565b606091505b5050905080610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d906135e7565b60405180910390fd5b50565b60066020528060005260406000206000915090505481565b610a59611298565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a9f5750610a9e85610a99611298565b610f36565b5b610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590613679565b60405180910390fd5b610aeb85858585856112a0565b5050505050565b60608151835114610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f9061370b565b60405180910390fd5b6000835167ffffffffffffffff811115610b5557610b54612a46565b5b604051908082528060200260200182016040528015610b835781602001602082028036833780820191505090505b50905060005b8451811015610c0057610bd0858281518110610ba857610ba761372b565b5b6020026020010151858381518110610bc357610bc261372b565b5b60200260200101516104c9565b828281518110610be357610be261372b565b5b60200260200101818152505080610bf990613789565b9050610b89565b508091505092915050565b610c1361121a565b806008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610c71611298565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610cb75750610cb683610cb1611298565b610f36565b5b610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90613679565b60405180910390fd5b610d018383836115c2565b505050565b60096020528060005260406000206000915090508054610d25906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d51906133fc565b8015610d9e5780601f10610d7357610100808354040283529160200191610d9e565b820191906000526020600020905b815481529060010190602001808311610d8157829003601f168201915b505050505081565b610dae61121a565b610db86000611891565b565b60076020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054610e0b906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610e37906133fc565b8015610e845780601f10610e5957610100808354040283529160200191610e84565b820191906000526020600020905b815481529060010190602001808311610e6757829003601f168201915b5050505050905090565b610e9661121a565b8181600960008681526020019081526020016000209190610eb892919061267f565b50505050565b610ed0610ec9611298565b8383611957565b5050565b610edc61121a565b60005b84849050811015610f2f57610f1c858583818110610f0057610eff61372b565b5b9050602002016020810190610f1591906132bb565b8484611ac4565b8080610f2790613789565b915050610edf565b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fd2611298565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611018575061101785611012611298565b610f36565b5b611057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104e90613679565b60405180910390fd5b6110648585858585611b8e565b5050505050565b61107361121a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110da90613844565b60405180910390fd5b6110ec81611891565b50565b6110f7611298565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061113d575061113c83611137611298565b610f36565b5b61117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390613679565b60405180910390fd5b611187838383611e2a565b505050565b61119461121a565b8060076000848152602001908152602001600020819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611222611298565b73ffffffffffffffffffffffffffffffffffffffff16611240610dd2565b73ffffffffffffffffffffffffffffffffffffffff1614611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d906138b0565b60405180910390fd5b565b600033905090565b81518351146112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90613942565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b906139d4565b60405180910390fd5b600061135e611298565b905061136e818787878787612071565b60005b845181101561151f57600085828151811061138f5761138e61372b565b5b6020026020010151905060008583815181106113ae576113ad61372b565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561144f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144690613a66565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115049190613a86565b925050819055505050508061151890613789565b9050611371565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611596929190613adc565b60405180910390a46115ac818787878787612079565b6115ba818787878787612081565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162990613b85565b60405180910390fd5b8051825114611676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166d90613942565b60405180910390fd5b6000611680611298565b90506116a081856000868660405180602001604052806000815250612071565b60005b83518110156117ed5760008482815181106116c1576116c061372b565b5b6020026020010151905060008483815181106116e0576116df61372b565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890613c17565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806117e590613789565b9150506116a3565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611865929190613adc565b60405180910390a461188b81856000868660405180602001604052806000815250612079565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd90613ca9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab791906128d4565b60405180910390a3505050565b6007600083815260200190815260200160002054816006600085815260200190815260200160002054611af79190613a86565b1115611b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2f90613d15565b60405180910390fd5b806006600084815260200190815260200160002054611b579190613a86565b6006600084815260200190815260200160002081905550611b8983838360405180602001604052806000815250612259565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf5906139d4565b60405180910390fd5b6000611c08611298565b90506000611c158561240a565b90506000611c228561240a565b9050611c32838989858589612071565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090613a66565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7e9190613a86565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611dfb929190613d35565b60405180910390a4611e11848a8a86868a612079565b611e1f848a8a8a8a8a612484565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190613b85565b60405180910390fd5b6000611ea4611298565b90506000611eb18461240a565b90506000611ebe8461240a565b9050611ede83876000858560405180602001604052806000815250612071565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90613c17565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612042929190613d35565b60405180910390a461206884886000868660405180602001604052806000815250612079565b50505050505050565b505050505050565b505050505050565b6120a08473ffffffffffffffffffffffffffffffffffffffff1661265c565b15612251578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120e6959493929190613db3565b6020604051808303816000875af192505050801561212257506040513d601f19601f8201168201806040525081019061211f9190613e30565b60015b6121c85761212e613e6a565b806308c379a0141561218b5750612143613e8c565b8061214e575061218d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121829190612988565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613f94565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224690614026565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c0906140b8565b60405180910390fd5b60006122d3611298565b905060006122e08561240a565b905060006122ed8561240a565b90506122fe83600089858589612071565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235d9190613a86565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516123db929190613d35565b60405180910390a46123f283600089858589612079565b61240183600089898989612484565b50505050505050565b60606000600167ffffffffffffffff81111561242957612428612a46565b5b6040519080825280602002602001820160405280156124575781602001602082028036833780820191505090505b509050828160008151811061246f5761246e61372b565b5b60200260200101818152505080915050919050565b6124a38473ffffffffffffffffffffffffffffffffffffffff1661265c565b15612654578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124e99594939291906140d8565b6020604051808303816000875af192505050801561252557506040513d601f19601f820116820180604052508101906125229190613e30565b60015b6125cb57612531613e6a565b806308c379a0141561258e5750612546613e8c565b806125515750612590565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125859190612988565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c290613f94565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264990614026565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461268b906133fc565b90600052602060002090601f0160209004810192826126ad57600085556126f4565b82601f106126c657803560ff19168380011785556126f4565b828001600101855582156126f4579182015b828111156126f35782358255916020019190600101906126d8565b5b5090506127019190612705565b5090565b5b8082111561271e576000816000905550600101612706565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061276182612736565b9050919050565b61277181612756565b811461277c57600080fd5b50565b60008135905061278e81612768565b92915050565b6000819050919050565b6127a781612794565b81146127b257600080fd5b50565b6000813590506127c48161279e565b92915050565b600080604083850312156127e1576127e061272c565b5b60006127ef8582860161277f565b9250506020612800858286016127b5565b9150509250929050565b61281381612794565b82525050565b600060208201905061282e600083018461280a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61286981612834565b811461287457600080fd5b50565b60008135905061288681612860565b92915050565b6000602082840312156128a2576128a161272c565b5b60006128b084828501612877565b91505092915050565b60008115159050919050565b6128ce816128b9565b82525050565b60006020820190506128e960008301846128c5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561292957808201518184015260208101905061290e565b83811115612938576000848401525b50505050565b6000601f19601f8301169050919050565b600061295a826128ef565b61296481856128fa565b935061297481856020860161290b565b61297d8161293e565b840191505092915050565b600060208201905081810360008301526129a2818461294f565b905092915050565b6000602082840312156129c0576129bf61272c565b5b60006129ce848285016127b5565b91505092915050565b6129e081612756565b82525050565b60006020820190506129fb60008301846129d7565b92915050565b60008060408385031215612a1857612a1761272c565b5b6000612a26858286016127b5565b9250506020612a37858286016127b5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a7e8261293e565b810181811067ffffffffffffffff82111715612a9d57612a9c612a46565b5b80604052505050565b6000612ab0612722565b9050612abc8282612a75565b919050565b600067ffffffffffffffff821115612adc57612adb612a46565b5b602082029050602081019050919050565b600080fd5b6000612b05612b0084612ac1565b612aa6565b90508083825260208201905060208402830185811115612b2857612b27612aed565b5b835b81811015612b515780612b3d88826127b5565b845260208401935050602081019050612b2a565b5050509392505050565b600082601f830112612b7057612b6f612a41565b5b8135612b80848260208601612af2565b91505092915050565b600080fd5b600067ffffffffffffffff821115612ba957612ba8612a46565b5b612bb28261293e565b9050602081019050919050565b82818337600083830152505050565b6000612be1612bdc84612b8e565b612aa6565b905082815260208101848484011115612bfd57612bfc612b89565b5b612c08848285612bbf565b509392505050565b600082601f830112612c2557612c24612a41565b5b8135612c35848260208601612bce565b91505092915050565b600080600080600060a08688031215612c5a57612c5961272c565b5b6000612c688882890161277f565b9550506020612c798882890161277f565b945050604086013567ffffffffffffffff811115612c9a57612c99612731565b5b612ca688828901612b5b565b935050606086013567ffffffffffffffff811115612cc757612cc6612731565b5b612cd388828901612b5b565b925050608086013567ffffffffffffffff811115612cf457612cf3612731565b5b612d0088828901612c10565b9150509295509295909350565b600067ffffffffffffffff821115612d2857612d27612a46565b5b602082029050602081019050919050565b6000612d4c612d4784612d0d565b612aa6565b90508083825260208201905060208402830185811115612d6f57612d6e612aed565b5b835b81811015612d985780612d84888261277f565b845260208401935050602081019050612d71565b5050509392505050565b600082601f830112612db757612db6612a41565b5b8135612dc7848260208601612d39565b91505092915050565b60008060408385031215612de757612de661272c565b5b600083013567ffffffffffffffff811115612e0557612e04612731565b5b612e1185828601612da2565b925050602083013567ffffffffffffffff811115612e3257612e31612731565b5b612e3e85828601612b5b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e7d81612794565b82525050565b6000612e8f8383612e74565b60208301905092915050565b6000602082019050919050565b6000612eb382612e48565b612ebd8185612e53565b9350612ec883612e64565b8060005b83811015612ef9578151612ee08882612e83565b9750612eeb83612e9b565b925050600181019050612ecc565b5085935050505092915050565b60006020820190508181036000830152612f208184612ea8565b905092915050565b60008060408385031215612f3f57612f3e61272c565b5b6000612f4d858286016127b5565b9250506020612f5e8582860161277f565b9150509250929050565b600080600060608486031215612f8157612f8061272c565b5b6000612f8f8682870161277f565b935050602084013567ffffffffffffffff811115612fb057612faf612731565b5b612fbc86828701612b5b565b925050604084013567ffffffffffffffff811115612fdd57612fdc612731565b5b612fe986828701612b5b565b9150509250925092565b600080fd5b60008083601f84011261300e5761300d612a41565b5b8235905067ffffffffffffffff81111561302b5761302a612ff3565b5b60208301915083600182028301111561304757613046612aed565b5b9250929050565b6000806000604084860312156130675761306661272c565b5b6000613075868287016127b5565b935050602084013567ffffffffffffffff81111561309657613095612731565b5b6130a286828701612ff8565b92509250509250925092565b6130b7816128b9565b81146130c257600080fd5b50565b6000813590506130d4816130ae565b92915050565b600080604083850312156130f1576130f061272c565b5b60006130ff8582860161277f565b9250506020613110858286016130c5565b9150509250929050565b60008083601f8401126131305761312f612a41565b5b8235905067ffffffffffffffff81111561314d5761314c612ff3565b5b60208301915083602082028301111561316957613168612aed565b5b9250929050565b6000806000806060858703121561318a5761318961272c565b5b600085013567ffffffffffffffff8111156131a8576131a7612731565b5b6131b48782880161311a565b945094505060206131c7878288016127b5565b92505060406131d8878288016127b5565b91505092959194509250565b600080604083850312156131fb576131fa61272c565b5b60006132098582860161277f565b925050602061321a8582860161277f565b9150509250929050565b600080600080600060a086880312156132405761323f61272c565b5b600061324e8882890161277f565b955050602061325f8882890161277f565b9450506040613270888289016127b5565b9350506060613281888289016127b5565b925050608086013567ffffffffffffffff8111156132a2576132a1612731565b5b6132ae88828901612c10565b9150509295509295909350565b6000602082840312156132d1576132d061272c565b5b60006132df8482850161277f565b91505092915050565b6000806000606084860312156133015761330061272c565b5b600061330f8682870161277f565b9350506020613320868287016127b5565b9250506040613331868287016127b5565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613397602a836128fa565b91506133a28261333b565b604082019050919050565b600060208201905081810360008301526133c68161338a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061341457607f821691505b60208210811415613428576134276133cd565b5b50919050565b7f4e6f20666f7267696e6720616464726573732073657420666f7220746869732060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b600061348a6025836128fa565b91506134958261342e565b604082019050919050565b600060208201905081810360008301526134b98161347d565b9050919050565b7f446f65736e2774206f776e2074686520746f6b656e0000000000000000000000600082015250565b60006134f66015836128fa565b9150613501826134c0565b602082019050919050565b60006020820190508181036000830152613525816134e9565b9050919050565b600060408201905061354160008301856129d7565b61354e602083018461280a565b9392505050565b600081905092915050565b50565b6000613570600083613555565b915061357b82613560565b600082019050919050565b600061359182613563565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006135d16010836128fa565b91506135dc8261359b565b602082019050919050565b60006020820190508181036000830152613600816135c4565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613663602f836128fa565b915061366e82613607565b604082019050919050565b6000602082019050818103600083015261369281613656565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006136f56029836128fa565b915061370082613699565b604082019050919050565b60006020820190508181036000830152613724816136e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061379482612794565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137c7576137c661375a565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061382e6026836128fa565b9150613839826137d2565b604082019050919050565b6000602082019050818103600083015261385d81613821565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061389a6020836128fa565b91506138a582613864565b602082019050919050565b600060208201905081810360008301526138c98161388d565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061392c6028836128fa565b9150613937826138d0565b604082019050919050565b6000602082019050818103600083015261395b8161391f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006139be6025836128fa565b91506139c982613962565b604082019050919050565b600060208201905081810360008301526139ed816139b1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613a50602a836128fa565b9150613a5b826139f4565b604082019050919050565b60006020820190508181036000830152613a7f81613a43565b9050919050565b6000613a9182612794565b9150613a9c83612794565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ad157613ad061375a565b5b828201905092915050565b60006040820190508181036000830152613af68185612ea8565b90508181036020830152613b0a8184612ea8565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613b6f6023836128fa565b9150613b7a82613b13565b604082019050919050565b60006020820190508181036000830152613b9e81613b62565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613c016024836128fa565b9150613c0c82613ba5565b604082019050919050565b60006020820190508181036000830152613c3081613bf4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613c936029836128fa565b9150613c9e82613c37565b604082019050919050565b60006020820190508181036000830152613cc281613c86565b9050919050565b7f4c696d6974207265616368656400000000000000000000000000000000000000600082015250565b6000613cff600d836128fa565b9150613d0a82613cc9565b602082019050919050565b60006020820190508181036000830152613d2e81613cf2565b9050919050565b6000604082019050613d4a600083018561280a565b613d57602083018461280a565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613d8582613d5e565b613d8f8185613d69565b9350613d9f81856020860161290b565b613da88161293e565b840191505092915050565b600060a082019050613dc860008301886129d7565b613dd560208301876129d7565b8181036040830152613de78186612ea8565b90508181036060830152613dfb8185612ea8565b90508181036080830152613e0f8184613d7a565b90509695505050505050565b600081519050613e2a81612860565b92915050565b600060208284031215613e4657613e4561272c565b5b6000613e5484828501613e1b565b91505092915050565b60008160e01c9050919050565b600060033d1115613e895760046000803e613e86600051613e5d565b90505b90565b600060443d1015613e9c57613f1f565b613ea4612722565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ecc575050613f1f565b808201805167ffffffffffffffff811115613eea5750505050613f1f565b80602083010160043d038501811115613f07575050505050613f1f565b613f1682602001850186612a75565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613f7e6034836128fa565b9150613f8982613f22565b604082019050919050565b60006020820190508181036000830152613fad81613f71565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006140106028836128fa565b915061401b82613fb4565b604082019050919050565b6000602082019050818103600083015261403f81614003565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a26021836128fa565b91506140ad82614046565b604082019050919050565b600060208201905081810360008301526140d181614095565b9050919050565b600060a0820190506140ed60008301886129d7565b6140fa60208301876129d7565b614107604083018661280a565b614114606083018561280a565b81810360808301526141268184613d7a565b9050969550505050505056fea2646970667358221220bc6d803fdebb5433dbd8c5464b3c3f07cf89e4ee92a7d4b6fb0e334f8f0c82c064736f6c634300080b0033
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.