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 | |||
---|---|---|---|---|---|---|
3217483 | 44 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:
EnglishAuctionsLogic
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 "./EnglishAuctionsStorage.sol"; // ====== External imports ====== import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "../../../eip/interface/IERC721.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 EnglishAuctionsLogic is IEnglishAuctions, ReentrancyGuard, ERC2771ContextConsumer { /*/////////////////////////////////////////////////////////////// Constants / Immutables //////////////////////////////////////////////////////////////*/ /// @dev Only lister role holders can create auctions, when auctions are restricted by lister address. bytes32 private constant LISTER_ROLE = keccak256("LISTER_ROLE"); /// @dev Only assets from NFT contracts with asset role can be auctioned, when auctions 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; /// @dev The address of the native token wrapper contract. address private immutable nativeTokenWrapper; /*/////////////////////////////////////////////////////////////// Modifiers //////////////////////////////////////////////////////////////*/ modifier onlyListerRole() { require(Permissions(address(this)).hasRoleWithSwitch(LISTER_ROLE, _msgSender()), "!LISTER_ROLE"); _; } modifier onlyAssetRole(address _asset) { require(Permissions(address(this)).hasRoleWithSwitch(ASSET_ROLE, _asset), "!ASSET_ROLE"); _; } /// @dev Checks whether caller is a auction creator. modifier onlyAuctionCreator(uint256 _auctionId) { require( _englishAuctionsStorage().auctions[_auctionId].auctionCreator == _msgSender(), "Marketplace: not auction creator." ); _; } /// @dev Checks whether an auction exists. modifier onlyExistingAuction(uint256 _auctionId) { require( _englishAuctionsStorage().auctions[_auctionId].status == IEnglishAuctions.Status.CREATED, "Marketplace: invalid auction." ); _; } /*/////////////////////////////////////////////////////////////// Constructor logic //////////////////////////////////////////////////////////////*/ constructor(address _nativeTokenWrapper) { nativeTokenWrapper = _nativeTokenWrapper; } /*/////////////////////////////////////////////////////////////// External functions //////////////////////////////////////////////////////////////*/ /// @notice Auction ERC721 or ERC1155 NFTs. function createAuction( AuctionParameters calldata _params ) external onlyListerRole onlyAssetRole(_params.assetContract) nonReentrant returns (uint256 auctionId) { auctionId = _getNextAuctionId(); address auctionCreator = _msgSender(); TokenType tokenType = _getTokenType(_params.assetContract); _validateNewAuction(_params, tokenType); Auction memory auction = Auction({ auctionId: auctionId, auctionCreator: auctionCreator, assetContract: _params.assetContract, tokenId: _params.tokenId, quantity: _params.quantity, currency: _params.currency, minimumBidAmount: _params.minimumBidAmount, buyoutBidAmount: _params.buyoutBidAmount, timeBufferInSeconds: _params.timeBufferInSeconds, bidBufferBps: _params.bidBufferBps, startTimestamp: _params.startTimestamp, endTimestamp: _params.endTimestamp, tokenType: tokenType, status: IEnglishAuctions.Status.CREATED }); _englishAuctionsStorage().auctions[auctionId] = auction; _transferAuctionTokens(auctionCreator, address(this), auction); emit NewAuction(auctionCreator, auctionId, _params.assetContract, auction); } function bidInAuction( uint256 _auctionId, uint256 _bidAmount ) external payable nonReentrant onlyExistingAuction(_auctionId) { Auction memory _targetAuction = _englishAuctionsStorage().auctions[_auctionId]; require( _targetAuction.endTimestamp > block.timestamp && _targetAuction.startTimestamp <= block.timestamp, "Marketplace: inactive auction." ); require(_bidAmount != 0, "Marketplace: Bidding with zero amount."); require( _targetAuction.currency == CurrencyTransferLib.NATIVE_TOKEN || msg.value == 0, "Marketplace: invalid native tokens sent." ); require( _bidAmount <= _targetAuction.buyoutBidAmount || _targetAuction.buyoutBidAmount == 0, "Marketplace: Bidding above buyout price." ); Bid memory newBid = Bid({ auctionId: _auctionId, bidder: _msgSender(), bidAmount: _bidAmount }); _handleBid(_targetAuction, newBid); } function collectAuctionPayout(uint256 _auctionId) external nonReentrant { require( !_englishAuctionsStorage().payoutStatus[_auctionId].paidOutBidAmount, "Marketplace: payout already completed." ); _englishAuctionsStorage().payoutStatus[_auctionId].paidOutBidAmount = true; Auction memory _targetAuction = _englishAuctionsStorage().auctions[_auctionId]; Bid memory _winningBid = _englishAuctionsStorage().winningBid[_auctionId]; require(_targetAuction.status != IEnglishAuctions.Status.CANCELLED, "Marketplace: invalid auction."); require(_targetAuction.endTimestamp <= block.timestamp, "Marketplace: auction still active."); require(_winningBid.bidder != address(0), "Marketplace: no bids were made."); _closeAuctionForAuctionCreator(_targetAuction, _winningBid); if (_targetAuction.status != IEnglishAuctions.Status.COMPLETED) { _englishAuctionsStorage().auctions[_auctionId].status = IEnglishAuctions.Status.COMPLETED; } } function collectAuctionTokens(uint256 _auctionId) external nonReentrant { Auction memory _targetAuction = _englishAuctionsStorage().auctions[_auctionId]; Bid memory _winningBid = _englishAuctionsStorage().winningBid[_auctionId]; require(_targetAuction.status != IEnglishAuctions.Status.CANCELLED, "Marketplace: invalid auction."); require(_targetAuction.endTimestamp <= block.timestamp, "Marketplace: auction still active."); require(_winningBid.bidder != address(0), "Marketplace: no bids were made."); _closeAuctionForBidder(_targetAuction, _winningBid); if (_targetAuction.status != IEnglishAuctions.Status.COMPLETED) { _englishAuctionsStorage().auctions[_auctionId].status = IEnglishAuctions.Status.COMPLETED; } } /// @dev Cancels an auction. function cancelAuction( uint256 _auctionId ) external onlyExistingAuction(_auctionId) onlyAuctionCreator(_auctionId) nonReentrant { Auction memory _targetAuction = _englishAuctionsStorage().auctions[_auctionId]; Bid memory _winningBid = _englishAuctionsStorage().winningBid[_auctionId]; require(_winningBid.bidder == address(0), "Marketplace: bids already made."); _englishAuctionsStorage().auctions[_auctionId].status = IEnglishAuctions.Status.CANCELLED; _transferAuctionTokens(address(this), _targetAuction.auctionCreator, _targetAuction); emit CancelledAuction(_targetAuction.auctionCreator, _auctionId); } /*/////////////////////////////////////////////////////////////// View functions //////////////////////////////////////////////////////////////*/ function isNewWinningBid( uint256 _auctionId, uint256 _bidAmount ) external view onlyExistingAuction(_auctionId) returns (bool) { Auction memory _targetAuction = _englishAuctionsStorage().auctions[_auctionId]; Bid memory _currentWinningBid = _englishAuctionsStorage().winningBid[_auctionId]; return _isNewWinningBid( _targetAuction.minimumBidAmount, _currentWinningBid.bidAmount, _bidAmount, _targetAuction.bidBufferBps ); } function totalAuctions() external view returns (uint256) { return _englishAuctionsStorage().totalAuctions; } function getAuction(uint256 _auctionId) external view returns (Auction memory _auction) { _auction = _englishAuctionsStorage().auctions[_auctionId]; } function getAllAuctions(uint256 _startId, uint256 _endId) external view returns (Auction[] memory _allAuctions) { require(_startId <= _endId && _endId < _englishAuctionsStorage().totalAuctions, "invalid range"); _allAuctions = new Auction[](_endId - _startId + 1); for (uint256 i = _startId; i <= _endId; i += 1) { _allAuctions[i - _startId] = _englishAuctionsStorage().auctions[i]; } } function getAllValidAuctions( uint256 _startId, uint256 _endId ) external view returns (Auction[] memory _validAuctions) { require(_startId <= _endId && _endId < _englishAuctionsStorage().totalAuctions, "invalid range"); Auction[] memory _auctions = new Auction[](_endId - _startId + 1); uint256 _auctionCount; for (uint256 i = _startId; i <= _endId; i += 1) { uint256 j = i - _startId; _auctions[j] = _englishAuctionsStorage().auctions[i]; if ( _auctions[j].startTimestamp <= block.timestamp && _auctions[j].endTimestamp > block.timestamp && _auctions[j].status == IEnglishAuctions.Status.CREATED && _auctions[j].assetContract != address(0) ) { _auctionCount += 1; } } _validAuctions = new Auction[](_auctionCount); uint256 index = 0; uint256 count = _auctions.length; for (uint256 i = 0; i < count; i += 1) { if ( _auctions[i].startTimestamp <= block.timestamp && _auctions[i].endTimestamp > block.timestamp && _auctions[i].status == IEnglishAuctions.Status.CREATED && _auctions[i].assetContract != address(0) ) { _validAuctions[index++] = _auctions[i]; } } } function getWinningBid( uint256 _auctionId ) external view returns (address _bidder, address _currency, uint256 _bidAmount) { Auction memory _targetAuction = _englishAuctionsStorage().auctions[_auctionId]; Bid memory _currentWinningBid = _englishAuctionsStorage().winningBid[_auctionId]; _bidder = _currentWinningBid.bidder; _currency = _targetAuction.currency; _bidAmount = _currentWinningBid.bidAmount; } function isAuctionExpired(uint256 _auctionId) external view onlyExistingAuction(_auctionId) returns (bool) { return _englishAuctionsStorage().auctions[_auctionId].endTimestamp >= block.timestamp; } /*/////////////////////////////////////////////////////////////// Internal functions //////////////////////////////////////////////////////////////*/ /// @dev Returns the next auction Id. function _getNextAuctionId() internal returns (uint256 id) { id = _englishAuctionsStorage().totalAuctions; _englishAuctionsStorage().totalAuctions += 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: auctioned token must be ERC1155 or ERC721."); } } /// @dev Checks whether the auction creator owns and has approved marketplace to transfer auctioned tokens. function _validateNewAuction(AuctionParameters memory _params, TokenType _tokenType) internal view { require(_params.quantity > 0, "Marketplace: auctioning zero quantity."); require(_params.quantity == 1 || _tokenType == TokenType.ERC1155, "Marketplace: auctioning invalid quantity."); require(_params.timeBufferInSeconds > 0, "Marketplace: no time-buffer."); require(_params.bidBufferBps > 0, "Marketplace: no bid-buffer."); require( _params.startTimestamp + 60 minutes >= block.timestamp && _params.startTimestamp < _params.endTimestamp, "Marketplace: invalid timestamps." ); require( _params.buyoutBidAmount == 0 || _params.buyoutBidAmount >= _params.minimumBidAmount, "Marketplace: invalid bid amounts." ); } /// @dev Processes an incoming bid in an auction. function _handleBid(Auction memory _targetAuction, Bid memory _incomingBid) internal { Bid memory currentWinningBid = _englishAuctionsStorage().winningBid[_targetAuction.auctionId]; uint256 currentBidAmount = currentWinningBid.bidAmount; uint256 incomingBidAmount = _incomingBid.bidAmount; address _nativeTokenWrapper = nativeTokenWrapper; // Close auction and execute sale if there's a buyout price and incoming bid amount is buyout price. if (_targetAuction.buyoutBidAmount > 0 && incomingBidAmount >= _targetAuction.buyoutBidAmount) { incomingBidAmount = _targetAuction.buyoutBidAmount; _incomingBid.bidAmount = _targetAuction.buyoutBidAmount; _closeAuctionForBidder(_targetAuction, _incomingBid); } else { /** * If there's an exisitng winning bid, incoming bid amount must be bid buffer % greater. * Else, bid amount must be at least as great as minimum bid amount */ require( _isNewWinningBid( _targetAuction.minimumBidAmount, currentBidAmount, incomingBidAmount, _targetAuction.bidBufferBps ), "Marketplace: not winning bid." ); // Update the winning bid and auction's end time before external contract calls. _englishAuctionsStorage().winningBid[_targetAuction.auctionId] = _incomingBid; if (_targetAuction.endTimestamp - block.timestamp <= _targetAuction.timeBufferInSeconds) { _targetAuction.endTimestamp += _targetAuction.timeBufferInSeconds; _englishAuctionsStorage().auctions[_targetAuction.auctionId] = _targetAuction; } } // Payout previous highest bid. if (currentWinningBid.bidder != address(0) && currentBidAmount > 0) { CurrencyTransferLib.transferCurrencyWithWrapper( _targetAuction.currency, address(this), currentWinningBid.bidder, currentBidAmount, _nativeTokenWrapper ); } // Collect incoming bid CurrencyTransferLib.transferCurrencyWithWrapper( _targetAuction.currency, _incomingBid.bidder, address(this), incomingBidAmount, _nativeTokenWrapper ); emit NewBid( _targetAuction.auctionId, _incomingBid.bidder, _targetAuction.assetContract, _incomingBid.bidAmount, _targetAuction ); } /// @dev Checks whether an incoming bid is the new current highest bid. function _isNewWinningBid( uint256 _minimumBidAmount, uint256 _currentWinningBidAmount, uint256 _incomingBidAmount, uint256 _bidBufferBps ) internal pure returns (bool isValidNewBid) { if (_currentWinningBidAmount == 0) { isValidNewBid = _incomingBidAmount >= _minimumBidAmount; } else { isValidNewBid = (_incomingBidAmount > _currentWinningBidAmount && ((_incomingBidAmount - _currentWinningBidAmount) * MAX_BPS) / _currentWinningBidAmount >= _bidBufferBps); } } /// @dev Closes an auction for the winning bidder; distributes auction items to the winning bidder. function _closeAuctionForBidder(Auction memory _targetAuction, Bid memory _winningBid) internal { require( !_englishAuctionsStorage().payoutStatus[_targetAuction.auctionId].paidOutAuctionTokens, "Marketplace: payout already completed." ); _englishAuctionsStorage().payoutStatus[_targetAuction.auctionId].paidOutAuctionTokens = true; _targetAuction.endTimestamp = uint64(block.timestamp); _englishAuctionsStorage().winningBid[_targetAuction.auctionId] = _winningBid; _englishAuctionsStorage().auctions[_targetAuction.auctionId] = _targetAuction; _transferAuctionTokens(address(this), _winningBid.bidder, _targetAuction); emit AuctionClosed( _targetAuction.auctionId, _targetAuction.assetContract, _msgSender(), _targetAuction.tokenId, _targetAuction.auctionCreator, _winningBid.bidder ); } /// @dev Closes an auction for an auction creator; distributes winning bid amount to auction creator. function _closeAuctionForAuctionCreator(Auction memory _targetAuction, Bid memory _winningBid) internal { uint256 payoutAmount = _winningBid.bidAmount; _payout(address(this), _targetAuction.auctionCreator, _targetAuction.currency, payoutAmount, _targetAuction); emit AuctionClosed( _targetAuction.auctionId, _targetAuction.assetContract, _msgSender(), _targetAuction.tokenId, _targetAuction.auctionCreator, _winningBid.bidder ); } /// @dev Transfers tokens for auction. function _transferAuctionTokens(address _from, address _to, Auction memory _auction) internal { if (_auction.tokenType == TokenType.ERC1155) { IERC1155(_auction.assetContract).safeTransferFrom(_from, _to, _auction.tokenId, _auction.quantity, ""); } else if (_auction.tokenType == TokenType.ERC721) { IERC721(_auction.assetContract).safeTransferFrom(_from, _to, _auction.tokenId, ""); } } /// @dev Pays out stakeholders in auction. function _payout( address _payer, address _payee, address _currencyToUse, uint256 _totalPayoutAmount, Auction memory _targetAuction ) internal { address _nativeTokenWrapper = nativeTokenWrapper; 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, _nativeTokenWrapper ); CurrencyTransferLib.transferCurrencyWithWrapper( _currencyToUse, _payer, platformFeeRecipient, platformFeeCut, _nativeTokenWrapper ); amountRemaining = _totalPayoutAmount - platformFeeCut - platformFeesTw; } // Payout royalties { // Get royalty recipients and amounts (address payable[] memory recipients, uint256[] memory amounts) = RoyaltyPaymentsLogic(address(this)) .getRoyalty(_targetAuction.assetContract, _targetAuction.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, _nativeTokenWrapper ); unchecked { amountRemaining -= royaltyCut; ++i; } } } } // Distribute price to token owner CurrencyTransferLib.transferCurrencyWithWrapper( _currencyToUse, _payer, _payee, amountRemaining, _nativeTokenWrapper ); } /// @dev Returns the EnglishAuctions storage. function _englishAuctionsStorage() internal pure returns (EnglishAuctionsStorage.Data storage data) { data = EnglishAuctionsStorage.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 { IEnglishAuctions } from "../IMarketplace.sol"; /** * @author thirdweb.com */ library EnglishAuctionsStorage { /// @custom:storage-location erc7201:english.auctions.storage /// @dev keccak256(abi.encode(uint256(keccak256("english.auctions.storage")) - 1)) & ~bytes32(uint256(0xff)) bytes32 public constant ENGLISH_AUCTIONS_STORAGE_POSITION = 0x89032daddd224983b4d69fda31dc440901185d9636f6e798dbe1e433d9d34c00; struct Data { uint256 totalAuctions; mapping(uint256 => IEnglishAuctions.Auction) auctions; mapping(uint256 => IEnglishAuctions.Bid) winningBid; mapping(uint256 => IEnglishAuctions.AuctionPayoutStatus) payoutStatus; } function data() internal pure returns (Data storage data_) { bytes32 position = ENGLISH_AUCTIONS_STORAGE_POSITION; assembly { data_.slot := position } } }
{ "compilationTarget": { "contracts/prebuilts/marketplace/english-auctions/EnglishAuctionsLogic.sol": "EnglishAuctionsLogic" }, "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":[{"internalType":"address","name":"_nativeTokenWrapper","type":"address"}],"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":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"assetContract","type":"address"},{"indexed":true,"internalType":"address","name":"closer","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"auctionCreator","type":"address"},{"indexed":false,"internalType":"address","name":"winningBidder","type":"address"}],"name":"AuctionClosed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"auctionCreator","type":"address"},{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"}],"name":"CancelledAuction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"auctionCreator","type":"address"},{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"assetContract","type":"address"},{"components":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minimumBidAmount","type":"uint256"},{"internalType":"uint256","name":"buyoutBidAmount","type":"uint256"},{"internalType":"uint64","name":"timeBufferInSeconds","type":"uint64"},{"internalType":"uint64","name":"bidBufferBps","type":"uint64"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"},{"internalType":"address","name":"auctionCreator","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IEnglishAuctions.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IEnglishAuctions.Status","name":"status","type":"uint8"}],"indexed":false,"internalType":"struct IEnglishAuctions.Auction","name":"auction","type":"tuple"}],"name":"NewAuction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"bidder","type":"address"},{"indexed":true,"internalType":"address","name":"assetContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"bidAmount","type":"uint256"},{"components":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minimumBidAmount","type":"uint256"},{"internalType":"uint256","name":"buyoutBidAmount","type":"uint256"},{"internalType":"uint64","name":"timeBufferInSeconds","type":"uint64"},{"internalType":"uint64","name":"bidBufferBps","type":"uint64"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"},{"internalType":"address","name":"auctionCreator","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IEnglishAuctions.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IEnglishAuctions.Status","name":"status","type":"uint8"}],"indexed":false,"internalType":"struct IEnglishAuctions.Auction","name":"auction","type":"tuple"}],"name":"NewBid","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":"_auctionId","type":"uint256"},{"internalType":"uint256","name":"_bidAmount","type":"uint256"}],"name":"bidInAuction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"}],"name":"cancelAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"}],"name":"collectAuctionPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"}],"name":"collectAuctionTokens","outputs":[],"stateMutability":"nonpayable","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":"minimumBidAmount","type":"uint256"},{"internalType":"uint256","name":"buyoutBidAmount","type":"uint256"},{"internalType":"uint64","name":"timeBufferInSeconds","type":"uint64"},{"internalType":"uint64","name":"bidBufferBps","type":"uint64"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"}],"internalType":"struct IEnglishAuctions.AuctionParameters","name":"_params","type":"tuple"}],"name":"createAuction","outputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_endId","type":"uint256"}],"name":"getAllAuctions","outputs":[{"components":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minimumBidAmount","type":"uint256"},{"internalType":"uint256","name":"buyoutBidAmount","type":"uint256"},{"internalType":"uint64","name":"timeBufferInSeconds","type":"uint64"},{"internalType":"uint64","name":"bidBufferBps","type":"uint64"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"},{"internalType":"address","name":"auctionCreator","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IEnglishAuctions.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IEnglishAuctions.Status","name":"status","type":"uint8"}],"internalType":"struct IEnglishAuctions.Auction[]","name":"_allAuctions","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_endId","type":"uint256"}],"name":"getAllValidAuctions","outputs":[{"components":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minimumBidAmount","type":"uint256"},{"internalType":"uint256","name":"buyoutBidAmount","type":"uint256"},{"internalType":"uint64","name":"timeBufferInSeconds","type":"uint64"},{"internalType":"uint64","name":"bidBufferBps","type":"uint64"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"},{"internalType":"address","name":"auctionCreator","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IEnglishAuctions.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IEnglishAuctions.Status","name":"status","type":"uint8"}],"internalType":"struct IEnglishAuctions.Auction[]","name":"_validAuctions","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"}],"name":"getAuction","outputs":[{"components":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minimumBidAmount","type":"uint256"},{"internalType":"uint256","name":"buyoutBidAmount","type":"uint256"},{"internalType":"uint64","name":"timeBufferInSeconds","type":"uint64"},{"internalType":"uint64","name":"bidBufferBps","type":"uint64"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"},{"internalType":"address","name":"auctionCreator","type":"address"},{"internalType":"address","name":"assetContract","type":"address"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"enum IEnglishAuctions.TokenType","name":"tokenType","type":"uint8"},{"internalType":"enum IEnglishAuctions.Status","name":"status","type":"uint8"}],"internalType":"struct IEnglishAuctions.Auction","name":"_auction","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"}],"name":"getWinningBid","outputs":[{"internalType":"address","name":"_bidder","type":"address"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"uint256","name":"_bidAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"}],"name":"isAuctionExpired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"},{"internalType":"uint256","name":"_bidAmount","type":"uint256"}],"name":"isNewWinningBid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAuctions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
9c4d535b0000000000000000000000000000000000000000000000000000000000000000010007e7b3a649d71feefd961d8e06629e32e6c5ad1fcf5071cbd1fdb0e99a96000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000003439153eb7af838ad19d56e1571fbd09333c2809
Deployed Bytecode
0x00040000000000020017000000000002000000000301001900000060043002700000074f03400197000300000031035500020000000103550000074f0040019d00000001002001900000004e0000c13d0000008004000039000000400040043f000000040030008c000000710000413d000000000201043b000000e002200270000007550020009c000000730000a13d000007560020009c000000830000213d0000075c0020009c000001320000213d0000075f0020009c000003470000613d000007600020009c000000710000c13d000000240030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000000401100370000000000101043b001600000001001d000000000010043f0000077001000041000000200010043f1d361d010000040f1d3614820000040f0000001602000029000000000020043f0000077302000041000000200020043f001600000001001d1d361d010000040f001500000001001d000000400100043d001400000001001d1d3614770000040f0000001503000029000000000103041a000000140400002900000000011404360000000102300039000000000202041a0000075202200197000000000021043500000040014000390000000203300039000000000403041a0000000000410435000000160100002900000160011000390000000003010433000000400100043d001600000001001d00000752033001971d3613d40000040f000000160200002900000000012100490000074f0010009c0000074f0100804100000060011002100000074f0020009c0000074f020080410000004002200210000000000121019f00001d370001042e0000000002000416000000000002004b000000710000c13d0000001f023000390000075002200197000000a002200039000000400020043f0000001f0430018f0000075105300198000000a0025000390000005f0000613d000000a006000039000000000701034f000000007807043c0000000006860436000000000026004b0000005b0000c13d000000000004004b0000006c0000613d000000000151034f0000000304400210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000000200030008c000000710000413d000000a00100043d000007520010009c000000c70000a13d000000000100001900001d3800010430000007610020009c000000d20000a13d000007620020009c000000e40000213d000007650020009c000002610000613d000007660020009c000000710000c13d0000000001000416000000000001004b000000710000c13d0000079901000041000000000101041a000000800010043f000007a80100004100001d370001042e000007570020009c0000017c0000213d0000075a0020009c0000034e0000613d0000075b0020009c000000710000c13d000000240030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000000401100370000000000101043b001600000001001d000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000801100039000000000101041a000000a801100270000000ff0110018f000000030010008c0000053b0000213d000000010010008c000005fc0000c13d0000001601000029000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000601100039000000000101041a001400000001001d000000400b00043d000007960100004100000000001b04350000000401b000390000000002000411001500000002001d000000000021043500000000010004140000000002000410000000040020008c0000057e0000c13d0000000103000031000000200030008c00000020040000390000000004034019000005ab0000013d00000001020000390000075303000041000000000023041b000000800010043f00000140000004430000016000100443000000200100003900000100001004430000012000200443000007540100004100001d370001042e000007670020009c000003bb0000613d000007680020009c000002ab0000613d000007690020009c000000710000c13d0000000001000416000000000001004b000000710000c13d1d3614e50000040f0000075201100197000000400200043d00000000001204350000074f0020009c0000074f020080410000004001200210000007a9011001c700001d370001042e000007630020009c000002980000613d000007640020009c000000710000c13d000000440030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000002402100370000000000202043b001500000002001d0000000401100370000000000101043b001600000001001d000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000801100039000000000101041a000000a801100270000000ff0110018f000000030010008c0000053b0000213d000000010010008c000000000100003900000001010060391d3614d10000040f0000001601000029000000000010043f0000077001000041000000200010043f1d361d010000040f1d3614820000040f0000001602000029000000000020043f0000077302000041000000200020043f001600000001001d1d361d010000040f001400000001001d000000400100043d001300000001001d1d3614770000040f0000001403000029000000000103041a000000130400002900000000011404360000000102300039000000000202041a0000075202200197000000000021043500000040014000390000000202300039000000000202041a00000000002104350000001601000029000000c003100039000000600110003900000000010104330000000003030433000007720430019700000015030000291d3618750000040f000000000001004b0000000001000039000000010100c039000000dd0000013d0000075d0020009c0000035e0000613d0000075e0020009c000000710000c13d000000440030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000002402100370000000000402043b0000000401100370000000000101043b001300000001001d000000000114004b000003d00000413d0000079902000041000000000202041a000000000024004b000003d00000813d000000010310003a0000047a0000613d001200000004001d0000079a0010009c000004920000213d00000005013002100000003f021000390000079404200197000007860040009c000004920000213d0000008002400039000000400020043f000000800030043f0000079b0040009c000004920000213d0000000003000019000001c004200039000000400040043f000001a00420003900000000000404350000018004200039000000000004043500000160042000390000000000040435000001400420003900000000000404350000012004200039000000000004043500000100042000390000000000040435000000e0042000390000000000040435000000c0042000390000000000040435000000a0042000390000000000040435000000800420003900000000000404350000006004200039000000000004043500000040042000390000000000040435000000200420003900000000000404350000000000020435000000a00430003900000000002404350000002003300039000000000013004b000006420000813d000000400200043d000007710020009c000001560000a13d000004920000013d000007580020009c000003750000613d000007590020009c000000710000c13d000000240030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000075302000041000000000302041a000000020030008c000003c60000613d0000000203000039000000000032041b0000000401100370000000000101043b000000000010043f0000076a01000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c70000801002000039001600000004001d1d361d310000040f0000000100200190000000710000613d000000000101043b000000000101041a0000ff0000100190000004ea0000c13d00000004010000390000000201100367000000000101043b000000000010043f0000076a01000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b000000000201041a000007d60220019700000100022001bf000000000021041b0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400500043d000007710050009c000004920000213d000000000101043b000001c002500039000000400020043f000000000201041a00000000032504360000000102100039000000000202041a001200000003001d00000000002304350000000202100039000000000202041a000000400350003900000000002304350000000302100039000000000202041a000000600350003900000000002304350000000402100039000000000202041a000000800350003900000000002304350000000502100039000000000202041a000000a0035000390000077204200197000000000043043500000080032002700000077203300197000000e004500039000000000034043500000040032002700000077203300197000000c0045000390000000000340435000000c0022002700000010003500039001500000003001d00000000002304350000000602100039000000000202041a00000752022001970000012003500039001400000003001d00000000002304350000000702100039000000000202041a00000752022001970000014003500039001100000003001d000000000023043500000160035000390000000801100039000000000101041a0000075202100197001300000003001d0000000000230435000000a002100270000000ff0220018f000000010020008c0000053b0000213d00000180035000390000000000230435000000a801100270000000ff0110018f000000030010008c0000053b0000213d000f00000005001d000001a002500039001000000002001d000000000012043500000004010000390000000201100367000000000101043b000000000010043f0000077301000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400200043d000007740020009c000004920000213d000000000101043b0000006003200039000000400030043f000000000301041a00000000043204360000000103100039000000000303041a0000075203300197000e00000004001d000000000034043500000040022000390000000201100039000000000101041a000d00000002001d000000000012043500000010010000290000000001010433000000030010008c0000053b0000213d000005fc0000613d00000015010000290000000001010433001500000001001d0000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000011290000613d000000000101043b00000015020000290000077202200197000000000012004b000007a10000213d0000000e0100002900000000010104330000075200100198000008b60000613d00000013010000290000000001010433000c00000001001d00000014010000290000000001010433000b00000001001d0000000d010000290000000001010433001300000001001d000000000001004b000002530000613d000000130200002900000064012000c900000000012100d9000000640010008c0000047a0000c13d000000400200043d0000077701000041001500000002001d0000000001120436000d00000001001d00000000010004140000000002000410000000040020008c00000b920000c13d0000000103000031000000400030008c0000004004000039000000000403401900000bbe0000013d000000240030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000000401100370000000000101043b001600000001001d000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000801100039000000000101041a000000a801100270000000ff0110018f000000030010008c0000053b0000213d000000010010008c000000000100003900000001010060391d3614d10000040f0000001601000029000000000010043f0000077001000041000000200010043f1d361d010000040f0000000501100039000000000101041a001500000001001d000000400100043d001600000001001d0000800b0100003900000004030000390000000004000415000000170440008a000000050440021000000775020000411d361d0e0000040f0000001502000029000000c002200270000000000012004b000000000100003900000001010080390000001602000029000000de0000013d000001440030008c000000710000413d0000000001000416000000000001004b000000710000c13d0000079601000041000000800010043f0000000001000411001500000001001d000000840010043f00000000010004140000000002000410000000040020008c000003da0000c13d0000000103000031000000200030008c00000020040000390000000004034019000004000000013d000000440030008c000000710000413d0000002402100370000000000302043b0000000401100370000000000401043b0000075301000041000000000201041a000000020020008c000003c60000613d001500000003001d0000000202000039000000000021041b001600000004001d000000000040043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000801100039000000000101041a000000a801100270000000ff0110018f000000030010008c0000053b0000213d000000010010008c000005fc0000c13d0000001601000029000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400400043d000007710040009c000004920000213d000000000101043b000001c002400039000000400020043f000000000201041a00000000032404360000000102100039000000000202041a000c00000003001d00000000002304350000000202100039000000000202041a0000004003400039000b00000003001d00000000002304350000000302100039000000000202041a0000006003400039001000000003001d00000000002304350000000402100039000000000202041a0000008003400039001100000003001d00000000002304350000000502100039000000000202041a000000a0054000390000077203200197000d00000005001d000000000035043500000080032002700000077203300197000000e005400039001300000005001d000000000035043500000040032002700000077203300197000000c005400039000e00000005001d0000000000350435000000c0032002700000010002400039000f00000002001d001400000003001d00000000003204350000000602100039000000000202041a00000752022001970000012003400039000a00000003001d00000000002304350000000702100039000000000202041a00000752022001970000014003400039000900000003001d000000000023043500000160034000390000000801100039000000000101041a0000075202100197001200000003001d0000000000230435000000a002100270000000ff0220018f000000010020008c0000053b0000213d0000018003400039000800000003001d0000000000230435000000a801100270000000ff0110018f000000030010008c0000053b0000213d000700000004001d000001a002400039000600000002001d00000000001204350000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000011290000613d000000000101043b000500000001001d000000140010006b000003400000a13d000000130100002900000000010104330000077201100197000000050010006c000008a90000a13d000000400100043d0000004402100039000007cf03000041000000000032043500000024021000390000001e03000039000006020000013d0000000001000416000000000001004b000000710000c13d0000077c01000041000000800010043f000007a80100004100001d370001042e0000000001000416000000000001004b000000710000c13d0000079601000041000000800010043f0000000001000411000000840010043f00000000010004140000000002000410000000040020008c000004430000c13d0000000103000031000000200030008c00000020040000390000000004034019000004690000013d000000240030008c000000710000413d0000000001000416000000000001004b000000710000c13d1d3615640000040f00000004010000390000000201100367000000000101043b000000000010043f0000077001000041000000200010043f1d361d010000040f1d3614820000040f000000400200043d001600000002001d1d3613dd0000040f00000016010000290000074f0010009c0000074f010080410000004001100210000007a7011001c700001d370001042e000000440030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000002402100370000000000402043b0000000401100370000000000101043b001500000001001d000000000114004b000003d00000413d0000079902000041000000000202041a000000000024004b000003d00000813d000000010310003a0000047a0000613d001400000004001d0000079a0010009c000004920000213d00000005013002100000003f021000390000079404200197000007860040009c000004920000213d0000008002400039000000400020043f000000800030043f0000079b0040009c000004920000213d0000000003000019000001c004200039000000400040043f000001a00420003900000000000404350000018004200039000000000004043500000160042000390000000000040435000001400420003900000000000404350000012004200039000000000004043500000100042000390000000000040435000000e0042000390000000000040435000000c0042000390000000000040435000000a0042000390000000000040435000000800420003900000000000404350000006004200039000000000004043500000040042000390000000000040435000000200420003900000000000404350000000000020435000000a00430003900000000002404350000002003300039000000000013004b000006d40000813d000000400200043d000007710020009c000003950000a13d000004920000013d000000240030008c000000710000413d0000000002000416000000000002004b000000710000c13d0000000401100370000000000301043b0000075301000041000000000201041a000000020020008c000004800000c13d0000076e01000041000000800010043f0000002001000039000000840010043f0000001f01000039000000a40010043f000007a201000041000000c40010043f000007a60100004100001d38000104300000076e01000041000000800010043f0000002001000039000000840010043f0000000d01000039000000a40010043f000007a501000041000000c40010043f000007a60100004100001d38000104300000074f0010009c0000074f01008041000000c001100210000007a3011001c71d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000003ef0000613d0000008008000039000000000901034f000000009a09043c0000000008a80436000000000058004b000003eb0000c13d000000000006004b000003fc0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000004980000613d0000001f01400039000000600110018f00000080021001bf001600000002001d000000400020043f000000200030008c000000710000413d000000800200043d000000000002004b0000000004000039000000010400c039000000000042004b000000710000c13d000000000002004b0000000002000411000004150000613d000000140200008a00000000022000310000000202200367000000000202043b0000006002200270000007aa040000410000001606000029000000000046043500000084041001bf000007ab0500004100000000005404350000075202200197000000a401100039000000000021043500000000010004140000000002000410000000040020008c000005410000c13d000000200030008c000000200100003900000000010340190000001f01100039000000600110018f00000000026100190000002001000039001400000002001d000000400020043f00000016020000290000000002020433000000000002004b0000000004000039000000010400c039000000000042004b000000710000c13d000000000002004b0000060d0000c13d0000076e010000410000001403000029000000000013043500000004013001bf000000200200003900000000002104350000004401300039000007c502000041000000000021043500000024013000390000000c020000390000000000210435000000400130021000000791011001c700001d38000104300000074f0010009c0000074f01008041000000c001100210000007a3011001c71d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000004580000613d0000008008000039000000000901034f000000009a09043c0000000008a80436000000000058004b000004540000c13d000000000006004b000004650000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000004a40000613d0000001f01400039000000600410018f00000080014001bf000000400010043f000000200030008c000000710000413d000000800300043d000000000003004b0000000002000039000000010200c039000000000023004b000000710000c13d0000000002000031000000000003004b000004c20000613d000000140220008c000004c20000813d000007a401000041000000000010043f0000001101000039000000040010043f0000078d0100004100001d38000104300000000202000039000000000021041b001600000003001d000000000030043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400500043d000007d00050009c000004fe0000413d000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d38000104300000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000049f0000c13d000004af0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000004ab0000c13d000000000005004b000004bc0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000074f0020009c0000074f020080410000004002200210000000000112019f00001d380001043000000020030000390000000000310435000000a0034000390000000000230435000007d7062001980000001f0720018f000000c00440003900000000056400190000000208000367000004d20000613d000000000908034f000000000a040019000000009b09043c000000000aba043600000000005a004b000004ce0000c13d000000000007004b000004df0000613d000000000668034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000000000442001900000000000404350000001f02200039000007d70220019700000040022000390000074f0020009c0000074f0200804100000060022002100000004001100210000000000112019f00001d370001042e000000400100043d00000064021000390000076c03000041000000000032043500000044021000390000076d0300004100000000003204350000002402100039000000260300003900000000003204350000076e0200004100000000002104350000000402100039000000200300003900000000003204350000074f0010009c0000074f0100804100000040011002100000076f011001c700001d3800010430000000000101043b000001c002500039000000400020043f000000000201041a00000000022504360000000103100039000000000303041a00000000003204350000000202100039000000000202041a000000400350003900000000002304350000000302100039000000000202041a000000600350003900000000002304350000000402100039000000000202041a000000800350003900000000002304350000000502100039000000000202041a000000a0035000390000077204200197000000000043043500000080032002700000077203300197000000e004500039000000000034043500000040032002700000077203300197000000c0045000390000000000340435000000c002200270000001000450003900000000002404350000000602100039000000000202041a0000075202200197000001200350003900000000002304350000000702100039000000000202041a00000752022001970000014003500039000000000023043500000160025000390000000801100039000000000101041a00000752031001970000000000320435000000a002100270000000ff0220018f000000020020008c0000053b0000813d00000180035000390000000000230435000000a801100270000000ff0110018f000000030010008c000005d30000a13d000007a401000041000000000010043f0000002101000039000000040010043f0000078d0100004100001d38000104300000074f0010009c0000074f01008041000000c0011002100000004003600210000000000131019f000007ac011001c71d361d310000040f000000160b000029000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000005590000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000005550000c13d000000000006004b000005660000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000005720000613d0000001f01400039000000600110018f0000000002b10019001400000002001d000000400020043f000000200030008c000000710000413d0000042b0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000005790000c13d000004af0000013d0000074f00b0009c0000074f0300004100000000030b401900000040033002100000074f0010009c0000074f01008041000000c001100210000000000131019f0000078d011001c700130000000b001d1d361d310000040f000000130b000029000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b00190000059a0000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000005960000c13d000000000006004b000005a70000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000006360000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000007720010009c000004920000213d0000000100200190000004920000c13d000000400010043f000000200030008c000000710000413d00000000020b0433000000000002004b0000000003000039000000010300c039000000000032004b000000710000c13d000000000002004b000005c50000613d000000140200008a00000000022000310000000202200367000000000202043b00150060002002780000001503000029000000140230014f0000075200200198000007750000c13d0000075302000041000000000302041a000000020030008c000007ab0000c13d0000004402100039000007a203000041000000000032043500000024021000390000001f03000039000006020000013d001400000004001d001300000005001d000001a002500039001500000002001d00000000001204350000001601000029000000000010043f0000077301000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400300043d000007740030009c000004920000213d000000000101043b0000006002300039000000400020043f000000000201041a00000000042304360000000102100039000000000202041a0000075202200197001200000004001d0000000000240435001100000003001d00000040023000390000000201100039000000000101041a000000000012043500000015010000290000000001010433000000030010008c0000053b0000213d0000078e0000c13d000000400100043d0000004402100039000007d503000041000000000032043500000024021000390000001d0300003900000000003204350000076e0200004100000000002104350000000402100039000000200300003900000000003204350000074f0010009c0000074f01008041000000400110021000000791011001c700001d380001043000000004020000390000000202200367000000000202043b000007520020009c000000710000213d000007aa040000410000001406000029000000000046043500000004046001bf000007ad0500004100000000005404350000002404600039000000000024043500000000020004140000000004000410000000040040008c000007370000c13d0000000002610019001600000002001d000000400020043f00000014020000290000000002020433000000000002004b0000000004000039000000010400c039000000000042004b000000710000c13d000000000002004b0000077e0000c13d0000076e010000410000001603000029000000000013043500000004013001bf000000200200003900000000002104350000004401300039000007c402000041000000000021043500000024013000390000000b020000390000043f0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000063d0000c13d000004af0000013d001100000000001d000000130200002900000012010000290000064b0000013d00000012010000290000001602000029000000010020003a00000001022000390000047a0000413d000000000012004b000008630000213d001600000002001d000000000020043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400200043d000007710020009c000004920000213d000000000101043b000001c003200039000000400030043f000000000301041a00000000033204360000000104100039000000000404041a00000000004304350000000203100039000000000303041a000000400420003900000000003404350000000303100039000000000303041a000000600420003900000000003404350000000403100039000000000303041a000000800420003900000000003404350000000503100039000000000303041a0000010004200039000000c0053002700000000000540435000000a0042000390000077205300197000000000054043500000080043002700000077204400197000000e005200039000000000045043500000040033002700000077203300197000000c00420003900000000003404350000000603100039000000000303041a0000075203300197000001200420003900000000003404350000000703100039000000000303041a00000752033001970000014004200039000000000034043500000160032000390000000801100039000000000101041a00000752041001970000000000430435000000a003100270000000ff0330018f000000010030008c0000053b0000213d00000180042000390000000000340435000000a801100270000000ff0110018f000000030010008c0000053b0000213d0000001604000029000000130440006a000001a0032000390000000000130435000000800100043d000000000041004b000009b30000a13d0000000501400210000000a0031000390000000000230435000000800100043d000000000041004b000009b30000a13d001400000003001d001500000004001d0000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000011290000613d000000000201043b000000800100043d000000150010006c0000001401000029000009b30000a13d0000000001010433000000e00310003900000000030304330000077203300197000000000023004b000006460000213d000001000310003900000000030304330000077203300197000000000023004b000006460000a13d000001a0021000390000000002020433000000030020008c0000053b0000213d000000010020008c000006460000c13d0000014001100039000000000101043300000752001001980000001201000029000006470000613d0000001102000029001100010020003e0000001602000029000006480000c13d0000047a0000013d00000015050000290000001401000029000000000015004b0000085e0000213d001600000005001d000000000050043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400200043d000007710020009c000004920000213d000000000101043b000001c003200039000000400030043f000000000301041a00000000033204360000000104100039000000000404041a00000000004304350000000203100039000000000303041a000000400420003900000000003404350000000303100039000000000303041a000000600420003900000000003404350000000403100039000000000303041a000000800420003900000000003404350000000503100039000000000303041a0000010004200039000000c0053002700000000000540435000000a0042000390000077205300197000000000054043500000080043002700000077204400197000000e005200039000000000045043500000040033002700000077203300197000000c00420003900000000003404350000000603100039000000000303041a0000075203300197000001200420003900000000003404350000000703100039000000000303041a00000752033001970000014004200039000000000034043500000160032000390000000801100039000000000101041a00000752041001970000000000430435000000a003100270000000ff0330018f000000010030008c0000053b0000213d00000180042000390000000000340435000000a801100270000000ff0310018f000000030030008c0000053b0000213d0000001605000029000000150150006a000001a0042000390000000000340435000000800300043d000000000013004b000009b30000a13d0000000503100210000000a0033000390000000000230435000000800200043d000000000012004b000009b30000a13d000000010050003a000000010550003900000014010000290000047a0000413d000006d60000013d0000074f0020009c0000074f02008041000000c0012002100000004002600210000000000112019f000007ac011001c70000000002000410001400000006001d1d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001405700029000007500000613d000000000801034f0000001409000029000000008a08043c0000000009a90436000000000059004b0000074c0000c13d000000000006004b0000075d0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000007690000613d0000001f01400039000000600110018f0000001402100029001600000002001d000000400020043f000000200030008c000000710000413d000006210000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000007700000c13d000004af0000013d00000064021000390000079c03000041000000000032043500000044021000390000079d03000041000000000032043500000024021000390000002103000039000004f30000013d0000075302000041000000000402041a000000020040008c000008480000c13d0000076e010000410000001603000029000000000013043500000004013001bf000000200200003900000000002104350000004401300039000007a202000041000000000021043500000024013000390000001f020000390000043f0000013d00000014010000290000000001010433001400000001001d0000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000011290000613d000000000101043b00000014020000290000077202200197000000000012004b000008b20000a13d000000400100043d0000006402100039000007d30300004100000000003204350000004402100039000007d403000041000000000032043500000024021000390000002203000039000004f30000013d0000000201000039000000000012041b0000001601000029000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400200043d001500000002001d000007710020009c000004920000213d000000000101043b0000001505000029000001c002500039000000400020043f000000000201041a00000000022504360000000103100039000000000303041a00000000003204350000000202100039000000000202041a000000400350003900000000002304350000000302100039000000000202041a000000600350003900000000002304350000000402100039000000000202041a000000800350003900000000002304350000000502100039000000000202041a0000010003500039000000c0042002700000000000430435000000a0035000390000077204200197000000000043043500000080032002700000077203300197000000e004500039000000000034043500000040022002700000077202200197000000c00350003900000000002304350000000602100039000000000202041a00000752022001970000012003500039001400000003001d00000000002304350000000702100039000000000202041a00000752022001970000014003500039000000000023043500000160025000390000000801100039000000000101041a00000752031001970000000000320435000000a002100270000000ff0220018f000000010020008c0000053b0000213d000000150300002900000180033000390000000000230435000000a801100270000000ff0110018f000000030010008c0000053b0000213d0000001502000029000001a00220003900000000001204350000001601000029000000000010043f0000077301000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400200043d000007740020009c000004920000213d000000000101043b0000006003200039000000400030043f000000000301041a00000000033204360000000104100039000000000404041a0000075204400198000000000043043500000040022000390000000201100039000000000101041a000000000012043500000c250000c13d0000001601000029000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000801100039000000000201041a0000079f02200197000007a0022001c7000000000021041b000000140100002900000000010104330000075202100197000000000100041000000015030000291d3617a30000040f00000014010000290000000001010433000000000200041400000752051001970000074f0020009c0000074f02008041000000c00120021000000788011001c70000800d020000390000000303000039000007a10400004100000016060000291d361d2c0000040f0000000100200190000000710000613d000009530000013d0000000204000039000000000042041b0000079902000041000000000402041a001400000004001d000000010440003a0000047a0000613d000000000042041b00000796020000410000001604000029000000000024043500000004024001bf0000000004000411000000000042043500000000020004140000000004000410000000040040008c000008ba0000c13d0000001601100029001300000001001d000000400010043f000008ec0000013d000000400100043d001600000001001d00000080020000391d3614230000040f000000440000013d0000001101000029000007720010009c000004920000213d000000110100002900000005011002100000003f021000390000079402200197000000400300043d0000000002230019001200000003001d000000000032004b00000000030000390000000103004039000007720020009c000004920000213d0000000100300190000004920000c13d000000400020043f000000110200002900000012030000290000000005230436000000000002004b000008a00000613d0000000002000019000000400300043d000007710030009c000004920000213d000001c004300039000000400040043f000001a00430003900000000000404350000018004300039000000000004043500000160043000390000000000040435000001400430003900000000000404350000012004300039000000000004043500000100043000390000000000040435000000e0043000390000000000040435000000c0043000390000000000040435000000a0043000390000000000040435000000800430003900000000000404350000006004300039000000000004043500000040043000390000000000040435000000200430003900000000000404350000000000030435000000000452001900000000003404350000002002200039000000000012004b0000087b0000413d001500000005001d000000800100043d001400000001001d000000000001004b000009730000c13d000000400100043d001600000001001d0000001202000029000008610000013d000000150000006b000009130000c13d000000400100043d0000006402100039000007cd0300004100000000003204350000004402100039000007ce03000041000004f00000013d000000120100002900000000010104330000075200100198000009370000c13d000000400100043d0000004402100039000007d203000041000005cf0000013d0000074f0020009c0000074f02008041000000c0012002100000001602000029001600000002001d0000004002200210000000000112019f0000078d011001c700000000020004101d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001605700029000008d40000613d000000000801034f0000001609000029000000008a08043c0000000009a90436000000000059004b000008d00000c13d000000000006004b000008e10000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000009580000613d0000001f01400039000000600110018f0000001601100029001300000001001d000000400010043f000000200030008c000000710000413d00000016010000290000000002010433000000000002004b0000000001000039000000010100c039000000000012004b000000710000c13d0000000201000367000000000002004b000008fb0000613d000000140200008a0000000002200031000000000221034f000000000202043b00150060002002780000000401100370000000000101043b001600000001001d000007520010009c000000710000213d000007ae01000041000000130200002900000000001204350000000401200039000007af02000041000000000021043500000000010004140000001602000029000000040020008c00000adf0000c13d000000200030008c00000020030080390000001f01300039000000600110018f00000013021000290000002001000039001200000002001d000000400020043f00000b110000013d0000001201000029000000000101043300000752011001970000077b0010009c0000091b0000613d0000000001000416000000000001004b000009b90000c13d000000400100043d001400000001001d000000040110003900000011020000290000000002020433000000150020006b000009640000a13d000000000002004b000009640000613d0000076e0200004100000014030000290000000000230435000000200200003900000000002104350000006401300039000007c80200004100000000002104350000004401300039000007c90200004100000000002104350000002401300039000000280200003900000000002104350000074f0030009c0000074f0300804100000040013002100000076f011001c700001d3800010430000000130100002900000011020000291d36158b0000040f00000015010000290000000001010433000000030010008c0000053b0000213d000000020010008c000009530000613d0000001601000029000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000000101043b0000000801100039000000000201041a0000079f02200197000007d1022001c7000000000021041b00000001010000390000075302000041000000000012041b000000000100001900001d370001042e0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000095f0000c13d000004af0000013d0000079602000041000000140300002900000000002304350000000002000411000300000002001d000000000021043500000000010004140000000002000410000000040020008c000009c30000c13d0000000103000031000000200030008c00000020040000390000000004034019000009ef0000013d001600000000001d001300000000001d0000097c0000013d0000001301000029001300010010003d0000000105500039001600000005001d000000140050006c000008a50000813d0000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000011290000613d000000000201043b000000800100043d0000001605000029000000000051004b0000001504000029000009b30000a13d0000000501500210000000a0011000390000000001010433000000e00310003900000000030304330000077203300197000000000023004b000009780000213d000001000310003900000000030304330000077203300197000000000023004b000009780000a13d000001a0021000390000000002020433000000030020008c00000013030000290000053b0000213d000000010020008c000009780000c13d000001400210003900000000020204330000075200200198000009780000613d000007d80030009c0000047a0000613d00000012020000290000000002020433000000000032004b000009b30000a13d000000130300002900000005023002100000000002420019000000000012043500000012010000290000000001010433000000000031004b000009760000213d000007a401000041000000000010043f0000003201000039000000040010043f0000078d0100004100001d3800010430000000400100043d0000006402100039000007c60300004100000000003204350000004402100039000007c703000041000000000032043500000024021000390000002803000039000004f30000013d00000014020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078d011001c700000000020004101d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000001405700029000009de0000613d000000000801034f0000001409000029000000008a08043c0000000009a90436000000000059004b000009da0000c13d000000000006004b000009eb0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000b280000613d0000001f01400039000000600110018f0000001402100029000000000012004b00000000010000390000000101004039000400000002001d000007720020009c000004920000213d0000000100100190000004920000c13d0000000401000029000000400010043f000000200030008c000000710000413d00000014010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b000000710000c13d000000000001004b00000a0c0000613d000000140100008a00000000011000310000000201100367000000000101043b00030060001002780000000401000029000007740010009c0000000702000029000004920000213d00000004040000290000006001400039000000400010043f00000040034000390000001501000029001400000003001d00000000001304350000001601000029000000000314043600000003010000290000075201100197001600000003001d00000000001304350000000001020433000000000010043f0000077301000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d000000400200043d000007740020009c000004920000213d000000000101043b0000006003200039000000400030043f000000000301041a00000000043204360000000103100039000000000303041a0000075203300197000200000004001d000000000034043500000040022000390000000201100039000000000101041a001500000001001d000000000012043500000014010000290000000002010433000000110100002900000000010104330000000003010019000000010110008a000300000002001d000000000021004b00000c8f0000813d0000001401000029000100000003001d0000000000310435000000070100002900000004020000291d36158b0000040f000300010000002d00000012010000290000000001010433000500000001001d00000002010000290000000001010433000407520010019c00000a6d0000613d000000150000006b00000a6d0000613d0000077901000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000074f0010009c0000074f01008041000000c0011002100000077a011001c700008005020000391d361d310000040f0000000100200190000011290000613d000000000501043b000000050100002900000752011001970000000002000410000000040300002900000015040000291d36188c0000040f00000012010000290000000001010433000500000001001d00000016010000290000000001010433001500000001001d0000077901000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000074f0010009c0000074f01008041000000c0011002100000077a011001c700008005020000391d361d310000040f0000000100200190000011290000613d000000000501043b0000000501000029000007520110019700000015020000290000075202200197000000000300041000000003040000291d36188c0000040f00000016010000290000000002010433000000140100002900000000040104330000000706000029000000000506043300000009070000290000000003070433000000400100043d0000000004410436000000000606043300000000006404350000000c040000290000000004040433000000400610003900000000004604350000000b04000029000000000404043300000060061000390000000000460435000000100400002900000000040404330000008006100039000000000046043500000011040000290000000004040433000000a00610003900000000004604350000000d0400002900000000040404330000077204400197000000c00610003900000000004604350000000e0400002900000000040404330000077204400197000000e0061000390000000000460435000000130400002900000000040404330000077204400197000001000610003900000000004604350000000f0400002900000000040404330000077204400197000001200610003900000000004604350000000a04000029000000000404043300000752044001970000014006100039000000000046043500000000040704330000075204400197000001600610003900000000004604350000001204000029000000000404043300000752044001970000018006100039000000000046043500000008040000290000000004040433000000010040008c0000053b0000213d000001a006100039000000000046043500000006040000290000000004040433000000030040008c0000053b0000213d00000752073001970000075206200197000001c00210003900000000004204350000074f0010009c0000074f01008041000000400110021000000000020004140000074f0020009c0000074f02008041000000c002200210000000000112019f000007cb011001c70000800d020000390000000403000039000007cc04000041000008440000013d0000074f0010009c0000074f01008041000000c0011002100000001302000029001300000002001d0000004002200210000000000112019f0000078d011001c700000016020000291d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000130570002900000af90000613d000000000801034f0000001309000029000000008a08043c0000000009a90436000000000059004b00000af50000c13d000000000006004b00000b060000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000b340000613d0000001f01400039000000600110018f0000001302100029001200000002001d000000400020043f000000200030008c000000710000413d00000013020000290000000003020433000000000003004b0000000002000039000000010200c039001300000003001d000000000023004b000000710000c13d000000130000006b00000b400000c13d000007ae02000041000000120300002900000000002304350000000402300039000007b003000041000000000032043500000000020004140000001603000029000000040030008c00000c290000c13d0000001201100029000000400010043f00000c5a0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000b2f0000c13d000004af0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000b3b0000c13d000004af0000013d001600010000003d00000012010000290000014001100039000000400010043f00000002010003670000000402100370000000000202043b000007520020009c000000710000213d000000120400002900000000022404360000002403100370000000000303043b000000000032043500000040034000390000004402100370000000000202043b00000000002304350000006403100370000000000303043b001100000003001d000007520030009c000000710000213d00000012040000290000006003400039000000110500002900000000005304350000008403100370000000000303043b0000008005400039000f00000005001d0000000000350435000000a004400039000000a403100370000000000303043b001000000004001d0000000000340435000000c403100370000000000303043b000007720030009c000000710000213d0000001204000029000000c0044000390000000000340435000000e404100370000000000404043b000e00000004001d000007720040009c000000710000213d0000001204000029000000e0044000390000000e0500002900000000005404350000010404100370000000000404043b000d00000004001d000007720040009c000000710000213d00000012040000290000010004400039000c00000004001d0000000d0500002900000000005404350000012401100370000000000101043b000007720010009c000000710000213d00000012040000290000012004400039001200000004001d0000000000140435000000010020008c00000e2f0000613d000000000002004b00000e230000c13d000000400100043d0000006402100039000007b10300004100000000003204350000004402100039000007b203000041000004f00000013d00000015020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f00000778011001c700000000020004101d361d310000040f000000000301001900000060033002700000074f03300197000000400030008c000000400400003900000000040340190000001f0640018f0000006007400190000000150570002900000bad0000613d000000000801034f0000001509000029000000008a08043c0000000009a90436000000000059004b00000ba90000c13d000000000006004b00000bba0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000c740000613d0000001f01400039000000e00210018f0000001501200029000000000021004b00000000020000390000000102004039000007720010009c000004920000213d0000000100200190000004920000c13d000000400010043f000000400030008c000000710000413d00000015010000290000000001010433000a00000001001d000007520010009c000000710000213d0000000d0100002900000000010104330000ffff0010008c000000710000213d000d0013001000bd000000130000006b00000bdb0000613d0000000d0300002900000013023000fa000000000021004b0000047a0000c13d0000077901000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000074f0010009c0000074f01008041000000c0011002100000077a011001c700008005020000391d361d310000040f0000000100200190000011290000613d0000000c02000029000c07520020019b000000000101043b001500000001001d000000130100002900000064011000c90009271000100122000027100010008c00000d310000813d0000077901000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000074f0010009c0000074f01008041000000c0011002100000077a011001c700008005020000391d361d310000040f0000000100200190000011290000613d0000000d02000029000027100420011a001600000004001d000000000501043b0000000c0100002900000000020004100000000a030000291d36188c0000040f0000001602000029000000130120006b0000047a0000413d00150009001000740000047a0000413d0000001101000029000000000101043300000012020000290000000002020433000000400500043d0000004403500039000000130400002900000000004304350000002403500039000000000023043500000792020000410000000002250436001300000002001d0000075201100197001600000005001d0000000402500039000000000012043500000000010004140000000002000410000000040020008c00000f1d0000c13d0000000301000367000000010300003100000f2f0000013d000000400100043d00000044021000390000079e03000041000005cf0000013d0000074f0020009c0000074f02008041000000c0012002100000001202000029001200000002001d0000004002200210000000000112019f0000078d011001c700000016020000291d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000120570002900000c430000613d000000000801034f0000001209000029000000008a08043c0000000009a90436000000000059004b00000c3f0000c13d000000000006004b00000c500000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f0003000000010355000000010020019000000c800000613d0000001f01400039000000600110018f0000001201100029000000400010043f000000200030008c000000710000413d00000012020000290000000002020433000000000002004b0000000003000039000000010300c039000000000032004b000000710000c13d000000000002004b00000c8c0000c13d0000006402100039000007c20300004100000000003204350000004402100039000007c30300004100000000003204350000002402100039000000370300003900000000003204350000076e02000041000000000021043500000004021000390000002003000039000000000032043500000040011002100000076f011001c700001d38000104300000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000c7b0000c13d000004af0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00000c870000c13d000004af0000013d001200000001001d001600000000001d00000b410000013d000000150000006b00000d200000c13d00000010010000290000000001010433000000030010006b00000d2d0000413d00000007010000290000000001010433000000000010043f0000077301000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d00000004020000290000000002020433000000000101043b000000000021041b0000001602000029000000000202043300000752022001970000000103100039000000000403041a000007b704400197000000000224019f000000000023041b000000020110003900000014020000290000000002020433000000000021041b0000000f0100002900000000010104330000077201100197000000050210006c0000047a0000413d0000000d0300002900000000030304330000077203300197000000000032004b00000a4c0000213d0000000001130019000007720010009c0000047a0000213d0000000f02000029000000000012043500000007010000290000000001010433000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d00000007020000290000000002020433000000000101043b000000000021041b0000000c0200002900000000020204330000000103100039000000000023041b0000000b0200002900000000020204330000000203100039000000000023041b000000100200002900000000020204330000000303100039000000000023041b000000110200002900000000020204330000000403100039000000000023041b0000000d02000029000000000202043300000772022001970000000e0300002900000000030304330000004003300210000007b503300197000000000223019f000000130300002900000000030304330000008003300210000007b603300197000000000232019f0000000f030000290000000003030433000000c003300210000000000232019f0000000503100039000000000023041b0000000a02000029000000000202043300000752022001970000000603100039000000000403041a000007b704400197000000000224019f000000000023041b0000000902000029000000000202043300000752022001970000000703100039000000000403041a000007b704400197000000000224019f000000000023041b00000008020000290000000002020433000000010020008c0000053b0000213d0000000801100039000000a002200210000007b802200197000000120300002900000000030304330000075203300197000000000223019f000000000301041a000007b903300197000000000232019f000000000021041b00000006030000290000000003030433000000030030008c0000053b0000213d0000079f02200197000000a803300210000007ba03300197000000000223019f000000000021041b00000a4c0000013d0000001502000029000000030220006b00000d2d0000a13d00002710012000c900000000022100d9000027100020008c0000047a0000c13d0000000e020000290000000002020433000007720220019700000015011000fa000000000021004b00000c950000813d000000400100043d0000004402100039000007ca03000041000005ff0000013d0000000c010000290000077b0010009c00000df80000c13d00000000010004100000077d0010009c00000e410000813d0000078201000041000000000010044300000015010000290000075201100197001500000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000011290000613d000000000101043b000000000001004b000000710000613d000000400200043d0000078c010000410000000000120435001600000002001d00000004012000390000000902000029000000000021043500000000010004140000001502000029000000040020008c00000d650000613d00000016020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078d011001c700000015020000291d361d2c0000040f000000000301001900000060033002700001074f0030019d000300000001035500000001002001900000102a0000613d0000001601000029000007720010009c000004920000213d0000001601000029000000400010043f00000000010004140000074f0010009c0000074f01008041000000c00110021000000788011001c7000080090200003900000009030000290000077c0400004100000000050000191d361d2c0000040f0003000000010355000000000301001900000060033002700001074f0030019d0000074f0330019800000d9f0000613d0000001f0430003900000750044001970000003f044000390000078904400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000007720040009c000004920000213d0000000100600190000004920000c13d000000400040043f0000001f0430018f00000000063504360000075105300198000000000356001900000d920000613d000000000701034f000000007807043c0000000006860436000000000036004b00000d8e0000c13d000000000004004b00000d9f0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000000010020019000000bf20000c13d000007820100004100000000001004430000001501000029000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000011290000613d000000000101043b000000000001004b000000710000613d000000400200043d0000078a01000041000800000002001d0000000001120436000700000001001d00000000010004140000001502000029000000040020008c00000dce0000613d00000008020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078b011001c700008009020000390000000903000029000000150400002900000000050000191d361d2c0000040f000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000012b80000613d0000000801000029000007720010009c000004920000213d0000000803000029000000400030043f00000044013000390000000902000029000000000021043500000785010000410000000702000029000000000012043500000024013000390000077c02000041000000000021043500000044010000390000000000130435000007860030009c000004920000213d00000008020000290000008001200039000600000001001d000000400010043f000007870020009c000004920000213d0000000803000029000000c001300039000000400010043f000000200200003900000006010000290000000000210435000000a0023000390000078101000041001600000002001d0000000000120435000000000203043300000000010004140000001503000029000000040030008c000012c50000c13d00000001020000390000000101000031000012d80000013d000000000100041000000752041001970000077c0040009c00000bf20000613d000000400200043d00000044032000390000002405200039000000200120003900000000060004100000077d0060009c00000efb0000813d000007850400004100000000004104350000077c0400004100000000004504350000000904000029000000000043043500000044030000390000000000320435000007860020009c000004920000213d0000008003200039001500000003001d000000400030043f000007870020009c000004920000213d000000c003200039000000400030043f000000200400003900000015030000290000000000430435000000a0042000390000078103000041001600000004001d0000000000340435000000000302043300000000020004140000000c04000029000000040040008c000010370000c13d00000001020000390000000101000031000010490000013d000000130000006b00000e2f0000c13d000000400100043d0000006402100039000007c00300004100000000003204350000004402100039000007c103000041000000000032043500000024021000390000002903000039000004f30000013d000000000003004b00000e380000c13d000000400100043d0000004402100039000007bf03000041000000000032043500000024021000390000001c03000039000006020000013d0000000e0000006b00000ed10000c13d000000400100043d0000004402100039000007be03000041000000000032043500000024021000390000001b03000039000006020000013d00000000010004140000074f0010009c0000074f01008041000000c00110021000000788011001c7000080090200003900000009030000290000077c0400004100000000050000191d361d2c0000040f0003000000010355000000000301001900000060033002700001074f0030019d0000074f0330019800000e760000613d0000001f0430003900000750044001970000003f044000390000078904400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000007720040009c000004920000213d0000000100600190000004920000c13d000000400040043f0000001f0430018f00000000063504360000075105300198000000000356001900000e690000613d000000000701034f000000007807043c0000000006860436000000000036004b00000e650000c13d000000000004004b00000e760000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000000010020019000000bf20000c13d0000078201000041000000000010044300000015010000290000075201100197001500000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000011290000613d000000000101043b000000000001004b000000710000613d000000400200043d0000078a01000041000800000002001d0000000001120436000700000001001d00000000010004140000001502000029000000040020008c00000ea70000613d00000008020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078b011001c700008009020000390000000903000029000000150400002900000000050000191d361d2c0000040f000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000012380000613d0000000801000029000007720010009c000004920000213d0000000803000029000000400030043f00000044013000390000000902000029000000000021043500000785010000410000000702000029000000000012043500000024013000390000077c02000041000000000021043500000044010000390000000000130435000007860030009c000004920000213d00000008020000290000008001200039000600000001001d000000400010043f000007870020009c000004920000213d0000000803000029000000c001300039000000400010043f000000200200003900000006010000290000000000210435000000a0023000390000078101000041001600000002001d0000000000120435000000000203043300000000010004140000001503000029000000040030008c000012520000c13d00000001020000390000000101000031000012650000013d0000000d01000029000007b30010009c0000047a0000213d0000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000011290000613d0000000d0200002900000e1002200039000000000101043b000000000012004b0000101f0000413d0000001201000029000000000101043300000772011001970000000c0200002900000000020204330000077202200197000000000012004b0000101f0000813d00000010010000290000000001010433000000000001004b0000112a0000613d0000000f020000290000000002020433000000000021004b0000112a0000813d000000400100043d00000064021000390000079c0300004100000000003204350000004402100039000007b4030000410000077a0000013d0000077e06000041000000000061043500000000004504350000077c040000410000000000430435000000640320003900000009040000290000000000430435000000640300003900000000003204350000077f0020009c000004920000213d000000a003200039000800000003001d000000400030043f000007800020009c000004920000213d000000e003200039000000400030043f000000200400003900000008030000290000000000430435000000c0042000390000078103000041001500000004001d0000000000340435000000000302043300000000020004140000000c04000029000000040040008c0000104e0000c13d00000001020000390000000101000031000010600000013d00000016020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f00000791011001c700000000020004101d361d2c0000040f000000000301001900000060033002700001074f0030019d0000074f0330019700030000000103550000000100200190000010130000613d000007d7053001980000001f0630018f000000160450002900000f390000613d000000000701034f0000001608000029000000007907043c0000000008980436000000000048004b00000f350000c13d000000000006004b00000f460000613d000000000151034f0000000305600210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000001f01300039000007d7011001970000001602100029000000000012004b00000000010000390000000101004039000a00000002001d000007720020009c000004920000213d0000000100100190000004920000c13d0000000a01000029000000400010043f000007840030009c000000710000213d000000400030008c000000710000413d00000016010000290000000001010433000007720010009c000000710000213d0000001604100029000000160130002900000793021001970000001f034000390000079305300197000000000625013f000000000025004b00000000050000190000079305004041000000000013004b00000000030000190000079303008041000007930060009c000000000503c019000000000005004b000000710000c13d0000000034040434000007720040009c000004920000213d00000005054002100000003f0650003900000794066001970000000a06600029000007720060009c000004920000213d000000400060043f0000000a0600002900000000004604350000000004530019000000000014004b000000710000213d000000000043004b00000f840000813d0000000a050000290000000036030434000007520060009c000000710000213d00000020055000390000000000650435000000000043004b00000f7d0000413d00000013030000290000000003030433000007720030009c000000710000213d00000016033000290000001f04300039000000000014004b000000000500001900000793050080410000079304400197000000000624013f000000000024004b00000000020000190000079302004041000007930060009c000000000205c019000000000002004b000000710000c13d0000000023030434000007720030009c000004920000213d00000005043002100000003f054000390000079405500197000000400600043d0000000005560019000900000006001d000000000065004b00000000060000390000000106004039000007720050009c000004920000213d0000000100600190000004920000c13d000000400050043f00000009050000290000000003350436000800000003001d0000000003420019000000000013004b000000710000213d000000000032004b00000fb40000813d000000080100002900000000240204340000000001410436000000000032004b00000fb00000413d0000000a010000290000000021010434000700000002001d000600000001001d000000000001004b00000fe70000613d001600000000001d0000000a010000290000000001010433000000160010006c000009b30000a13d00000009010000290000000001010433000000160010006c000009b30000a13d0000001601000029000000050110021000000008021000290000000003020433001300000003001d00150015003000730000134b0000413d00000007011000290000000001010433000d00000001001d0000077901000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000074f0010009c0000074f01008041000000c0011002100000077a011001c700008005020000391d361d310000040f0000000100200190000011290000613d0000000d020000290000075203200197000000000501043b0000000c01000029000000000200041000000013040000291d36188c0000040f00000016020000290000000102200039001600000002001d000000060020006c00000fbb0000413d0000077901000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000074f0010009c0000074f01008041000000c0011002100000077a011001c700008005020000391d361d310000040f0000000100200190000011290000613d0000000b020000290000075203200197000000000501043b0000000c01000029000000000200041000000015040000291d36188c0000040f0000000f010000290000000001010433001300000001001d00000011010000290000000001010433001100000001001d000000400200043d00000796010000410000000000120435001600000002001d00000004012000390000000002000411001500000002001d000000000021043500000000010004140000000002000410000000040020008c000013520000c13d0000000103000031000000200030008c000000200400003900000000040340190000137e0000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000101a0000c13d000004af0000013d000000400100043d0000004402100039000007bd0300004100000000003204350000076e0200004100000000002104350000002402100039000000200300003900000000003204350000000402100039000006070000013d0000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000010320000c13d000004af0000013d0000074f0010009c0000074f0100804100000040011002100000074f0030009c0000074f030080410000006003300210000000000113019f0000074f0020009c0000074f02008041000000c002200210000000000121019f0000000c020000291d361d2c0000040f000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b000010640000c13d000800600000003d000700800000003d0000108e0000013d0000074f0010009c0000074f0100804100000040011002100000074f0030009c0000074f030080410000006003300210000000000113019f0000074f0020009c0000074f02008041000000c002200210000000000121019f0000000c020000291d361d2c0000040f000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b000010aa0000c13d000700600000003d000010d40000013d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400500043d0000000004450019000800000005001d000000000054004b00000000050000390000000105004039000007720040009c000004920000213d0000000100500190000004920000c13d000000400040043f00000008040000290000000005140436000007d7031001980000001f0410018f000700000005001d00000000013500190000000305000367000010810000613d000000000605034f0000000707000029000000006806043c0000000007870436000000000017004b0000107d0000c13d000000000004004b0000108e0000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f000000000031043500000008010000290000000001010433000000000002004b000010fc0000c13d000000000001004b000012f80000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000015020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000010ef0000613d000000000400001900000000053400190000001606400029000000000606043300000000006504350000002004400039000000000024004b000010a20000413d000010ef0000013d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400500043d0000000004450019000700000005001d000000000054004b00000000050000390000000105004039000007720040009c000004920000213d0000000100500190000004920000c13d000000400040043f00000007040000290000000005140436000007d7031001980000001f0410018f001600000005001d00000000013500190000000305000367000010c70000613d000000000605034f0000001607000029000000006806043c0000000007870436000000000017004b000010c30000c13d000000000004004b000010d40000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f000000000031043500000007010000290000000001010433000000000002004b000011130000c13d000000000001004b000012450000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000008020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000010ef0000613d000000000400001900000000053400190000001506400029000000000606043300000000006504350000002004400039000000000024004b000010e80000413d0000001f04200039000007d7044001970000000002320019000000000002043500000044024000390000074f0020009c0000074f0200804100000060022002100000074f0010009c0000074f010080410000004001100210000000000112019f00001d3800010430000000000001004b000013340000c13d000007820100004100000000001004430000000c01000029000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000011290000613d000000000101043b000000000001004b000011250000613d00000008010000290000000001010433000000000001004b00000bf20000613d000013340000013d000000000001004b0000124b0000c13d000007820100004100000000001004430000000c01000029000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000011290000613d000000000101043b000000000001004b000012470000c13d000000400100043d00000044021000390000079003000041000005ff0000013d000000000001042f00000002020003670000000401200370000000000101043b000007520010009c000000710000213d000000400300043d001300000003001d000007710030009c000004920000213d0000001306000029000001c003600039000000400030043f000000140400002900000000054604360000002403200370000000000303043b001000000005001d00000000003504350000004403200370000000000303043b0000004005600039000d00000005001d00000000003504350000008403200370000000000303043b0000006005600039000c00000005001d0000000000350435000000a403200370000000000303043b0000008005600039000b00000005001d0000000000350435000000c403200370000000000303043b000000c005600039000f00000005001d0000000e0700002900000000007504350000077203300197000000a005600039000a00000005001d00000000003504350000010403200370000000000303043b0000077203300197000000e005600039000e00000005001d00000000003504350000012402200370000000000202043b000001a0056000390000000103000039000700000005001d000000000035043500000180056000390000001603000029001200000005001d000000000035043500000160056000390000001103000029000800000005001d00000000003504350000014003600039001600000003001d000000000013043500000772012001970000010002600039000900000002001d0000000000120435000000150100002900000752011001970000012002600039000600000001001d001100000002001d0000000000120435000000000040043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000000710000613d00000013020000290000000002020433000000000101043b000000000021041b000000100200002900000000020204330000000103100039000000000023041b0000000d0200002900000000020204330000000203100039000000000023041b0000000c0200002900000000020204330000000303100039000000000023041b0000000b0200002900000000020204330000000403100039000000000023041b0000000a02000029000000000202043300000772022001970000000f0300002900000000030304330000004003300210000007b503300197000000000223019f0000000e0300002900000000030304330000008003300210000007b603300197000000000232019f00000009030000290000000003030433000000c003300210000000000232019f0000000503100039000000000023041b0000001102000029000000000202043300000752022001970000000603100039000000000403041a000007b704400197000000000224019f000000000023041b0000001602000029000000000202043300000752022001970000000703100039000000000403041a000007b704400197000000000224019f000000000023041b00000012020000290000000002020433000000010020008c0000053b0000213d0000000801100039000000a002200210000007b802200197000000080300002900000000030304330000075203300197000000000223019f000000000301041a000007b903300197000000000232019f000000000021041b00000007030000290000000003030433000000030030008c0000053b0000213d0000079f02200197000000a803300210000007ba03300197000000000223019f000000000021041b0000001501000029000000000200041000000013030000291d3617a30000040f00000004010000390000000201100367000000000701043b000007520070009c000000710000213d00000013010000290000000002010433000000400100043d00000000022104360000001003000029000000000303043300000000003204350000000d020000290000000002020433000000400310003900000000002304350000000c020000290000000002020433000000600310003900000000002304350000000b020000290000000002020433000000800310003900000000002304350000000a0200002900000000020204330000077202200197000000a00310003900000000002304350000000f0200002900000000020204330000077202200197000000c00310003900000000002304350000000e0200002900000000020204330000077202200197000000e00310003900000000002304350000000902000029000000000202043300000772022001970000010003100039000000000023043500000011020000290000000002020433000007520220019700000120031000390000000000230435000000160200002900000000020204330000075202200197000001400310003900000000002304350000000802000029000000000202043300000752022001970000016003100039000000000023043500000012020000290000000002020433000000010020008c0000053b0000213d0000018003100039000000000023043500000007020000290000000002020433000000030020008c0000053b0000213d000001a00310003900000000002304350000074f0010009c0000074f01008041000000400110021000000000020004140000074f0020009c0000074f02008041000000c002200210000000000112019f000007bb011001c70000800d020000390000000403000039000007bc04000041000000060500002900000014060000291d361d2c0000040f0000000100200190000000710000613d00000753010000410000000102000039000000000021041b000000400100043d000000140200002900000000002104350000074f0010009c0000074f010080410000004001100210000007a9011001c700001d370001042e0000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000012400000c13d000004af0000013d0000001602000029000012f90000013d00000007010000290000000001010433000000000001004b00000bf20000613d000007840010009c0000001602000029000000710000213d000000200010008c000000710000413d00000000010204330000133a0000013d00000007030000290000074f0030009c0000074f0300804100000040033002100000074f0020009c0000074f020080410000006002200210000000000232019f0000074f0010009c0000074f01008041000000c001100210000000000112019f00000015020000291d361d2c0000040f000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b000012850000c13d000800600000003d000700800000003d00000008010000290000000001010433000000000002004b000012b00000c13d000000000001004b000012f80000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000006020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000010ef0000613d000000000400001900000000053400190000001606400029000000000606043300000000006504350000002004400039000000000024004b0000127d0000413d000010ef0000013d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400500043d0000000004450019000800000005001d000000000054004b00000000050000390000000105004039000007720040009c000004920000213d0000000100500190000004920000c13d000000400040043f00000008040000290000000005140436000007d7031001980000001f0410018f000700000005001d00000000013500190000000305000367000012a20000613d000000000605034f0000000707000029000000006806043c0000000007870436000000000017004b0000129e0000c13d000000000004004b000012690000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000310435000012690000013d000000000001004b000013340000c13d00000782010000410000000000100443000000150100002900000004001004430000000001000414000011030000013d0000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000012c00000c13d000004af0000013d00000007030000290000074f0030009c0000074f0300804100000040033002100000074f0020009c0000074f020080410000006002200210000000000232019f0000074f0010009c0000074f01008041000000c001100210000000000112019f00000015020000291d361d2c0000040f000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b000013010000c13d000800600000003d000700800000003d00000008010000290000000001010433000000000002004b0000132c0000c13d000000000001004b000012f80000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000006020000290000000002020433000000240310003900000000002304350000004403100039000000000002004b000010ef0000613d000000000400001900000000053400190000001606400029000000000606043300000000006504350000002004400039000000000024004b000012f00000413d000010ef0000013d00000007020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f010080410000006001100210000000000121019f00001d38000104300000001f04100039000007d7044001970000003f04400039000007d704400197000000400500043d0000000004450019000800000005001d000000000054004b00000000050000390000000105004039000007720040009c000004920000213d0000000100500190000004920000c13d000000400040043f00000008040000290000000005140436000007d7031001980000001f0410018f000700000005001d000000000135001900000003050003670000131e0000613d000000000605034f0000000707000029000000006806043c0000000007870436000000000017004b0000131a0000c13d000000000004004b000012dc0000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000310435000012dc0000013d000000000001004b000013340000c13d00000782010000410000000000100443000000150100002900000004001004430000000001000414000011030000013d000007840010009c000000710000213d000000200010008c000000710000413d00000007010000290000000001010433000000000001004b0000000002000039000000010200c039000000000021004b000000710000c13d000000000001004b00000bf20000c13d000000400100043d00000064021000390000078e03000041000000000032043500000044021000390000078f03000041000000000032043500000024021000390000002a03000039000004f30000013d000000400100043d00000044021000390000079503000041000000000032043500000024021000390000001503000039000006020000013d00000016020000290000074f0020009c0000074f0200804100000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078d011001c700000000020004101d361d310000040f000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000016057000290000136d0000613d000000000801034f0000001609000029000000008a08043c0000000009a90436000000000059004b000013690000c13d000000000006004b0000137a0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000013c80000613d0000001f01400039000000600210018f0000001601200029000000000021004b00000000020000390000000102004039000007720010009c000004920000213d0000000100200190000004920000c13d000000400010043f000000200030008c000000710000413d00000016020000290000000002020433000000000002004b0000000003000039000000010300c039000000000032004b000000710000c13d00000011030000290000075206300197000000000002004b0000139b0000613d000000140200008a00000000022000310000000202200367000000000202043b001500600020027800000012020000290000000002020433000000140300002900000000030304330000000e04000029000000000404043300000752044001970000004005100039000000000045043500000752033001970000002004100039000000000034043500000000002104350000074f0010009c0000074f01008041000000400110021000000000020004140000074f0020009c0000074f02008041000000c002200210000000000112019f0000001502000029000007520720019700000797011001c70000800d020000390000000403000039000007980400004100000013050000291d361d2c0000040f0000000100200190000000710000613d00000010010000290000000001010433000000030010008c0000053b0000213d000000020010008c000009530000613d00000004010000390000000201100367000000000101043b000000000010043f0000077001000041000000200010043f0000000001000414000009450000013d0000001f0530018f0000075106300198000000400200043d0000000004620019000004af0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000013cf0000c13d000004af0000013d00000040051000390000000000450435000007520330019700000020041000390000000000340435000007520220019700000000002104350000006001100039000000000001042d0000000043010434000000000332043600000000040404330000000000430435000000400310003900000000030304330000004004200039000000000034043500000060031000390000000003030433000000600420003900000000003404350000008003100039000000000303043300000080042000390000000000340435000000a00310003900000000030304330000077203300197000000a0042000390000000000340435000000c00310003900000000030304330000077203300197000000c0042000390000000000340435000000e00310003900000000030304330000077203300197000000e00420003900000000003404350000010003100039000000000303043300000772033001970000010004200039000000000034043500000120031000390000000003030433000007520330019700000120042000390000000000340435000001400310003900000000030304330000075203300197000001400420003900000000003404350000016003200039000001600410003900000000040404330000075204400197000000000043043500000180031000390000000003030433000000020030008c0000141d0000813d00000180042000390000000000340435000001a0011000390000000001010433000000030010008c0000141d0000213d000001a0022000390000000000120435000000000001042d000007a401000041000000000010043f0000002101000039000000040010043f0000078d0100004100001d380001043000000020030000390000000004310436000000000302043300000000003404350000004001100039000000000003004b000014700000613d0000000004000019000000200220003900000000050204330000000076050434000000000661043600000000070704330000000000760435000000400650003900000000060604330000004007100039000000000067043500000060065000390000000006060433000000600710003900000000006704350000008006500039000000000606043300000080071000390000000000670435000000a00650003900000000060604330000077206600197000000a0071000390000000000670435000000c00650003900000000060604330000077206600197000000c0071000390000000000670435000000e00650003900000000060604330000077206600197000000e00710003900000000006704350000010006500039000000000606043300000772066001970000010007100039000000000067043500000120065000390000000006060433000007520660019700000120071000390000000000670435000001400650003900000000060604330000075206600197000001400710003900000000006704350000016006100039000001600750003900000000070704330000075207700197000000000076043500000180065000390000000006060433000000020060008c000014710000813d00000180071000390000000000670435000001a0055000390000000005050433000000030050008c000014710000213d000001a0061000390000000000560435000001c0011000390000000104400039000000000034004b0000142b0000413d000000000001042d000007a401000041000000000010043f0000002101000039000000040010043f0000078d0100004100001d3800010430000007d90010009c0000147c0000813d0000006001100039000000400010043f000000000001042d000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d38000104300000000002010019000000400100043d000007d00010009c000014cb0000813d000001c003100039000000400030043f000000000302041a00000000033104360000000104200039000000000404041a00000000004304350000000203200039000000000303041a000000400410003900000000003404350000000303200039000000000303041a000000600410003900000000003404350000000403200039000000000303041a000000800410003900000000003404350000000503200039000000000303041a0000010004100039000000c0053002700000000000540435000000a0041000390000077205300197000000000054043500000080043002700000077204400197000000e005100039000000000045043500000040033002700000077203300197000000c00410003900000000003404350000000603200039000000000303041a0000075203300197000001200410003900000000003404350000000703200039000000000303041a00000752033001970000014004100039000000000034043500000160031000390000000802200039000000000202041a00000752042001970000000000430435000000a003200270000000ff0330018f000000020030008c000014c50000813d00000180041000390000000000340435000000a802200270000000ff0220018f000000030020008c000014c50000213d000001a0031000390000000000230435000000000001042d000007a401000041000000000010043f0000002101000039000000040010043f0000078d0100004100001d3800010430000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d3800010430000000000001004b000014d40000613d000000000001042d000000400100043d0000004402100039000007d503000041000000000032043500000024021000390000001d0300003900000000003204350000076e0200004100000000002104350000000402100039000000200300003900000000003204350000074f0010009c0000074f01008041000000400110021000000791011001c700001d38000104300001000000000002000000400b00043d000007960100004100000000001b04350000000402b000390000000001000411000000000012043500000000040004140000000002000410000000040020008c000014f50000c13d0000000103000031000000200030008c00000020040000390000000004034019000015230000013d0000074f00b0009c0000074f0300004100000000030b401900000040033002100000074f0040009c0000074f04008041000000c001400210000000000131019f0000078d011001c700010000000b001d1d361d310000040f000000010b000029000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000015110000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b0000150d0000c13d000000000006004b0000151e0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000015460000613d00000000010004110000001f02400039000000600220018f0000000004b20019000000000024004b00000000020000390000000102004039000007720040009c000015400000213d0000000100200190000015400000c13d000000400040043f0000001f0030008c0000153e0000a13d00000000030b0433000000000003004b0000000002000039000000010200c039000000000023004b0000153e0000c13d000000000003004b0000153d0000613d000000140100008a00000000011000310000000201100367000000000101043b0000006001100270000000000001042d000000000100001900001d3800010430000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d38000104300000001f0530018f0000075106300198000000400200043d0000000004620019000015510000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000154d0000c13d000000000005004b0000155e0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000074f0020009c0000074f020080410000004002200210000000000112019f00001d3800010430000000400100043d000007d00010009c000015850000813d000001c002100039000000400020043f000001a00210003900000000000204350000018002100039000000000002043500000160021000390000000000020435000001400210003900000000000204350000012002100039000000000002043500000100021000390000000000020435000000e0021000390000000000020435000000c0021000390000000000020435000000a0021000390000000000020435000000800210003900000000000204350000006002100039000000000002043500000040021000390000000000020435000000200210003900000000000204350000000000010435000000000001042d000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d38000104300009000000000002000600000002001d000900000001001d0000000021010434000800000002001d000000000010043f0000076a01000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000017480000613d000000000101043b000000000101041a000000ff00100190000017570000c13d00000009010000290000000001010433000000000010043f0000076a01000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000017480000613d000000000101043b000000000201041a000007df0220019700000001022001bf000000000021041b0000077501000041000000000010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000776011001c70000800b020000391d361d310000040f0000000100200190000017500000613d000000000101043b000007720110019700000009020000290000010003200039000500000003001d00000000001304350000000001020433000000000010043f0000077301000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000017480000613d000000000101043b00000006050000290000000032050434000000000021041b000700000003001d000000000203043300000752022001970000000103100039000000000403041a000007b704400197000000000224019f000000000023041b000000020110003900000040025000390000000002020433000000000021041b00000009010000290000000001010433000000000010043f0000077001000041000000200010043f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f0000000100200190000017480000613d000000000101043b00000009070000290000000005070433000000000051041b000000010210003900000008030000290000000009030433000000000092041b0000004002700039000000000a02043300000002021000390000000000a2041b000000600270003900000000020204330000000303100039000000000023041b000000800270003900000000020204330000000403100039000000000023041b000000a00270003900000000020204330000077202200197000000c00370003900000000030304330000004003300210000007b503300197000000000223019f000000e00370003900000000030304330000008003300210000007b603300197000000000232019f00000005030000290000000003030433000000c003300210000000000232019f0000000503100039000000000023041b0000012002700039000500000002001d000000000202043300000752022001970000000603100039000000000403041a000007b704400197000000000224019f000000000023041b0000014008700039000000000208043300000752062001970000000702100039000000000302041a000007b703300197000000000363019f000000000032041b00000180027000390000000002020433000000020020008c0000174a0000813d000000a003200210000007b8033001970000000801100039000000000401041a000007b904400197000000000334019f000001600470003900000000040404330000075204400197000000000343019f000000000031041b000001a0047000390000000004040433000000030040008c0000174a0000213d0000079f03300197000000a804400210000007ba04400197000000000343019f000000000031041b0000000004000410000000070100002900000000010104330000075201100197000000000002004b0000168a0000613d000000010020008c000016cf0000c13d000300000001001d00010000000a001d000400000009001d000200000008001d00000782010000410000000000100443000600000006001d000000040060044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000017500000613d000000000101043b000000000001004b00000006020000290000000004000410000017480000613d000000400b00043d0000008401b00039000000a00300003900000000003104350000006401b00039000000010300002900000000003104350000004401b00039000000040300002900000000003104350000002401b0003900000003030000290000000000310435000007dd0100004100000000001b043500000752014001970000000403b000390000000000130435000000a401b0003900000000000104350000000001000414000000040020008c000016870000613d0000074f00b0009c0000074f0300004100000000030b401900000040033002100000074f0010009c0000074f01008041000000c001100210000000000131019f000007de011001c700040000000b001d1d361d2c0000040f0000000004000410000000040b000029000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000017770000613d0000077200b0009c000016c80000a13d000017510000013d000300000001001d000400000009001d000200000008001d00000782010000410000000000100443000600000006001d000000040060044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000017500000613d000000000101043b000000000001004b00000006020000290000000004000410000017480000613d000000400b00043d0000006401b00039000000800300003900000000003104350000004401b00039000000040300002900000000003104350000002401b0003900000003030000290000000000310435000007da0100004100000000001b043500000752014001970000000403b0003900000000001304350000008401b0003900000000000104350000000001000414000000040020008c000016c60000613d0000074f00b0009c0000074f0300004100000000030b401900000040033002100000074f0010009c0000074f01008041000000c001100210000000000131019f000007db011001c700040000000b001d1d361d2c0000040f0000000004000410000000040b000029000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000017840000613d000007dc00b0009c000017510000813d0000004000b0043f00000009010000290000000005010433000000020100002900000000010104330000075206100197000016d00000013d000000400b00043d000007960100004100000000001b04350000000401b00039000000000800041100000000008104350000000001000414000000040040008c000016dd0000c13d0000000103000031000000200030008c00000020040000390000000004034019000017100000013d000900000005001d000600000006001d0000074f00b0009c0000074f0200004100000000020b401900000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078d011001c7000000000204001900040000000b001d1d361d310000040f000000040b000029000000000301001900000060033002700000074f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000016fc0000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000016f80000c13d000000000006004b000017090000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f000300000001035500000001002001900000176b0000613d0000000606000029000000090500002900000000080004110000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000007720010009c000017510000213d0000000100200190000017510000c13d000000400010043f000000200030008c000017480000413d00000000020b0433000000000002004b0000000003000039000000010300c039000000000032004b000017480000c13d000000000002004b0000172a0000613d000000140200008a00000000022000310000000202200367000000000202043b000000600820027000000008020000290000000002020433000000050300002900000000030304330000000704000029000000000404043300000752044001970000004007100039000000000047043500000752033001970000002004100039000000000034043500000000002104350000074f0010009c0000074f01008041000000400110021000000000020004140000074f0020009c0000074f02008041000000c002200210000000000112019f000007520780019700000797011001c70000800d02000039000000040300003900000798040000411d361d2c0000040f0000000100200190000017480000613d000000000001042d000000000100001900001d3800010430000007a401000041000000000010043f0000002101000039000000040010043f0000078d0100004100001d3800010430000000000001042f000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d3800010430000000400100043d00000064021000390000076c03000041000000000032043500000044021000390000076d0300004100000000003204350000002402100039000000260300003900000000003204350000076e0200004100000000002104350000000402100039000000200300003900000000003204350000074f0010009c0000074f0100804100000040011002100000076f011001c700001d38000104300000001f0530018f0000075106300198000000400200043d0000000004620019000017900000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000017720000c13d000017900000013d0000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000017900000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000177f0000c13d000017900000013d0000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000017900000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000178c0000c13d000000000005004b0000179d0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000074f0020009c0000074f020080410000004002200210000000000112019f00001d3800010430000500000000000200000180043000390000000004040433000000020040008c000018400000813d000000000004004b000017f70000613d000000010040008c000017f60000c13d000400000002001d000500000001001d00000040013000390000000001010433000100000001001d00000020013000390000000001010433000200000001001d00000140013000390000000001010433000007820200004100000000002004430000075201100197000300000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000018460000613d000000000101043b000000000001004b000018470000613d000000400400043d0000008401400039000000a00200003900000000002104350000006401400039000000010200002900000000002104350000004401400039000000020200002900000000002104350000000401000029000007520110019700000024024000390000000000120435000007dd0100004100000000001404350000000501000029000007520110019700000004024000390000000000120435000000a401400039000000000001043500000000010004140000000302000029000000040020008c000017f30000613d0000074f0040009c0000074f03000041000000000304401900000040033002100000074f0010009c0000074f01008041000000c001100210000000000131019f000007de011001c7000500000004001d1d361d2c0000040f0000000504000029000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000018490000613d000007720040009c0000183a0000213d000000400040043f000000000001042d000400000002001d000500000001001d00000020013000390000000001010433000200000001001d00000140013000390000000001010433000007820200004100000000002004430000075201100197000300000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f0000000100200190000018460000613d000000000101043b000000000001004b000018470000613d000000400400043d0000006401400039000000800200003900000000002104350000004401400039000000020200002900000000002104350000000401000029000007520110019700000024024000390000000000120435000007da01000041000000000014043500000005010000290000075201100197000000040240003900000000001204350000008401400039000000000001043500000000010004140000000302000029000000040020008c000018380000613d0000074f0040009c0000074f03000041000000000304401900000040033002100000074f0010009c0000074f01008041000000c001100210000000000131019f000007db011001c7000500000004001d1d361d2c0000040f0000000504000029000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000018560000613d000007dc0040009c000017f50000413d000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d3800010430000007a401000041000000000010043f0000002101000039000000040010043f0000078d0100004100001d3800010430000000000001042f000000000100001900001d38000104300000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000018620000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000018510000c13d000018620000013d0000074f033001970000001f0530018f0000075106300198000000400200043d0000000004620019000018620000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000185e0000c13d000000000005004b0000186f0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000074f0020009c0000074f020080410000004002200210000000000112019f00001d3800010430000000000002004b000018810000613d000000000323004b0000000001000019000018840000a13d00002710013000c900000000033100d9000027100030008c000018860000c13d00000000012100d9000000000041004b000018820000013d000000000013004b00000000010000390000000101008039000000010110018f000000000001042d000007a401000041000000000010043f0000001101000039000000040010043f0000078d0100004100001d380001043000050000000000020000000006030019000000000004004b00001c0a0000613d000007520320019700000752091001970000077b0090009c000018eb0000c13d0000000001000410000000000013004b000500000004001d000019390000c13d000300000006001d000007820100004100000000001004430000075201500197000400000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f000000010020019000001c130000613d000000000101043b000000000001004b000000050300002900001c110000613d000000400500043d0000078c0100004100000000071504360000000401500039000000000031043500000000010004140000000402000029000000040020008c000018c90000613d0000074f0050009c0000074f03000041000000000305401900000040033002100000074f0010009c0000074f01008041000000c001100210000000000131019f0000078d011001c7000200000007001d000100000005001d1d361d2c0000040f000000010500002900000002070000290000000503000029000000000401001900000060044002700001074f0040019d0003000000010355000000010020019000001c390000613d000007720050009c00001c0b0000213d000000400050043f00000000010004140000000304000029000000040040008c000019e20000c13d000000010100003200001c0a0000613d0000001f03100039000007d7033001970000003f03300039000007d7043001970000000003540019000000000043004b00000000040000390000000104004039000007720030009c00001c0b0000213d000000010040019000001c0b0000c13d000000400030043f0000000000150435000007d7021001980000001f0310018f00000000012700190000000304000367000019d40000613d000000000504034f000000005605043c0000000007670436000000000017004b000018e60000c13d000019d40000013d0000075208600197000000000083004b00001c0a0000613d000000400200043d0000004405200039000000240620003900000020012000390000000007000410000000000073004b000019700000c13d000007850300004100000000003104350000000000860435000000000045043500000044030000390000000000320435000007860020009c00001c0b0000213d000000800a2000390000004000a0043f000007870020009c00001c0b0000213d000000c003200039000000400030043f000000200300003900000000003a0435000000a0042000390000078103000041000000000034043500000000030204330000000002000414000000040090008c000400000004001d00001af50000c13d00000001020000390000000101000031000000000001004b00001b0d0000613d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400c00043d00000000044c00190000000000c4004b00000000050000390000000105004039000007720040009c00001c0b0000213d000000010050019000001c0b0000c13d000000400040043f000000000b1c0436000007d7031001980000001f0410018f00000000013b001900000003050003670000192b0000613d000000000605034f00000000070b0019000000006806043c0000000007870436000000000017004b000019270000c13d000000000004004b00001b0f0000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f000000000031043500001b0f0000013d0000075202600197000000000012004b000019b60000c13d0000000001000416000000000041004b00001c460000c13d000007820100004100000000001004430000075201500197000400000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f000000010020019000001c130000613d000000000101043b000000000001004b000000050300002900001c110000613d000000400200043d0000078a01000041000000000012043500000000010004140000000404000029000000040040008c0000196c0000613d0000074f0020009c000300000002001d0000074f02000041000000030200402900000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078b011001c7000080090200003900000000050000191d361d2c0000040f000000000301001900000060033002700001074f0030019d00030000000103550000000100200190000000030200002900001c830000613d000007720020009c00001c0b0000213d000000400020043f000000000001042d0000077e070000410000000000710435000000000036043500000000008504350000006403200039000000000043043500000064030000390000000000320435000007e00020009c00001c0b0000813d000000a00a2000390000004000a0043f000007e100a0009c00001c0b0000213d000000e003200039000000400030043f000000200300003900000000003a0435000000c0042000390000078103000041000000000034043500000000030204330000000002000414000000040090008c000400000004001d00001b1b0000c13d00000001020000390000000101000031000000000001004b00001b330000613d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400c00043d00000000044c00190000000000c4004b00000000050000390000000105004039000007720040009c00001c0b0000213d000000010050019000001c0b0000c13d000000400040043f000000000b1c0436000007d7031001980000001f0410018f00000000013b00190000000305000367000019a80000613d000000000605034f00000000070b0019000000006806043c0000000007870436000000000017004b000019a40000c13d000000000004004b00001b350000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f000000000031043500001b350000013d0000000001000414000000040060008c00001a690000c13d000000010100003200001c0a0000613d0000001f03100039000007d7033001970000003f03300039000007d704300197000000400300043d0000000004430019000000000034004b00000000050000390000000105004039000007720040009c00001c0b0000213d000000010050019000001c0b0000c13d000000400040043f0000000005130436000007d7021001980000001f0310018f00000000012500190000000304000367000019d40000613d000000000604034f000000006706043c0000000005750436000000000015004b000019d00000c13d000000000003004b00001c0a0000613d000000000224034f0000000303300210000000000401043300000000043401cf000000000434022f000000000202043b0000010003300089000000000232022f00000000023201cf000000000242019f0000000000210435000000000001042d0000074f0010009c0000074f01008041000000c00110021000000788011001c7000080090200003900000000050000191d361d2c0000040f00000004090000290003000000010355000000000301001900000060033002700001074f0030019d0000074f0330019800001a150000613d0000001f0430003900000750044001970000003f044000390000078904400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000007720040009c00001c0b0000213d000000010060019000001c0b0000c13d000000400040043f0000001f0430018f00000000063504360000075105300198000000000356001900001a080000613d000000000701034f000000007807043c0000000006860436000000000036004b00001a040000c13d000000000004004b00001a150000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000000010020019000001c0a0000c13d00000782010000410000000000100443000000040090044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f000000010020019000001c130000613d000000000101043b000000000001004b000000050300002900001c110000613d000000400600043d0000078a01000041000000000516043600000000010004140000000409000029000000040090008c00001a470000613d0000074f0060009c0000074f02000041000000000206401900000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078b011001c700008009020000390000000004090019000200000005001d0000000005000019000100000006001d1d361d2c0000040f0000000106000029000000020500002900000004090000290000000503000029000000000401001900000060044002700001074f0040019d0003000000010355000000010020019000001ca80000613d000007720060009c00001c0b0000213d000000400060043f0000004401600039000000000031043500000785010000410000000000150435000000030100002900000752011001970000002402600039000000000012043500000044010000390000000000160435000007860060009c00001c0b0000213d000000800a6000390000004000a0043f000007870060009c00001c0b0000213d000000c001600039000000400010043f000000200100003900000000001a0435000000a0036000390000078101000041000000000013043500000000020604330000000001000414000000040090008c000500000003001d00001b550000c13d0000000102000039000000010100003100001b6a0000013d000400000005001d000300000002001d0000074f0010009c0000074f01008041000000c00110021000000788011001c700008009020000390000000003040019000000000406001900000000050000191d361d2c0000040f0003000000010355000000000301001900000060033002700001074f0030019d0000074f0330019800001a9f0000613d0000001f0430003900000750044001970000003f044000390000078904400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000007720040009c00001c0b0000213d000000010060019000001c0b0000c13d000000400040043f0000001f0430018f00000000063504360000075105300198000000000356001900001a920000613d000000000701034f000000007807043c0000000006860436000000000036004b00001a8e0000c13d000000000004004b00001a9f0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000100200190000000040200002900001c0a0000c13d000007820100004100000000001004430000075201200197000400000001001d000000040010044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f000000010020019000001c130000613d000000000101043b000000000001004b000000050300002900001c110000613d000000400600043d0000078a01000041000000000516043600000000010004140000000409000029000000040090008c00001ad40000613d0000074f0060009c0000074f02000041000000000206401900000040022002100000074f0010009c0000074f01008041000000c001100210000000000121019f0000078b011001c700008009020000390000000004090019000200000005001d0000000005000019000100000006001d1d361d2c0000040f0000000106000029000000020500002900000004090000290000000503000029000000000401001900000060044002700001074f0040019d0003000000010355000000010020019000001ce10000613d000007720060009c00001c0b0000213d000000400060043f000000440160003900000000003104350000078501000041000000000015043500000024016000390000000302000029000000000021043500000044010000390000000000160435000007860060009c00001c0b0000213d000000800a6000390000004000a0043f000007870060009c00001c0b0000213d000000c001600039000000400010043f000000200100003900000000001a0435000000a0036000390000078101000041000000000013043500000000020604330000000001000414000000040090008c000500000003001d00001ba20000c13d0000000102000039000000010100003100001bb70000013d0000074f0010009c0000074f0100804100000040011002100000074f0030009c0000074f030080410000006003300210000000000113019f0000074f0020009c0000074f02008041000000c002200210000000000121019f0000000002090019000500000009001d00030000000a001d1d361d2c0000040f000000030a0000290000000509000029000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b000019110000c13d000000600c000039000000800b00003900000000010c0433000000000002004b00001c530000613d000000000001004b00001bfe0000c13d00050000000c001d00040000000b001d000007820100004100000000001004430000000400900443000000000100041400001bee0000013d0000074f0010009c0000074f0100804100000040011002100000074f0030009c0000074f030080410000006003300210000000000113019f0000074f0020009c0000074f02008041000000c002200210000000000121019f0000000002090019000500000009001d00030000000a001d1d361d2c0000040f000000030a0000290000000509000029000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b0000198e0000c13d000000600c000039000000800b00003900000000010c0433000000000002004b00001c6b0000613d000000000001004b00001b500000c13d00050000000c001d00040000000b001d00000782010000410000000000100443000000040090044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f000000010020019000001c130000613d000000000101043b000000000001004b000000050100002900001c280000613d0000000001010433000000000001004b000000040b00002900001c0a0000613d000007840010009c00001c110000213d0000001f0010008c00001c020000213d00001c110000013d0000074f0050009c0000074f0500804100000040035002100000074f0020009c0000074f020080410000006002200210000000000232019f0000074f0010009c0000074f01008041000000c001100210000000000112019f000000000209001900030000000a001d1d361d2c0000040f000000030a0000290000000409000029000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b00001b940000613d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400c00043d00000000044c00190000000000c4004b00000000050000390000000105004039000007720040009c00001c0b0000213d000000010050019000001c0b0000c13d000000400040043f000000000b1c0436000007d7031001980000001f0410018f00000000013b0019000000030500036700001b860000613d000000000605034f00000000070b0019000000006806043c0000000007870436000000000017004b00001b820000c13d000000000004004b00001b960000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f000000000031043500001b960000013d000000600c000039000000800b00003900000000010c0433000000000002004b00001c900000613d000000000001004b00001bfe0000c13d00050000000c001d00040000000b001d000007820100004100000000001004430000000400900443000000000100041400001bee0000013d0000074f0050009c0000074f0500804100000040035002100000074f0020009c0000074f020080410000006002200210000000000232019f0000074f0010009c0000074f01008041000000c001100210000000000112019f000000000209001900030000000a001d1d361d2c0000040f000000030a0000290000000409000029000000010220018f000300000001035500000060011002700001074f0010019d0000074f01100197000000000001004b00001be10000613d0000001f04100039000007d7044001970000003f04400039000007d704400197000000400c00043d00000000044c00190000000000c4004b00000000050000390000000105004039000007720040009c00001c0b0000213d000000010050019000001c0b0000c13d000000400040043f000000000b1c0436000007d7031001980000001f0410018f00000000013b0019000000030500036700001bd30000613d000000000605034f00000000070b0019000000006806043c0000000007870436000000000017004b00001bcf0000c13d000000000004004b00001be30000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f000000000031043500001be30000013d000000600c000039000000800b00003900000000010c0433000000000002004b00001cb50000613d000000000001004b00001bfe0000c13d00050000000c001d00040000000b001d00000782010000410000000000100443000000040090044300000000010004140000074f0010009c0000074f01008041000000c00110021000000783011001c700008002020000391d361d310000040f000000010020019000001c130000613d000000000101043b000000000001004b000000050100002900001c280000613d0000000001010433000000000001004b000000040b00002900001c0a0000613d000007840010009c00001c110000213d000000200010008c00001c110000413d00000000010b0433000000000001004b0000000002000039000000010200c039000000000021004b00001c110000c13d000000000001004b00001c140000613d000000000001042d000007a401000041000000000010043f0000004101000039000000040010043f0000078d0100004100001d3800010430000000000100001900001d3800010430000000000001042f000000400100043d00000064021000390000078e03000041000000000032043500000044021000390000078f03000041000000000032043500000024021000390000002a0300003900000000003204350000076e0200004100000000002104350000000402100039000000200300003900000000003204350000074f0010009c0000074f0100804100000040011002100000076f011001c700001d3800010430000000400100043d00000044021000390000079003000041000000000032043500000024021000390000001d0300003900000000003204350000076e0200004100000000002104350000000402100039000000200300003900000000003204350000074f0010009c0000074f01008041000000400110021000000791011001c700001d38000104300000074f034001970000001f0530018f0000075106300198000000400200043d000000000462001900001ced0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00001c410000c13d00001ced0000013d000000400200043d000000240320003900000005040000290000000000430435000007e2030000410000000000320435000000040320003900000000001304350000074f0020009c0000074f020080410000004001200210000007ac011001c700001d3800010430000000000001004b00001cd90000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000000020a0433000000240310003900000000002304350000004403100039000000000002004b000000040700002900001ccc0000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b00001c630000413d00001ccc0000013d000000000001004b00001cd90000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000000020a0433000000240310003900000000002304350000004403100039000000000002004b000000040700002900001ccc0000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b00001c7b0000413d00001ccc0000013d0000074f033001970000001f0530018f0000075106300198000000400200043d000000000462001900001ced0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00001c8b0000c13d00001ced0000013d000000000001004b00001cd90000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000000020a0433000000240310003900000000002304350000004403100039000000000002004b000000050700002900001ccc0000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b00001ca00000413d00001ccc0000013d0000074f034001970000001f0530018f0000075106300198000000400200043d000000000462001900001ced0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00001cb00000c13d00001ced0000013d000000000001004b00001cd90000c13d000000400100043d0000076e02000041000000000021043500000004021000390000002003000039000000000032043500000000020a0433000000240310003900000000002304350000004403100039000000000002004b000000050700002900001ccc0000613d000000000400001900000000053400190000000006740019000000000606043300000000006504350000002004400039000000000024004b00001cc50000413d0000001f04200039000007d7044001970000000002320019000000000002043500000044024000390000074f0020009c0000074f0200804100000060022002100000074f0010009c0000074f010080410000004001100210000000000112019f00001d38000104300000074f00b0009c0000074f0b0080410000004002b002100000074f0010009c0000074f010080410000006001100210000000000121019f00001d38000104300000074f034001970000001f0530018f0000075106300198000000400200043d000000000462001900001ced0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b00001ce90000c13d000000000005004b00001cfa0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000074f0020009c0000074f020080410000004002200210000000000112019f00001d3800010430000000000001042f00000000010004140000074f0010009c0000074f01008041000000c0011002100000076b011001c700008010020000391d361d310000040f000000010020019000001d0c0000613d000000000101043b000000000001042d000000000100001900001d380001043000000000050100190000000000200443000000050030008c00001d1c0000413d000000040100003900000000020000190000000506200210000000000664001900000005066002700000000006060031000000000161043a0000000102200039000000000031004b00001d140000413d0000074f0030009c0000074f03008041000000600130021000000000020004140000074f0020009c0000074f02008041000000c002200210000000000112019f000007e3011001c700000000020500191d361d310000040f000000010020019000001d2b0000613d000000000101043b000000000001042d000000000001042f00001d2f002104210000000102000039000000000001042d0000000002000019000000000001042d00001d34002104230000000102000039000000000001042d0000000002000019000000000001042d00001d360000043200001d370001042e00001d380001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000ffffffffffffffffffffffffffffffffffffffff1d281c488dae143b6ea4122e80c65059929950b9c32f17fc57be22089d9c3b00000000020000000000000000000000000000008000000100000000000000000000000000000000000000000000000000000000000000000000000000637102de000000000000000000000000000000000000000000000000000000008b49d47d00000000000000000000000000000000000000000000000000000000c291537b00000000000000000000000000000000000000000000000000000000c291537c00000000000000000000000000000000000000000000000000000000ebf05a62000000000000000000000000000000000000000000000000000000008b49d47e0000000000000000000000000000000000000000000000000000000096b5a7550000000000000000000000000000000000000000000000000000000078bd79340000000000000000000000000000000000000000000000000000000078bd7935000000000000000000000000000000000000000000000000000000007b06380100000000000000000000000000000000000000000000000000000000637102df000000000000000000000000000000000000000000000000000000006891939d000000000000000000000000000000000000000000000000000000001389b1160000000000000000000000000000000000000000000000000000000016654d3f0000000000000000000000000000000000000000000000000000000016654d40000000000000000000000000000000000000000000000000000000002eb566bd000000000000000000000000000000000000000000000000000000001389b1170000000000000000000000000000000000000000000000000000000016002f4a0000000000000000000000000000000000000000000000000000000003a54fe0000000000000000000000000000000000000000000000000000000000858e5ad00000000000000000000000000000000000000000000000000000000119df25f89032daddd224983b4d69fda31dc440901185d9636f6e798dbe1e433d9d34c0302000000000000000000000000000000000000400000000000000000000000006c657465642e00000000000000000000000000000000000000000000000000004d61726b6574706c6163653a207061796f757420616c726561647920636f6d7008c379a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008400000000000000000000000089032daddd224983b4d69fda31dc440901185d9636f6e798dbe1e433d9d34c01000000000000000000000000000000000000000000000000fffffffffffffe3f000000000000000000000000000000000000000000000000ffffffffffffffff89032daddd224983b4d69fda31dc440901185d9636f6e798dbe1e433d9d34c02000000000000000000000000000000000000000000000000ffffffffffffff9f796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d955391320200000200000000000000000000000000000004000000000000000000000000d45573f6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000310ab089e4439a4c15d089f94afb7896ff553aecb10793d0ab882de59d99a32e0200000200000000000000000000000000000044000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001af20c6b23373350ad464700b5965ce4b0d2ad94000000000000000000000001000000000000000000000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff5f000000000000000000000000000000000000000000000000ffffffffffffff1f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65641806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b8302000002000000000000000000000000000000240000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9059cbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f000000000000000000000000000000000000000000000000ffffffffffffff3f020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffe0d0e30db00000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000040000000000000000000000002e1a7d4d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000006f742073756363656564000000000000000000000000000000000000000000005361666545524332303a204552433230206f7065726174696f6e20646964206e416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000000000000000000000000000000000000000000064000000000000000000000000f533b8020000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06665657320657863656564207468652070726963650000000000000000000000572b6c050000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000600000000000000000000000007003143824ad94e684efcfd33e097dd7cd0e67243daf20f345f5186a9a7ba00a89032daddd224983b4d69fda31dc440901185d9636f6e798dbe1e433d9d34c00000000000000000000000000000000000000000000000000fffffffffffffffe000000000000000000000000000000000000000000000000fffffffffffffdbf2e000000000000000000000000000000000000000000000000000000000000004d61726b6574706c6163653a206e6f742061756374696f6e2063726561746f724d61726b6574706c6163653a206269647320616c7265616479206d6164652e00ffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff0000000000000000000003000000000000000000000000000000000000000000d68d26ab7202e0ff43e7ee058c16686e737f214c5832bfc1dd2fbb0518f60d8e5265656e7472616e637947756172643a207265656e7472616e742063616c6c0000000000000000000000000000000000000000240000008000000000000000004e487b7100000000000000000000000000000000000000000000000000000000696e76616c69642072616e676500000000000000000000000000000000000000000000000000000000000000000000000000006400000080000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000200000008000000000000000000000000000000000000000000000000000000020000000000000000000000000a32fa5b300000000000000000000000000000000000000000000000000000000f94103142c1baabe9ac2b5d1487bf783de9e69cfeea9a72f5c9c94afd7877b8c000000000000000000000000000000000000004400000000000000000000000086d5cf0a6bdc8d859ba3bdc97043337c82a0e609035f378e419298b6a3e00ae601ffc9a700000000000000000000000000000000000000000000000000000000d9b67a260000000000000000000000000000000000000000000000000000000080ac58cd000000000000000000000000000000000000000000000000000000006e746974792e00000000000000000000000000000000000000000000000000004d61726b6574706c6163653a2061756374696f6e696e67207a65726f20717561000000000000000000000000000000000000000000000000fffffffffffff1ef4d61726b6574706c6163653a20696e76616c69642062696420616d6f756e747300000000000000000000000000000000ffffffffffffffff00000000000000000000000000000000ffffffffffffffff00000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000ffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000002000000000000000000000000000000000001c00000000000000000000000005afd538bb1e7fc354db91c5dc4876ea2321a22fb8fbb69c84bda1f84ce1f45df4d61726b6574706c6163653a20696e76616c69642074696d657374616d70732e4d61726b6574706c6163653a206e6f206269642d6275666665722e00000000004d61726b6574706c6163653a206e6f2074696d652d6275666665722e000000007175616e746974792e00000000000000000000000000000000000000000000004d61726b6574706c6163653a2061756374696f6e696e6720696e76616c696420742062652045524331313535206f72204552433732312e0000000000000000004d61726b6574706c6163653a2061756374696f6e656420746f6b656e206d75732141535345545f524f4c45000000000000000000000000000000000000000000214c49535445525f524f4c4500000000000000000000000000000000000000006e732073656e742e0000000000000000000000000000000000000000000000004d61726b6574706c6163653a20696e76616c6964206e617469766520746f6b65742070726963652e0000000000000000000000000000000000000000000000004d61726b6574706c6163653a2042696464696e672061626f7665206275796f754d61726b6574706c6163653a206e6f742077696e6e696e67206269642e00000002000000000000000000000000000000000001e0000000000000000000000000433a278e1c55403e97ab8ffef6ce9fddd5d1fb2695745bbc3affbe0b8106ec6b6d6f756e742e00000000000000000000000000000000000000000000000000004d61726b6574706c6163653a2042696464696e672077697468207a65726f20614d61726b6574706c6163653a20696e6163746976652061756374696f6e2e0000000000000000000000000000000000000000000000000000fffffffffffffe4000000000000000000000020000000000000000000000000000000000000000004d61726b6574706c6163653a206e6f20626964732077657265206d6164652e00652e0000000000000000000000000000000000000000000000000000000000004d61726b6574706c6163653a2061756374696f6e207374696c6c2061637469764d61726b6574706c6163653a20696e76616c69642061756374696f6e2e000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffffa0b88d4fde0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a40000000000000000000000000000000000000000000000000000000000000000000000010000000000000000f242432a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000ffffffffffffff60000000000000000000000000000000000000000000000000ffffffffffffffbf03e085f900000000000000000000000000000000000000000000000000000000020000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a1646970667358221220e002981df323bbcb49a5ee8f4f6bfab65250dade72223a5fdb7e83cb88c10054002a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003439153EB7AF838Ad19d56E1571FBD09333C2809
-----Decoded View---------------
Arg [0] : _nativeTokenWrapper (address): 0x3439153EB7AF838Ad19d56E1571FBD09333C2809
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003439153EB7AF838Ad19d56E1571FBD09333C2809
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.