Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Init | 5497302 | 7 days ago | IN | 0 ETH | 0.00000575 |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
MCV2_MultiToken
Compiler Version
v0.8.20+commit.a1b79de6
ZkSolc Version
v1.5.11
Optimization Enabled:
Yes with Mode 3
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity =0.8.20; import {ERC1155Initializable} from "./lib/ERC1155Initializable.sol"; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; /** * @title MCV2_MultiToken * @dev A multi-token contract that implements the ERC1155 standard. */ contract MCV2_MultiToken is ERC1155Initializable { error MCV2_MultiToken__AlreadyInitialized(); error MCV2_MultiToken__PermissionDenied(); error MCV2_MultiToken__BurnAmountExceedsTotalSupply(); error MCV2_MultiToken__NotApproved(); // ERC1155 spec does not include a name and symbol by default, but we have added them here for consistency. string public name; string public symbol; // Implement custom totalSupply tracking, since we only need to track the supply for tokenId = 0 uint256 public totalSupply; bool private _initialized; // false by default address public bond; // Bonding curve contract should have its minting permission /** * @dev Initializes the contract with the provided name, symbol, and URI. * @param name_ The name of the multi-token contract. * @param symbol_ The symbol of the multi-token contract. * @param uri_ The base URI for token metadata. */ function init(string calldata name_, string calldata symbol_, string calldata uri_) external { if(_initialized) revert MCV2_MultiToken__AlreadyInitialized(); _initialized = true; name = name_; symbol = symbol_; _setURI(uri_); bond = _msgSender(); } modifier onlyBond() { if (bond != _msgSender()) revert MCV2_MultiToken__PermissionDenied(); _; } /** * @dev Mints tokens by the bonding curve contract. * Minting should also provide liquidity to the bonding curve contract. * @param to The address to which the tokens will be minted. * @param amount The amount of tokens to mint. */ function mintByBond(address to, uint256 amount) external onlyBond { totalSupply += amount; _mint(to, 0, amount, ""); } /** * @dev Burns tokens by the bonding curve contract. * Users can simply send tokens to the token contract address for the same burning effect without changing the totalSupply. * @param account The address from which the tokens will be burned. * @param amount The amount of tokens to burn. */ function burnByBond(address account, uint256 amount) external onlyBond { if (amount > totalSupply) revert MCV2_MultiToken__BurnAmountExceedsTotalSupply(); if(!isApprovedForAll(account, bond)) revert MCV2_MultiToken__NotApproved(); // `msg.sender` is always be `_bond` unchecked { totalSupply -= amount; } _burn(account, 0, amount); } /** * @dev Added to support a common interface with ERC20 */ function decimals() public pure returns (uint8) { return 0; } /** * @dev Returns the contract URI for OpenSea compatibility. * @return The contract URI. */ function contractURI() external view returns (string memory) { return string(abi.encodePacked("https://mint.club/metadata/", Strings.toString(block.chainid), "/", symbol, ".json")); } }
// SPDX-License-Identifier: MIT pragma solidity =0.8.20; import {IERC1155} from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import {IERC1155Receiver} from "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import {IERC1155MetadataURI} from "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import {Context} from "@openzeppelin/contracts/utils/Context.sol"; import {IERC165, ERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import {Arrays} from "@openzeppelin/contracts/utils/Arrays.sol"; import {IERC1155Errors} from "@openzeppelin/contracts/interfaces/draft-IERC6093.sol"; /** * @notice A slightly modified version of ERC1155 (from OpenZeppelin 5.0.0) for initialization pattern. * Modifications are marekd with the MODIFIED tag. */ abstract contract ERC1155Initializable is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors { using Arrays for uint256[]; using Arrays for address[]; mapping(uint256 id => mapping(address account => uint256)) private _balances; mapping(address account => mapping(address operator => 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 internal _uri; // MODIFIED // MODIFIED: Removed for initialization pattern // 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 /* id */) public view virtual returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. */ function balanceOf(address account, uint256 id) public view virtual returns (uint256) { 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 returns (uint256[] memory) { if (accounts.length != ids.length) { revert ERC1155InvalidArrayLength(ids.length, accounts.length); } uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts.unsafeMemoryAccess(i), ids.unsafeMemoryAccess(i)); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual { address sender = _msgSender(); if (from != sender && !isApprovedForAll(from, sender)) { revert ERC1155MissingApprovalForAll(sender, from); } _safeTransferFrom(from, to, id, value, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) public virtual { address sender = _msgSender(); if (from != sender && !isApprovedForAll(from, sender)) { revert ERC1155MissingApprovalForAll(sender, from); } _safeBatchTransferFrom(from, to, ids, values, data); } /** * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from` * (or `to`) is the zero address. * * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise. * * Requirements: * * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received} * or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value. * - `ids` and `values` must have the same length. * * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead. */ function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual { if (ids.length != values.length) { revert ERC1155InvalidArrayLength(ids.length, values.length); } address operator = _msgSender(); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids.unsafeMemoryAccess(i); uint256 value = values.unsafeMemoryAccess(i); if (from != address(0)) { uint256 fromBalance = _balances[id][from]; if (fromBalance < value) { revert ERC1155InsufficientBalance(from, fromBalance, value, id); } unchecked { // Overflow not possible: value <= fromBalance _balances[id][from] = fromBalance - value; } } if (to != address(0)) { _balances[id][to] += value; } } if (ids.length == 1) { uint256 id = ids.unsafeMemoryAccess(0); uint256 value = values.unsafeMemoryAccess(0); emit TransferSingle(operator, from, to, id, value); } else { emit TransferBatch(operator, from, to, ids, values); } } /** * @dev Version of {_update} that performs the token acceptance check by calling * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it * contains code (eg. is a smart contract at the moment of execution). * * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any * update to the contract state after this function would break the check-effect-interaction pattern. Consider * overriding {_update} instead. */ function _updateWithAcceptanceCheck( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) internal virtual { _update(from, to, ids, values); if (to != address(0)) { address operator = _msgSender(); if (ids.length == 1) { uint256 id = ids.unsafeMemoryAccess(0); uint256 value = values.unsafeMemoryAccess(0); _doSafeTransferAcceptanceCheck(operator, from, to, id, value, data); } else { _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, values, data); } } } /** * @dev Transfers a `value` 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 `value` 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 value, bytes memory data) internal { if (to == address(0)) { revert ERC1155InvalidReceiver(address(0)); } if (from == address(0)) { revert ERC1155InvalidSender(address(0)); } (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value); _updateWithAcceptanceCheck(from, to, ids, values, 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. * - `ids` and `values` must have the same length. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) internal { if (to == address(0)) { revert ERC1155InvalidReceiver(address(0)); } if (from == address(0)) { revert ERC1155InvalidSender(address(0)); } _updateWithAcceptanceCheck(from, to, ids, values, 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 values 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 a `value` amount of tokens of 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 value, bytes memory data) internal { if (to == address(0)) { revert ERC1155InvalidReceiver(address(0)); } (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value); _updateWithAcceptanceCheck(address(0), to, ids, values, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `values` must have the same length. * - `to` cannot be the zero address. * - 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 values, bytes memory data) internal { if (to == address(0)) { revert ERC1155InvalidReceiver(address(0)); } _updateWithAcceptanceCheck(address(0), to, ids, values, data); } /** * @dev Destroys a `value` amount of tokens of type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `value` amount of tokens of type `id`. */ function _burn(address from, uint256 id, uint256 value) internal { if (from == address(0)) { revert ERC1155InvalidSender(address(0)); } (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value); _updateWithAcceptanceCheck(from, address(0), ids, values, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `value` amount of tokens of type `id`. * - `ids` and `values` must have the same length. */ function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal { if (from == address(0)) { revert ERC1155InvalidSender(address(0)); } _updateWithAcceptanceCheck(from, address(0), ids, values, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the zero address. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC1155InvalidOperator(address(0)); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Performs an acceptance check by calling {IERC1155-onERC1155Received} on the `to` address * if it contains code at the moment of execution. */ function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 value, bytes memory data ) private { if (to.code.length > 0) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { // Tokens rejected revert ERC1155InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { // non-ERC1155Receiver implementer revert ERC1155InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } /** * @dev Performs a batch acceptance check by calling {IERC1155-onERC1155BatchReceived} on the `to` address * if it contains code at the moment of execution. */ function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) private { if (to.code.length > 0) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { // Tokens rejected revert ERC1155InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { // non-ERC1155Receiver implementer revert ERC1155InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } /** * @dev Creates an array in memory with only one value for each of the elements provided. */ function _asSingletonArrays( uint256 element1, uint256 element2 ) private pure returns (uint256[] memory array1, uint256[] memory array2) { /// @solidity memory-safe-assembly assembly { // Load the free memory pointer array1 := mload(0x40) // Set array length to 1 mstore(array1, 1) // Store the single element at the next word after the length (where content starts) mstore(add(array1, 0x20), element1) // Repeat for next array locating it right after the first array array2 := add(array1, 0x40) mstore(array2, 1) mstore(add(array2, 0x20), element2) // Update the free memory pointer by pointing after the second array mstore(0x40, add(array2, 0x40)) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Arrays.sol) pragma solidity ^0.8.20; import {StorageSlot} from "./StorageSlot.sol"; import {Math} from "./math/Math.sol"; /** * @dev Collection of functions related to array types. */ library Arrays { using StorageSlot for bytes32; /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { uint256 low = 0; uint256 high = array.length; if (high == 0) { return 0; } while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds towards zero (it does integer division with truncation). if (unsafeAccess(array, mid).value > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && unsafeAccess(array, low - 1).value == element) { return low - 1; } else { return low; } } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) { bytes32 slot; // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr` // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays. /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getAddressSlot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) { bytes32 slot; // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr` // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays. /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getBytes32Slot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) { bytes32 slot; // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr` // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays. /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getUint256Slot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) { assembly { res := mload(add(add(arr, 0x20), mul(pos, 0x20))) } } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) { assembly { res := mload(add(add(arr, 0x20), mul(pos, 0x20))) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Interface that must be implemented by smart contracts in order to receive * ERC-1155 token transfers. */ 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 (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` amount of tokens of 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 value 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 a `value` amount of tokens of type `id` from `from` to `to`. * * WARNING: This function can potentially allow a reentrancy attack when transferring tokens * to an untrusted contract, when invoking {onERC1155Received} on the receiver. * Ensure to follow the checks-effects-interactions pattern and consider employing * reentrancy guards when interacting with untrusted contracts. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `value` 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 value, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * WARNING: This function can potentially allow a reentrancy attack when transferring tokens * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver. * Ensure to follow the checks-effects-interactions pattern and consider employing * reentrancy guards when interacting with untrusted contracts. * * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments. * * Requirements: * * - `ids` and `values` 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 values, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.20; import {IERC1155} from "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. */ 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 v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. pragma solidity ^0.8.20; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ```solidity * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(newImplementation.code.length > 0); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct StringSlot { string value; } struct BytesSlot { bytes value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` representation of the string storage pointer `store`. */ function getStringSlot(string storage store) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } /** * @dev Returns an `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`. */ function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
{ "evmVersion": "paris", "optimizer": { "enabled": true, "mode": "3" }, "outputSelection": { "*": { "*": [ "abi" ] } }, "detectMissingLibraries": false, "forceEVMLA": false, "enableEraVMExtensions": false, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC1155InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC1155InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"idsLength","type":"uint256"},{"internalType":"uint256","name":"valuesLength","type":"uint256"}],"name":"ERC1155InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC1155InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC1155InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC1155InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC1155MissingApprovalForAll","type":"error"},{"inputs":[],"name":"MCV2_MultiToken__AlreadyInitialized","type":"error"},{"inputs":[],"name":"MCV2_MultiToken__BurnAmountExceedsTotalSupply","type":"error"},{"inputs":[],"name":"MCV2_MultiToken__NotApproved","type":"error"},{"inputs":[],"name":"MCV2_MultiToken__PermissionDenied","type":"error"},{"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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bond","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnByBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"uri_","type":"string"}],"name":"init","outputs":[],"stateMutability":"nonpayable","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintByBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","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":"value","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
9c4d535b00000000000000000000000000000000000000000000000000000000000000000100034f6a345a59e945b81c6eaf7d6f189bd239f4ed44c9399ba852861836e200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x0002000000000002000a00000000000200010000000103550000006004100270000002ee0040019d0000008003000039000000400030043f0000000100200190000000350000c13d000002ee02400197000000040020008c000006510000413d000000000401043b000000e004400270000002f00040009c0000003d0000a13d000002f10040009c000000590000a13d000002f20040009c000000e10000a13d000002f30040009c0000014b0000613d000002f40040009c000001640000613d000002f50040009c000006510000c13d000000440020008c000006510000413d0000000002000416000000000002004b000006510000c13d0000000402100370000000000202043b000a00000002001d000003080020009c000006510000213d0000002401100370000000000301043b0000000601000039000000000101041a000000080110027000000308021001970000000001000411000000000012004b000003420000c13d0000000501000039000000000101041a000000000131004b000003aa0000813d0000031501000041000000800010043f000003160100004100000bb6000104300000000001000416000000000001004b000006510000c13d000000200100003900000100001004430000012000000443000002ef0100004100000bb50001042e000002fd0040009c000000b70000213d000003030040009c000000f90000213d000003060040009c000001af0000613d000003070040009c000006510000c13d000000240020008c000006510000413d0000000002000416000000000002004b000006510000c13d0000000401100370000000000201043b0000034400200198000006510000c13d00000001010000390000034502200197000003480020009c0000026f0000613d000003490020009c0000026f0000613d0000034a0020009c000000000100c019000000800010043f0000032e0100004100000bb50001042e000002f80040009c0000011e0000213d000002fb0040009c000001c80000613d000002fc0040009c000006510000c13d000000440020008c000006510000413d0000000003000416000000000003004b000006510000c13d0000000403100370000000000303043b000003170030009c000006510000213d0000002304300039000000000024004b000006510000813d0000000404300039000000000441034f000000000504043b000003170050009c000005fc0000213d00000005045002100000003f064000390000032f06600197000003180060009c000005fc0000213d0000008006600039000000400060043f000000800050043f00000024033000390000000004340019000000000024004b000006510000213d000000000005004b000000870000613d000000a005000039000000000631034f000000000606043b000003080060009c000006510000213d00000000056504360000002003300039000000000043004b0000007f0000413d0000002403100370000000000303043b000003170030009c000006510000213d0000002304300039000000000024004b000000000500001900000330050080410000033004400197000000000004004b00000000060000190000033006004041000003300040009c000000000605c019000000000006004b000006510000c13d0000000404300039000000000441034f000000000504043b000003170050009c000005fc0000213d00000005065002100000003f046000390000032f07400197000000400400043d0000000007740019000000000047004b00000000080000390000000108004039000003170070009c000005fc0000213d0000000100800190000005fc0000c13d000000400070043f0000000007540436000700000007001d00000024033000390000000006360019000000000026004b000006510000213d000000000005004b000006750000c13d000000800400043d000000000004004b00000000050000190000000003000019000006830000613d000007520000013d000002fe0040009c000001410000213d000003010040009c000002290000613d000003020040009c000006510000c13d000000440020008c000006510000413d0000000002000416000000000002004b000006510000c13d0000000402100370000000000202043b000800000002001d000003080020009c000006510000213d0000002401100370000000000101043b0000000602000039000000000202041a000000080220027000000308032001970000000002000411000000000023004b000003420000c13d000700000003001d0000000502000039000000000302041a000000000013001a000008ac0000413d0000000003130019000000000032041b000000a002000039000000400020043f000000800000043f000000080000006b000003d30000c13d0000033c01000041000000a00010043f000000a40000043f000003470100004100000bb600010430000002f60040009c000002310000613d000002f70040009c000006510000c13d0000000001000416000000000001004b000006510000c13d0000031b0100004100000000001004430000000001000414000002ee0010009c000002ee01008041000000c0011002100000031c011001c70000800b020000390bb40baf0000040f0000000100200190000005c10000613d000000000101043b0000031d0010009c000003460000413d00000040020000390000031d0310012a0000034f0000013d000003040040009c0000024a0000613d000003050040009c000006510000c13d000000240020008c000006510000413d0000000001000416000000000001004b000006510000c13d0000000203000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000552013f0000000100500190000003a40000c13d000000800010043f000000000004004b0000032c0000613d000000000030043f000000000001004b0000000002000019000003310000613d00000338030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000001160000413d000003310000013d000002f90040009c000002680000613d000002fa0040009c000006510000c13d0000000001000416000000000001004b000006510000c13d0000000403000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000552013f0000000100500190000003a40000c13d000000800010043f000000000004004b0000032c0000613d000000000030043f000000000001004b0000000002000019000003310000613d00000328030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000001390000413d000003310000013d000002ff0040009c000002720000613d000003000040009c000006510000c13d0000000001000416000000000001004b000006510000c13d000000800000043f0000032e0100004100000bb50001042e000000440020008c000006510000413d0000000002000416000000000002004b000006510000c13d0000000402100370000000000202043b000003080020009c000006510000213d0000002401100370000000000101043b000a00000001001d000003080010009c000006510000213d000000000020043f0000000101000039000000200010043f0bb40b9d0000040f0000000a020000290bb409070000040f000000000101041a000000ff001001900000000001000039000000010100c039000001c10000013d000000a40020008c000006510000413d0000000003000416000000000003004b000006510000c13d0000000403100370000000000303043b000a00000003001d000003080030009c000006510000213d0000002403100370000000000303043b000900000003001d000003080030009c000006510000213d0000008403100370000000000403043b000003170040009c000006510000213d0000002303400039000000000023004b000006510000813d0000000405400039000000000351034f000000000303043b000003170030009c000005fc0000213d0000001f073000390000034b077001970000003f077000390000034b07700197000003180070009c000005fc0000213d00000024044000390000008007700039000000400070043f000000800030043f0000000004430019000000000024004b000006510000213d0000002002500039000000000221034f0000034b043001980000001f0530018f000000a001400039000001980000613d000000a006000039000000000702034f000000007807043c0000000006860436000000000016004b000001940000c13d000000000005004b000001a50000613d000000000242034f0000000304500210000000000501043300000000054501cf000000000545022f000000000202043b0000010004400089000000000242022f00000000024201cf000000000252019f0000000000210435000000a001300039000000000001043500000000020004110000000a0020006b000005c20000c13d000000090000006b000006020000c13d000000400100043d0000033c02000041000006060000013d000000440020008c000006510000413d0000000002000416000000000002004b000006510000c13d0000000402100370000000000202043b000a00000002001d000003080020009c000006510000213d0000002401100370000000000101043b000000000010043f000000200000043f0bb40b9d0000040f0000000a020000290bb409070000040f000000000101041a000000400200043d0000000000120435000002ee0020009c000002ee0200804100000040012002100000031a011001c700000bb50001042e000000640020008c000006510000413d0000000003000416000000000003004b000006510000c13d0000000403100370000000000303043b000003170030009c000006510000213d0000002304300039000000000024004b000006510000813d0000000404300039000000000441034f000000000704043b000003170070009c000006510000213d00000024083000390000000003870019000000000023004b000006510000213d0000002403100370000000000303043b000003170030009c000006510000213d0000002304300039000000000024004b000006510000813d0000000404300039000000000441034f000000000404043b000003170040009c000006510000213d00000024063000390000000003640019000000000023004b000006510000213d0000004403100370000000000503043b000003170050009c000006510000213d0000002303500039000000000023004b000006510000813d0000000403500039000000000331034f000000000303043b000003170030009c000006510000213d00000024055000390000000009530019000000000029004b000006510000213d0000000602000039000000000902041a000000ff00900190000006e60000c13d0000034c0990019700000001099001bf000000000092041b0000000309000039000000000b09041a0000000100b00190000000010ab002700000007f0aa0618f0000001f00a0008c000000000c000039000000010c002039000000000bcb013f0000000100b00190000003a40000c13d0000002000a0008c000002200000413d000000000090043f0000001f0b700039000000050bb00270000003340bb0009a000000200070008c000003350b0040410000001f0aa00039000000050aa00270000003340aa0009a0000000000ab004b000002200000813d00000000000b041b000000010bb000390000000000ab004b0000021c0000413d0000001f0070008c000000010a700210000007b70000a13d000000000090043f0000034b0c700198000007d40000c13d000003350b000041000000000d000019000007de0000013d0000000001000416000000000001004b000006510000c13d0000000501000039000000000101041a000000800010043f0000032e0100004100000bb50001042e000000440020008c000006510000413d0000000002000416000000000002004b000006510000c13d0000000402100370000000000202043b000a00000002001d000003080020009c000006510000213d0000002401100370000000000201043b000000000002004b0000000001000039000000010100c039000900000002001d000000000012004b000006510000c13d0000000a0000006b0000041c0000c13d0000032c01000041000000800010043f000000840000043f0000032d0100004100000bb6000104300000000001000416000000000001004b000006510000c13d0000000303000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000054004b000003a40000c13d000000800010043f000000000004004b0000032c0000613d000000000030043f000000000001004b0000000002000019000003310000613d00000335030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000002600000413d000003310000013d0000000001000416000000000001004b000006510000c13d0000000601000039000000000101041a00000008011002700000030801100197000000800010043f0000032e0100004100000bb50001042e000000a40020008c000006510000413d0000000004000416000000000004004b000006510000c13d0000000404100370000000000404043b000a00000004001d000003080040009c000006510000213d0000002404100370000000000404043b000900000004001d000003080040009c000006510000213d0000004404100370000000000404043b000003170040009c000006510000213d0000002305400039000000000025004b000006510000813d0000000405400039000000000551034f000000000605043b000003170060009c000005fc0000213d00000005056002100000003f075000390000032f07700197000003180070009c000005fc0000213d0000008007700039000000400070043f000000800060043f00000024044000390000000005450019000000000025004b000006510000213d000000000006004b000002a20000613d000000000641034f000000000606043b000000200330003900000000006304350000002004400039000000000054004b0000029b0000413d0000006403100370000000000303043b000003170030009c000006510000213d0000002304300039000000000024004b000000000500001900000330050080410000033004400197000000000004004b00000000060000190000033006004041000003300040009c000000000605c019000000000006004b000006510000c13d0000000404300039000000000441034f000000000404043b000003170040009c000005fc0000213d00000005054002100000003f065000390000032f06600197000000400700043d0000000006670019000800000007001d000000000076004b00000000070000390000000107004039000003170060009c000005fc0000213d0000000100700190000005fc0000c13d000000400060043f0000000806000029000000000046043500000024033000390000000005350019000000000025004b000006510000213d000000000004004b000002d50000613d0000000804000029000000000631034f000000000606043b000000200440003900000000006404350000002003300039000000000053004b000002ce0000413d0000008403100370000000000403043b000003170040009c000006510000213d0000002303400039000000000023004b000000000500001900000330050080410000033003300197000000000003004b00000000060000190000033006004041000003300030009c000000000605c019000000000006004b000006510000c13d0000000405400039000000000351034f000000000303043b000003170030009c000005fc0000213d0000001f073000390000034b077001970000003f077000390000034b07700197000000400800043d0000000007780019000700000008001d000000000087004b00000000080000390000000108004039000003170070009c000005fc0000213d0000000100800190000005fc0000c13d0000002408400039000000400070043f000000070400002900000000043404360000000007830019000000000027004b000006510000213d0000002002500039000000000221034f0000034b053001980000001f0630018f00000000015400190000030b0000613d000000000702034f0000000008040019000000007907043c0000000008980436000000000018004b000003070000c13d000000000006004b000003180000613d000000000252034f0000000305600210000000000601043300000000065601cf000000000656022f000000000202043b0000010005500089000000000252022f00000000025201cf000000000262019f0000000000210435000000000134001900000000000104350000000a01000029000603080010019b0000000002000411000000060020006b000008830000c13d00000009010000290000030800100198000001ac0000613d000000060000006b000006040000613d00000080030000390000000a010000290000000902000029000000080400002900000007050000290bb409170000040f000000000100001900000bb50001042e0000034c02200197000000a00020043f000000000001004b00000020020000390000000002006039000000200220003900000080010000390bb408e00000040f000000400100043d000a00000001001d00000080020000390bb408f20000040f0000000a020000290000000001210049000002ee0010009c000002ee010080410000006001100210000002ee0020009c000002ee020080410000004002200210000000000121019f00000bb50001042e0000033d01000041000000800010043f000003160100004100000bb6000104300000031f0010009c00000000030100190000031e0330212a00000000020000390000002002002039000003200030009c00000010022081bf0000032103308197000003200330812a000003220030009c00000008022080390000031703308197000003220330812a000027100030008c0000000402208039000002ee03308197000027100330811a000000640030008c00000002022080390000ffff0330818f000000640330811a000000090030008c00000001022020390000034b062001970000005f036000390000034b07300197000000400400043d0000000003470019000000000073004b00000000070000390000000107004039000003170030009c000005fc0000213d0000000100700190000005fc0000c13d000000400030043f0000000103200039000000000334043600000020076000390000034b067001980000001f0570018f000003780000613d0000000006630019000000000700003100000001077003670000000008030019000000007907043c0000000008980436000000000068004b000003740000c13d000000000005004b00000000022400190000002102200039000000090010008c0000000a5110011a0000000305500210000000010220008a00000000060204330000032306600197000003240550021f0000032505500197000000000565019f00000000005204350000037b0000213d000000400100043d0000002005100039000003260200004100000000002504350000003b071000390000000002040433000000000002004b000003960000613d000000000400001900000000057400190000000006340019000000000606043300000000006504350000002004400039000000000024004b0000038f0000413d0000000002720019000003270300004100000000003204350000000404000039000000000304041a000000010530019000000001073002700000007f0770618f0000001f0070008c00000000060000390000000106002039000000000663013f0000000100600190000004510000613d0000033201000041000000000010043f0000002201000039000000040010043f000003120100004100000bb600010430000900000001001d000800000003001d000200000002001d0000000a01000029000000000010043f0000000101000039000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000202000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000400200043d000000000101043b000000000101041a000000ff00100190000005250000c13d00000313010000410000000000120435000002ee0020009c000002ee02008041000000400120021000000314011001c700000bb6000104300000000102000039000000a00020043f000000c00000043f000000e00020043f000001000010043f0000012001000039000000400010043f00008010020000390000000001000019000a00000001001d000000050110021000000100031000390000000003030433000900000003001d000000c0011000390000000001010433000000000010043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c70bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000802000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b000000000201041a0000000904000029000000000042001a000008ac0000413d0000000002420019000000000021041b0000000a010000290000000101100039000000a00400043d000000000041004b0000801002000039000003dc0000413d000000400100043d000000010040008c000004720000c13d0000002002100039000000c00300043d000001000400043d00000000004204350000000000310435000002ee0010009c000002ee0100804100000040011002100000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f00000309011001c70000800d0200003900000004030000390000030d04000041000004a10000013d0000000001000411000000000010043f0000000101000039000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000a02000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b000000000201041a0000034c022001970000000903000029000000000232019f000000000021041b000000400100043d0000000000310435000002ee0010009c000002ee0100804100000040011002100000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f0000032a011001c70000800d0200003900000003030000390000032b0400004100000000050004110000000a060000290bb40baa0000040f0000000100200190000006510000613d000000000100001900000bb50001042e0000000102200039000000000005004b000004610000613d000000000040043f000000000007004b000004630000613d000003280300004100000000040000190000000005240019000000000603041a000000000065043500000001033000390000002004400039000000000074004b000004590000413d000004630000013d0000034c03300197000000000032043500000000032700190000032902000041000000000023043500000000031300490000001b0230008a00000000002104350000000502300039000a00000001001d0bb408e00000040f000000400100043d000900000001001d0000000a020000290bb408f20000040f0000000902000029000003390000013d000000400200003900000000022104360000004003100039000000a00400043d00000000004304350000006003100039000000000004004b000004820000613d0000000005000019000000a0070000390000002007700039000000000607043300000000036304360000000105500039000000000045004b0000047c0000413d00000000041300490000000000420435000000e00400043d0000000002430436000000000004004b000004900000613d000000e00300003900000000050000190000002003300039000000000603043300000000026204360000000105500039000000000045004b0000048a0000413d0000000002120049000002ee0020009c000002ee020080410000006002200210000002ee0010009c000002ee010080410000004001100210000000000112019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000121019f0000030f011001c70000800d02000039000000040300003900000310040000410000000705000029000000000600001900000008070000290bb40baa0000040f0000000100200190000006510000613d000000a00100043d0000033e02000041000000000020044300000008020000290000000400200443000000010010008c000005330000c13d000001000100043d000900000001001d000000c00100043d000a00000001001d0000000001000414000002ee0010009c000002ee01008041000000c0011002100000033f011001c700008002020000390bb40baf0000040f0000000100200190000005c10000613d000000000101043b000000000001004b0000044f0000613d000000400300043d0000008401300039000000a002000039000000000021043500000064013000390000000902000029000000000021043500000044013000390000000a0200002900000000002104350000034601000041000000000013043500000004013000390000000702000029000000000021043500000024013000390000000000010435000000a402300039000000800100043d0000000000120435000600000003001d000000c402300039000000000001004b000004de0000613d00000000030000190000000004230019000000a005300039000000000505043300000000005404350000002003300039000000000013004b000004d70000413d0000001f031000390000034b0330019700000000012100190000000000010435000000c401300039000002ee0010009c000002ee0100804100000060011002100000000602000029000002ee0020009c000002ee020080410000004002200210000000000121019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f00000008020000290bb40baa0000040f0000006003100270000002ee03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000000605700029000005010000613d000000000801034f0000000609000029000000008a08043c0000000009a90436000000000059004b000004fd0000c13d000000000006004b0000050e0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000006bc0000613d0000001f01400039000000600210018f0000000601200029000000000021004b00000000020000390000000102004039000003170010009c000005fc0000213d0000000100200190000005fc0000c13d000000400010043f000000200030008c000006510000413d000000060200002900000000020204330000034400200198000006510000c13d0000034502200197000003460020009c0000044f0000613d000006e00000013d00000005010000390000000903000029000000000031041b0000000a0000006b000005ec0000c13d0000031101000041000000000012043500000004012000390000000000010435000002ee0020009c000002ee02008041000000400120021000000312011001c700000bb6000104300000000001000414000002ee0010009c000002ee01008041000000c0011002100000033f011001c700008002020000390bb40baf0000040f0000000100200190000005c10000613d000000000101043b000000000001004b0000044f0000613d000000400500043d0000004401500039000000a00200003900000000002104350000034001000041000000000015043500000004015000390000000703000029000000000031043500000024035000390000000000030435000000a403500039000000a00400043d0000000000430435000a00000005001d000000c403500039000000000004004b000005580000613d00000000050000190000002002200039000000000602043300000000036304360000000105500039000000000045004b000005520000413d00000000021300490000000a0400002900000064044000390000000000240435000000e00400043d0000000002430436000000000004004b000005680000613d000000e00300003900000000050000190000002003300039000000000603043300000000026204360000000105500039000000000045004b000005620000413d00000000011200490000000a0300002900000084033000390000000000130435000000800300043d0000000001320436000000000003004b000005780000613d00000000020000190000000004120019000000a005200039000000000505043300000000005404350000002002200039000000000032004b000005710000413d000000000213001900000000000204350000001f023000390000034b022001970000000a0300002900000000013100490000000001210019000002ee0010009c000002ee010080410000006001100210000002ee0030009c000002ee0200004100000000020340190000004002200210000000000121019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f00000008020000290bb40baa0000040f0000006003100270000002ee03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000000a057000290000059d0000613d000000000801034f0000000a09000029000000008a08043c0000000009a90436000000000059004b000005990000c13d000000000006004b000005aa0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000006d80000613d0000001f01400039000000600210018f0000000a01200029000000000021004b00000000020000390000000102004039000003170010009c000005fc0000213d0000000100200190000005fc0000c13d000000400010043f000000200030008c000006510000413d0000000a0200002900000000020204330000034400200198000006510000c13d0000034502200197000003400020009c0000044f0000613d000006e00000013d000000000001042f0000000a01000029000000000010043f0000000101000039000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b00000000020004110000030802200197000800000002001d000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b000000000101041a000000ff00100190000001aa0000c13d000000400100043d00000024021000390000000a03000029000000000032043500000319020000410000000000210435000000040210003900000008030000290000000000320435000007590000013d0000006001200039000400000001001d00000008030000290000000000310435000000010400003900000000034204360000004001200039000100000001001d0000000000410435000300000003001d0000000000030435000500000002001d0000008001200039000000400010043f0000030a0010009c0000060e0000a13d0000033201000041000000000010043f0000004101000039000000040010043f000003120100004100000bb6000104300000000a0000006b000006530000c13d000000400100043d0000031102000041000000000021043500000004021000390000000000020435000002ee0010009c000002ee01008041000000400110021000000312011001c700000bb6000104300000000503000029000000a002300039000000400020043f0000000000010435000000010100002900000000020104330000000001030433000000000021004b000006690000c13d000000000001004b000006ea0000c13d000000400100043d0000004002000039000000000221043600000005030000290000000004030433000000400310003900000000004304350000006003100039000000000004004b0000062b0000613d000000000500001900000005070000290000002007700039000000000607043300000000036304360000000105500039000000000045004b000006250000413d00000000041300490000000000420435000000010200002900000000040204330000000002430436000000000004004b0000063a0000613d000000000300001900000001060000290000002006600039000000000506043300000000025204360000000103300039000000000043004b000006340000413d0000000002120049000002ee0020009c000002ee020080410000006002200210000002ee0010009c000002ee010080410000004001100210000000000112019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000121019f0000030f011001c70000800d020000390000000403000039000003100400004100000002050000290000000a0600002900000000070000190bb40baa0000040f00000001002001900000044f0000c13d000000000100001900000bb60001043000000001010003670000004402100370000000000202043b0000006401100370000000000101043b000000400300043d000000600430003900000000001404350000002001300039000000000021043500000040043000390000000101000039000000000014043500000000001304350000008001300039000000400010043f00000080050000390000000a0100002900000009020000290bb409170000040f000000000100001900000bb50001042e000000400300043d000000240430003900000000002404350000030b02000041000000000023043500000004023000390000000000120435000002ee0030009c000002ee0300804100000040013002100000030c011001c700000bb6000104300000000005040019000000000731034f000000000707043b000000200550003900000000007504350000002003300039000000000063004b000006760000413d0000000003040433000000800400043d000000000034004b000007510000c13d000003170030009c000005fc0000213d00000005043002100000003f054000390000033106500197000000400500043d000600000005001d0000000005560019000000000065004b00000000060000390000000106004039000003170050009c000005fc0000213d0000000100600190000005fc0000c13d000000400050043f00000006050000290000000003350436000500000003001d0000001f0340018f000000000004004b0000069e0000613d000000000121034f00000005024000290000000504000029000000001501043c0000000004540436000000000024004b0000069a0000c13d000000000003004b000000800100043d000000000001004b000007850000c13d000000400100043d000000200200003900000000022104360000000603000029000000000303043300000000003204350000004002100039000000000003004b000006b30000613d000000000400001900000006060000290000002006600039000000000506043300000000025204360000000104400039000000000034004b000006ad0000413d0000000002120049000002ee0020009c000002ee020080410000006002200210000002ee0010009c000002ee010080410000004001100210000000000112019f00000bb50001042e000000000003004b000006da0000613d0000001f0230003900000341022001970000003f022000390000034204200197000000400200043d0000000004420019000000000024004b00000000050000390000000105004039000003170040009c000005fc0000213d0000000100500190000005fc0000c13d000000400040043f0000001f0530018f000000000432043600000343063001980000000003640019000007770000613d000000000701034f0000000008040019000000007907043c0000000008980436000000000038004b000006d30000c13d000007770000013d000000000003004b0000075e0000c13d000000600200003900000080040000390000000001020433000000000001004b000007490000c13d000000400100043d0000033c020000410000000000210435000000040210003900000008030000290000000000320435000006090000013d0000033301000041000000800010043f000003160100004100000bb6000104300000000002000019000700000002001d0000000501200210000000030210002900000004011000290000000001010433000800000001001d0000000001020433000900000001001d000000000010043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000a02000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b000000000301041a00000008040000290006000000430053000007c20000413d0000000901000029000000000010043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000a02000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000602000029000000000021041b0000000702000029000000010220003900000005010000290000000001010433000000000012004b000006eb0000413d000000010010008c000006190000c13d0000000301000029000000000101043300000004020000290000000002020433000000400300043d000000200430003900000000002404350000000000130435000002ee0030009c000002ee0300804100000040013002100000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f00000309011001c70000800d0200003900000004030000390000030d040000410000064b0000013d000002ee0040009c000002ee040080410000004002400210000002ee0010009c000002ee010080410000006001100210000000000121019f00000bb6000104300000000005030019000000400100043d000000240210003900000000004204350000030b02000041000000000021043500000004021000390000000000520435000002ee0010009c000002ee0100804100000040011002100000030c011001c700000bb6000104300000001f0230003900000341022001970000003f022000390000034204200197000000400200043d0000000004420019000000000024004b00000000050000390000000105004039000003170040009c000005fc0000213d0000000100500190000005fc0000c13d000000400040043f0000001f0530018f000000000432043600000343063001980000000003640019000007770000613d000000000701034f0000000008040019000000007907043c0000000008980436000000000038004b000007730000c13d000000000005004b000006dc0000613d000000000161034f0000000305500210000000000603043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f0000000000130435000006dc0000013d00008010020000390000000004000019000900000004001d000000050340021000000007013000290000000001010433000800000003001d000000a0033000390000000003030433000a00000003001d000000000010043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c70bb40baf0000040f0000000100200190000006510000613d000000000101043b0000000a020000290000030802200197000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000060200002900000000020204330000000904000029000000000042004b0000081b0000a13d00000008050000290000000502500029000000000101043b000000000101041a00000000001204350000000104400039000000800100043d000000000014004b0000801002000039000007870000413d000006a20000013d000000000007004b000000000b000019000007bc0000613d000000000881034f000000000b08043b00000003077002100000034d0770027f0000034d0770016700000000077b016f0000000007a7019f000007ea0000013d000000400200043d000700000002001d0000030e01000041000000000012043500000004012000390000000a0200002900000009050000290bb40b920000040f00000007020000290000000001210049000002ee0010009c000002ee010080410000006001100210000002ee0020009c000002ee020080410000004002200210000000000121019f00000bb600010430000003350b000041000000000d000019000000000e8d0019000000000ee1034f000000000e0e043b0000000000eb041b000000010bb00039000000200dd000390000000000cd004b000007d60000413d00000000007c004b000007e90000813d0000000307700210000000f80770018f0000034d0770027f0000034d0770016700000000088d0019000000000881034f000000000808043b000000000778016f00000000007b041b0000000107a001bf000000000079041b0000000407000039000000000907041a000000010090019000000001089002700000007f0880618f0000001f0080008c000000000a000039000000010a0020390000000009a9013f0000000100900190000003a40000c13d000000200080008c000008070000413d000000000070043f0000001f094000390000000509900270000003360990009a000000200040008c00000328090040410000001f088000390000000508800270000003360880009a000000000089004b000008070000813d000000000009041b0000000109900039000000000089004b000008030000413d000000200040008c0000080f0000413d000000000070043f0000034b09400198000008210000c13d0000032808000041000000000a0000190000082b0000013d000000000004004b0000000008000019000008380000613d00000003084002100000034d0880027f0000034d08800167000000000661034f000000000606043b000000000686016f0000000104400210000000000846019f000008380000013d0000033201000041000000000010043f0000003201000039000000040010043f000003120100004100000bb6000104300000032808000041000000000a000019000000000b6a0019000000000bb1034f000000000b0b043b0000000000b8041b0000000108800039000000200aa0003900000000009a004b000008230000413d000000000049004b000008360000813d0000000309400210000000f80990018f0000034d0990027f0000034d0990016700000000066a0019000000000661034f000000000606043b000000000696016f000000000068041b000000010440021000000001084001bf000000000087041b0000001f063000390000034b066001970000003f066000390000034b06600197000003180060009c000005fc0000213d0000008006600039000000400060043f000000000551034f000000800030043f0000034b063001980000001f0730018f000000a0016000390000084d0000613d000000a008000039000000000905034f000000009a09043c0000000008a80436000000000018004b000008490000c13d000000000007004b0000085a0000613d000000000565034f0000000306700210000000000701043300000000076701cf000000000767022f000000000505043b0000010006600089000000000565022f00000000056501cf000000000575019f0000000000510435000000a0013000390000000000010435000000800300043d000003170030009c000005fc0000213d0000000201000039000000000601041a000000010060019000000001056002700000007f0550618f0000001f0050008c00000000070000390000000107002039000000000676013f0000000100600190000003a40000c13d000000200050008c0000087b0000413d000000000010043f0000001f063000390000000506600270000003370660009a000000200030008c00000338060040410000001f055000390000000505500270000003370550009a000000000056004b0000087b0000813d000000000006041b0000000106600039000000000056004b000008770000413d000000200030008c000008b20000413d000000000010043f0000034b05300198000008bc0000c13d000000a0060000390000033804000041000008ca0000013d0000000601000029000000000010043f0000000101000039000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b00000000020004110000030802200197000500000002001d000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000006510000613d000000000101043b000000000101041a000000ff001001900000031f0000c13d000000400100043d0000002402100039000000060300002900000000003204350000031902000041000000000021043500000004021000390000000503000029000005ea0000013d0000033201000041000000000010043f0000001101000039000000040010043f000003120100004100000bb600010430000000000003004b0000000004000019000008d60000613d00000003043002100000034d0440027f0000034d04400167000000a00500043d000000000545016f0000000104300210000008d50000013d00000338040000410000002007000039000000010650008a0000000506600270000003390660009a000000000807001900000080077000390000000007070433000000000074041b00000020078000390000000104400039000000000064004b000008c10000c13d000000a006800039000000000035004b000008d30000813d0000000305300210000000f80550018f0000034d0550027f0000034d055001670000000006060433000000000556016f000000000054041b00000001040000390000000105300210000000000445019f000000000041041b000000000100041100000008011002100000033a01100197000000000302041a0000033b03300197000000000113019f000000000012041b000000000100001900000bb50001042e0000001f022000390000034b022001970000000001120019000000000021004b00000000020000390000000102004039000003170010009c000008ec0000213d0000000100200190000008ec0000c13d000000400010043f000000000001042d0000033201000041000000000010043f0000004101000039000000040010043f000003120100004100000bb60001043000000020030000390000000004310436000000003202043400000000002404350000004001100039000000000002004b000009010000613d000000000400001900000000051400190000000006430019000000000606043300000000006504350000002004400039000000000024004b000008fa0000413d000000000312001900000000000304350000001f022000390000034b022001970000000001120019000000000001042d0000030802200197000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f0000000100200190000009150000613d000000000101043b000000000001042d000000000100001900000bb600010430000d000000000002000100000005001d000300000002001d000200000001001d0000000012040434000500000001001d000600000003001d0000000031030434000400000003001d000000000021004b00000b1c0000c13d0000000008040019000000000001004b000800000004001d000009b50000613d0000000301000029000903080010019b0000000201000029000d03080010019b00008010040000390000000002000019000009330000013d000000060100002900000000010104330000000b020000290000000102200039000000000012004b0000099c0000813d000b00000002001d0000000501200210000000040210002900000005011000290000000001010433000c00000001001d00000000020204330000000d0000006b000009780000613d000a00000002001d000000000020043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700000000020400190bb40baf0000040f000000010020019000000b070000613d000000000101043b0000000d02000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f000000010020019000000b070000613d000000000101043b000000000301041a0007000c0030007400000b090000413d0000000a01000029000000000010043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f000000010020019000000b070000613d000000000101043b0000000d02000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f000000010020019000000b070000613d000000000101043b0000000702000029000000000021041b000000080800002900008010040000390000000a02000029000000090000006b0000092d0000613d000000000020043f000000200000043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700000000020400190bb40baf0000040f000000010020019000000b070000613d000000000101043b0000000902000029000000000020043f000000200010043f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f000000010020019000000b070000613d000000000101043b000000000201041a0000000c03000029000000000032001a00000b8c0000413d0000000002320019000000000021041b000000080800002900008010040000390000092d0000013d000000010010008c000009b50000c13d0000000401000029000000000101043300000005020000290000000002020433000000400300043d000000200430003900000000002404350000000000130435000002ee0030009c000002ee0300804100000040013002100000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f00000309011001c70000800d02000039000000040300003900000000050004110000030d040000410000000d06000029000009ea0000013d000000400100043d0000004002000039000000000221043600000006060000290000000004060433000000400310003900000000004304350000006003100039000000000004004b000009c60000613d00000000050000190000002006600039000000000706043300000000037304360000000105500039000000000045004b000009c00000413d0000000005000411000000020400002900000308064001970000000304000029000903080040019b0000000004130049000000000042043500000000040804330000000002430436000000000004004b000009d90000613d000000000300001900000000070800190000002007700039000000000807043300000000028204360000000103300039000000000043004b000009d30000413d0000000002120049000002ee0020009c000002ee020080410000006002200210000002ee0010009c000002ee010080410000004001100210000000000112019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000121019f0000030f011001c70000800d020000390000000403000039000003100400004100000009070000290bb40baa0000040f000000010020019000000b070000613d000000090000006b00000b060000613d000000060100002900000000010104330000033e02000041000000000020044300000003020000290000000400200443000000010010008c00000a750000c13d00000005010000290000000001010433000c00000001001d00000004010000290000000001010433000d00000001001d0000000001000414000002ee0010009c000002ee01008041000000c0011002100000033f011001c700008002020000390bb40baf0000040f000000010020019000000b280000613d000000000101043b000000000001004b00000b060000613d000000400700043d0000008401700039000000a002000039000000000021043500000064017000390000000c02000029000000000021043500000044017000390000000d0200002900000000002104350000000201000029000003080110019700000024027000390000000000120435000003460100004100000000001704350000000001000411000003080110019700000004027000390000000000120435000000a402700039000000010100002900000000310104340000000000120435000000c402700039000000000001004b00000a2d0000613d000000000400001900000000052400190000000006430019000000000606043300000000006504350000002004400039000000000014004b00000a260000413d0000001f031000390000034b0330019700000000012100190000000000010435000000c401300039000002ee0010009c000002ee010080410000006001100210000002ee0070009c000002ee0200004100000000020740190000004002200210000000000121019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f0000000902000029000d00000007001d0bb40baa0000040f0000000d0b0000290000006003100270000002ee03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b001900000a520000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b00000a4e0000c13d000000000006004b00000a5f0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000010020019000000b290000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000003170010009c00000b860000213d000000010020019000000b860000c13d000000400010043f000000200030008c00000b070000413d00000000020b0433000003440020019800000b070000c13d0000034502200197000003460020009c00000b060000613d00000b4d0000013d0000000001000414000002ee0010009c000002ee01008041000000c0011002100000033f011001c700008002020000390bb40baf0000040f000000010020019000000b280000613d000000000101043b000000000001004b00000b060000613d000000400800043d0000004401800039000000a0020000390000000000210435000000020100002900000308011001970000002402800039000000000012043500000340010000410000000000180435000000000100041100000308021001970000000401800039000000000021043500000006070000290000000003070433000000a4028000390000000000320435000000c402800039000000000003004b00000a9f0000613d000000000400001900000008060000290000002007700039000000000507043300000000025204360000000104400039000000000034004b00000a980000413d00000aa00000013d000000080600002900000000031200490000006404800039000000000034043500000000030604330000000002320436000000000003004b00000aae0000613d00000000040000190000002006600039000000000506043300000000025204360000000104400039000000000034004b00000aa80000413d000000000112004900000084038000390000000000130435000000010100002900000000430104340000000001320436000000000003004b00000abe0000613d000000000200001900000000051200190000000006240019000000000606043300000000006504350000002002200039000000000032004b00000ab70000413d000000000213001900000000000204350000001f023000390000034b0220019700000000018100490000000001210019000002ee0010009c000002ee010080410000006001100210000002ee0080009c000002ee0200004100000000020840190000004002200210000000000121019f0000000002000414000002ee0020009c000002ee02008041000000c002200210000000000112019f0000000902000029000d00000008001d0bb40baa0000040f0000000d0b0000290000006003100270000002ee03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b001900000ae40000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b00000ae00000c13d000000000006004b00000af10000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000010020019000000b450000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000003170010009c00000b860000213d000000010020019000000b860000c13d000000400010043f000000200030008c00000b070000413d00000000020b0433000003440020019800000b070000c13d0000034502200197000003400020009c00000b4d0000c13d000000000001042d000000000100001900000bb600010430000000400200043d000d00000002001d0000030e010000410000000000120435000000040120003900000002020000290000000c040000290000000a050000290bb40b920000040f0000000d020000290000000001210049000002ee0010009c000002ee010080410000006001100210000002ee0020009c000002ee020080410000004002200210000000000121019f00000bb600010430000000400300043d000000240430003900000000002404350000030b02000041000000000023043500000004023000390000000000120435000002ee0030009c000002ee0300804100000040013002100000030c011001c700000bb600010430000000000001042f000000000003004b00000b470000613d0000001f0230003900000341022001970000003f022000390000034204200197000000400200043d0000000004420019000000000024004b00000000050000390000000105004039000003170040009c00000b860000213d000000010050019000000b860000c13d000000400040043f0000001f0530018f00000000043204360000034306300198000000000364001900000b780000613d000000000701034f0000000008040019000000007907043c0000000008980436000000000038004b00000b400000c13d00000b780000013d000000000003004b00000b5f0000c13d000000600200003900000080040000390000000001020433000000000001004b00000b570000c13d000000400100043d0000033c020000410000000000210435000000040210003900000009030000290000000000320435000002ee0010009c000002ee01008041000000400110021000000312011001c700000bb600010430000002ee0040009c000002ee040080410000004002400210000002ee0010009c000002ee010080410000006001100210000000000121019f00000bb6000104300000001f0230003900000341022001970000003f022000390000034204200197000000400200043d0000000004420019000000000024004b00000000050000390000000105004039000003170040009c00000b860000213d000000010050019000000b860000c13d000000400040043f0000001f0530018f00000000043204360000034306300198000000000364001900000b780000613d000000000701034f0000000008040019000000007907043c0000000008980436000000000038004b00000b740000c13d000000000005004b00000b490000613d000000000161034f0000000305500210000000000603043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000013043500000b490000013d0000033201000041000000000010043f0000004101000039000000040010043f000003120100004100000bb6000104300000033201000041000000000010043f0000001101000039000000040010043f000003120100004100000bb600010430000000600610003900000000005604350000004005100039000000000045043500000020041000390000000000340435000003080220019700000000002104350000008001100039000000000001042d000000000001042f0000000001000414000002ee0010009c000002ee01008041000000c00110021000000309011001c700008010020000390bb40baf0000040f000000010020019000000ba80000613d000000000101043b000000000001042d000000000100001900000bb60001043000000bad002104210000000102000039000000000001042d0000000002000019000000000001042d00000bb2002104230000000102000039000000000001042d0000000002000019000000000001042d00000bb40000043200000bb50001042e00000bb600010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000002000000000000000000000000000000400000010000000000000000000000000000000000000000000000000000000000000000000000000041e4619f00000000000000000000000000000000000000000000000000000000a22cb46400000000000000000000000000000000000000000000000000000000e985e9c400000000000000000000000000000000000000000000000000000000e985e9c500000000000000000000000000000000000000000000000000000000f242432a00000000000000000000000000000000000000000000000000000000f4efe8f200000000000000000000000000000000000000000000000000000000a22cb46500000000000000000000000000000000000000000000000000000000e8a3d4850000000000000000000000000000000000000000000000000000000064c9ec6e0000000000000000000000000000000000000000000000000000000064c9ec6f0000000000000000000000000000000000000000000000000000000095d89b410000000000000000000000000000000000000000000000000000000041e461a0000000000000000000000000000000000000000000000000000000004e1273f40000000000000000000000000000000000000000000000000000000018160ddc000000000000000000000000000000000000000000000000000000002eb2c2d5000000000000000000000000000000000000000000000000000000002eb2c2d600000000000000000000000000000000000000000000000000000000313ce5670000000000000000000000000000000000000000000000000000000018160ddd000000000000000000000000000000000000000000000000000000001b5ad8b50000000000000000000000000000000000000000000000000000000006fdde020000000000000000000000000000000000000000000000000000000006fdde03000000000000000000000000000000000000000000000000000000000e89341c0000000000000000000000000000000000000000000000000000000000fdd58e0000000000000000000000000000000000000000000000000000000001ffc9a7000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0200000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffdf5b059991000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044000000000000000000000000c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6203dee4c50000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb01a83514000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000e3ff2a7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000096ec32b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000800000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffff7fe237d9220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000009a8a0592ac89c5ad3bc6df8224c17b485976f597df104ee20d0df415241f670b02000002000000000000000000000000000000040000000000000000000000000000000000184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000000000000000000000000000000000000000004ee2d6d415b85acef810000000000000000000000000000000000000000000004ee2d6d415b85acef80ffffffff000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000005f5e10000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff30313233343536373839616263646566000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6d696e742e636c75622f6d657461646174612f00000000002f000000000000000000000000000000000000000000000000000000000000008a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b2e6a736f6e000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000002000000000000000000000000017307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31ced3e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000080000000000000000000000000000000000000000000000000000000200000008000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003fffffffffffffffe04e487b7100000000000000000000000000000000000000000000000000000000597a5503000000000000000000000000000000000000000000000000000000003da8a5f161a6c3ff06a60736d0ed24d7963cc6a5c4fafd2fa1dae9bb908e07a5c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b75ca53043ea007e5c65182cbb028f60d7179ff4b55739a3949b401801c942e65bfa87805ed57dc1f0d489ce33be4c4577d74ccde357eeeee058a32c55c44a532405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acebfa87805ed57dc1f0d489ce33be4c4577d74ccde357eeeee058a32c55c44a5310000000000000000000000ffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffff0000000000000000000000000000000000000000ff57f447ce00000000000000000000000000000000000000000000000000000000f226f346000000000000000000000000000000000000000000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000bc197c810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000003ffffffe000000000000000000000000000000000000000000000000000000000ffffffe000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000f23a6e61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000a0000000000000000001ffc9a7000000000000000000000000000000000000000000000000000000000e89341c00000000000000000000000000000000000000000000000000000000d9b67a2600000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0fe238b3606a2866b488be62357f7704f5430756b7055e5e900c8f9d8934926e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.