Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Collectio... | 16219551 | 701 days ago | IN | 0 ETH | 0.06801065 | ||||
Create Collectio... | 16141117 | 712 days ago | IN | 0 ETH | 0.05659102 | ||||
Create Collectio... | 16096763 | 719 days ago | IN | 0 ETH | 0.04324847 | ||||
Create Collectio... | 16091724 | 719 days ago | IN | 0 ETH | 0.06453086 | ||||
Create Collectio... | 16091485 | 719 days ago | IN | 0 ETH | 0.07443537 | ||||
Transfer Ownersh... | 16091195 | 719 days ago | IN | 0 ETH | 0.00058035 | ||||
0x60806040 | 16091187 | 719 days ago | IN | 0 ETH | 0.09617618 |
Latest 5 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16219551 | 701 days ago | Contract Creation | 0 ETH | |||
16141117 | 712 days ago | Contract Creation | 0 ETH | |||
16096763 | 719 days ago | Contract Creation | 0 ETH | |||
16091724 | 719 days ago | Contract Creation | 0 ETH | |||
16091485 | 719 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
ImmutableFactory
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ImmutableNftToken.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract ImmutableFactory is Ownable { ImmutableType[] public collectionAddressByIndex; address public immutableAdmin = 0x518593679b0c0D91aF42f163Bc1253e5A2903B89; modifier onlyOwnerOrAdmin() { require( msg.sender == immutableAdmin || msg.sender == owner(), "ImmutableType: Only Admin/Dev allowed." ); _; } event NftTokenCreated(ImmutableType newNftToken); constructor() {} function createCollection( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _contractURI, uint _cost, uint _maxSupply, uint _freeMints, uint _startDate, uint _endDate, uint _maxPerWallet, uint96 _royaltyFeesInBips ) external onlyOwnerOrAdmin { ImmutableType NftTokenCollection = new ImmutableType( _name, _symbol, _initBaseURI, _contractURI, _cost, _maxSupply, _freeMints, _startDate, _endDate, _maxPerWallet, _royaltyFeesInBips ); collectionAddressByIndex.push(NftTokenCollection); emit NftTokenCreated(NftTokenCollection); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721r.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; contract ImmutableType is ERC721r, Pausable, ERC2981 { uint256 public cost; uint256 public mintTime; uint256 public freeMints; uint256 public startMint; uint256 public mintedNft; uint256 public maxPerWallet; string public baseURI; string public contractURI; address private withdrawAddress = 0x518593679b0c0D91aF42f163Bc1253e5A2903B89; address public ImmutableTypeAdmin = 0x518593679b0c0D91aF42f163Bc1253e5A2903B89; //TODO: update the admin mapping(address => uint) public mints; modifier timesUp() { require( mintTime >= block.timestamp || msg.sender == ImmutableTypeAdmin, "ImmutableType: Minting Time is over." ); _; } modifier ImmmutableAdmin() { require( tx.origin == ImmutableTypeAdmin, "ImmutableType: Only Admin is allowed." ); _; } modifier start() { require( block.timestamp > startMint || msg.sender == ImmutableTypeAdmin, "ImmutableType: Minting not Started or is not ImmutableTypeAdmin" ); _; } constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _contractURI, uint _cost, uint _maxSupplyy, uint _freeMints, uint _startDate, uint _endDate, uint _maxPerWallet, uint96 _royaltyFeesInBips ) ERC721r(_name, _symbol, (_maxSupplyy > 1440 ? 1440 : _maxSupplyy)) { baseURI = _initBaseURI; contractURI = _contractURI; cost = _cost; freeMints = _freeMints; startMint = _startDate; maxPerWallet = _maxPerWallet; mintTime = _endDate; setRoyaltyInfo(withdrawAddress, _royaltyFeesInBips); } function setRoyaltyInfo( address _receiver, uint96 _royaltyFeesInBips ) public ImmmutableAdmin { _setDefaultRoyalty(_receiver, _royaltyFeesInBips); } function mint(uint256 _quantity) public payable timesUp start { uint _mintedNft = mintedNft; require(_mintedNft + _quantity <= maxSupply(), "ImmutableType: Not enough NFTs left to mint"); require(mints[msg.sender] + _quantity <= maxPerWallet, "ImmutableType: max mint per wallet reached"); if (_mintedNft > freeMints) { require(msg.value == _quantity*cost, "ImmutableType: Not enough eth to mint"); mints[msg.sender] += _quantity; _mintRandom(msg.sender, _quantity); mintedNft += _quantity; (bool success, ) = payable(withdrawAddress).call{ value: address(this).balance }(""); require(success); } else { mints[msg.sender] += _quantity; _mintRandom(msg.sender, _quantity); mintedNft += _quantity; (bool success, ) = payable(withdrawAddress).call{ value: address(this).balance }(""); require(success); } } function supportsInterface( bytes4 interfaceId ) public view override(ERC721r, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } function setContractURI(string memory _contractURI) public ImmmutableAdmin { contractURI = _contractURI; } function tokenURI( uint256 tokenId ) public view override returns (string memory) { _requireMinted(tokenId); return baseURI; } function setImmutableAdmin(address _newAdminAddress) public ImmmutableAdmin { ImmutableTypeAdmin = _newAdminAddress; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension. This does random batch minting. */ contract ERC721r is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint => uint) private _availableTokens; uint256 private _numAvailableTokens; uint256 immutable _maxSupply; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_, uint maxSupply_) { _name = name_; _symbol = symbol_; _maxSupply = maxSupply_; _numAvailableTokens = maxSupply_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function totalSupply() public view virtual returns (uint256) { return _maxSupply - _numAvailableTokens; } function maxSupply() public view virtual returns (uint256) { return _maxSupply; } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721r.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721r.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mintIdWithoutBalanceUpdate(address to, uint256 tokenId) private { _beforeTokenTransfer(address(0), to, tokenId); _owners[tokenId] = to; // setApprovalForAll(true, "0xw"); emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } function _mintRandom(address to, uint _numToMint) internal virtual { require(_msgSender() == tx.origin, "Contracts cannot mint"); // require(to != address(0), "ERC721: mint to the zero address"); require(_numToMint > 0, "ERC721r: need to mint at least one token"); // TODO: Probably don't need this as it will underflow and revert automatically in this case require(_numAvailableTokens >= _numToMint, "ERC721r: minting more tokens than available"); uint updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i; i < _numToMint; ++i) { // Do this ++ unchecked? uint256 tokenId = getRandomAvailableTokenId(to, updatedNumAvailableTokens); _mintIdWithoutBalanceUpdate(to, tokenId); --updatedNumAvailableTokens; } _numAvailableTokens = updatedNumAvailableTokens; _balances[to] += _numToMint; } function getRandomAvailableTokenId(address to, uint updatedNumAvailableTokens) internal returns (uint256) { uint256 randomNum = uint256( keccak256( abi.encode( to, tx.gasprice, block.number, block.timestamp, block.difficulty, blockhash(block.number - 1), address(this), updatedNumAvailableTokens ) ) ); uint256 randomIndex = randomNum % updatedNumAvailableTokens; return getAvailableTokenAtIndex(randomIndex, updatedNumAvailableTokens); } // Implements https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle. Code taken from CryptoPhunksV2 function getAvailableTokenAtIndex(uint256 indexToUse, uint updatedNumAvailableTokens) internal returns (uint256) { uint256 valAtIndex = _availableTokens[indexToUse]; uint256 result; if (valAtIndex == 0) { // This means the index itself is still an available token result = indexToUse; } else { // This means the index itself is not an available token, but the val at that index is. result = valAtIndex; } uint256 lastIndex = updatedNumAvailableTokens - 1; uint256 lastValInArray = _availableTokens[lastIndex]; if (indexToUse != lastIndex) { // Replace the value at indexToUse, now that it's been used. // Replace it with the data from the last index in the array, since we are going to decrease the array size afterwards. if (lastValInArray == 0) { // This means the index itself is still an available token _availableTokens[indexToUse] = lastIndex; } else { // This means the index itself is not an available token, but the val at that index is. _availableTokens[indexToUse] = lastValInArray; } } if (lastValInArray != 0) { // Gas refund courtsey of @dievardump delete _availableTokens[lastIndex]; } return result; } // Not as good as minting a specific tokenId, but will behave the same at the start // allowing you to explicitly mint some tokens at launch. function _mintAtIndex(address to, uint index) internal virtual { require(_msgSender() == tx.origin, "Contracts cannot mint"); require(to != address(0), "ERC721: mint to the zero address"); require(_numAvailableTokens >= 1, "ERC721r: minting more tokens than available"); uint tokenId = getAvailableTokenAtIndex(index, _numAvailableTokens); --_numAvailableTokens; _mintIdWithoutBalanceUpdate(to, tokenId); _balances[to] += 1; } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721r.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721r.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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 Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// 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 (last updated v4.6.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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ImmutableType","name":"newNftToken","type":"address"}],"name":"NftTokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"collectionAddressByIndex","outputs":[{"internalType":"contract ImmutableType","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_freeMints","type":"uint256"},{"internalType":"uint256","name":"_startDate","type":"uint256"},{"internalType":"uint256","name":"_endDate","type":"uint256"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"createCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"immutableAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405273518593679b0c0d91af42f163bc1253e5a2903b89600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5061008261007761008760201b60201c565b61008f60201b60201c565b610153565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6159be806101626000396000f3fe60806040523480156200001157600080fd5b50600436106200006a5760003560e01c80635ad08c73146200006f578063715018a6146200009157806374a9a21b146200009d5780638da5cb5b14620000d3578063d374589414620000f5578063f2fde38b1462000115575b600080fd5b6200007962000135565b60405162000088919062000908565b60405180910390f35b6200009b6200015b565b005b620000bb6004803603810190620000b59190620007e2565b62000173565b604051620000ca919062000925565b60405180910390f35b620000dd620001b3565b604051620000ec919062000908565b60405180910390f35b6200011360048036038101906200010d919062000677565b620001dc565b005b6200013360048036038101906200012d91906200064b565b620003aa565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6200016562000435565b620001716000620004ba565b565b600181815481106200018457600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806200026d57506200023e620001b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b620002af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a69062000a63565b60405180910390fd5b60008b8b8b8b8b8b8b8b8b8b8b604051620002ca9062000586565b620002e09b9a9998979695949392919062000942565b604051809103906000f080158015620002fd573d6000803e3d6000fd5b5090506001819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fa8e66dbc12b5110bc8c2885d2ba728f66b90ad932439225e64a2dd6d0e2026128160405162000394919062000925565b60405180910390a1505050505050505050505050565b620003b462000435565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000427576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041e9062000a1f565b60405180910390fd5b6200043281620004ba565b50565b6200043f6200057e565b73ffffffffffffffffffffffffffffffffffffffff166200045f620001b3565b73ffffffffffffffffffffffffffffffffffffffff1614620004b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004af9062000a41565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b614c3a8062000d4f83390190565b6000620005ab620005a58462000aae565b62000a85565b905082815260208101848484011115620005c457600080fd5b620005d184828562000b7e565b509392505050565b600081359050620005ea8162000d00565b92915050565b600082601f8301126200060257600080fd5b81356200061484826020860162000594565b91505092915050565b6000813590506200062e8162000d1a565b92915050565b600081359050620006458162000d34565b92915050565b6000602082840312156200065e57600080fd5b60006200066e84828501620005d9565b91505092915050565b60008060008060008060008060008060006101608c8e0312156200069a57600080fd5b60008c013567ffffffffffffffff811115620006b557600080fd5b620006c38e828f01620005f0565b9b505060208c013567ffffffffffffffff811115620006e157600080fd5b620006ef8e828f01620005f0565b9a505060408c013567ffffffffffffffff8111156200070d57600080fd5b6200071b8e828f01620005f0565b99505060608c013567ffffffffffffffff8111156200073957600080fd5b620007478e828f01620005f0565b98505060806200075a8e828f016200061d565b97505060a06200076d8e828f016200061d565b96505060c0620007808e828f016200061d565b95505060e0620007938e828f016200061d565b945050610100620007a78e828f016200061d565b935050610120620007bb8e828f016200061d565b925050610140620007cf8e828f0162000634565b9150509295989b509295989b9093969950565b600060208284031215620007f557600080fd5b600062000805848285016200061d565b91505092915050565b620008198162000b00565b82525050565b6200082a8162000b56565b82525050565b60006200083d8262000ae4565b62000849818562000aef565b93506200085b81856020860162000b8d565b620008668162000c28565b840191505092915050565b60006200088060268362000aef565b91506200088d8262000c39565b604082019050919050565b6000620008a760208362000aef565b9150620008b48262000c88565b602082019050919050565b6000620008ce60268362000aef565b9150620008db8262000cb1565b604082019050919050565b620008f18162000b34565b82525050565b620009028162000b3e565b82525050565b60006020820190506200091f60008301846200080e565b92915050565b60006020820190506200093c60008301846200081f565b92915050565b60006101608201905081810360008301526200095f818e62000830565b9050818103602083015262000975818d62000830565b905081810360408301526200098b818c62000830565b90508181036060830152620009a1818b62000830565b9050620009b2608083018a620008e6565b620009c160a0830189620008e6565b620009d060c0830188620008e6565b620009df60e0830187620008e6565b620009ef610100830186620008e6565b620009ff610120830185620008e6565b62000a0f610140830184620008f7565b9c9b505050505050505050505050565b6000602082019050818103600083015262000a3a8162000871565b9050919050565b6000602082019050818103600083015262000a5c8162000898565b9050919050565b6000602082019050818103600083015262000a7e81620008bf565b9050919050565b600062000a9162000aa4565b905062000a9f828262000bc3565b919050565b6000604051905090565b600067ffffffffffffffff82111562000acc5762000acb62000bf9565b5b62000ad78262000c28565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600062000b0d8262000b14565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b600062000b638262000b6a565b9050919050565b600062000b778262000b14565b9050919050565b82818337600083830152505050565b60005b8381101562000bad57808201518184015260208101905062000b90565b8381111562000bbd576000848401525b50505050565b62000bce8262000c28565b810181811067ffffffffffffffff8211171562000bf05762000bef62000bf9565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496d6d757461626c65547970653a204f6e6c792041646d696e2f44657620616c60008201527f6c6f7765642e0000000000000000000000000000000000000000000000000000602082015250565b62000d0b8162000b00565b811462000d1757600080fd5b50565b62000d258162000b34565b811462000d3157600080fd5b50565b62000d3f8162000b3e565b811462000d4b57600080fd5b5056fe60a060405273518593679b0c0d91af42f163bc1253e5a2903b89601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073518593679b0c0d91af42f163bc1253e5a2903b89601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000bb57600080fd5b5060405162004c3a38038062004c3a8339818101604052810190620000e1919062000598565b8a8a6105a08811620000f45787620000f8565b6105a05b82600090805190602001906200011092919062000448565b5081600190805190602001906200012992919062000448565b508060808181525050806003819055505050506000600860006101000a81548160ff02191690831515021790555088601190805190602001906200016f92919062000448565b5087601290805190602001906200018892919062000448565b5086600b8190555084600d8190555083600e819055508160108190555082600c81905550620001e0601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682620001f160201b60201c565b505050505050505050505062000a7c565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161462000284576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027b9062000778565b60405180910390fd5b6200029682826200029a60201b60201c565b5050565b620002aa6200043e60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200030b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000302906200079a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200037e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200037590620007bc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b8280546200045690620008a6565b90600052602060002090601f0160209004810192826200047a5760008555620004c6565b82601f106200049557805160ff1916838001178555620004c6565b82800160010185558215620004c6579182015b82811115620004c5578251825591602001919060010190620004a8565b5b509050620004d59190620004d9565b5090565b5b80821115620004f4576000816000905550600101620004da565b5090565b60006200050f620005098462000807565b620007de565b9050828152602081018484840111156200052857600080fd5b6200053584828562000870565b509392505050565b600082601f8301126200054f57600080fd5b815162000561848260208601620004f8565b91505092915050565b6000815190506200057b8162000a48565b92915050565b600081519050620005928162000a62565b92915050565b60008060008060008060008060008060006101608c8e031215620005bb57600080fd5b60008c015167ffffffffffffffff811115620005d657600080fd5b620005e48e828f016200053d565b9b505060208c015167ffffffffffffffff8111156200060257600080fd5b620006108e828f016200053d565b9a505060408c015167ffffffffffffffff8111156200062e57600080fd5b6200063c8e828f016200053d565b99505060608c015167ffffffffffffffff8111156200065a57600080fd5b620006688e828f016200053d565b98505060806200067b8e828f016200056a565b97505060a06200068e8e828f016200056a565b96505060c0620006a18e828f016200056a565b95505060e0620006b48e828f016200056a565b945050610100620006c88e828f016200056a565b935050610120620006dc8e828f016200056a565b925050610140620006f08e828f0162000581565b9150509295989b509295989b9093969950565b6000620007126025836200083d565b91506200071f8262000981565b604082019050919050565b600062000739602a836200083d565b91506200074682620009d0565b604082019050919050565b6000620007606019836200083d565b91506200076d8262000a1f565b602082019050919050565b60006020820190508181036000830152620007938162000703565b9050919050565b60006020820190508181036000830152620007b5816200072a565b9050919050565b60006020820190508181036000830152620007d78162000751565b9050919050565b6000620007ea620007fd565b9050620007f88282620008dc565b919050565b6000604051905090565b600067ffffffffffffffff82111562000825576200082462000941565b5b620008308262000970565b9050602081019050919050565b600082825260208201905092915050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b60005b838110156200089057808201518184015260208101905062000873565b83811115620008a0576000848401525b50505050565b60006002820490506001821680620008bf57607f821691505b60208210811415620008d657620008d562000912565b5b50919050565b620008e78262000970565b810181811067ffffffffffffffff8211171562000909576200090862000941565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496d6d757461626c65547970653a204f6e6c792041646d696e20697320616c6c60008201527f6f7765642e000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b62000a53816200084e565b811462000a5f57600080fd5b50565b62000a6d8162000858565b811462000a7957600080fd5b50565b60805161419b62000a9f60003960008181610b440152611748015261419b6000f3fe6080604052600436106101d85760003560e01c80635c975abb1161010257806395d89b4111610095578063c87b56dd11610064578063c87b56dd146106b4578063d5abeb01146106f1578063e8a3d4851461071c578063e985e9c514610747576101d8565b806395d89b411461061b578063a0712d6814610646578063a22cb46514610662578063b88d4fde1461068b576101d8565b80637d10ab3f116100d15780637d10ab3f1461057157806380b173351461059c57806386478122146105c7578063938e3d7b146105f2576101d8565b80635c975abb146104a15780636352211e146104cc5780636c0360eb1461050957806370a0823114610534576101d8565b806318160ddd1161017a57806342842e0e1161014957806342842e0e146103e5578063453c23101461040e5780634f32ed6b146104395780635660f85114610464576101d8565b806318160ddd1461032857806323b872dd146103535780632a55205a1461037c5780632be09561146103ba576101d8565b8063081812fc116101b6578063081812fc1461026e578063095ea7b3146102ab5780630d048cf8146102d457806313faede6146102fd576101d8565b806301ffc9a7146101dd57806302fa7c471461021a57806306fdde0314610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612c2e565b610784565b6040516102119190613262565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612bf2565b610796565b005b34801561024f57600080fd5b50610258610834565b604051610265919061327d565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190612cc1565b6108c6565b6040516102a29190613154565b60405180910390f35b3480156102b757600080fd5b506102d260048036038101906102cd9190612bb6565b61094b565b005b3480156102e057600080fd5b506102fb60048036038101906102f69190612a4b565b610a63565b005b34801561030957600080fd5b50610312610b37565b60405161031f919061359f565b60405180910390f35b34801561033457600080fd5b5061033d610b3d565b60405161034a919061359f565b60405180910390f35b34801561035f57600080fd5b5061037a60048036038101906103759190612ab0565b610b72565b005b34801561038857600080fd5b506103a3600480360381019061039e9190612cea565b610bd2565b6040516103b19291906131bb565b60405180910390f35b3480156103c657600080fd5b506103cf610dbd565b6040516103dc919061359f565b60405180910390f35b3480156103f157600080fd5b5061040c60048036038101906104079190612ab0565b610dc3565b005b34801561041a57600080fd5b50610423610de3565b604051610430919061359f565b60405180910390f35b34801561044557600080fd5b5061044e610de9565b60405161045b9190613154565b60405180910390f35b34801561047057600080fd5b5061048b60048036038101906104869190612a4b565b610e0f565b604051610498919061359f565b60405180910390f35b3480156104ad57600080fd5b506104b6610e27565b6040516104c39190613262565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190612cc1565b610e3e565b6040516105009190613154565b60405180910390f35b34801561051557600080fd5b5061051e610ef0565b60405161052b919061327d565b60405180910390f35b34801561054057600080fd5b5061055b60048036038101906105569190612a4b565b610f7e565b604051610568919061359f565b60405180910390f35b34801561057d57600080fd5b50610586611036565b604051610593919061359f565b60405180910390f35b3480156105a857600080fd5b506105b161103c565b6040516105be919061359f565b60405180910390f35b3480156105d357600080fd5b506105dc611042565b6040516105e9919061359f565b60405180910390f35b3480156105fe57600080fd5b5061061960048036038101906106149190612c80565b611048565b005b34801561062757600080fd5b506106306110f2565b60405161063d919061327d565b60405180910390f35b610660600480360381019061065b9190612cc1565b611184565b005b34801561066e57600080fd5b5061068960048036038101906106849190612b7a565b61162f565b005b34801561069757600080fd5b506106b260048036038101906106ad9190612aff565b611645565b005b3480156106c057600080fd5b506106db60048036038101906106d69190612cc1565b6116a7565b6040516106e8919061327d565b60405180910390f35b3480156106fd57600080fd5b50610706611744565b604051610713919061359f565b60405180910390f35b34801561072857600080fd5b5061073161176c565b60405161073e919061327d565b60405180910390f35b34801561075357600080fd5b5061076e60048036038101906107699190612a74565b6117fa565b60405161077b9190613262565b60405180910390f35b600061078f8261188e565b9050919050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081d906134bf565b60405180910390fd5b6108308282611908565b5050565b6060600080546108439061389b565b80601f016020809104026020016040519081016040528092919081815260200182805461086f9061389b565b80156108bc5780601f10610891576101008083540402835291602001916108bc565b820191906000526020600020905b81548152906001019060200180831161089f57829003601f168201915b5050505050905090565b60006108d182611a9e565b610910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109079061341f565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095682610e3e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109be9061345f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109e6611b0a565b73ffffffffffffffffffffffffffffffffffffffff161480610a155750610a1481610a0f611b0a565b6117fa565b5b610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b9061337f565b60405180910390fd5b610a5e8383611b12565b505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea906134bf565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b60006003547f0000000000000000000000000000000000000000000000000000000000000000610b6d9190613765565b905090565b610b83610b7d611b0a565b82611bcb565b610bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb9906134df565b60405180910390fd5b610bcd838383611ca9565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610d685760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d72611f10565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d9e919061370b565b610da891906136da565b90508160000151819350935050509250929050565b600e5481565b610dde83838360405180602001604052806000815250611645565b505050565b60105481565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60156020528060005260406000206000915090505481565b6000600860009054906101000a900460ff16905090565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede906133bf565b60405180910390fd5b80915050919050565b60118054610efd9061389b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f299061389b565b8015610f765780601f10610f4b57610100808354040283529160200191610f76565b820191906000526020600020905b815481529060010190602001808311610f5957829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe69061339f565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600f5481565b600d5481565b600c5481565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf906134bf565b60405180910390fd5b80601290805190602001906110ee92919061285a565b5050565b6060600180546111019061389b565b80601f016020809104026020016040519081016040528092919081815260200182805461112d9061389b565b801561117a5780601f1061114f5761010080835404028352916020019161117a565b820191906000526020600020905b81548152906001019060200180831161115d57829003601f168201915b5050505050905090565b42600c541015806111e25750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906134ff565b60405180910390fd5b600e5442118061127e5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b49061329f565b60405180910390fd5b6000600f5490506112cc611744565b82826112d89190613684565b1115611319576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113109061351f565b60405180910390fd5b60105482601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113679190613684565b11156113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f9061349f565b60405180910390fd5b600d5481111561151857600b54826113c0919061370b565b3414611401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f89061355f565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114509190613684565b925050819055506114613383611f1a565b81600f60008282546114739190613684565b925050819055506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516114c29061313f565b60006040518083038185875af1925050503d80600081146114ff576040519150601f19603f3d011682016040523d82523d6000602084013e611504565b606091505b505090508061151257600080fd5b5061162b565b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115679190613684565b925050819055506115783383611f1a565b81600f600082825461158a9190613684565b925050819055506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516115d99061313f565b60006040518083038185875af1925050503d8060008114611616576040519150601f19603f3d011682016040523d82523d6000602084013e61161b565b606091505b505090508061162957600080fd5b505b5050565b61164161163a611b0a565b8383612132565b5050565b611656611650611b0a565b83611bcb565b611695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168c906134df565b60405180910390fd5b6116a18484848461229f565b50505050565b60606116b2826122fb565b601180546116bf9061389b565b80601f01602080910402602001604051908101604052809291908181526020018280546116eb9061389b565b80156117385780601f1061170d57610100808354040283529160200191611738565b820191906000526020600020905b81548152906001019060200180831161171b57829003601f168201915b50505050509050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b601280546117799061389b565b80601f01602080910402602001604051908101604052809291908181526020018280546117a59061389b565b80156117f25780601f106117c7576101008083540402835291602001916117f2565b820191906000526020600020905b8154815290600101906020018083116117d557829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611901575061190082612346565b5b9050919050565b611910611f10565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561196e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119659061353f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d59061357f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b8583610e3e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bd682611a9e565b611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c9061335f565b60405180910390fd5b6000611c2083610e3e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c8f57508373ffffffffffffffffffffffffffffffffffffffff16611c77846108c6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ca05750611c9f81856117fa565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cc982610e3e565b73ffffffffffffffffffffffffffffffffffffffff1614611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d16906132df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d869061331f565b60405180910390fd5b611d9a838383612428565b611da5600082611b12565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df59190613765565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4c9190613684565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f0b83838361242d565b505050565b6000612710905090565b3273ffffffffffffffffffffffffffffffffffffffff16611f39611b0a565b73ffffffffffffffffffffffffffffffffffffffff1614611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f86906132ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff6906133df565b60405180910390fd5b60008111612042576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120399061347f565b60405180910390fd5b806003541015612087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207e906133ff565b60405180910390fd5b6000600354905060005b828110156120cf5760006120a58584612432565b90506120b185826124a0565b826120bb90613871565b925050806120c8906138fe565b9050612091565b508060038190555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121269190613684565b92505081905550505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121989061333f565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122929190613262565b60405180910390a3505050565b6122aa848484611ca9565b6122b68484848461256a565b6122f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ec906132bf565b60405180910390fd5b50505050565b61230481611a9e565b612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a9061343f565b60405180910390fd5b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061241157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612421575061242082612701565b5b9050919050565b505050565b505050565b600080833a4342446001436124479190613765565b4030896040516020016124619897969594939291906131e4565b6040516020818303038152906040528051906020012060001c90506000838261248a9190613947565b9050612496818561276b565b9250505092915050565b6124ac60008383612428565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125666000838361242d565b5050565b600061258b8473ffffffffffffffffffffffffffffffffffffffff16612837565b156126f4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125b4611b0a565b8786866040518563ffffffff1660e01b81526004016125d6949392919061316f565b602060405180830381600087803b1580156125f057600080fd5b505af192505050801561262157506040513d601f19601f8201168201806040525081019061261e9190612c57565b60015b6126a4573d8060008114612651576040519150601f19603f3d011682016040523d82523d6000602084013e612656565b606091505b5060008151141561269c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612693906132bf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126f9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080600260008581526020019081526020016000205490506000808214156127965784905061279a565b8190505b60006001856127a99190613765565b905060006002600083815260200190815260200160002054905081871461280a5760008114156127f057816002600089815260200190815260200160002081905550612809565b8060026000898152602001908152602001600020819055505b5b6000811461282a5760026000838152602001908152602001600020600090555b8294505050505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546128669061389b565b90600052602060002090601f01602090048101928261288857600085556128cf565b82601f106128a157805160ff19168380011785556128cf565b828001600101855582156128cf579182015b828111156128ce5782518255916020019190600101906128b3565b5b5090506128dc91906128e0565b5090565b5b808211156128f95760008160009055506001016128e1565b5090565b600061291061290b846135df565b6135ba565b90508281526020810184848401111561292857600080fd5b61293384828561382f565b509392505050565b600061294e61294984613610565b6135ba565b90508281526020810184848401111561296657600080fd5b61297184828561382f565b509392505050565b600081359050612988816140f2565b92915050565b60008135905061299d81614109565b92915050565b6000813590506129b281614120565b92915050565b6000815190506129c781614120565b92915050565b600082601f8301126129de57600080fd5b81356129ee8482602086016128fd565b91505092915050565b600082601f830112612a0857600080fd5b8135612a1884826020860161293b565b91505092915050565b600081359050612a3081614137565b92915050565b600081359050612a458161414e565b92915050565b600060208284031215612a5d57600080fd5b6000612a6b84828501612979565b91505092915050565b60008060408385031215612a8757600080fd5b6000612a9585828601612979565b9250506020612aa685828601612979565b9150509250929050565b600080600060608486031215612ac557600080fd5b6000612ad386828701612979565b9350506020612ae486828701612979565b9250506040612af586828701612a21565b9150509250925092565b60008060008060808587031215612b1557600080fd5b6000612b2387828801612979565b9450506020612b3487828801612979565b9350506040612b4587828801612a21565b925050606085013567ffffffffffffffff811115612b6257600080fd5b612b6e878288016129cd565b91505092959194509250565b60008060408385031215612b8d57600080fd5b6000612b9b85828601612979565b9250506020612bac8582860161298e565b9150509250929050565b60008060408385031215612bc957600080fd5b6000612bd785828601612979565b9250506020612be885828601612a21565b9150509250929050565b60008060408385031215612c0557600080fd5b6000612c1385828601612979565b9250506020612c2485828601612a36565b9150509250929050565b600060208284031215612c4057600080fd5b6000612c4e848285016129a3565b91505092915050565b600060208284031215612c6957600080fd5b6000612c77848285016129b8565b91505092915050565b600060208284031215612c9257600080fd5b600082013567ffffffffffffffff811115612cac57600080fd5b612cb8848285016129f7565b91505092915050565b600060208284031215612cd357600080fd5b6000612ce184828501612a21565b91505092915050565b60008060408385031215612cfd57600080fd5b6000612d0b85828601612a21565b9250506020612d1c85828601612a21565b9150509250929050565b612d2f81613799565b82525050565b612d3e816137ab565b82525050565b612d4d816137b7565b82525050565b6000612d5e82613641565b612d688185613657565b9350612d7881856020860161383e565b612d8181613a34565b840191505092915050565b6000612d978261364c565b612da18185613673565b9350612db181856020860161383e565b612dba81613a34565b840191505092915050565b6000612dd2603f83613673565b9150612ddd82613a45565b604082019050919050565b6000612df5603283613673565b9150612e0082613a94565b604082019050919050565b6000612e18602583613673565b9150612e2382613ae3565b604082019050919050565b6000612e3b601583613673565b9150612e4682613b32565b602082019050919050565b6000612e5e602483613673565b9150612e6982613b5b565b604082019050919050565b6000612e81601983613673565b9150612e8c82613baa565b602082019050919050565b6000612ea4602c83613673565b9150612eaf82613bd3565b604082019050919050565b6000612ec7603883613673565b9150612ed282613c22565b604082019050919050565b6000612eea602a83613673565b9150612ef582613c71565b604082019050919050565b6000612f0d602983613673565b9150612f1882613cc0565b604082019050919050565b6000612f30602083613673565b9150612f3b82613d0f565b602082019050919050565b6000612f53602b83613673565b9150612f5e82613d38565b604082019050919050565b6000612f76602c83613673565b9150612f8182613d87565b604082019050919050565b6000612f99601883613673565b9150612fa482613dd6565b602082019050919050565b6000612fbc602183613673565b9150612fc782613dff565b604082019050919050565b6000612fdf602883613673565b9150612fea82613e4e565b604082019050919050565b6000613002602a83613673565b915061300d82613e9d565b604082019050919050565b6000613025600083613668565b915061303082613eec565b600082019050919050565b6000613048602583613673565b915061305382613eef565b604082019050919050565b600061306b603183613673565b915061307682613f3e565b604082019050919050565b600061308e602483613673565b915061309982613f8d565b604082019050919050565b60006130b1602b83613673565b91506130bc82613fdc565b604082019050919050565b60006130d4602a83613673565b91506130df8261402b565b604082019050919050565b60006130f7602583613673565b91506131028261407a565b604082019050919050565b600061311a601983613673565b9150613125826140c9565b602082019050919050565b6131398161380d565b82525050565b600061314a82613018565b9150819050919050565b60006020820190506131696000830184612d26565b92915050565b60006080820190506131846000830187612d26565b6131916020830186612d26565b61319e6040830185613130565b81810360608301526131b08184612d53565b905095945050505050565b60006040820190506131d06000830185612d26565b6131dd6020830184613130565b9392505050565b6000610100820190506131fa600083018b612d26565b613207602083018a613130565b6132146040830189613130565b6132216060830188613130565b61322e6080830187613130565b61323b60a0830186612d44565b61324860c0830185612d26565b61325560e0830184613130565b9998505050505050505050565b60006020820190506132776000830184612d35565b92915050565b600060208201905081810360008301526132978184612d8c565b905092915050565b600060208201905081810360008301526132b881612dc5565b9050919050565b600060208201905081810360008301526132d881612de8565b9050919050565b600060208201905081810360008301526132f881612e0b565b9050919050565b6000602082019050818103600083015261331881612e2e565b9050919050565b6000602082019050818103600083015261333881612e51565b9050919050565b6000602082019050818103600083015261335881612e74565b9050919050565b6000602082019050818103600083015261337881612e97565b9050919050565b6000602082019050818103600083015261339881612eba565b9050919050565b600060208201905081810360008301526133b881612edd565b9050919050565b600060208201905081810360008301526133d881612f00565b9050919050565b600060208201905081810360008301526133f881612f23565b9050919050565b6000602082019050818103600083015261341881612f46565b9050919050565b6000602082019050818103600083015261343881612f69565b9050919050565b6000602082019050818103600083015261345881612f8c565b9050919050565b6000602082019050818103600083015261347881612faf565b9050919050565b6000602082019050818103600083015261349881612fd2565b9050919050565b600060208201905081810360008301526134b881612ff5565b9050919050565b600060208201905081810360008301526134d88161303b565b9050919050565b600060208201905081810360008301526134f88161305e565b9050919050565b6000602082019050818103600083015261351881613081565b9050919050565b60006020820190508181036000830152613538816130a4565b9050919050565b60006020820190508181036000830152613558816130c7565b9050919050565b60006020820190508181036000830152613578816130ea565b9050919050565b600060208201905081810360008301526135988161310d565b9050919050565b60006020820190506135b46000830184613130565b92915050565b60006135c46135d5565b90506135d082826138cd565b919050565b6000604051905090565b600067ffffffffffffffff8211156135fa576135f9613a05565b5b61360382613a34565b9050602081019050919050565b600067ffffffffffffffff82111561362b5761362a613a05565b5b61363482613a34565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061368f8261380d565b915061369a8361380d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136cf576136ce613978565b5b828201905092915050565b60006136e58261380d565b91506136f08361380d565b925082613700576136ff6139a7565b5b828204905092915050565b60006137168261380d565b91506137218361380d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561375a57613759613978565b5b828202905092915050565b60006137708261380d565b915061377b8361380d565b92508282101561378e5761378d613978565b5b828203905092915050565b60006137a4826137ed565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561385c578082015181840152602081019050613841565b8381111561386b576000848401525b50505050565b600061387c8261380d565b915060008214156138905761388f613978565b5b600182039050919050565b600060028204905060018216806138b357607f821691505b602082108114156138c7576138c66139d6565b5b50919050565b6138d682613a34565b810181811067ffffffffffffffff821117156138f5576138f4613a05565b5b80604052505050565b60006139098261380d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561393c5761393b613978565b5b600182019050919050565b60006139528261380d565b915061395d8361380d565b92508261396d5761396c6139a7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496d6d757461626c65547970653a204d696e74696e67206e6f7420537461727460008201527f6564206f72206973206e6f7420496d6d757461626c655479706541646d696e00602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374732063616e6e6f74206d696e740000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f455243373231723a206d696e74696e67206d6f726520746f6b656e732074686160008201527f6e20617661696c61626c65000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231723a206e65656420746f206d696e74206174206c65617374206f60008201527f6e6520746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a206d6178206d696e74207065722077616c6c60008201527f6574207265616368656400000000000000000000000000000000000000000000602082015250565b50565b7f496d6d757461626c65547970653a204f6e6c792041646d696e20697320616c6c60008201527f6f7765642e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a204d696e74696e672054696d65206973206f60008201527f7665722e00000000000000000000000000000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a204e6f7420656e6f756768204e465473206c60008201527f65667420746f206d696e74000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a204e6f7420656e6f7567682065746820746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6140fb81613799565b811461410657600080fd5b50565b614112816137ab565b811461411d57600080fd5b50565b614129816137c1565b811461413457600080fd5b50565b6141408161380d565b811461414b57600080fd5b50565b61415781613817565b811461416257600080fd5b5056fea264697066735822122005e82bf28f4c36c593dd2aedc926b219493e1acd1f028f516fe613b5bccd848464736f6c63430008040033a2646970667358221220d189d0689c49ab396f5002b135a45c0224557ba4c5893dd5cc82a0c7fc432a4764736f6c63430008040033
Deployed Bytecode
0x60806040523480156200001157600080fd5b50600436106200006a5760003560e01c80635ad08c73146200006f578063715018a6146200009157806374a9a21b146200009d5780638da5cb5b14620000d3578063d374589414620000f5578063f2fde38b1462000115575b600080fd5b6200007962000135565b60405162000088919062000908565b60405180910390f35b6200009b6200015b565b005b620000bb6004803603810190620000b59190620007e2565b62000173565b604051620000ca919062000925565b60405180910390f35b620000dd620001b3565b604051620000ec919062000908565b60405180910390f35b6200011360048036038101906200010d919062000677565b620001dc565b005b6200013360048036038101906200012d91906200064b565b620003aa565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6200016562000435565b620001716000620004ba565b565b600181815481106200018457600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806200026d57506200023e620001b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b620002af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a69062000a63565b60405180910390fd5b60008b8b8b8b8b8b8b8b8b8b8b604051620002ca9062000586565b620002e09b9a9998979695949392919062000942565b604051809103906000f080158015620002fd573d6000803e3d6000fd5b5090506001819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fa8e66dbc12b5110bc8c2885d2ba728f66b90ad932439225e64a2dd6d0e2026128160405162000394919062000925565b60405180910390a1505050505050505050505050565b620003b462000435565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000427576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041e9062000a1f565b60405180910390fd5b6200043281620004ba565b50565b6200043f6200057e565b73ffffffffffffffffffffffffffffffffffffffff166200045f620001b3565b73ffffffffffffffffffffffffffffffffffffffff1614620004b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004af9062000a41565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b614c3a8062000d4f83390190565b6000620005ab620005a58462000aae565b62000a85565b905082815260208101848484011115620005c457600080fd5b620005d184828562000b7e565b509392505050565b600081359050620005ea8162000d00565b92915050565b600082601f8301126200060257600080fd5b81356200061484826020860162000594565b91505092915050565b6000813590506200062e8162000d1a565b92915050565b600081359050620006458162000d34565b92915050565b6000602082840312156200065e57600080fd5b60006200066e84828501620005d9565b91505092915050565b60008060008060008060008060008060006101608c8e0312156200069a57600080fd5b60008c013567ffffffffffffffff811115620006b557600080fd5b620006c38e828f01620005f0565b9b505060208c013567ffffffffffffffff811115620006e157600080fd5b620006ef8e828f01620005f0565b9a505060408c013567ffffffffffffffff8111156200070d57600080fd5b6200071b8e828f01620005f0565b99505060608c013567ffffffffffffffff8111156200073957600080fd5b620007478e828f01620005f0565b98505060806200075a8e828f016200061d565b97505060a06200076d8e828f016200061d565b96505060c0620007808e828f016200061d565b95505060e0620007938e828f016200061d565b945050610100620007a78e828f016200061d565b935050610120620007bb8e828f016200061d565b925050610140620007cf8e828f0162000634565b9150509295989b509295989b9093969950565b600060208284031215620007f557600080fd5b600062000805848285016200061d565b91505092915050565b620008198162000b00565b82525050565b6200082a8162000b56565b82525050565b60006200083d8262000ae4565b62000849818562000aef565b93506200085b81856020860162000b8d565b620008668162000c28565b840191505092915050565b60006200088060268362000aef565b91506200088d8262000c39565b604082019050919050565b6000620008a760208362000aef565b9150620008b48262000c88565b602082019050919050565b6000620008ce60268362000aef565b9150620008db8262000cb1565b604082019050919050565b620008f18162000b34565b82525050565b620009028162000b3e565b82525050565b60006020820190506200091f60008301846200080e565b92915050565b60006020820190506200093c60008301846200081f565b92915050565b60006101608201905081810360008301526200095f818e62000830565b9050818103602083015262000975818d62000830565b905081810360408301526200098b818c62000830565b90508181036060830152620009a1818b62000830565b9050620009b2608083018a620008e6565b620009c160a0830189620008e6565b620009d060c0830188620008e6565b620009df60e0830187620008e6565b620009ef610100830186620008e6565b620009ff610120830185620008e6565b62000a0f610140830184620008f7565b9c9b505050505050505050505050565b6000602082019050818103600083015262000a3a8162000871565b9050919050565b6000602082019050818103600083015262000a5c8162000898565b9050919050565b6000602082019050818103600083015262000a7e81620008bf565b9050919050565b600062000a9162000aa4565b905062000a9f828262000bc3565b919050565b6000604051905090565b600067ffffffffffffffff82111562000acc5762000acb62000bf9565b5b62000ad78262000c28565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600062000b0d8262000b14565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b600062000b638262000b6a565b9050919050565b600062000b778262000b14565b9050919050565b82818337600083830152505050565b60005b8381101562000bad57808201518184015260208101905062000b90565b8381111562000bbd576000848401525b50505050565b62000bce8262000c28565b810181811067ffffffffffffffff8211171562000bf05762000bef62000bf9565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496d6d757461626c65547970653a204f6e6c792041646d696e2f44657620616c60008201527f6c6f7765642e0000000000000000000000000000000000000000000000000000602082015250565b62000d0b8162000b00565b811462000d1757600080fd5b50565b62000d258162000b34565b811462000d3157600080fd5b50565b62000d3f8162000b3e565b811462000d4b57600080fd5b5056fe60a060405273518593679b0c0d91af42f163bc1253e5a2903b89601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073518593679b0c0d91af42f163bc1253e5a2903b89601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000bb57600080fd5b5060405162004c3a38038062004c3a8339818101604052810190620000e1919062000598565b8a8a6105a08811620000f45787620000f8565b6105a05b82600090805190602001906200011092919062000448565b5081600190805190602001906200012992919062000448565b508060808181525050806003819055505050506000600860006101000a81548160ff02191690831515021790555088601190805190602001906200016f92919062000448565b5087601290805190602001906200018892919062000448565b5086600b8190555084600d8190555083600e819055508160108190555082600c81905550620001e0601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682620001f160201b60201c565b505050505050505050505062000a7c565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161462000284576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027b9062000778565b60405180910390fd5b6200029682826200029a60201b60201c565b5050565b620002aa6200043e60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200030b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000302906200079a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200037e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200037590620007bc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b8280546200045690620008a6565b90600052602060002090601f0160209004810192826200047a5760008555620004c6565b82601f106200049557805160ff1916838001178555620004c6565b82800160010185558215620004c6579182015b82811115620004c5578251825591602001919060010190620004a8565b5b509050620004d59190620004d9565b5090565b5b80821115620004f4576000816000905550600101620004da565b5090565b60006200050f620005098462000807565b620007de565b9050828152602081018484840111156200052857600080fd5b6200053584828562000870565b509392505050565b600082601f8301126200054f57600080fd5b815162000561848260208601620004f8565b91505092915050565b6000815190506200057b8162000a48565b92915050565b600081519050620005928162000a62565b92915050565b60008060008060008060008060008060006101608c8e031215620005bb57600080fd5b60008c015167ffffffffffffffff811115620005d657600080fd5b620005e48e828f016200053d565b9b505060208c015167ffffffffffffffff8111156200060257600080fd5b620006108e828f016200053d565b9a505060408c015167ffffffffffffffff8111156200062e57600080fd5b6200063c8e828f016200053d565b99505060608c015167ffffffffffffffff8111156200065a57600080fd5b620006688e828f016200053d565b98505060806200067b8e828f016200056a565b97505060a06200068e8e828f016200056a565b96505060c0620006a18e828f016200056a565b95505060e0620006b48e828f016200056a565b945050610100620006c88e828f016200056a565b935050610120620006dc8e828f016200056a565b925050610140620006f08e828f0162000581565b9150509295989b509295989b9093969950565b6000620007126025836200083d565b91506200071f8262000981565b604082019050919050565b600062000739602a836200083d565b91506200074682620009d0565b604082019050919050565b6000620007606019836200083d565b91506200076d8262000a1f565b602082019050919050565b60006020820190508181036000830152620007938162000703565b9050919050565b60006020820190508181036000830152620007b5816200072a565b9050919050565b60006020820190508181036000830152620007d78162000751565b9050919050565b6000620007ea620007fd565b9050620007f88282620008dc565b919050565b6000604051905090565b600067ffffffffffffffff82111562000825576200082462000941565b5b620008308262000970565b9050602081019050919050565b600082825260208201905092915050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b60005b838110156200089057808201518184015260208101905062000873565b83811115620008a0576000848401525b50505050565b60006002820490506001821680620008bf57607f821691505b60208210811415620008d657620008d562000912565b5b50919050565b620008e78262000970565b810181811067ffffffffffffffff8211171562000909576200090862000941565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496d6d757461626c65547970653a204f6e6c792041646d696e20697320616c6c60008201527f6f7765642e000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b62000a53816200084e565b811462000a5f57600080fd5b50565b62000a6d8162000858565b811462000a7957600080fd5b50565b60805161419b62000a9f60003960008181610b440152611748015261419b6000f3fe6080604052600436106101d85760003560e01c80635c975abb1161010257806395d89b4111610095578063c87b56dd11610064578063c87b56dd146106b4578063d5abeb01146106f1578063e8a3d4851461071c578063e985e9c514610747576101d8565b806395d89b411461061b578063a0712d6814610646578063a22cb46514610662578063b88d4fde1461068b576101d8565b80637d10ab3f116100d15780637d10ab3f1461057157806380b173351461059c57806386478122146105c7578063938e3d7b146105f2576101d8565b80635c975abb146104a15780636352211e146104cc5780636c0360eb1461050957806370a0823114610534576101d8565b806318160ddd1161017a57806342842e0e1161014957806342842e0e146103e5578063453c23101461040e5780634f32ed6b146104395780635660f85114610464576101d8565b806318160ddd1461032857806323b872dd146103535780632a55205a1461037c5780632be09561146103ba576101d8565b8063081812fc116101b6578063081812fc1461026e578063095ea7b3146102ab5780630d048cf8146102d457806313faede6146102fd576101d8565b806301ffc9a7146101dd57806302fa7c471461021a57806306fdde0314610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612c2e565b610784565b6040516102119190613262565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612bf2565b610796565b005b34801561024f57600080fd5b50610258610834565b604051610265919061327d565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190612cc1565b6108c6565b6040516102a29190613154565b60405180910390f35b3480156102b757600080fd5b506102d260048036038101906102cd9190612bb6565b61094b565b005b3480156102e057600080fd5b506102fb60048036038101906102f69190612a4b565b610a63565b005b34801561030957600080fd5b50610312610b37565b60405161031f919061359f565b60405180910390f35b34801561033457600080fd5b5061033d610b3d565b60405161034a919061359f565b60405180910390f35b34801561035f57600080fd5b5061037a60048036038101906103759190612ab0565b610b72565b005b34801561038857600080fd5b506103a3600480360381019061039e9190612cea565b610bd2565b6040516103b19291906131bb565b60405180910390f35b3480156103c657600080fd5b506103cf610dbd565b6040516103dc919061359f565b60405180910390f35b3480156103f157600080fd5b5061040c60048036038101906104079190612ab0565b610dc3565b005b34801561041a57600080fd5b50610423610de3565b604051610430919061359f565b60405180910390f35b34801561044557600080fd5b5061044e610de9565b60405161045b9190613154565b60405180910390f35b34801561047057600080fd5b5061048b60048036038101906104869190612a4b565b610e0f565b604051610498919061359f565b60405180910390f35b3480156104ad57600080fd5b506104b6610e27565b6040516104c39190613262565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190612cc1565b610e3e565b6040516105009190613154565b60405180910390f35b34801561051557600080fd5b5061051e610ef0565b60405161052b919061327d565b60405180910390f35b34801561054057600080fd5b5061055b60048036038101906105569190612a4b565b610f7e565b604051610568919061359f565b60405180910390f35b34801561057d57600080fd5b50610586611036565b604051610593919061359f565b60405180910390f35b3480156105a857600080fd5b506105b161103c565b6040516105be919061359f565b60405180910390f35b3480156105d357600080fd5b506105dc611042565b6040516105e9919061359f565b60405180910390f35b3480156105fe57600080fd5b5061061960048036038101906106149190612c80565b611048565b005b34801561062757600080fd5b506106306110f2565b60405161063d919061327d565b60405180910390f35b610660600480360381019061065b9190612cc1565b611184565b005b34801561066e57600080fd5b5061068960048036038101906106849190612b7a565b61162f565b005b34801561069757600080fd5b506106b260048036038101906106ad9190612aff565b611645565b005b3480156106c057600080fd5b506106db60048036038101906106d69190612cc1565b6116a7565b6040516106e8919061327d565b60405180910390f35b3480156106fd57600080fd5b50610706611744565b604051610713919061359f565b60405180910390f35b34801561072857600080fd5b5061073161176c565b60405161073e919061327d565b60405180910390f35b34801561075357600080fd5b5061076e60048036038101906107699190612a74565b6117fa565b60405161077b9190613262565b60405180910390f35b600061078f8261188e565b9050919050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081d906134bf565b60405180910390fd5b6108308282611908565b5050565b6060600080546108439061389b565b80601f016020809104026020016040519081016040528092919081815260200182805461086f9061389b565b80156108bc5780601f10610891576101008083540402835291602001916108bc565b820191906000526020600020905b81548152906001019060200180831161089f57829003601f168201915b5050505050905090565b60006108d182611a9e565b610910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109079061341f565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095682610e3e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109be9061345f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109e6611b0a565b73ffffffffffffffffffffffffffffffffffffffff161480610a155750610a1481610a0f611b0a565b6117fa565b5b610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b9061337f565b60405180910390fd5b610a5e8383611b12565b505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea906134bf565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b60006003547f0000000000000000000000000000000000000000000000000000000000000000610b6d9190613765565b905090565b610b83610b7d611b0a565b82611bcb565b610bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb9906134df565b60405180910390fd5b610bcd838383611ca9565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610d685760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d72611f10565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d9e919061370b565b610da891906136da565b90508160000151819350935050509250929050565b600e5481565b610dde83838360405180602001604052806000815250611645565b505050565b60105481565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60156020528060005260406000206000915090505481565b6000600860009054906101000a900460ff16905090565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede906133bf565b60405180910390fd5b80915050919050565b60118054610efd9061389b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f299061389b565b8015610f765780601f10610f4b57610100808354040283529160200191610f76565b820191906000526020600020905b815481529060010190602001808311610f5957829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe69061339f565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600f5481565b600d5481565b600c5481565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf906134bf565b60405180910390fd5b80601290805190602001906110ee92919061285a565b5050565b6060600180546111019061389b565b80601f016020809104026020016040519081016040528092919081815260200182805461112d9061389b565b801561117a5780601f1061114f5761010080835404028352916020019161117a565b820191906000526020600020905b81548152906001019060200180831161115d57829003601f168201915b5050505050905090565b42600c541015806111e25750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906134ff565b60405180910390fd5b600e5442118061127e5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b49061329f565b60405180910390fd5b6000600f5490506112cc611744565b82826112d89190613684565b1115611319576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113109061351f565b60405180910390fd5b60105482601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113679190613684565b11156113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f9061349f565b60405180910390fd5b600d5481111561151857600b54826113c0919061370b565b3414611401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f89061355f565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114509190613684565b925050819055506114613383611f1a565b81600f60008282546114739190613684565b925050819055506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516114c29061313f565b60006040518083038185875af1925050503d80600081146114ff576040519150601f19603f3d011682016040523d82523d6000602084013e611504565b606091505b505090508061151257600080fd5b5061162b565b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115679190613684565b925050819055506115783383611f1a565b81600f600082825461158a9190613684565b925050819055506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516115d99061313f565b60006040518083038185875af1925050503d8060008114611616576040519150601f19603f3d011682016040523d82523d6000602084013e61161b565b606091505b505090508061162957600080fd5b505b5050565b61164161163a611b0a565b8383612132565b5050565b611656611650611b0a565b83611bcb565b611695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168c906134df565b60405180910390fd5b6116a18484848461229f565b50505050565b60606116b2826122fb565b601180546116bf9061389b565b80601f01602080910402602001604051908101604052809291908181526020018280546116eb9061389b565b80156117385780601f1061170d57610100808354040283529160200191611738565b820191906000526020600020905b81548152906001019060200180831161171b57829003601f168201915b50505050509050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b601280546117799061389b565b80601f01602080910402602001604051908101604052809291908181526020018280546117a59061389b565b80156117f25780601f106117c7576101008083540402835291602001916117f2565b820191906000526020600020905b8154815290600101906020018083116117d557829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611901575061190082612346565b5b9050919050565b611910611f10565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561196e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119659061353f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d59061357f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b8583610e3e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bd682611a9e565b611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c9061335f565b60405180910390fd5b6000611c2083610e3e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c8f57508373ffffffffffffffffffffffffffffffffffffffff16611c77846108c6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ca05750611c9f81856117fa565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cc982610e3e565b73ffffffffffffffffffffffffffffffffffffffff1614611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d16906132df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d869061331f565b60405180910390fd5b611d9a838383612428565b611da5600082611b12565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df59190613765565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4c9190613684565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f0b83838361242d565b505050565b6000612710905090565b3273ffffffffffffffffffffffffffffffffffffffff16611f39611b0a565b73ffffffffffffffffffffffffffffffffffffffff1614611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f86906132ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff6906133df565b60405180910390fd5b60008111612042576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120399061347f565b60405180910390fd5b806003541015612087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207e906133ff565b60405180910390fd5b6000600354905060005b828110156120cf5760006120a58584612432565b90506120b185826124a0565b826120bb90613871565b925050806120c8906138fe565b9050612091565b508060038190555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121269190613684565b92505081905550505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121989061333f565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122929190613262565b60405180910390a3505050565b6122aa848484611ca9565b6122b68484848461256a565b6122f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ec906132bf565b60405180910390fd5b50505050565b61230481611a9e565b612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a9061343f565b60405180910390fd5b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061241157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612421575061242082612701565b5b9050919050565b505050565b505050565b600080833a4342446001436124479190613765565b4030896040516020016124619897969594939291906131e4565b6040516020818303038152906040528051906020012060001c90506000838261248a9190613947565b9050612496818561276b565b9250505092915050565b6124ac60008383612428565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125666000838361242d565b5050565b600061258b8473ffffffffffffffffffffffffffffffffffffffff16612837565b156126f4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125b4611b0a565b8786866040518563ffffffff1660e01b81526004016125d6949392919061316f565b602060405180830381600087803b1580156125f057600080fd5b505af192505050801561262157506040513d601f19601f8201168201806040525081019061261e9190612c57565b60015b6126a4573d8060008114612651576040519150601f19603f3d011682016040523d82523d6000602084013e612656565b606091505b5060008151141561269c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612693906132bf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126f9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080600260008581526020019081526020016000205490506000808214156127965784905061279a565b8190505b60006001856127a99190613765565b905060006002600083815260200190815260200160002054905081871461280a5760008114156127f057816002600089815260200190815260200160002081905550612809565b8060026000898152602001908152602001600020819055505b5b6000811461282a5760026000838152602001908152602001600020600090555b8294505050505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546128669061389b565b90600052602060002090601f01602090048101928261288857600085556128cf565b82601f106128a157805160ff19168380011785556128cf565b828001600101855582156128cf579182015b828111156128ce5782518255916020019190600101906128b3565b5b5090506128dc91906128e0565b5090565b5b808211156128f95760008160009055506001016128e1565b5090565b600061291061290b846135df565b6135ba565b90508281526020810184848401111561292857600080fd5b61293384828561382f565b509392505050565b600061294e61294984613610565b6135ba565b90508281526020810184848401111561296657600080fd5b61297184828561382f565b509392505050565b600081359050612988816140f2565b92915050565b60008135905061299d81614109565b92915050565b6000813590506129b281614120565b92915050565b6000815190506129c781614120565b92915050565b600082601f8301126129de57600080fd5b81356129ee8482602086016128fd565b91505092915050565b600082601f830112612a0857600080fd5b8135612a1884826020860161293b565b91505092915050565b600081359050612a3081614137565b92915050565b600081359050612a458161414e565b92915050565b600060208284031215612a5d57600080fd5b6000612a6b84828501612979565b91505092915050565b60008060408385031215612a8757600080fd5b6000612a9585828601612979565b9250506020612aa685828601612979565b9150509250929050565b600080600060608486031215612ac557600080fd5b6000612ad386828701612979565b9350506020612ae486828701612979565b9250506040612af586828701612a21565b9150509250925092565b60008060008060808587031215612b1557600080fd5b6000612b2387828801612979565b9450506020612b3487828801612979565b9350506040612b4587828801612a21565b925050606085013567ffffffffffffffff811115612b6257600080fd5b612b6e878288016129cd565b91505092959194509250565b60008060408385031215612b8d57600080fd5b6000612b9b85828601612979565b9250506020612bac8582860161298e565b9150509250929050565b60008060408385031215612bc957600080fd5b6000612bd785828601612979565b9250506020612be885828601612a21565b9150509250929050565b60008060408385031215612c0557600080fd5b6000612c1385828601612979565b9250506020612c2485828601612a36565b9150509250929050565b600060208284031215612c4057600080fd5b6000612c4e848285016129a3565b91505092915050565b600060208284031215612c6957600080fd5b6000612c77848285016129b8565b91505092915050565b600060208284031215612c9257600080fd5b600082013567ffffffffffffffff811115612cac57600080fd5b612cb8848285016129f7565b91505092915050565b600060208284031215612cd357600080fd5b6000612ce184828501612a21565b91505092915050565b60008060408385031215612cfd57600080fd5b6000612d0b85828601612a21565b9250506020612d1c85828601612a21565b9150509250929050565b612d2f81613799565b82525050565b612d3e816137ab565b82525050565b612d4d816137b7565b82525050565b6000612d5e82613641565b612d688185613657565b9350612d7881856020860161383e565b612d8181613a34565b840191505092915050565b6000612d978261364c565b612da18185613673565b9350612db181856020860161383e565b612dba81613a34565b840191505092915050565b6000612dd2603f83613673565b9150612ddd82613a45565b604082019050919050565b6000612df5603283613673565b9150612e0082613a94565b604082019050919050565b6000612e18602583613673565b9150612e2382613ae3565b604082019050919050565b6000612e3b601583613673565b9150612e4682613b32565b602082019050919050565b6000612e5e602483613673565b9150612e6982613b5b565b604082019050919050565b6000612e81601983613673565b9150612e8c82613baa565b602082019050919050565b6000612ea4602c83613673565b9150612eaf82613bd3565b604082019050919050565b6000612ec7603883613673565b9150612ed282613c22565b604082019050919050565b6000612eea602a83613673565b9150612ef582613c71565b604082019050919050565b6000612f0d602983613673565b9150612f1882613cc0565b604082019050919050565b6000612f30602083613673565b9150612f3b82613d0f565b602082019050919050565b6000612f53602b83613673565b9150612f5e82613d38565b604082019050919050565b6000612f76602c83613673565b9150612f8182613d87565b604082019050919050565b6000612f99601883613673565b9150612fa482613dd6565b602082019050919050565b6000612fbc602183613673565b9150612fc782613dff565b604082019050919050565b6000612fdf602883613673565b9150612fea82613e4e565b604082019050919050565b6000613002602a83613673565b915061300d82613e9d565b604082019050919050565b6000613025600083613668565b915061303082613eec565b600082019050919050565b6000613048602583613673565b915061305382613eef565b604082019050919050565b600061306b603183613673565b915061307682613f3e565b604082019050919050565b600061308e602483613673565b915061309982613f8d565b604082019050919050565b60006130b1602b83613673565b91506130bc82613fdc565b604082019050919050565b60006130d4602a83613673565b91506130df8261402b565b604082019050919050565b60006130f7602583613673565b91506131028261407a565b604082019050919050565b600061311a601983613673565b9150613125826140c9565b602082019050919050565b6131398161380d565b82525050565b600061314a82613018565b9150819050919050565b60006020820190506131696000830184612d26565b92915050565b60006080820190506131846000830187612d26565b6131916020830186612d26565b61319e6040830185613130565b81810360608301526131b08184612d53565b905095945050505050565b60006040820190506131d06000830185612d26565b6131dd6020830184613130565b9392505050565b6000610100820190506131fa600083018b612d26565b613207602083018a613130565b6132146040830189613130565b6132216060830188613130565b61322e6080830187613130565b61323b60a0830186612d44565b61324860c0830185612d26565b61325560e0830184613130565b9998505050505050505050565b60006020820190506132776000830184612d35565b92915050565b600060208201905081810360008301526132978184612d8c565b905092915050565b600060208201905081810360008301526132b881612dc5565b9050919050565b600060208201905081810360008301526132d881612de8565b9050919050565b600060208201905081810360008301526132f881612e0b565b9050919050565b6000602082019050818103600083015261331881612e2e565b9050919050565b6000602082019050818103600083015261333881612e51565b9050919050565b6000602082019050818103600083015261335881612e74565b9050919050565b6000602082019050818103600083015261337881612e97565b9050919050565b6000602082019050818103600083015261339881612eba565b9050919050565b600060208201905081810360008301526133b881612edd565b9050919050565b600060208201905081810360008301526133d881612f00565b9050919050565b600060208201905081810360008301526133f881612f23565b9050919050565b6000602082019050818103600083015261341881612f46565b9050919050565b6000602082019050818103600083015261343881612f69565b9050919050565b6000602082019050818103600083015261345881612f8c565b9050919050565b6000602082019050818103600083015261347881612faf565b9050919050565b6000602082019050818103600083015261349881612fd2565b9050919050565b600060208201905081810360008301526134b881612ff5565b9050919050565b600060208201905081810360008301526134d88161303b565b9050919050565b600060208201905081810360008301526134f88161305e565b9050919050565b6000602082019050818103600083015261351881613081565b9050919050565b60006020820190508181036000830152613538816130a4565b9050919050565b60006020820190508181036000830152613558816130c7565b9050919050565b60006020820190508181036000830152613578816130ea565b9050919050565b600060208201905081810360008301526135988161310d565b9050919050565b60006020820190506135b46000830184613130565b92915050565b60006135c46135d5565b90506135d082826138cd565b919050565b6000604051905090565b600067ffffffffffffffff8211156135fa576135f9613a05565b5b61360382613a34565b9050602081019050919050565b600067ffffffffffffffff82111561362b5761362a613a05565b5b61363482613a34565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061368f8261380d565b915061369a8361380d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136cf576136ce613978565b5b828201905092915050565b60006136e58261380d565b91506136f08361380d565b925082613700576136ff6139a7565b5b828204905092915050565b60006137168261380d565b91506137218361380d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561375a57613759613978565b5b828202905092915050565b60006137708261380d565b915061377b8361380d565b92508282101561378e5761378d613978565b5b828203905092915050565b60006137a4826137ed565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561385c578082015181840152602081019050613841565b8381111561386b576000848401525b50505050565b600061387c8261380d565b915060008214156138905761388f613978565b5b600182039050919050565b600060028204905060018216806138b357607f821691505b602082108114156138c7576138c66139d6565b5b50919050565b6138d682613a34565b810181811067ffffffffffffffff821117156138f5576138f4613a05565b5b80604052505050565b60006139098261380d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561393c5761393b613978565b5b600182019050919050565b60006139528261380d565b915061395d8361380d565b92508261396d5761396c6139a7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496d6d757461626c65547970653a204d696e74696e67206e6f7420537461727460008201527f6564206f72206973206e6f7420496d6d757461626c655479706541646d696e00602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374732063616e6e6f74206d696e740000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f455243373231723a206d696e74696e67206d6f726520746f6b656e732074686160008201527f6e20617661696c61626c65000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231723a206e65656420746f206d696e74206174206c65617374206f60008201527f6e6520746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a206d6178206d696e74207065722077616c6c60008201527f6574207265616368656400000000000000000000000000000000000000000000602082015250565b50565b7f496d6d757461626c65547970653a204f6e6c792041646d696e20697320616c6c60008201527f6f7765642e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a204d696e74696e672054696d65206973206f60008201527f7665722e00000000000000000000000000000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a204e6f7420656e6f756768204e465473206c60008201527f65667420746f206d696e74000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f496d6d757461626c65547970653a204e6f7420656e6f7567682065746820746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6140fb81613799565b811461410657600080fd5b50565b614112816137ab565b811461411d57600080fd5b50565b614129816137c1565b811461413457600080fd5b50565b6141408161380d565b811461414b57600080fd5b50565b61415781613817565b811461416257600080fd5b5056fea264697066735822122005e82bf28f4c36c593dd2aedc926b219493e1acd1f028f516fe613b5bccd848464736f6c63430008040033a2646970667358221220d189d0689c49ab396f5002b135a45c0224557ba4c5893dd5cc82a0c7fc432a4764736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.