ERC-1155
Overview
Max Total Supply
7,768 SLD
Holders
3,017
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:
SecureLiquidDigitalChip
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; /// @title Secure Liquid Digital Chip /// @notice The research facility for SLD chips. contract SecureLiquidDigitalChip is ERC1155, Ownable { /// ----------------------------------------------------------------------- /// Events /// ----------------------------------------------------------------------- event UpdateURI(string indexed _uri); event UpdateMinter(address indexed _minter, bool _value); event UpdateBurner(address indexed _burner, bool _value); /// ----------------------------------------------------------------------- /// Modifiers /// ----------------------------------------------------------------------- /// @notice Throws if called by any account other than a minter. modifier onlyMinter() { require(minters[msg.sender], 'cannot mint'); _; } /// @notice Throws if called by any account other than a burner. modifier onlyBurner() { require(burners[msg.sender], 'cannot burn'); _; } /// ----------------------------------------------------------------------- /// Storage variables /// ----------------------------------------------------------------------- /// @notice The name of the token. string public constant name = 'Secure Liquid Digital Chip'; /// @notice The symbol of the token. string public constant symbol = 'SLD'; /// @notice Stores info pretaining to whether an account can mint cybernetics. /// @dev address => can mint mapping(address => bool) public minters; /// @notice Stores info pretaining to whether an account can burn cybernetics. /// @dev address => can burn mapping(address => bool) public burners; /// ----------------------------------------------------------------------- /// Initialization /// ----------------------------------------------------------------------- constructor(string memory _uri) ERC1155(_uri) { emit UpdateURI(_uri); } /// ----------------------------------------------------------------------- /// Actions /// ----------------------------------------------------------------------- /// @notice Mints cybernetics of a single type per recipient. Only callable by a minter. /// @param recipients The recipients of the minted cybernetics. /// @param ids The types of cybernetics to mint. /// @param amounts The amounts of cybernetics to mint. function mint(address[] memory recipients, uint256[] memory ids, uint256[] memory amounts) external onlyMinter { uint256 length = recipients.length; for (uint256 i; i < length;) { _mint(recipients[i], ids[i], amounts[i], ''); unchecked { ++i; } } } /// @notice Mints batches of cybernetics per recipient. Only callable by a minter. /// @param recipients The recipients of the minted cybernetics. /// @param ids The types of cybernetics to mint per batch. /// @param amounts The amounts of cybernetics to mint per batch. function mintBatch(address[] memory recipients, uint256[][] memory ids, uint256[][] memory amounts) external onlyMinter { uint256 length = recipients.length; for (uint256 i; i < length;) { _mintBatch(recipients[i], ids[i], amounts[i], ''); unchecked { ++i; } } } /// @notice Burns a batch of cybernetics from single account. Only callable by a burner. /// @param account The owner of the cybernetics to burn. /// @param ids The types of cybernetics to burn. /// @param amounts The amounts of cybernetics to burn. function burn(address account, uint256[] memory ids, uint256[] memory amounts) external onlyBurner { _burnBatch(account, ids, amounts); } /// @notice Burns batches of cybernetics from multiple accounts. Only callable by a burner. /// @param accounts The owners of the cybernetics to burn. /// @param ids The types of cybernetics to burn. /// @param amounts The amounts of cybernetics to burn. function burnBatch(address[] memory accounts, uint256[][] memory ids, uint256[][] memory amounts) external onlyBurner { uint256 length = accounts.length; for (uint256 i; i < length;) { _burnBatch(accounts[i], ids[i], amounts[i]); unchecked { ++i; } } } /// ----------------------------------------------------------------------- /// Setters /// ----------------------------------------------------------------------- /// @notice Sets a new URI for all token types. Only callable by the owner. /// @param _newURI The new URI. function updateUri(string memory _newURI) external onlyOwner { _setURI(_newURI); emit UpdateURI(_newURI); } /// @notice Whitelists a minter account. Only callable by the owner. /// @param _minter The new minter account. function addMinter(address _minter) external onlyOwner { minters[_minter] = true; emit UpdateMinter(_minter, true); } /// @notice Deprecates a minter account. Only callable by the owner. /// @param _minter The old minter account. function removeMinter(address _minter) external onlyOwner { minters[_minter] = false; emit UpdateMinter(_minter, false); } /// @notice Whitelists a burner account. Only callable by the owner. /// @param _burner The new burner account. function addBurner(address _burner) external onlyOwner { burners[_burner] = true; emit UpdateBurner(_burner, true); } /// @notice Deprecates a burner account. Only callable by the owner. /// @param _burner The old burner account. function removeBurner(address _burner) external onlyOwner { burners[_burner] = false; emit UpdateBurner(_burner, false); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits 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 {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (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":"_uri","type":"string"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_burner","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"UpdateBurner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"UpdateMinter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_uri","type":"string"}],"name":"UpdateURI","type":"event"},{"inputs":[{"internalType":"address","name":"_burner","type":"address"}],"name":"addBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[][]","name":"ids","type":"uint256[][]"},{"internalType":"uint256[][]","name":"amounts","type":"uint256[][]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"burners","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[][]","name":"ids","type":"uint256[][]"},{"internalType":"uint256[][]","name":"amounts","type":"uint256[][]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_burner","type":"address"}],"name":"removeBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"updateUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004900380380620049008339818101604052810190620000379190620003ec565b806200004981620000b560201b60201c565b506200006a6200005e620000d160201b60201c565b620000d960201b60201c565b806040516200007a91906200048a565b60405180910390207f7d6e10e74d1c60489c754e7491b7d49907732ac426f0254914810d50ba6cc21860405160405180910390a25062000507565b8060029080519060200190620000cd9291906200019f565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ad90620004d2565b90600052602060002090601f016020900481019282620001d157600085556200021d565b82601f10620001ec57805160ff19168380011785556200021d565b828001600101855582156200021d579182015b828111156200021c578251825591602001919060010190620001ff565b5b5090506200022c919062000230565b5090565b5b808211156200024b57600081600090555060010162000231565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002b8826200026d565b810181811067ffffffffffffffff82111715620002da57620002d96200027e565b5b80604052505050565b6000620002ef6200024f565b9050620002fd8282620002ad565b919050565b600067ffffffffffffffff82111562000320576200031f6200027e565b5b6200032b826200026d565b9050602081019050919050565b60005b83811015620003585780820151818401526020810190506200033b565b8381111562000368576000848401525b50505050565b6000620003856200037f8462000302565b620002e3565b905082815260208101848484011115620003a457620003a362000268565b5b620003b184828562000338565b509392505050565b600082601f830112620003d157620003d062000263565b5b8151620003e38482602086016200036e565b91505092915050565b60006020828403121562000405576200040462000259565b5b600082015167ffffffffffffffff8111156200042657620004256200025e565b5b6200043484828501620003b9565b91505092915050565b600081519050919050565b600081905092915050565b600062000460826200043d565b6200046c818562000448565b93506200047e81856020860162000338565b80840191505092915050565b600062000498828462000453565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004eb57607f821691505b602082108103620005015762000500620004a3565b5b50919050565b6143e980620005176000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80636d56461a116100c3578063a22cb4651161007c578063a22cb465146103ac578063e985e9c5146103c8578063f242432a146103f8578063f2fde38b14610414578063f44637ba14610430578063f46eccc41461044c57610157565b80636d56461a14610312578063715018a61461032e5780637970ce9f146103385780638da5cb5b1461035457806395d89b4114610372578063983b2d561461039057610157565b8063122ed67911610115578063122ed679146102565780632eb2c2d6146102725780633092afd51461028e5780633db0f8ab146102aa5780634e1273f4146102c6578063570b3c6a146102f657610157565b8062fdd58e1461015c57806301ffc9a71461018c57806302846858146101bc57806303d41e0e146101d857806306fdde03146102085780630e89341c14610226575b600080fd5b61017660048036038101906101719190612a1a565b61047c565b6040516101839190612a69565b60405180910390f35b6101a660048036038101906101a19190612adc565b610544565b6040516101b39190612b24565b60405180910390f35b6101d660048036038101906101d19190612b3f565b610626565b005b6101f260048036038101906101ed9190612b3f565b61074c565b6040516101ff9190612b24565b60405180910390f35b61021061076c565b60405161021d9190612c05565b60405180910390f35b610240600480360381019061023b9190612c27565b6107a5565b60405161024d9190612c05565b60405180910390f35b610270600480360381019061026b9190612f40565b610839565b005b61028c6004803603810190610287919061309c565b610951565b005b6102a860048036038101906102a39190612b3f565b6109f2565b005b6102c460048036038101906102bf919061316b565b610b18565b005b6102e060048036038101906102db91906131f6565b610bb4565b6040516102ed919061332c565b60405180910390f35b610310600480360381019061030b91906133ef565b610ccd565b005b61032c60048036038101906103279190612f40565b610d97565b005b610336610e9f565b005b610352600480360381019061034d9190613438565b610f27565b005b61035c61103f565b60405161036991906134ee565b60405180910390f35b61037a611069565b6040516103879190612c05565b60405180910390f35b6103aa60048036038101906103a59190612b3f565b6110a2565b005b6103c660048036038101906103c19190613535565b6111c8565b005b6103e260048036038101906103dd9190613575565b6111de565b6040516103ef9190612b24565b60405180910390f35b610412600480360381019061040d91906135b5565b611272565b005b61042e60048036038101906104299190612b3f565b611313565b005b61044a60048036038101906104459190612b3f565b61140a565b005b61046660048036038101906104619190612b3f565b611530565b6040516104739190612b24565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e3906136be565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061061f575061061e82611550565b5b9050919050565b61062e6115ba565b73ffffffffffffffffffffffffffffffffffffffff1661064c61103f565b73ffffffffffffffffffffffffffffffffffffffff16146106a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106999061372a565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f61a38e21a1257ef9bf772ad61a4037c14a202b3730233b7253c725443c132d2d60006040516107419190612b24565b60405180910390a250565b60056020528060005260406000206000915054906101000a900460ff1681565b6040518060400160405280601a81526020017f536563757265204c6971756964204469676974616c204368697000000000000081525081565b6060600280546107b490613779565b80601f01602080910402602001604051908101604052809291908181526020018280546107e090613779565b801561082d5780601f106108025761010080835404028352916020019161082d565b820191906000526020600020905b81548152906001019060200180831161081057829003601f168201915b50505050509050919050565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc906137f6565b60405180910390fd5b60008351905060005b8181101561094a5761093f8582815181106108ec576108eb613816565b5b602002602001015185838151811061090757610906613816565b5b602002602001015185848151811061092257610921613816565b5b6020026020010151604051806020016040528060008152506115c2565b8060010190506108ce565b5050505050565b6109596115ba565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061099f575061099e856109996115ba565b6111de565b5b6109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d5906138b7565b60405180910390fd5b6109eb85858585856117ee565b5050505050565b6109fa6115ba565b73ffffffffffffffffffffffffffffffffffffffff16610a1861103f565b73ffffffffffffffffffffffffffffffffffffffff1614610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a659061372a565b60405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fc6a23a0a2412457bc174b0b04538a04d162131389a2e6bafcb3c90d104004e166000604051610b0d9190612b24565b60405180910390a250565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b90613923565b60405180910390fd5b610baf838383611b0f565b505050565b60608151835114610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906139b5565b60405180910390fd5b6000835167ffffffffffffffff811115610c1757610c16612c59565b5b604051908082528060200260200182016040528015610c455781602001602082028036833780820191505090505b50905060005b8451811015610cc257610c92858281518110610c6a57610c69613816565b5b6020026020010151858381518110610c8557610c84613816565b5b602002602001015161047c565b828281518110610ca557610ca4613816565b5b60200260200101818152505080610cbb90613a04565b9050610c4b565b508091505092915050565b610cd56115ba565b73ffffffffffffffffffffffffffffffffffffffff16610cf361103f565b73ffffffffffffffffffffffffffffffffffffffff1614610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d409061372a565b60405180910390fd5b610d5281611ddd565b80604051610d609190613a88565b60405180910390207f7d6e10e74d1c60489c754e7491b7d49907732ac426f0254914810d50ba6cc21860405160405180910390a250565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1a90613923565b60405180910390fd5b60008351905060005b81811015610e9857610e8d858281518110610e4a57610e49613816565b5b6020026020010151858381518110610e6557610e64613816565b5b6020026020010151858481518110610e8057610e7f613816565b5b6020026020010151611b0f565b806001019050610e2c565b5050505050565b610ea76115ba565b73ffffffffffffffffffffffffffffffffffffffff16610ec561103f565b73ffffffffffffffffffffffffffffffffffffffff1614610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f129061372a565b60405180910390fd5b610f256000611df7565b565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa906137f6565b60405180910390fd5b60008351905060005b818110156110385761102d858281518110610fda57610fd9613816565b5b6020026020010151858381518110610ff557610ff4613816565b5b60200260200101518584815181106110105761100f613816565b5b602002602001015160405180602001604052806000815250611ebd565b806001019050610fbc565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600381526020017f534c44000000000000000000000000000000000000000000000000000000000081525081565b6110aa6115ba565b73ffffffffffffffffffffffffffffffffffffffff166110c861103f565b73ffffffffffffffffffffffffffffffffffffffff161461111e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111159061372a565b60405180910390fd5b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fc6a23a0a2412457bc174b0b04538a04d162131389a2e6bafcb3c90d104004e1660016040516111bd9190612b24565b60405180910390a250565b6111da6111d36115ba565b838361206d565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61127a6115ba565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806112c057506112bf856112ba6115ba565b6111de565b5b6112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690613b11565b60405180910390fd5b61130c85858585856121d9565b5050505050565b61131b6115ba565b73ffffffffffffffffffffffffffffffffffffffff1661133961103f565b73ffffffffffffffffffffffffffffffffffffffff161461138f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113869061372a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590613ba3565b60405180910390fd5b61140781611df7565b50565b6114126115ba565b73ffffffffffffffffffffffffffffffffffffffff1661143061103f565b73ffffffffffffffffffffffffffffffffffffffff1614611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d9061372a565b60405180910390fd5b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f61a38e21a1257ef9bf772ad61a4037c14a202b3730233b7253c725443c132d2d60016040516115259190612b24565b60405180910390a250565b60046020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890613c35565b60405180910390fd5b8151835114611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166c90613cc7565b60405180910390fd5b600061167f6115ba565b905061169081600087878787612474565b60005b8451811015611749578381815181106116af576116ae613816565b5b60200260200101516000808784815181106116cd576116cc613816565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172f9190613ce7565b92505081905550808061174190613a04565b915050611693565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117c1929190613d3d565b60405180910390a46117d88160008787878761247c565b6117e781600087878787612484565b5050505050565b8151835114611832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182990613cc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189890613de6565b60405180910390fd5b60006118ab6115ba565b90506118bb818787878787612474565b60005b8451811015611a6c5760008582815181106118dc576118db613816565b5b6020026020010151905060008583815181106118fb576118fa613816565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390613e78565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a519190613ce7565b9250508190555050505080611a6590613a04565b90506118be565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ae3929190613d3d565b60405180910390a4611af981878787878761247c565b611b07818787878787612484565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7590613f0a565b60405180910390fd5b8051825114611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb990613cc7565b60405180910390fd5b6000611bcc6115ba565b9050611bec81856000868660405180602001604052806000815250612474565b60005b8351811015611d39576000848281518110611c0d57611c0c613816565b5b602002602001015190506000848381518110611c2c57611c2b613816565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490613f9c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611d3190613a04565b915050611bef565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611db1929190613d3d565b60405180910390a4611dd78185600086866040518060200160405280600081525061247c565b50505050565b8060029080519060200190611df39291906128cf565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2390613c35565b60405180910390fd5b6000611f366115ba565b90506000611f438561265b565b90506000611f508561265b565b9050611f6183600089858589612474565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc09190613ce7565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161203e929190613fbc565b60405180910390a46120558360008985858961247c565b612064836000898989896126d5565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290614057565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121cc9190612b24565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f90613de6565b60405180910390fd5b60006122526115ba565b9050600061225f8561265b565b9050600061226c8561265b565b905061227c838989858589612474565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a90613e78565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c89190613ce7565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612445929190613fbc565b60405180910390a461245b848a8a86868a61247c565b612469848a8a8a8a8a6126d5565b505050505050505050565b505050505050565b505050505050565b6124a38473ffffffffffffffffffffffffffffffffffffffff166128ac565b15612653578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016124e99594939291906140cc565b6020604051808303816000875af192505050801561252557506040513d601f19601f820116820180604052508101906125229190614149565b60015b6125ca57612531614183565b806308c379a00361258d57506125456141a5565b80612550575061258f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125849190612c05565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c1906142a7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264890614339565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561267a57612679612c59565b5b6040519080825280602002602001820160405280156126a85781602001602082028036833780820191505090505b50905082816000815181106126c0576126bf613816565b5b60200260200101818152505080915050919050565b6126f48473ffffffffffffffffffffffffffffffffffffffff166128ac565b156128a4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161273a959493929190614359565b6020604051808303816000875af192505050801561277657506040513d601f19601f820116820180604052508101906127739190614149565b60015b61281b57612782614183565b806308c379a0036127de57506127966141a5565b806127a157506127e0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d59190612c05565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612812906142a7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146128a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289990614339565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546128db90613779565b90600052602060002090601f0160209004810192826128fd5760008555612944565b82601f1061291657805160ff1916838001178555612944565b82800160010185558215612944579182015b82811115612943578251825591602001919060010190612928565b5b5090506129519190612955565b5090565b5b8082111561296e576000816000905550600101612956565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129b182612986565b9050919050565b6129c1816129a6565b81146129cc57600080fd5b50565b6000813590506129de816129b8565b92915050565b6000819050919050565b6129f7816129e4565b8114612a0257600080fd5b50565b600081359050612a14816129ee565b92915050565b60008060408385031215612a3157612a3061297c565b5b6000612a3f858286016129cf565b9250506020612a5085828601612a05565b9150509250929050565b612a63816129e4565b82525050565b6000602082019050612a7e6000830184612a5a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ab981612a84565b8114612ac457600080fd5b50565b600081359050612ad681612ab0565b92915050565b600060208284031215612af257612af161297c565b5b6000612b0084828501612ac7565b91505092915050565b60008115159050919050565b612b1e81612b09565b82525050565b6000602082019050612b396000830184612b15565b92915050565b600060208284031215612b5557612b5461297c565b5b6000612b63848285016129cf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ba6578082015181840152602081019050612b8b565b83811115612bb5576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bd782612b6c565b612be18185612b77565b9350612bf1818560208601612b88565b612bfa81612bbb565b840191505092915050565b60006020820190508181036000830152612c1f8184612bcc565b905092915050565b600060208284031215612c3d57612c3c61297c565b5b6000612c4b84828501612a05565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c9182612bbb565b810181811067ffffffffffffffff82111715612cb057612caf612c59565b5b80604052505050565b6000612cc3612972565b9050612ccf8282612c88565b919050565b600067ffffffffffffffff821115612cef57612cee612c59565b5b602082029050602081019050919050565b600080fd5b6000612d18612d1384612cd4565b612cb9565b90508083825260208201905060208402830185811115612d3b57612d3a612d00565b5b835b81811015612d645780612d5088826129cf565b845260208401935050602081019050612d3d565b5050509392505050565b600082601f830112612d8357612d82612c54565b5b8135612d93848260208601612d05565b91505092915050565b600067ffffffffffffffff821115612db757612db6612c59565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612de357612de2612c59565b5b602082029050602081019050919050565b6000612e07612e0284612dc8565b612cb9565b90508083825260208201905060208402830185811115612e2a57612e29612d00565b5b835b81811015612e535780612e3f8882612a05565b845260208401935050602081019050612e2c565b5050509392505050565b600082601f830112612e7257612e71612c54565b5b8135612e82848260208601612df4565b91505092915050565b6000612e9e612e9984612d9c565b612cb9565b90508083825260208201905060208402830185811115612ec157612ec0612d00565b5b835b81811015612f0857803567ffffffffffffffff811115612ee657612ee5612c54565b5b808601612ef38982612e5d565b85526020850194505050602081019050612ec3565b5050509392505050565b600082601f830112612f2757612f26612c54565b5b8135612f37848260208601612e8b565b91505092915050565b600080600060608486031215612f5957612f5861297c565b5b600084013567ffffffffffffffff811115612f7757612f76612981565b5b612f8386828701612d6e565b935050602084013567ffffffffffffffff811115612fa457612fa3612981565b5b612fb086828701612f12565b925050604084013567ffffffffffffffff811115612fd157612fd0612981565b5b612fdd86828701612f12565b9150509250925092565b600080fd5b600067ffffffffffffffff82111561300757613006612c59565b5b61301082612bbb565b9050602081019050919050565b82818337600083830152505050565b600061303f61303a84612fec565b612cb9565b90508281526020810184848401111561305b5761305a612fe7565b5b61306684828561301d565b509392505050565b600082601f83011261308357613082612c54565b5b813561309384826020860161302c565b91505092915050565b600080600080600060a086880312156130b8576130b761297c565b5b60006130c6888289016129cf565b95505060206130d7888289016129cf565b945050604086013567ffffffffffffffff8111156130f8576130f7612981565b5b61310488828901612e5d565b935050606086013567ffffffffffffffff81111561312557613124612981565b5b61313188828901612e5d565b925050608086013567ffffffffffffffff81111561315257613151612981565b5b61315e8882890161306e565b9150509295509295909350565b6000806000606084860312156131845761318361297c565b5b6000613192868287016129cf565b935050602084013567ffffffffffffffff8111156131b3576131b2612981565b5b6131bf86828701612e5d565b925050604084013567ffffffffffffffff8111156131e0576131df612981565b5b6131ec86828701612e5d565b9150509250925092565b6000806040838503121561320d5761320c61297c565b5b600083013567ffffffffffffffff81111561322b5761322a612981565b5b61323785828601612d6e565b925050602083013567ffffffffffffffff81111561325857613257612981565b5b61326485828601612e5d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6132a3816129e4565b82525050565b60006132b5838361329a565b60208301905092915050565b6000602082019050919050565b60006132d98261326e565b6132e38185613279565b93506132ee8361328a565b8060005b8381101561331f57815161330688826132a9565b9750613311836132c1565b9250506001810190506132f2565b5085935050505092915050565b6000602082019050818103600083015261334681846132ce565b905092915050565b600067ffffffffffffffff82111561336957613368612c59565b5b61337282612bbb565b9050602081019050919050565b600061339261338d8461334e565b612cb9565b9050828152602081018484840111156133ae576133ad612fe7565b5b6133b984828561301d565b509392505050565b600082601f8301126133d6576133d5612c54565b5b81356133e684826020860161337f565b91505092915050565b6000602082840312156134055761340461297c565b5b600082013567ffffffffffffffff81111561342357613422612981565b5b61342f848285016133c1565b91505092915050565b6000806000606084860312156134515761345061297c565b5b600084013567ffffffffffffffff81111561346f5761346e612981565b5b61347b86828701612d6e565b935050602084013567ffffffffffffffff81111561349c5761349b612981565b5b6134a886828701612e5d565b925050604084013567ffffffffffffffff8111156134c9576134c8612981565b5b6134d586828701612e5d565b9150509250925092565b6134e8816129a6565b82525050565b600060208201905061350360008301846134df565b92915050565b61351281612b09565b811461351d57600080fd5b50565b60008135905061352f81613509565b92915050565b6000806040838503121561354c5761354b61297c565b5b600061355a858286016129cf565b925050602061356b85828601613520565b9150509250929050565b6000806040838503121561358c5761358b61297c565b5b600061359a858286016129cf565b92505060206135ab858286016129cf565b9150509250929050565b600080600080600060a086880312156135d1576135d061297c565b5b60006135df888289016129cf565b95505060206135f0888289016129cf565b945050604061360188828901612a05565b935050606061361288828901612a05565b925050608086013567ffffffffffffffff81111561363357613632612981565b5b61363f8882890161306e565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006136a8602b83612b77565b91506136b38261364c565b604082019050919050565b600060208201905081810360008301526136d78161369b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613714602083612b77565b915061371f826136de565b602082019050919050565b6000602082019050818103600083015261374381613707565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061379157607f821691505b6020821081036137a4576137a361374a565b5b50919050565b7f63616e6e6f74206d696e74000000000000000000000000000000000000000000600082015250565b60006137e0600b83612b77565b91506137eb826137aa565b602082019050919050565b6000602082019050818103600083015261380f816137d3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006138a1603283612b77565b91506138ac82613845565b604082019050919050565b600060208201905081810360008301526138d081613894565b9050919050565b7f63616e6e6f74206275726e000000000000000000000000000000000000000000600082015250565b600061390d600b83612b77565b9150613918826138d7565b602082019050919050565b6000602082019050818103600083015261393c81613900565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061399f602983612b77565b91506139aa82613943565b604082019050919050565b600060208201905081810360008301526139ce81613992565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0f826129e4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a4157613a406139d5565b5b600182019050919050565b600081905092915050565b6000613a6282612b6c565b613a6c8185613a4c565b9350613a7c818560208601612b88565b80840191505092915050565b6000613a948284613a57565b915081905092915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613afb602983612b77565b9150613b0682613a9f565b604082019050919050565b60006020820190508181036000830152613b2a81613aee565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b8d602683612b77565b9150613b9882613b31565b604082019050919050565b60006020820190508181036000830152613bbc81613b80565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c1f602183612b77565b9150613c2a82613bc3565b604082019050919050565b60006020820190508181036000830152613c4e81613c12565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613cb1602883612b77565b9150613cbc82613c55565b604082019050919050565b60006020820190508181036000830152613ce081613ca4565b9050919050565b6000613cf2826129e4565b9150613cfd836129e4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d3257613d316139d5565b5b828201905092915050565b60006040820190508181036000830152613d5781856132ce565b90508181036020830152613d6b81846132ce565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613dd0602583612b77565b9150613ddb82613d74565b604082019050919050565b60006020820190508181036000830152613dff81613dc3565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613e62602a83612b77565b9150613e6d82613e06565b604082019050919050565b60006020820190508181036000830152613e9181613e55565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613ef4602383612b77565b9150613eff82613e98565b604082019050919050565b60006020820190508181036000830152613f2381613ee7565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613f86602483612b77565b9150613f9182613f2a565b604082019050919050565b60006020820190508181036000830152613fb581613f79565b9050919050565b6000604082019050613fd16000830185612a5a565b613fde6020830184612a5a565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614041602983612b77565b915061404c82613fe5565b604082019050919050565b6000602082019050818103600083015261407081614034565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061409e82614077565b6140a88185614082565b93506140b8818560208601612b88565b6140c181612bbb565b840191505092915050565b600060a0820190506140e160008301886134df565b6140ee60208301876134df565b818103604083015261410081866132ce565b9050818103606083015261411481856132ce565b905081810360808301526141288184614093565b90509695505050505050565b60008151905061414381612ab0565b92915050565b60006020828403121561415f5761415e61297c565b5b600061416d84828501614134565b91505092915050565b60008160e01c9050919050565b600060033d11156141a25760046000803e61419f600051614176565b90505b90565b600060443d10614232576141b7612972565b60043d036004823e80513d602482011167ffffffffffffffff821117156141df575050614232565b808201805167ffffffffffffffff8111156141fd5750505050614232565b80602083010160043d03850181111561421a575050505050614232565b61422982602001850186612c88565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614291603483612b77565b915061429c82614235565b604082019050919050565b600060208201905081810360008301526142c081614284565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614323602883612b77565b915061432e826142c7565b604082019050919050565b6000602082019050818103600083015261435281614316565b9050919050565b600060a08201905061436e60008301886134df565b61437b60208301876134df565b6143886040830186612a5a565b6143956060830185612a5a565b81810360808301526143a78184614093565b9050969550505050505056fea2646970667358221220f56e5b0cbf04f1476dbeb67f86de5c24d7eef73aaa10eaae855b57db5074240764736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f7261676e61726f6b2d63686970732e6865726f6b756170702e636f6d2f63686970732f6e66742f7b69647d00000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101575760003560e01c80636d56461a116100c3578063a22cb4651161007c578063a22cb465146103ac578063e985e9c5146103c8578063f242432a146103f8578063f2fde38b14610414578063f44637ba14610430578063f46eccc41461044c57610157565b80636d56461a14610312578063715018a61461032e5780637970ce9f146103385780638da5cb5b1461035457806395d89b4114610372578063983b2d561461039057610157565b8063122ed67911610115578063122ed679146102565780632eb2c2d6146102725780633092afd51461028e5780633db0f8ab146102aa5780634e1273f4146102c6578063570b3c6a146102f657610157565b8062fdd58e1461015c57806301ffc9a71461018c57806302846858146101bc57806303d41e0e146101d857806306fdde03146102085780630e89341c14610226575b600080fd5b61017660048036038101906101719190612a1a565b61047c565b6040516101839190612a69565b60405180910390f35b6101a660048036038101906101a19190612adc565b610544565b6040516101b39190612b24565b60405180910390f35b6101d660048036038101906101d19190612b3f565b610626565b005b6101f260048036038101906101ed9190612b3f565b61074c565b6040516101ff9190612b24565b60405180910390f35b61021061076c565b60405161021d9190612c05565b60405180910390f35b610240600480360381019061023b9190612c27565b6107a5565b60405161024d9190612c05565b60405180910390f35b610270600480360381019061026b9190612f40565b610839565b005b61028c6004803603810190610287919061309c565b610951565b005b6102a860048036038101906102a39190612b3f565b6109f2565b005b6102c460048036038101906102bf919061316b565b610b18565b005b6102e060048036038101906102db91906131f6565b610bb4565b6040516102ed919061332c565b60405180910390f35b610310600480360381019061030b91906133ef565b610ccd565b005b61032c60048036038101906103279190612f40565b610d97565b005b610336610e9f565b005b610352600480360381019061034d9190613438565b610f27565b005b61035c61103f565b60405161036991906134ee565b60405180910390f35b61037a611069565b6040516103879190612c05565b60405180910390f35b6103aa60048036038101906103a59190612b3f565b6110a2565b005b6103c660048036038101906103c19190613535565b6111c8565b005b6103e260048036038101906103dd9190613575565b6111de565b6040516103ef9190612b24565b60405180910390f35b610412600480360381019061040d91906135b5565b611272565b005b61042e60048036038101906104299190612b3f565b611313565b005b61044a60048036038101906104459190612b3f565b61140a565b005b61046660048036038101906104619190612b3f565b611530565b6040516104739190612b24565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e3906136be565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061061f575061061e82611550565b5b9050919050565b61062e6115ba565b73ffffffffffffffffffffffffffffffffffffffff1661064c61103f565b73ffffffffffffffffffffffffffffffffffffffff16146106a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106999061372a565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f61a38e21a1257ef9bf772ad61a4037c14a202b3730233b7253c725443c132d2d60006040516107419190612b24565b60405180910390a250565b60056020528060005260406000206000915054906101000a900460ff1681565b6040518060400160405280601a81526020017f536563757265204c6971756964204469676974616c204368697000000000000081525081565b6060600280546107b490613779565b80601f01602080910402602001604051908101604052809291908181526020018280546107e090613779565b801561082d5780601f106108025761010080835404028352916020019161082d565b820191906000526020600020905b81548152906001019060200180831161081057829003601f168201915b50505050509050919050565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc906137f6565b60405180910390fd5b60008351905060005b8181101561094a5761093f8582815181106108ec576108eb613816565b5b602002602001015185838151811061090757610906613816565b5b602002602001015185848151811061092257610921613816565b5b6020026020010151604051806020016040528060008152506115c2565b8060010190506108ce565b5050505050565b6109596115ba565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061099f575061099e856109996115ba565b6111de565b5b6109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d5906138b7565b60405180910390fd5b6109eb85858585856117ee565b5050505050565b6109fa6115ba565b73ffffffffffffffffffffffffffffffffffffffff16610a1861103f565b73ffffffffffffffffffffffffffffffffffffffff1614610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a659061372a565b60405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fc6a23a0a2412457bc174b0b04538a04d162131389a2e6bafcb3c90d104004e166000604051610b0d9190612b24565b60405180910390a250565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b90613923565b60405180910390fd5b610baf838383611b0f565b505050565b60608151835114610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906139b5565b60405180910390fd5b6000835167ffffffffffffffff811115610c1757610c16612c59565b5b604051908082528060200260200182016040528015610c455781602001602082028036833780820191505090505b50905060005b8451811015610cc257610c92858281518110610c6a57610c69613816565b5b6020026020010151858381518110610c8557610c84613816565b5b602002602001015161047c565b828281518110610ca557610ca4613816565b5b60200260200101818152505080610cbb90613a04565b9050610c4b565b508091505092915050565b610cd56115ba565b73ffffffffffffffffffffffffffffffffffffffff16610cf361103f565b73ffffffffffffffffffffffffffffffffffffffff1614610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d409061372a565b60405180910390fd5b610d5281611ddd565b80604051610d609190613a88565b60405180910390207f7d6e10e74d1c60489c754e7491b7d49907732ac426f0254914810d50ba6cc21860405160405180910390a250565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1a90613923565b60405180910390fd5b60008351905060005b81811015610e9857610e8d858281518110610e4a57610e49613816565b5b6020026020010151858381518110610e6557610e64613816565b5b6020026020010151858481518110610e8057610e7f613816565b5b6020026020010151611b0f565b806001019050610e2c565b5050505050565b610ea76115ba565b73ffffffffffffffffffffffffffffffffffffffff16610ec561103f565b73ffffffffffffffffffffffffffffffffffffffff1614610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f129061372a565b60405180910390fd5b610f256000611df7565b565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa906137f6565b60405180910390fd5b60008351905060005b818110156110385761102d858281518110610fda57610fd9613816565b5b6020026020010151858381518110610ff557610ff4613816565b5b60200260200101518584815181106110105761100f613816565b5b602002602001015160405180602001604052806000815250611ebd565b806001019050610fbc565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600381526020017f534c44000000000000000000000000000000000000000000000000000000000081525081565b6110aa6115ba565b73ffffffffffffffffffffffffffffffffffffffff166110c861103f565b73ffffffffffffffffffffffffffffffffffffffff161461111e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111159061372a565b60405180910390fd5b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fc6a23a0a2412457bc174b0b04538a04d162131389a2e6bafcb3c90d104004e1660016040516111bd9190612b24565b60405180910390a250565b6111da6111d36115ba565b838361206d565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61127a6115ba565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806112c057506112bf856112ba6115ba565b6111de565b5b6112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690613b11565b60405180910390fd5b61130c85858585856121d9565b5050505050565b61131b6115ba565b73ffffffffffffffffffffffffffffffffffffffff1661133961103f565b73ffffffffffffffffffffffffffffffffffffffff161461138f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113869061372a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590613ba3565b60405180910390fd5b61140781611df7565b50565b6114126115ba565b73ffffffffffffffffffffffffffffffffffffffff1661143061103f565b73ffffffffffffffffffffffffffffffffffffffff1614611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d9061372a565b60405180910390fd5b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f61a38e21a1257ef9bf772ad61a4037c14a202b3730233b7253c725443c132d2d60016040516115259190612b24565b60405180910390a250565b60046020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890613c35565b60405180910390fd5b8151835114611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166c90613cc7565b60405180910390fd5b600061167f6115ba565b905061169081600087878787612474565b60005b8451811015611749578381815181106116af576116ae613816565b5b60200260200101516000808784815181106116cd576116cc613816565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172f9190613ce7565b92505081905550808061174190613a04565b915050611693565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117c1929190613d3d565b60405180910390a46117d88160008787878761247c565b6117e781600087878787612484565b5050505050565b8151835114611832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182990613cc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189890613de6565b60405180910390fd5b60006118ab6115ba565b90506118bb818787878787612474565b60005b8451811015611a6c5760008582815181106118dc576118db613816565b5b6020026020010151905060008583815181106118fb576118fa613816565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390613e78565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a519190613ce7565b9250508190555050505080611a6590613a04565b90506118be565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ae3929190613d3d565b60405180910390a4611af981878787878761247c565b611b07818787878787612484565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7590613f0a565b60405180910390fd5b8051825114611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb990613cc7565b60405180910390fd5b6000611bcc6115ba565b9050611bec81856000868660405180602001604052806000815250612474565b60005b8351811015611d39576000848281518110611c0d57611c0c613816565b5b602002602001015190506000848381518110611c2c57611c2b613816565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490613f9c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611d3190613a04565b915050611bef565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611db1929190613d3d565b60405180910390a4611dd78185600086866040518060200160405280600081525061247c565b50505050565b8060029080519060200190611df39291906128cf565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2390613c35565b60405180910390fd5b6000611f366115ba565b90506000611f438561265b565b90506000611f508561265b565b9050611f6183600089858589612474565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc09190613ce7565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161203e929190613fbc565b60405180910390a46120558360008985858961247c565b612064836000898989896126d5565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290614057565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121cc9190612b24565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f90613de6565b60405180910390fd5b60006122526115ba565b9050600061225f8561265b565b9050600061226c8561265b565b905061227c838989858589612474565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a90613e78565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c89190613ce7565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612445929190613fbc565b60405180910390a461245b848a8a86868a61247c565b612469848a8a8a8a8a6126d5565b505050505050505050565b505050505050565b505050505050565b6124a38473ffffffffffffffffffffffffffffffffffffffff166128ac565b15612653578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016124e99594939291906140cc565b6020604051808303816000875af192505050801561252557506040513d601f19601f820116820180604052508101906125229190614149565b60015b6125ca57612531614183565b806308c379a00361258d57506125456141a5565b80612550575061258f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125849190612c05565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c1906142a7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264890614339565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561267a57612679612c59565b5b6040519080825280602002602001820160405280156126a85781602001602082028036833780820191505090505b50905082816000815181106126c0576126bf613816565b5b60200260200101818152505080915050919050565b6126f48473ffffffffffffffffffffffffffffffffffffffff166128ac565b156128a4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161273a959493929190614359565b6020604051808303816000875af192505050801561277657506040513d601f19601f820116820180604052508101906127739190614149565b60015b61281b57612782614183565b806308c379a0036127de57506127966141a5565b806127a157506127e0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d59190612c05565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612812906142a7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146128a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289990614339565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546128db90613779565b90600052602060002090601f0160209004810192826128fd5760008555612944565b82601f1061291657805160ff1916838001178555612944565b82800160010185558215612944579182015b82811115612943578251825591602001919060010190612928565b5b5090506129519190612955565b5090565b5b8082111561296e576000816000905550600101612956565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129b182612986565b9050919050565b6129c1816129a6565b81146129cc57600080fd5b50565b6000813590506129de816129b8565b92915050565b6000819050919050565b6129f7816129e4565b8114612a0257600080fd5b50565b600081359050612a14816129ee565b92915050565b60008060408385031215612a3157612a3061297c565b5b6000612a3f858286016129cf565b9250506020612a5085828601612a05565b9150509250929050565b612a63816129e4565b82525050565b6000602082019050612a7e6000830184612a5a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ab981612a84565b8114612ac457600080fd5b50565b600081359050612ad681612ab0565b92915050565b600060208284031215612af257612af161297c565b5b6000612b0084828501612ac7565b91505092915050565b60008115159050919050565b612b1e81612b09565b82525050565b6000602082019050612b396000830184612b15565b92915050565b600060208284031215612b5557612b5461297c565b5b6000612b63848285016129cf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ba6578082015181840152602081019050612b8b565b83811115612bb5576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bd782612b6c565b612be18185612b77565b9350612bf1818560208601612b88565b612bfa81612bbb565b840191505092915050565b60006020820190508181036000830152612c1f8184612bcc565b905092915050565b600060208284031215612c3d57612c3c61297c565b5b6000612c4b84828501612a05565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c9182612bbb565b810181811067ffffffffffffffff82111715612cb057612caf612c59565b5b80604052505050565b6000612cc3612972565b9050612ccf8282612c88565b919050565b600067ffffffffffffffff821115612cef57612cee612c59565b5b602082029050602081019050919050565b600080fd5b6000612d18612d1384612cd4565b612cb9565b90508083825260208201905060208402830185811115612d3b57612d3a612d00565b5b835b81811015612d645780612d5088826129cf565b845260208401935050602081019050612d3d565b5050509392505050565b600082601f830112612d8357612d82612c54565b5b8135612d93848260208601612d05565b91505092915050565b600067ffffffffffffffff821115612db757612db6612c59565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612de357612de2612c59565b5b602082029050602081019050919050565b6000612e07612e0284612dc8565b612cb9565b90508083825260208201905060208402830185811115612e2a57612e29612d00565b5b835b81811015612e535780612e3f8882612a05565b845260208401935050602081019050612e2c565b5050509392505050565b600082601f830112612e7257612e71612c54565b5b8135612e82848260208601612df4565b91505092915050565b6000612e9e612e9984612d9c565b612cb9565b90508083825260208201905060208402830185811115612ec157612ec0612d00565b5b835b81811015612f0857803567ffffffffffffffff811115612ee657612ee5612c54565b5b808601612ef38982612e5d565b85526020850194505050602081019050612ec3565b5050509392505050565b600082601f830112612f2757612f26612c54565b5b8135612f37848260208601612e8b565b91505092915050565b600080600060608486031215612f5957612f5861297c565b5b600084013567ffffffffffffffff811115612f7757612f76612981565b5b612f8386828701612d6e565b935050602084013567ffffffffffffffff811115612fa457612fa3612981565b5b612fb086828701612f12565b925050604084013567ffffffffffffffff811115612fd157612fd0612981565b5b612fdd86828701612f12565b9150509250925092565b600080fd5b600067ffffffffffffffff82111561300757613006612c59565b5b61301082612bbb565b9050602081019050919050565b82818337600083830152505050565b600061303f61303a84612fec565b612cb9565b90508281526020810184848401111561305b5761305a612fe7565b5b61306684828561301d565b509392505050565b600082601f83011261308357613082612c54565b5b813561309384826020860161302c565b91505092915050565b600080600080600060a086880312156130b8576130b761297c565b5b60006130c6888289016129cf565b95505060206130d7888289016129cf565b945050604086013567ffffffffffffffff8111156130f8576130f7612981565b5b61310488828901612e5d565b935050606086013567ffffffffffffffff81111561312557613124612981565b5b61313188828901612e5d565b925050608086013567ffffffffffffffff81111561315257613151612981565b5b61315e8882890161306e565b9150509295509295909350565b6000806000606084860312156131845761318361297c565b5b6000613192868287016129cf565b935050602084013567ffffffffffffffff8111156131b3576131b2612981565b5b6131bf86828701612e5d565b925050604084013567ffffffffffffffff8111156131e0576131df612981565b5b6131ec86828701612e5d565b9150509250925092565b6000806040838503121561320d5761320c61297c565b5b600083013567ffffffffffffffff81111561322b5761322a612981565b5b61323785828601612d6e565b925050602083013567ffffffffffffffff81111561325857613257612981565b5b61326485828601612e5d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6132a3816129e4565b82525050565b60006132b5838361329a565b60208301905092915050565b6000602082019050919050565b60006132d98261326e565b6132e38185613279565b93506132ee8361328a565b8060005b8381101561331f57815161330688826132a9565b9750613311836132c1565b9250506001810190506132f2565b5085935050505092915050565b6000602082019050818103600083015261334681846132ce565b905092915050565b600067ffffffffffffffff82111561336957613368612c59565b5b61337282612bbb565b9050602081019050919050565b600061339261338d8461334e565b612cb9565b9050828152602081018484840111156133ae576133ad612fe7565b5b6133b984828561301d565b509392505050565b600082601f8301126133d6576133d5612c54565b5b81356133e684826020860161337f565b91505092915050565b6000602082840312156134055761340461297c565b5b600082013567ffffffffffffffff81111561342357613422612981565b5b61342f848285016133c1565b91505092915050565b6000806000606084860312156134515761345061297c565b5b600084013567ffffffffffffffff81111561346f5761346e612981565b5b61347b86828701612d6e565b935050602084013567ffffffffffffffff81111561349c5761349b612981565b5b6134a886828701612e5d565b925050604084013567ffffffffffffffff8111156134c9576134c8612981565b5b6134d586828701612e5d565b9150509250925092565b6134e8816129a6565b82525050565b600060208201905061350360008301846134df565b92915050565b61351281612b09565b811461351d57600080fd5b50565b60008135905061352f81613509565b92915050565b6000806040838503121561354c5761354b61297c565b5b600061355a858286016129cf565b925050602061356b85828601613520565b9150509250929050565b6000806040838503121561358c5761358b61297c565b5b600061359a858286016129cf565b92505060206135ab858286016129cf565b9150509250929050565b600080600080600060a086880312156135d1576135d061297c565b5b60006135df888289016129cf565b95505060206135f0888289016129cf565b945050604061360188828901612a05565b935050606061361288828901612a05565b925050608086013567ffffffffffffffff81111561363357613632612981565b5b61363f8882890161306e565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006136a8602b83612b77565b91506136b38261364c565b604082019050919050565b600060208201905081810360008301526136d78161369b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613714602083612b77565b915061371f826136de565b602082019050919050565b6000602082019050818103600083015261374381613707565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061379157607f821691505b6020821081036137a4576137a361374a565b5b50919050565b7f63616e6e6f74206d696e74000000000000000000000000000000000000000000600082015250565b60006137e0600b83612b77565b91506137eb826137aa565b602082019050919050565b6000602082019050818103600083015261380f816137d3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006138a1603283612b77565b91506138ac82613845565b604082019050919050565b600060208201905081810360008301526138d081613894565b9050919050565b7f63616e6e6f74206275726e000000000000000000000000000000000000000000600082015250565b600061390d600b83612b77565b9150613918826138d7565b602082019050919050565b6000602082019050818103600083015261393c81613900565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061399f602983612b77565b91506139aa82613943565b604082019050919050565b600060208201905081810360008301526139ce81613992565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0f826129e4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a4157613a406139d5565b5b600182019050919050565b600081905092915050565b6000613a6282612b6c565b613a6c8185613a4c565b9350613a7c818560208601612b88565b80840191505092915050565b6000613a948284613a57565b915081905092915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613afb602983612b77565b9150613b0682613a9f565b604082019050919050565b60006020820190508181036000830152613b2a81613aee565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b8d602683612b77565b9150613b9882613b31565b604082019050919050565b60006020820190508181036000830152613bbc81613b80565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c1f602183612b77565b9150613c2a82613bc3565b604082019050919050565b60006020820190508181036000830152613c4e81613c12565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613cb1602883612b77565b9150613cbc82613c55565b604082019050919050565b60006020820190508181036000830152613ce081613ca4565b9050919050565b6000613cf2826129e4565b9150613cfd836129e4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d3257613d316139d5565b5b828201905092915050565b60006040820190508181036000830152613d5781856132ce565b90508181036020830152613d6b81846132ce565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613dd0602583612b77565b9150613ddb82613d74565b604082019050919050565b60006020820190508181036000830152613dff81613dc3565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613e62602a83612b77565b9150613e6d82613e06565b604082019050919050565b60006020820190508181036000830152613e9181613e55565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613ef4602383612b77565b9150613eff82613e98565b604082019050919050565b60006020820190508181036000830152613f2381613ee7565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613f86602483612b77565b9150613f9182613f2a565b604082019050919050565b60006020820190508181036000830152613fb581613f79565b9050919050565b6000604082019050613fd16000830185612a5a565b613fde6020830184612a5a565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614041602983612b77565b915061404c82613fe5565b604082019050919050565b6000602082019050818103600083015261407081614034565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061409e82614077565b6140a88185614082565b93506140b8818560208601612b88565b6140c181612bbb565b840191505092915050565b600060a0820190506140e160008301886134df565b6140ee60208301876134df565b818103604083015261410081866132ce565b9050818103606083015261411481856132ce565b905081810360808301526141288184614093565b90509695505050505050565b60008151905061414381612ab0565b92915050565b60006020828403121561415f5761415e61297c565b5b600061416d84828501614134565b91505092915050565b60008160e01c9050919050565b600060033d11156141a25760046000803e61419f600051614176565b90505b90565b600060443d10614232576141b7612972565b60043d036004823e80513d602482011167ffffffffffffffff821117156141df575050614232565b808201805167ffffffffffffffff8111156141fd5750505050614232565b80602083010160043d03850181111561421a575050505050614232565b61422982602001850186612c88565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614291603483612b77565b915061429c82614235565b604082019050919050565b600060208201905081810360008301526142c081614284565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614323602883612b77565b915061432e826142c7565b604082019050919050565b6000602082019050818103600083015261435281614316565b9050919050565b600060a08201905061436e60008301886134df565b61437b60208301876134df565b6143886040830186612a5a565b6143956060830185612a5a565b81810360808301526143a78184614093565b9050969550505050505056fea2646970667358221220f56e5b0cbf04f1476dbeb67f86de5c24d7eef73aaa10eaae855b57db5074240764736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f7261676e61726f6b2d63686970732e6865726f6b756170702e636f6d2f63686970732f6e66742f7b69647d00000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): https://ragnarok-chips.herokuapp.com/chips/nft/{id}
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [2] : 68747470733a2f2f7261676e61726f6b2d63686970732e6865726f6b75617070
Arg [3] : 2e636f6d2f63686970732f6e66742f7b69647d00000000000000000000000000
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.