Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
3217672 | 25 hrs ago | Contract Creation | 0 ETH |
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 Source Code Verified (Exact Match)
Contract Name:
OffersLogic
Compiler Version
v0.8.23+commit.f704f362
ZkSolc Version
v1.5.4
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; /// @author thirdweb import "./OffersStorage.sol"; // ====== External imports ====== import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "../../../eip/interface/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; // ====== Internal imports ====== import "../../../extension/interface/IPlatformFee.sol"; import "../../../extension/upgradeable/ERC2771ContextConsumer.sol"; import "../../../extension/upgradeable/ReentrancyGuard.sol"; import "../../../extension/upgradeable/PermissionsEnumerable.sol"; import { RoyaltyPaymentsLogic } from "../../../extension/upgradeable/RoyaltyPayments.sol"; import { CurrencyTransferLib } from "../../../lib/CurrencyTransferLib.sol"; /** * @author thirdweb.com */ contract OffersLogic is IOffers, ReentrancyGuard, ERC2771ContextConsumer { /*/////////////////////////////////////////////////////////////// Constants / Immutables //////////////////////////////////////////////////////////////*/ /// @dev Can create offer for only assets from NFT contracts with asset role, when offers are restricted by asset address. bytes32 private constant ASSET_ROLE = keccak256("ASSET_ROLE"); /// @dev The max bps of the contract. So, 10_000 == 100 % uint64 private constant MAX_BPS = 10_000; address public constant DEFAULT_FEE_RECIPIENT = 0x1Af20C6B23373350aD464700B5965CE4B0D2aD94; uint16 private constant DEFAULT_FEE_BPS = 100; /*/////////////////////////////////////////////////////////////// Modifiers //////////////////////////////////////////////////////////////*/ modifier onlyAssetRole(address _asset) { require(Permissions(address(this)).hasRoleWithSwitch(ASSET_ROLE, _asset), "!ASSET_ROLE"); _; } /// @dev Checks whether caller is a offer creator. modifier onlyOfferor(uint256 _offerId) { require(_offersStorage().offers[_offerId].offeror == _msgSender(), "!Offeror"); _; } /// @dev Checks whether an auction exists. modifier onlyExistingOffer(uint256 _offerId) { require(_offersStorage().offers[_offerId].status == IOffers.Status.CREATED, "Marketplace: invalid offer."); _; } /*/////////////////////////////////////////////////////////////// Constructor logic //////////////////////////////////////////////////////////////*/ constructor() {} /*/////////////////////////////////////////////////////////////// External functions //////////////////////////////////////////////////////////////*/ function makeOffer( OfferParams memory _params ) external onlyAssetRole(_params.assetContract) returns (uint256 _offerId) { _offerId = _getNextOfferId(); address _offeror = _msgSender(); TokenType _tokenType = _getTokenType(_params.assetContract); _validateNewOffer(_params, _tokenType); Offer memory _offer = Offer({ offerId: _offerId, offeror: _offeror, assetContract: _params.assetContract, tokenId: _params.tokenId, tokenType: _tokenType, quantity: _params.quantity, currency: _params.currency, totalPrice: _params.totalPrice, expirationTimestamp: _params.expirationTimestamp, status: IOffers.Status.CREATED }); _offersStorage().offers[_offerId] = _offer; emit NewOffer(_offeror, _offerId, _params.assetContract, _offer); } function cancelOffer(uint256 _offerId) external onlyExistingOffer(_offerId) onlyOfferor(_offerId) { _offersStorage().offers[_offerId].status = IOffers.Status.CANCELLED; emit CancelledOffer(_msgSender(), _offerId); } function acceptOffer(uint256 _offerId) external nonReentrant onlyExistingOffer(_offerId) { Offer memory _targetOffer = _offersStorage().offers[_offerId]; require(_targetOffer.expirationTimestamp > block.timestamp, "EXPIRED"); require( _validateERC20BalAndAllowance(_targetOffer.offeror, _targetOffer.currency, _targetOffer.totalPrice), "Marketplace: insufficient currency balance." ); _validateOwnershipAndApproval( _msgSender(), _targetOffer.assetContract, _targetOffer.tokenId, _targetOffer.quantity, _targetOffer.tokenType ); _offersStorage().offers[_offerId].status = IOffers.Status.COMPLETED; _payout(_targetOffer.offeror, _msgSender(), _targetOffer.currency, _targetOffer.totalPrice, _targetOffer); _transferOfferTokens(_msgSender(), _targetOffer.offeror, _targetOffer.quantity, _targetOffer); emit AcceptedOffer( _targetOffer.offeror, _targetOffer.offerId, _targetOffer.assetContract, _targetOffer.tokenId, _msgSender(), _targetOffer.quantity, _targetOffer.totalPrice ); } /*/////////////////////////////////////////////////////////////// View functions //////////////////////////////////////////////////////////////*/ /// @dev Returns total number of offers function totalOffers() public view returns (uint256) { return _offersStorage().totalOffers; } /// @dev Returns existing offer with the given uid. function getOffer(uint256 _offerId) external view returns (Offer memory _offer) { _offer = _offersStorage().offers[_offerId]; } /// @dev Returns all existing offers within the specified range. function getAllOffers(uint256 _startId, uint256 _endId) external view returns (Offer[] memory _allOffers) { require(_startId <= _endId && _endId < _offersStorage().totalOffers, "invalid range"); _allOffers = new Offer[](_endId - _startId + 1); for (uint256 i = _startId; i <= _endId; i += 1) { _allOffers[i - _startId] = _offersStorage().offers[i]; } } /// @dev Returns offers within the specified range, where offeror has sufficient balance. function getAllValidOffers(uint256 _startId, uint256 _endId) external view returns (Offer[] memory _validOffers) { require(_startId <= _endId && _endId < _offersStorage().totalOffers, "invalid range"); Offer[] memory _offers = new Offer[](_endId - _startId + 1); uint256 _offerCount; for (uint256 i = _startId; i <= _endId; i += 1) { uint256 j = i - _startId; _offers[j] = _offersStorage().offers[i]; if (_validateExistingOffer(_offers[j])) { _offerCount += 1; } } _validOffers = new Offer[](_offerCount); uint256 index = 0; uint256 count = _offers.length; for (uint256 i = 0; i < count; i += 1) { if (_validateExistingOffer(_offers[i])) { _validOffers[index++] = _offers[i]; } } } /*/////////////////////////////////////////////////////////////// Internal functions //////////////////////////////////////////////////////////////*/ /// @dev Returns the next offer Id. function _getNextOfferId() internal returns (uint256 id) { id = _offersStorage().totalOffers; _offersStorage().totalOffers += 1; } /// @dev Returns the interface supported by a contract. function _getTokenType(address _assetContract) internal view returns (TokenType tokenType) { if (IERC165(_assetContract).supportsInterface(type(IERC1155).interfaceId)) { tokenType = TokenType.ERC1155; } else if (IERC165(_assetContract).supportsInterface(type(IERC721).interfaceId)) { tokenType = TokenType.ERC721; } else { revert("Marketplace: token must be ERC1155 or ERC721."); } } /// @dev Checks whether the auction creator owns and has approved marketplace to transfer auctioned tokens. function _validateNewOffer(OfferParams memory _params, TokenType _tokenType) internal view { require(_params.totalPrice > 0, "zero price."); require(_params.quantity > 0, "Marketplace: wanted zero tokens."); require(_params.quantity == 1 || _tokenType == TokenType.ERC1155, "Marketplace: wanted invalid quantity."); require( _params.expirationTimestamp + 60 minutes > block.timestamp, "Marketplace: invalid expiration timestamp." ); require( _validateERC20BalAndAllowance(_msgSender(), _params.currency, _params.totalPrice), "Marketplace: insufficient currency balance." ); } /// @dev Checks whether the offer exists, is active, and if the offeror has sufficient balance. function _validateExistingOffer(Offer memory _targetOffer) internal view returns (bool isValid) { isValid = _targetOffer.expirationTimestamp > block.timestamp && _targetOffer.status == IOffers.Status.CREATED && _validateERC20BalAndAllowance(_targetOffer.offeror, _targetOffer.currency, _targetOffer.totalPrice); } /// @dev Validates that `_tokenOwner` owns and has approved Marketplace to transfer NFTs. function _validateOwnershipAndApproval( address _tokenOwner, address _assetContract, uint256 _tokenId, uint256 _quantity, TokenType _tokenType ) internal view { address market = address(this); bool isValid; if (_tokenType == TokenType.ERC1155) { isValid = IERC1155(_assetContract).balanceOf(_tokenOwner, _tokenId) >= _quantity && IERC1155(_assetContract).isApprovedForAll(_tokenOwner, market); } else if (_tokenType == TokenType.ERC721) { isValid = IERC721(_assetContract).ownerOf(_tokenId) == _tokenOwner && (IERC721(_assetContract).getApproved(_tokenId) == market || IERC721(_assetContract).isApprovedForAll(_tokenOwner, market)); } require(isValid, "Marketplace: not owner or approved tokens."); } /// @dev Validates that `_tokenOwner` owns and has approved Markeplace to transfer the appropriate amount of currency function _validateERC20BalAndAllowance( address _tokenOwner, address _currency, uint256 _amount ) internal view returns (bool isValid) { isValid = IERC20(_currency).balanceOf(_tokenOwner) >= _amount && IERC20(_currency).allowance(_tokenOwner, address(this)) >= _amount; } /// @dev Transfers tokens. function _transferOfferTokens(address _from, address _to, uint256 _quantity, Offer memory _offer) internal { if (_offer.tokenType == TokenType.ERC1155) { IERC1155(_offer.assetContract).safeTransferFrom(_from, _to, _offer.tokenId, _quantity, ""); } else if (_offer.tokenType == TokenType.ERC721) { IERC721(_offer.assetContract).safeTransferFrom(_from, _to, _offer.tokenId, ""); } } /// @dev Pays out stakeholders in a sale. function _payout( address _payer, address _payee, address _currencyToUse, uint256 _totalPayoutAmount, Offer memory _offer ) internal { uint256 amountRemaining; // Payout platform fee { uint256 platformFeesTw = (_totalPayoutAmount * DEFAULT_FEE_BPS) / MAX_BPS; (address platformFeeRecipient, uint16 platformFeeBps) = IPlatformFee(address(this)).getPlatformFeeInfo(); uint256 platformFeeCut = (_totalPayoutAmount * platformFeeBps) / MAX_BPS; // Transfer platform fee CurrencyTransferLib.transferCurrencyWithWrapper( _currencyToUse, _payer, DEFAULT_FEE_RECIPIENT, platformFeesTw, address(0) ); CurrencyTransferLib.transferCurrencyWithWrapper( _currencyToUse, _payer, platformFeeRecipient, platformFeeCut, address(0) ); amountRemaining = _totalPayoutAmount - platformFeeCut - platformFeesTw; } // Payout royalties { // Get royalty recipients and amounts (address payable[] memory recipients, uint256[] memory amounts) = RoyaltyPaymentsLogic(address(this)) .getRoyalty(_offer.assetContract, _offer.tokenId, _totalPayoutAmount); uint256 royaltyRecipientCount = recipients.length; if (royaltyRecipientCount != 0) { uint256 royaltyCut; address royaltyRecipient; for (uint256 i = 0; i < royaltyRecipientCount; ) { royaltyRecipient = recipients[i]; royaltyCut = amounts[i]; // Check payout amount remaining is enough to cover royalty payment require(amountRemaining >= royaltyCut, "fees exceed the price"); // Transfer royalty CurrencyTransferLib.transferCurrencyWithWrapper( _currencyToUse, _payer, royaltyRecipient, royaltyCut, address(0) ); unchecked { amountRemaining -= royaltyCut; ++i; } } } } // Distribute price to token owner CurrencyTransferLib.transferCurrencyWithWrapper(_currencyToUse, _payer, _payee, amountRemaining, address(0)); } /// @dev Returns the Offers storage. function _offersStorage() internal pure returns (OffersStorage.Data storage data) { data = OffersStorage.data(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] calldata accounts, uint256[] calldata ids ) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * [EIP](https://eips.ethereum.org/EIPS/eip-165). * * 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 * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * 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: Apache-2.0 pragma solidity ^0.8.0; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: Apache 2.0 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IPermissions { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb import "./IPermissions.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IPermissionsEnumerable is IPermissions { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * [forum post](https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296) * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb /** * Thirdweb's `PlatformFee` is a contract extension to be used with any base contract. It exposes functions for setting and reading * the recipient of platform fee and the platform fee basis points, and lets the inheriting contract perform conditional logic * that uses information about platform fees, if desired. */ interface IPlatformFee { /// @dev Fee type variants: percentage fee and flat fee enum PlatformFeeType { Bps, Flat } /// @dev Returns the platform fee bps and recipient. function getPlatformFeeInfo() external view returns (address, uint16); /// @dev Lets a module admin update the fees on primary sales. function setPlatformFeeInfo(address _platformFeeRecipient, uint256 _platformFeeBps) external; /// @dev Emitted when fee on primary sales is updated. event PlatformFeeInfoUpdated(address indexed platformFeeRecipient, uint256 platformFeeBps); /// @dev Emitted when the flat platform fee is updated. event FlatPlatformFeeUpdated(address platformFeeRecipient, uint256 flatFee); /// @dev Emitted when the platform fee type is updated. event PlatformFeeTypeUpdated(PlatformFeeType feeType); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Lookup engine interface */ interface IRoyaltyEngineV1 is IERC165 { /** * Get the royalty for a given token (address, id) and value amount. Does not cache the bps/amounts. Caches the spec for a given token address * * @param tokenAddress - The address of the token * @param tokenId - The id of the token * @param value - The value you wish to get the royalty of * * returns Two arrays of equal length, royalty recipients and the corresponding amount each recipient should get */ function getRoyalty( address tokenAddress, uint256 tokenId, uint256 value ) external returns (address payable[] memory recipients, uint256[] memory amounts); /** * View only version of getRoyalty * * @param tokenAddress - The address of the token * @param tokenId - The id of the token * @param value - The value you wish to get the royalty of * * returns Two arrays of equal length, royalty recipients and the corresponding amount each recipient should get */ function getRoyaltyView( address tokenAddress, uint256 tokenId, uint256 value ) external view returns (address payable[] memory recipients, uint256[] memory amounts); }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Read royalty info for a token. * Supports RoyaltyEngineV1 and RoyaltyRegistry by manifold.xyz. */ interface IRoyaltyPayments is IERC165 { /// @dev Emitted when the address of RoyaltyEngine is set or updated. event RoyaltyEngineUpdated(address indexed previousAddress, address indexed newAddress); /** * Get the royalty for a given token (address, id) and value amount. * * @param tokenAddress - The address of the token * @param tokenId - The id of the token * @param value - The value you wish to get the royalty of * * returns Two arrays of equal length, royalty recipients and the corresponding amount each recipient should get */ function getRoyalty( address tokenAddress, uint256 tokenId, uint256 value ) external returns (address payable[] memory recipients, uint256[] memory amounts); /** * Set or override RoyaltyEngine address * * @param _royaltyEngineAddress - RoyaltyEngineV1 address */ function setRoyaltyEngine(address _royaltyEngineAddress) external; }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb interface IERC2771Context { function isTrustedForwarder(address forwarder) external view returns (bool); } /** * @dev Context variant with ERC2771 support. */ abstract contract ERC2771ContextConsumer { function _msgSender() public view virtual returns (address sender) { if (IERC2771Context(address(this)).isTrustedForwarder(msg.sender)) { // The assembly code is more direct than the Solidity version using `abi.decode`. assembly { sender := shr(96, calldataload(sub(calldatasize(), 20))) } } else { return msg.sender; } } function _msgData() public view virtual returns (bytes calldata) { if (IERC2771Context(address(this)).isTrustedForwarder(msg.sender)) { return msg.data[:msg.data.length - 20]; } else { return msg.data; } } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb import "../interface/IPermissions.sol"; import "../../lib/Strings.sol"; /** * @title Permissions * @dev This contracts provides extending-contracts with role-based access control mechanisms */ library PermissionsStorage { /// @custom:storage-location erc7201:permissions.storage /// @dev keccak256(abi.encode(uint256(keccak256("permissions.storage")) - 1)) & ~bytes32(uint256(0xff)) bytes32 public constant PERMISSIONS_STORAGE_POSITION = 0x0a7b0f5c59907924802379ebe98cdc23e2ee7820f63d30126e10b3752010e500; struct Data { /// @dev Map from keccak256 hash of a role => a map from address => whether address has role. mapping(bytes32 => mapping(address => bool)) _hasRole; /// @dev Map from keccak256 hash of a role to role admin. See {getRoleAdmin}. mapping(bytes32 => bytes32) _getRoleAdmin; } function data() internal pure returns (Data storage data_) { bytes32 position = PERMISSIONS_STORAGE_POSITION; assembly { data_.slot := position } } } contract Permissions is IPermissions { /// @dev Default admin role for all roles. Only accounts with this role can grant/revoke other roles. bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /// @dev Modifier that checks if an account has the specified role; reverts otherwise. modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @notice Checks whether an account has a particular role. * @dev Returns `true` if `account` has been granted `role`. * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * @param account Address of the account for which the role is being checked. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _permissionsStorage()._hasRole[role][account]; } /** * @notice Checks whether an account has a particular role; * role restrictions can be swtiched on and off. * * @dev Returns `true` if `account` has been granted `role`. * Role restrictions can be swtiched on and off: * - If address(0) has ROLE, then the ROLE restrictions * don't apply. * - If address(0) does not have ROLE, then the ROLE * restrictions will apply. * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * @param account Address of the account for which the role is being checked. */ function hasRoleWithSwitch(bytes32 role, address account) public view returns (bool) { if (!_permissionsStorage()._hasRole[role][address(0)]) { return _permissionsStorage()._hasRole[role][account]; } return true; } /** * @notice Returns the admin role that controls the specified role. * @dev See {grantRole} and {revokeRole}. * To change a role's admin, use {_setRoleAdmin}. * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") */ function getRoleAdmin(bytes32 role) external view override returns (bytes32) { return _permissionsStorage()._getRoleAdmin[role]; } /** * @notice Grants a role to an account, if not previously granted. * @dev Caller must have admin role for the `role`. * Emits {RoleGranted Event}. * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * @param account Address of the account to which the role is being granted. */ function grantRole(bytes32 role, address account) public virtual override { _checkRole(_permissionsStorage()._getRoleAdmin[role], _msgSender()); if (_permissionsStorage()._hasRole[role][account]) { revert("Can only grant to non holders"); } _setupRole(role, account); } /** * @notice Revokes role from an account. * @dev Caller must have admin role for the `role`. * Emits {RoleRevoked Event}. * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * @param account Address of the account from which the role is being revoked. */ function revokeRole(bytes32 role, address account) public virtual override { _checkRole(_permissionsStorage()._getRoleAdmin[role], _msgSender()); _revokeRole(role, account); } /** * @notice Revokes role from the account. * @dev Caller must have the `role`, with caller being the same as `account`. * Emits {RoleRevoked Event}. * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * @param account Address of the account from which the role is being revoked. */ function renounceRole(bytes32 role, address account) public virtual override { if (_msgSender() != account) { revert("Can only renounce for self"); } _revokeRole(role, account); } /// @dev Sets `adminRole` as `role`'s admin role. function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = _permissionsStorage()._getRoleAdmin[role]; _permissionsStorage()._getRoleAdmin[role] = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /// @dev Sets up `role` for `account` function _setupRole(bytes32 role, address account) internal virtual { _permissionsStorage()._hasRole[role][account] = true; emit RoleGranted(role, account, _msgSender()); } /// @dev Revokes `role` from `account` function _revokeRole(bytes32 role, address account) internal virtual { _checkRole(role, account); delete _permissionsStorage()._hasRole[role][account]; emit RoleRevoked(role, account, _msgSender()); } /// @dev Checks `role` for `account`. Reverts with a message including the required role. function _checkRole(bytes32 role, address account) internal view virtual { if (!_permissionsStorage()._hasRole[role][account]) { revert( string( abi.encodePacked( "Permissions: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /// @dev Checks `role` for `account`. Reverts with a message including the required role. function _checkRoleWithSwitch(bytes32 role, address account) internal view virtual { if (!hasRoleWithSwitch(role, account)) { revert( string( abi.encodePacked( "Permissions: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } function _msgSender() internal view virtual returns (address sender) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /// @dev Returns the Permissions storage. function _permissionsStorage() internal pure returns (PermissionsStorage.Data storage data) { data = PermissionsStorage.data(); } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb import "../interface/IPermissionsEnumerable.sol"; import "./Permissions.sol"; /** * @title PermissionsEnumerable * @dev This contracts provides extending-contracts with role-based access control mechanisms. * Also provides interfaces to view all members with a given role, and total count of members. */ library PermissionsEnumerableStorage { /// @custom:storage-location erc7201:extension.manager.storage bytes32 public constant PERMISSIONS_ENUMERABLE_STORAGE_POSITION = keccak256(abi.encode(uint256(keccak256("permissions.enumerable.storage")) - 1)) & ~bytes32(uint256(0xff)); /** * @notice A data structure to store data of members for a given role. * * @param index Current index in the list of accounts that have a role. * @param members map from index => address of account that has a role * @param indexOf map from address => index which the account has. */ struct RoleMembers { uint256 index; mapping(uint256 => address) members; mapping(address => uint256) indexOf; } struct Data { /// @dev map from keccak256 hash of a role to its members' data. See {RoleMembers}. mapping(bytes32 => RoleMembers) roleMembers; } function data() internal pure returns (Data storage data_) { bytes32 position = PERMISSIONS_ENUMERABLE_STORAGE_POSITION; assembly { data_.slot := position } } } contract PermissionsEnumerable is IPermissionsEnumerable, Permissions { /** * @notice Returns the role-member from a list of members for a role, * at a given index. * @dev Returns `member` who has `role`, at `index` of role-members list. * See struct {RoleMembers}, and mapping {roleMembers} * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * @param index Index in list of current members for the role. * * @return member Address of account that has `role` */ function getRoleMember(bytes32 role, uint256 index) external view override returns (address member) { uint256 currentIndex = _permissionsEnumerableStorage().roleMembers[role].index; uint256 check; for (uint256 i = 0; i < currentIndex; i += 1) { if (_permissionsEnumerableStorage().roleMembers[role].members[i] != address(0)) { if (check == index) { member = _permissionsEnumerableStorage().roleMembers[role].members[i]; return member; } check += 1; } else if ( hasRole(role, address(0)) && i == _permissionsEnumerableStorage().roleMembers[role].indexOf[address(0)] ) { check += 1; } } } /** * @notice Returns total number of accounts that have a role. * @dev Returns `count` of accounts that have `role`. * See struct {RoleMembers}, and mapping {roleMembers} * * @param role keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE") * * @return count Total number of accounts that have `role` */ function getRoleMemberCount(bytes32 role) external view override returns (uint256 count) { uint256 currentIndex = _permissionsEnumerableStorage().roleMembers[role].index; for (uint256 i = 0; i < currentIndex; i += 1) { if (_permissionsEnumerableStorage().roleMembers[role].members[i] != address(0)) { count += 1; } } if (hasRole(role, address(0))) { count += 1; } } /// @dev Revokes `role` from `account`, and removes `account` from {roleMembers} /// See {_removeMember} function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _removeMember(role, account); } /// @dev Grants `role` to `account`, and adds `account` to {roleMembers} /// See {_addMember} function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _addMember(role, account); } /// @dev adds `account` to {roleMembers}, for `role` function _addMember(bytes32 role, address account) internal { uint256 idx = _permissionsEnumerableStorage().roleMembers[role].index; _permissionsEnumerableStorage().roleMembers[role].index += 1; _permissionsEnumerableStorage().roleMembers[role].members[idx] = account; _permissionsEnumerableStorage().roleMembers[role].indexOf[account] = idx; } /// @dev removes `account` from {roleMembers}, for `role` function _removeMember(bytes32 role, address account) internal { uint256 idx = _permissionsEnumerableStorage().roleMembers[role].indexOf[account]; delete _permissionsEnumerableStorage().roleMembers[role].members[idx]; delete _permissionsEnumerableStorage().roleMembers[role].indexOf[account]; } /// @dev Returns the PermissionsEnumerable storage. function _permissionsEnumerableStorage() internal pure returns (PermissionsEnumerableStorage.Data storage data) { data = PermissionsEnumerableStorage.data(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; library ReentrancyGuardStorage { /// @custom:storage-location erc7201:reentrancy.guard.storage /// @dev keccak256(abi.encode(uint256(keccak256("reentrancy.guard.storage")) - 1)) & ~bytes32(uint256(0xff)) bytes32 public constant REENTRANCY_GUARD_STORAGE_POSITION = 0x1d281c488dae143b6ea4122e80c65059929950b9c32f17fc57be22089d9c3b00; struct Data { uint256 _status; } function data() internal pure returns (Data storage data_) { bytes32 position = REENTRANCY_GUARD_STORAGE_POSITION; assembly { data_.slot := position } } } abstract contract ReentrancyGuard { uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; constructor() { _reentrancyGuardStorage()._status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_reentrancyGuardStorage()._status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _reentrancyGuardStorage()._status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _reentrancyGuardStorage()._status = _NOT_ENTERED; } /// @dev Returns the ReentrancyGuard storage. function _reentrancyGuardStorage() internal pure returns (ReentrancyGuardStorage.Data storage data) { data = ReentrancyGuardStorage.data(); } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb import "../interface/IRoyaltyPayments.sol"; import "../interface/IRoyaltyEngineV1.sol"; import { IERC2981 } from "../../eip/interface/IERC2981.sol"; library RoyaltyPaymentsStorage { /// @custom:storage-location erc7201:royalty.payments.storage /// @dev keccak256(abi.encode(uint256(keccak256("royalty.payments.storage")) - 1)) & ~bytes32(uint256(0xff)) bytes32 public constant ROYALTY_PAYMENTS_STORAGE_POSITION = 0xc802b338f3fb784853cf3c808df5ff08335200e394ea2c687d12571a91045000; struct Data { /// @dev The address of RoyaltyEngineV1, replacing the one set during construction. address royaltyEngineAddressOverride; } function royaltyPaymentsStorage() internal pure returns (Data storage royaltyPaymentsData) { bytes32 position = ROYALTY_PAYMENTS_STORAGE_POSITION; assembly { royaltyPaymentsData.slot := position } } } /** * @author thirdweb.com * * @title Royalty Payments * @notice Thirdweb's `RoyaltyPayments` is a contract extension to be used with a marketplace contract. * It exposes functions for fetching royalty settings for a token. * It Supports RoyaltyEngineV1 and RoyaltyRegistry by manifold.xyz. */ abstract contract RoyaltyPaymentsLogic is IRoyaltyPayments { // solhint-disable-next-line var-name-mixedcase address immutable ROYALTY_ENGINE_ADDRESS; constructor(address _royaltyEngineAddress) { // allow address(0) in case RoyaltyEngineV1 not present on a network require( _royaltyEngineAddress == address(0) || IERC165(_royaltyEngineAddress).supportsInterface(type(IRoyaltyEngineV1).interfaceId), "Doesn't support IRoyaltyEngineV1 interface" ); ROYALTY_ENGINE_ADDRESS = _royaltyEngineAddress; } /** * Get the royalty for a given token (address, id) and value amount. Does not cache the bps/amounts. Caches the spec for a given token address * * @param tokenAddress - The address of the token * @param tokenId - The id of the token * @param value - The value you wish to get the royalty of * * returns Two arrays of equal length, royalty recipients and the corresponding amount each recipient should get */ function getRoyalty( address tokenAddress, uint256 tokenId, uint256 value ) external returns (address payable[] memory recipients, uint256[] memory amounts) { address royaltyEngineAddress = getRoyaltyEngineAddress(); if (royaltyEngineAddress == address(0)) { try IERC2981(tokenAddress).royaltyInfo(tokenId, value) returns (address recipient, uint256 amount) { require(amount <= value, "Invalid royalty amount"); recipients = new address payable[](1); amounts = new uint256[](1); recipients[0] = payable(recipient); amounts[0] = amount; } catch {} } else { (recipients, amounts) = IRoyaltyEngineV1(royaltyEngineAddress).getRoyalty(tokenAddress, tokenId, value); } } /** * Set or override RoyaltyEngine address * * @param _royaltyEngineAddress - RoyaltyEngineV1 address */ function setRoyaltyEngine(address _royaltyEngineAddress) external { if (!_canSetRoyaltyEngine()) { revert("Not authorized"); } require( _royaltyEngineAddress != address(0) && IERC165(_royaltyEngineAddress).supportsInterface(type(IRoyaltyEngineV1).interfaceId), "Doesn't support IRoyaltyEngineV1 interface" ); _setupRoyaltyEngine(_royaltyEngineAddress); } /// @dev Returns original or overridden address for RoyaltyEngineV1 function getRoyaltyEngineAddress() public view returns (address royaltyEngineAddress) { RoyaltyPaymentsStorage.Data storage data = RoyaltyPaymentsStorage.royaltyPaymentsStorage(); address royaltyEngineOverride = data.royaltyEngineAddressOverride; royaltyEngineAddress = royaltyEngineOverride != address(0) ? royaltyEngineOverride : ROYALTY_ENGINE_ADDRESS; } /// @dev Lets a contract admin update the royalty engine address function _setupRoyaltyEngine(address _royaltyEngineAddress) internal { RoyaltyPaymentsStorage.Data storage data = RoyaltyPaymentsStorage.royaltyPaymentsStorage(); address currentAddress = data.royaltyEngineAddressOverride; data.royaltyEngineAddressOverride = _royaltyEngineAddress; emit RoyaltyEngineUpdated(currentAddress, _royaltyEngineAddress); } /// @dev Returns whether royalty engine address can be set in the given execution context. function _canSetRoyaltyEngine() internal view virtual returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../../../../../eip/interface/IERC20.sol"; import { Address } from "../../../../../lib/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; interface IWETH { function deposit() external payable; function withdraw(uint256 amount) external; function transfer(address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.1; /// @author thirdweb, OpenZeppelin Contracts (v4.9.0) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{ value: value }(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb // Helper interfaces import { IWETH } from "../infra/interface/IWETH.sol"; import { SafeERC20, IERC20 } from "../external-deps/openzeppelin/token/ERC20/utils/SafeERC20.sol"; library CurrencyTransferLib { using SafeERC20 for IERC20; error CurrencyTransferLibMismatchedValue(uint256 expected, uint256 actual); error CurrencyTransferLibFailedNativeTransfer(address recipient, uint256 value); /// @dev The address interpreted as native token of the chain. address public constant NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; /// @dev Transfers a given amount of currency. function transferCurrency(address _currency, address _from, address _to, uint256 _amount) internal { if (_amount == 0) { return; } if (_currency == NATIVE_TOKEN) { safeTransferNativeToken(_to, _amount); } else { safeTransferERC20(_currency, _from, _to, _amount); } } /// @dev Transfers a given amount of currency. (With native token wrapping) function transferCurrencyWithWrapper( address _currency, address _from, address _to, uint256 _amount, address _nativeTokenWrapper ) internal { if (_amount == 0) { return; } if (_currency == NATIVE_TOKEN) { if (_from == address(this)) { // withdraw from weth then transfer withdrawn native token to recipient IWETH(_nativeTokenWrapper).withdraw(_amount); safeTransferNativeTokenWithWrapper(_to, _amount, _nativeTokenWrapper); } else if (_to == address(this)) { // store native currency in weth if (_amount != msg.value) { revert CurrencyTransferLibMismatchedValue(msg.value, _amount); } IWETH(_nativeTokenWrapper).deposit{ value: _amount }(); } else { safeTransferNativeTokenWithWrapper(_to, _amount, _nativeTokenWrapper); } } else { safeTransferERC20(_currency, _from, _to, _amount); } } /// @dev Transfer `amount` of ERC20 token from `from` to `to`. function safeTransferERC20(address _currency, address _from, address _to, uint256 _amount) internal { if (_from == _to) { return; } if (_from == address(this)) { IERC20(_currency).safeTransfer(_to, _amount); } else { IERC20(_currency).safeTransferFrom(_from, _to, _amount); } } /// @dev Transfers `amount` of native token to `to`. function safeTransferNativeToken(address to, uint256 value) internal { // solhint-disable avoid-low-level-calls // slither-disable-next-line low-level-calls (bool success, ) = to.call{ value: value }(""); if (!success) { revert CurrencyTransferLibFailedNativeTransfer(to, value); } } /// @dev Transfers `amount` of native token to `to`. (With native token wrapping) function safeTransferNativeTokenWithWrapper(address to, uint256 value, address _nativeTokenWrapper) internal { // solhint-disable avoid-low-level-calls // slither-disable-next-line low-level-calls (bool success, ) = to.call{ value: value }(""); if (!success) { IWETH(_nativeTokenWrapper).deposit{ value: value }(); IERC20(_nativeTokenWrapper).safeTransfer(to, value); } } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; /// @author thirdweb /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /// @dev Returns the hexadecimal representation of `value`. /// The output is prefixed with "0x", encoded using 2 hexadecimal digits per byte, /// and the alphabets are capitalized conditionally according to /// https://eips.ethereum.org/EIPS/eip-55 function toHexStringChecksummed(address value) internal pure returns (string memory str) { str = toHexString(value); /// @solidity memory-safe-assembly assembly { let mask := shl(6, div(not(0), 255)) // `0b010000000100000000 ...` let o := add(str, 0x22) let hashed := and(keccak256(o, 40), mul(34, mask)) // `0b10001000 ... ` let t := shl(240, 136) // `0b10001000 << 240` for { let i := 0 } 1 { } { mstore(add(i, i), mul(t, byte(i, hashed))) i := add(i, 1) if eq(i, 20) { break } } mstore(o, xor(mload(o), shr(1, and(mload(0x00), and(mload(o), mask))))) o := add(o, 0x20) mstore(o, xor(mload(o), shr(1, and(mload(0x20), and(mload(o), mask))))) } } /// @dev Returns the hexadecimal representation of `value`. /// The output is prefixed with "0x" and encoded using 2 hexadecimal digits per byte. function toHexString(address value) internal pure returns (string memory str) { str = toHexStringNoPrefix(value); /// @solidity memory-safe-assembly assembly { let strLength := add(mload(str), 2) // Compute the length. mstore(str, 0x3078) // Write the "0x" prefix. str := sub(str, 2) // Move the pointer. mstore(str, strLength) // Write the length. } } /// @dev Returns the hexadecimal representation of `value`. /// The output is encoded using 2 hexadecimal digits per byte. function toHexStringNoPrefix(address value) internal pure returns (string memory str) { /// @solidity memory-safe-assembly assembly { str := mload(0x40) // Allocate the memory. // We need 0x20 bytes for the trailing zeros padding, 0x20 bytes for the length, // 0x02 bytes for the prefix, and 0x28 bytes for the digits. // The next multiple of 0x20 above (0x20 + 0x20 + 0x02 + 0x28) is 0x80. mstore(0x40, add(str, 0x80)) // Store "0123456789abcdef" in scratch space. mstore(0x0f, 0x30313233343536373839616263646566) str := add(str, 2) mstore(str, 40) let o := add(str, 0x20) mstore(add(o, 40), 0) value := shl(96, value) // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. for { let i := 0 } 1 { } { let p := add(o, add(i, i)) let temp := byte(i, value) mstore8(add(p, 1), mload(and(temp, 15))) mstore8(p, mload(shr(4, temp))) i := add(i, 1) if eq(i, 20) { break } } } } /// @dev Returns the hex encoded string from the raw bytes. /// The output is encoded using 2 hexadecimal digits per byte. function toHexString(bytes memory raw) internal pure returns (string memory str) { str = toHexStringNoPrefix(raw); /// @solidity memory-safe-assembly assembly { let strLength := add(mload(str), 2) // Compute the length. mstore(str, 0x3078) // Write the "0x" prefix. str := sub(str, 2) // Move the pointer. mstore(str, strLength) // Write the length. } } /// @dev Returns the hex encoded string from the raw bytes. /// The output is encoded using 2 hexadecimal digits per byte. function toHexStringNoPrefix(bytes memory raw) internal pure returns (string memory str) { /// @solidity memory-safe-assembly assembly { let length := mload(raw) str := add(mload(0x40), 2) // Skip 2 bytes for the optional prefix. mstore(str, add(length, length)) // Store the length of the output. // Store "0123456789abcdef" in scratch space. mstore(0x0f, 0x30313233343536373839616263646566) let o := add(str, 0x20) let end := add(raw, length) for { } iszero(eq(raw, end)) { } { raw := add(raw, 1) mstore8(add(o, 1), mload(and(mload(raw), 15))) mstore8(o, mload(and(shr(4, mload(raw)), 15))) o := add(o, 2) } mstore(o, 0) // Zeroize the slot after the string. mstore(0x40, add(o, 0x20)) // Allocate the memory. } } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; /// @author thirdweb /** * @author thirdweb.com * * The `DirectListings` extension smart contract lets you buy and sell NFTs (ERC-721 or ERC-1155) for a fixed price. */ interface IDirectListings { enum TokenType { ERC721, ERC1155 } enum Status { UNSET, CREATED, COMPLETED, CANCELLED } /** * @notice The parameters a seller sets when creating or updating a listing. * * @param assetContract The address of the smart contract of the NFTs being listed. * @param tokenId The tokenId of the NFTs being listed. * @param quantity The quantity of NFTs being listed. This must be non-zero, and is expected to * be `1` for ERC-721 NFTs. * @param currency The currency in which the price must be paid when buying the listed NFTs. * @param pricePerToken The price to pay per unit of NFTs listed. * @param startTimestamp The UNIX timestamp at and after which NFTs can be bought from the listing. * @param endTimestamp The UNIX timestamp at and after which NFTs cannot be bought from the listing. * @param reserved Whether the listing is reserved to be bought from a specific set of buyers. */ struct ListingParameters { address assetContract; uint256 tokenId; uint256 quantity; address currency; uint256 pricePerToken; uint128 startTimestamp; uint128 endTimestamp; bool reserved; } /** * @notice The information stored for a listing. * * @param listingId The unique ID of the listing. * @param listingCreator The creator of the listing. * @param assetContract The address of the smart contract of the NFTs being listed. * @param tokenId The tokenId of the NFTs being listed. * @param quantity The quantity of NFTs being listed. This must be non-zero, and is expected to * be `1` for ERC-721 NFTs. * @param currency The currency in which the price must be paid when buying the listed NFTs. * @param pricePerToken The price to pay per unit of NFTs listed. * @param startTimestamp The UNIX timestamp at and after which NFTs can be bought from the listing. * @param endTimestamp The UNIX timestamp at and after which NFTs cannot be bought from the listing. * @param reserved Whether the listing is reserved to be bought from a specific set of buyers. * @param status The status of the listing (created, completed, or cancelled). * @param tokenType The type of token listed (ERC-721 or ERC-1155) */ struct Listing { uint256 listingId; uint256 tokenId; uint256 quantity; uint256 pricePerToken; uint128 startTimestamp; uint128 endTimestamp; address listingCreator; address assetContract; address currency; TokenType tokenType; Status status; bool reserved; } /// @notice Emitted when a new listing is created. event NewListing( address indexed listingCreator, uint256 indexed listingId, address indexed assetContract, Listing listing ); /// @notice Emitted when a listing is updated. event UpdatedListing( address indexed listingCreator, uint256 indexed listingId, address indexed assetContract, Listing listing ); /// @notice Emitted when a listing is cancelled. event CancelledListing(address indexed listingCreator, uint256 indexed listingId); /// @notice Emitted when a buyer is approved to buy from a reserved listing. event BuyerApprovedForListing(uint256 indexed listingId, address indexed buyer, bool approved); /// @notice Emitted when a currency is approved as a form of payment for the listing. event CurrencyApprovedForListing(uint256 indexed listingId, address indexed currency, uint256 pricePerToken); /// @notice Emitted when NFTs are bought from a listing. event NewSale( address indexed listingCreator, uint256 indexed listingId, address indexed assetContract, uint256 tokenId, address buyer, uint256 quantityBought, uint256 totalPricePaid ); /** * @notice List NFTs (ERC721 or ERC1155) for sale at a fixed price. * * @param _params The parameters of a listing a seller sets when creating a listing. * * @return listingId The unique integer ID of the listing. */ function createListing(ListingParameters memory _params) external returns (uint256 listingId); /** * @notice Update parameters of a listing of NFTs. * * @param _listingId The ID of the listing to update. * @param _params The parameters of a listing a seller sets when updating a listing. */ function updateListing(uint256 _listingId, ListingParameters memory _params) external; /** * @notice Cancel a listing. * * @param _listingId The ID of the listing to cancel. */ function cancelListing(uint256 _listingId) external; /** * @notice Approve a buyer to buy from a reserved listing. * * @param _listingId The ID of the listing to update. * @param _buyer The address of the buyer to approve to buy from the listing. * @param _toApprove Whether to approve the buyer to buy from the listing. */ function approveBuyerForListing(uint256 _listingId, address _buyer, bool _toApprove) external; /** * @notice Approve a currency as a form of payment for the listing. * * @param _listingId The ID of the listing to update. * @param _currency The address of the currency to approve as a form of payment for the listing. * @param _pricePerTokenInCurrency The price per token for the currency to approve. */ function approveCurrencyForListing( uint256 _listingId, address _currency, uint256 _pricePerTokenInCurrency ) external; /** * @notice Buy NFTs from a listing. * * @param _listingId The ID of the listing to update. * @param _buyFor The recipient of the NFTs being bought. * @param _quantity The quantity of NFTs to buy from the listing. * @param _currency The currency to use to pay for NFTs. * @param _expectedTotalPrice The expected total price to pay for the NFTs being bought. */ function buyFromListing( uint256 _listingId, address _buyFor, uint256 _quantity, address _currency, uint256 _expectedTotalPrice ) external payable; /** * @notice Returns the total number of listings created. * @dev At any point, the return value is the ID of the next listing created. */ function totalListings() external view returns (uint256); /// @notice Returns all listings between the start and end Id (both inclusive) provided. function getAllListings(uint256 _startId, uint256 _endId) external view returns (Listing[] memory listings); /** * @notice Returns all valid listings between the start and end Id (both inclusive) provided. * A valid listing is where the listing creator still owns and has approved Marketplace * to transfer the listed NFTs. */ function getAllValidListings(uint256 _startId, uint256 _endId) external view returns (Listing[] memory listings); /** * @notice Returns a listing at the provided listing ID. * * @param _listingId The ID of the listing to fetch. */ function getListing(uint256 _listingId) external view returns (Listing memory listing); } /** * The `EnglishAuctions` extension smart contract lets you sell NFTs (ERC-721 or ERC-1155) in an english auction. */ interface IEnglishAuctions { enum TokenType { ERC721, ERC1155 } enum Status { UNSET, CREATED, COMPLETED, CANCELLED } /** * @notice The parameters a seller sets when creating an auction listing. * * @param assetContract The address of the smart contract of the NFTs being auctioned. * @param tokenId The tokenId of the NFTs being auctioned. * @param quantity The quantity of NFTs being auctioned. This must be non-zero, and is expected to * be `1` for ERC-721 NFTs. * @param currency The currency in which the bid must be made when bidding for the auctioned NFTs. * @param minimumBidAmount The minimum bid amount for the auction. * @param buyoutBidAmount The total bid amount for which the bidder can directly purchase the auctioned items and close the auction as a result. * @param timeBufferInSeconds This is a buffer e.g. x seconds. If a new winning bid is made less than x seconds before expirationTimestamp, the * expirationTimestamp is increased by x seconds. * @param bidBufferBps This is a buffer in basis points e.g. x%. To be considered as a new winning bid, a bid must be at least x% greater than * the current winning bid. * @param startTimestamp The timestamp at and after which bids can be made to the auction * @param endTimestamp The timestamp at and after which bids cannot be made to the auction. */ struct AuctionParameters { address assetContract; uint256 tokenId; uint256 quantity; address currency; uint256 minimumBidAmount; uint256 buyoutBidAmount; uint64 timeBufferInSeconds; uint64 bidBufferBps; uint64 startTimestamp; uint64 endTimestamp; } /** * @notice The information stored for an auction. * * @param auctionId The unique ID of the auction. * @param auctionCreator The creator of the auction. * @param assetContract The address of the smart contract of the NFTs being auctioned. * @param tokenId The tokenId of the NFTs being auctioned. * @param quantity The quantity of NFTs being auctioned. This must be non-zero, and is expected to * be `1` for ERC-721 NFTs. * @param currency The currency in which the bid must be made when bidding for the auctioned NFTs. * @param minimumBidAmount The minimum bid amount for the auction. * @param buyoutBidAmount The total bid amount for which the bidder can directly purchase the auctioned items and close the auction as a result. * @param timeBufferInSeconds This is a buffer e.g. x seconds. If a new winning bid is made less than x seconds before expirationTimestamp, the * expirationTimestamp is increased by x seconds. * @param bidBufferBps This is a buffer in basis points e.g. x%. To be considered as a new winning bid, a bid must be at least x% greater than * the current winning bid. * @param startTimestamp The timestamp at and after which bids can be made to the auction * @param endTimestamp The timestamp at and after which bids cannot be made to the auction. * @param status The status of the auction (created, completed, or cancelled). * @param tokenType The type of NFTs auctioned (ERC-721 or ERC-1155) */ struct Auction { uint256 auctionId; uint256 tokenId; uint256 quantity; uint256 minimumBidAmount; uint256 buyoutBidAmount; uint64 timeBufferInSeconds; uint64 bidBufferBps; uint64 startTimestamp; uint64 endTimestamp; address auctionCreator; address assetContract; address currency; TokenType tokenType; Status status; } /** * @notice The information stored for a bid made in an auction. * * @param auctionId The unique ID of the auction. * @param bidder The address of the bidder. * @param bidAmount The total bid amount (in the currency specified by the auction). */ struct Bid { uint256 auctionId; address bidder; uint256 bidAmount; } struct AuctionPayoutStatus { bool paidOutAuctionTokens; bool paidOutBidAmount; } /// @dev Emitted when a new auction is created. event NewAuction( address indexed auctionCreator, uint256 indexed auctionId, address indexed assetContract, Auction auction ); /// @dev Emitted when a new bid is made in an auction. event NewBid( uint256 indexed auctionId, address indexed bidder, address indexed assetContract, uint256 bidAmount, Auction auction ); /// @notice Emitted when a auction is cancelled. event CancelledAuction(address indexed auctionCreator, uint256 indexed auctionId); /// @dev Emitted when an auction is closed. event AuctionClosed( uint256 indexed auctionId, address indexed assetContract, address indexed closer, uint256 tokenId, address auctionCreator, address winningBidder ); /** * @notice Put up NFTs (ERC721 or ERC1155) for an english auction. * * @param _params The parameters of an auction a seller sets when creating an auction. * * @return auctionId The unique integer ID of the auction. */ function createAuction(AuctionParameters memory _params) external returns (uint256 auctionId); /** * @notice Cancel an auction. * * @param _auctionId The ID of the auction to cancel. */ function cancelAuction(uint256 _auctionId) external; /** * @notice Distribute the winning bid amount to the auction creator. * * @param _auctionId The ID of an auction. */ function collectAuctionPayout(uint256 _auctionId) external; /** * @notice Distribute the auctioned NFTs to the winning bidder. * * @param _auctionId The ID of an auction. */ function collectAuctionTokens(uint256 _auctionId) external; /** * @notice Bid in an active auction. * * @param _auctionId The ID of the auction to bid in. * @param _bidAmount The bid amount in the currency specified by the auction. */ function bidInAuction(uint256 _auctionId, uint256 _bidAmount) external payable; /** * @notice Returns whether a given bid amount would make for a winning bid in an auction. * * @param _auctionId The ID of an auction. * @param _bidAmount The bid amount to check. */ function isNewWinningBid(uint256 _auctionId, uint256 _bidAmount) external view returns (bool); /// @notice Returns the auction of the provided auction ID. function getAuction(uint256 _auctionId) external view returns (Auction memory auction); /// @notice Returns all non-cancelled auctions. function getAllAuctions(uint256 _startId, uint256 _endId) external view returns (Auction[] memory auctions); /// @notice Returns all active auctions. function getAllValidAuctions(uint256 _startId, uint256 _endId) external view returns (Auction[] memory auctions); /// @notice Returns the winning bid of an active auction. function getWinningBid( uint256 _auctionId ) external view returns (address bidder, address currency, uint256 bidAmount); /// @notice Returns whether an auction is active. function isAuctionExpired(uint256 _auctionId) external view returns (bool); } /** * The `Offers` extension smart contract lets you make and accept offers made for NFTs (ERC-721 or ERC-1155). */ interface IOffers { enum TokenType { ERC721, ERC1155, ERC20 } enum Status { UNSET, CREATED, COMPLETED, CANCELLED } /** * @notice The parameters an offeror sets when making an offer for NFTs. * * @param assetContract The contract of the NFTs for which the offer is being made. * @param tokenId The tokenId of the NFT for which the offer is being made. * @param quantity The quantity of NFTs wanted. * @param currency The currency offered for the NFTs. * @param totalPrice The total offer amount for the NFTs. * @param expirationTimestamp The timestamp at and after which the offer cannot be accepted. */ struct OfferParams { address assetContract; uint256 tokenId; uint256 quantity; address currency; uint256 totalPrice; uint256 expirationTimestamp; } /** * @notice The information stored for the offer made. * * @param offerId The ID of the offer. * @param offeror The address of the offeror. * @param assetContract The contract of the NFTs for which the offer is being made. * @param tokenId The tokenId of the NFT for which the offer is being made. * @param quantity The quantity of NFTs wanted. * @param currency The currency offered for the NFTs. * @param totalPrice The total offer amount for the NFTs. * @param expirationTimestamp The timestamp at and after which the offer cannot be accepted. * @param status The status of the offer (created, completed, or cancelled). * @param tokenType The type of token (ERC-721 or ERC-1155) the offer is made for. */ struct Offer { uint256 offerId; uint256 tokenId; uint256 quantity; uint256 totalPrice; uint256 expirationTimestamp; address offeror; address assetContract; address currency; TokenType tokenType; Status status; } /// @dev Emitted when a new offer is created. event NewOffer(address indexed offeror, uint256 indexed offerId, address indexed assetContract, Offer offer); /// @dev Emitted when an offer is cancelled. event CancelledOffer(address indexed offeror, uint256 indexed offerId); /// @dev Emitted when an offer is accepted. event AcceptedOffer( address indexed offeror, uint256 indexed offerId, address indexed assetContract, uint256 tokenId, address seller, uint256 quantityBought, uint256 totalPricePaid ); /** * @notice Make an offer for NFTs (ERC-721 or ERC-1155) * * @param _params The parameters of an offer. * * @return offerId The unique integer ID assigned to the offer. */ function makeOffer(OfferParams memory _params) external returns (uint256 offerId); /** * @notice Cancel an offer. * * @param _offerId The ID of the offer to cancel. */ function cancelOffer(uint256 _offerId) external; /** * @notice Accept an offer. * * @param _offerId The ID of the offer to accept. */ function acceptOffer(uint256 _offerId) external; /// @notice Returns an offer for the given offer ID. function getOffer(uint256 _offerId) external view returns (Offer memory offer); /// @notice Returns all active (i.e. non-expired or cancelled) offers. function getAllOffers(uint256 _startId, uint256 _endId) external view returns (Offer[] memory offers); /// @notice Returns all valid offers. An offer is valid if the offeror owns and has approved Marketplace to transfer the offer amount of currency. function getAllValidOffers(uint256 _startId, uint256 _endId) external view returns (Offer[] memory offers); }
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; /// @author thirdweb import { IOffers } from "../IMarketplace.sol"; /** * @author thirdweb.com */ library OffersStorage { /// @custom:storage-location erc7201:offers.storage /// @dev keccak256(abi.encode(uint256(keccak256("offers.storage")) - 1)) & ~bytes32(uint256(0xff)) bytes32 public constant OFFERS_STORAGE_POSITION = 0x8f8effea55e8d961f30e12024b944289ed8a7f60abcf4b3989df2dc98a914300; struct Data { uint256 totalOffers; mapping(uint256 => IOffers.Offer) offers; } function data() internal pure returns (Data storage data_) { bytes32 position = OFFERS_STORAGE_POSITION; assembly { data_.slot := position } } }
{ "compilationTarget": { "contracts/prebuilts/marketplace/offers/OffersLogic.sol": "OffersLogic" }, "evmVersion": "paris", "libraries": {}, "metadata": { "bytecodeHash": "ipfs" }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"actual","type":"uint256"}],"name":"CurrencyTransferLibMismatchedValue","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"offeror","type":"address"},{"indexed":true,"internalType":"uint256","name":"offerId","type":"uint256"},{"indexed":true,"internalType":"address","name":"assetContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantityBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalPricePaid","type":"uint256"}],"name":"AcceptedOffer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"offeror","type":"address"},{"indexed":true,"internalType":"uint256","name":"offerId","type":"uint256"}],"name":"CancelledOffer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"offeror","type":"address"},{"indexed":true,"internalType":"uint256","name":"offerId","type":"uint256"},{"indexed":true,"internalType":"address","name":"assetContract","type":"address"},{"components":[{"internalType":"uint256","name":"offerId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"totalPrice","type":"uint256"},{"internalType":"uint256","name":"expirationTimestamp","type":"uint256"},{"internalType":"address","name":"offeror","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IOffers.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IOffers.Status","name":"status","type":"uint8"}],"indexed":false,"internalType":"struct IOffers.Offer","name":"offer","type":"tuple"}],"name":"NewOffer","type":"event"},{"inputs":[],"name":"DEFAULT_FEE_RECIPIENT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_msgData","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_msgSender","outputs":[{"internalType":"address","name":"sender","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offerId","type":"uint256"}],"name":"acceptOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offerId","type":"uint256"}],"name":"cancelOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_endId","type":"uint256"}],"name":"getAllOffers","outputs":[{"components":[{"internalType":"uint256","name":"offerId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"totalPrice","type":"uint256"},{"internalType":"uint256","name":"expirationTimestamp","type":"uint256"},{"internalType":"address","name":"offeror","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IOffers.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IOffers.Status","name":"status","type":"uint8"}],"internalType":"struct IOffers.Offer[]","name":"_allOffers","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_endId","type":"uint256"}],"name":"getAllValidOffers","outputs":[{"components":[{"internalType":"uint256","name":"offerId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"totalPrice","type":"uint256"},{"internalType":"uint256","name":"expirationTimestamp","type":"uint256"},{"internalType":"address","name":"offeror","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IOffers.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IOffers.Status","name":"status","type":"uint8"}],"internalType":"struct IOffers.Offer[]","name":"_validOffers","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offerId","type":"uint256"}],"name":"getOffer","outputs":[{"components":[{"internalType":"uint256","name":"offerId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"totalPrice","type":"uint256"},{"internalType":"uint256","name":"expirationTimestamp","type":"uint256"},{"internalType":"address","name":"offeror","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IOffers.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IOffers.Status","name":"status","type":"uint8"}],"internalType":"struct IOffers.Offer","name":"_offer","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"totalPrice","type":"uint256"},{"internalType":"uint256","name":"expirationTimestamp","type":"uint256"}],"internalType":"struct IOffers.OfferParams","name":"_params","type":"tuple"}],"name":"makeOffer","outputs":[{"internalType":"uint256","name":"_offerId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalOffers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
9c4d535b00000000000000000000000000000000000000000000000000000000000000000100070b5fe123585f4f9122e741e3899e2195b4cbfebae668ad6c5352ffa96300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x0004000000000002001400000000000200000000030100190000006004300270000006900340019700030000003103550002000000010355000006900040019d0000008004000039000000400040043f00000001002001900000002b0000c13d000000040030008c00000a490000413d001400000000003d000000000201043b000000e002200270000006930020009c000000360000213d0000069a0020009c0000007c0000a13d0000069b0020009c000001020000613d0000069c0020009c000001580000613d0000069d0020009c00000a490000c13d0000000001000416000000000001004b00000a490000c13d000006a201000041000000800010043f0000000001000411000000840010043f00000000010004140000000002000410000000040020008c0000017c0000c13d0000000103000031000000200030008c00000020040000390000000004034019000001a20000013d0000000001000416000000000001004b00000a490000c13d00000001010000390000069102000041000000000012041b000000200100003900000100001004430000012000000443000006920100004100001a3e0001042e000006940020009c0000008c0000a13d000006950020009c0000011a0000613d000006960020009c0000015f0000613d000006970020009c00000a490000c13d000000240030008c00000a490000413d0000000002000416000000000002004b00000a490000c13d0000000401100370000000000101043b001300000001001d000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000000101043b0000000701100039000000000101041a000000a801100270000000ff0110018f000000030010008c000001d10000213d000000010010008c000002db0000c13d0000001301000029000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000000101043b0000000501100039000000000101041a001200000001001d000000400b00043d000006a20100004100000000001b04350000000401b000390000000002000411001100000002001d000000000021043500000000010004140000000002000410000000040020008c000002f80000c13d0000000103000031000000200030008c00000020040000390000000004034019000003250000013d0000069e0020009c000000980000613d0000069f0020009c00000a490000c13d0000000001000416000000000001004b00000a490000c13d1a3d13850000040f000006a601100197000000400200043d0000000000120435000006900020009c00000690020080410000004001200210000006ea011001c700001a3e0001042e000006980020009c000000c40000613d000006990020009c00000a490000c13d0000000001000416000000000001004b00000a490000c13d000006e001000041000000000101041a000000800010043f000006e30100004100001a3e0001042e000000c40030008c00000a490000413d0000000002000416000000000002004b00000a490000c13d0000014002000039000000400020043f0000000402100370000000000202043b000006a60020009c00000a490000213d000000800020043f0000002403100370000000000303043b000000a00030043f0000004403100370000000000303043b000000c00030043f0000006403100370000000000303043b000006a60030009c00000a490000213d000006a602200197000000e00030043f0000008403100370000000000303043b000001000030043f000000a401100370000000000101043b000001200010043f000006eb01000041000001400010043f000006ec01000041000001440010043f000001640020043f00000000010004140000000002000410000000040020008c0000021d0000c13d0000000103000031000000200030008c00000020040000390000000004034019000002430000013d000000440030008c00000a490000413d0000000002000416000000000002004b00000a490000c13d0000002402100370000000000402043b0000000401100370000000000101043b000d00000001001d000000000114004b000001720000413d000006e002000041000000000202041a000000000024004b000001720000813d000000010310003a000001b30000613d000c00000004001d000006e10010009c00000a3b0000213d00000005013002100000003f02100039000006d304200197000006c50040009c00000a3b0000213d0000008002400039000000400020043f000000800030043f000006e20040009c00000a3b0000213d00000000030000190000014004200039000000400040043f0000012004200039000000000004043500000100042000390000000000040435000000e0042000390000000000040435000000c0042000390000000000040435000000a0042000390000000000040435000000800420003900000000000404350000006004200039000000000004043500000040042000390000000000040435000000200420003900000000000404350000000000020435000000a00430003900000000002404350000002003300039000000000013004b000003db0000813d000000400200043d000006af0020009c000000e40000a13d00000a3b0000013d000000240030008c00000a490000413d0000000001000416000000000001004b00000a490000c13d1a3d14040000040f00000004010000390000000201100367000000000101043b000000000010043f000006a001000041000000200010043f00000000010000191a3d1a220000040f1a3d14230000040f000000400200043d001300000002001d1a3d13130000040f0000001301000029000006900010009c00000690010080410000004001100210000006e9011001c700001a3e0001042e000000440030008c00000a490000413d0000000002000416000000000002004b00000a490000c13d0000002402100370000000000402043b0000000401100370000000000101043b001200000001001d000000000114004b000001720000413d000006e002000041000000000202041a000000000024004b000001720000813d000000010310003a000001b30000613d001100000004001d000006e10010009c00000a3b0000213d00000005013002100000003f02100039000006d304200197000006c50040009c00000a3b0000213d0000008002400039000000400020043f000000800030043f000006e20040009c00000a3b0000213d00000000030000190000014004200039000000400040043f0000012004200039000000000004043500000100042000390000000000040435000000e0042000390000000000040435000000c0042000390000000000040435000000a0042000390000000000040435000000800420003900000000000404350000006004200039000000000004043500000040042000390000000000040435000000200420003900000000000404350000000000020435000000a00430003900000000002404350000002003300039000000000013004b000004f30000813d000000400200043d000006af0020009c0000013a0000a13d00000a3b0000013d0000000001000416000000000001004b00000a490000c13d000006bc01000041000000800010043f000006e30100004100001a3e0001042e000000240030008c00000a490000413d0000000002000416000000000002004b00000a490000c13d0000069102000041000000000302041a000000020030008c000001b90000c13d000006a801000041000000800010043f0000002001000039000000840010043f0000001f01000039000000a40010043f000006de01000041000000c40010043f000006df0100004100001a3f00010430000006a801000041000000800010043f0000002001000039000000840010043f0000000d01000039000000a40010043f000006e701000041000000c40010043f000006df0100004100001a3f00010430000006900010009c0000069001008041000000c001100210000006e8011001c71a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000001910000613d0000008008000039000000000901034f000000009a09043c0000000008a80436000000000058004b0000018d0000c13d000000000006004b0000019e0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000001d70000613d0000001f01400039000000600410018f00000080014001bf000000400010043f000000200030008c00000a490000413d000000800300043d000000000003004b0000000002000039000000010200c039000000000023004b00000a490000c13d0000000002000031000000000003004b000001f50000613d000000140220008c000001f50000813d000006e601000041000000000010043f0000001101000039000000040010043f000006a30100004100001a3f000104300000000203000039000000000032041b0000000401100370000000000101043b000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c70000801002000039001300000004001d1a3d1a380000040f000000010020019000000a490000613d000000000101043b0000000701100039000000000101041a000000a801100270000000ff0110018f000000030010008c000002610000a13d000006e601000041000000000010043f0000002101000039000000040010043f000006a30100004100001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000001de0000c13d000000000005004b000001ef0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000006900020009c00000690020080410000004002200210000000000112019f00001a3f0001043000000020030000390000000000310435000000a003400039000000000023043500000702062001980000001f0720018f000000c00440003900000000056400190000000208000367000002050000613d000000000908034f000000000a040019000000009b09043c000000000aba043600000000005a004b000002010000c13d000000000007004b000002120000613d000000000668034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000000000442001900000000000404350000001f0220003900000702022001970000004002200039000006900020009c000006900200804100000060022002100000004001100210000000000112019f00001a3e0001042e000006900010009c0000069001008041000000c001100210000006ed011001c71a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000140057001bf000001400a000039000002320000613d000000000801034f000000008908043c000000000a9a043600000000005a004b0000022e0000c13d000000000006004b0000023f0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000002ec0000613d0000001f01400039000000600110018f0000014002100039001300000002001d000000400020043f000000200030008c00000a490000413d000001400200043d000000000002004b0000000004000039000000010400c039000000000042004b00000a490000c13d000000000002004b000003670000c13d000006a8020000410000001304000029000000000024043500000164021000390000000b03000039000000000032043500000144021000390000002003000039000000000032043500000184011001bf000007010200004100000000002104350000004001400210000006a9011001c700001a3f00010430000000010010008c000002db0000c13d00000004010000390000000201100367000000000101043b000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000400200043d001200000002001d000006af0020009c00000a3b0000213d000000000101043b00000012050000290000014002500039000000400020043f000000000201041a00000000062504360000000102100039000000000202041a00000000002604350000000202100039000000000202041a000000400350003900000000002304350000000302100039000000000202041a000000600450003900000000002404350000000402100039000000000b02041a00000080025000390000000000b204350000000502100039000000000202041a000006a602200197000000a00750003900000000002704350000000602100039000000000202041a000006a602200197000000c0085000390000000000280435000000e00a5000390000000701100039000000000101041a000006a60210019700000000002a0435000000a002100270000000ff0220018f000000020020008c000001d10000213d0000010009500039001100000009001d0000000000290435000000a801100270000000ff0110018f000000030010008c000001d10000213d00100000000b001d000d0000000a001d000b00000008001d000f00000007001d000c00000006001d000e00000004001d000a00000003001d00000120025000390000000000120435000006b00100004100000000001004430000000001000414000006900010009c0000069001008041000000c001100210000006b1011001c70000800b020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000100010006b000005c90000a13d0000000e0100002900000000030104330000000d0100002900000000020104330000000f010000290000000001010433000006a601100197000006a6022001971a3d14620000040f000000000001004b000006800000c13d000000400100043d0000006402100039000006fa0300004100000000003204350000004402100039000006fb03000041000000000032043500000024021000390000002b030000390000000000320435000006a8020000410000000000210435000000040210003900000020030000390000000000320435000006900010009c00000690010080410000004001100210000006cf011001c700001a3f00010430000000400100043d0000004402100039000006ae03000041000000000032043500000024021000390000001b030000390000000000320435000006a8020000410000000000210435000000040210003900000020030000390000000000320435000006900010009c00000690010080410000004001100210000006a9011001c700001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000002f30000c13d000001e20000013d0000069000b0009c000006900300004100000000030b40190000004003300210000006900010009c0000069001008041000000c001100210000000000131019f000006a3011001c700100000000b001d1a3d1a380000040f000000100b000029000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000003140000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000003100000c13d000000000006004b000003210000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000003cf0000613d0000001f01400039000000600210018f00000000040b00190000000001b20019000000000021004b00000000020000390000000102004039000006a50010009c00000a3b0000213d000000010020019000000a3b0000c13d000000400010043f000000200030008c00000a490000413d0000000002040433000000000002004b0000000003000039000000010300c039000000000032004b00000a490000c13d000000000002004b0000000002000411000003410000613d000000140200008a00000000022000310000000202200367000000000202043b0000006002200270000000120220014f000006a600200198000005820000c13d0000001301000029000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000000101043b0000000701100039000000000201041a000006aa02200197000006ab022001c7000000000021041b000006a201000041000000400200043d0000000000120435001200000002001d00000004012000390000000002000411000000000021043500000000010004140000000002000410000000040020008c000006190000c13d0000000103000031000000200030008c00000020040000390000000004034019000006450000013d000006e002000041000000000502041a000000010450003a000001b30000613d001000000005001d000000000042041b000006a2020000410000001305000029000000000025043500000144021000390000000004000411001100000004001d000000000042043500000000040004140000000002000410000000040020008c000005460000c13d0000000001150019001200000001001d000000400010043f00000013010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b0000000001000411000e00000001001d0000038b0000613d000000140100008a00000000011000310000000201100367000000000101043b000e006000100278000000800200043d000006ee010000410000001204000029000000000014043500000004014001bf000006ef0400004100000000004104350000000001000414000006a602200197001300000002001d000000040020008c000005880000c13d000000200030008c00000020030080390000001f01300039000000600110018f00000012021000290000002001000039000f00000002001d000000400020043f00000012020000290000000003020433000000000003004b0000000002000039000000010200c039001200000003001d000000000023004b00000a490000c13d000000120000006b000006700000c13d000006ee020000410000000f03000029000000000023043500000004023001bf000006f003000041000000000032043500000000020004140000001303000029000000040030008c0000069d0000c13d0000000f01100029000000400010043f0000000f020000290000000002020433000000000002004b0000000003000039000000010300c039000000000032004b00000a490000c13d000000000002004b000007600000c13d000006a802000041000000000021043500000004021001bf000000200300003900000000003204350000006402100039000006ff03000041000000000032043500000044021000390000070003000041000000000032043500000024021000390000002d0300003900000000003204350000004001100210000006cf011001c700001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000003d60000c13d000001e20000013d0000000001000410000a06a60010019b000b00000000001d0000000d030000290000000c01000029000003e60000013d0000000c010000290000001303000029000000010030003a0000000103300039000001b30000413d000000000013004b000005dc0000213d001300000003001d000000000030043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000400200043d000006af0020009c00000a3b0000213d000000000301043b0000014001200039000000400010043f000000000103041a00000000011204360000000104300039000000000404041a00000000004104350000000201300039000000000101041a000000400420003900000000001404350000000301300039000000000101041a0000006004200039001000000004001d00000000001404350000000401300039000000000401041a000000800120003900000000004104350000000504300039000000000404041a000006a604400197000000a005200039000f00000005001d00000000004504350000000604300039000000000404041a000006a604400197000000c0052000390000000000450435000000e0052000390000000703300039000000000303041a000006a604300197000e00000005001d0000000000450435000000a004300270000000ff0440018f000000020040008c000001d10000213d00000100052000390000000000450435000000a803300270000000ff0430018f000000030040008c000001d10000213d00000013050000290000000d0350006a0000012005200039001100000005001d0000000000450435000000800400043d000000000034004b00000d7f0000a13d0000000504300210000000a0044000390000000000240435000000800200043d000000000032004b00000d7f0000a13d0000000001010433001200000001001d000006b00100004100000000001004430000000001000414000006900010009c0000069001008041000000c001100210000006b1011001c70000800b020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000120010006b000003e10000a13d00000011010000290000000001010433000000030010008c000001d10000213d000000010010008c000003e10000c13d000000100100002900000000050104330000000e0100002900000000020104330000000f010000290000000001010433000000400b00043d000006e40300004100000000003b0435000006a6071001970000000401b0003900000000007104350000000001000414000006a606200197000000040060008c000004610000c13d0000000103000031000000200030008c00000020040000390000000004034019000004940000013d000f00000007001d001200000005001d0000069000b0009c000006900200004100000000020b40190000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c7001000000006001d000000000206001900110000000b001d1a3d1a380000040f000000110b000029000000000301001900000060033002700000069003300197000000200030008c00000020040000390000000004034019000000200640019000000000056b0019000004800000613d000000000701034f00000000080b0019000000007907043c0000000008980436000000000058004b0000047c0000c13d0000001f074001900000048d0000613d000000000661034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000007540000613d000000120500002900000010060000290000000f070000290000001f01400039000000600110018f000000000ab1001900000000001a004b00000000020000390000000102004039000006a500a0009c00000a3b0000213d000000010020019000000a3b0000c13d0000004000a0043f000000200030008c00000a490000413d00000000020b0433000000000052004b000003e10000413d0000002402a000390000000a040000290000000000420435000006e50200004100000000002a04350000000402a0003900000000007204350000000002000414000000040060008c000004df0000613d001200000005001d0000069000a0009c000006900100004100000000010a40190000004001100210000006900020009c0000069002008041000000c002200210000000000112019f000006b6011001c7000000000206001900110000000a001d1a3d1a380000040f000000110a000029000000000301001900000060033002700000069003300197000000200030008c00000020040000390000000004034019000000200640019000000000056a0019000004cb0000613d000000000701034f00000000080a0019000000007907043c0000000008980436000000000058004b000004c70000c13d0000001f07400190000004d80000613d000000000661034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000008900000613d0000001f01400039000000600110018f00000012050000290000000001a10019000006a50010009c00000a3b0000213d000000400010043f000000200030008c00000a490000413d00000000010a0433000000000051004b000003e10000413d0000000b01000029000000010010003a0000000c010000290000001303000029000001b30000413d0000000b02000029000b00010020003d000000010030003a0000000103300039000001b30000413d000003e60000013d00000012050000290000001101000029000000000015004b000005bb0000213d001300000005001d000000000050043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000400200043d000006af0020009c00000a3b0000213d000000000101043b0000014003200039000000400030043f000000000301041a00000000033204360000000104100039000000000404041a00000000004304350000000203100039000000000303041a000000400420003900000000003404350000000303100039000000000303041a000000600420003900000000003404350000000403100039000000000303041a000000800420003900000000003404350000000503100039000000000303041a000006a603300197000000a00420003900000000003404350000000603100039000000000303041a000006a603300197000000c0042000390000000000340435000000e0032000390000000701100039000000000101041a000006a6041001970000000000430435000000a003100270000000ff0330018f000000020030008c000001d10000213d00000100042000390000000000340435000000a801100270000000ff0310018f000000030030008c000001d10000213d0000001305000029000000120150006a00000120042000390000000000340435000000800300043d000000000013004b00000d7f0000a13d0000000503100210000000a0033000390000000000230435000000800200043d000000000012004b00000d7f0000a13d000000010050003a00000001055000390000001101000029000001b30000413d000004f50000013d000006900040009c0000069004008041000000c0014002100000004003500210000000000131019f000006a3011001c71a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000013057000290000055d0000613d000000000801034f0000001309000029000000008a08043c0000000009a90436000000000059004b000005590000c13d000000000006004b0000056a0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000005760000613d0000001f01400039000000600110018f0000001301100029001200000001001d000000400010043f000000200030008c0000037b0000813d00000a490000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000057d0000c13d000001e20000013d0000004402100039000006a703000041000000000032043500000024021000390000000803000039000002e10000013d000006900010009c0000069001008041000000c0011002100000001202000029001200000002001d0000004002200210000000000112019f000006a3011001c700000013020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001205700029000005a20000613d000000000801034f0000001209000029000000008a08043c0000000009a90436000000000059004b0000059e0000c13d000000000006004b000005af0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000005d00000613d0000001f01400039000000600110018f0000001202100029000f00000002001d000000400020043f000000200030008c0000039f0000813d00000a490000013d000000400100043d001300000001001d00000080020000391a3d13450000040f00000013020000290000000001210049000006900010009c00000690010080410000006001100210000006900020009c00000690020080410000004002200210000000000121019f00001a3e0001042e000000400100043d0000004402100039000006b203000041000000000032043500000024021000390000000703000039000002e10000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000005d70000c13d000001e20000013d0000000b01000029000006a50010009c00000a3b0000213d0000000b0100002900000005011002100000003f02100039000006d302200197000000400300043d0000000002230019000900000003001d000000000032004b00000000030000390000000103004039000006a50020009c00000a3b0000213d000000010030019000000a3b0000c13d000000400020043f0000000b0200002900000009030000290000000005230436000000000002004b000006110000613d0000000002000019000000400300043d000006af0030009c00000a3b0000213d0000014004300039000000400040043f0000012004300039000000000004043500000100043000390000000000040435000000e0043000390000000000040435000000c0043000390000000000040435000000a0043000390000000000040435000000800430003900000000000404350000006004300039000000000004043500000040043000390000000000040435000000200430003900000000000404350000000000030435000000000452001900000000003404350000002002200039000000000012004b000005f40000413d000000800100043d000f00000001001d000000000001004b000007b10000c13d000000400100043d001300000001001d0000000902000029000005be0000013d0000001202000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001205700029000006340000613d000000000801034f0000001209000029000000008a08043c0000000009a90436000000000059004b000006300000c13d000000000006004b000006410000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000006910000613d0000001f01400039000000600210018f0000001201200029000000000021004b00000000020000390000000102004039000006a50010009c00000a3b0000213d000000010020019000000a3b0000c13d000000400010043f000000200030008c00000a490000413d00000012010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b000006600000613d000000140100008a00000000011000310000000201100367000000000101043b00110060001002780000000001000414000006900010009c00000690010080410000001102000029000006a605200197000000c001100210000006ac011001c70000800d020000390000000303000039000006ad0400004100000013060000291a3d1a330000040f000000010020019000000a490000613d000000000100001900001a3e0001042e001300010000003d000001000100043d000000000001004b000007650000c13d0000000f030000290000004401300039000006fe02000041000000000021043500000024013000390000000b020000390000000000210435000006a801000041000000000013043500000004013000390000002002000039000007740000013d000000400200043d000006a2010000410000000000120435001000000002001d00000004012000390000000002000411000800000002001d000000000021043500000000010004140000000002000410000000040020008c000006cf0000c13d0000000103000031000000200030008c00000020040000390000000004034019000006fb0000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000006980000c13d000001e20000013d000006900020009c0000069002008041000000c0012002100000000f02000029000f00000002001d0000004002200210000000000112019f000006a3011001c700000013020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000000f05700029000006b70000613d000000000801034f0000000f09000029000000008a08043c0000000009a90436000000000059004b000006b30000c13d000000000006004b000006c40000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f000300000001035500000001002001900000073c0000613d0000001f01400039000000600110018f0000000f01100029000000400010043f000000200030008c000003b50000813d00000a490000013d0000001002000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001005700029000006ea0000613d000000000801034f0000001009000029000000008a08043c0000000009a90436000000000059004b000006e60000c13d000000000006004b000006f70000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000007480000613d0000001f01400039000000600110018f0000001002100029000000000012004b00000000010000390000000101004039000900000002001d000006a50020009c00000a3b0000213d000000010010019000000a3b0000c13d0000000901000029000000400010043f000000200030008c00000a490000413d00000010010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b0000000001000411001000000001001d0000071a0000613d000000140100008a00000000011000310000000201100367000000000101043b001000600010027800000011010000290000000001010433000000020010008c0000000c020000290000000b04000029000001d10000213d0000000002020433000600000002001d0000000002040433000706a60020019b000000000001004b000009b50000613d000000010010008c00000b3d0000c13d0000000a010000290000000001010433000500000001001d0000000902000029000000240120003900000006040000290000000000410435000006b70100004100000000001204350000001001000029000006a6041001970000000401200039000600000004001d000000000041043500000000010004140000000702000029000000040020008c000009cd0000c13d0000002004000039000009f90000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000007430000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000074f0000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000075b0000c13d000001e20000013d000f00000001001d001300000000001d000001000100043d000000000001004b000006740000613d000000c00100043d000000010010008c0000078c0000613d000000000001004b000007780000c13d0000000f030000290000004401300039000006f1020000410000000000210435000006a8010000410000000000130435000000240130003900000020020000390000000000210435000000040130003900000000002104350000004001300210000006a9011001c700001a3f00010430000000120000006b0000078c0000c13d0000000f030000290000006401300039000006fc0200004100000000002104350000004401300039000006fd020000410000000000210435000000240130003900000025020000390000000000210435000006a80100004100000000001304350000000401300039000000200200003900000000002104350000004001300210000006cf011001c700001a3f00010430000001200200043d001200000002001d000007030020009c000001b30000213d000006b00100004100000000001004430000000001000414000006900010009c0000069001008041000000c001100210000006b1011001c70000800b020000391a3d1a380000040f0000000100200190000011e60000613d000000120200002900000e1003200039000000400200043d001200000002001d0000000402200039000000000101043b000000000013004b0000089c0000a13d000006a201000041000000120300002900000000001304350000000001000411000000000012043500000000010004140000000002000410000000040020008c000008aa0000c13d0000000103000031000000200030008c00000020040000390000000004034019000008d60000013d0000000003000019000c00000000001d000e00000005001d000007b90000013d000000120300002900000001033000390000000f0030006c000006150000813d000000800100043d000000000031004b00000d7f0000a13d001200000003001d0000000501300210000000a001100039001000000001001d0000000001010433001100000001001d00000080011000390000000001010433001300000001001d000006b00100004100000000001004430000000001000414000006900010009c0000069001008041000000c001100210000006b1011001c70000800b020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000130010006b000007b50000a13d000000110300002900000120013000390000000001010433000000030010008c000001d10000213d000000010010008c0000000e05000029000007b50000c13d00000060013000390000000006010433000000e0013000390000000002010433000000a0013000390000000001010433000000400a00043d000006e40300004100000000003a0435000006a6031001970000000401a00039001100000003001d00000000003104350000000001000414000006a602200197000000040020008c001300000002001d000007f20000c13d0000000103000031000000200030008c00000020040000390000000004034019000008210000013d000d00000006001d0000069000a0009c000006900300004100000000030a40190000004003300210000006900010009c0000069001008041000000c001100210000000000131019f000006a3011001c7000b0000000a001d1a3d1a380000040f0000000b0a000029000000000301001900000060033002700000069003300197000000200030008c00000020040000390000000004034019000000200640019000000000056a00190000080e0000613d000000000701034f00000000080a0019000000007907043c0000000008980436000000000058004b0000080a0000c13d0000001f074001900000081b0000613d000000000661034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000a4b0000613d0000000e050000290000000d060000290000001f01400039000000600110018f00000000040a0019000000000aa1001900000000001a004b00000000020000390000000102004039000006a500a0009c00000a3b0000213d000000010020019000000a3b0000c13d0000004000a0043f000000200030008c00000a490000413d0000000002040433000000000062004b000007b50000413d0000002402a000390000000a040000290000000000420435000006e50200004100000000002a04350000000402a000390000001104000029000000000042043500000000040004140000001302000029000000040020008c0000086f0000613d000d00000006001d0000069000a0009c000006900100004100000000010a40190000004001100210000006900040009c0000069004008041000000c003400210000000000113019f000006b6011001c700130000000a001d1a3d1a380000040f000000130a000029000000000301001900000060033002700000069003300197000000200030008c00000020040000390000000004034019000000200640019000000000056a00190000085a0000613d000000000701034f00000000080a0019000000007907043c0000000008980436000000000058004b000008560000c13d0000001f07400190000008670000613d000000000661034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000a6f0000613d0000001f01400039000000600110018f0000000e050000290000000d060000290000000001a10019000006a50010009c00000a3b0000213d000000400010043f000000200030008c00000a490000413d00000000010a0433000000000061004b000007b50000413d000000800100043d0000001203000029000000000031004b00000d7f0000a13d0000000c02000029000007040020009c000001b30000613d00000009010000290000000001010433000000000021004b00000d7f0000a13d000000100100002900000000010104330000000c0400002900000005024002100000000002520019000000000012043500000009010000290000000001010433000000000041004b00000d7f0000a13d0000000c01000029000c00010010003d000007b60000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000008970000c13d000001e20000013d000006a80100004100000012030000290000000000130435000000200100003900000000001204350000006401300039000006f20200004100000000002104350000004401300039000006f302000041000000000021043500000024013000390000002a0200003900000b4b0000013d0000001202000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001205700029000008c50000613d000000000801034f0000001209000029000000008a08043c0000000009a90436000000000059004b000008c10000c13d000000000006004b000008d20000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000009c10000613d0000001f01400039000000600210018f0000001201200029000000000021004b00000000020000390000000102004039000006a50010009c00000a3b0000213d000000010020019000000a3b0000c13d000000400010043f000000200030008c00000a490000413d00000012010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b000008f10000613d000000140100008a00000000011000310000000201100367000000000101043b0011006000100278000001000300043d000000e00100043d000006a60210019700000011010000291a3d14620000040f000000000001004b000002c70000613d000000400100043d001200000001001d000006af0010009c00000a3b0000213d00000012090000290000014001900039000000a00200043d000000c00300043d000001000400043d000001200500043d000000800600043d000000e00700043d000000400010043f00000120089000390000000101000039000a00000008001d000000000018043500000100089000390000001301000029001100000008001d0000000000180435000006a601700197000000e007900039000900000007001d0000000000170435000006a601600197000000c006900039001300000006001d00000000001604350000008001900039000f00000001001d00000000005104350000006001900039000d00000001001d00000000004104350000004001900039000c00000001001d00000000003104350000002001900039000b00000001001d0000000000210435000000100100002900000000001904350000000e02000029000006a602200197000000a003900039000800000002001d000e00000003001d0000000000230435000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d00000012020000290000000002020433000000000101043b000000000021041b0000000b0300002900000000030304330000000104100039000000000034041b0000000c0300002900000000030304330000000204100039000000000034041b0000000d0300002900000000030304330000000304100039000000000034041b0000000f0300002900000000030304330000000404100039000000000034041b0000000e030000290000000003030433000006a6033001970000000504100039000000000504041a000006f405500197000000000335019f000000000034041b00000013030000290000000003030433000006a6033001970000000604100039000000000504041a000006f405500197000000000335019f000000000034041b00000011030000290000000003030433000000030030008c000001d10000813d0000000a040000290000000004040433000000030040008c000001d10000213d0000000701100039000000000501041a00000009070000290000000006070433000006a606600197000006f505500197000000000565019f000000a003300210000006f603300197000000000335019f000000a804400210000006f704400197000000000343019f000000000031041b000000800300043d000000400100043d00000000022104360000000b04000029000000000404043300000000004204350000000c020000290000000002020433000000400410003900000000002404350000000d020000290000000002020433000000600410003900000000002404350000000f020000290000000002020433000000800410003900000000002404350000000e020000290000000002020433000006a602200197000000a004100039000000000024043500000013020000290000000002020433000006a602200197000000c00410003900000000002404350000000002070433000006a602200197000000e004100039000000000024043500000011020000290000000002020433000000020020008c000001d10000213d000001000410003900000000002404350000000a020000290000000002020433000000030020008c000001d10000213d000006a60730019700000120031000390000000000230435000006900010009c000006900100804100000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006f8011001c70000800d020000390000000403000039000006f904000041000000080500002900000010060000291a3d1a330000040f000000010020019000000a490000613d000000400100043d00000010020000290000000000210435000006900010009c00000690010080410000004001100210000006ea011001c700001a3e0001042e000006b3010000410000000902000029000000000012043500000004012000390000000602000029000000000021043500000000010004140000000702000029000000040020008c00000a090000c13d000000200400003900000a350000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000009c80000c13d000001e20000013d0000000902000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006b6011001c700000007020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000000905700029000009e80000613d000000000801034f0000000909000029000000008a08043c0000000009a90436000000000059004b000009e40000c13d000000000006004b000009f50000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000a570000613d0000001f01400039000000600110018f0000000902100029001000000002001d000006a50020009c00000a3b0000213d0000001002000029000000400020043f000000200030008c00000a490000413d00000009020000290000000002020433000000050020006c00000a7b0000813d000000100100002900000b3c0000013d0000000902000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000007020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000090570002900000a240000613d000000000801034f0000000909000029000000008a08043c0000000009a90436000000000059004b00000a200000c13d000000000006004b00000a310000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000a630000613d0000001f01400039000000600110018f0000000902100029000500000002001d000006a50020009c00000a410000a13d000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f000104300000000502000029000000400020043f000000200030008c00000a490000413d00000009020000290000000002020433000006a60020009c00000ac90000a13d000000000100001900001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000a520000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000a5e0000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000a6a0000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000a760000c13d000001e20000013d0000000002000410000006a602200197000000100500002900000024045000390000000000240435000006b502000041000000000025043500000004025000390000000604000029000000000042043500000000020004140000000704000029000000040040008c00000ab70000613d0000001001000029000006900010009c00000690010080410000004001100210000006900020009c0000069002008041000000c002200210000000000112019f000006b6011001c700000007020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000100570002900000aa40000613d000000000801034f0000001009000029000000008a08043c0000000009a90436000000000059004b00000aa00000c13d000000000006004b00000ab10000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000b510000613d0000001f01400039000000600110018f0000001001100029000900000001001d000006a50010009c00000a3b0000213d0000000901000029000000400010043f000000200030008c00000a490000413d00000010010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b00000b130000c13d00000b3d0000013d000000100220014f000006a60020019800000b3b0000c13d000006b4020000410000000504000029000000000024043500000004024000390000000604000029000000000042043500000000020004140000000704000029000000040040008c00000b040000613d0000000501000029000006900010009c00000690010080410000004001100210000006900020009c0000069002008041000000c002200210000000000112019f000006a3011001c700000007020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000050570002900000af10000613d000000000801034f0000000509000029000000008a08043c0000000009a90436000000000059004b00000aed0000c13d000000000006004b00000afe0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000b5d0000613d0000001f01400039000000600110018f0000000502100029000600000002001d000006a50020009c00000a3b0000213d0000000602000029000000400020043f000000200030008c00000a490000413d00000005020000290000000002020433000006a60020009c00000a490000213d0000000004000410000000000042004b00000b690000c13d00000004010000390000000201100367000000000101043b000000000010043f000006a001000041000000200010043f0000000001000414000006900010009c0000069001008041000000c001100210000006a1011001c700008010020000391a3d1a380000040f000000010020019000000a490000613d000000000101043b0000000701100039000000000201041a000006aa02200197000006b8022001c7000000000021041b0000000f010000290000000001010433000700000001001d000006a201000041000000400200043d0000000000120435001000000002001d00000004012000390000000002000411000000000021043500000000010004140000000002000410000000040020008c00000bb00000c13d0000000103000031000000200030008c0000002004000039000000000403401900000bdc0000013d0000000501000029000900000001001d00000009030000290000006401300039000006dc0200004100000000002104350000004401300039000006dd02000041000000000021043500000024013000390000002a020000390000000000210435000006a8010000410000000000130435000000040130003900000020020000390000000000210435000006900030009c00000690030080410000004001300210000006cf011001c700001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000b580000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000b640000c13d000001e20000013d0000000002000410000006a602200197000000060500002900000024045000390000000000240435000006b50200004100000000002504350000001002000029000006a6022001970000000404500039000000000024043500000000020004140000000704000029000000040040008c00000ba60000613d0000000601000029000006900010009c00000690010080410000004001100210000006900020009c0000069002008041000000c002200210000000000112019f000006b6011001c700000007020000291a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000060570002900000b930000613d000000000801034f0000000609000029000000008a08043c0000000009a90436000000000059004b00000b8f0000c13d000000000006004b00000ba00000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000c200000613d0000001f01400039000000600110018f0000000601100029000900000001001d000006a50010009c00000a3b0000213d0000000901000029000000400010043f000000200030008c00000a490000413d000000060100002900000ac00000013d0000001002000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000100570002900000bcb0000613d000000000801034f0000001009000029000000008a08043c0000000009a90436000000000059004b00000bc70000c13d000000000006004b00000bd80000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000c140000613d0000001f01400039000000600110018f0000001002100029000000000012004b00000000010000390000000101004039000900000002001d000006a50020009c00000a3b0000213d000000010010019000000a3b0000c13d0000000901000029000000400010043f000000200030008c00000a490000413d00000010010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b0000000001000411000600000001001d00000bfb0000613d000000140100008a00000000011000310000000201100367000000000101043b00060060001002780000000e01000029000000000101043300100064001000cd0000000d020000290000000002020433000500000002001d000d00000001001d000000000001004b00000c080000613d00000010020000290000000d012000fa000000640010008c000001b30000c13d000006b90100004100000009020000290000000001120436000400000001001d00000000010004140000000002000410000000040020008c00000c2c0000c13d000000400030008c0000004004000039000000000403401900000c580000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000c1b0000c13d000001e20000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000c270000c13d000001e20000013d0000000902000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006ba011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000400030008c000000400400003900000000040340190000001f0640018f0000006007400190000000090570002900000c470000613d000000000801034f0000000909000029000000008a08043c0000000009a90436000000000059004b00000c430000c13d000000000006004b00000c540000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000c8e0000613d0000001f01400039000000e00110018f0000000901100029000006a50010009c00000a3b0000213d000000400010043f000000400030008c00000a490000413d00000009020000290000000002020433000300000002001d000006a60020009c00000a490000213d000000040200002900000000020204330000ffff0020008c00000a490000213d0000000704000029000906a60040019b0000000504000029000706a60040019b0000000d0000006b00000c9a0000c13d00000007010000290000000902000029000000030300002900000000040000191a3d15440000040f001000000000001d000200000000001d0000000b0100002900000000010104330000000c020000290000000002020433000000400500043d00000044035000390000000d04000029000000000043043500000024035000390000000000230435000006d1020000410000000002250436000400000002001d000006a601100197001300000005001d0000000402500039000000000012043500000000010004140000000002000410000000040020008c00000cb10000c13d0000000301000367000000010300003100000cc30000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000c950000c13d000001e20000013d0000000d052000b9000500000005001d0000000d045000fa000000000042004b000001b30000c13d00000010040000290002271000400122000027100040008c00000d910000813d0000000501000029000027100410011a001300000004001d0000000701000029000000090200002900000003030000291a3d15440000040f00000013020000290010000d00200073000001b30000413d0000001002000029000000020020006b00000c760000a13d000001b30000013d0000001302000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a9011001c700000000020004101a3d1a330000040f00000000030100190000006003300270000106900030019d00000690033001970003000000010355000000010020019000000d850000613d00000702053001980000001f0630018f000000130450002900000ccd0000613d000000000701034f0000001308000029000000007907043c0000000008980436000000000048004b00000cc90000c13d000000000006004b00000cda0000613d000000000151034f0000000305600210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000001f0130003900000702011001970000001302100029000000000012004b00000000010000390000000101004039000d00000002001d000006a50020009c00000a3b0000213d000000010010019000000a3b0000c13d0000000d01000029000000400010043f000006c30030009c00000a490000213d000000400030008c00000a490000413d00000013010000290000000001010433000006a50010009c00000a490000213d00000013041000290000001301300029000006d2021001970000001f03400039000006d205300197000000000625013f000000000025004b0000000005000019000006d205004041000000000013004b0000000003000019000006d203008041000006d20060009c000000000503c019000000000005004b00000a490000c13d0000000034040434000006a50040009c00000a3b0000213d00000005054002100000003f06500039000006d3066001970000000d06600029000006a50060009c00000a3b0000213d000000400060043f0000000d060000290000000004460436000500000004001d0000000004350019000000000014004b00000a490000213d000000000043004b00000d180000813d00000005050000290000000036030434000006a60060009c00000a490000213d0000000005650436000000000043004b00000d120000413d00000004030000290000000003030433000006a50030009c00000a490000213d00000013033000290000001f04300039000000000014004b0000000005000019000006d205008041000006d204400197000000000624013f000000000024004b0000000002000019000006d202004041000006d20060009c000000000205c019000000000002004b00000a490000c13d0000000023030434000006a50030009c00000a3b0000213d00000005043002100000003f05400039000006d305500197000000400600043d0000000005560019000400000006001d000000000065004b00000000060000390000000106004039000006a50050009c00000a3b0000213d000000010060019000000a3b0000c13d000000400050043f00000004050000290000000003350436000300000003001d0000000003240019000000000013004b00000a490000213d000000000032004b00000d490000813d0000000401000029000000200110003900000000240204340000000000410435000000000032004b00000d440000413d000000100200002900100002002000720000000d010000290000000001010433000200000001001d000000000001004b00000d6a0000613d001300000000001d0000000d010000290000000001010433000000130010006c00000d7f0000a13d00000004010000290000000001010433000000130010006c00000d7f0000a13d00000013010000290000000501100210000000030210002900000000040204330010001000400073000010620000413d00000005011000290000000001010433000006a603100197000000070100002900000009020000291a3d15440000040f00000013020000290000000102200039001300000002001d000000020020006c00000d510000413d00000007010000290000000902000029000000060300002900000010040000291a3d15440000040f000006a201000041000000400200043d0000000000120435001000000002001d00000004012000390000000002000411000000000021043500000000010004140000000002000410000000040020008c000010690000c13d0000000103000031000000200030008c00000020040000390000000004034019000010950000013d000006e601000041000000000010043f0000003201000039000000040010043f000006a30100004100001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000d8c0000c13d000001e20000013d0000000702000029000006bb0020009c00000e3a0000c13d0000000002000410000000090020006b00000e620000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b00000a490000613d000000400300043d000006cc010000410000000000130435000000040130003900000002020000290000000000210435000006900030009c001300000003001d0000069001000041000000000103401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006a3011001c700000000020000191a3d1a330000040f00000000030100190000006003300270000106900030019d0003000000010355000000010020019000000f2e0000613d0000001301000029000006a50010009c00000a3b0000213d0000001301000029000000400010043f0000000001000414000006900010009c0000069001008041000000c001100210000006ac011001c700008009020000390000000203000029000006bc0400004100000000050000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d00000690033001980000102b0000c13d000000010020019000000ca30000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b00000a490000613d000000400200043d000006c9010000410000000001120436000400000001001d000006900020009c001000000002001d0000069001000041000000000102401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006ca011001c700008009020000390000000203000029000000000400001900000000050000191a3d1a330000040f00000000030100190000006003300270000106900030019d000300000001035500000001002001900000110f0000613d0000001001000029000006a50010009c00000a3b0000213d0000001003000029000000400030043f000000440130003900000002020000290000000000210435000006c401000041000000040200002900000000001204350000002401300039000006bc02000041000000000021043500000044010000390000000000130435000006c50030009c00000a3b0000213d00000010020000290000008001200039000100000001001d000000400010043f000006c60020009c00000a3b0000213d0000001003000029000000c001300039000000400010043f000000200200003900000001010000290000000000210435000000a002300039000006c001000041001300000002001d00000000001204350000000401000029000006900010009c000006900100804100000040011002100000000002030433000006900020009c00000690020080410000006002200210000000000112019f0000000002000414000006900020009c0000069002008041000000c002200210000000000121019f00000000020000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d00000690033001980000111c0000c13d000400600000003d001000800000003d000011450000013d0000000902000029000006bc0020009c00000ca30000613d0000004404100039000000240510003900000020021000390000000006000410000000090060006b00000e700000c13d000006c4060000410000000000620435000006bc0600004100000000006504350000000205000029000000000054043500000044040000390000000000410435000006c50010009c00000a3b0000213d0000008004100039001000000004001d000000400040043f000006c60010009c00000a3b0000213d000000c004100039000000400040043f000000200500003900000010040000290000000000540435000000a005100039000006c004000041001300000005001d0000000000450435000000000401043300000000010004140000000705000029000000040050008c00000f3b0000c13d000000010200003900000f510000013d000006bc0020009c00000e920000c13d000000240210003900000002030000290000000000320435000006cb02000041000000000021043500000004021000390000000000020435000006900010009c00000690010080410000004001100210000006b6011001c700001a3f00010430000006bd06000041000000000062043500000009060000290000000000650435000006bc05000041000000000054043500000064041000390000000205000029000000000054043500000064040000390000000000410435000006be0010009c00000a3b0000213d000000a004100039000400000004001d000000400040043f000006bf0010009c00000a3b0000213d000000e004100039000000400040043f000000200500003900000004040000290000000000540435000000c005100039000006c004000041001000000005001d0000000000450435000000000401043300000000010004140000000705000029000000040050008c00000f970000c13d000000010200003900000fac0000013d0000000001000414000006900010009c0000069001008041000000c001100210000006ac011001c700008009020000390000000203000029000006bc0400004100000000050000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d000006900330019800000f080000c13d000000010020019000000ca30000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b00000a490000613d000000400200043d000006c9010000410000000001120436000400000001001d000006900020009c001000000002001d0000069001000041000000000102401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006ca011001c700008009020000390000000203000029000000000400001900000000050000191a3d1a330000040f00000000030100190000006003300270000106900030019d00030000000103550000000100200190000010510000613d0000001001000029000006a50010009c00000a3b0000213d0000001003000029000000400030043f000000440130003900000002020000290000000000210435000006c401000041000000040200002900000000001204350000002401300039000006bc02000041000000000021043500000044010000390000000000130435000006c50030009c00000a3b0000213d00000010020000290000008001200039000100000001001d000000400010043f000006c60020009c00000a3b0000213d0000001003000029000000c001300039000000400010043f000000200200003900000001010000290000000000210435000000a002300039000006c001000041001300000002001d00000000001204350000000401000029000006900010009c000006900100804100000040011002100000000002030433000006900020009c00000690020080410000006002200210000000000112019f0000000002000414000006900020009c0000069002008041000000c002200210000000000121019f00000000020000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d0000069003300198000011500000c13d000400600000003d001000800000003d000011790000013d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000006a50040009c00000a3b0000213d000000010060019000000a3b0000c13d000000400040043f0000001f0430018f0000000006350436000006a405300198000000000356001900000f200000613d000000000701034f000000007807043c0000000006860436000000000036004b00000f1c0000c13d000000000004004b00000ea20000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f000000000013043500000ea20000013d00000690033001970000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000f360000c13d000001e20000013d000006900020009c00000690020080410000004002200210000006900040009c00000690040080410000006003400210000000000223019f000006900010009c0000069001008041000000c001100210000000000112019f00000007020000291a3d1a330000040f000000010220018f00030000000103550000006001100270000106900010019d000006900310019800000f510000c13d000400600000003d000100800000003d00000f7b0000013d0000001f0430003900000702044001970000003f044000390000070205400197000000400400043d000400000004001d0000000004450019000000000054004b00000000050000390000000105004039000006a50040009c00000a3b0000213d000000010050019000000a3b0000c13d000000400040043f0000000404000029000000000534043600000702043001980000001f0330018f000100000005001d0000000001450019000000030500036700000f6e0000613d000000000605034f0000000107000029000000006806043c0000000007870436000000000017004b00000f6a0000c13d000000000003004b00000f7b0000613d000000000445034f0000000303300210000000000501043300000000053501cf000000000535022f000000000404043b0000010003300089000000000434022f00000000033401cf000000000353019f000000000031043500000004010000290000000001010433000000000002004b00000ff20000c13d000000000001004b0000105e0000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000010020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000012450000613d000000000400001900000000053400190000001306400029000000000606043300000000006504350000002004400039000000000024004b00000f8f0000413d000012450000013d000006900020009c00000690020080410000004002200210000006900040009c00000690040080410000006003400210000000000223019f000006900010009c0000069001008041000000c001100210000000000112019f00000007020000291a3d1a330000040f000000010220018f00030000000103550000006001100270000106900010019d000006900310019800000fac0000c13d000100600000003d00000fd60000013d0000001f0430003900000702044001970000003f044000390000070205400197000000400400043d000100000004001d0000000004450019000000000054004b00000000050000390000000105004039000006a50040009c00000a3b0000213d000000010050019000000a3b0000c13d000000400040043f0000000104000029000000000534043600000702043001980000001f0330018f001300000005001d0000000001450019000000030500036700000fc90000613d000000000605034f0000001307000029000000006806043c0000000007870436000000000017004b00000fc50000c13d000000000003004b00000fd60000613d000000000445034f0000000303300210000000000501043300000000053501cf000000000535022f000000000404043b0000010003300089000000000434022f00000000033401cf000000000353019f000000000031043500000001010000290000000001010433000000000002004b0000100e0000c13d000000000001004b000010600000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000004020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000012450000613d000000000400001900000000053400190000001006400029000000000606043300000000006504350000002004400039000000000024004b00000fea0000413d000012450000013d000000000001004b000010080000c13d000006c1010000410000000000100443000000070100002900000004001004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b0000118e0000613d00000004010000290000000001010433000000000001004b00000ca30000613d000006c30010009c00000a490000213d000000200010008c00000a490000413d00000001010000290000125b0000013d000000000001004b000010240000c13d000006c1010000410000000000100443000000070100002900000004001004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b0000118e0000613d00000001010000290000000001010433000000000001004b00000ca30000613d000006c30010009c000000130200002900000a490000213d000000200010008c00000a490000413d00000000010204330000125c0000013d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000006a50040009c00000a3b0000213d000000010060019000000a3b0000c13d000000400040043f0000001f0430018f0000000006350436000006a4053001980000000003560019000010430000613d000000000701034f000000007807043c0000000006860436000000000036004b0000103f0000c13d000000000004004b00000dd40000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f000000000013043500000dd40000013d00000690033001970000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000010590000c13d000001e20000013d0000000102000029000012ff0000013d0000001302000029000012ff0000013d000000400100043d0000004402100039000006d403000041000000000032043500000024021000390000001503000039000002e10000013d0000001002000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001005700029000010840000613d000000000801034f0000001009000029000000008a08043c0000000009a90436000000000059004b000010800000c13d000000000006004b000010910000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000011950000613d0000001f01400039000000600110018f0000001002100029000000000012004b00000000010000390000000101004039001300000002001d000006a50020009c00000a3b0000213d000000010010019000000a3b0000c13d0000001301000029000000400010043f000000200030008c00000a490000413d00000010010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b0000000001000411001000000001001d000010b40000613d000000140100008a00000000011000310000000201100367000000000101043b001000600010027800000011010000290000000001010433000000020010008c0000000f02000029000001d10000213d0000000002020433001106a60020019b000000000001004b000011a10000613d000000010010008c000011e70000c13d0000000a010000290000000001010433000900000001001d0000000c010000290000000001010433001300000001001d0000000b010000290000000001010433000006c1020000410000000000200443000006a601100197000d00000001001d00000004001004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b00000a490000613d000000400300043d0000008401300039000000a0020000390000000000210435000000640130003900000009020000290000000000210435000000440130003900000013020000290000000000210435000000240130003900000011020000290000000000210435000006d70100004100000000001304350000001001000029000006a6011001970000000402300039001100000002001d0000000000120435001300000003001d000000a401300039000000000001043500000000010004140000000d02000029000000040020008c000011040000613d0000001302000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006d8011001c70000000d020000291a3d1a330000040f00000000030100190000006003300270000106900030019d00030000000103550000000100200190000012040000613d0000001301000029000006a50010009c00000a3b0000213d0000001301000029000000400010043f000000140100002a000011e90000613d000006900010009c0000069001008041000006d9011000d100001a3f0001043000000690033001970000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000011170000c13d000001e20000013d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400500043d0000000004450019000400000005001d000000000054004b00000000050000390000000105004039000006a50040009c00000a3b0000213d000000010050019000000a3b0000c13d000000400040043f0000001f0430018f00000004050000290000000006350436000006a405300198001000000006001d0000000003560019000011380000613d000000000601034f0000001007000029000000006806043c0000000007870436000000000037004b000011340000c13d000000000004004b000011450000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000000040100002900000000010104330000000100200190000012160000613d000000000001004b000012560000c13d000006c101000041000000000010044300000004000004430000000001000414000011830000013d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400500043d0000000004450019000400000005001d000000000054004b00000000050000390000000105004039000006a50040009c00000a3b0000213d000000010050019000000a3b0000c13d000000400040043f0000001f0430018f00000004050000290000000006350436000006a405300198001000000006001d00000000035600190000116c0000613d000000000601034f0000001007000029000000006806043c0000000007870436000000000037004b000011680000c13d000000000004004b000011790000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000401000029000000000101043300000001002001900000122e0000613d000000000001004b000012560000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b000012520000c13d000000400100043d0000004402100039000006d003000041000000000032043500000024021000390000001d03000039000002e10000013d0000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000119c0000c13d000001e20000013d0000000c010000290000000001010433001300000001001d0000000b010000290000000001010433000006c1020000410000000000200443000006a601100197000d00000001001d00000004001004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f0000000100200190000011e60000613d000000000101043b000000000001004b00000a490000613d000000400300043d000000640130003900000080020000390000000000210435000000440130003900000013020000290000000000210435000000240130003900000011020000290000000000210435000006d50100004100000000001304350000001001000029000006a6011001970000000402300039001100000002001d0000000000120435001300000003001d0000008401300039000000000001043500000000010004140000000d02000029000000040020008c000011e00000613d0000001302000029000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006d6011001c70000000d020000291a3d1a330000040f00000000030100190000006003300270000106900030019d000300000001035500000001002001900000126d0000613d0000001301000029000006a50010009c00000a3b0000213d0000001301000029000000400010043f000011e90000013d000000000001042f0000001301000029001100040010003d0000000c010000290000000001010433001000000001001d00000012010000290000000001010433001200000001001d0000000f010000290000000001010433000f00000001001d0000000b010000290000000001010433000d00000001001d000006a2010000410000001302000029000000000012043500000000010004110000001102000029000000000012043500000000010004140000000002000410000000040020008c000012910000c13d0000000103000031000000200030008c00000020040000390000000004034019000012be0000013d000006900230019700000014030000290000000004230019000000000024004b00000a490000213d000000000431034f0000001f0520018f000006a406200198000000400100043d00000000036100190000127e0000613d000000000704034f0000000008010019000000007907043c0000000008980436000000000038004b000012110000c13d0000127e0000013d000000000001004b000012fe0000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000001020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000012450000613d000000000400001900000000053400190000001306400029000000000606043300000000006504350000002004400039000000000024004b000012260000413d000012450000013d000000000001004b000012fe0000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000001020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000012450000613d000000000400001900000000053400190000001306400029000000000606043300000000006504350000002004400039000000000024004b0000123e0000413d0000001f042000390000070204400197000000000232001900000000000204350000004402400039000006900020009c00000690020080410000006002200210000006900010009c00000690010080410000004001100210000000000112019f00001a3f0001043000000004010000290000000001010433000000000001004b00000ca30000613d000006c30010009c00000a490000213d000000200010008c00000a490000413d00000010010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b00000a490000c13d000000000001004b00000ca30000c13d000000400100043d0000006402100039000006cd0300004100000000003204350000004402100039000006ce03000041000000000032043500000024021000390000002a03000039000002d00000013d000006900230019700000014030000290000000004230019000000000024004b00000a490000213d000000000431034f0000001f0520018f000006a406200198000000400100043d00000000036100190000127e0000613d000000000704034f0000000008010019000000007907043c0000000008980436000000000038004b0000127a0000c13d000000000005004b0000128b0000613d000000000464034f0000000305500210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f00000000004304350000006002200210000006900010009c00000690010080410000004001100210000000000121019f00001a3f000104300000001302000029001300000002001d000006900020009c00000690020080410000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c700000000020004101a3d1a380000040f000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001305700029000012ad0000613d000000000801034f0000001309000029000000008a08043c0000000009a90436000000000059004b000012a90000c13d000000000006004b000012ba0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000013070000613d0000001f01400039000000600110018f0000001301100029000006a50010009c00000a3b0000213d000000400010043f000000200030008c00000a490000413d00000013020000290000000002020433000000000002004b0000000003000039000000010300c039000000000032004b00000a490000c13d0000000d03000029000006a6073001970000000f03000029000006a605300197000000000002004b000012d80000613d000000140200008a00000000022000310000000202200367000000000202043b00080060002002780000000a0200002900000000020204330000000e03000029000000000303043300000060041000390000000000340435000000400310003900000000002304350000000802000029000006a6022001970000002003100039000000000023043500000010020000290000000000210435000006900010009c000006900100804100000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006da011001c70000800d020000390000000403000039000006db0400004100000012060000291a3d1a330000040f000000010020019000000a490000613d00000001010000390000069102000041000000000012041b0000001401000029000006900010009c0000069001008041000006d9011000d100001a3e0001042e0000001002000029000006900020009c00000690020080410000004002200210000006900010009c00000690010080410000006001100210000000000121019f00001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000001e20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000130e0000c13d000001e20000013d0000000043010434000000000332043600000000040404330000000000430435000000400310003900000000030304330000004004200039000000000034043500000060031000390000000003030433000000600420003900000000003404350000008003100039000000000303043300000080042000390000000000340435000000a0031000390000000003030433000006a603300197000000a0042000390000000000340435000000c0031000390000000003030433000006a603300197000000c0042000390000000000340435000000e003200039000000e0041000390000000004040433000006a604400197000000000043043500000100031000390000000003030433000000030030008c0000133f0000813d0000010004200039000000000034043500000120011000390000000001010433000000030010008c0000133f0000213d00000120022000390000000000120435000000000001042d000006e601000041000000000010043f0000002101000039000000040010043f000006a30100004100001a3f0001043000000020030000390000000004310436000000000302043300000000003404350000004001100039000000000003004b0000137e0000613d0000000004000019000000200220003900000000050204330000000076050434000000000661043600000000070704330000000000760435000000400650003900000000060604330000004007100039000000000067043500000060065000390000000006060433000000600710003900000000006704350000008006500039000000000606043300000080071000390000000000670435000000a0065000390000000006060433000006a606600197000000a0071000390000000000670435000000c0065000390000000006060433000006a606600197000000c0071000390000000000670435000000e006100039000000e0075000390000000007070433000006a607700197000000000076043500000100065000390000000006060433000000030060008c0000137f0000813d0000010007100039000000000067043500000120055000390000000005050433000000030050008c0000137f0000213d0000012006100039000000000056043500000140011000390000000104400039000000000034004b0000134d0000413d000000000001042d000006e601000041000000000010043f0000002101000039000000040010043f000006a30100004100001a3f000104300001000000000002000000400b00043d000006a20100004100000000001b04350000000402b000390000000001000411000000000012043500000000040004140000000002000410000000040020008c000013950000c13d0000000103000031000000200030008c00000020040000390000000004034019000013c30000013d0000069000b0009c000006900300004100000000030b40190000004003300210000006900040009c0000069004008041000000c001400210000000000131019f000006a3011001c700010000000b001d1a3d1a380000040f000000010b000029000000000301001900000060033002700000069003300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000013b10000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000013ad0000c13d000000000006004b000013be0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000013e60000613d00000000010004110000001f02400039000000600220018f0000000004b20019000000000024004b00000000020000390000000102004039000006a50040009c000013e00000213d0000000100200190000013e00000c13d000000400040043f0000001f0030008c000013de0000a13d00000000030b0433000000000003004b0000000002000039000000010200c039000000000023004b000013de0000c13d000000000003004b000013dd0000613d000000140100008a00000000011000310000000201100367000000000101043b0000006001100270000000000001042d000000000100001900001a3f00010430000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f000104300000001f0530018f000006a406300198000000400200043d0000000004620019000013f10000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000013ed0000c13d000000000005004b000013fe0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000006900020009c00000690020080410000004002200210000000000112019f00001a3f00010430000000400100043d000007050010009c0000141d0000813d0000014002100039000000400020043f0000012002100039000000000002043500000100021000390000000000020435000000e0021000390000000000020435000000c0021000390000000000020435000000a0021000390000000000020435000000800210003900000000000204350000006002100039000000000002043500000040021000390000000000020435000000200210003900000000000204350000000000010435000000000001042d000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f000104300000000002010019000000400100043d000007050010009c0000145c0000813d0000014003100039000000400030043f000000000302041a00000000033104360000000104200039000000000404041a00000000004304350000000203200039000000000303041a000000400410003900000000003404350000000303200039000000000303041a000000600410003900000000003404350000000403200039000000000303041a000000800410003900000000003404350000000503200039000000000303041a000006a603300197000000a00410003900000000003404350000000603200039000000000303041a000006a603300197000000c0041000390000000000340435000000e0031000390000000702200039000000000202041a000006a6042001970000000000430435000000a003200270000000ff0330018f000000030030008c000014560000813d00000100041000390000000000340435000000a802200270000000ff0220018f000000030020008c000014560000213d00000120031000390000000000230435000000000001042d000006e601000041000000000010043f0000002101000039000000040010043f000006a30100004100001a3f00010430000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f000104300004000000000002000000400d00043d000006e40400004100000000004d0435000006a6061001970000000401d0003900000000006104350000000001000414000006a605200197000000040050008c000014720000c13d000000010b0000310000002000b0008c000000200400003900000000040b4019000014a60000013d000100000006001d000400000003001d0000069000d0009c000006900200004100000000020d40190000004002200210000006900010009c0000069001008041000000c001100210000000000121019f000006a3011001c7000200000005001d000000000205001900030000000d001d1a3d1a380000040f000000030d00002900000000030100190000006003300270000006900b3001970000002000b0008c000000200400003900000000040b40190000001f0640018f000000200740019000000000057d0019000014920000613d000000000801034f00000000090d0019000000008a08043c0000000009a90436000000000059004b0000148e0000c13d000000000006004b0000149f0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f000000000065043500010000000b001f00030000000103550000000100200190000015080000613d0000000403000029000000020500002900000001060000290000001f01400039000000600110018f000000000cd1001900000000001c004b00000000020000390000000102004039000006a500c0009c000015000000213d0000000100200190000015000000c13d0000004000c0043f0000001f00b0008c000015060000a13d00000000020d0433000000000032004b0000000002000019000014fe0000413d0000000002000410000006a6022001970000002404c000390000000000240435000006e50200004100000000002c04350000000402c0003900000000006204350000000002000414000000040050008c000014f40000613d000400000003001d0000069000c0009c000006900100004100000000010c40190000004001100210000006900020009c0000069002008041000000c002200210000000000112019f000006b6011001c7000000000205001900030000000c001d1a3d1a380000040f000000030c00002900000000030100190000006003300270000006900b3001970000002000b0008c000000200400003900000000040b40190000001f0640018f000000200740019000000000057c0019000014e00000613d000000000801034f00000000090c0019000000008a08043c0000000009a90436000000000059004b000014dc0000c13d000000000006004b000014ed0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f000000000065043500010000000b001f00030000000103550000000100200190000015260000613d0000001f01400039000000600110018f00000004030000290000000001c10019000006a50010009c000015000000213d000000400010043f0000002000b0008c000015060000413d00000000010c0433000000000031004b00000000020000390000000102008039000000010120018f000000000001042d000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f00010430000000000100001900001a3f000104300000001f05b0018f000006a406b00198000000400200043d0000000004620019000015130000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000150f0000c13d000000000005004b000015200000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001b00210000006900020009c00000690020080410000004002200210000000000112019f00001a3f000104300000001f05b0018f000006a406b00198000000400200043d0000000004620019000015310000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000152d0000c13d000000000005004b0000153e0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001b00210000006900020009c00000690020080410000004002200210000000000121019f00001a3f0001043000040000000000020000000005030019000000000004004b000018400000613d000006a603200197000006a609100197000006bb0090009c000015a50000c13d0000000001000410000000000013004b000400000004001d000015f30000c13d000300000005001d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b00000004020000290000186a0000613d000000400300043d000006cc01000041000000000013043500000004013000390000000000210435000006900030009c000200000003001d0000069001000041000000000103401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006a3011001c700000000020000191a3d1a330000040f00000000030100190000006003300270000106900030019d000006900a30019700030000000103550000000100200190000018810000613d0000000205000029000006a50050009c0000000403000029000018640000213d000000400050043f00000000020004140000000304000029000000040040008c000016980000c13d00000000000a004b000018400000613d0000001f02a00039000006c7022001970000003f02200039000006c8022001970000000002520019000006a50020009c000018640000213d000000400020043f0000001f04a0018f0000000005a50436000006a403a001980000000002350019000015970000613d000000000601034f000000006706043c0000000005750436000000000025004b000015930000c13d000000000004004b000018400000613d000000000131034f0000000303400210000000000402043300000000043401cf000000000434022f000000000101043b0000010003300089000000000131022f00000000013101cf000000000141019f0000000000120435000000000001042d000006a608500197000000000083004b000018400000613d000000400200043d0000004405200039000000240620003900000020012000390000000007000410000000000073004b000016260000c13d000006c40300004100000000003104350000000000860435000000000045043500000044030000390000000000320435000006c50020009c000018640000213d000000800a2000390000004000a0043f0000070600a0009c000018640000213d000000c003200039000000400030043f000000200300003900000000003a0435000000a004200039000006c003000041000000000034043500000000030204330000000002000414000000040090008c000300000004001d000017c50000c13d00000001020000390000000101000031000000000001004b000017dd0000613d0000001f0410003900000702044001970000003f044000390000070204400197000000400c00043d00000000044c00190000000000c4004b00000000050000390000000105004039000006a50040009c000018640000213d0000000100500190000018640000c13d000000400040043f000000000b1c043600000702031001980000001f0410018f00000000013b00190000000305000367000015e50000613d000000000605034f00000000070b0019000000006806043c0000000007870436000000000017004b000015e10000c13d000000000004004b000017df0000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000310435000017df0000013d000006a602500197000000000012004b0000166c0000c13d0000000001000416000000000041004b0000189b0000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b00000004030000290000186a0000613d000000400200043d000006c9010000410000000000120435000006900020009c000300000002001d0000069001000041000000000102401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006ca011001c70000800902000039000000000400001900000000050000191a3d1a330000040f00000000030100190000006003300270000106900030019d00030000000103550000000100200190000018a80000613d0000000301000029000006a50010009c000018640000213d000000400010043f000000000001042d000006bd070000410000000000710435000000000036043500000000008504350000006403200039000000000043043500000064030000390000000000320435000006be0020009c000018640000213d000000a00a2000390000004000a0043f000006bf0020009c000018640000213d000000e003200039000000400030043f000000200300003900000000003a0435000000c004200039000006c003000041000000000034043500000000030204330000000002000414000000040090008c000300000004001d000017ff0000c13d00000001020000390000000101000031000000000001004b000018170000613d0000001f0410003900000702044001970000003f044000390000070204400197000000400c00043d00000000044c00190000000000c4004b00000000050000390000000105004039000006a50040009c000018640000213d0000000100500190000018640000c13d000000400040043f000000000b1c043600000702031001980000001f0410018f00000000013b001900000003050003670000165e0000613d000000000605034f00000000070b0019000000006806043c0000000007870436000000000017004b0000165a0000c13d000000000004004b000018190000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000310435000018190000013d0000000001000414000000040050008c000017500000c13d0000000101000032000018400000613d0000001f0310003900000702033001970000003f033000390000070204300197000000400300043d0000000004430019000000000034004b00000000050000390000000105004039000006a50040009c000018640000213d0000000100500190000018640000c13d000000400040043f000000000513043600000702021001980000001f0310018f000000000125001900000003040003670000168a0000613d000000000604034f000000006706043c0000000005750436000000000015004b000016860000c13d000000000003004b000018400000613d000000000224034f0000000303300210000000000401043300000000043401cf000000000434022f000000000202043b0000010003300089000000000232022f00000000023201cf000000000242019f0000000000210435000000000001042d000006900020009c0000069002008041000000c001200210000006ac011001c7000080090200003900000000050000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d0000069003300198000016ca0000613d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000006a50040009c000018640000213d0000000100600190000018640000c13d000000400040043f0000001f0430018f0000000006350436000006a4053001980000000003560019000016bd0000613d000000000701034f000000007807043c0000000006860436000000000036004b000016b90000c13d000000000004004b000016ca0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000100200190000018400000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b00000004030000290000186a0000613d000000400200043d000006c9010000410000000001120436000100000001001d000006900020009c000200000002001d0000069001000041000000000102401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006ca011001c70000800902000039000000000400001900000000050000191a3d1a330000040f00000000030100190000006003300270000106900030019d00030000000103550000000100200190000018fe0000613d0000000203000029000006a50030009c00000004020000290000000104000029000018640000213d000000400030043f00000044013000390000000000210435000006c40100004100000000001404350000000301000029000006a6011001970000002402300039000000000012043500000044010000390000000000130435000006c50030009c000018640000213d0000008002300039000000400020043f000006c60030009c000018640000213d000000c001300039000000400010043f0000002001000039000300000002001d0000000000120435000000a002300039000006c001000041000400000002001d0000000000120435000006900040009c000006900400804100000040014002100000000002030433000006900020009c00000690020080410000006002200210000000000112019f0000000002000414000006900020009c0000069002008041000000c002200210000000000121019f00000000020000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d0000069003300198000018410000613d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400a00043d00000000044a00190000000000a4004b00000000050000390000000105004039000006a50040009c000018640000213d0000000100500190000018640000c13d000000400040043f0000001f0430018f00000000093a0436000006a4053001980000000003590019000017420000613d000000000601034f0000000007090019000000006806043c0000000007870436000000000037004b0000173e0000c13d000000000004004b000018430000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000018430000013d000300000002001d000006900010009c0000069001008041000000c001100210000006ac011001c700008009020000390000000003040019000000000405001900000000050000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d0000069003300198000017850000613d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000006a50040009c000018640000213d0000000100600190000018640000c13d000000400040043f0000001f0430018f0000000006350436000006a4053001980000000003560019000017780000613d000000000701034f000000007807043c0000000006860436000000000036004b000017740000c13d000000000004004b000017850000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000100200190000018400000c13d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b00000004030000290000186a0000613d000000400200043d000006c9010000410000000001120436000100000001001d000006900020009c000200000002001d0000069001000041000000000102401900000040011002100000000002000414000006900020009c0000069002008041000000c002200210000000000112019f000006ca011001c70000800902000039000000000400001900000000050000191a3d1a330000040f00000000030100190000006003300270000106900030019d00030000000103550000000100200190000019300000613d0000000201000029000006a50010009c0000000402000029000018640000213d000000400010043f000006c403000041000000010400002900000000003404350000004403100039000000000023043500000024031000390000000302000029000000000023043500000044020000390000000000210435000006c50010009c000018640000213d0000008002100039000000400020043f1a3d19530000040f000000000001042d000006900010009c00000690010080410000004001100210000006900030009c00000690030080410000006003300210000000000113019f000006900020009c0000069002008041000000c002200210000000000121019f0000000002090019000400000009001d00020000000a001d1a3d1a330000040f000000020a0000290000000409000029000000010220018f00030000000103550000006001100270000106900010019d0000069001100197000000000001004b000015cb0000c13d000000600c000039000000800b00003900000000010c0433000000000002004b000018b50000613d000000000001004b000017fa0000c13d00040000000c001d00030000000b001d000006c101000041000000000010044300000004009004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b0000000401000029000018ed0000613d0000000001010433000000000001004b000000030b000029000018400000613d000006c30010009c0000186a0000213d000000200010008c000018380000813d0000186a0000013d000006900010009c00000690010080410000004001100210000006900030009c00000690030080410000006003300210000000000113019f000006900020009c0000069002008041000000c002200210000000000121019f0000000002090019000400000009001d00020000000a001d1a3d1a330000040f000000020a0000290000000409000029000000010220018f00030000000103550000006001100270000106900010019d0000069001100197000000000001004b000016440000c13d000000600c000039000000800b00003900000000010c0433000000000002004b000018cd0000613d000000000001004b000018340000c13d00040000000c001d00030000000b001d000006c101000041000000000010044300000004009004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b0000000401000029000018ed0000613d0000000001010433000000000001004b000000030b000029000018400000613d000006c30010009c0000186a0000213d0000001f0010008c0000186a0000a13d00000000010b0433000000000001004b0000000002000039000000010200c039000000000021004b0000186a0000c13d000000000001004b0000186d0000613d000000000001042d000000600a000039000000800900003900000000010a043300000001002001900000190b0000613d000000000001004b0000185e0000c13d00040000000a001d000300000009001d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f00000001002001900000186c0000613d000000000101043b000000000001004b0000000401000029000018ed0000613d0000000001010433000000000001004b0000000309000029000018400000613d000006c30010009c0000186a0000213d000000200010008c0000186a0000413d0000000001090433000018390000013d000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f00010430000000000100001900001a3f00010430000000000001042f000000400100043d0000006402100039000006cd0300004100000000003204350000004402100039000006ce03000041000000000032043500000024021000390000002a030000390000000000320435000006a8020000410000000000210435000000040210003900000020030000390000000000320435000006900010009c00000690010080410000004001100210000006cf011001c700001a3f000104300000001f05a0018f000006a406a00198000000400200043d00000000046200190000188c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000018880000c13d000000000005004b000018990000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001a002100000194a0000013d000000400200043d000000240320003900000004040000290000000000430435000006cb03000041000000000032043500000004032000390000000000130435000006900020009c00000690020080410000004001200210000006b6011001c700001a3f0001043000000690033001970000001f0530018f000006a406300198000000400200043d00000000046200190000193c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000018b00000c13d0000193c0000013d000000000001004b000018e50000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000000020a0433000000240310003900000000002304350000004403100039000000000002004b0000000307000029000019230000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b000018c50000413d000019230000013d000000000001004b000018e50000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000000020a0433000000240310003900000000002304350000004403100039000000000002004b0000000307000029000019230000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b000018dd0000413d000019230000013d0000069000b0009c000006900b0080410000004002b00210000006900010009c00000690010080410000006001100210000000000121019f00001a3f00010430000000400100043d0000004402100039000006d003000041000000000032043500000024021000390000001d030000390000000000320435000006a8020000410000000000210435000000040210003900000020030000390000000000320435000006900010009c00000690010080410000004001100210000006a9011001c700001a3f0001043000000690033001970000001f0530018f000006a406300198000000400200043d00000000046200190000193c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000019060000c13d0000193c0000013d000000000001004b0000194f0000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000003020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b0000000407000029000019230000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b0000191c0000413d0000001f042000390000070204400197000000000232001900000000000204350000004402400039000006900020009c00000690020080410000006002200210000006900010009c00000690010080410000004001100210000000000112019f00001a3f0001043000000690033001970000001f0530018f000006a406300198000000400200043d00000000046200190000193c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000019380000c13d000000000005004b000019490000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000006900020009c00000690020080410000004002200210000000000112019f00001a3f00010430000006900090009c00000690090080410000004002900210000018e80000013d0002000000000002000000400300043d000007070030009c000019c80000813d0000004002300039000000400020043f0000002002000039000100000003001d0000000003230436000006c002000041000200000003001d00000000002304350000002002100039000006900020009c000006900200804100000040022002100000000001010433000006900010009c00000690010080410000006001100210000000000121019f0000000002000414000006900020009c0000069002008041000000c002200210000000000121019f00000000020000191a3d1a330000040f000300000001035500000000030100190000006003300270000106900030019d00000690033001980000199c0000613d0000001f04300039000006c7044001970000003f04400039000006c804400197000000400a00043d00000000044a00190000000000a4004b00000000050000390000000105004039000006a50040009c000019c80000213d0000000100500190000019c80000c13d000000400040043f0000001f0430018f00000000093a0436000006a40530019800000000035900190000198e0000613d000000000601034f0000000007090019000000006806043c0000000007870436000000000037004b0000198a0000c13d000000000004004b0000199e0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000199e0000013d000000600a000039000000800900003900000000010a04330000000100200190000019ce0000613d000000000001004b000019b90000c13d00020000000a001d000100000009001d000006c101000041000000000010044300000004000004430000000001000414000006900010009c0000069001008041000000c001100210000006c2011001c700008002020000391a3d1a380000040f000000010020019000001a0f0000613d000000000101043b000000000001004b000000020100002900001a100000613d0000000001010433000000000001004b0000000109000029000019c50000613d000006c30010009c000019c60000213d0000001f0010008c000019c60000a13d0000000001090433000000000001004b0000000002000039000000010200c039000000000021004b000019c60000c13d000000000001004b000019f30000613d000000000001042d000000000100001900001a3f00010430000006e601000041000000000010043f0000004101000039000000040010043f000006a30100004100001a3f00010430000000000001004b00001a070000c13d000000400100043d000006a802000041000000000021043500000004021000390000002003000039000000000032043500000001020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b0000000207000029000019e60000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b000019df0000413d0000001f042000390000070204400197000000000223001900000000000204350000004402400039000006900020009c00000690020080410000006002200210000006900010009c00000690010080410000004001100210000000000112019f00001a3f00010430000000400100043d0000006402100039000006cd0300004100000000003204350000004402100039000006ce03000041000000000032043500000024021000390000002a030000390000000000320435000006a8020000410000000000210435000000040210003900000020030000390000000000320435000006900010009c00000690010080410000004001100210000006cf011001c700001a3f00010430000006900090009c00000690090080410000004002900210000006900010009c00000690010080410000006001100210000000000121019f00001a3f00010430000000000001042f000000400100043d0000004402100039000006d003000041000000000032043500000024021000390000001d030000390000000000320435000006a8020000410000000000210435000000040210003900000020030000390000000000320435000006900010009c00000690010080410000004001100210000006a9011001c700001a3f00010430000000000001042f0000000002000414000006900020009c0000069002008041000000c002200210000006900010009c00000690010080410000004001100210000000000121019f000006a1011001c700008010020000391a3d1a380000040f000000010020019000001a310000613d000000000101043b000000000001042d000000000100001900001a3f0001043000001a36002104210000000102000039000000000001042d0000000002000019000000000001042d00001a3b002104230000000102000039000000000001042d0000000002000019000000000001042d00001a3d0000043200001a3e0001042e00001a3f0001043000000000000000000000000000000000000000000000000000000000ffffffff1d281c488dae143b6ea4122e80c65059929950b9c32f17fc57be22089d9c3b0000000002000000000000000000000000000000400000010000000000000000000000000000000000000000000000000000000000000000000000000091940b3d00000000000000000000000000000000000000000000000000000000c1edcfbd00000000000000000000000000000000000000000000000000000000c1edcfbe00000000000000000000000000000000000000000000000000000000c815729d00000000000000000000000000000000000000000000000000000000ef706adf0000000000000000000000000000000000000000000000000000000091940b3e00000000000000000000000000000000000000000000000000000000a9fd8ed10000000000000000000000000000000000000000000000000000000045792689000000000000000000000000000000000000000000000000000000004579268a00000000000000000000000000000000000000000000000000000000637102df000000000000000000000000000000000000000000000000000000008b49d47e00000000000000000000000000000000000000000000000000000000016767fa00000000000000000000000000000000000000000000000000000000119df25f8f8effea55e8d961f30e12024b944289ed8a7f60abcf4b3989df2dc98a9143010200000000000000000000000000000000000040000000000000000000000000572b6c0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000000000000000000000000000ffffffffffffffff000000000000000000000000ffffffffffffffffffffffffffffffffffffffff214f666665726f7200000000000000000000000000000000000000000000000008c379a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000ffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff0000000000000000000003000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000026c37611219fb1f3253d3027b738bb3e678ed39b193c956cb48193e6431478d34d61726b6574706c6163653a20696e76616c6964206f666665722e0000000000000000000000000000000000000000000000000000000000fffffffffffffebf796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d95539132020000020000000000000000000000000000000400000000000000000000000045585049524544000000000000000000000000000000000000000000000000006352211e00000000000000000000000000000000000000000000000000000000081812fc00000000000000000000000000000000000000000000000000000000e985e9c500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000fdd58e000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000d45573f6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001af20c6b23373350ad464700b5965ce4b0d2ad9423b872dd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff5f000000000000000000000000000000000000000000000000ffffffffffffff1f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65641806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b8302000002000000000000000000000000000000240000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9059cbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f000000000000000000000000000000000000000000000000ffffffffffffff3f00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000003ffffffe0d0e30db000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000400000000000000000000000003e085f9000000000000000000000000000000000000000000000000000000002e1a7d4d000000000000000000000000000000000000000000000000000000006f742073756363656564000000000000000000000000000000000000000000005361666545524332303a204552433230206f7065726174696f6e20646964206e0000000000000000000000000000000000000084000000000000000000000000416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000f533b8020000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06665657320657863656564207468652070726963650000000000000000000000b88d4fde0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4000000000000000000000000f242432a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000010000000100000000000000000200000000000000000000000000000000000080000000000000000000000000c3888b4f8640ff369e48089b45596f4adc2e39c73dc7fc6e609f2ad05f879540656420746f6b656e732e000000000000000000000000000000000000000000004d61726b6574706c6163653a206e6f74206f776e6572206f7220617070726f765265656e7472616e637947756172643a207265656e7472616e742063616c6c0000000000000000000000000000000000000000640000008000000000000000008f8effea55e8d961f30e12024b944289ed8a7f60abcf4b3989df2dc98a914300000000000000000000000000000000000000000000000000fffffffffffffffe000000000000000000000000000000000000000000000000fffffffffffffe3f000000000000000000000000000000000000002000000080000000000000000070a0823100000000000000000000000000000000000000000000000000000000dd62ed3e000000000000000000000000000000000000000000000000000000004e487b7100000000000000000000000000000000000000000000000000000000696e76616c69642072616e676500000000000000000000000000000000000000000000000000000000000000000000000000002400000080000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000a32fa5b30000000000000000000000000000000000000000000000000000000086d5cf0a6bdc8d859ba3bdc97043337c82a0e609035f378e419298b6a3e00ae6000000000000000000000000000000000000004400000140000000000000000001ffc9a700000000000000000000000000000000000000000000000000000000d9b67a260000000000000000000000000000000000000000000000000000000080ac58cd000000000000000000000000000000000000000000000000000000004d61726b6574706c6163653a2077616e746564207a65726f20746f6b656e732e74696d657374616d702e000000000000000000000000000000000000000000004d61726b6574706c6163653a20696e76616c69642065787069726174696f6e20ffffffffffffffffffffffff0000000000000000000000000000000000000000ffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000002000000000000000000000000000000000001400000000000000000000000008a597d224658d6f05ad676ddd666a25096b0bf7eff59d873ccbe943f8a3313ae63792062616c616e63652e0000000000000000000000000000000000000000004d61726b6574706c6163653a20696e73756666696369656e742063757272656e746974792e0000000000000000000000000000000000000000000000000000004d61726b6574706c6163653a2077616e74656420696e76616c6964207175616e7a65726f2070726963652e0000000000000000000000000000000000000000003535206f72204552433732312e000000000000000000000000000000000000004d61726b6574706c6163653a20746f6b656e206d7573742062652045524331312141535345545f524f4c45000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000fffffffffffffec0000000000000000000000000000000000000000000000000ffffffffffffffbf000000000000000000000000000000000000000000000000ffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a1646970667358221220e2b212f34b855b733ed0672c64de7e5887dbe373f7717cc6a89f903d9ec2acdf002a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.