Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 412 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 16743918 | 631 days ago | IN | 0 ETH | 0.00095281 | ||||
Set Auction Sett... | 16736086 | 633 days ago | IN | 0 ETH | 0.0010967 | ||||
Settle Bidder | 16736082 | 633 days ago | IN | 0 ETH | 0.01150257 | ||||
Settle Bidder | 16736081 | 633 days ago | IN | 0 ETH | 0.01583889 | ||||
Settle Bidder | 16736079 | 633 days ago | IN | 0 ETH | 0.02326298 | ||||
Settle Bidder | 16736077 | 633 days ago | IN | 0 ETH | 0.02145067 | ||||
Settle Bidder | 16736076 | 633 days ago | IN | 0 ETH | 0.02047422 | ||||
Settle Bidder | 16736074 | 633 days ago | IN | 0 ETH | 0.02073124 | ||||
Settle Bidder | 16736073 | 633 days ago | IN | 0 ETH | 0.01936676 | ||||
Settle Bidder | 16736072 | 633 days ago | IN | 0 ETH | 0.02433069 | ||||
Settle Bidder | 16736070 | 633 days ago | IN | 0 ETH | 0.02474495 | ||||
Settle Bidder | 16736068 | 633 days ago | IN | 0 ETH | 0.01962497 | ||||
Settle Bidder | 16736066 | 633 days ago | IN | 0 ETH | 0.00318409 | ||||
Settle Bidder | 16736065 | 633 days ago | IN | 0 ETH | 0.0031138 | ||||
Settle Bidder | 16736063 | 633 days ago | IN | 0 ETH | 0.00308322 | ||||
Settle Bidder | 16736061 | 633 days ago | IN | 0 ETH | 0.00298535 | ||||
Settle Bidder | 16736060 | 633 days ago | IN | 0 ETH | 0.00300707 | ||||
Settle Bidder | 16736058 | 633 days ago | IN | 0 ETH | 0.00312301 | ||||
Settle Bidder | 16736056 | 633 days ago | IN | 0 ETH | 0.00334524 | ||||
Settle Bidder | 16736055 | 633 days ago | IN | 0 ETH | 0.00360069 | ||||
Settle Bidder | 16736045 | 633 days ago | IN | 0 ETH | 0.02219488 | ||||
Settle Bidder | 16736044 | 633 days ago | IN | 0 ETH | 0.02308647 | ||||
Settle Bidder | 16736042 | 633 days ago | IN | 0 ETH | 0.02311229 | ||||
Settle Bidder | 16736040 | 633 days ago | IN | 0 ETH | 0.02016312 | ||||
Settle Bidder | 16736038 | 633 days ago | IN | 0 ETH | 0.00291462 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16743918 | 631 days ago | 20.08 ETH | ||||
16736082 | 633 days ago | 0.08 ETH | ||||
16736082 | 633 days ago | 0.16 ETH | ||||
16736082 | 633 days ago | 0.12 ETH | ||||
16736082 | 633 days ago | 0.17 ETH | ||||
16736082 | 633 days ago | 0.06 ETH | ||||
16736081 | 633 days ago | 0.11 ETH | ||||
16736081 | 633 days ago | 0.07 ETH | ||||
16736081 | 633 days ago | 0.14 ETH | ||||
16736081 | 633 days ago | 0.17 ETH | ||||
16736081 | 633 days ago | 0.11 ETH | ||||
16736081 | 633 days ago | 0.13 ETH | ||||
16736081 | 633 days ago | 0.16 ETH | ||||
16736081 | 633 days ago | 0.06 ETH | ||||
16736081 | 633 days ago | 0.15 ETH | ||||
16736081 | 633 days ago | 0.17 ETH | ||||
16736079 | 633 days ago | 0.1 ETH | ||||
16736079 | 633 days ago | 0.15 ETH | ||||
16736079 | 633 days ago | 0.08 ETH | ||||
16736079 | 633 days ago | 0.06 ETH | ||||
16736079 | 633 days ago | 0.14 ETH | ||||
16736079 | 633 days ago | 0.07 ETH | ||||
16736079 | 633 days ago | 0.13 ETH | ||||
16736077 | 633 days ago | 0.11 ETH | ||||
16736077 | 633 days ago | 0.17 ETH |
Loading...
Loading
Contract Name:
AuctionHouse
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 // The Wildxyz auctionhouse.sol // AuctionHouse.sol is a modified version of the original code from the // NounsAuctionHouse.sol which is a modified version of Zora's AuctionHouse.sol: // https://github.com/ourzora/auction-house/ // licensed under the GPL-3.0 license. pragma solidity ^0.8.17; import './Pausable.sol'; import './ReentrancyGuard.sol'; import './Ownable.sol'; import './IQF.sol'; import './IAuctionHouse.sol'; contract AuctionHouse is IAuctionHouse, Pausable, ReentrancyGuard, Ownable { // auction variables uint256 public allowlistMintMax = 2; // max number of tokens per allowlist mint uint256 public timeBuffer = 120; // min amount of time left in an auction after last bid uint256 public minimumBid = .06 ether; // The minimum price accepted in an auction uint256 public minBidIncrement = .01 ether; // The minimum amount by which a bid must exceed the current highest bid uint256 public allowListPrice = .06 ether; // The allowlist price uint256 public duration = 86400; // 86400 == 1 day The duration of a single auction in seconds address payable public payee; // The address that receives funds from the auction uint256 public raffleSupply = 5; // max number of raffle winners uint256 public auctionSupply = 40; // number of auction supply max of raffle ticket uint256 public allowlistSupply = 206; // number allowlist supply uint256 public maxSupply = 300; // max supply uint256 public promoSupply = 49; // promo supply uint256 public oasislistStartDateTime = 1677610800; //oasislistStartDate 11AM PST 2023-02-28 uint256 public allowListStartDateTime = 1677610800; //allowListStartDateTime uint256 public allowListEndDateTime = 1677657600; //allowListEndDateTime uint256 public auctionStartDateTime = 1677657600; //==allowListEndDateTime; uint256 public auctionEndDateTime = 1677700800; //auctionEndDateTime uint256 public auctionExtentedTime = 0; bool public auctionWinnersSet = false; bool public raffleWinnersSet = false; bool public auctionSettled = false; bool public settled = false; bool public publicSale = false; // allowlist mapping mapping(address => bool) public allowList; Machines public machines; // The qf contract // Only allow the auction functions to be active when not paused modifier onlyUnpaused() { require(!paused(), 'AuctionHouse: paused'); _; } // Bids Struct struct Bid { address payable bidder; // The address of the bidder uint256 amount; // The amount of the bid bool minted; // has the bid been minted uint256 timestamp; // timestamp of the bid bool refunded; // refund difference between winning_bid and max_bid for winner; and all for losers bool winner; // is the bid the winner uint256 finalprice; // if won, what price won at } // mapping of Bid structs mapping(address => Bid) public Bids; constructor(Machines _machines) { machines = _machines; payee = payable(0x8A62Ec0145483aC211A1eE40C4e0DacA3A7697dc); } /* ADMIN VARIABLE SETTERS FUNCTIONS */ // set the 721 contract address function set721ContractAddress(Machines _machines) public onlyOwner { machines = _machines; } function setAuctionSupply(uint256 _newAuctionSupply) public onlyOwner { auctionSupply = _newAuctionSupply; } function setPromoSupply(uint256 _newPromoSupply) public onlyOwner { promoSupply = _newPromoSupply; } function addToAllowList(address[] memory _addresses) public onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { allowList[_addresses[i]] = true; } } function removeFromAllowList(address[] memory _addresses) public onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { allowList[_addresses[i]] = false; } } function setRevealed(bool _newRevealed) public onlyOwner { machines.setReveal(_newRevealed); } function setAllowlistMintMax(uint256 _newAllowlistMintMax) public onlyOwner { allowlistMintMax = _newAllowlistMintMax; } function setoasislistStartDateTime(uint256 _newoasislistStartDateTime) public onlyOwner { oasislistStartDateTime = _newoasislistStartDateTime; } function setAuctionStartDateTime(uint256 _newAuctionStartDateTime) public onlyOwner { auctionStartDateTime = _newAuctionStartDateTime; } function setAuctionEndDateTime(uint256 _newAuctionEndDateTime) public onlyOwner { auctionEndDateTime = _newAuctionEndDateTime; } function setAllowListStartDateTime(uint256 _newAllowListStartDateTime) public onlyOwner { allowListStartDateTime = _newAllowListStartDateTime; } function setAllowListEndDateTime(uint256 _newAllowListEndDateTime) public onlyOwner { allowListEndDateTime = _newAllowListEndDateTime; } function setPublicSale() public onlyOwner { publicSale = !publicSale; } function setRaffleSupply(uint256 _newRaffleSupply) public onlyOwner { raffleSupply = _newRaffleSupply; } function setMaxSupply(uint256 _newMaxSupply) public onlyOwner { maxSupply = _newMaxSupply; } // set the time buffer function setTimeBuffer(uint256 _timeBuffer) external onlyOwner override { timeBuffer = _timeBuffer; emit AuctionTimeBufferUpdated(_timeBuffer); } // set the minimum bid function setMinimumBid(uint256 _minimumBid) external onlyOwner { minimumBid = _minimumBid; } // set min bid incr function setMinBidIncrement(uint256 _minBidIncrement) external onlyOwner { minBidIncrement = _minBidIncrement; } // set the duration function setDuration(uint256 _duration) external onlyOwner override { duration = _duration; emit AuctionDurationUpdated(_duration); } // airdrop mint function promoMint(address _to, uint256 _qty) external onlyOwner { require(promoSupply >= _qty, 'Not enough promo supply'); require(block.timestamp <= allowListEndDateTime, 'Outside promo mint window'); for (uint256 i = 0; i < _qty; i++) { machines.mint(_to); } promoSupply -= _qty; auctionSupply = maxSupply - machines.totalSupply() - raffleSupply; } // airdrop batch mint; sends 1 to each address in array function promoBatchMint(address[] memory _to) external onlyOwner { require(promoSupply >= _to.length, 'Not enough promo supply'); require(block.timestamp <= allowListEndDateTime, 'Outside promo mint window'); for (uint256 i = 0; i < _to.length; i++) { machines.mint(_to[i]); } promoSupply -= _to.length; auctionSupply = maxSupply - machines.totalSupply() - raffleSupply; } // allowlist mint function allowlistMint(uint256 _qty) payable external { require( block.timestamp >= oasislistStartDateTime && block.timestamp <= allowListEndDateTime, 'Outside allowlist window' ); require(msg.value >= allowListPrice * _qty, 'Not enough ETH sent'); require(allowList[msg.sender] == true, 'Not on allowlist'); require(allowlistSupply - _qty >= 0, 'No more allowlist supply'); for (uint256 i = 0; i < _qty; i++) { machines.mint(msg.sender); allowlistSupply--; } allowList[msg.sender] = false; auctionSupply = maxSupply - machines.totalSupply() - raffleSupply; emit AllowlistMint(msg.sender); } // pause function pause() external onlyOwner override { _pause(); } // unpause function unpause() external onlyOwner override { _unpause(); } // withdraw function withdraw() public onlyOwner { require(auctionSettled == true && block.timestamp > auctionEndDateTime , "Auction not settled||not ended."); (bool success, ) = payee.call{value: address(this).balance}(""); require(success, "Failed to send to payee."); } // update payee for withdraw function setPayee(address payable _payee) public onlyOwner { payee = _payee; } /* END ADMIN VARIABLE SETTERS FUNCTIONS */ // UNIVERSAL GETTER FOR AUCTION-RELATED VARIABLES function getAuctionInfo() public view returns ( uint256 _auctionSupply, uint256 _auctionStartDateTime, uint256 _auctionEndDateTime, uint256 _auctionExtentedTime, bool _auctionWinnersSet, bool _auctionSettled, bool _settled, uint256 _timeBuffer, uint256 _duration, uint256 _minimumBid, uint256 _minBidIncrement ) { return ( auctionSupply, auctionStartDateTime, auctionEndDateTime, auctionExtentedTime, auctionWinnersSet, auctionSettled, settled, timeBuffer, duration, minimumBid, minBidIncrement ); } // UNIVERSAL GETTER FOR ALLOWLIST AND RAFFLE-RELATED VARIABLES function getAllowlistAndRaffleInfo() public view returns ( uint256 _raffleSupply, uint256 _allowListPrice, uint256 _allowListStartDateTime, uint256 _allowListEndDateTime, bool _raffleWinnersSet, bool _publicSale, uint256 _allowlistSupply, uint256 _totalMinted, uint256 _oasislistStartDateTime ) { return ( raffleSupply, allowListPrice, allowListStartDateTime, allowListEndDateTime, raffleWinnersSet, publicSale, allowlistSupply, machines.totalSupply(), oasislistStartDateTime ); } /* PUBLIC FUNCTIONS */ // Creates bids for the current auction function createBid() external payable nonReentrant onlyUnpaused { // Check that the auction is live && Bid Amount is greater than minimum bid require(block.timestamp < auctionEndDateTime && block.timestamp >= auctionStartDateTime, "Outside auction window."); require(msg.value >= minimumBid, "Bid amount too low."); // check if bidder already has bid // if so, refund old and replace with new if (Bids[msg.sender].amount > 0) { require(msg.value > Bids[msg.sender].amount, "You can only increase your bid, not decrease."); _safeTransferETH(Bids[msg.sender].bidder, Bids[msg.sender].amount); Bids[msg.sender].amount = msg.value; } // otherwise, enter new bid. else { Bid memory new_bid; new_bid.bidder = payable(msg.sender); new_bid.amount = msg.value; new_bid.timestamp = block.timestamp; new_bid.winner = false; new_bid.refunded = false; new_bid.minted = false; new_bid.finalprice = 0; Bids[msg.sender] = new_bid; } // Extend the auction if the bid was received within the time buffer // bool extended = auctionEndDateTime - block.timestamp < timeBuffer; //if (extended) { // auctionEndDateTime = auctionEndDateTime + timeBuffer; // auctionExtentedTime = auctionExtentedTime + timeBuffer; //} emit AuctionBid(msg.sender, Bids[msg.sender].amount, false); } function publicSaleMint() public payable nonReentrant onlyUnpaused { // if we didnt sell out, we can mint the remaining // for price of min bid // will error when supply is 0 // Note: 1) is the auction closed and 2) is the raffle set and // 3) if the total supply is less than the max supply, then you can allow ppl to mint // require(auctionEndDateTime < block.timestamp, "Auction not over yet."); // require(raffleWinnersSet == true, "Raffle not settled yet."); require(machines.totalSupply() < machines.max_supply()); require(publicSale == true, "Not authorized."); require(msg.value >= minimumBid, "Amount too low."); machines.mint(msg.sender); auctionSupply--; } /* END PUBLIC FUNCTIONS */ /* END OF AUCTION FUNCTIONS */ function setRaffleWinners(address[] memory _raffleWinners) external onlyOwner { require(block.timestamp > auctionEndDateTime, "Auction not over yet."); require(raffleWinnersSet == false, "Raffle already settled"); require(_raffleWinners.length <= raffleSupply, "Incorrect number of winners"); for (uint256 i = 0; i < _raffleWinners.length; i++) { Bids[_raffleWinners[i]].winner = true; Bids[_raffleWinners[i]].finalprice = minimumBid; } raffleWinnersSet = true; } function setAuctionWinners(address[] memory _auctionWinners, uint256[] memory _prices) external onlyOwner { require(block.timestamp > auctionEndDateTime, "Auction not over yet."); require(auctionWinnersSet == false, "Auction already settled"); for (uint256 i = 0; i < _auctionWinners.length; i++) { Bids[_auctionWinners[i]].winner = true; Bids[_auctionWinners[i]].finalprice = _prices[i]; } auctionWinnersSet = true; } /** * Settle an auction, finalizing the bid and paying out to the owner. * If there are no bids, the Oasis is burned. */ function settleBidder(address[] memory _bidders) external onlyOwner nonReentrant { require(block.timestamp > auctionEndDateTime, "Auction hasn't ended."); require(auctionWinnersSet == true && raffleWinnersSet == true, "Auction winners not set"); for (uint256 i = 0; i < _bidders.length; i++) { if (Bids[_bidders[i]].winner == true && Bids[_bidders[i]].minted == false && Bids[_bidders[i]].refunded == false) { // if winner, mint and refunde diff if any, update Bids uint256 difference = Bids[_bidders[i]].amount - Bids[_bidders[i]].finalprice; if (difference > 0) { (bool success, ) = _bidders[i].call{value: difference}(""); require(success, "Failed to refund difference to winner."); } machines.mint(_bidders[i]); Bids[_bidders[i]].minted = true; Bids[_bidders[i]].refunded = true; } else if (Bids[_bidders[i]].winner == false && Bids[_bidders[i]].refunded == false) { // if not winner, refund (bool success, ) = _bidders[i].call{value: Bids[_bidders[i]].amount}(""); require(success, "Failed to send refund to loser."); Bids[_bidders[i]].refunded = true; } } } function setAuctionSettled() external onlyOwner { require(auctionSettled == false, "Auction already settled"); auctionSettled = !auctionSettled; } function setTimes(uint256 allowListStart, uint256 _duration) public onlyOwner{ oasislistStartDateTime = allowListStart + 90; allowListStartDateTime = allowListStart + 90; allowListEndDateTime = allowListStartDateTime + _duration; auctionStartDateTime = allowListEndDateTime; auctionEndDateTime = auctionStartDateTime + _duration; } function setAllowListPrice (uint256 _allowListPrice) public onlyOwner { allowListPrice = _allowListPrice; } /** * Transfer ETH and return the success status. * This function only forwards 30,000 gas to the callee. */ function _safeTransferETH(address to, uint256 value) internal returns (bool) { (bool success, ) = to.call{value: value, gas: 30_000}(new bytes(0)); return success; } }
// SPDX-License-Identifier: GPL-3.0 /// @title Interface for Auction Houses pragma solidity ^0.8.6; import { Machines } from "./Machines.sol"; interface IAuctionHouse { struct Auction { // ID for the (ERC721 token ID) uint256 tokenId; // The current highest bid amount uint256 amount; // The time that the auction started uint256 startTime; // The time that the auction is scheduled to end uint256 endTime; // The address of the current highest bid address payable bidder; // Whether or not the auction has been settled bool settled; // amount of time auction was extended uint256 extendedTime; } event AuctionBid(address sender, uint256 value, bool extended); event AuctionExtended(uint256 indexed tokenId, uint256 endTime); event AuctionSettled(uint256 indexed tokenId, address winner, uint256 amount); event AuctionTimeBufferUpdated(uint256 timeBuffer); event AuctionReservePriceUpdated(uint256 reservePrice); event AuctionMinBidIncrementPercentageUpdated(uint256 minBidIncrementPercentage); event AuctionDurationUpdated(uint256 duration); event AllowlistMint(address indexed to); function setAuctionWinners(address[] memory _auctionWinners, uint256[] memory _price) external; // function settleCurrentAndCreateNewAuction() external; //function settleAuction(uint256 tokenId) external; function setTimes(uint256 _startTime, uint256 _duration) external; function createBid() external payable; function pause() external; function unpause() external; function setTimeBuffer(uint256 timeBuffer) external; // function setMinBidIncrementPercentage(uint8 minBidIncrementPercentage) external; function setDuration(uint256 _duration) external; }
// SPDX-License-Identifier: GPL-3.0 /// @title Interface for the Token pragma solidity ^0.8.6; import './IERC721.sol'; interface IQF is IERC721 { event OperatorFlagged(address flaggedOperator, bool status); event TokenCreated(uint256 indexed tokenId, address mintedTo); event TokenHashCreated(uint256 indexed tokenId, bytes32 hash); event TokenBurned(uint256 indexed tokenId); event MinterUpdated(address minter); event MinterLocked(); event Revealed(bool revealed); function mint(address _to) external returns (uint256); //function allowlistMint(address _to) external returns (uint256); //function promoMint(address to, uint256 quantity) external returns (uint256); function setReveal(bool _revealed) external; function burn(uint256 tokenId) external; function setMinter(address minter) external; //function lockMinter() external; function setBaseURI(string memory _newBaseURI) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "./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.3.2 (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.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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: GPL-3.0 // presented by Wildxyz // LICENSE // This is a modified version of the original code from the // NounsToken.sol— an implementation of OpenZeppelin's ERC-721: // https://github.com/nounsDAO/nouns-monorepo/blob/master/packages/nouns-contracts/contracts/NounsToken.sol // The original code is licensed under the GPL-3.0 license // Thank you to the Nouns team for the inspiration and code! pragma solidity ^0.8.17; import {UpdatableOperatorFilterer} from './UpdatableOperatorFilterer.sol'; import {RevokableDefaultOperatorFilterer} from './RevokableDefaultOperatorFilterer.sol'; import { Ownable } from './Ownable.sol'; import { ERC721 } from './ERC721.sol'; import { IERC721 } from './IERC721.sol'; import { Strings } from './Strings.sol'; import { IQF } from './IQF.sol'; contract Machines is IQF, Ownable, RevokableDefaultOperatorFilterer, ERC721 { uint256 public max_supply = 300; bool public revealed = false; // An address who has permissions to mint qf tokens address public minter; // The internal ID tracker uint256 public _currentTokenId; // URI string public baseURI = "https://static.wild.xyz/tokens/1115/metadata/"; // Mapping of operators to whether they are approved or not mapping(address => bool) public authorized; // Mapping of addresses flagged for denying token interactions mapping(address => bool) public blockList; /** * @notice Require that the sender is the minter. */ modifier onlyMinter() { require(msg.sender == minter, "Sender is not the minter"); _; } constructor(address _minter) ERC721("Machines", "MACHINES") { minter = _minter; } /** * @notice updates the deny list * @param flaggedOperator the address to be added to the deny list * @param status whether the address is to be added or removed from the deny list */ function updateDenyList(address flaggedOperator, bool status) public onlyOwner { _updateDenyList(flaggedOperator, status); } function setReveal(bool _revealed) public onlyMinter { revealed = _revealed; emit Revealed(_revealed); } /* * @notice Override isApprovedForAll * @param owner The owner of the Nouns * @param operator The operator to check if approved */ function isApprovedForAll(address _owner, address operator) public view override(IERC721, ERC721) returns (bool) { require(blockList[operator] == false, "Operator has been denied by contract owner."); if (authorized[operator] == true) { return true; } return super.isApprovedForAll(_owner, operator); } /* OS */ function setApprovalForAll(address operator, bool approved) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(IERC721, ERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function owner() public view virtual override (Ownable, UpdatableOperatorFilterer) returns (address) { return Ownable.owner(); } /** * @notice sets the authorized operators for interacting with the contract * @param operator the address to be added to the authorized operators * @param approved whether the address is approved or not within authorized operators */ function setAuthorized(address operator, bool approved) public onlyOwner { authorized[operator] = approved; } /** * @notice Mint an qf token to the given address. * @dev Only callable by the minter. * @param _to The address to mint the qf token to. * @return The ID of the newly minted qf token. */ function mint(address _to) public onlyMinter override returns (uint256) { require(_currentTokenId < max_supply, "Max supply reached"); return _mintTo(_to, _currentTokenId++); } /** * @notice Burn a pass. * @dev Only callable by the minter. * @param tokenId The ID of the qf token to burn. */ function burn(uint256 tokenId) public onlyMinter override { _burn(tokenId); emit TokenBurned(tokenId); } /** @notice Provides the tokenURI of a specific token * @param _tokenId: the token ID * @return the URI of the token */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); if (revealed==false) { return string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ); } else { return string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ); } } /** * @notice Set the token minter. * @dev Only callable by the owner when not locked. * @param _minter The address of the new minter. */ function setMinter(address _minter) external onlyOwner override { minter = _minter; //emit MinterUpdated(_minter); } /** * @notice Set the base URI. * @dev Only callable by the owner. * @param _newBaseURI The new base URI. */ function setBaseURI(string memory _newBaseURI) public onlyOwner override { baseURI = _newBaseURI; } ////////////////////////// // Internal Functions //// ////////////////////////// /** * @notice updates the deny list * @param flaggedOperator The address to be approved. * @param status True if the operator is approved, false to revoke approval. */ function _updateDenyList(address flaggedOperator, bool status) internal virtual { blockList[flaggedOperator] = status; //emit OperatorFlagged(flaggedOperator, status); } /** @notice Mints a new token * @param to: the address of the new owner looking to mint * @param tokenId: the token ID * @return the ID of the newly minted token */ function _mintTo(address to, uint256 tokenId) internal returns (uint256) { _mint(to, tokenId); emit TokenCreated(tokenId, to); return tokenId; } function totalSupply() public view returns (uint256) { return _currentTokenId; } function getMaxSupply() public view returns (uint256) { return max_supply; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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] = _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 (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./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 = _ownerOf(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 or 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 or 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 or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 _ownerOf(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, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 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(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @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. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {RevokableOperatorFilterer} from "./RevokableOperatorFilterer.sol"; /** * @title RevokableDefaultOperatorFilterer * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription. * Note that OpenSea will disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() RevokableOperatorFilterer(0x000000000000AAeB6D7670E522A718067333cd4E, DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title UpdatableOperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the * OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address, * which will bypass registry checks. * Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract UpdatableOperatorFilterer { error OperatorNotAllowed(address operator); error OnlyOwner(); IOperatorFilterRegistry public operatorFilterRegistry; constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) { IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry); operatorFilterRegistry = registry; // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(registry).code.length > 0) { if (subscribe) { registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { registry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be bypassed. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public virtual { if (msg.sender != owner()) { revert OnlyOwner(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); } /** * @dev assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract */ function owner() public view virtual returns (address); function _checkFilterOperator(address operator) internal view virtual { IOperatorFilterRegistry registry = operatorFilterRegistry; // Check registry code length to facilitate testing in environments without a deployed registry. if (address(registry) != address(0) && address(registry).code.length > 0) { if (!registry.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// 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 pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {UpdatableOperatorFilterer} from "./UpdatableOperatorFilterer.sol"; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title RevokableOperatorFilterer * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The * Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at * any point. As implemented, this abstract contract allows the contract owner to permanently skip the * OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry * address cannot be further updated. * Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer { error RegistryHasBeenRevoked(); error InitialRegistryAddressCannotBeZeroAddress(); bool public isOperatorFilterRegistryRevoked; constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe) { // don't allow creating a contract with a permanently revoked registry if (_registry == address(0)) { revert InitialRegistryAddressCannotBeZeroAddress(); } } function _checkFilterOperator(address operator) internal view virtual override { if (address(operatorFilterRegistry) != address(0)) { super._checkFilterOperator(operator); } } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public override { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); } /** * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner. */ function revokeOperatorFilterRegistry() public { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } // set to zero address to bypass checks operatorFilterRegistry = IOperatorFilterRegistry(address(0)); isOperatorFilterRegistryRevoked = true; } }
// 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.8.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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.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 functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: 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 (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract Machines","name":"_machines","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"AllowlistMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bool","name":"extended","type":"bool"}],"name":"AuctionBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"AuctionDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"AuctionExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minBidIncrementPercentage","type":"uint256"}],"name":"AuctionMinBidIncrementPercentageUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reservePrice","type":"uint256"}],"name":"AuctionReservePriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AuctionSettled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timeBuffer","type":"uint256"}],"name":"AuctionTimeBufferUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Bids","outputs":[{"internalType":"address payable","name":"bidder","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"minted","type":"bool"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bool","name":"refunded","type":"bool"},{"internalType":"bool","name":"winner","type":"bool"},{"internalType":"uint256","name":"finalprice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListEndDateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListStartDateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistMintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionEndDateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionExtentedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionSettled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStartDateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionWinnersSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createBid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllowlistAndRaffleInfo","outputs":[{"internalType":"uint256","name":"_raffleSupply","type":"uint256"},{"internalType":"uint256","name":"_allowListPrice","type":"uint256"},{"internalType":"uint256","name":"_allowListStartDateTime","type":"uint256"},{"internalType":"uint256","name":"_allowListEndDateTime","type":"uint256"},{"internalType":"bool","name":"_raffleWinnersSet","type":"bool"},{"internalType":"bool","name":"_publicSale","type":"bool"},{"internalType":"uint256","name":"_allowlistSupply","type":"uint256"},{"internalType":"uint256","name":"_totalMinted","type":"uint256"},{"internalType":"uint256","name":"_oasislistStartDateTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAuctionInfo","outputs":[{"internalType":"uint256","name":"_auctionSupply","type":"uint256"},{"internalType":"uint256","name":"_auctionStartDateTime","type":"uint256"},{"internalType":"uint256","name":"_auctionEndDateTime","type":"uint256"},{"internalType":"uint256","name":"_auctionExtentedTime","type":"uint256"},{"internalType":"bool","name":"_auctionWinnersSet","type":"bool"},{"internalType":"bool","name":"_auctionSettled","type":"bool"},{"internalType":"bool","name":"_settled","type":"bool"},{"internalType":"uint256","name":"_timeBuffer","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_minimumBid","type":"uint256"},{"internalType":"uint256","name":"_minBidIncrement","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"machines","outputs":[{"internalType":"contract Machines","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBidIncrement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oasislistStartDateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payee","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"promoBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"promoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"promoSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"raffleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleWinnersSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Machines","name":"_machines","type":"address"}],"name":"set721ContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAllowListEndDateTime","type":"uint256"}],"name":"setAllowListEndDateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowListPrice","type":"uint256"}],"name":"setAllowListPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAllowListStartDateTime","type":"uint256"}],"name":"setAllowListStartDateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAllowlistMintMax","type":"uint256"}],"name":"setAllowlistMintMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAuctionEndDateTime","type":"uint256"}],"name":"setAuctionEndDateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setAuctionSettled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAuctionStartDateTime","type":"uint256"}],"name":"setAuctionStartDateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAuctionSupply","type":"uint256"}],"name":"setAuctionSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_auctionWinners","type":"address[]"},{"internalType":"uint256[]","name":"_prices","type":"uint256[]"}],"name":"setAuctionWinners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minBidIncrement","type":"uint256"}],"name":"setMinBidIncrement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumBid","type":"uint256"}],"name":"setMinimumBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_payee","type":"address"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPromoSupply","type":"uint256"}],"name":"setPromoSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRaffleSupply","type":"uint256"}],"name":"setRaffleSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_raffleWinners","type":"address[]"}],"name":"setRaffleWinners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newRevealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timeBuffer","type":"uint256"}],"name":"setTimeBuffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"allowListStart","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newoasislistStartDateTime","type":"uint256"}],"name":"setoasislistStartDateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_bidders","type":"address[]"}],"name":"settleBidder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"settled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeBuffer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526002600355607860045566d529ae9e860000600555662386f26fc1000060065566d529ae9e860000600755620151806008556005600a556028600b5560ce600c5561012c600d556031600e556363fe4f30600f556363fe4f306010556363ff06006011556363ff06006012556363ffaec060135560006014556000601560006101000a81548160ff0219169083151502179055506000601560016101000a81548160ff0219169083151502179055506000601560026101000a81548160ff0219169083151502179055506000601560036101000a81548160ff0219169083151502179055506000601560046101000a81548160ff0219169083151502179055503480156200011157600080fd5b506040516200621b3803806200621b833981810160405281019062000137919062000361565b60008060006101000a81548160ff02191690831515021790555060018081905550620001786200016c6200021560201b60201c565b6200021d60201b60201c565b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738a62ec0145483ac211a1ee40c4e0daca3a7697dc600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000393565b600033905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200031582620002e8565b9050919050565b6000620003298262000308565b9050919050565b6200033b816200031c565b81146200034757600080fd5b50565b6000815190506200035b8162000330565b92915050565b6000602082840312156200037a5762000379620002e3565b5b60006200038a848285016200034a565b91505092915050565b615e7880620003a36000396000f3fe6080604052600436106103d95760003560e01c8063852fedc9116101fd578063c403b5b211610118578063d9ad7f91116100ab578063f2fde38b1161007a578063f2fde38b14610d62578063f6be71d114610d8b578063fc3a635314610db4578063fd49af1314610ddd578063fe3e492d14610e08576103d9565b8063d9ad7f9114610cce578063e0a8085314610cf7578063e30ac00314610d20578063ec91f2a414610d37576103d9565b8063d3a86386116100e7578063d3a8638614610c18578063d3e761a414610c43578063d5abeb0114610c6e578063d94a350514610c99576103d9565b8063c403b5b214610b8f578063d1b7bda314610bba578063d2b898df14610be5578063d2eb86ee14610c0e576103d9565b8063a2a3eb4d11610190578063ba060b7d1161015f578063ba060b7d14610af4578063c180526a14610b1f578063c1b819b914610b3b578063c3dabfd514610b64576103d9565b8063a2a3eb4d14610a4c578063a51312c814610a75578063ae90b21314610a9e578063b59f6bf514610ac9576103d9565b80638da5cb5b116101cc5780638da5cb5b146109a05780638f775839146109cb57806393f6a516146109f6578063a24e515314610a21576103d9565b8063852fedc9146108fc57806386495b04146109255780638a64bbf01461094e5780638d57c9a914610977576103d9565b806355ee09d7116102f85780636d8aded11161028b578063715018a61161025a578063715018a6146108705780637263cfe21461088757806380a06f97146108b057806383624074146108db5780638456cb59146108e5576103d9565b80636d8aded1146107cc5780636df9fa88146107f55780636f8b44b01461081e5780637120334b14610847576103d9565b8063599d127a116102c7578063599d127a146107245780635c975abb1461074f57806365d634c51461077a5780636a7917cc146107a3576103d9565b806355ee09d71461069057806355f15f0c146106b957806356f8f78c146106e457806358d5d666146106fb576103d9565b806329823028116103705780633f17d40a1161033f5780633f17d40a146105fc5780633f4ba83a14610627578063410459ad1461063e578063510f615a14610667576103d9565b8063298230281461055c578063335b115e1461058f57806333bc1c5c146105ba5780633ccfd60b146105e5576103d9565b80631eb8b343116103ac5780631eb8b343146104a257806322434836146104cd57806323ab54b5146104f65780632848aeaf1461051f576103d9565b80630251e03e146103de5780630fb5a6b41461042157806312300ba41461044c57806313cabd6914610477575b600080fd5b3480156103ea57600080fd5b50610405600480360381019061040091906147b5565b610e31565b6040516104189796959493929190614837565b60405180910390f35b34801561042d57600080fd5b50610436610eba565b60405161044391906148a6565b60405180910390f35b34801561045857600080fd5b50610461610ec0565b60405161046e91906148a6565b60405180910390f35b34801561048357600080fd5b5061048c610ec6565b60405161049991906148a6565b60405180910390f35b3480156104ae57600080fd5b506104b7610ecc565b6040516104c491906148a6565b60405180910390f35b3480156104d957600080fd5b506104f460048036038101906104ef91906148ed565b610ed2565b005b34801561050257600080fd5b5061051d60048036038101906105189190614b49565b610fa9565b005b34801561052b57600080fd5b50610546600480360381019061054191906147b5565b6111ee565b6040516105539190614bc1565b60405180910390f35b34801561056857600080fd5b5061057161120e565b60405161058699989796959493929190614bdc565b60405180910390f35b34801561059b57600080fd5b506105a46112fc565b6040516105b191906148a6565b60405180910390f35b3480156105c657600080fd5b506105cf611302565b6040516105dc9190614bc1565b60405180910390f35b3480156105f157600080fd5b506105fa611315565b005b34801561060857600080fd5b506106116114c5565b60405161061e91906148a6565b60405180910390f35b34801561063357600080fd5b5061063c6114cb565b005b34801561064a57600080fd5b5061066560048036038101906106609190614c95565b611551565b005b34801561067357600080fd5b5061068e60048036038101906106899190614cc2565b611611565b005b34801561069c57600080fd5b506106b760048036038101906106b29190614cc2565b611697565b005b3480156106c557600080fd5b506106ce61171d565b6040516106db9190614bc1565b60405180910390f35b3480156106f057600080fd5b506106f9611730565b005b34801561070757600080fd5b50610722600480360381019061071d9190614d2d565b6117d8565b005b34801561073057600080fd5b50610739611898565b60405161074691906148a6565b60405180910390f35b34801561075b57600080fd5b5061076461189e565b6040516107719190614bc1565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190614cc2565b6118b4565b005b3480156107af57600080fd5b506107ca60048036038101906107c59190614cc2565b61193a565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190614d5a565b6119c0565b005b34801561080157600080fd5b5061081c60048036038101906108179190614cc2565b611c32565b005b34801561082a57600080fd5b5061084560048036038101906108409190614cc2565b611cb8565b005b34801561085357600080fd5b5061086e60048036038101906108699190614cc2565b611d3e565b005b34801561087c57600080fd5b50610885611dfb565b005b34801561089357600080fd5b506108ae60048036038101906108a99190614d5a565b611e83565b005b3480156108bc57600080fd5b506108c5611f94565b6040516108d291906148a6565b60405180910390f35b6108e3611f9a565b005b3480156108f157600080fd5b506108fa6124b3565b005b34801561090857600080fd5b50610923600480360381019061091e9190614d5a565b612539565b005b34801561093157600080fd5b5061094c60048036038101906109479190614cc2565b612e18565b005b34801561095a57600080fd5b5061097560048036038101906109709190614cc2565b612e9e565b005b34801561098357600080fd5b5061099e60048036038101906109999190614cc2565b612f24565b005b3480156109ac57600080fd5b506109b5612faa565b6040516109c29190614db2565b60405180910390f35b3480156109d757600080fd5b506109e0612fd4565b6040516109ed9190614bc1565b60405180910390f35b348015610a0257600080fd5b50610a0b612fe7565b604051610a1891906148a6565b60405180910390f35b348015610a2d57600080fd5b50610a36612fed565b604051610a4391906148a6565b60405180910390f35b348015610a5857600080fd5b50610a736004803603810190610a6e9190614dcd565b612ff3565b005b348015610a8157600080fd5b50610a9c6004803603810190610a979190614d5a565b613285565b005b348015610aaa57600080fd5b50610ab3613396565b604051610ac09190614e0d565b60405180910390f35b348015610ad557600080fd5b50610ade6133bc565b604051610aeb9190614bc1565b60405180910390f35b348015610b0057600080fd5b50610b096133cf565b604051610b1691906148a6565b60405180910390f35b610b396004803603810190610b349190614cc2565b6133d5565b005b348015610b4757600080fd5b50610b626004803603810190610b5d9190614cc2565b613781565b005b348015610b7057600080fd5b50610b79613807565b604051610b869190614e87565b60405180910390f35b348015610b9b57600080fd5b50610ba461382d565b604051610bb191906148a6565b60405180910390f35b348015610bc657600080fd5b50610bcf613833565b604051610bdc91906148a6565b60405180910390f35b348015610bf157600080fd5b50610c0c6004803603810190610c079190614cc2565b613839565b005b610c166138bf565b005b348015610c2457600080fd5b50610c2d613bdb565b604051610c3a91906148a6565b60405180910390f35b348015610c4f57600080fd5b50610c58613be1565b604051610c659190614bc1565b60405180910390f35b348015610c7a57600080fd5b50610c83613bf4565b604051610c9091906148a6565b60405180910390f35b348015610ca557600080fd5b50610cae613bfa565b604051610cc59b9a99989796959493929190614ea2565b60405180910390f35b348015610cda57600080fd5b50610cf56004803603810190610cf09190614cc2565b613c76565b005b348015610d0357600080fd5b50610d1e6004803603810190610d199190614f79565b613cfc565b005b348015610d2c57600080fd5b50610d35613e08565b005b348015610d4357600080fd5b50610d4c613f06565b604051610d5991906148a6565b60405180910390f35b348015610d6e57600080fd5b50610d896004803603810190610d8491906147b5565b613f0c565b005b348015610d9757600080fd5b50610db26004803603810190610dad9190614cc2565b614003565b005b348015610dc057600080fd5b50610ddb6004803603810190610dd69190614cc2565b6140c0565b005b348015610de957600080fd5b50610df2614146565b604051610dff91906148a6565b60405180910390f35b348015610e1457600080fd5b50610e2f6004803603810190610e2a9190614d5a565b61414c565b005b60186020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020160009054906101000a900460ff16908060030154908060040160009054906101000a900460ff16908060040160019054906101000a900460ff16908060050154905087565b60085481565b60145481565b60125481565b60105481565b610eda6143fa565b73ffffffffffffffffffffffffffffffffffffffff16610ef8612faa565b73ffffffffffffffffffffffffffffffffffffffff1614610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4590615003565b60405180910390fd5b605a82610f5b9190615052565b600f81905550605a82610f6e9190615052565b60108190555080601054610f829190615052565b60118190555060115460128190555080601254610f9f9190615052565b6013819055505050565b610fb16143fa565b73ffffffffffffffffffffffffffffffffffffffff16610fcf612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c90615003565b60405180910390fd5b6013544211611069576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611060906150d2565b60405180910390fd5b60001515601560009054906101000a900460ff161515146110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b69061513e565b60405180910390fd5b60005b82518110156111ce576001601860008584815181106110e4576110e361515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160016101000a81548160ff0219169083151502179055508181815181106111535761115261515e565b5b6020026020010151601860008584815181106111725761117161515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206005018190555080806111c69061518d565b9150506110c2565b506001601560006101000a81548160ff0219169083151502179055505050565b60166020528060005260406000206000915054906101000a900460ff1681565b6000806000806000806000806000600a54600754601054601154601560019054906101000a900460ff16601560049054906101000a900460ff16600c54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc91906151ea565b600f54985098509850985098509850985098509850909192939495969798565b60065481565b601560049054906101000a900460ff1681565b61131d6143fa565b73ffffffffffffffffffffffffffffffffffffffff1661133b612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890615003565b60405180910390fd5b60011515601560029054906101000a900460ff1615151480156113b5575060135442115b6113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb90615263565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161143c906152b4565b60006040518083038185875af1925050503d8060008114611479576040519150601f19603f3d011682016040523d82523d6000602084013e61147e565b606091505b50509050806114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990615315565b60405180910390fd5b50565b60115481565b6114d36143fa565b73ffffffffffffffffffffffffffffffffffffffff166114f1612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90615003565b60405180910390fd5b61154f614402565b565b6115596143fa565b73ffffffffffffffffffffffffffffffffffffffff16611577612faa565b73ffffffffffffffffffffffffffffffffffffffff16146115cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c490615003565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6116196143fa565b73ffffffffffffffffffffffffffffffffffffffff16611637612faa565b73ffffffffffffffffffffffffffffffffffffffff161461168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490615003565b60405180910390fd5b8060118190555050565b61169f6143fa565b73ffffffffffffffffffffffffffffffffffffffff166116bd612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a90615003565b60405180910390fd5b8060068190555050565b601560009054906101000a900460ff1681565b6117386143fa565b73ffffffffffffffffffffffffffffffffffffffff16611756612faa565b73ffffffffffffffffffffffffffffffffffffffff16146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390615003565b60405180910390fd5b601560049054906101000a900460ff1615601560046101000a81548160ff021916908315150217905550565b6117e06143fa565b73ffffffffffffffffffffffffffffffffffffffff166117fe612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90615003565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b60008060009054906101000a900460ff16905090565b6118bc6143fa565b73ffffffffffffffffffffffffffffffffffffffff166118da612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192790615003565b60405180910390fd5b80600a8190555050565b6119426143fa565b73ffffffffffffffffffffffffffffffffffffffff16611960612faa565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90615003565b60405180910390fd5b80600f8190555050565b6119c86143fa565b73ffffffffffffffffffffffffffffffffffffffff166119e6612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390615003565b60405180910390fd5b6013544211611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a77906150d2565b60405180910390fd5b60001515601560019054906101000a900460ff16151514611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90615381565b60405180910390fd5b600a5481511115611b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b13906153ed565b60405180910390fd5b60005b8151811015611c1357600160186000848481518110611b4157611b4061515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160016101000a81548160ff02191690831515021790555060055460186000848481518110611bb757611bb661515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501819055508080611c0b9061518d565b915050611b1f565b506001601560016101000a81548160ff02191690831515021790555050565b611c3a6143fa565b73ffffffffffffffffffffffffffffffffffffffff16611c58612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca590615003565b60405180910390fd5b8060078190555050565b611cc06143fa565b73ffffffffffffffffffffffffffffffffffffffff16611cde612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2b90615003565b60405180910390fd5b80600d8190555050565b611d466143fa565b73ffffffffffffffffffffffffffffffffffffffff16611d64612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db190615003565b60405180910390fd5b806004819055507f1b55d9f7002bda4490f467e326f22a4a847629c0f2d1ed421607d318d25b410d81604051611df091906148a6565b60405180910390a150565b611e036143fa565b73ffffffffffffffffffffffffffffffffffffffff16611e21612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6e90615003565b60405180910390fd5b611e816000614464565b565b611e8b6143fa565b73ffffffffffffffffffffffffffffffffffffffff16611ea9612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef690615003565b60405180910390fd5b60005b8151811015611f9057600160166000848481518110611f2457611f2361515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611f889061518d565b915050611f02565b5050565b60035481565b600260015403611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690615459565b60405180910390fd5b6002600181905550611fef61189e565b1561202f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612026906154c5565b60405180910390fd5b6013544210801561204257506012544210155b612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890615531565b60405180910390fd5b6005543410156120c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bd9061559d565b60405180910390fd5b6000601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154111561229057601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101543411612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c9061562f565b60405180910390fd5b612243601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461452a565b5034601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018190555061242c565b6122986146ea565b33816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050348160200181815250504281606001818152505060008160a00190151590811515815250506000816080019015159081151581525050600081604001901515908115158152505060008160c001818152505080601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff0219169083151502179055506060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555060a08201518160040160016101000a81548160ff02191690831515021790555060c08201518160050155905050505b7f4c59a472ced976904d21e373e2f2d8326defffabfe087e3d7886f0c516495ba733601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015460006040516124a29392919061564f565b60405180910390a160018081905550565b6124bb6143fa565b73ffffffffffffffffffffffffffffffffffffffff166124d9612faa565b73ffffffffffffffffffffffffffffffffffffffff161461252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252690615003565b60405180910390fd5b6125376145f5565b565b6125416143fa565b73ffffffffffffffffffffffffffffffffffffffff1661255f612faa565b73ffffffffffffffffffffffffffffffffffffffff16146125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90615003565b60405180910390fd5b6002600154036125fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f190615459565b60405180910390fd5b60026001819055506013544211612646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263d906156d2565b60405180910390fd5b60011515601560009054906101000a900460ff16151514801561267c575060011515601560019054906101000a900460ff161515145b6126bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b29061573e565b60405180910390fd5b60005b8151811015612e0d5760011515601860008484815181106126e2576126e161515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160019054906101000a900460ff1615151480156127b15750600015156018600084848151811061275a5761275961515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900460ff161515145b801561282a575060001515601860008484815181106127d3576127d261515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161515145b15612b71576000601860008484815181106128485761284761515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060050154601860008585815181106128a5576128a461515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546128f5919061575e565b905060008111156129c85760008383815181106129155761291461515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1682604051612940906152b4565b60006040518083038185875af1925050503d806000811461297d576040519150601f19603f3d011682016040523d82523d6000602084013e612982565b606091505b50509050806129c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bd90615804565b60405180910390fd5b505b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842848481518110612a1957612a1861515e565b5b60200260200101516040518263ffffffff1660e01b8152600401612a3d9190614db2565b6020604051808303816000875af1158015612a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a8091906151ea565b50600160186000858581518110612a9a57612a9961515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160006101000a81548160ff021916908315150217905550600160186000858581518110612b0f57612b0e61515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555050612dfa565b6000151560186000848481518110612b8c57612b8b61515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160019054906101000a900460ff161515148015612c5b57506000151560186000848481518110612c0457612c0361515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161515145b15612df9576000828281518110612c7557612c7461515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1660186000858581518110612caa57612ca961515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154604051612cfc906152b4565b60006040518083038185875af1925050503d8060008114612d39576040519150601f19603f3d011682016040523d82523d6000602084013e612d3e565b606091505b5050905080612d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7990615870565b60405180910390fd5b600160186000858581518110612d9b57612d9a61515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff021916908315150217905550505b5b8080612e059061518d565b9150506126be565b506001808190555050565b612e206143fa565b73ffffffffffffffffffffffffffffffffffffffff16612e3e612faa565b73ffffffffffffffffffffffffffffffffffffffff1614612e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8b90615003565b60405180910390fd5b8060058190555050565b612ea66143fa565b73ffffffffffffffffffffffffffffffffffffffff16612ec4612faa565b73ffffffffffffffffffffffffffffffffffffffff1614612f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1190615003565b60405180910390fd5b80600e8190555050565b612f2c6143fa565b73ffffffffffffffffffffffffffffffffffffffff16612f4a612faa565b73ffffffffffffffffffffffffffffffffffffffff1614612fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9790615003565b60405180910390fd5b8060138190555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601560039054906101000a900460ff1681565b600f5481565b60075481565b612ffb6143fa565b73ffffffffffffffffffffffffffffffffffffffff16613019612faa565b73ffffffffffffffffffffffffffffffffffffffff161461306f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306690615003565b60405180910390fd5b80600e5410156130b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ab906158dc565b60405180910390fd5b6011544211156130f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f090615948565b60405180910390fd5b60005b818110156131b657601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842846040518263ffffffff1660e01b815260040161315f9190614db2565b6020604051808303816000875af115801561317e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a291906151ea565b5080806131ae9061518d565b9150506130fc565b5080600e60008282546131c9919061575e565b92505081905550600a54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613240573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326491906151ea565b600d54613271919061575e565b61327b919061575e565b600b819055505050565b61328d6143fa565b73ffffffffffffffffffffffffffffffffffffffff166132ab612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f890615003565b60405180910390fd5b60005b8151811015613392576000601660008484815181106133265761332561515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061338a9061518d565b915050613304565b5050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560019054906101000a900460ff1681565b600b5481565b600f5442101580156133e957506011544211155b613428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341f906159b4565b60405180910390fd5b8060075461343691906159d4565b341015613478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346f90615a62565b60405180910390fd5b60011515601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461350b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350290615ace565b60405180910390fd5b600081600c5461351b919061575e565b101561355c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355390615b3a565b60405180910390fd5b60005b8181101561363157601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b81526004016135c29190614db2565b6020604051808303816000875af11580156135e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360591906151ea565b50600c600081548092919061361990615b5a565b919050555080806136299061518d565b91505061355f565b506000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061371e91906151ea565b600d5461372b919061575e565b613735919061575e565b600b819055503373ffffffffffffffffffffffffffffffffffffffff167f016393cb290ab38948527bb115688745c29b0a40d90372d61c7f232ecf65286260405160405180910390a250565b6137896143fa565b73ffffffffffffffffffffffffffffffffffffffff166137a7612faa565b73ffffffffffffffffffffffffffffffffffffffff16146137fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f490615003565b60405180910390fd5b8060108190555050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b600e5481565b6138416143fa565b73ffffffffffffffffffffffffffffffffffffffff1661385f612faa565b73ffffffffffffffffffffffffffffffffffffffff16146138b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ac90615003565b60405180910390fd5b8060038190555050565b600260015403613904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fb90615459565b60405180910390fd5b600260018190555061391461189e565b15613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b906154c5565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638a333b506040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e591906151ea565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a7691906151ea565b10613a8057600080fd5b60011515601560049054906101000a900460ff16151514613ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613acd90615bcf565b60405180910390fd5b600554341015613b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1290615c3b565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b8152600401613b769190614db2565b6020604051808303816000875af1158015613b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bb991906151ea565b50600b6000815480929190613bcd90615b5a565b919050555060018081905550565b60055481565b601560029054906101000a900460ff1681565b600d5481565b6000806000806000806000806000806000600b54601254601354601454601560009054906101000a900460ff16601560029054906101000a900460ff16601560039054906101000a900460ff166004546008546005546006549a509a509a509a509a509a509a509a509a509a509a50909192939495969798999a565b613c7e6143fa565b73ffffffffffffffffffffffffffffffffffffffff16613c9c612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce990615003565b60405180910390fd5b8060128190555050565b613d046143fa565b73ffffffffffffffffffffffffffffffffffffffff16613d22612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d6f90615003565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a3f300c826040518263ffffffff1660e01b8152600401613dd39190614bc1565b600060405180830381600087803b158015613ded57600080fd5b505af1158015613e01573d6000803e3d6000fd5b5050505050565b613e106143fa565b73ffffffffffffffffffffffffffffffffffffffff16613e2e612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7b90615003565b60405180910390fd5b60001515601560029054906101000a900460ff16151514613eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ed19061513e565b60405180910390fd5b601560029054906101000a900460ff1615601560026101000a81548160ff021916908315150217905550565b60045481565b613f146143fa565b73ffffffffffffffffffffffffffffffffffffffff16613f32612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f7f90615003565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fee90615ccd565b60405180910390fd5b61400081614464565b50565b61400b6143fa565b73ffffffffffffffffffffffffffffffffffffffff16614029612faa565b73ffffffffffffffffffffffffffffffffffffffff161461407f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407690615003565b60405180910390fd5b806008819055507faab6389d8f1c16ba1deb6e9831f5c5442cf4fcf99bf5bfa867460be408a91118816040516140b591906148a6565b60405180910390a150565b6140c86143fa565b73ffffffffffffffffffffffffffffffffffffffff166140e6612faa565b73ffffffffffffffffffffffffffffffffffffffff161461413c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161413390615003565b60405180910390fd5b80600b8190555050565b600c5481565b6141546143fa565b73ffffffffffffffffffffffffffffffffffffffff16614172612faa565b73ffffffffffffffffffffffffffffffffffffffff16146141c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141bf90615003565b60405180910390fd5b8051600e54101561420e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614205906158dc565b60405180910390fd5b601154421115614253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161424a90615948565b60405180910390fd5b60005b815181101561432b57601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a6278428383815181106142b0576142af61515e565b5b60200260200101516040518263ffffffff1660e01b81526004016142d49190614db2565b6020604051808303816000875af11580156142f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061431791906151ea565b5080806143239061518d565b915050614256565b508051600e600082825461433f919061575e565b92505081905550600a54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156143b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143da91906151ea565b600d546143e7919061575e565b6143f1919061575e565b600b8190555050565b600033905090565b61440a614657565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61444d6143fa565b60405161445a9190614db2565b60405180910390a1565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808373ffffffffffffffffffffffffffffffffffffffff168361753090600067ffffffffffffffff81111561456457614563614943565b5b6040519080825280601f01601f1916602001820160405280156145965781602001600182028036833780820191505090505b506040516145a49190615d53565b600060405180830381858888f193505050503d80600081146145e2576040519150601f19603f3d011682016040523d82523d6000602084013e6145e7565b606091505b505090508091505092915050565b6145fd6146a0565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586146406143fa565b60405161464d9190614db2565b60405180910390a1565b61465f61189e565b61469e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161469590615db6565b60405180910390fd5b565b6146a861189e565b156146e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146df90615e22565b60405180910390fd5b565b6040518060e00160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160001515815260200160008152602001600015158152602001600015158152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061478282614757565b9050919050565b61479281614777565b811461479d57600080fd5b50565b6000813590506147af81614789565b92915050565b6000602082840312156147cb576147ca61474d565b5b60006147d9848285016147a0565b91505092915050565b60006147ed82614757565b9050919050565b6147fd816147e2565b82525050565b6000819050919050565b61481681614803565b82525050565b60008115159050919050565b6148318161481c565b82525050565b600060e08201905061484c600083018a6147f4565b614859602083018961480d565b6148666040830188614828565b614873606083018761480d565b6148806080830186614828565b61488d60a0830185614828565b61489a60c083018461480d565b98975050505050505050565b60006020820190506148bb600083018461480d565b92915050565b6148ca81614803565b81146148d557600080fd5b50565b6000813590506148e7816148c1565b92915050565b600080604083850312156149045761490361474d565b5b6000614912858286016148d8565b9250506020614923858286016148d8565b9150509250929050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61497b82614932565b810181811067ffffffffffffffff8211171561499a57614999614943565b5b80604052505050565b60006149ad614743565b90506149b98282614972565b919050565b600067ffffffffffffffff8211156149d9576149d8614943565b5b602082029050602081019050919050565b600080fd5b6000614a026149fd846149be565b6149a3565b90508083825260208201905060208402830185811115614a2557614a246149ea565b5b835b81811015614a4e5780614a3a88826147a0565b845260208401935050602081019050614a27565b5050509392505050565b600082601f830112614a6d57614a6c61492d565b5b8135614a7d8482602086016149ef565b91505092915050565b600067ffffffffffffffff821115614aa157614aa0614943565b5b602082029050602081019050919050565b6000614ac5614ac084614a86565b6149a3565b90508083825260208201905060208402830185811115614ae857614ae76149ea565b5b835b81811015614b115780614afd88826148d8565b845260208401935050602081019050614aea565b5050509392505050565b600082601f830112614b3057614b2f61492d565b5b8135614b40848260208601614ab2565b91505092915050565b60008060408385031215614b6057614b5f61474d565b5b600083013567ffffffffffffffff811115614b7e57614b7d614752565b5b614b8a85828601614a58565b925050602083013567ffffffffffffffff811115614bab57614baa614752565b5b614bb785828601614b1b565b9150509250929050565b6000602082019050614bd66000830184614828565b92915050565b600061012082019050614bf2600083018c61480d565b614bff602083018b61480d565b614c0c604083018a61480d565b614c19606083018961480d565b614c266080830188614828565b614c3360a0830187614828565b614c4060c083018661480d565b614c4d60e083018561480d565b614c5b61010083018461480d565b9a9950505050505050505050565b614c72816147e2565b8114614c7d57600080fd5b50565b600081359050614c8f81614c69565b92915050565b600060208284031215614cab57614caa61474d565b5b6000614cb984828501614c80565b91505092915050565b600060208284031215614cd857614cd761474d565b5b6000614ce6848285016148d8565b91505092915050565b6000614cfa82614777565b9050919050565b614d0a81614cef565b8114614d1557600080fd5b50565b600081359050614d2781614d01565b92915050565b600060208284031215614d4357614d4261474d565b5b6000614d5184828501614d18565b91505092915050565b600060208284031215614d7057614d6f61474d565b5b600082013567ffffffffffffffff811115614d8e57614d8d614752565b5b614d9a84828501614a58565b91505092915050565b614dac81614777565b82525050565b6000602082019050614dc76000830184614da3565b92915050565b60008060408385031215614de457614de361474d565b5b6000614df2858286016147a0565b9250506020614e03858286016148d8565b9150509250929050565b6000602082019050614e2260008301846147f4565b92915050565b6000819050919050565b6000614e4d614e48614e4384614757565b614e28565b614757565b9050919050565b6000614e5f82614e32565b9050919050565b6000614e7182614e54565b9050919050565b614e8181614e66565b82525050565b6000602082019050614e9c6000830184614e78565b92915050565b600061016082019050614eb8600083018e61480d565b614ec5602083018d61480d565b614ed2604083018c61480d565b614edf606083018b61480d565b614eec608083018a614828565b614ef960a0830189614828565b614f0660c0830188614828565b614f1360e083018761480d565b614f2161010083018661480d565b614f2f61012083018561480d565b614f3d61014083018461480d565b9c9b505050505050505050505050565b614f568161481c565b8114614f6157600080fd5b50565b600081359050614f7381614f4d565b92915050565b600060208284031215614f8f57614f8e61474d565b5b6000614f9d84828501614f64565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614fed602083614fa6565b9150614ff882614fb7565b602082019050919050565b6000602082019050818103600083015261501c81614fe0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061505d82614803565b915061506883614803565b92508282019050808211156150805761507f615023565b5b92915050565b7f41756374696f6e206e6f74206f766572207965742e0000000000000000000000600082015250565b60006150bc601583614fa6565b91506150c782615086565b602082019050919050565b600060208201905081810360008301526150eb816150af565b9050919050565b7f41756374696f6e20616c726561647920736574746c6564000000000000000000600082015250565b6000615128601783614fa6565b9150615133826150f2565b602082019050919050565b600060208201905081810360008301526151578161511b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061519882614803565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036151ca576151c9615023565b5b600182019050919050565b6000815190506151e4816148c1565b92915050565b600060208284031215615200576151ff61474d565b5b600061520e848285016151d5565b91505092915050565b7f41756374696f6e206e6f7420736574746c65647c7c6e6f7420656e6465642e00600082015250565b600061524d601f83614fa6565b915061525882615217565b602082019050919050565b6000602082019050818103600083015261527c81615240565b9050919050565b600081905092915050565b50565b600061529e600083615283565b91506152a98261528e565b600082019050919050565b60006152bf82615291565b9150819050919050565b7f4661696c656420746f2073656e6420746f2070617965652e0000000000000000600082015250565b60006152ff601883614fa6565b915061530a826152c9565b602082019050919050565b6000602082019050818103600083015261532e816152f2565b9050919050565b7f526166666c6520616c726561647920736574746c656400000000000000000000600082015250565b600061536b601683614fa6565b915061537682615335565b602082019050919050565b6000602082019050818103600083015261539a8161535e565b9050919050565b7f496e636f7272656374206e756d626572206f662077696e6e6572730000000000600082015250565b60006153d7601b83614fa6565b91506153e2826153a1565b602082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615443601f83614fa6565b915061544e8261540d565b602082019050919050565b6000602082019050818103600083015261547281615436565b9050919050565b7f41756374696f6e486f7573653a20706175736564000000000000000000000000600082015250565b60006154af601483614fa6565b91506154ba82615479565b602082019050919050565b600060208201905081810360008301526154de816154a2565b9050919050565b7f4f7574736964652061756374696f6e2077696e646f772e000000000000000000600082015250565b600061551b601783614fa6565b9150615526826154e5565b602082019050919050565b6000602082019050818103600083015261554a8161550e565b9050919050565b7f42696420616d6f756e7420746f6f206c6f772e00000000000000000000000000600082015250565b6000615587601383614fa6565b915061559282615551565b602082019050919050565b600060208201905081810360008301526155b68161557a565b9050919050565b7f596f752063616e206f6e6c7920696e63726561736520796f7572206269642c2060008201527f6e6f742064656372656173652e00000000000000000000000000000000000000602082015250565b6000615619602d83614fa6565b9150615624826155bd565b604082019050919050565b600060208201905081810360008301526156488161560c565b9050919050565b60006060820190506156646000830186614da3565b615671602083018561480d565b61567e6040830184614828565b949350505050565b7f41756374696f6e206861736e277420656e6465642e0000000000000000000000600082015250565b60006156bc601583614fa6565b91506156c782615686565b602082019050919050565b600060208201905081810360008301526156eb816156af565b9050919050565b7f41756374696f6e2077696e6e657273206e6f7420736574000000000000000000600082015250565b6000615728601783614fa6565b9150615733826156f2565b602082019050919050565b600060208201905081810360008301526157578161571b565b9050919050565b600061576982614803565b915061577483614803565b925082820390508181111561578c5761578b615023565b5b92915050565b7f4661696c656420746f20726566756e6420646966666572656e636520746f207760008201527f696e6e65722e0000000000000000000000000000000000000000000000000000602082015250565b60006157ee602683614fa6565b91506157f982615792565b604082019050919050565b6000602082019050818103600083015261581d816157e1565b9050919050565b7f4661696c656420746f2073656e6420726566756e6420746f206c6f7365722e00600082015250565b600061585a601f83614fa6565b915061586582615824565b602082019050919050565b600060208201905081810360008301526158898161584d565b9050919050565b7f4e6f7420656e6f7567682070726f6d6f20737570706c79000000000000000000600082015250565b60006158c6601783614fa6565b91506158d182615890565b602082019050919050565b600060208201905081810360008301526158f5816158b9565b9050919050565b7f4f7574736964652070726f6d6f206d696e742077696e646f7700000000000000600082015250565b6000615932601983614fa6565b915061593d826158fc565b602082019050919050565b6000602082019050818103600083015261596181615925565b9050919050565b7f4f75747369646520616c6c6f776c6973742077696e646f770000000000000000600082015250565b600061599e601883614fa6565b91506159a982615968565b602082019050919050565b600060208201905081810360008301526159cd81615991565b9050919050565b60006159df82614803565b91506159ea83614803565b92508282026159f881614803565b91508282048414831517615a0f57615a0e615023565b5b5092915050565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b6000615a4c601383614fa6565b9150615a5782615a16565b602082019050919050565b60006020820190508181036000830152615a7b81615a3f565b9050919050565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b6000615ab8601083614fa6565b9150615ac382615a82565b602082019050919050565b60006020820190508181036000830152615ae781615aab565b9050919050565b7f4e6f206d6f726520616c6c6f776c69737420737570706c790000000000000000600082015250565b6000615b24601883614fa6565b9150615b2f82615aee565b602082019050919050565b60006020820190508181036000830152615b5381615b17565b9050919050565b6000615b6582614803565b915060008203615b7857615b77615023565b5b600182039050919050565b7f4e6f7420617574686f72697a65642e0000000000000000000000000000000000600082015250565b6000615bb9600f83614fa6565b9150615bc482615b83565b602082019050919050565b60006020820190508181036000830152615be881615bac565b9050919050565b7f416d6f756e7420746f6f206c6f772e0000000000000000000000000000000000600082015250565b6000615c25600f83614fa6565b9150615c3082615bef565b602082019050919050565b60006020820190508181036000830152615c5481615c18565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615cb7602683614fa6565b9150615cc282615c5b565b604082019050919050565b60006020820190508181036000830152615ce681615caa565b9050919050565b600081519050919050565b60005b83811015615d16578082015181840152602081019050615cfb565b60008484015250505050565b6000615d2d82615ced565b615d378185615283565b9350615d47818560208601615cf8565b80840191505092915050565b6000615d5f8284615d22565b915081905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615da0601483614fa6565b9150615dab82615d6a565b602082019050919050565b60006020820190508181036000830152615dcf81615d93565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615e0c601083614fa6565b9150615e1782615dd6565b602082019050919050565b60006020820190508181036000830152615e3b81615dff565b905091905056fea26469706673582212206ce387341c7207e21bd4d6bcb4a0471cc3f912faae1bc4623384c29cc6b8c98664736f6c6343000811003300000000000000000000000046140c04573ed18a9942a7f2f49feecc6a1652bf
Deployed Bytecode
0x6080604052600436106103d95760003560e01c8063852fedc9116101fd578063c403b5b211610118578063d9ad7f91116100ab578063f2fde38b1161007a578063f2fde38b14610d62578063f6be71d114610d8b578063fc3a635314610db4578063fd49af1314610ddd578063fe3e492d14610e08576103d9565b8063d9ad7f9114610cce578063e0a8085314610cf7578063e30ac00314610d20578063ec91f2a414610d37576103d9565b8063d3a86386116100e7578063d3a8638614610c18578063d3e761a414610c43578063d5abeb0114610c6e578063d94a350514610c99576103d9565b8063c403b5b214610b8f578063d1b7bda314610bba578063d2b898df14610be5578063d2eb86ee14610c0e576103d9565b8063a2a3eb4d11610190578063ba060b7d1161015f578063ba060b7d14610af4578063c180526a14610b1f578063c1b819b914610b3b578063c3dabfd514610b64576103d9565b8063a2a3eb4d14610a4c578063a51312c814610a75578063ae90b21314610a9e578063b59f6bf514610ac9576103d9565b80638da5cb5b116101cc5780638da5cb5b146109a05780638f775839146109cb57806393f6a516146109f6578063a24e515314610a21576103d9565b8063852fedc9146108fc57806386495b04146109255780638a64bbf01461094e5780638d57c9a914610977576103d9565b806355ee09d7116102f85780636d8aded11161028b578063715018a61161025a578063715018a6146108705780637263cfe21461088757806380a06f97146108b057806383624074146108db5780638456cb59146108e5576103d9565b80636d8aded1146107cc5780636df9fa88146107f55780636f8b44b01461081e5780637120334b14610847576103d9565b8063599d127a116102c7578063599d127a146107245780635c975abb1461074f57806365d634c51461077a5780636a7917cc146107a3576103d9565b806355ee09d71461069057806355f15f0c146106b957806356f8f78c146106e457806358d5d666146106fb576103d9565b806329823028116103705780633f17d40a1161033f5780633f17d40a146105fc5780633f4ba83a14610627578063410459ad1461063e578063510f615a14610667576103d9565b8063298230281461055c578063335b115e1461058f57806333bc1c5c146105ba5780633ccfd60b146105e5576103d9565b80631eb8b343116103ac5780631eb8b343146104a257806322434836146104cd57806323ab54b5146104f65780632848aeaf1461051f576103d9565b80630251e03e146103de5780630fb5a6b41461042157806312300ba41461044c57806313cabd6914610477575b600080fd5b3480156103ea57600080fd5b50610405600480360381019061040091906147b5565b610e31565b6040516104189796959493929190614837565b60405180910390f35b34801561042d57600080fd5b50610436610eba565b60405161044391906148a6565b60405180910390f35b34801561045857600080fd5b50610461610ec0565b60405161046e91906148a6565b60405180910390f35b34801561048357600080fd5b5061048c610ec6565b60405161049991906148a6565b60405180910390f35b3480156104ae57600080fd5b506104b7610ecc565b6040516104c491906148a6565b60405180910390f35b3480156104d957600080fd5b506104f460048036038101906104ef91906148ed565b610ed2565b005b34801561050257600080fd5b5061051d60048036038101906105189190614b49565b610fa9565b005b34801561052b57600080fd5b50610546600480360381019061054191906147b5565b6111ee565b6040516105539190614bc1565b60405180910390f35b34801561056857600080fd5b5061057161120e565b60405161058699989796959493929190614bdc565b60405180910390f35b34801561059b57600080fd5b506105a46112fc565b6040516105b191906148a6565b60405180910390f35b3480156105c657600080fd5b506105cf611302565b6040516105dc9190614bc1565b60405180910390f35b3480156105f157600080fd5b506105fa611315565b005b34801561060857600080fd5b506106116114c5565b60405161061e91906148a6565b60405180910390f35b34801561063357600080fd5b5061063c6114cb565b005b34801561064a57600080fd5b5061066560048036038101906106609190614c95565b611551565b005b34801561067357600080fd5b5061068e60048036038101906106899190614cc2565b611611565b005b34801561069c57600080fd5b506106b760048036038101906106b29190614cc2565b611697565b005b3480156106c557600080fd5b506106ce61171d565b6040516106db9190614bc1565b60405180910390f35b3480156106f057600080fd5b506106f9611730565b005b34801561070757600080fd5b50610722600480360381019061071d9190614d2d565b6117d8565b005b34801561073057600080fd5b50610739611898565b60405161074691906148a6565b60405180910390f35b34801561075b57600080fd5b5061076461189e565b6040516107719190614bc1565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190614cc2565b6118b4565b005b3480156107af57600080fd5b506107ca60048036038101906107c59190614cc2565b61193a565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190614d5a565b6119c0565b005b34801561080157600080fd5b5061081c60048036038101906108179190614cc2565b611c32565b005b34801561082a57600080fd5b5061084560048036038101906108409190614cc2565b611cb8565b005b34801561085357600080fd5b5061086e60048036038101906108699190614cc2565b611d3e565b005b34801561087c57600080fd5b50610885611dfb565b005b34801561089357600080fd5b506108ae60048036038101906108a99190614d5a565b611e83565b005b3480156108bc57600080fd5b506108c5611f94565b6040516108d291906148a6565b60405180910390f35b6108e3611f9a565b005b3480156108f157600080fd5b506108fa6124b3565b005b34801561090857600080fd5b50610923600480360381019061091e9190614d5a565b612539565b005b34801561093157600080fd5b5061094c60048036038101906109479190614cc2565b612e18565b005b34801561095a57600080fd5b5061097560048036038101906109709190614cc2565b612e9e565b005b34801561098357600080fd5b5061099e60048036038101906109999190614cc2565b612f24565b005b3480156109ac57600080fd5b506109b5612faa565b6040516109c29190614db2565b60405180910390f35b3480156109d757600080fd5b506109e0612fd4565b6040516109ed9190614bc1565b60405180910390f35b348015610a0257600080fd5b50610a0b612fe7565b604051610a1891906148a6565b60405180910390f35b348015610a2d57600080fd5b50610a36612fed565b604051610a4391906148a6565b60405180910390f35b348015610a5857600080fd5b50610a736004803603810190610a6e9190614dcd565b612ff3565b005b348015610a8157600080fd5b50610a9c6004803603810190610a979190614d5a565b613285565b005b348015610aaa57600080fd5b50610ab3613396565b604051610ac09190614e0d565b60405180910390f35b348015610ad557600080fd5b50610ade6133bc565b604051610aeb9190614bc1565b60405180910390f35b348015610b0057600080fd5b50610b096133cf565b604051610b1691906148a6565b60405180910390f35b610b396004803603810190610b349190614cc2565b6133d5565b005b348015610b4757600080fd5b50610b626004803603810190610b5d9190614cc2565b613781565b005b348015610b7057600080fd5b50610b79613807565b604051610b869190614e87565b60405180910390f35b348015610b9b57600080fd5b50610ba461382d565b604051610bb191906148a6565b60405180910390f35b348015610bc657600080fd5b50610bcf613833565b604051610bdc91906148a6565b60405180910390f35b348015610bf157600080fd5b50610c0c6004803603810190610c079190614cc2565b613839565b005b610c166138bf565b005b348015610c2457600080fd5b50610c2d613bdb565b604051610c3a91906148a6565b60405180910390f35b348015610c4f57600080fd5b50610c58613be1565b604051610c659190614bc1565b60405180910390f35b348015610c7a57600080fd5b50610c83613bf4565b604051610c9091906148a6565b60405180910390f35b348015610ca557600080fd5b50610cae613bfa565b604051610cc59b9a99989796959493929190614ea2565b60405180910390f35b348015610cda57600080fd5b50610cf56004803603810190610cf09190614cc2565b613c76565b005b348015610d0357600080fd5b50610d1e6004803603810190610d199190614f79565b613cfc565b005b348015610d2c57600080fd5b50610d35613e08565b005b348015610d4357600080fd5b50610d4c613f06565b604051610d5991906148a6565b60405180910390f35b348015610d6e57600080fd5b50610d896004803603810190610d8491906147b5565b613f0c565b005b348015610d9757600080fd5b50610db26004803603810190610dad9190614cc2565b614003565b005b348015610dc057600080fd5b50610ddb6004803603810190610dd69190614cc2565b6140c0565b005b348015610de957600080fd5b50610df2614146565b604051610dff91906148a6565b60405180910390f35b348015610e1457600080fd5b50610e2f6004803603810190610e2a9190614d5a565b61414c565b005b60186020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020160009054906101000a900460ff16908060030154908060040160009054906101000a900460ff16908060040160019054906101000a900460ff16908060050154905087565b60085481565b60145481565b60125481565b60105481565b610eda6143fa565b73ffffffffffffffffffffffffffffffffffffffff16610ef8612faa565b73ffffffffffffffffffffffffffffffffffffffff1614610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4590615003565b60405180910390fd5b605a82610f5b9190615052565b600f81905550605a82610f6e9190615052565b60108190555080601054610f829190615052565b60118190555060115460128190555080601254610f9f9190615052565b6013819055505050565b610fb16143fa565b73ffffffffffffffffffffffffffffffffffffffff16610fcf612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c90615003565b60405180910390fd5b6013544211611069576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611060906150d2565b60405180910390fd5b60001515601560009054906101000a900460ff161515146110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b69061513e565b60405180910390fd5b60005b82518110156111ce576001601860008584815181106110e4576110e361515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160016101000a81548160ff0219169083151502179055508181815181106111535761115261515e565b5b6020026020010151601860008584815181106111725761117161515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206005018190555080806111c69061518d565b9150506110c2565b506001601560006101000a81548160ff0219169083151502179055505050565b60166020528060005260406000206000915054906101000a900460ff1681565b6000806000806000806000806000600a54600754601054601154601560019054906101000a900460ff16601560049054906101000a900460ff16600c54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc91906151ea565b600f54985098509850985098509850985098509850909192939495969798565b60065481565b601560049054906101000a900460ff1681565b61131d6143fa565b73ffffffffffffffffffffffffffffffffffffffff1661133b612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890615003565b60405180910390fd5b60011515601560029054906101000a900460ff1615151480156113b5575060135442115b6113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb90615263565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161143c906152b4565b60006040518083038185875af1925050503d8060008114611479576040519150601f19603f3d011682016040523d82523d6000602084013e61147e565b606091505b50509050806114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990615315565b60405180910390fd5b50565b60115481565b6114d36143fa565b73ffffffffffffffffffffffffffffffffffffffff166114f1612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90615003565b60405180910390fd5b61154f614402565b565b6115596143fa565b73ffffffffffffffffffffffffffffffffffffffff16611577612faa565b73ffffffffffffffffffffffffffffffffffffffff16146115cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c490615003565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6116196143fa565b73ffffffffffffffffffffffffffffffffffffffff16611637612faa565b73ffffffffffffffffffffffffffffffffffffffff161461168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490615003565b60405180910390fd5b8060118190555050565b61169f6143fa565b73ffffffffffffffffffffffffffffffffffffffff166116bd612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a90615003565b60405180910390fd5b8060068190555050565b601560009054906101000a900460ff1681565b6117386143fa565b73ffffffffffffffffffffffffffffffffffffffff16611756612faa565b73ffffffffffffffffffffffffffffffffffffffff16146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390615003565b60405180910390fd5b601560049054906101000a900460ff1615601560046101000a81548160ff021916908315150217905550565b6117e06143fa565b73ffffffffffffffffffffffffffffffffffffffff166117fe612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90615003565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b60008060009054906101000a900460ff16905090565b6118bc6143fa565b73ffffffffffffffffffffffffffffffffffffffff166118da612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192790615003565b60405180910390fd5b80600a8190555050565b6119426143fa565b73ffffffffffffffffffffffffffffffffffffffff16611960612faa565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90615003565b60405180910390fd5b80600f8190555050565b6119c86143fa565b73ffffffffffffffffffffffffffffffffffffffff166119e6612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390615003565b60405180910390fd5b6013544211611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a77906150d2565b60405180910390fd5b60001515601560019054906101000a900460ff16151514611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90615381565b60405180910390fd5b600a5481511115611b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b13906153ed565b60405180910390fd5b60005b8151811015611c1357600160186000848481518110611b4157611b4061515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160016101000a81548160ff02191690831515021790555060055460186000848481518110611bb757611bb661515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501819055508080611c0b9061518d565b915050611b1f565b506001601560016101000a81548160ff02191690831515021790555050565b611c3a6143fa565b73ffffffffffffffffffffffffffffffffffffffff16611c58612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca590615003565b60405180910390fd5b8060078190555050565b611cc06143fa565b73ffffffffffffffffffffffffffffffffffffffff16611cde612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2b90615003565b60405180910390fd5b80600d8190555050565b611d466143fa565b73ffffffffffffffffffffffffffffffffffffffff16611d64612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db190615003565b60405180910390fd5b806004819055507f1b55d9f7002bda4490f467e326f22a4a847629c0f2d1ed421607d318d25b410d81604051611df091906148a6565b60405180910390a150565b611e036143fa565b73ffffffffffffffffffffffffffffffffffffffff16611e21612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6e90615003565b60405180910390fd5b611e816000614464565b565b611e8b6143fa565b73ffffffffffffffffffffffffffffffffffffffff16611ea9612faa565b73ffffffffffffffffffffffffffffffffffffffff1614611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef690615003565b60405180910390fd5b60005b8151811015611f9057600160166000848481518110611f2457611f2361515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611f889061518d565b915050611f02565b5050565b60035481565b600260015403611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690615459565b60405180910390fd5b6002600181905550611fef61189e565b1561202f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612026906154c5565b60405180910390fd5b6013544210801561204257506012544210155b612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890615531565b60405180910390fd5b6005543410156120c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bd9061559d565b60405180910390fd5b6000601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154111561229057601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101543411612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c9061562f565b60405180910390fd5b612243601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461452a565b5034601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018190555061242c565b6122986146ea565b33816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050348160200181815250504281606001818152505060008160a00190151590811515815250506000816080019015159081151581525050600081604001901515908115158152505060008160c001818152505080601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff0219169083151502179055506060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555060a08201518160040160016101000a81548160ff02191690831515021790555060c08201518160050155905050505b7f4c59a472ced976904d21e373e2f2d8326defffabfe087e3d7886f0c516495ba733601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015460006040516124a29392919061564f565b60405180910390a160018081905550565b6124bb6143fa565b73ffffffffffffffffffffffffffffffffffffffff166124d9612faa565b73ffffffffffffffffffffffffffffffffffffffff161461252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252690615003565b60405180910390fd5b6125376145f5565b565b6125416143fa565b73ffffffffffffffffffffffffffffffffffffffff1661255f612faa565b73ffffffffffffffffffffffffffffffffffffffff16146125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90615003565b60405180910390fd5b6002600154036125fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f190615459565b60405180910390fd5b60026001819055506013544211612646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263d906156d2565b60405180910390fd5b60011515601560009054906101000a900460ff16151514801561267c575060011515601560019054906101000a900460ff161515145b6126bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b29061573e565b60405180910390fd5b60005b8151811015612e0d5760011515601860008484815181106126e2576126e161515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160019054906101000a900460ff1615151480156127b15750600015156018600084848151811061275a5761275961515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900460ff161515145b801561282a575060001515601860008484815181106127d3576127d261515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161515145b15612b71576000601860008484815181106128485761284761515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060050154601860008585815181106128a5576128a461515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546128f5919061575e565b905060008111156129c85760008383815181106129155761291461515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1682604051612940906152b4565b60006040518083038185875af1925050503d806000811461297d576040519150601f19603f3d011682016040523d82523d6000602084013e612982565b606091505b50509050806129c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bd90615804565b60405180910390fd5b505b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842848481518110612a1957612a1861515e565b5b60200260200101516040518263ffffffff1660e01b8152600401612a3d9190614db2565b6020604051808303816000875af1158015612a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a8091906151ea565b50600160186000858581518110612a9a57612a9961515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160006101000a81548160ff021916908315150217905550600160186000858581518110612b0f57612b0e61515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555050612dfa565b6000151560186000848481518110612b8c57612b8b61515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160019054906101000a900460ff161515148015612c5b57506000151560186000848481518110612c0457612c0361515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161515145b15612df9576000828281518110612c7557612c7461515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1660186000858581518110612caa57612ca961515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154604051612cfc906152b4565b60006040518083038185875af1925050503d8060008114612d39576040519150601f19603f3d011682016040523d82523d6000602084013e612d3e565b606091505b5050905080612d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7990615870565b60405180910390fd5b600160186000858581518110612d9b57612d9a61515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff021916908315150217905550505b5b8080612e059061518d565b9150506126be565b506001808190555050565b612e206143fa565b73ffffffffffffffffffffffffffffffffffffffff16612e3e612faa565b73ffffffffffffffffffffffffffffffffffffffff1614612e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8b90615003565b60405180910390fd5b8060058190555050565b612ea66143fa565b73ffffffffffffffffffffffffffffffffffffffff16612ec4612faa565b73ffffffffffffffffffffffffffffffffffffffff1614612f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1190615003565b60405180910390fd5b80600e8190555050565b612f2c6143fa565b73ffffffffffffffffffffffffffffffffffffffff16612f4a612faa565b73ffffffffffffffffffffffffffffffffffffffff1614612fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9790615003565b60405180910390fd5b8060138190555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601560039054906101000a900460ff1681565b600f5481565b60075481565b612ffb6143fa565b73ffffffffffffffffffffffffffffffffffffffff16613019612faa565b73ffffffffffffffffffffffffffffffffffffffff161461306f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306690615003565b60405180910390fd5b80600e5410156130b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ab906158dc565b60405180910390fd5b6011544211156130f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f090615948565b60405180910390fd5b60005b818110156131b657601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842846040518263ffffffff1660e01b815260040161315f9190614db2565b6020604051808303816000875af115801561317e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a291906151ea565b5080806131ae9061518d565b9150506130fc565b5080600e60008282546131c9919061575e565b92505081905550600a54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613240573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326491906151ea565b600d54613271919061575e565b61327b919061575e565b600b819055505050565b61328d6143fa565b73ffffffffffffffffffffffffffffffffffffffff166132ab612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f890615003565b60405180910390fd5b60005b8151811015613392576000601660008484815181106133265761332561515e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061338a9061518d565b915050613304565b5050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560019054906101000a900460ff1681565b600b5481565b600f5442101580156133e957506011544211155b613428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341f906159b4565b60405180910390fd5b8060075461343691906159d4565b341015613478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346f90615a62565b60405180910390fd5b60011515601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461350b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350290615ace565b60405180910390fd5b600081600c5461351b919061575e565b101561355c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355390615b3a565b60405180910390fd5b60005b8181101561363157601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b81526004016135c29190614db2565b6020604051808303816000875af11580156135e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360591906151ea565b50600c600081548092919061361990615b5a565b919050555080806136299061518d565b91505061355f565b506000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061371e91906151ea565b600d5461372b919061575e565b613735919061575e565b600b819055503373ffffffffffffffffffffffffffffffffffffffff167f016393cb290ab38948527bb115688745c29b0a40d90372d61c7f232ecf65286260405160405180910390a250565b6137896143fa565b73ffffffffffffffffffffffffffffffffffffffff166137a7612faa565b73ffffffffffffffffffffffffffffffffffffffff16146137fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f490615003565b60405180910390fd5b8060108190555050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b600e5481565b6138416143fa565b73ffffffffffffffffffffffffffffffffffffffff1661385f612faa565b73ffffffffffffffffffffffffffffffffffffffff16146138b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ac90615003565b60405180910390fd5b8060038190555050565b600260015403613904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fb90615459565b60405180910390fd5b600260018190555061391461189e565b15613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b906154c5565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638a333b506040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e591906151ea565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a7691906151ea565b10613a8057600080fd5b60011515601560049054906101000a900460ff16151514613ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613acd90615bcf565b60405180910390fd5b600554341015613b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1290615c3b565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b8152600401613b769190614db2565b6020604051808303816000875af1158015613b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bb991906151ea565b50600b6000815480929190613bcd90615b5a565b919050555060018081905550565b60055481565b601560029054906101000a900460ff1681565b600d5481565b6000806000806000806000806000806000600b54601254601354601454601560009054906101000a900460ff16601560029054906101000a900460ff16601560039054906101000a900460ff166004546008546005546006549a509a509a509a509a509a509a509a509a509a509a50909192939495969798999a565b613c7e6143fa565b73ffffffffffffffffffffffffffffffffffffffff16613c9c612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce990615003565b60405180910390fd5b8060128190555050565b613d046143fa565b73ffffffffffffffffffffffffffffffffffffffff16613d22612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d6f90615003565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a3f300c826040518263ffffffff1660e01b8152600401613dd39190614bc1565b600060405180830381600087803b158015613ded57600080fd5b505af1158015613e01573d6000803e3d6000fd5b5050505050565b613e106143fa565b73ffffffffffffffffffffffffffffffffffffffff16613e2e612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7b90615003565b60405180910390fd5b60001515601560029054906101000a900460ff16151514613eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ed19061513e565b60405180910390fd5b601560029054906101000a900460ff1615601560026101000a81548160ff021916908315150217905550565b60045481565b613f146143fa565b73ffffffffffffffffffffffffffffffffffffffff16613f32612faa565b73ffffffffffffffffffffffffffffffffffffffff1614613f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f7f90615003565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fee90615ccd565b60405180910390fd5b61400081614464565b50565b61400b6143fa565b73ffffffffffffffffffffffffffffffffffffffff16614029612faa565b73ffffffffffffffffffffffffffffffffffffffff161461407f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407690615003565b60405180910390fd5b806008819055507faab6389d8f1c16ba1deb6e9831f5c5442cf4fcf99bf5bfa867460be408a91118816040516140b591906148a6565b60405180910390a150565b6140c86143fa565b73ffffffffffffffffffffffffffffffffffffffff166140e6612faa565b73ffffffffffffffffffffffffffffffffffffffff161461413c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161413390615003565b60405180910390fd5b80600b8190555050565b600c5481565b6141546143fa565b73ffffffffffffffffffffffffffffffffffffffff16614172612faa565b73ffffffffffffffffffffffffffffffffffffffff16146141c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141bf90615003565b60405180910390fd5b8051600e54101561420e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614205906158dc565b60405180910390fd5b601154421115614253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161424a90615948565b60405180910390fd5b60005b815181101561432b57601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a6278428383815181106142b0576142af61515e565b5b60200260200101516040518263ffffffff1660e01b81526004016142d49190614db2565b6020604051808303816000875af11580156142f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061431791906151ea565b5080806143239061518d565b915050614256565b508051600e600082825461433f919061575e565b92505081905550600a54601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156143b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143da91906151ea565b600d546143e7919061575e565b6143f1919061575e565b600b8190555050565b600033905090565b61440a614657565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61444d6143fa565b60405161445a9190614db2565b60405180910390a1565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808373ffffffffffffffffffffffffffffffffffffffff168361753090600067ffffffffffffffff81111561456457614563614943565b5b6040519080825280601f01601f1916602001820160405280156145965781602001600182028036833780820191505090505b506040516145a49190615d53565b600060405180830381858888f193505050503d80600081146145e2576040519150601f19603f3d011682016040523d82523d6000602084013e6145e7565b606091505b505090508091505092915050565b6145fd6146a0565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586146406143fa565b60405161464d9190614db2565b60405180910390a1565b61465f61189e565b61469e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161469590615db6565b60405180910390fd5b565b6146a861189e565b156146e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146df90615e22565b60405180910390fd5b565b6040518060e00160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160001515815260200160008152602001600015158152602001600015158152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061478282614757565b9050919050565b61479281614777565b811461479d57600080fd5b50565b6000813590506147af81614789565b92915050565b6000602082840312156147cb576147ca61474d565b5b60006147d9848285016147a0565b91505092915050565b60006147ed82614757565b9050919050565b6147fd816147e2565b82525050565b6000819050919050565b61481681614803565b82525050565b60008115159050919050565b6148318161481c565b82525050565b600060e08201905061484c600083018a6147f4565b614859602083018961480d565b6148666040830188614828565b614873606083018761480d565b6148806080830186614828565b61488d60a0830185614828565b61489a60c083018461480d565b98975050505050505050565b60006020820190506148bb600083018461480d565b92915050565b6148ca81614803565b81146148d557600080fd5b50565b6000813590506148e7816148c1565b92915050565b600080604083850312156149045761490361474d565b5b6000614912858286016148d8565b9250506020614923858286016148d8565b9150509250929050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61497b82614932565b810181811067ffffffffffffffff8211171561499a57614999614943565b5b80604052505050565b60006149ad614743565b90506149b98282614972565b919050565b600067ffffffffffffffff8211156149d9576149d8614943565b5b602082029050602081019050919050565b600080fd5b6000614a026149fd846149be565b6149a3565b90508083825260208201905060208402830185811115614a2557614a246149ea565b5b835b81811015614a4e5780614a3a88826147a0565b845260208401935050602081019050614a27565b5050509392505050565b600082601f830112614a6d57614a6c61492d565b5b8135614a7d8482602086016149ef565b91505092915050565b600067ffffffffffffffff821115614aa157614aa0614943565b5b602082029050602081019050919050565b6000614ac5614ac084614a86565b6149a3565b90508083825260208201905060208402830185811115614ae857614ae76149ea565b5b835b81811015614b115780614afd88826148d8565b845260208401935050602081019050614aea565b5050509392505050565b600082601f830112614b3057614b2f61492d565b5b8135614b40848260208601614ab2565b91505092915050565b60008060408385031215614b6057614b5f61474d565b5b600083013567ffffffffffffffff811115614b7e57614b7d614752565b5b614b8a85828601614a58565b925050602083013567ffffffffffffffff811115614bab57614baa614752565b5b614bb785828601614b1b565b9150509250929050565b6000602082019050614bd66000830184614828565b92915050565b600061012082019050614bf2600083018c61480d565b614bff602083018b61480d565b614c0c604083018a61480d565b614c19606083018961480d565b614c266080830188614828565b614c3360a0830187614828565b614c4060c083018661480d565b614c4d60e083018561480d565b614c5b61010083018461480d565b9a9950505050505050505050565b614c72816147e2565b8114614c7d57600080fd5b50565b600081359050614c8f81614c69565b92915050565b600060208284031215614cab57614caa61474d565b5b6000614cb984828501614c80565b91505092915050565b600060208284031215614cd857614cd761474d565b5b6000614ce6848285016148d8565b91505092915050565b6000614cfa82614777565b9050919050565b614d0a81614cef565b8114614d1557600080fd5b50565b600081359050614d2781614d01565b92915050565b600060208284031215614d4357614d4261474d565b5b6000614d5184828501614d18565b91505092915050565b600060208284031215614d7057614d6f61474d565b5b600082013567ffffffffffffffff811115614d8e57614d8d614752565b5b614d9a84828501614a58565b91505092915050565b614dac81614777565b82525050565b6000602082019050614dc76000830184614da3565b92915050565b60008060408385031215614de457614de361474d565b5b6000614df2858286016147a0565b9250506020614e03858286016148d8565b9150509250929050565b6000602082019050614e2260008301846147f4565b92915050565b6000819050919050565b6000614e4d614e48614e4384614757565b614e28565b614757565b9050919050565b6000614e5f82614e32565b9050919050565b6000614e7182614e54565b9050919050565b614e8181614e66565b82525050565b6000602082019050614e9c6000830184614e78565b92915050565b600061016082019050614eb8600083018e61480d565b614ec5602083018d61480d565b614ed2604083018c61480d565b614edf606083018b61480d565b614eec608083018a614828565b614ef960a0830189614828565b614f0660c0830188614828565b614f1360e083018761480d565b614f2161010083018661480d565b614f2f61012083018561480d565b614f3d61014083018461480d565b9c9b505050505050505050505050565b614f568161481c565b8114614f6157600080fd5b50565b600081359050614f7381614f4d565b92915050565b600060208284031215614f8f57614f8e61474d565b5b6000614f9d84828501614f64565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614fed602083614fa6565b9150614ff882614fb7565b602082019050919050565b6000602082019050818103600083015261501c81614fe0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061505d82614803565b915061506883614803565b92508282019050808211156150805761507f615023565b5b92915050565b7f41756374696f6e206e6f74206f766572207965742e0000000000000000000000600082015250565b60006150bc601583614fa6565b91506150c782615086565b602082019050919050565b600060208201905081810360008301526150eb816150af565b9050919050565b7f41756374696f6e20616c726561647920736574746c6564000000000000000000600082015250565b6000615128601783614fa6565b9150615133826150f2565b602082019050919050565b600060208201905081810360008301526151578161511b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061519882614803565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036151ca576151c9615023565b5b600182019050919050565b6000815190506151e4816148c1565b92915050565b600060208284031215615200576151ff61474d565b5b600061520e848285016151d5565b91505092915050565b7f41756374696f6e206e6f7420736574746c65647c7c6e6f7420656e6465642e00600082015250565b600061524d601f83614fa6565b915061525882615217565b602082019050919050565b6000602082019050818103600083015261527c81615240565b9050919050565b600081905092915050565b50565b600061529e600083615283565b91506152a98261528e565b600082019050919050565b60006152bf82615291565b9150819050919050565b7f4661696c656420746f2073656e6420746f2070617965652e0000000000000000600082015250565b60006152ff601883614fa6565b915061530a826152c9565b602082019050919050565b6000602082019050818103600083015261532e816152f2565b9050919050565b7f526166666c6520616c726561647920736574746c656400000000000000000000600082015250565b600061536b601683614fa6565b915061537682615335565b602082019050919050565b6000602082019050818103600083015261539a8161535e565b9050919050565b7f496e636f7272656374206e756d626572206f662077696e6e6572730000000000600082015250565b60006153d7601b83614fa6565b91506153e2826153a1565b602082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615443601f83614fa6565b915061544e8261540d565b602082019050919050565b6000602082019050818103600083015261547281615436565b9050919050565b7f41756374696f6e486f7573653a20706175736564000000000000000000000000600082015250565b60006154af601483614fa6565b91506154ba82615479565b602082019050919050565b600060208201905081810360008301526154de816154a2565b9050919050565b7f4f7574736964652061756374696f6e2077696e646f772e000000000000000000600082015250565b600061551b601783614fa6565b9150615526826154e5565b602082019050919050565b6000602082019050818103600083015261554a8161550e565b9050919050565b7f42696420616d6f756e7420746f6f206c6f772e00000000000000000000000000600082015250565b6000615587601383614fa6565b915061559282615551565b602082019050919050565b600060208201905081810360008301526155b68161557a565b9050919050565b7f596f752063616e206f6e6c7920696e63726561736520796f7572206269642c2060008201527f6e6f742064656372656173652e00000000000000000000000000000000000000602082015250565b6000615619602d83614fa6565b9150615624826155bd565b604082019050919050565b600060208201905081810360008301526156488161560c565b9050919050565b60006060820190506156646000830186614da3565b615671602083018561480d565b61567e6040830184614828565b949350505050565b7f41756374696f6e206861736e277420656e6465642e0000000000000000000000600082015250565b60006156bc601583614fa6565b91506156c782615686565b602082019050919050565b600060208201905081810360008301526156eb816156af565b9050919050565b7f41756374696f6e2077696e6e657273206e6f7420736574000000000000000000600082015250565b6000615728601783614fa6565b9150615733826156f2565b602082019050919050565b600060208201905081810360008301526157578161571b565b9050919050565b600061576982614803565b915061577483614803565b925082820390508181111561578c5761578b615023565b5b92915050565b7f4661696c656420746f20726566756e6420646966666572656e636520746f207760008201527f696e6e65722e0000000000000000000000000000000000000000000000000000602082015250565b60006157ee602683614fa6565b91506157f982615792565b604082019050919050565b6000602082019050818103600083015261581d816157e1565b9050919050565b7f4661696c656420746f2073656e6420726566756e6420746f206c6f7365722e00600082015250565b600061585a601f83614fa6565b915061586582615824565b602082019050919050565b600060208201905081810360008301526158898161584d565b9050919050565b7f4e6f7420656e6f7567682070726f6d6f20737570706c79000000000000000000600082015250565b60006158c6601783614fa6565b91506158d182615890565b602082019050919050565b600060208201905081810360008301526158f5816158b9565b9050919050565b7f4f7574736964652070726f6d6f206d696e742077696e646f7700000000000000600082015250565b6000615932601983614fa6565b915061593d826158fc565b602082019050919050565b6000602082019050818103600083015261596181615925565b9050919050565b7f4f75747369646520616c6c6f776c6973742077696e646f770000000000000000600082015250565b600061599e601883614fa6565b91506159a982615968565b602082019050919050565b600060208201905081810360008301526159cd81615991565b9050919050565b60006159df82614803565b91506159ea83614803565b92508282026159f881614803565b91508282048414831517615a0f57615a0e615023565b5b5092915050565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b6000615a4c601383614fa6565b9150615a5782615a16565b602082019050919050565b60006020820190508181036000830152615a7b81615a3f565b9050919050565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b6000615ab8601083614fa6565b9150615ac382615a82565b602082019050919050565b60006020820190508181036000830152615ae781615aab565b9050919050565b7f4e6f206d6f726520616c6c6f776c69737420737570706c790000000000000000600082015250565b6000615b24601883614fa6565b9150615b2f82615aee565b602082019050919050565b60006020820190508181036000830152615b5381615b17565b9050919050565b6000615b6582614803565b915060008203615b7857615b77615023565b5b600182039050919050565b7f4e6f7420617574686f72697a65642e0000000000000000000000000000000000600082015250565b6000615bb9600f83614fa6565b9150615bc482615b83565b602082019050919050565b60006020820190508181036000830152615be881615bac565b9050919050565b7f416d6f756e7420746f6f206c6f772e0000000000000000000000000000000000600082015250565b6000615c25600f83614fa6565b9150615c3082615bef565b602082019050919050565b60006020820190508181036000830152615c5481615c18565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615cb7602683614fa6565b9150615cc282615c5b565b604082019050919050565b60006020820190508181036000830152615ce681615caa565b9050919050565b600081519050919050565b60005b83811015615d16578082015181840152602081019050615cfb565b60008484015250505050565b6000615d2d82615ced565b615d378185615283565b9350615d47818560208601615cf8565b80840191505092915050565b6000615d5f8284615d22565b915081905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615da0601483614fa6565b9150615dab82615d6a565b602082019050919050565b60006020820190508181036000830152615dcf81615d93565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615e0c601083614fa6565b9150615e1782615dd6565b602082019050919050565b60006020820190508181036000830152615e3b81615dff565b905091905056fea26469706673582212206ce387341c7207e21bd4d6bcb4a0471cc3f912faae1bc4623384c29cc6b8c98664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000046140c04573ed18a9942a7f2f49feecc6a1652bf
-----Decoded View---------------
Arg [0] : _machines (address): 0x46140c04573ed18A9942A7F2f49FEeCC6A1652bF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000046140c04573ed18a9942a7f2f49feecc6a1652bf
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.