ERC-1155
Overview
Max Total Supply
14,002 BAPUTIL
Holders
409
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:
BAPUtilities
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.12; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract BAPUtilities is ERC1155, ReentrancyGuard, Ownable { using Strings for string; // Contract name string public name; // Contract symbol string public symbol; bool public open = false; address public orchestrator; uint256 public initialMintingTimestamp = 0; uint256 public constant INCUBATOR = 1; uint256 public constant MERGER_ORB = 2; uint256 public constant INCUBATOR_AMOUNT = 12500; uint256 public constant MERGER_ORB_AMOUNT = 1490; uint256 public incubatorsPurchased = 0; uint256 public mergerOrbsPurchased = 0; string customUrl; constructor( string memory _url, string memory _name, string memory _symbol, address _orchestrator ) ERC1155(_url) { name = _name; symbol = _symbol; orchestrator = _orchestrator; } function uri(uint256 _tokenId) public view virtual override returns (string memory) { return string.concat( customUrl, Strings.toString(_tokenId) ); } function purchaseIncubator() external nonReentrant { require(open, "Contract is closed"); require(msg.sender == orchestrator, "Invalid sender"); require(incubatorsPurchased < INCUBATOR_AMOUNT, "Invalid sender"); incubatorsPurchased++; _mint(tx.origin, INCUBATOR, 1, ""); } function purchaseMergerOrb() external nonReentrant { require(open, "Contract is closed"); require(msg.sender == orchestrator, "Invalid sender"); require(mergerOrbsPurchased < MERGER_ORB_AMOUNT, "Invalid sender"); mergerOrbsPurchased++; _mint(tx.origin, MERGER_ORB, 1, ""); } function setOpen(bool _open) external onlyOwner { //Once the contract is open the minting window starts if (initialMintingTimestamp == 0 && _open == true) { initialMintingTimestamp = block.timestamp; } open = _open; } function setURI(string memory newuri) external onlyOwner { customUrl = newuri; } function totalSupply() public view returns(uint256){ return incubatorsPurchased + mergerOrbsPurchased; } function burn(uint256 id, uint256 amount) external { require(msg.sender == orchestrator, "Invalid sender"); _burn(tx.origin, id, amount); } function airdrop(address _to, uint256 amount,uint256 utility) external onlyOwner { if (utility == INCUBATOR){ incubatorsPurchased++; } else if(utility == MERGER_ORB){ mergerOrbsPurchased++; } _mint(_to, utility, amount, ""); } function setOrchestrator(address newOrchestrator) external onlyOwner { require(newOrchestrator != address(0), "200:ZERO_ADDRESS"); orchestrator = newOrchestrator; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_url","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_orchestrator","type":"address"}],"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":[],"name":"INCUBATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INCUBATOR_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MERGER_ORB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MERGER_ORB_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"utility","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":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"incubatorsPurchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMintingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"mergerOrbsPurchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orchestrator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchaseIncubator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"purchaseMergerOrb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"setOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOrchestrator","type":"address"}],"name":"setOrchestrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]
Contract Creation Code
60806040526000600760006101000a81548160ff021916908315150217905550600060085560006009556000600a553480156200003b57600080fd5b50604051620047fc380380620047fc8339818101604052810190620000619190620004b5565b8362000073816200011960201b60201c565b5060016003819055506200009c620000906200013560201b60201c565b6200013d60201b60201c565b8260059080519060200190620000b492919062000203565b508160069080519060200190620000cd92919062000203565b5080600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620005e9565b80600290805190602001906200013192919062000203565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021190620005b3565b90600052602060002090601f01602090048101928262000235576000855562000281565b82601f106200025057805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028057825182559160200191906001019062000263565b5b50905062000290919062000294565b5090565b5b80821115620002af57600081600090555060010162000295565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200031c82620002d1565b810181811067ffffffffffffffff821117156200033e576200033d620002e2565b5b80604052505050565b600062000353620002b3565b905062000361828262000311565b919050565b600067ffffffffffffffff821115620003845762000383620002e2565b5b6200038f82620002d1565b9050602081019050919050565b60005b83811015620003bc5780820151818401526020810190506200039f565b83811115620003cc576000848401525b50505050565b6000620003e9620003e38462000366565b62000347565b905082815260208101848484011115620004085762000407620002cc565b5b620004158482856200039c565b509392505050565b600082601f830112620004355762000434620002c7565b5b815162000447848260208601620003d2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200047d8262000450565b9050919050565b6200048f8162000470565b81146200049b57600080fd5b50565b600081519050620004af8162000484565b92915050565b60008060008060808587031215620004d257620004d1620002bd565b5b600085015167ffffffffffffffff811115620004f357620004f2620002c2565b5b62000501878288016200041d565b945050602085015167ffffffffffffffff811115620005255762000524620002c2565b5b62000533878288016200041d565b935050604085015167ffffffffffffffff811115620005575762000556620002c2565b5b62000565878288016200041d565b925050606062000578878288016200049e565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005cc57607f821691505b60208210811415620005e357620005e262000584565b5b50919050565b61420380620005f96000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c8063715018a611610104578063b74795d9116100a2578063f242432a11610071578063f242432a146104fa578063f2fde38b14610516578063f77452e614610532578063fcfff16f14610550576101d9565b8063b74795d914610474578063cd28ef0d14610492578063e1bc2967146104ae578063e985e9c5146104ca576101d9565b80638da5cb5b116100de5780638da5cb5b1461040057806395d89b411461041e578063a22cb4651461043c578063b390c0ab14610458576101d9565b8063715018a6146103ce5780637c50a088146103d85780638c93b299146103f6576101d9565b806318160ddd1161017c578063677f398d1161014b578063677f398d1461036c5780636a1b62c0146103765780636f02d3d1146103945780636fdca5e0146103b2576101d9565b806318160ddd146102e45780632eb2c2d6146103025780634a7399391461031e5780634e1273f41461033c576101d9565b806306fdde03116101b857806306fdde031461025a57806309f657f3146102785780630d72933b146102965780630e89341c146102b4576101d9565b8062fdd58e146101de57806301ffc9a71461020e57806302fe53051461023e575b600080fd5b6101f860048036038101906101f391906127e8565b61056e565b6040516102059190612837565b60405180910390f35b610228600480360381019061022391906128aa565b610637565b60405161023591906128f2565b60405180910390f35b61025860048036038101906102539190612a53565b610719565b005b6102626107af565b60405161026f9190612b24565b60405180910390f35b61028061083d565b60405161028d9190612837565b60405180910390f35b61029e610842565b6040516102ab9190612837565b60405180910390f35b6102ce60048036038101906102c99190612b46565b610848565b6040516102db9190612b24565b60405180910390f35b6102ec61087c565b6040516102f99190612837565b60405180910390f35b61031c60048036038101906103179190612cdc565b610893565b005b610326610934565b6040516103339190612837565b60405180910390f35b61035660048036038101906103519190612e6e565b61093a565b6040516103639190612fa4565b60405180910390f35b610374610a53565b005b61037e610c04565b60405161038b9190612837565b60405180910390f35b61039c610c0a565b6040516103a99190612837565b60405180910390f35b6103cc60048036038101906103c79190612ff2565b610c10565b005b6103d6610ccc565b005b6103e0610d54565b6040516103ed9190612837565b60405180910390f35b6103fe610d5a565b005b610408610f0c565b604051610415919061302e565b60405180910390f35b610426610f36565b6040516104339190612b24565b60405180910390f35b61045660048036038101906104519190613049565b610fc4565b005b610472600480360381019061046d9190613089565b610fda565b005b61047c611079565b604051610489919061302e565b60405180910390f35b6104ac60048036038101906104a791906130c9565b61109f565b005b6104c860048036038101906104c391906130f6565b6111cf565b005b6104e460048036038101906104df9190613149565b6112b4565b6040516104f191906128f2565b60405180910390f35b610514600480360381019061050f9190613189565b611348565b005b610530600480360381019061052b91906130c9565b6113e9565b005b61053a6114e1565b6040516105479190612837565b60405180910390f35b6105586114e6565b60405161056591906128f2565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d690613292565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061070257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107125750610711826114f9565b5b9050919050565b610721611563565b73ffffffffffffffffffffffffffffffffffffffff1661073f610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c906132fe565b60405180910390fd5b80600b90805190602001906107ab92919061269d565b5050565b600580546107bc9061334d565b80601f01602080910402602001604051908101604052809291908181526020018280546107e89061334d565b80156108355780601f1061080a57610100808354040283529160200191610835565b820191906000526020600020905b81548152906001019060200180831161081857829003601f168201915b505050505081565b600181565b6130d481565b6060600b6108558361156b565b60405160200161086692919061344f565b6040516020818303038152906040529050919050565b6000600a5460095461088e91906134a2565b905090565b61089b611563565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108e157506108e0856108db611563565b6112b4565b5b610920576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109179061356a565b60405180910390fd5b61092d85858585856116cc565b5050505050565b60095481565b60608151835114610980576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610977906135fc565b60405180910390fd5b6000835167ffffffffffffffff81111561099d5761099c612928565b5b6040519080825280602002602001820160405280156109cb5781602001602082028036833780820191505090505b50905060005b8451811015610a4857610a188582815181106109f0576109ef61361c565b5b6020026020010151858381518110610a0b57610a0a61361c565b5b602002602001015161056e565b828281518110610a2b57610a2a61361c565b5b60200260200101818152505080610a419061364b565b90506109d1565b508091505092915050565b60026003541415610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a90906136e0565b60405180910390fd5b6002600381905550600760009054906101000a900460ff16610af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae79061374c565b60405180910390fd5b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b77906137b8565b60405180910390fd5b6130d460095410610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd906137b8565b60405180910390fd5b60096000815480929190610bd99061364b565b9190505550610bfa32600180604051806020016040528060008152506119e0565b6001600381905550565b600a5481565b6105d281565b610c18611563565b73ffffffffffffffffffffffffffffffffffffffff16610c36610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c83906132fe565b60405180910390fd5b6000600854148015610ca2575060011515811515145b15610caf57426008819055505b80600760006101000a81548160ff02191690831515021790555050565b610cd4611563565b73ffffffffffffffffffffffffffffffffffffffff16610cf2610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f906132fe565b60405180910390fd5b610d526000611b76565b565b60085481565b60026003541415610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d97906136e0565b60405180910390fd5b6002600381905550600760009054906101000a900460ff16610df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dee9061374c565b60405180910390fd5b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e906137b8565b60405180910390fd5b6105d2600a5410610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec4906137b8565b60405180910390fd5b600a6000815480929190610ee09061364b565b9190505550610f023260026001604051806020016040528060008152506119e0565b6001600381905550565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610f439061334d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6f9061334d565b8015610fbc5780601f10610f9157610100808354040283529160200191610fbc565b820191906000526020600020905b815481529060010190602001808311610f9f57829003601f168201915b505050505081565b610fd6610fcf611563565b8383611c3c565b5050565b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461106a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611061906137b8565b60405180910390fd5b611075328383611da9565b5050565b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110a7611563565b73ffffffffffffffffffffffffffffffffffffffff166110c5610f0c565b73ffffffffffffffffffffffffffffffffffffffff161461111b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611112906132fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290613824565b60405180910390fd5b80600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6111d7611563565b73ffffffffffffffffffffffffffffffffffffffff166111f5610f0c565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611242906132fe565b60405180910390fd5b600181141561127157600960008154809291906112679061364b565b9190505550611294565b600281141561129357600a600081548092919061128d9061364b565b91905055505b5b6112af838284604051806020016040528060008152506119e0565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611350611563565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611396575061139585611390611563565b6112b4565b5b6113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc906138b6565b60405180910390fd5b6113e28585858585611fc6565b5050505050565b6113f1611563565b73ffffffffffffffffffffffffffffffffffffffff1661140f610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c906132fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc90613948565b60405180910390fd5b6114de81611b76565b50565b600281565b600760009054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b606060008214156115b3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506116c7565b600082905060005b600082146115e55780806115ce9061364b565b915050600a826115de9190613997565b91506115bb565b60008167ffffffffffffffff81111561160157611600612928565b5b6040519080825280601f01601f1916602001820160405280156116335781602001600182028036833780820191505090505b5090505b600085146116c05760018261164c91906139c8565b9150600a8561165b91906139fc565b603061166791906134a2565b60f81b81838151811061167d5761167c61361c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856116b99190613997565b9450611637565b8093505050505b919050565b8151835114611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790613a9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790613b31565b60405180910390fd5b600061178a611563565b905061179a818787878787612248565b60005b845181101561194b5760008582815181106117bb576117ba61361c565b5b6020026020010151905060008583815181106117da576117d961361c565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561187b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187290613bc3565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461193091906134a2565b92505081905550505050806119449061364b565b905061179d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119c2929190613be3565b60405180910390a46119d8818787878787612250565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613c8c565b60405180910390fd5b6000611a5a611563565b9050611a7b81600087611a6c88612428565b611a7588612428565b87612248565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ada91906134a2565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611b58929190613cac565b60405180910390a4611b6f816000878787876124a2565b5050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290613d47565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d9c91906128f2565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1090613dd9565b60405180910390fd5b6000611e23611563565b9050611e5381856000611e3587612428565b611e3e87612428565b60405180602001604052806000815250612248565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee190613e6b565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611fb7929190613cac565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202d90613b31565b60405180910390fd5b6000612040611563565b905061206081878761205188612428565b61205a88612428565b87612248565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156120f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ee90613bc3565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121ac91906134a2565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612229929190613cac565b60405180910390a461223f8288888888886124a2565b50505050505050565b505050505050565b61226f8473ffffffffffffffffffffffffffffffffffffffff1661267a565b15612420578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122b5959493929190613ee0565b6020604051808303816000875af19250505080156122f157506040513d601f19601f820116820180604052508101906122ee9190613f5d565b60015b612397576122fd613f97565b806308c379a0141561235a5750612312613fb9565b8061231d575061235c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123519190612b24565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238e906140c1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461241e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241590614153565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561244757612446612928565b5b6040519080825280602002602001820160405280156124755781602001602082028036833780820191505090505b509050828160008151811061248d5761248c61361c565b5b60200260200101818152505080915050919050565b6124c18473ffffffffffffffffffffffffffffffffffffffff1661267a565b15612672578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612507959493929190614173565b6020604051808303816000875af192505050801561254357506040513d601f19601f820116820180604052508101906125409190613f5d565b60015b6125e95761254f613f97565b806308c379a014156125ac5750612564613fb9565b8061256f57506125ae565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a39190612b24565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e0906140c1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266790614153565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126a99061334d565b90600052602060002090601f0160209004810192826126cb5760008555612712565b82601f106126e457805160ff1916838001178555612712565b82800160010185558215612712579182015b828111156127115782518255916020019190600101906126f6565b5b50905061271f9190612723565b5090565b5b8082111561273c576000816000905550600101612724565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061277f82612754565b9050919050565b61278f81612774565b811461279a57600080fd5b50565b6000813590506127ac81612786565b92915050565b6000819050919050565b6127c5816127b2565b81146127d057600080fd5b50565b6000813590506127e2816127bc565b92915050565b600080604083850312156127ff576127fe61274a565b5b600061280d8582860161279d565b925050602061281e858286016127d3565b9150509250929050565b612831816127b2565b82525050565b600060208201905061284c6000830184612828565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61288781612852565b811461289257600080fd5b50565b6000813590506128a48161287e565b92915050565b6000602082840312156128c0576128bf61274a565b5b60006128ce84828501612895565b91505092915050565b60008115159050919050565b6128ec816128d7565b82525050565b600060208201905061290760008301846128e3565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61296082612917565b810181811067ffffffffffffffff8211171561297f5761297e612928565b5b80604052505050565b6000612992612740565b905061299e8282612957565b919050565b600067ffffffffffffffff8211156129be576129bd612928565b5b6129c782612917565b9050602081019050919050565b82818337600083830152505050565b60006129f66129f1846129a3565b612988565b905082815260208101848484011115612a1257612a11612912565b5b612a1d8482856129d4565b509392505050565b600082601f830112612a3a57612a3961290d565b5b8135612a4a8482602086016129e3565b91505092915050565b600060208284031215612a6957612a6861274a565b5b600082013567ffffffffffffffff811115612a8757612a8661274f565b5b612a9384828501612a25565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ad6578082015181840152602081019050612abb565b83811115612ae5576000848401525b50505050565b6000612af682612a9c565b612b008185612aa7565b9350612b10818560208601612ab8565b612b1981612917565b840191505092915050565b60006020820190508181036000830152612b3e8184612aeb565b905092915050565b600060208284031215612b5c57612b5b61274a565b5b6000612b6a848285016127d3565b91505092915050565b600067ffffffffffffffff821115612b8e57612b8d612928565b5b602082029050602081019050919050565b600080fd5b6000612bb7612bb284612b73565b612988565b90508083825260208201905060208402830185811115612bda57612bd9612b9f565b5b835b81811015612c035780612bef88826127d3565b845260208401935050602081019050612bdc565b5050509392505050565b600082601f830112612c2257612c2161290d565b5b8135612c32848260208601612ba4565b91505092915050565b600067ffffffffffffffff821115612c5657612c55612928565b5b612c5f82612917565b9050602081019050919050565b6000612c7f612c7a84612c3b565b612988565b905082815260208101848484011115612c9b57612c9a612912565b5b612ca68482856129d4565b509392505050565b600082601f830112612cc357612cc261290d565b5b8135612cd3848260208601612c6c565b91505092915050565b600080600080600060a08688031215612cf857612cf761274a565b5b6000612d068882890161279d565b9550506020612d178882890161279d565b945050604086013567ffffffffffffffff811115612d3857612d3761274f565b5b612d4488828901612c0d565b935050606086013567ffffffffffffffff811115612d6557612d6461274f565b5b612d7188828901612c0d565b925050608086013567ffffffffffffffff811115612d9257612d9161274f565b5b612d9e88828901612cae565b9150509295509295909350565b600067ffffffffffffffff821115612dc657612dc5612928565b5b602082029050602081019050919050565b6000612dea612de584612dab565b612988565b90508083825260208201905060208402830185811115612e0d57612e0c612b9f565b5b835b81811015612e365780612e22888261279d565b845260208401935050602081019050612e0f565b5050509392505050565b600082601f830112612e5557612e5461290d565b5b8135612e65848260208601612dd7565b91505092915050565b60008060408385031215612e8557612e8461274a565b5b600083013567ffffffffffffffff811115612ea357612ea261274f565b5b612eaf85828601612e40565b925050602083013567ffffffffffffffff811115612ed057612ecf61274f565b5b612edc85828601612c0d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f1b816127b2565b82525050565b6000612f2d8383612f12565b60208301905092915050565b6000602082019050919050565b6000612f5182612ee6565b612f5b8185612ef1565b9350612f6683612f02565b8060005b83811015612f97578151612f7e8882612f21565b9750612f8983612f39565b925050600181019050612f6a565b5085935050505092915050565b60006020820190508181036000830152612fbe8184612f46565b905092915050565b612fcf816128d7565b8114612fda57600080fd5b50565b600081359050612fec81612fc6565b92915050565b6000602082840312156130085761300761274a565b5b600061301684828501612fdd565b91505092915050565b61302881612774565b82525050565b6000602082019050613043600083018461301f565b92915050565b600080604083850312156130605761305f61274a565b5b600061306e8582860161279d565b925050602061307f85828601612fdd565b9150509250929050565b600080604083850312156130a05761309f61274a565b5b60006130ae858286016127d3565b92505060206130bf858286016127d3565b9150509250929050565b6000602082840312156130df576130de61274a565b5b60006130ed8482850161279d565b91505092915050565b60008060006060848603121561310f5761310e61274a565b5b600061311d8682870161279d565b935050602061312e868287016127d3565b925050604061313f868287016127d3565b9150509250925092565b600080604083850312156131605761315f61274a565b5b600061316e8582860161279d565b925050602061317f8582860161279d565b9150509250929050565b600080600080600060a086880312156131a5576131a461274a565b5b60006131b38882890161279d565b95505060206131c48882890161279d565b94505060406131d5888289016127d3565b93505060606131e6888289016127d3565b925050608086013567ffffffffffffffff8111156132075761320661274f565b5b61321388828901612cae565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061327c602b83612aa7565b915061328782613220565b604082019050919050565b600060208201905081810360008301526132ab8161326f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132e8602083612aa7565b91506132f3826132b2565b602082019050919050565b60006020820190508181036000830152613317816132db565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061336557607f821691505b602082108114156133795761337861331e565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546133ac8161334d565b6133b6818661337f565b945060018216600081146133d157600181146133e257613415565b60ff19831686528186019350613415565b6133eb8561338a565b60005b8381101561340d578154818901526001820191506020810190506133ee565b838801955050505b50505092915050565b600061342982612a9c565b613433818561337f565b9350613443818560208601612ab8565b80840191505092915050565b600061345b828561339f565b9150613467828461341e565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134ad826127b2565b91506134b8836127b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134ed576134ec613473565b5b828201905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613554603283612aa7565b915061355f826134f8565b604082019050919050565b6000602082019050818103600083015261358381613547565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006135e6602983612aa7565b91506135f18261358a565b604082019050919050565b60006020820190508181036000830152613615816135d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613656826127b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561368957613688613473565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006136ca601f83612aa7565b91506136d582613694565b602082019050919050565b600060208201905081810360008301526136f9816136bd565b9050919050565b7f436f6e747261637420697320636c6f7365640000000000000000000000000000600082015250565b6000613736601283612aa7565b915061374182613700565b602082019050919050565b6000602082019050818103600083015261376581613729565b9050919050565b7f496e76616c69642073656e646572000000000000000000000000000000000000600082015250565b60006137a2600e83612aa7565b91506137ad8261376c565b602082019050919050565b600060208201905081810360008301526137d181613795565b9050919050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b600061380e601083612aa7565b9150613819826137d8565b602082019050919050565b6000602082019050818103600083015261383d81613801565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006138a0602983612aa7565b91506138ab82613844565b604082019050919050565b600060208201905081810360008301526138cf81613893565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613932602683612aa7565b915061393d826138d6565b604082019050919050565b6000602082019050818103600083015261396181613925565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006139a2826127b2565b91506139ad836127b2565b9250826139bd576139bc613968565b5b828204905092915050565b60006139d3826127b2565b91506139de836127b2565b9250828210156139f1576139f0613473565b5b828203905092915050565b6000613a07826127b2565b9150613a12836127b2565b925082613a2257613a21613968565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613a89602883612aa7565b9150613a9482613a2d565b604082019050919050565b60006020820190508181036000830152613ab881613a7c565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613b1b602583612aa7565b9150613b2682613abf565b604082019050919050565b60006020820190508181036000830152613b4a81613b0e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613bad602a83612aa7565b9150613bb882613b51565b604082019050919050565b60006020820190508181036000830152613bdc81613ba0565b9050919050565b60006040820190508181036000830152613bfd8185612f46565b90508181036020830152613c118184612f46565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c76602183612aa7565b9150613c8182613c1a565b604082019050919050565b60006020820190508181036000830152613ca581613c69565b9050919050565b6000604082019050613cc16000830185612828565b613cce6020830184612828565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613d31602983612aa7565b9150613d3c82613cd5565b604082019050919050565b60006020820190508181036000830152613d6081613d24565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613dc3602383612aa7565b9150613dce82613d67565b604082019050919050565b60006020820190508181036000830152613df281613db6565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613e55602483612aa7565b9150613e6082613df9565b604082019050919050565b60006020820190508181036000830152613e8481613e48565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613eb282613e8b565b613ebc8185613e96565b9350613ecc818560208601612ab8565b613ed581612917565b840191505092915050565b600060a082019050613ef5600083018861301f565b613f02602083018761301f565b8181036040830152613f148186612f46565b90508181036060830152613f288185612f46565b90508181036080830152613f3c8184613ea7565b90509695505050505050565b600081519050613f578161287e565b92915050565b600060208284031215613f7357613f7261274a565b5b6000613f8184828501613f48565b91505092915050565b60008160e01c9050919050565b600060033d1115613fb65760046000803e613fb3600051613f8a565b90505b90565b600060443d1015613fc95761404c565b613fd1612740565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ff957505061404c565b808201805167ffffffffffffffff811115614017575050505061404c565b80602083010160043d03850181111561403457505050505061404c565b61404382602001850186612957565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006140ab603483612aa7565b91506140b68261404f565b604082019050919050565b600060208201905081810360008301526140da8161409e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061413d602883612aa7565b9150614148826140e1565b604082019050919050565b6000602082019050818103600083015261416c81614130565b9050919050565b600060a082019050614188600083018861301f565b614195602083018761301f565b6141a26040830186612828565b6141af6060830185612828565b81810360808301526141c18184613ea7565b9050969550505050505056fea2646970667358221220ef8911f9731f90599405cdcda81fe32ace53a6f03a9db0e157949968f08f56dd64736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000095f856ac0c40d1b29bfd0eebdf341f1a09752af1000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f73746f726167652e6d696e742e62756c6c73616e646170657370726f6a6563742e636f6d2f7574696c69746965732f000000000000000000000000000000000000000000000000000000000000000000000000000000000d424150205554494c49544945530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074241505554494c00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101d95760003560e01c8063715018a611610104578063b74795d9116100a2578063f242432a11610071578063f242432a146104fa578063f2fde38b14610516578063f77452e614610532578063fcfff16f14610550576101d9565b8063b74795d914610474578063cd28ef0d14610492578063e1bc2967146104ae578063e985e9c5146104ca576101d9565b80638da5cb5b116100de5780638da5cb5b1461040057806395d89b411461041e578063a22cb4651461043c578063b390c0ab14610458576101d9565b8063715018a6146103ce5780637c50a088146103d85780638c93b299146103f6576101d9565b806318160ddd1161017c578063677f398d1161014b578063677f398d1461036c5780636a1b62c0146103765780636f02d3d1146103945780636fdca5e0146103b2576101d9565b806318160ddd146102e45780632eb2c2d6146103025780634a7399391461031e5780634e1273f41461033c576101d9565b806306fdde03116101b857806306fdde031461025a57806309f657f3146102785780630d72933b146102965780630e89341c146102b4576101d9565b8062fdd58e146101de57806301ffc9a71461020e57806302fe53051461023e575b600080fd5b6101f860048036038101906101f391906127e8565b61056e565b6040516102059190612837565b60405180910390f35b610228600480360381019061022391906128aa565b610637565b60405161023591906128f2565b60405180910390f35b61025860048036038101906102539190612a53565b610719565b005b6102626107af565b60405161026f9190612b24565b60405180910390f35b61028061083d565b60405161028d9190612837565b60405180910390f35b61029e610842565b6040516102ab9190612837565b60405180910390f35b6102ce60048036038101906102c99190612b46565b610848565b6040516102db9190612b24565b60405180910390f35b6102ec61087c565b6040516102f99190612837565b60405180910390f35b61031c60048036038101906103179190612cdc565b610893565b005b610326610934565b6040516103339190612837565b60405180910390f35b61035660048036038101906103519190612e6e565b61093a565b6040516103639190612fa4565b60405180910390f35b610374610a53565b005b61037e610c04565b60405161038b9190612837565b60405180910390f35b61039c610c0a565b6040516103a99190612837565b60405180910390f35b6103cc60048036038101906103c79190612ff2565b610c10565b005b6103d6610ccc565b005b6103e0610d54565b6040516103ed9190612837565b60405180910390f35b6103fe610d5a565b005b610408610f0c565b604051610415919061302e565b60405180910390f35b610426610f36565b6040516104339190612b24565b60405180910390f35b61045660048036038101906104519190613049565b610fc4565b005b610472600480360381019061046d9190613089565b610fda565b005b61047c611079565b604051610489919061302e565b60405180910390f35b6104ac60048036038101906104a791906130c9565b61109f565b005b6104c860048036038101906104c391906130f6565b6111cf565b005b6104e460048036038101906104df9190613149565b6112b4565b6040516104f191906128f2565b60405180910390f35b610514600480360381019061050f9190613189565b611348565b005b610530600480360381019061052b91906130c9565b6113e9565b005b61053a6114e1565b6040516105479190612837565b60405180910390f35b6105586114e6565b60405161056591906128f2565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d690613292565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061070257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107125750610711826114f9565b5b9050919050565b610721611563565b73ffffffffffffffffffffffffffffffffffffffff1661073f610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c906132fe565b60405180910390fd5b80600b90805190602001906107ab92919061269d565b5050565b600580546107bc9061334d565b80601f01602080910402602001604051908101604052809291908181526020018280546107e89061334d565b80156108355780601f1061080a57610100808354040283529160200191610835565b820191906000526020600020905b81548152906001019060200180831161081857829003601f168201915b505050505081565b600181565b6130d481565b6060600b6108558361156b565b60405160200161086692919061344f565b6040516020818303038152906040529050919050565b6000600a5460095461088e91906134a2565b905090565b61089b611563565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108e157506108e0856108db611563565b6112b4565b5b610920576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109179061356a565b60405180910390fd5b61092d85858585856116cc565b5050505050565b60095481565b60608151835114610980576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610977906135fc565b60405180910390fd5b6000835167ffffffffffffffff81111561099d5761099c612928565b5b6040519080825280602002602001820160405280156109cb5781602001602082028036833780820191505090505b50905060005b8451811015610a4857610a188582815181106109f0576109ef61361c565b5b6020026020010151858381518110610a0b57610a0a61361c565b5b602002602001015161056e565b828281518110610a2b57610a2a61361c565b5b60200260200101818152505080610a419061364b565b90506109d1565b508091505092915050565b60026003541415610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a90906136e0565b60405180910390fd5b6002600381905550600760009054906101000a900460ff16610af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae79061374c565b60405180910390fd5b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b77906137b8565b60405180910390fd5b6130d460095410610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd906137b8565b60405180910390fd5b60096000815480929190610bd99061364b565b9190505550610bfa32600180604051806020016040528060008152506119e0565b6001600381905550565b600a5481565b6105d281565b610c18611563565b73ffffffffffffffffffffffffffffffffffffffff16610c36610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c83906132fe565b60405180910390fd5b6000600854148015610ca2575060011515811515145b15610caf57426008819055505b80600760006101000a81548160ff02191690831515021790555050565b610cd4611563565b73ffffffffffffffffffffffffffffffffffffffff16610cf2610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f906132fe565b60405180910390fd5b610d526000611b76565b565b60085481565b60026003541415610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d97906136e0565b60405180910390fd5b6002600381905550600760009054906101000a900460ff16610df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dee9061374c565b60405180910390fd5b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e906137b8565b60405180910390fd5b6105d2600a5410610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec4906137b8565b60405180910390fd5b600a6000815480929190610ee09061364b565b9190505550610f023260026001604051806020016040528060008152506119e0565b6001600381905550565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610f439061334d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6f9061334d565b8015610fbc5780601f10610f9157610100808354040283529160200191610fbc565b820191906000526020600020905b815481529060010190602001808311610f9f57829003601f168201915b505050505081565b610fd6610fcf611563565b8383611c3c565b5050565b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461106a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611061906137b8565b60405180910390fd5b611075328383611da9565b5050565b600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110a7611563565b73ffffffffffffffffffffffffffffffffffffffff166110c5610f0c565b73ffffffffffffffffffffffffffffffffffffffff161461111b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611112906132fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290613824565b60405180910390fd5b80600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6111d7611563565b73ffffffffffffffffffffffffffffffffffffffff166111f5610f0c565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611242906132fe565b60405180910390fd5b600181141561127157600960008154809291906112679061364b565b9190505550611294565b600281141561129357600a600081548092919061128d9061364b565b91905055505b5b6112af838284604051806020016040528060008152506119e0565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611350611563565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611396575061139585611390611563565b6112b4565b5b6113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc906138b6565b60405180910390fd5b6113e28585858585611fc6565b5050505050565b6113f1611563565b73ffffffffffffffffffffffffffffffffffffffff1661140f610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c906132fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc90613948565b60405180910390fd5b6114de81611b76565b50565b600281565b600760009054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b606060008214156115b3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506116c7565b600082905060005b600082146115e55780806115ce9061364b565b915050600a826115de9190613997565b91506115bb565b60008167ffffffffffffffff81111561160157611600612928565b5b6040519080825280601f01601f1916602001820160405280156116335781602001600182028036833780820191505090505b5090505b600085146116c05760018261164c91906139c8565b9150600a8561165b91906139fc565b603061166791906134a2565b60f81b81838151811061167d5761167c61361c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856116b99190613997565b9450611637565b8093505050505b919050565b8151835114611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790613a9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790613b31565b60405180910390fd5b600061178a611563565b905061179a818787878787612248565b60005b845181101561194b5760008582815181106117bb576117ba61361c565b5b6020026020010151905060008583815181106117da576117d961361c565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561187b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187290613bc3565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461193091906134a2565b92505081905550505050806119449061364b565b905061179d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119c2929190613be3565b60405180910390a46119d8818787878787612250565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613c8c565b60405180910390fd5b6000611a5a611563565b9050611a7b81600087611a6c88612428565b611a7588612428565b87612248565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ada91906134a2565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611b58929190613cac565b60405180910390a4611b6f816000878787876124a2565b5050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290613d47565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d9c91906128f2565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1090613dd9565b60405180910390fd5b6000611e23611563565b9050611e5381856000611e3587612428565b611e3e87612428565b60405180602001604052806000815250612248565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee190613e6b565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611fb7929190613cac565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202d90613b31565b60405180910390fd5b6000612040611563565b905061206081878761205188612428565b61205a88612428565b87612248565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156120f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ee90613bc3565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121ac91906134a2565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612229929190613cac565b60405180910390a461223f8288888888886124a2565b50505050505050565b505050505050565b61226f8473ffffffffffffffffffffffffffffffffffffffff1661267a565b15612420578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122b5959493929190613ee0565b6020604051808303816000875af19250505080156122f157506040513d601f19601f820116820180604052508101906122ee9190613f5d565b60015b612397576122fd613f97565b806308c379a0141561235a5750612312613fb9565b8061231d575061235c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123519190612b24565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238e906140c1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461241e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241590614153565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561244757612446612928565b5b6040519080825280602002602001820160405280156124755781602001602082028036833780820191505090505b509050828160008151811061248d5761248c61361c565b5b60200260200101818152505080915050919050565b6124c18473ffffffffffffffffffffffffffffffffffffffff1661267a565b15612672578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612507959493929190614173565b6020604051808303816000875af192505050801561254357506040513d601f19601f820116820180604052508101906125409190613f5d565b60015b6125e95761254f613f97565b806308c379a014156125ac5750612564613fb9565b8061256f57506125ae565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a39190612b24565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e0906140c1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266790614153565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126a99061334d565b90600052602060002090601f0160209004810192826126cb5760008555612712565b82601f106126e457805160ff1916838001178555612712565b82800160010185558215612712579182015b828111156127115782518255916020019190600101906126f6565b5b50905061271f9190612723565b5090565b5b8082111561273c576000816000905550600101612724565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061277f82612754565b9050919050565b61278f81612774565b811461279a57600080fd5b50565b6000813590506127ac81612786565b92915050565b6000819050919050565b6127c5816127b2565b81146127d057600080fd5b50565b6000813590506127e2816127bc565b92915050565b600080604083850312156127ff576127fe61274a565b5b600061280d8582860161279d565b925050602061281e858286016127d3565b9150509250929050565b612831816127b2565b82525050565b600060208201905061284c6000830184612828565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61288781612852565b811461289257600080fd5b50565b6000813590506128a48161287e565b92915050565b6000602082840312156128c0576128bf61274a565b5b60006128ce84828501612895565b91505092915050565b60008115159050919050565b6128ec816128d7565b82525050565b600060208201905061290760008301846128e3565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61296082612917565b810181811067ffffffffffffffff8211171561297f5761297e612928565b5b80604052505050565b6000612992612740565b905061299e8282612957565b919050565b600067ffffffffffffffff8211156129be576129bd612928565b5b6129c782612917565b9050602081019050919050565b82818337600083830152505050565b60006129f66129f1846129a3565b612988565b905082815260208101848484011115612a1257612a11612912565b5b612a1d8482856129d4565b509392505050565b600082601f830112612a3a57612a3961290d565b5b8135612a4a8482602086016129e3565b91505092915050565b600060208284031215612a6957612a6861274a565b5b600082013567ffffffffffffffff811115612a8757612a8661274f565b5b612a9384828501612a25565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ad6578082015181840152602081019050612abb565b83811115612ae5576000848401525b50505050565b6000612af682612a9c565b612b008185612aa7565b9350612b10818560208601612ab8565b612b1981612917565b840191505092915050565b60006020820190508181036000830152612b3e8184612aeb565b905092915050565b600060208284031215612b5c57612b5b61274a565b5b6000612b6a848285016127d3565b91505092915050565b600067ffffffffffffffff821115612b8e57612b8d612928565b5b602082029050602081019050919050565b600080fd5b6000612bb7612bb284612b73565b612988565b90508083825260208201905060208402830185811115612bda57612bd9612b9f565b5b835b81811015612c035780612bef88826127d3565b845260208401935050602081019050612bdc565b5050509392505050565b600082601f830112612c2257612c2161290d565b5b8135612c32848260208601612ba4565b91505092915050565b600067ffffffffffffffff821115612c5657612c55612928565b5b612c5f82612917565b9050602081019050919050565b6000612c7f612c7a84612c3b565b612988565b905082815260208101848484011115612c9b57612c9a612912565b5b612ca68482856129d4565b509392505050565b600082601f830112612cc357612cc261290d565b5b8135612cd3848260208601612c6c565b91505092915050565b600080600080600060a08688031215612cf857612cf761274a565b5b6000612d068882890161279d565b9550506020612d178882890161279d565b945050604086013567ffffffffffffffff811115612d3857612d3761274f565b5b612d4488828901612c0d565b935050606086013567ffffffffffffffff811115612d6557612d6461274f565b5b612d7188828901612c0d565b925050608086013567ffffffffffffffff811115612d9257612d9161274f565b5b612d9e88828901612cae565b9150509295509295909350565b600067ffffffffffffffff821115612dc657612dc5612928565b5b602082029050602081019050919050565b6000612dea612de584612dab565b612988565b90508083825260208201905060208402830185811115612e0d57612e0c612b9f565b5b835b81811015612e365780612e22888261279d565b845260208401935050602081019050612e0f565b5050509392505050565b600082601f830112612e5557612e5461290d565b5b8135612e65848260208601612dd7565b91505092915050565b60008060408385031215612e8557612e8461274a565b5b600083013567ffffffffffffffff811115612ea357612ea261274f565b5b612eaf85828601612e40565b925050602083013567ffffffffffffffff811115612ed057612ecf61274f565b5b612edc85828601612c0d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f1b816127b2565b82525050565b6000612f2d8383612f12565b60208301905092915050565b6000602082019050919050565b6000612f5182612ee6565b612f5b8185612ef1565b9350612f6683612f02565b8060005b83811015612f97578151612f7e8882612f21565b9750612f8983612f39565b925050600181019050612f6a565b5085935050505092915050565b60006020820190508181036000830152612fbe8184612f46565b905092915050565b612fcf816128d7565b8114612fda57600080fd5b50565b600081359050612fec81612fc6565b92915050565b6000602082840312156130085761300761274a565b5b600061301684828501612fdd565b91505092915050565b61302881612774565b82525050565b6000602082019050613043600083018461301f565b92915050565b600080604083850312156130605761305f61274a565b5b600061306e8582860161279d565b925050602061307f85828601612fdd565b9150509250929050565b600080604083850312156130a05761309f61274a565b5b60006130ae858286016127d3565b92505060206130bf858286016127d3565b9150509250929050565b6000602082840312156130df576130de61274a565b5b60006130ed8482850161279d565b91505092915050565b60008060006060848603121561310f5761310e61274a565b5b600061311d8682870161279d565b935050602061312e868287016127d3565b925050604061313f868287016127d3565b9150509250925092565b600080604083850312156131605761315f61274a565b5b600061316e8582860161279d565b925050602061317f8582860161279d565b9150509250929050565b600080600080600060a086880312156131a5576131a461274a565b5b60006131b38882890161279d565b95505060206131c48882890161279d565b94505060406131d5888289016127d3565b93505060606131e6888289016127d3565b925050608086013567ffffffffffffffff8111156132075761320661274f565b5b61321388828901612cae565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061327c602b83612aa7565b915061328782613220565b604082019050919050565b600060208201905081810360008301526132ab8161326f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132e8602083612aa7565b91506132f3826132b2565b602082019050919050565b60006020820190508181036000830152613317816132db565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061336557607f821691505b602082108114156133795761337861331e565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546133ac8161334d565b6133b6818661337f565b945060018216600081146133d157600181146133e257613415565b60ff19831686528186019350613415565b6133eb8561338a565b60005b8381101561340d578154818901526001820191506020810190506133ee565b838801955050505b50505092915050565b600061342982612a9c565b613433818561337f565b9350613443818560208601612ab8565b80840191505092915050565b600061345b828561339f565b9150613467828461341e565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134ad826127b2565b91506134b8836127b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134ed576134ec613473565b5b828201905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613554603283612aa7565b915061355f826134f8565b604082019050919050565b6000602082019050818103600083015261358381613547565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006135e6602983612aa7565b91506135f18261358a565b604082019050919050565b60006020820190508181036000830152613615816135d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613656826127b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561368957613688613473565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006136ca601f83612aa7565b91506136d582613694565b602082019050919050565b600060208201905081810360008301526136f9816136bd565b9050919050565b7f436f6e747261637420697320636c6f7365640000000000000000000000000000600082015250565b6000613736601283612aa7565b915061374182613700565b602082019050919050565b6000602082019050818103600083015261376581613729565b9050919050565b7f496e76616c69642073656e646572000000000000000000000000000000000000600082015250565b60006137a2600e83612aa7565b91506137ad8261376c565b602082019050919050565b600060208201905081810360008301526137d181613795565b9050919050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b600061380e601083612aa7565b9150613819826137d8565b602082019050919050565b6000602082019050818103600083015261383d81613801565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006138a0602983612aa7565b91506138ab82613844565b604082019050919050565b600060208201905081810360008301526138cf81613893565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613932602683612aa7565b915061393d826138d6565b604082019050919050565b6000602082019050818103600083015261396181613925565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006139a2826127b2565b91506139ad836127b2565b9250826139bd576139bc613968565b5b828204905092915050565b60006139d3826127b2565b91506139de836127b2565b9250828210156139f1576139f0613473565b5b828203905092915050565b6000613a07826127b2565b9150613a12836127b2565b925082613a2257613a21613968565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613a89602883612aa7565b9150613a9482613a2d565b604082019050919050565b60006020820190508181036000830152613ab881613a7c565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613b1b602583612aa7565b9150613b2682613abf565b604082019050919050565b60006020820190508181036000830152613b4a81613b0e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613bad602a83612aa7565b9150613bb882613b51565b604082019050919050565b60006020820190508181036000830152613bdc81613ba0565b9050919050565b60006040820190508181036000830152613bfd8185612f46565b90508181036020830152613c118184612f46565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c76602183612aa7565b9150613c8182613c1a565b604082019050919050565b60006020820190508181036000830152613ca581613c69565b9050919050565b6000604082019050613cc16000830185612828565b613cce6020830184612828565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613d31602983612aa7565b9150613d3c82613cd5565b604082019050919050565b60006020820190508181036000830152613d6081613d24565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613dc3602383612aa7565b9150613dce82613d67565b604082019050919050565b60006020820190508181036000830152613df281613db6565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613e55602483612aa7565b9150613e6082613df9565b604082019050919050565b60006020820190508181036000830152613e8481613e48565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613eb282613e8b565b613ebc8185613e96565b9350613ecc818560208601612ab8565b613ed581612917565b840191505092915050565b600060a082019050613ef5600083018861301f565b613f02602083018761301f565b8181036040830152613f148186612f46565b90508181036060830152613f288185612f46565b90508181036080830152613f3c8184613ea7565b90509695505050505050565b600081519050613f578161287e565b92915050565b600060208284031215613f7357613f7261274a565b5b6000613f8184828501613f48565b91505092915050565b60008160e01c9050919050565b600060033d1115613fb65760046000803e613fb3600051613f8a565b90505b90565b600060443d1015613fc95761404c565b613fd1612740565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ff957505061404c565b808201805167ffffffffffffffff811115614017575050505061404c565b80602083010160043d03850181111561403457505050505061404c565b61404382602001850186612957565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006140ab603483612aa7565b91506140b68261404f565b604082019050919050565b600060208201905081810360008301526140da8161409e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061413d602883612aa7565b9150614148826140e1565b604082019050919050565b6000602082019050818103600083015261416c81614130565b9050919050565b600060a082019050614188600083018861301f565b614195602083018761301f565b6141a26040830186612828565b6141af6060830185612828565b81810360808301526141c18184613ea7565b9050969550505050505056fea2646970667358221220ef8911f9731f90599405cdcda81fe32ace53a6f03a9db0e157949968f08f56dd64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000095f856ac0c40d1b29bfd0eebdf341f1a09752af1000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f73746f726167652e6d696e742e62756c6c73616e646170657370726f6a6563742e636f6d2f7574696c69746965732f000000000000000000000000000000000000000000000000000000000000000000000000000000000d424150205554494c49544945530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074241505554494c00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _url (string): https://storage.mint.bullsandapesproject.com/utilities/
Arg [1] : _name (string): BAP UTILITIES
Arg [2] : _symbol (string): BAPUTIL
Arg [3] : _orchestrator (address): 0x95f856ac0C40D1b29bfD0eEBdF341f1a09752AF1
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000095f856ac0c40d1b29bfd0eebdf341f1a09752af1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [5] : 68747470733a2f2f73746f726167652e6d696e742e62756c6c73616e64617065
Arg [6] : 7370726f6a6563742e636f6d2f7574696c69746965732f000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 424150205554494c495449455300000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 4241505554494c00000000000000000000000000000000000000000000000000
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.