Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,527 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Purchase Through... | 13640581 | 1136 days ago | IN | 2.53125 ETH | 0.00918882 | ||||
Purchase Through... | 13640581 | 1136 days ago | IN | 2.5875 ETH | 0.01046869 | ||||
Purchase Through... | 13640581 | 1136 days ago | IN | 2.625 ETH | 0.0213312 | ||||
Purchase Through... | 13640580 | 1136 days ago | IN | 2.625 ETH | 0.00903942 | ||||
Purchase Through... | 13640579 | 1136 days ago | IN | 2.53125 ETH | 0.01013232 | ||||
Purchase Through... | 13640578 | 1136 days ago | IN | 2.6625 ETH | 0.00949049 | ||||
Purchase Through... | 13640578 | 1136 days ago | IN | 2.55 ETH | 0.00949585 | ||||
Purchase Through... | 13640577 | 1136 days ago | IN | 2.625 ETH | 0.01060633 | ||||
Purchase Through... | 13640577 | 1136 days ago | IN | 2.64375 ETH | 0.01047301 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.625 ETH | 0.00932596 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.775 ETH | 0.00932596 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.83125 ETH | 0.00932596 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 3 ETH | 0.00932596 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.7 ETH | 0.00933396 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.53125 ETH | 0.04226346 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.53125 ETH | 0.04177099 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.56875 ETH | 0.04236402 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.53125 ETH | 0.0471139 | ||||
Purchase Through... | 13640576 | 1136 days ago | IN | 2.53125 ETH | 0.09737254 | ||||
Purchase Through... | 13640575 | 1136 days ago | IN | 2.53125 ETH | 0.04037398 | ||||
Purchase Through... | 13640575 | 1136 days ago | IN | 2.5875 ETH | 0.0474988 | ||||
Purchase Through... | 13640575 | 1136 days ago | IN | 2.68125 ETH | 0.049666 | ||||
Purchase Through... | 13640575 | 1136 days ago | IN | 2.60625 ETH | 0.06106478 | ||||
Purchase Through... | 13640575 | 1136 days ago | IN | 2.56875 ETH | 0.06056097 | ||||
Purchase Through... | 13640575 | 1136 days ago | IN | 2.53125 ETH | 0.06661706 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
13640581 | 1136 days ago | 0.13125 ETH | ||||
13640581 | 1136 days ago | 0.1875 ETH | ||||
13640581 | 1136 days ago | 0.225 ETH | ||||
13640580 | 1136 days ago | 0.20625 ETH | ||||
13640579 | 1136 days ago | 0.09375 ETH | ||||
13640578 | 1136 days ago | 0.20625 ETH | ||||
13640578 | 1136 days ago | 0.09375 ETH | ||||
13640577 | 1136 days ago | 0.15 ETH | ||||
13640577 | 1136 days ago | 0.16875 ETH | ||||
13640576 | 1136 days ago | 0.13125 ETH | ||||
13640576 | 1136 days ago | 0.28125 ETH | ||||
13640576 | 1136 days ago | 0.3375 ETH | ||||
13640576 | 1136 days ago | 0.50625 ETH | ||||
13640576 | 1136 days ago | 0.20625 ETH | ||||
13640576 | 1136 days ago | 0.49875 ETH | ||||
13640576 | 1136 days ago | 1.995 ETH | ||||
13640576 | 1136 days ago | 0.0375 ETH | ||||
13640576 | 1136 days ago | 0.49875 ETH | ||||
13640576 | 1136 days ago | 1.995 ETH | ||||
13640576 | 1136 days ago | 0.0375 ETH | ||||
13640576 | 1136 days ago | 0.49875 ETH | ||||
13640576 | 1136 days ago | 1.995 ETH | ||||
13640576 | 1136 days ago | 0.075 ETH | ||||
13640576 | 1136 days ago | 0.49875 ETH | ||||
13640576 | 1136 days ago | 1.995 ETH |
Loading...
Loading
Contract Name:
SalePlatform
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IQuantumArt.sol"; import "./interfaces/IQuantumMintPass.sol"; import "./ContinuousDutchAuction.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract SalePlatform is ContinuousDutchAuction, ReentrancyGuard { struct Sale { uint128 price; uint128 limit; bool active; } struct MPClaim { uint128 mpId; uint128 price; bool active; } event Purchased(uint256 indexed dropId, uint256 tokenId, address to); mapping (uint256 => Sale) public sales; mapping (uint256 => MPClaim) public mpClaims; uint256 public defaultArtistCut; //10000 * percentage IQuantumArt public quantum; IQuantumMintPass public mintpass; mapping (uint256 => uint256) private _overridedArtistCut; // dropId -> cut address payable private _quantumTreasury; constructor( address deployedQuantum, address deployedMP, address admin, address payable treasury) { quantum = IQuantumArt(deployedQuantum); mintpass = IQuantumMintPass(deployedMP); _setupRole(DEFAULT_ADMIN_ROLE, admin); _quantumTreasury = treasury; defaultArtistCut = 8000; //default 80% for artist } modifier checkCaller { require(!Address.isContract(msg.sender), "Contract forbidden from buying"); _; } function withdraw(address payable to) onlyRole(DEFAULT_ADMIN_ROLE) public { Address.sendValue(to, address(this).balance); } function setManager(address manager) onlyRole(DEFAULT_ADMIN_ROLE) public { grantRole(MANAGER_ROLE, manager); } function unsetManager(address manager) onlyRole(DEFAULT_ADMIN_ROLE) public { revokeRole(MANAGER_ROLE, manager); } function premint(uint256 dropId, address[] calldata recipients) onlyRole(DEFAULT_ADMIN_ROLE) public { for(uint256 i = 0; i < recipients.length; i++) { uint256 tokenId = quantum.mintTo(dropId, recipients[i]); emit Purchased(dropId, tokenId, recipients[i]); } } function setMintpass(address deployedMP) onlyRole(MANAGER_ROLE) public { mintpass = IQuantumMintPass(deployedMP); } function createSale(uint256 dropId, uint128 price, uint128 limit) onlyRole(MANAGER_ROLE) public { sales[dropId] = Sale({price:price, limit:limit, active:false}); } function createMPClaim(uint256 dropId, uint128 mpId, uint128 price) onlyRole(MANAGER_ROLE) public { mpClaims[dropId] = MPClaim({mpId:mpId, price:price, active:false}); } function setDefaultArtistCut(uint256 cut) onlyRole(MANAGER_ROLE) public { defaultArtistCut = cut; } function flipSaleState(uint256 dropId) onlyRole(MANAGER_ROLE) public { sales[dropId].active = !sales[dropId].active; } function flipMPClaimState(uint256 dropId) onlyRole(MANAGER_ROLE) public { mpClaims[dropId].active = !mpClaims[dropId].active; } function overrideArtistcut(uint256 dropId, uint256 cut) onlyRole(MANAGER_ROLE) public { _overridedArtistCut[dropId] = cut; } function payout(address artist, uint256 dropId, uint256 amount) internal { uint256 artistCut = _overridedArtistCut[dropId] == 0 ? defaultArtistCut : _overridedArtistCut[dropId]; uint256 payout_ = (amount*artistCut)/10000; Address.sendValue(payable(artist), payout_); Address.sendValue(_quantumTreasury, amount - payout_); } function purchase(uint256 dropId, uint256 amount) checkCaller nonReentrant payable public { Sale memory sale = sales[dropId]; require(sale.active, "PURCHASE:SALE INACTIVE"); require(amount <= sale.limit, "PURCHASE:OVER LIMIT"); require(msg.value == amount * sale.price, "PURCHASE:INCORRECT MSG.VALUE"); for(uint256 i = 0; i < amount; i++) { uint256 tokenId = quantum.mintTo(dropId, msg.sender); emit Purchased(dropId, tokenId, msg.sender); } payout(quantum.getArtist(dropId), dropId, msg.value); } function purchaseThroughAuction(uint256 dropId) checkCaller nonReentrant payable public { //we use dropId as the auctionId -> one auction per drop only uint256 userPaid = verifyBid(dropId); uint256 tokenId = quantum.mintTo(dropId, msg.sender); emit Purchased(dropId, tokenId, msg.sender); payout(quantum.getArtist(dropId), dropId, userPaid); } function claimWithMintPass(uint256 dropId, uint256 amount) nonReentrant payable public { MPClaim memory mpClaim = mpClaims[dropId]; require(mpClaim.active, "MP: CLAIMING INACTIVE"); require(msg.value == amount * mpClaim.price, "MP:WRONG MSG.VALUE"); mintpass.burnFromRedeem(msg.sender, mpClaim.mpId, amount); //burn mintpasses for(uint256 i = 0; i < amount; i++) { uint256 tokenId = quantum.mintTo(dropId, msg.sender); emit Purchased(dropId, tokenId, msg.sender); } if (msg.value > 0) payout(quantum.getArtist(dropId), dropId, msg.value); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 make 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 pragma solidity ^0.8.0; import "./Manageable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; abstract contract ContinuousDutchAuction is Manageable { struct Auction { uint128 startingPrice; uint64 decreasingConstant; uint32 startingBlock; uint32 period; //period (in blocks) during which price will decrease } mapping (uint => Auction) private _auctions; function auctions(uint256 auctionId) public view returns ( uint128 startingPrice, uint64 decreasingConstant, uint32 startingBlock, uint32 period, bool active ) { Auction memory auction = _auctions[auctionId]; startingPrice = auction.startingPrice; decreasingConstant = auction.decreasingConstant; startingBlock = auction.startingBlock; period = auction.period; active = block.number >= startingBlock; } function setAuction( uint256 auctionId, uint128 startingPrice, uint64 decreasingConstant, uint32 startingBlock, uint32 period ) virtual public onlyRole(MANAGER_ROLE) { unchecked { require(startingPrice - decreasingConstant * period <= startingPrice, "setAuction: floor price underflow"); } _auctions[auctionId] = Auction(startingPrice, decreasingConstant, startingBlock, period); } function getPrice(uint256 auctionId) virtual public view returns (uint256 price) { Auction memory auction = _auctions[auctionId]; //only compute correct price if necessary if (block.number < auction.startingBlock) price = auction.startingPrice; else if (block.number >= auction.startingBlock + auction.period) price = auction.startingPrice - auction.period * auction.decreasingConstant; else price = auction.startingPrice - (auction.decreasingConstant * (block.number - auction.startingBlock)); } function verifyBid(uint256 auctionId) internal returns (uint256) { Auction memory auction = _auctions[auctionId]; require(auction.startingBlock > 0, "AUCTION:NOT CREATED"); require(block.number >= auction.startingBlock, "PURCHASE:AUCTION NOT STARTED"); uint256 pricePaid = getPrice(auctionId); require(msg.value >= pricePaid, "PURCHASE:INCORRECT MSG.VALUE"); if (msg.value - pricePaid > 0) Address.sendValue(payable(msg.sender), msg.value-pricePaid); //refund difference return pricePaid; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IQuantumMintPass { function burnFromRedeem(address user, uint256 mpId, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IQuantumArt { function mintTo(uint256 dropId, address artist) external returns (uint256); function burn(uint256 tokenId) external; function getArtist(uint256 dropId) external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; abstract contract Manageable is AccessControlEnumerable { bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControlEnumerable.sol"; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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); }
{ "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":"address","name":"deployedQuantum","type":"address"},{"internalType":"address","name":"deployedMP","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address payable","name":"treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"dropId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"}],"name":"auctions","outputs":[{"internalType":"uint128","name":"startingPrice","type":"uint128"},{"internalType":"uint64","name":"decreasingConstant","type":"uint64"},{"internalType":"uint32","name":"startingBlock","type":"uint32"},{"internalType":"uint32","name":"period","type":"uint32"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimWithMintPass","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"uint128","name":"mpId","type":"uint128"},{"internalType":"uint128","name":"price","type":"uint128"}],"name":"createMPClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"uint128","name":"price","type":"uint128"},{"internalType":"uint128","name":"limit","type":"uint128"}],"name":"createSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultArtistCut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"}],"name":"flipMPClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"}],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintpass","outputs":[{"internalType":"contract IQuantumMintPass","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mpClaims","outputs":[{"internalType":"uint128","name":"mpId","type":"uint128"},{"internalType":"uint128","name":"price","type":"uint128"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"uint256","name":"cut","type":"uint256"}],"name":"overrideArtistcut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"premint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"}],"name":"purchaseThroughAuction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"quantum","outputs":[{"internalType":"contract IQuantumArt","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sales","outputs":[{"internalType":"uint128","name":"price","type":"uint128"},{"internalType":"uint128","name":"limit","type":"uint128"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint128","name":"startingPrice","type":"uint128"},{"internalType":"uint64","name":"decreasingConstant","type":"uint64"},{"internalType":"uint32","name":"startingBlock","type":"uint32"},{"internalType":"uint32","name":"period","type":"uint32"}],"name":"setAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cut","type":"uint256"}],"name":"setDefaultArtistCut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"deployedMP","type":"address"}],"name":"setMintpass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"unsetManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620046a4380380620046a48339818101604052810190620000379190620003ee565b600160038190555083600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000d66000801b836200012a60201b60201c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611f4060068190555050505050620004d6565b6200014182826200017260201b620021631760201c565b6200016d81600160008581526020019081526020016000206200018860201b620021711790919060201c565b505050565b620001848282620001c060201b60201c565b5050565b6000620001b8836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620002b160201b60201c565b905092915050565b620001d282826200032b60201b60201c565b620002ad57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002526200039560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620002c583836200039d60201b60201c565b6200032057826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000325565b600090505b92915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080836001016000848152602001908152602001600020541415905092915050565b600081519050620003d181620004a2565b92915050565b600081519050620003e881620004bc565b92915050565b600080600080608085870312156200040557600080fd5b60006200041587828801620003c0565b94505060206200042887828801620003c0565b93505060406200043b87828801620003c0565b92505060606200044e87828801620003d7565b91505092959194509250565b6000620004678262000482565b9050919050565b60006200047b8262000482565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620004ad816200045a565b8114620004b957600080fd5b50565b620004c7816200046e565b8114620004d357600080fd5b50565b6141be80620004e66000396000f3fe6080604052600436106101e35760003560e01c806391d1485411610102578063d0ebdbe711610095578063e581dedb11610064578063e581dedb146106fa578063e757223014610723578063ec87621c14610760578063f0cfbe591461078b576101e3565b8063d0ebdbe71461064d578063d547741f14610676578063d573b3271461069f578063dcb9d873146106bb576101e3565b8063b5f522f7116100d1578063b5f522f71461057f578063c3634193146105be578063ca15c873146105e7578063cac7bd1d14610624576101e3565b806391d14854146104c15780639aa395f4146104fe5780639be59f3214610529578063a217fddf14610554576101e3565b806336568abe1161017a5780635cdfc560116101495780635cdfc5601461041457806370876c981461043d5780638c43247b146104595780639010d07c14610484576101e3565b806336568abe1461035857806344ab32b11461038157806351cff8d9146103aa578063571a26a0146103d3576101e3565b806329b0de1e116101b657806329b0de1e146102b45780632a23aa69146102dd5780632f2ff15d14610306578063313112ce1461032f576101e3565b806301ffc9a7146101e85780630bbe32221461022557806322b8854b1461024e578063248a9ca314610277575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a919061317c565b6107a7565b60405161021c919061397e565b60405180910390f35b34801561023157600080fd5b5061024c6004803603810190610247919061329e565b610821565b005b34801561025a57600080fd5b5061027560048036038101906102709190613315565b6109f1565b005b34801561028357600080fd5b5061029e600480360381019061029991906130db565b610a40565b6040516102ab9190613999565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d69190613060565b610a5f565b005b3480156102e957600080fd5b5061030460048036038101906102ff91906131a5565b610aa2565b005b34801561031257600080fd5b5061032d60048036038101906103289190613104565b610b2a565b005b34801561033b57600080fd5b50610356600480360381019061035191906131a5565b610b5e565b005b34801561036457600080fd5b5061037f600480360381019061037a9190613104565b610be6565b005b34801561038d57600080fd5b506103a860048036038101906103a391906131a5565b610c1a565b005b3480156103b657600080fd5b506103d160048036038101906103cc91906130b2565b610c57565b005b3480156103df57600080fd5b506103fa60048036038101906103f591906131a5565b610c7a565b60405161040b959493929190613c03565b60405180910390f35b34801561042057600080fd5b5061043b600480360381019061043691906131f7565b610d9d565b005b61045760048036038101906104529190613315565b610f62565b005b34801561046557600080fd5b5061046e611399565b60405161047b91906139cf565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a69190613140565b6113bf565b6040516104b8919061392c565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190613104565b6113ee565b6040516104f5919061397e565b60405180910390f35b34801561050a57600080fd5b50610513611458565b60405161052091906139b4565b60405180910390f35b34801561053557600080fd5b5061053e61147e565b60405161054b9190613c56565b60405180910390f35b34801561056057600080fd5b50610569611484565b6040516105769190613999565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a191906131a5565b61148b565b6040516105b593929190613bcc565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e09190613060565b6114fa565b005b3480156105f357600080fd5b5061060e600480360381019061060991906130db565b611571565b60405161061b9190613c56565b60405180910390f35b34801561063057600080fd5b5061064b6004803603810190610646919061324f565b611595565b005b34801561065957600080fd5b50610674600480360381019061066f9190613060565b6116c3565b005b34801561068257600080fd5b5061069d60048036038101906106989190613104565b611706565b005b6106b960048036038101906106b491906131a5565b61173a565b005b3480156106c757600080fd5b506106e260048036038101906106dd91906131a5565b61198d565b6040516106f193929190613bcc565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c919061324f565b6119fc565b005b34801561072f57600080fd5b5061074a600480360381019061074591906131a5565b611b2a565b6040516107579190613c56565b60405180910390f35b34801561076c57600080fd5b50610775611d0b565b6040516107829190613999565b60405180910390f35b6107a560048036038101906107a09190613315565b611d2f565b005b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081a5750610819826121a1565b5b9050919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086108538161084e61221b565b612223565b846fffffffffffffffffffffffffffffffff168263ffffffff16850267ffffffffffffffff1686036fffffffffffffffffffffffffffffffff1611156108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590613b4c565b60405180910390fd5b6040518060800160405280866fffffffffffffffffffffffffffffffff1681526020018567ffffffffffffffff1681526020018463ffffffff1681526020018363ffffffff168152506002600088815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160186101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001601c6101000a81548163ffffffff021916908363ffffffff160217905550905050505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610a2381610a1e61221b565b612223565b816009600085815260200190815260200160002081905550505050565b6000806000838152602001908152602001600020600101549050919050565b6000801b610a7481610a6f61221b565b612223565b610a9e7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0883611706565b5050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610ad481610acf61221b565b612223565b6005600083815260200190815260200160002060010160009054906101000a900460ff16156005600084815260200190815260200160002060010160006101000a81548160ff0219169083151502179055505050565b610b3482826122c0565b610b59816001600085815260200190815260200160002061217190919063ffffffff16565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610b9081610b8b61221b565b612223565b6004600083815260200190815260200160002060010160009054906101000a900460ff16156004600084815260200190815260200160002060010160006101000a81548160ff0219169083151502179055505050565b610bf082826122e9565b610c15816001600085815260200190815260200160002061236c90919063ffffffff16565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610c4c81610c4761221b565b612223565b816006819055505050565b6000801b610c6c81610c6761221b565b612223565b610c76824761239c565b5050565b600080600080600080600260008881526020019081526020016000206040518060800160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050806000015195508060200151945080604001519350806060015192508363ffffffff1643101591505091939590929450565b6000801b610db281610dad61221b565b612223565b60005b83839050811015610f5b576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e87878786818110610e3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e4f9190613060565b6040518363ffffffff1660e01b8152600401610e6c929190613c71565b602060405180830381600087803b158015610e8657600080fd5b505af1158015610e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebe91906131ce565b9050857f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd8082878786818110610f1c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610f319190613060565b604051610f3f929190613c71565b60405180910390a2508080610f5390614018565b915050610db5565b5050505050565b610f6b33612490565b15610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613b6c565b60405180910390fd5b60026003541415610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890613b8c565b60405180910390fd5b60026003819055506000600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900460ff1615151515815250509050806040015161110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590613a2c565b60405180910390fd5b80602001516fffffffffffffffffffffffffffffffff16821115611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e90613a4c565b60405180910390fd5b80600001516fffffffffffffffffffffffffffffffff16826111899190613d8d565b34146111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c190613a6c565b60405180910390fd5b60005b828110156112d6576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e86336040518363ffffffff1660e01b8152600401611234929190613c71565b602060405180830381600087803b15801561124e57600080fd5b505af1158015611262573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128691906131ce565b9050847f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd8082336040516112ba929190613c71565b60405180910390a25080806112ce90614018565b9150506111cd565b5061138c600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663811dd0e2856040518263ffffffff1660e01b81526004016113359190613c56565b60206040518083038186803b15801561134d57600080fd5b505afa158015611361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113859190613089565b84346124a3565b5060016003819055505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113e6826001600086815260200190815260200160002061254390919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b6000801b81565b60046020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16908060010160009054906101000a900460ff16905083565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861152c8161152761221b565b612223565b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600061158e6001600084815260200190815260200160002061255d565b9050919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086115c7816115c261221b565b612223565b6040518060600160405280846fffffffffffffffffffffffffffffffff168152602001836fffffffffffffffffffffffffffffffff168152602001600015158152506004600086815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548160ff02191690831515021790555090505050505050565b6000801b6116d8816116d361221b565b612223565b6117027f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0883610b2a565b5050565b6117108282612572565b611735816001600085815260200190815260200160002061236c90919063ffffffff16565b505050565b61174333612490565b15611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90613b6c565b60405180910390fd5b600260035414156117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613b8c565b60405180910390fd5b600260038190555060006117dc8261259b565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e84336040518363ffffffff1660e01b815260040161183d929190613c71565b602060405180830381600087803b15801561185757600080fd5b505af115801561186b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188f91906131ce565b9050827f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd8082336040516118c3929190613c71565b60405180910390a2611980600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663811dd0e2856040518263ffffffff1660e01b81526004016119299190613c56565b60206040518083038186803b15801561194157600080fd5b505afa158015611955573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119799190613089565b84846124a3565b5050600160038190555050565b60056020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16908060010160009054906101000a900460ff16905083565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08611a2e81611a2961221b565b612223565b6040518060600160405280846fffffffffffffffffffffffffffffffff168152602001836fffffffffffffffffffffffffffffffff168152602001600015158152506005600086815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548160ff02191690831515021790555090505050505050565b600080600260008481526020019081526020016000206040518060800160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050806040015163ffffffff16431015611c455780600001516fffffffffffffffffffffffffffffffff169150611d05565b80606001518160400151611c599190613d22565b63ffffffff164310611cb1578060200151816060015163ffffffff16611c7f9190613de7565b67ffffffffffffffff168160000151611c989190613e29565b6fffffffffffffffffffffffffffffffff169150611d04565b806040015163ffffffff1643611cc79190613e5d565b816020015167ffffffffffffffff16611ce09190613d8d565b81600001516fffffffffffffffffffffffffffffffff16611d019190613e5d565b91505b5b50919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0881565b60026003541415611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c90613b8c565b60405180910390fd5b60026003819055506000600560008481526020019081526020016000206040518060600160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900460ff16151515158152505090508060400151611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990613acc565b60405180910390fd5b80602001516fffffffffffffffffffffffffffffffff1682611eb49190613d8d565b3414611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90613b2c565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633aeca210338360000151856040518463ffffffff1660e01b8152600401611f5893929190613947565b600060405180830381600087803b158015611f7257600080fd5b505af1158015611f86573d6000803e3d6000fd5b5050505060005b82811015612096576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e86336040518363ffffffff1660e01b8152600401611ff4929190613c71565b602060405180830381600087803b15801561200e57600080fd5b505af1158015612022573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204691906131ce565b9050847f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd80823360405161207a929190613c71565b60405180910390a250808061208e90614018565b915050611f8d565b50600034111561215657612155600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663811dd0e2856040518263ffffffff1660e01b81526004016120fe9190613c56565b60206040518083038186803b15801561211657600080fd5b505afa15801561212a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214e9190613089565b84346124a3565b5b5060016003819055505050565b61216d82826127a4565b5050565b6000612199836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612884565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122145750612213826128f4565b5b9050919050565b600033905090565b61222d82826113ee565b6122bc576122528173ffffffffffffffffffffffffffffffffffffffff16601461295e565b6122608360001c602061295e565b6040516020016122719291906138f2565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b391906139ea565b60405180910390fd5b5050565b6122c982610a40565b6122da816122d561221b565b612223565b6122e483836127a4565b505050565b6122f161221b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590613bac565b60405180910390fd5b6123688282612c58565b5050565b6000612394836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612d39565b905092915050565b804710156123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690613aac565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612405906138dd565b60006040518083038185875af1925050503d8060008114612442576040519150601f19603f3d011682016040523d82523d6000602084013e612447565b606091505b505090508061248b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248290613a8c565b60405180910390fd5b505050565b600080823b905060008111915050919050565b6000806009600085815260200190815260200160002054146124d85760096000848152602001908152602001600020546124dc565b6006545b9050600061271082846124ef9190613d8d565b6124f99190613d5c565b9050612505858261239c565b61253c600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682856125379190613e5d565b61239c565b5050505050565b60006125528360000183612ebf565b60001c905092915050565b600061256b82600001612f10565b9050919050565b61257b82610a40565b61258c8161258761221b565b612223565b6125968383612c58565b505050565b600080600260008481526020019081526020016000206040518060800160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff168152505090506000816040015163ffffffff16116126d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ca90613b0c565b60405180910390fd5b806040015163ffffffff16431015612720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271790613aec565b60405180910390fd5b600061272b84611b2a565b905080341015612770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276790613a6c565b60405180910390fd5b6000813461277e9190613e5d565b111561279a576127993382346127949190613e5d565b61239c565b5b8092505050919050565b6127ae82826113ee565b61288057600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061282561221b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006128908383612f21565b6128e95782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506128ee565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026129719190613d8d565b61297b9190613ccc565b67ffffffffffffffff8111156129ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129ec5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612ad4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b149190613d8d565b612b1e9190613ccc565b90505b6001811115612c0a577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c0390613fee565b9050612b21565b5060008414612c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4590613a0c565b60405180910390fd5b8091505092915050565b612c6282826113ee565b15612d3557600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612cda61221b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114612eb3576000600182612d6b9190613e5d565b9050600060018660000180549050612d839190613e5d565b9050818114612e3e576000866000018281548110612dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080876000018481548110612e14577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612e78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612eb9565b60009150505b92915050565b6000826000018281548110612efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b600081359050612f53816140d0565b92915050565b600081519050612f68816140d0565b92915050565b600081359050612f7d816140e7565b92915050565b60008083601f840112612f9557600080fd5b8235905067ffffffffffffffff811115612fae57600080fd5b602083019150836020820283011115612fc657600080fd5b9250929050565b600081359050612fdc816140fe565b92915050565b600081359050612ff181614115565b92915050565b6000813590506130068161412c565b92915050565b60008135905061301b81614143565b92915050565b60008151905061303081614143565b92915050565b6000813590506130458161415a565b92915050565b60008135905061305a81614171565b92915050565b60006020828403121561307257600080fd5b600061308084828501612f44565b91505092915050565b60006020828403121561309b57600080fd5b60006130a984828501612f59565b91505092915050565b6000602082840312156130c457600080fd5b60006130d284828501612f6e565b91505092915050565b6000602082840312156130ed57600080fd5b60006130fb84828501612fcd565b91505092915050565b6000806040838503121561311757600080fd5b600061312585828601612fcd565b925050602061313685828601612f44565b9150509250929050565b6000806040838503121561315357600080fd5b600061316185828601612fcd565b92505060206131728582860161300c565b9150509250929050565b60006020828403121561318e57600080fd5b600061319c84828501612fe2565b91505092915050565b6000602082840312156131b757600080fd5b60006131c58482850161300c565b91505092915050565b6000602082840312156131e057600080fd5b60006131ee84828501613021565b91505092915050565b60008060006040848603121561320c57600080fd5b600061321a8682870161300c565b935050602084013567ffffffffffffffff81111561323757600080fd5b61324386828701612f83565b92509250509250925092565b60008060006060848603121561326457600080fd5b60006132728682870161300c565b935050602061328386828701612ff7565b925050604061329486828701612ff7565b9150509250925092565b600080600080600060a086880312156132b657600080fd5b60006132c48882890161300c565b95505060206132d588828901612ff7565b94505060406132e68882890161304b565b93505060606132f788828901613036565b925050608061330888828901613036565b9150509295509295909350565b6000806040838503121561332857600080fd5b60006133368582860161300c565b92505060206133478582860161300c565b9150509250929050565b61335a81613e91565b82525050565b61336981613eb5565b82525050565b61337881613ec1565b82525050565b61338781613f61565b82525050565b61339681613f85565b82525050565b60006133a782613c9a565b6133b18185613cb0565b93506133c1818560208601613fbb565b6133ca816140bf565b840191505092915050565b60006133e082613c9a565b6133ea8185613cc1565b93506133fa818560208601613fbb565b80840191505092915050565b6000613413602083613cb0565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000613453601683613cb0565b91507f50555243484153453a53414c4520494e414354495645000000000000000000006000830152602082019050919050565b6000613493601383613cb0565b91507f50555243484153453a4f564552204c494d4954000000000000000000000000006000830152602082019050919050565b60006134d3601c83613cb0565b91507f50555243484153453a494e434f5252454354204d53472e56414c5545000000006000830152602082019050919050565b6000613513603a83613cb0565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000613579601d83613cb0565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b60006135b9601583613cb0565b91507f4d503a20434c41494d494e4720494e41435449564500000000000000000000006000830152602082019050919050565b60006135f9601c83613cb0565b91507f50555243484153453a41554354494f4e204e4f542053544152544544000000006000830152602082019050919050565b6000613639601383613cb0565b91507f41554354494f4e3a4e4f542043524541544544000000000000000000000000006000830152602082019050919050565b6000613679601283613cb0565b91507f4d503a57524f4e47204d53472e56414c554500000000000000000000000000006000830152602082019050919050565b60006136b9600083613ca5565b9150600082019050919050565b60006136d3602183613cb0565b91507f73657441756374696f6e3a20666c6f6f7220707269636520756e646572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613739601783613cc1565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000613779601e83613cb0565b91507f436f6e747261637420666f7262696464656e2066726f6d20627579696e6700006000830152602082019050919050565b60006137b9601f83613cb0565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006137f9601183613cc1565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000613839602f83613cb0565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b61389b81613ef7565b82525050565b6138aa81613fa9565b82525050565b6138b981613f33565b82525050565b6138c881613f3d565b82525050565b6138d781613f4d565b82525050565b60006138e8826136ac565b9150819050919050565b60006138fd8261372c565b915061390982856133d5565b9150613914826137ec565b915061392082846133d5565b91508190509392505050565b60006020820190506139416000830184613351565b92915050565b600060608201905061395c6000830186613351565b61396960208301856138a1565b61397660408301846138b0565b949350505050565b60006020820190506139936000830184613360565b92915050565b60006020820190506139ae600083018461336f565b92915050565b60006020820190506139c9600083018461337e565b92915050565b60006020820190506139e4600083018461338d565b92915050565b60006020820190508181036000830152613a04818461339c565b905092915050565b60006020820190508181036000830152613a2581613406565b9050919050565b60006020820190508181036000830152613a4581613446565b9050919050565b60006020820190508181036000830152613a6581613486565b9050919050565b60006020820190508181036000830152613a85816134c6565b9050919050565b60006020820190508181036000830152613aa581613506565b9050919050565b60006020820190508181036000830152613ac58161356c565b9050919050565b60006020820190508181036000830152613ae5816135ac565b9050919050565b60006020820190508181036000830152613b05816135ec565b9050919050565b60006020820190508181036000830152613b258161362c565b9050919050565b60006020820190508181036000830152613b458161366c565b9050919050565b60006020820190508181036000830152613b65816136c6565b9050919050565b60006020820190508181036000830152613b858161376c565b9050919050565b60006020820190508181036000830152613ba5816137ac565b9050919050565b60006020820190508181036000830152613bc58161382c565b9050919050565b6000606082019050613be16000830186613892565b613bee6020830185613892565b613bfb6040830184613360565b949350505050565b600060a082019050613c186000830188613892565b613c2560208301876138ce565b613c3260408301866138bf565b613c3f60608301856138bf565b613c4c6080830184613360565b9695505050505050565b6000602082019050613c6b60008301846138b0565b92915050565b6000604082019050613c8660008301856138b0565b613c936020830184613351565b9392505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cd782613f33565b9150613ce283613f33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d1757613d16614061565b5b828201905092915050565b6000613d2d82613f3d565b9150613d3883613f3d565b92508263ffffffff03821115613d5157613d50614061565b5b828201905092915050565b6000613d6782613f33565b9150613d7283613f33565b925082613d8257613d81614090565b5b828204905092915050565b6000613d9882613f33565b9150613da383613f33565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ddc57613ddb614061565b5b828202905092915050565b6000613df282613f4d565b9150613dfd83613f4d565b92508167ffffffffffffffff0483118215151615613e1e57613e1d614061565b5b828202905092915050565b6000613e3482613ef7565b9150613e3f83613ef7565b925082821015613e5257613e51614061565b5b828203905092915050565b6000613e6882613f33565b9150613e7383613f33565b925082821015613e8657613e85614061565b5b828203905092915050565b6000613e9c82613f13565b9050919050565b6000613eae82613f13565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b6000613f6c82613f73565b9050919050565b6000613f7e82613f13565b9050919050565b6000613f9082613f97565b9050919050565b6000613fa282613f13565b9050919050565b6000613fb482613ef7565b9050919050565b60005b83811015613fd9578082015181840152602081019050613fbe565b83811115613fe8576000848401525b50505050565b6000613ff982613f33565b9150600082141561400d5761400c614061565b5b600182039050919050565b600061402382613f33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561405657614055614061565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b6140d981613e91565b81146140e457600080fd5b50565b6140f081613ea3565b81146140fb57600080fd5b50565b61410781613ec1565b811461411257600080fd5b50565b61411e81613ecb565b811461412957600080fd5b50565b61413581613ef7565b811461414057600080fd5b50565b61414c81613f33565b811461415757600080fd5b50565b61416381613f3d565b811461416e57600080fd5b50565b61417a81613f4d565b811461418557600080fd5b5056fea264697066735822122062972f694a719757d386c7cd6bb61b3160c817dbeabd0634ad658cfb0028a45664736f6c6343000800003300000000000000000000000046ac8540d698167fcbb9e846511beb8cf8af9bd80000000000000000000000002fea46fbccb5ee07c293fe500353579895abf7d0000000000000000000000000e0faf18f33c307ca812b80c771ad3c9e5f043fe9000000000000000000000000e0faf18f33c307ca812b80c771ad3c9e5f043fe9
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806391d1485411610102578063d0ebdbe711610095578063e581dedb11610064578063e581dedb146106fa578063e757223014610723578063ec87621c14610760578063f0cfbe591461078b576101e3565b8063d0ebdbe71461064d578063d547741f14610676578063d573b3271461069f578063dcb9d873146106bb576101e3565b8063b5f522f7116100d1578063b5f522f71461057f578063c3634193146105be578063ca15c873146105e7578063cac7bd1d14610624576101e3565b806391d14854146104c15780639aa395f4146104fe5780639be59f3214610529578063a217fddf14610554576101e3565b806336568abe1161017a5780635cdfc560116101495780635cdfc5601461041457806370876c981461043d5780638c43247b146104595780639010d07c14610484576101e3565b806336568abe1461035857806344ab32b11461038157806351cff8d9146103aa578063571a26a0146103d3576101e3565b806329b0de1e116101b657806329b0de1e146102b45780632a23aa69146102dd5780632f2ff15d14610306578063313112ce1461032f576101e3565b806301ffc9a7146101e85780630bbe32221461022557806322b8854b1461024e578063248a9ca314610277575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a919061317c565b6107a7565b60405161021c919061397e565b60405180910390f35b34801561023157600080fd5b5061024c6004803603810190610247919061329e565b610821565b005b34801561025a57600080fd5b5061027560048036038101906102709190613315565b6109f1565b005b34801561028357600080fd5b5061029e600480360381019061029991906130db565b610a40565b6040516102ab9190613999565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d69190613060565b610a5f565b005b3480156102e957600080fd5b5061030460048036038101906102ff91906131a5565b610aa2565b005b34801561031257600080fd5b5061032d60048036038101906103289190613104565b610b2a565b005b34801561033b57600080fd5b50610356600480360381019061035191906131a5565b610b5e565b005b34801561036457600080fd5b5061037f600480360381019061037a9190613104565b610be6565b005b34801561038d57600080fd5b506103a860048036038101906103a391906131a5565b610c1a565b005b3480156103b657600080fd5b506103d160048036038101906103cc91906130b2565b610c57565b005b3480156103df57600080fd5b506103fa60048036038101906103f591906131a5565b610c7a565b60405161040b959493929190613c03565b60405180910390f35b34801561042057600080fd5b5061043b600480360381019061043691906131f7565b610d9d565b005b61045760048036038101906104529190613315565b610f62565b005b34801561046557600080fd5b5061046e611399565b60405161047b91906139cf565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a69190613140565b6113bf565b6040516104b8919061392c565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190613104565b6113ee565b6040516104f5919061397e565b60405180910390f35b34801561050a57600080fd5b50610513611458565b60405161052091906139b4565b60405180910390f35b34801561053557600080fd5b5061053e61147e565b60405161054b9190613c56565b60405180910390f35b34801561056057600080fd5b50610569611484565b6040516105769190613999565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a191906131a5565b61148b565b6040516105b593929190613bcc565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e09190613060565b6114fa565b005b3480156105f357600080fd5b5061060e600480360381019061060991906130db565b611571565b60405161061b9190613c56565b60405180910390f35b34801561063057600080fd5b5061064b6004803603810190610646919061324f565b611595565b005b34801561065957600080fd5b50610674600480360381019061066f9190613060565b6116c3565b005b34801561068257600080fd5b5061069d60048036038101906106989190613104565b611706565b005b6106b960048036038101906106b491906131a5565b61173a565b005b3480156106c757600080fd5b506106e260048036038101906106dd91906131a5565b61198d565b6040516106f193929190613bcc565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c919061324f565b6119fc565b005b34801561072f57600080fd5b5061074a600480360381019061074591906131a5565b611b2a565b6040516107579190613c56565b60405180910390f35b34801561076c57600080fd5b50610775611d0b565b6040516107829190613999565b60405180910390f35b6107a560048036038101906107a09190613315565b611d2f565b005b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081a5750610819826121a1565b5b9050919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086108538161084e61221b565b612223565b846fffffffffffffffffffffffffffffffff168263ffffffff16850267ffffffffffffffff1686036fffffffffffffffffffffffffffffffff1611156108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590613b4c565b60405180910390fd5b6040518060800160405280866fffffffffffffffffffffffffffffffff1681526020018567ffffffffffffffff1681526020018463ffffffff1681526020018363ffffffff168152506002600088815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160186101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001601c6101000a81548163ffffffff021916908363ffffffff160217905550905050505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610a2381610a1e61221b565b612223565b816009600085815260200190815260200160002081905550505050565b6000806000838152602001908152602001600020600101549050919050565b6000801b610a7481610a6f61221b565b612223565b610a9e7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0883611706565b5050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610ad481610acf61221b565b612223565b6005600083815260200190815260200160002060010160009054906101000a900460ff16156005600084815260200190815260200160002060010160006101000a81548160ff0219169083151502179055505050565b610b3482826122c0565b610b59816001600085815260200190815260200160002061217190919063ffffffff16565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610b9081610b8b61221b565b612223565b6004600083815260200190815260200160002060010160009054906101000a900460ff16156004600084815260200190815260200160002060010160006101000a81548160ff0219169083151502179055505050565b610bf082826122e9565b610c15816001600085815260200190815260200160002061236c90919063ffffffff16565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610c4c81610c4761221b565b612223565b816006819055505050565b6000801b610c6c81610c6761221b565b612223565b610c76824761239c565b5050565b600080600080600080600260008881526020019081526020016000206040518060800160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050806000015195508060200151945080604001519350806060015192508363ffffffff1643101591505091939590929450565b6000801b610db281610dad61221b565b612223565b60005b83839050811015610f5b576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e87878786818110610e3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e4f9190613060565b6040518363ffffffff1660e01b8152600401610e6c929190613c71565b602060405180830381600087803b158015610e8657600080fd5b505af1158015610e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebe91906131ce565b9050857f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd8082878786818110610f1c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610f319190613060565b604051610f3f929190613c71565b60405180910390a2508080610f5390614018565b915050610db5565b5050505050565b610f6b33612490565b15610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613b6c565b60405180910390fd5b60026003541415610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890613b8c565b60405180910390fd5b60026003819055506000600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900460ff1615151515815250509050806040015161110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590613a2c565b60405180910390fd5b80602001516fffffffffffffffffffffffffffffffff16821115611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e90613a4c565b60405180910390fd5b80600001516fffffffffffffffffffffffffffffffff16826111899190613d8d565b34146111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c190613a6c565b60405180910390fd5b60005b828110156112d6576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e86336040518363ffffffff1660e01b8152600401611234929190613c71565b602060405180830381600087803b15801561124e57600080fd5b505af1158015611262573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128691906131ce565b9050847f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd8082336040516112ba929190613c71565b60405180910390a25080806112ce90614018565b9150506111cd565b5061138c600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663811dd0e2856040518263ffffffff1660e01b81526004016113359190613c56565b60206040518083038186803b15801561134d57600080fd5b505afa158015611361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113859190613089565b84346124a3565b5060016003819055505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113e6826001600086815260200190815260200160002061254390919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b6000801b81565b60046020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16908060010160009054906101000a900460ff16905083565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861152c8161152761221b565b612223565b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600061158e6001600084815260200190815260200160002061255d565b9050919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086115c7816115c261221b565b612223565b6040518060600160405280846fffffffffffffffffffffffffffffffff168152602001836fffffffffffffffffffffffffffffffff168152602001600015158152506004600086815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548160ff02191690831515021790555090505050505050565b6000801b6116d8816116d361221b565b612223565b6117027f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0883610b2a565b5050565b6117108282612572565b611735816001600085815260200190815260200160002061236c90919063ffffffff16565b505050565b61174333612490565b15611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90613b6c565b60405180910390fd5b600260035414156117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613b8c565b60405180910390fd5b600260038190555060006117dc8261259b565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e84336040518363ffffffff1660e01b815260040161183d929190613c71565b602060405180830381600087803b15801561185757600080fd5b505af115801561186b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188f91906131ce565b9050827f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd8082336040516118c3929190613c71565b60405180910390a2611980600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663811dd0e2856040518263ffffffff1660e01b81526004016119299190613c56565b60206040518083038186803b15801561194157600080fd5b505afa158015611955573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119799190613089565b84846124a3565b5050600160038190555050565b60056020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16908060010160009054906101000a900460ff16905083565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08611a2e81611a2961221b565b612223565b6040518060600160405280846fffffffffffffffffffffffffffffffff168152602001836fffffffffffffffffffffffffffffffff168152602001600015158152506005600086815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548160ff02191690831515021790555090505050505050565b600080600260008481526020019081526020016000206040518060800160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050806040015163ffffffff16431015611c455780600001516fffffffffffffffffffffffffffffffff169150611d05565b80606001518160400151611c599190613d22565b63ffffffff164310611cb1578060200151816060015163ffffffff16611c7f9190613de7565b67ffffffffffffffff168160000151611c989190613e29565b6fffffffffffffffffffffffffffffffff169150611d04565b806040015163ffffffff1643611cc79190613e5d565b816020015167ffffffffffffffff16611ce09190613d8d565b81600001516fffffffffffffffffffffffffffffffff16611d019190613e5d565b91505b5b50919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0881565b60026003541415611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c90613b8c565b60405180910390fd5b60026003819055506000600560008481526020019081526020016000206040518060600160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900460ff16151515158152505090508060400151611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990613acc565b60405180910390fd5b80602001516fffffffffffffffffffffffffffffffff1682611eb49190613d8d565b3414611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90613b2c565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633aeca210338360000151856040518463ffffffff1660e01b8152600401611f5893929190613947565b600060405180830381600087803b158015611f7257600080fd5b505af1158015611f86573d6000803e3d6000fd5b5050505060005b82811015612096576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b723b34e86336040518363ffffffff1660e01b8152600401611ff4929190613c71565b602060405180830381600087803b15801561200e57600080fd5b505af1158015612022573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204691906131ce565b9050847f4de343637a1e04defe1bf819dc4022be666492089901cbff4e44eaf49bdabd80823360405161207a929190613c71565b60405180910390a250808061208e90614018565b915050611f8d565b50600034111561215657612155600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663811dd0e2856040518263ffffffff1660e01b81526004016120fe9190613c56565b60206040518083038186803b15801561211657600080fd5b505afa15801561212a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214e9190613089565b84346124a3565b5b5060016003819055505050565b61216d82826127a4565b5050565b6000612199836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612884565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122145750612213826128f4565b5b9050919050565b600033905090565b61222d82826113ee565b6122bc576122528173ffffffffffffffffffffffffffffffffffffffff16601461295e565b6122608360001c602061295e565b6040516020016122719291906138f2565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b391906139ea565b60405180910390fd5b5050565b6122c982610a40565b6122da816122d561221b565b612223565b6122e483836127a4565b505050565b6122f161221b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590613bac565b60405180910390fd5b6123688282612c58565b5050565b6000612394836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612d39565b905092915050565b804710156123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690613aac565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612405906138dd565b60006040518083038185875af1925050503d8060008114612442576040519150601f19603f3d011682016040523d82523d6000602084013e612447565b606091505b505090508061248b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248290613a8c565b60405180910390fd5b505050565b600080823b905060008111915050919050565b6000806009600085815260200190815260200160002054146124d85760096000848152602001908152602001600020546124dc565b6006545b9050600061271082846124ef9190613d8d565b6124f99190613d5c565b9050612505858261239c565b61253c600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682856125379190613e5d565b61239c565b5050505050565b60006125528360000183612ebf565b60001c905092915050565b600061256b82600001612f10565b9050919050565b61257b82610a40565b61258c8161258761221b565b612223565b6125968383612c58565b505050565b600080600260008481526020019081526020016000206040518060800160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff168152505090506000816040015163ffffffff16116126d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ca90613b0c565b60405180910390fd5b806040015163ffffffff16431015612720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271790613aec565b60405180910390fd5b600061272b84611b2a565b905080341015612770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276790613a6c565b60405180910390fd5b6000813461277e9190613e5d565b111561279a576127993382346127949190613e5d565b61239c565b5b8092505050919050565b6127ae82826113ee565b61288057600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061282561221b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006128908383612f21565b6128e95782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506128ee565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026129719190613d8d565b61297b9190613ccc565b67ffffffffffffffff8111156129ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129ec5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612ad4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b149190613d8d565b612b1e9190613ccc565b90505b6001811115612c0a577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c0390613fee565b9050612b21565b5060008414612c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4590613a0c565b60405180910390fd5b8091505092915050565b612c6282826113ee565b15612d3557600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612cda61221b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114612eb3576000600182612d6b9190613e5d565b9050600060018660000180549050612d839190613e5d565b9050818114612e3e576000866000018281548110612dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080876000018481548110612e14577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612e78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612eb9565b60009150505b92915050565b6000826000018281548110612efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b600081359050612f53816140d0565b92915050565b600081519050612f68816140d0565b92915050565b600081359050612f7d816140e7565b92915050565b60008083601f840112612f9557600080fd5b8235905067ffffffffffffffff811115612fae57600080fd5b602083019150836020820283011115612fc657600080fd5b9250929050565b600081359050612fdc816140fe565b92915050565b600081359050612ff181614115565b92915050565b6000813590506130068161412c565b92915050565b60008135905061301b81614143565b92915050565b60008151905061303081614143565b92915050565b6000813590506130458161415a565b92915050565b60008135905061305a81614171565b92915050565b60006020828403121561307257600080fd5b600061308084828501612f44565b91505092915050565b60006020828403121561309b57600080fd5b60006130a984828501612f59565b91505092915050565b6000602082840312156130c457600080fd5b60006130d284828501612f6e565b91505092915050565b6000602082840312156130ed57600080fd5b60006130fb84828501612fcd565b91505092915050565b6000806040838503121561311757600080fd5b600061312585828601612fcd565b925050602061313685828601612f44565b9150509250929050565b6000806040838503121561315357600080fd5b600061316185828601612fcd565b92505060206131728582860161300c565b9150509250929050565b60006020828403121561318e57600080fd5b600061319c84828501612fe2565b91505092915050565b6000602082840312156131b757600080fd5b60006131c58482850161300c565b91505092915050565b6000602082840312156131e057600080fd5b60006131ee84828501613021565b91505092915050565b60008060006040848603121561320c57600080fd5b600061321a8682870161300c565b935050602084013567ffffffffffffffff81111561323757600080fd5b61324386828701612f83565b92509250509250925092565b60008060006060848603121561326457600080fd5b60006132728682870161300c565b935050602061328386828701612ff7565b925050604061329486828701612ff7565b9150509250925092565b600080600080600060a086880312156132b657600080fd5b60006132c48882890161300c565b95505060206132d588828901612ff7565b94505060406132e68882890161304b565b93505060606132f788828901613036565b925050608061330888828901613036565b9150509295509295909350565b6000806040838503121561332857600080fd5b60006133368582860161300c565b92505060206133478582860161300c565b9150509250929050565b61335a81613e91565b82525050565b61336981613eb5565b82525050565b61337881613ec1565b82525050565b61338781613f61565b82525050565b61339681613f85565b82525050565b60006133a782613c9a565b6133b18185613cb0565b93506133c1818560208601613fbb565b6133ca816140bf565b840191505092915050565b60006133e082613c9a565b6133ea8185613cc1565b93506133fa818560208601613fbb565b80840191505092915050565b6000613413602083613cb0565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000613453601683613cb0565b91507f50555243484153453a53414c4520494e414354495645000000000000000000006000830152602082019050919050565b6000613493601383613cb0565b91507f50555243484153453a4f564552204c494d4954000000000000000000000000006000830152602082019050919050565b60006134d3601c83613cb0565b91507f50555243484153453a494e434f5252454354204d53472e56414c5545000000006000830152602082019050919050565b6000613513603a83613cb0565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000613579601d83613cb0565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b60006135b9601583613cb0565b91507f4d503a20434c41494d494e4720494e41435449564500000000000000000000006000830152602082019050919050565b60006135f9601c83613cb0565b91507f50555243484153453a41554354494f4e204e4f542053544152544544000000006000830152602082019050919050565b6000613639601383613cb0565b91507f41554354494f4e3a4e4f542043524541544544000000000000000000000000006000830152602082019050919050565b6000613679601283613cb0565b91507f4d503a57524f4e47204d53472e56414c554500000000000000000000000000006000830152602082019050919050565b60006136b9600083613ca5565b9150600082019050919050565b60006136d3602183613cb0565b91507f73657441756374696f6e3a20666c6f6f7220707269636520756e646572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613739601783613cc1565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000613779601e83613cb0565b91507f436f6e747261637420666f7262696464656e2066726f6d20627579696e6700006000830152602082019050919050565b60006137b9601f83613cb0565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006137f9601183613cc1565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000613839602f83613cb0565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b61389b81613ef7565b82525050565b6138aa81613fa9565b82525050565b6138b981613f33565b82525050565b6138c881613f3d565b82525050565b6138d781613f4d565b82525050565b60006138e8826136ac565b9150819050919050565b60006138fd8261372c565b915061390982856133d5565b9150613914826137ec565b915061392082846133d5565b91508190509392505050565b60006020820190506139416000830184613351565b92915050565b600060608201905061395c6000830186613351565b61396960208301856138a1565b61397660408301846138b0565b949350505050565b60006020820190506139936000830184613360565b92915050565b60006020820190506139ae600083018461336f565b92915050565b60006020820190506139c9600083018461337e565b92915050565b60006020820190506139e4600083018461338d565b92915050565b60006020820190508181036000830152613a04818461339c565b905092915050565b60006020820190508181036000830152613a2581613406565b9050919050565b60006020820190508181036000830152613a4581613446565b9050919050565b60006020820190508181036000830152613a6581613486565b9050919050565b60006020820190508181036000830152613a85816134c6565b9050919050565b60006020820190508181036000830152613aa581613506565b9050919050565b60006020820190508181036000830152613ac58161356c565b9050919050565b60006020820190508181036000830152613ae5816135ac565b9050919050565b60006020820190508181036000830152613b05816135ec565b9050919050565b60006020820190508181036000830152613b258161362c565b9050919050565b60006020820190508181036000830152613b458161366c565b9050919050565b60006020820190508181036000830152613b65816136c6565b9050919050565b60006020820190508181036000830152613b858161376c565b9050919050565b60006020820190508181036000830152613ba5816137ac565b9050919050565b60006020820190508181036000830152613bc58161382c565b9050919050565b6000606082019050613be16000830186613892565b613bee6020830185613892565b613bfb6040830184613360565b949350505050565b600060a082019050613c186000830188613892565b613c2560208301876138ce565b613c3260408301866138bf565b613c3f60608301856138bf565b613c4c6080830184613360565b9695505050505050565b6000602082019050613c6b60008301846138b0565b92915050565b6000604082019050613c8660008301856138b0565b613c936020830184613351565b9392505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cd782613f33565b9150613ce283613f33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d1757613d16614061565b5b828201905092915050565b6000613d2d82613f3d565b9150613d3883613f3d565b92508263ffffffff03821115613d5157613d50614061565b5b828201905092915050565b6000613d6782613f33565b9150613d7283613f33565b925082613d8257613d81614090565b5b828204905092915050565b6000613d9882613f33565b9150613da383613f33565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ddc57613ddb614061565b5b828202905092915050565b6000613df282613f4d565b9150613dfd83613f4d565b92508167ffffffffffffffff0483118215151615613e1e57613e1d614061565b5b828202905092915050565b6000613e3482613ef7565b9150613e3f83613ef7565b925082821015613e5257613e51614061565b5b828203905092915050565b6000613e6882613f33565b9150613e7383613f33565b925082821015613e8657613e85614061565b5b828203905092915050565b6000613e9c82613f13565b9050919050565b6000613eae82613f13565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b6000613f6c82613f73565b9050919050565b6000613f7e82613f13565b9050919050565b6000613f9082613f97565b9050919050565b6000613fa282613f13565b9050919050565b6000613fb482613ef7565b9050919050565b60005b83811015613fd9578082015181840152602081019050613fbe565b83811115613fe8576000848401525b50505050565b6000613ff982613f33565b9150600082141561400d5761400c614061565b5b600182039050919050565b600061402382613f33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561405657614055614061565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b6140d981613e91565b81146140e457600080fd5b50565b6140f081613ea3565b81146140fb57600080fd5b50565b61410781613ec1565b811461411257600080fd5b50565b61411e81613ecb565b811461412957600080fd5b50565b61413581613ef7565b811461414057600080fd5b50565b61414c81613f33565b811461415757600080fd5b50565b61416381613f3d565b811461416e57600080fd5b50565b61417a81613f4d565b811461418557600080fd5b5056fea264697066735822122062972f694a719757d386c7cd6bb61b3160c817dbeabd0634ad658cfb0028a45664736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000046ac8540d698167fcbb9e846511beb8cf8af9bd80000000000000000000000002fea46fbccb5ee07c293fe500353579895abf7d0000000000000000000000000e0faf18f33c307ca812b80c771ad3c9e5f043fe9000000000000000000000000e0faf18f33c307ca812b80c771ad3c9e5f043fe9
-----Decoded View---------------
Arg [0] : deployedQuantum (address): 0x46Ac8540d698167FCBb9e846511Beb8CF8af9BD8
Arg [1] : deployedMP (address): 0x2fEa46FbCcB5ee07c293fe500353579895aBf7d0
Arg [2] : admin (address): 0xe0faf18f33c307Ca812B80c771ad3c9E5f043Fe9
Arg [3] : treasury (address): 0xe0faf18f33c307Ca812B80c771ad3c9E5f043Fe9
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000046ac8540d698167fcbb9e846511beb8cf8af9bd8
Arg [1] : 0000000000000000000000002fea46fbccb5ee07c293fe500353579895abf7d0
Arg [2] : 000000000000000000000000e0faf18f33c307ca812b80c771ad3c9e5f043fe9
Arg [3] : 000000000000000000000000e0faf18f33c307ca812b80c771ad3c9e5f043fe9
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.