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 10 from a total of 10 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Distribute Aucti... | 19457316 | 163 days ago | IN | 0 ETH | 0.01163978 | ||||
Calculate Final ... | 19457301 | 163 days ago | IN | 0 ETH | 0.01826321 | ||||
Settle Auction | 19457285 | 163 days ago | IN | 0 ETH | 0.00236155 | ||||
Add Participants | 19455031 | 163 days ago | IN | 0 ETH | 0.01854917 | ||||
Place Bid | 19453031 | 163 days ago | IN | 0.06942 ETH | 0.0014554 | ||||
Place Bid | 19443656 | 165 days ago | IN | 0.04269 ETH | 0.00156828 | ||||
Place Bid | 19436628 | 166 days ago | IN | 0.003 ETH | 0.00204724 | ||||
Place Bid | 19436603 | 166 days ago | IN | 0.002 ETH | 0.00302167 | ||||
Configure Auctio... | 19429885 | 167 days ago | IN | 0 ETH | 0.00379587 | ||||
0x60806040 | 19429836 | 167 days ago | IN | 0 ETH | 0.12622319 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH | ||||
19457316 | 163 days ago | 0.0027768 ETH |
Loading...
Loading
Contract Name:
HiddenFolderAuction
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* $$\ $$\ $$\ $$\ $$\ $$ | $$ |\__| $$ | $$ | $$ | $$ |$$\ $$$$$$$ | $$$$$$$ | $$$$$$\ $$$$$$$\ $$$$$$$$ |$$ |$$ __$$ |$$ __$$ |$$ __$$\ $$ __$$\ $$ __$$ |$$ |$$ / $$ |$$ / $$ |$$$$$$$$ |$$ | $$ | $$ | $$ |$$ |$$ | $$ |$$ | $$ |$$ ____|$$ | $$ | $$ | $$ |$$ |\$$$$$$$ |\$$$$$$$ |\$$$$$$$\ $$ | $$ | \__| \__|\__| \_______| \_______| \_______|\__| \__| $$$$$$$$\ $$\ $$\ $$ _____| $$ | $$ | $$ | $$$$$$\ $$ | $$$$$$$ | $$$$$$\ $$$$$$\ $$$$$\ $$ __$$\ $$ |$$ __$$ |$$ __$$\ $$ __$$\ $$ __|$$ / $$ |$$ |$$ / $$ |$$$$$$$$ |$$ | \__| $$ | $$ | $$ |$$ |$$ | $$ |$$ ____|$$ | $$ | \$$$$$$ |$$ |\$$$$$$$ |\$$$$$$$\ $$ | \__| \______/ \__| \_______| \_______|\__| $$$$$$\ $$\ $$\ $$ __$$\ $$ | \__| $$ / $$ |$$\ $$\ $$$$$$$\ $$$$$$\ $$\ $$$$$$\ $$$$$$$\ $$$$$$$$ |$$ | $$ |$$ _____|\_$$ _| $$ |$$ __$$\ $$ __$$\ $$ __$$ |$$ | $$ |$$ / $$ | $$ |$$ / $$ |$$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |$$\ $$ |$$ | $$ |$$ | $$ | $$ | $$ |\$$$$$$ |\$$$$$$$\ \$$$$ |$$ |\$$$$$$ |$$ | $$ | \__| \__| \______/ \_______| \____/ \__| \______/ \__| \__| DROP 001 by BASEMENT */ pragma solidity ^0.8.20; import "./IHiddenFolderCore.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract HiddenFolderAuction is AccessControl, ReentrancyGuard { bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); using Address for address payable; IHiddenFolderCore hiddenFolderCoreContract; uint256 public constant MIN_BID_INCREMENT = 1e15; // 0.001 ETH in wei uint256 public constant TOKEN_ID = 0; uint256 public auctionStartTimestamp; // Unix timestamp in seconds uint256 public auctionEndTimestamp; // Unix timestamp in seconds uint256 public highestBidValue; address public highestBidder; uint256 public amountParticipantsReceive; address[] public openCallParticipants; mapping(address => uint256) public balanceOwed; mapping(address => uint256) public bids; event BidPlaced(uint256 bidValue, address indexed bidder); event BidRefunded(uint256 bidValue, address indexed bidder); event AuctionSettled(uint256 indexed tokenId); event TransferFailed(address indexed participantAddress, uint256 value); constructor(address payable hiddenFolderCoreContractAddress) { hiddenFolderCoreContract = IHiddenFolderCore(hiddenFolderCoreContractAddress); _grantRole(ADMIN_ROLE, msg.sender); } // Function to add open call participant wallets function addParticipants(address[] calldata participantAddresses) external onlyRole(ADMIN_ROLE) { for (uint i = 0; i < participantAddresses.length; i++) { openCallParticipants.push(participantAddresses[i]); } } // Function to remove open call participant wallet function removeParticipant(address participantToRemove) external onlyRole(ADMIN_ROLE) { int256 participantIndex = -1; for (uint i = 0; i < openCallParticipants.length; i++) { if (openCallParticipants[i] == participantToRemove) { participantIndex = int256(i); break; } } if (participantIndex >= 0) { openCallParticipants[uint256(participantIndex)] = openCallParticipants[openCallParticipants.length - 1]; openCallParticipants.pop(); } else { revert("Participant not found"); } } function placeBid() external payable nonReentrant { require(auctionStartTimestamp != 0 && block.timestamp >= auctionStartTimestamp, "Auction not live yet"); require(block.timestamp <= auctionEndTimestamp, "Auction is over"); uint256 minRequiredBid = highestBidValue + MIN_BID_INCREMENT; require(msg.value >= minRequiredBid, "Bid too low"); uint256 refundAmount = highestBidValue; address refundAddress = highestBidder; // Update the auction's state highestBidValue = msg.value; highestBidder = msg.sender; // Refund the previous highest bidder if (refundAmount != 0) { (bool success, ) = payable(refundAddress).call{value: refundAmount}(""); require(success, "Failed to refund previous highest bidder"); emit BidRefunded(refundAmount, refundAddress); } // Emit an event for the new bid emit BidPlaced(msg.value, msg.sender); } function configureAuction(uint256 _auctionTimestampStart) external onlyRole(ADMIN_ROLE) { require(block.timestamp <= _auctionTimestampStart, "Choose a future timestamp"); require(auctionStartTimestamp == 0, "Auction already configured"); auctionStartTimestamp = _auctionTimestampStart; auctionEndTimestamp = _auctionTimestampStart + 3 days; } function settleAuction() external onlyRole(ADMIN_ROLE) { require( auctionEndTimestamp != 0 && block.timestamp > auctionEndTimestamp, "Auction not over yet" ); require(highestBidder != address(0), "No winning bidder"); require(hiddenFolderCoreContract.auctionContractAddress() == address(this), "HiddenFolderAuction contract is not authorized"); require(hiddenFolderCoreContract.ownerOf(0) == msg.sender, "Caller does not own the token"); // Transfer the token to the winning bidder try hiddenFolderCoreContract.safeTransferFrom(msg.sender, highestBidder, 0) { emit AuctionSettled(0); } catch { revert("Token transfer failed"); } } function calculateFinalDistributionAmount() external onlyRole(ADMIN_ROLE) nonReentrant { require(openCallParticipants.length > 0, "Participant list is empty"); uint256 totalBalance = address(this).balance; uint256 amountPerParticipant = totalBalance / openCallParticipants.length; require(amountPerParticipant > 0, "Not enough balance to distribute"); amountParticipantsReceive = amountPerParticipant; for (uint256 i = 0; i < openCallParticipants.length; i++) { balanceOwed[openCallParticipants[i]] = amountPerParticipant; } } function distributeAuctionFunds() external onlyRole(ADMIN_ROLE) nonReentrant { require(openCallParticipants.length > 0, "No participants"); for (uint i = 0; i < openCallParticipants.length; i++) { uint256 balanceToDistribute = balanceOwed[openCallParticipants[i]]; if (balanceToDistribute > 0) { (bool success, ) = payable(openCallParticipants[i]).call{value: balanceToDistribute}(""); if (success) { balanceOwed[openCallParticipants[i]] = 0; } else { emit TransferFailed(openCallParticipants[i], balanceToDistribute); } } } } // Fallback to allow admin to withdraw function withdraw() external onlyRole(ADMIN_ROLE) { uint256 balance = address(this).balance; require(balance > 0, "No funds to withdraw"); (bool success, ) = msg.sender.call{value: balance}(""); require(success, "Transfer failed."); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../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: * * ```solidity * 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}: * * ```solidity * 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. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @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 virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @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 virtual 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. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual 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. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual 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 revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @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); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @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. */ 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 `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @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; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; interface IHiddenFolderCore { function auctionContractAddress() external view returns (address); function ownerOf(uint256 tokenId) external view returns (address); function safeTransferFrom(address from, address to, uint256 tokenId) external; }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"hiddenFolderCoreContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AuctionSettled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bidValue","type":"uint256"},{"indexed":true,"internalType":"address","name":"bidder","type":"address"}],"name":"BidPlaced","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bidValue","type":"uint256"},{"indexed":true,"internalType":"address","name":"bidder","type":"address"}],"name":"BidRefunded","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"participantAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferFailed","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_BID_INCREMENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"participantAddresses","type":"address[]"}],"name":"addParticipants","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountParticipantsReceive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOwed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateFinalDistributionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionTimestampStart","type":"uint256"}],"name":"configureAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeAuctionFunds","outputs":[],"stateMutability":"nonpayable","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":"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":"highestBidValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"highestBidder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"openCallParticipants","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeBid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"participantToRemove","type":"address"}],"name":"removeParticipant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","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":[],"name":"settleAuction","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002d2338038062002d23833981810160405281019062000037919062000298565b6001808190555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000b17fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533620000b960201b60201c565b5050620002ca565b6000620000cd8383620001bc60201b60201c565b620001b157600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200014d6200022660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050620001b6565b600090505b92915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002608262000233565b9050919050565b620002728162000253565b81146200027e57600080fd5b50565b600081519050620002928162000267565b92915050565b600060208284031215620002b157620002b06200022e565b5b6000620002c18482850162000281565b91505092915050565b612a4980620002da6000396000f3fe6080604052600436106101855760003560e01c806375b238fc116100d1578063c56474b01161008a578063dcff7e2c11610064578063dcff7e2c14610555578063ecfc7ecc14610580578063ee1ab55b1461058a578063ff9852bf146105a15761018c565b8063c56474b0146104ea578063c6a96c8f14610501578063d547741f1461052c5761018c565b806375b238fc146103ea57806389a890021461041557806391d148541461044057806391f901571461047d578063a217fddf146104a8578063a4d0a17e146104d35761018c565b80633e5001071161013e5780636264096a116101185780636264096a1461032e57806362ea82db14610359578063668a20011461039657806371943bce146103bf5761018c565b80633e5001071461029f5780635913ae86146102c85780635b4ccc9d146103055761018c565b806301ffc9a714610191578063248a9ca3146101ce5780632f2ff15d1461020b57806336568abe146102345780633b56621f1461025d5780633ccfd60b146102885761018c565b3661018c57005b600080fd5b34801561019d57600080fd5b506101b860048036038101906101b39190611c81565b6105de565b6040516101c59190611cc9565b60405180910390f35b3480156101da57600080fd5b506101f560048036038101906101f09190611d1a565b610658565b6040516102029190611d56565b60405180910390f35b34801561021757600080fd5b50610232600480360381019061022d9190611dcf565b610677565b005b34801561024057600080fd5b5061025b60048036038101906102569190611dcf565b610699565b005b34801561026957600080fd5b50610272610714565b60405161027f9190611e28565b60405180910390f35b34801561029457600080fd5b5061029d61071a565b005b3480156102ab57600080fd5b506102c660048036038101906102c19190611e6f565b61083d565b005b3480156102d457600080fd5b506102ef60048036038101906102ea9190611e6f565b61090f565b6040516102fc9190611eab565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190611f2b565b61094e565b005b34801561033a57600080fd5b50610343610a29565b6040516103509190611e28565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190611f78565b610a2f565b60405161038d9190611e28565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b89190611f78565b610a47565b005b3480156103cb57600080fd5b506103d4610c73565b6040516103e19190611e28565b60405180910390f35b3480156103f657600080fd5b506103ff610c7e565b60405161040c9190611d56565b60405180910390f35b34801561042157600080fd5b5061042a610ca2565b6040516104379190611e28565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190611dcf565b610ca7565b6040516104749190611cc9565b60405180910390f35b34801561048957600080fd5b50610492610d11565b60405161049f9190611eab565b60405180910390f35b3480156104b457600080fd5b506104bd610d37565b6040516104ca9190611d56565b60405180910390f35b3480156104df57600080fd5b506104e8610d3e565b005b3480156104f657600080fd5b506104ff611171565b005b34801561050d57600080fd5b50610516611302565b6040516105239190611e28565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e9190611dcf565b611308565b005b34801561056157600080fd5b5061056a61132a565b6040516105779190611e28565b60405180910390f35b610588611330565b005b34801561059657600080fd5b5061059f611602565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190611f78565b6118fe565b6040516105d59190611e28565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610651575061065082611916565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b61068082610658565b61068981611980565b6106938383611994565b50505050565b6106a1611a85565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610705576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61070f8282611a8d565b505050565b60045481565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561074481611980565b60004790506000811161078c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078390612002565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16826040516107b290612053565b60006040518083038185875af1925050503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b5050905080610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f906120b4565b60405180910390fd5b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561086781611980565b814211156108aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a190612120565b60405180910390fd5b6000600354146108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e69061218c565b60405180910390fd5b816003819055506203f4808261090591906121db565b6004819055505050565b6008818154811061091f57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561097881611980565b60005b83839050811015610a2357600884848381811061099b5761099a61220f565b5b90506020020160208101906109b09190611f78565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610a1b9061223e565b91505061097b565b50505050565b60075481565b600a6020528060005260406000206000915090505481565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610a7181611980565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060005b600880549050811015610b32578373ffffffffffffffffffffffffffffffffffffffff1660088281548110610ad157610ad061220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610b1f57809150610b32565b8080610b2a9061223e565b915050610a99565b5060008112610c335760086001600880549050610b4f9190612286565b81548110610b6057610b5f61220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660088281548110610b9f57610b9e61220f565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008805480610bf957610bf86122ba565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055610c6e565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590612335565b60405180910390fd5b505050565b66038d7ea4c6800081565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600081565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610d6881611980565b600060045414158015610d7c575060045442115b610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906123a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e439061240d565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ea8919ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef49190612442565b73ffffffffffffffffffffffffffffffffffffffff1614610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f41906124e1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e60006040518263ffffffff1660e01b8152600401610fbd9190612546565b602060405180830381865afa158015610fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffe9190612442565b73ffffffffffffffffffffffffffffffffffffffff1614611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b906125ad565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e33600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518463ffffffff1660e01b81526004016110d6939291906125cd565b600060405180830381600087803b1580156110f057600080fd5b505af1925050508015611101575060015b611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113790612650565b60405180910390fd5b60007f2f95e6505f529dd225ce705685fe55440c01f2824ac3fb4303f6eef4bd453ff460405160405180910390a250565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561119b81611980565b6111a3611b7f565b6000600880549050116111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e2906126bc565b60405180910390fd5b6000479050600060088054905082611203919061270b565b905060008111611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90612788565b60405180910390fd5b8060078190555060005b6008805490508110156112f4578160096000600884815481106112785761127761220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806112ec9061223e565b915050611252565b5050506112ff611bc5565b50565b60035481565b61131182610658565b61131a81611980565b6113248383611a8d565b50505050565b60055481565b611338611b7f565b60006003541415801561134d57506003544210155b61138c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611383906127f4565b60405180910390fd5b6004544211156113d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c890612860565b60405180910390fd5b600066038d7ea4c680006005546113e891906121db565b90508034101561142d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611424906128cc565b60405180910390fd5b600060055490506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503460058190555033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600082146115a75760008173ffffffffffffffffffffffffffffffffffffffff16836040516114d190612053565b60006040518083038185875af1925050503d806000811461150e576040519150601f19603f3d011682016040523d82523d6000602084013e611513565b606091505b5050905080611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e9061295e565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff167f9c5525ffca6cc3720f409252e80d131d2f17acd1cb14eb5f5429683c0dc8a03c8460405161159d9190611e28565b60405180910390a2505b3373ffffffffffffffffffffffffffffffffffffffff167f5445de3f4fe13efb115ec05c57e09cc0e277801d0cd2ae780457ebcd8688c391346040516115ed9190611e28565b60405180910390a2505050611600611bc5565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561162c81611980565b611634611b7f565b60006008805490501161167c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611673906129ca565b60405180910390fd5b60005b6008805490508110156118f257600060096000600884815481106116a6576116a561220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156118de5760006008838154811061172d5761172c61220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161177b90612053565b60006040518083038185875af1925050503d80600081146117b8576040519150601f19603f3d011682016040523d82523d6000602084013e6117bd565b606091505b50509050801561184f57600060096000600886815481106117e1576117e061220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118dc565b600883815481106118635761186261220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f1c43b9761b3fba5321ca8212bfc231945f668ccc0c446f333999eea9ce8fda81836040516118d39190611e28565b60405180910390a25b505b5080806118ea9061223e565b91505061167f565b506118fb611bc5565b50565b60096020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6119918161198c611a85565b611bce565b50565b60006119a08383610ca7565b611a7a57600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a17611a85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611a7f565b600090505b92915050565b600033905090565b6000611a998383610ca7565b15611b7457600080600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b11611a85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611b79565b600090505b92915050565b600260015403611bbb576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b611bd88282610ca7565b611c1b5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401611c129291906129ea565b60405180910390fd5b5050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611c5e81611c29565b8114611c6957600080fd5b50565b600081359050611c7b81611c55565b92915050565b600060208284031215611c9757611c96611c1f565b5b6000611ca584828501611c6c565b91505092915050565b60008115159050919050565b611cc381611cae565b82525050565b6000602082019050611cde6000830184611cba565b92915050565b6000819050919050565b611cf781611ce4565b8114611d0257600080fd5b50565b600081359050611d1481611cee565b92915050565b600060208284031215611d3057611d2f611c1f565b5b6000611d3e84828501611d05565b91505092915050565b611d5081611ce4565b82525050565b6000602082019050611d6b6000830184611d47565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d9c82611d71565b9050919050565b611dac81611d91565b8114611db757600080fd5b50565b600081359050611dc981611da3565b92915050565b60008060408385031215611de657611de5611c1f565b5b6000611df485828601611d05565b9250506020611e0585828601611dba565b9150509250929050565b6000819050919050565b611e2281611e0f565b82525050565b6000602082019050611e3d6000830184611e19565b92915050565b611e4c81611e0f565b8114611e5757600080fd5b50565b600081359050611e6981611e43565b92915050565b600060208284031215611e8557611e84611c1f565b5b6000611e9384828501611e5a565b91505092915050565b611ea581611d91565b82525050565b6000602082019050611ec06000830184611e9c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611eeb57611eea611ec6565b5b8235905067ffffffffffffffff811115611f0857611f07611ecb565b5b602083019150836020820283011115611f2457611f23611ed0565b5b9250929050565b60008060208385031215611f4257611f41611c1f565b5b600083013567ffffffffffffffff811115611f6057611f5f611c24565b5b611f6c85828601611ed5565b92509250509250929050565b600060208284031215611f8e57611f8d611c1f565b5b6000611f9c84828501611dba565b91505092915050565b600082825260208201905092915050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b6000611fec601483611fa5565b9150611ff782611fb6565b602082019050919050565b6000602082019050818103600083015261201b81611fdf565b9050919050565b600081905092915050565b50565b600061203d600083612022565b91506120488261202d565b600082019050919050565b600061205e82612030565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061209e601083611fa5565b91506120a982612068565b602082019050919050565b600060208201905081810360008301526120cd81612091565b9050919050565b7f43686f6f73652061206675747572652074696d657374616d7000000000000000600082015250565b600061210a601983611fa5565b9150612115826120d4565b602082019050919050565b60006020820190508181036000830152612139816120fd565b9050919050565b7f41756374696f6e20616c726561647920636f6e66696775726564000000000000600082015250565b6000612176601a83611fa5565b915061218182612140565b602082019050919050565b600060208201905081810360008301526121a581612169565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121e682611e0f565b91506121f183611e0f565b9250828201905080821115612209576122086121ac565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061224982611e0f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361227b5761227a6121ac565b5b600182019050919050565b600061229182611e0f565b915061229c83611e0f565b92508282039050818111156122b4576122b36121ac565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f5061727469636970616e74206e6f7420666f756e640000000000000000000000600082015250565b600061231f601583611fa5565b915061232a826122e9565b602082019050919050565b6000602082019050818103600083015261234e81612312565b9050919050565b7f41756374696f6e206e6f74206f76657220796574000000000000000000000000600082015250565b600061238b601483611fa5565b915061239682612355565b602082019050919050565b600060208201905081810360008301526123ba8161237e565b9050919050565b7f4e6f2077696e6e696e6720626964646572000000000000000000000000000000600082015250565b60006123f7601183611fa5565b9150612402826123c1565b602082019050919050565b60006020820190508181036000830152612426816123ea565b9050919050565b60008151905061243c81611da3565b92915050565b60006020828403121561245857612457611c1f565b5b60006124668482850161242d565b91505092915050565b7f48696464656e466f6c64657241756374696f6e20636f6e74726163742069732060008201527f6e6f7420617574686f72697a6564000000000000000000000000000000000000602082015250565b60006124cb602e83611fa5565b91506124d68261246f565b604082019050919050565b600060208201905081810360008301526124fa816124be565b9050919050565b6000819050919050565b6000819050919050565b600061253061252b61252684612501565b61250b565b611e0f565b9050919050565b61254081612515565b82525050565b600060208201905061255b6000830184612537565b92915050565b7f43616c6c657220646f6573206e6f74206f776e2074686520746f6b656e000000600082015250565b6000612597601d83611fa5565b91506125a282612561565b602082019050919050565b600060208201905081810360008301526125c68161258a565b9050919050565b60006060820190506125e26000830186611e9c565b6125ef6020830185611e9c565b6125fc6040830184612537565b949350505050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b600061263a601583611fa5565b915061264582612604565b602082019050919050565b600060208201905081810360008301526126698161262d565b9050919050565b7f5061727469636970616e74206c69737420697320656d70747900000000000000600082015250565b60006126a6601983611fa5565b91506126b182612670565b602082019050919050565b600060208201905081810360008301526126d581612699565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061271682611e0f565b915061272183611e0f565b925082612731576127306126dc565b5b828204905092915050565b7f4e6f7420656e6f7567682062616c616e636520746f2064697374726962757465600082015250565b6000612772602083611fa5565b915061277d8261273c565b602082019050919050565b600060208201905081810360008301526127a181612765565b9050919050565b7f41756374696f6e206e6f74206c69766520796574000000000000000000000000600082015250565b60006127de601483611fa5565b91506127e9826127a8565b602082019050919050565b6000602082019050818103600083015261280d816127d1565b9050919050565b7f41756374696f6e206973206f7665720000000000000000000000000000000000600082015250565b600061284a600f83611fa5565b915061285582612814565b602082019050919050565b600060208201905081810360008301526128798161283d565b9050919050565b7f42696420746f6f206c6f77000000000000000000000000000000000000000000600082015250565b60006128b6600b83611fa5565b91506128c182612880565b602082019050919050565b600060208201905081810360008301526128e5816128a9565b9050919050565b7f4661696c656420746f20726566756e642070726576696f75732068696768657360008201527f7420626964646572000000000000000000000000000000000000000000000000602082015250565b6000612948602883611fa5565b9150612953826128ec565b604082019050919050565b600060208201905081810360008301526129778161293b565b9050919050565b7f4e6f207061727469636970616e74730000000000000000000000000000000000600082015250565b60006129b4600f83611fa5565b91506129bf8261297e565b602082019050919050565b600060208201905081810360008301526129e3816129a7565b9050919050565b60006040820190506129ff6000830185611e9c565b612a0c6020830184611d47565b939250505056fea26469706673582212207d87cebc7ff44e005603b9933128e9fbd84a72fe538d345adb6b8ee6b505a20e64736f6c63430008140033000000000000000000000000fb4e63b86f0c55b90757e4426f09deb0d6e9b25f
Deployed Bytecode
0x6080604052600436106101855760003560e01c806375b238fc116100d1578063c56474b01161008a578063dcff7e2c11610064578063dcff7e2c14610555578063ecfc7ecc14610580578063ee1ab55b1461058a578063ff9852bf146105a15761018c565b8063c56474b0146104ea578063c6a96c8f14610501578063d547741f1461052c5761018c565b806375b238fc146103ea57806389a890021461041557806391d148541461044057806391f901571461047d578063a217fddf146104a8578063a4d0a17e146104d35761018c565b80633e5001071161013e5780636264096a116101185780636264096a1461032e57806362ea82db14610359578063668a20011461039657806371943bce146103bf5761018c565b80633e5001071461029f5780635913ae86146102c85780635b4ccc9d146103055761018c565b806301ffc9a714610191578063248a9ca3146101ce5780632f2ff15d1461020b57806336568abe146102345780633b56621f1461025d5780633ccfd60b146102885761018c565b3661018c57005b600080fd5b34801561019d57600080fd5b506101b860048036038101906101b39190611c81565b6105de565b6040516101c59190611cc9565b60405180910390f35b3480156101da57600080fd5b506101f560048036038101906101f09190611d1a565b610658565b6040516102029190611d56565b60405180910390f35b34801561021757600080fd5b50610232600480360381019061022d9190611dcf565b610677565b005b34801561024057600080fd5b5061025b60048036038101906102569190611dcf565b610699565b005b34801561026957600080fd5b50610272610714565b60405161027f9190611e28565b60405180910390f35b34801561029457600080fd5b5061029d61071a565b005b3480156102ab57600080fd5b506102c660048036038101906102c19190611e6f565b61083d565b005b3480156102d457600080fd5b506102ef60048036038101906102ea9190611e6f565b61090f565b6040516102fc9190611eab565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190611f2b565b61094e565b005b34801561033a57600080fd5b50610343610a29565b6040516103509190611e28565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190611f78565b610a2f565b60405161038d9190611e28565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b89190611f78565b610a47565b005b3480156103cb57600080fd5b506103d4610c73565b6040516103e19190611e28565b60405180910390f35b3480156103f657600080fd5b506103ff610c7e565b60405161040c9190611d56565b60405180910390f35b34801561042157600080fd5b5061042a610ca2565b6040516104379190611e28565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190611dcf565b610ca7565b6040516104749190611cc9565b60405180910390f35b34801561048957600080fd5b50610492610d11565b60405161049f9190611eab565b60405180910390f35b3480156104b457600080fd5b506104bd610d37565b6040516104ca9190611d56565b60405180910390f35b3480156104df57600080fd5b506104e8610d3e565b005b3480156104f657600080fd5b506104ff611171565b005b34801561050d57600080fd5b50610516611302565b6040516105239190611e28565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e9190611dcf565b611308565b005b34801561056157600080fd5b5061056a61132a565b6040516105779190611e28565b60405180910390f35b610588611330565b005b34801561059657600080fd5b5061059f611602565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190611f78565b6118fe565b6040516105d59190611e28565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610651575061065082611916565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b61068082610658565b61068981611980565b6106938383611994565b50505050565b6106a1611a85565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610705576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61070f8282611a8d565b505050565b60045481565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561074481611980565b60004790506000811161078c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078390612002565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16826040516107b290612053565b60006040518083038185875af1925050503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b5050905080610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f906120b4565b60405180910390fd5b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561086781611980565b814211156108aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a190612120565b60405180910390fd5b6000600354146108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e69061218c565b60405180910390fd5b816003819055506203f4808261090591906121db565b6004819055505050565b6008818154811061091f57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561097881611980565b60005b83839050811015610a2357600884848381811061099b5761099a61220f565b5b90506020020160208101906109b09190611f78565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610a1b9061223e565b91505061097b565b50505050565b60075481565b600a6020528060005260406000206000915090505481565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610a7181611980565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060005b600880549050811015610b32578373ffffffffffffffffffffffffffffffffffffffff1660088281548110610ad157610ad061220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610b1f57809150610b32565b8080610b2a9061223e565b915050610a99565b5060008112610c335760086001600880549050610b4f9190612286565b81548110610b6057610b5f61220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660088281548110610b9f57610b9e61220f565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008805480610bf957610bf86122ba565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055610c6e565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590612335565b60405180910390fd5b505050565b66038d7ea4c6800081565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600081565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610d6881611980565b600060045414158015610d7c575060045442115b610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906123a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e439061240d565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ea8919ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef49190612442565b73ffffffffffffffffffffffffffffffffffffffff1614610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f41906124e1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e60006040518263ffffffff1660e01b8152600401610fbd9190612546565b602060405180830381865afa158015610fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffe9190612442565b73ffffffffffffffffffffffffffffffffffffffff1614611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b906125ad565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e33600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518463ffffffff1660e01b81526004016110d6939291906125cd565b600060405180830381600087803b1580156110f057600080fd5b505af1925050508015611101575060015b611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113790612650565b60405180910390fd5b60007f2f95e6505f529dd225ce705685fe55440c01f2824ac3fb4303f6eef4bd453ff460405160405180910390a250565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561119b81611980565b6111a3611b7f565b6000600880549050116111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e2906126bc565b60405180910390fd5b6000479050600060088054905082611203919061270b565b905060008111611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90612788565b60405180910390fd5b8060078190555060005b6008805490508110156112f4578160096000600884815481106112785761127761220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806112ec9061223e565b915050611252565b5050506112ff611bc5565b50565b60035481565b61131182610658565b61131a81611980565b6113248383611a8d565b50505050565b60055481565b611338611b7f565b60006003541415801561134d57506003544210155b61138c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611383906127f4565b60405180910390fd5b6004544211156113d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c890612860565b60405180910390fd5b600066038d7ea4c680006005546113e891906121db565b90508034101561142d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611424906128cc565b60405180910390fd5b600060055490506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503460058190555033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600082146115a75760008173ffffffffffffffffffffffffffffffffffffffff16836040516114d190612053565b60006040518083038185875af1925050503d806000811461150e576040519150601f19603f3d011682016040523d82523d6000602084013e611513565b606091505b5050905080611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e9061295e565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff167f9c5525ffca6cc3720f409252e80d131d2f17acd1cb14eb5f5429683c0dc8a03c8460405161159d9190611e28565b60405180910390a2505b3373ffffffffffffffffffffffffffffffffffffffff167f5445de3f4fe13efb115ec05c57e09cc0e277801d0cd2ae780457ebcd8688c391346040516115ed9190611e28565b60405180910390a2505050611600611bc5565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561162c81611980565b611634611b7f565b60006008805490501161167c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611673906129ca565b60405180910390fd5b60005b6008805490508110156118f257600060096000600884815481106116a6576116a561220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156118de5760006008838154811061172d5761172c61220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161177b90612053565b60006040518083038185875af1925050503d80600081146117b8576040519150601f19603f3d011682016040523d82523d6000602084013e6117bd565b606091505b50509050801561184f57600060096000600886815481106117e1576117e061220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118dc565b600883815481106118635761186261220f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f1c43b9761b3fba5321ca8212bfc231945f668ccc0c446f333999eea9ce8fda81836040516118d39190611e28565b60405180910390a25b505b5080806118ea9061223e565b91505061167f565b506118fb611bc5565b50565b60096020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6119918161198c611a85565b611bce565b50565b60006119a08383610ca7565b611a7a57600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a17611a85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611a7f565b600090505b92915050565b600033905090565b6000611a998383610ca7565b15611b7457600080600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b11611a85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611b79565b600090505b92915050565b600260015403611bbb576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b611bd88282610ca7565b611c1b5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401611c129291906129ea565b60405180910390fd5b5050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611c5e81611c29565b8114611c6957600080fd5b50565b600081359050611c7b81611c55565b92915050565b600060208284031215611c9757611c96611c1f565b5b6000611ca584828501611c6c565b91505092915050565b60008115159050919050565b611cc381611cae565b82525050565b6000602082019050611cde6000830184611cba565b92915050565b6000819050919050565b611cf781611ce4565b8114611d0257600080fd5b50565b600081359050611d1481611cee565b92915050565b600060208284031215611d3057611d2f611c1f565b5b6000611d3e84828501611d05565b91505092915050565b611d5081611ce4565b82525050565b6000602082019050611d6b6000830184611d47565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d9c82611d71565b9050919050565b611dac81611d91565b8114611db757600080fd5b50565b600081359050611dc981611da3565b92915050565b60008060408385031215611de657611de5611c1f565b5b6000611df485828601611d05565b9250506020611e0585828601611dba565b9150509250929050565b6000819050919050565b611e2281611e0f565b82525050565b6000602082019050611e3d6000830184611e19565b92915050565b611e4c81611e0f565b8114611e5757600080fd5b50565b600081359050611e6981611e43565b92915050565b600060208284031215611e8557611e84611c1f565b5b6000611e9384828501611e5a565b91505092915050565b611ea581611d91565b82525050565b6000602082019050611ec06000830184611e9c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611eeb57611eea611ec6565b5b8235905067ffffffffffffffff811115611f0857611f07611ecb565b5b602083019150836020820283011115611f2457611f23611ed0565b5b9250929050565b60008060208385031215611f4257611f41611c1f565b5b600083013567ffffffffffffffff811115611f6057611f5f611c24565b5b611f6c85828601611ed5565b92509250509250929050565b600060208284031215611f8e57611f8d611c1f565b5b6000611f9c84828501611dba565b91505092915050565b600082825260208201905092915050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b6000611fec601483611fa5565b9150611ff782611fb6565b602082019050919050565b6000602082019050818103600083015261201b81611fdf565b9050919050565b600081905092915050565b50565b600061203d600083612022565b91506120488261202d565b600082019050919050565b600061205e82612030565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061209e601083611fa5565b91506120a982612068565b602082019050919050565b600060208201905081810360008301526120cd81612091565b9050919050565b7f43686f6f73652061206675747572652074696d657374616d7000000000000000600082015250565b600061210a601983611fa5565b9150612115826120d4565b602082019050919050565b60006020820190508181036000830152612139816120fd565b9050919050565b7f41756374696f6e20616c726561647920636f6e66696775726564000000000000600082015250565b6000612176601a83611fa5565b915061218182612140565b602082019050919050565b600060208201905081810360008301526121a581612169565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121e682611e0f565b91506121f183611e0f565b9250828201905080821115612209576122086121ac565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061224982611e0f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361227b5761227a6121ac565b5b600182019050919050565b600061229182611e0f565b915061229c83611e0f565b92508282039050818111156122b4576122b36121ac565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f5061727469636970616e74206e6f7420666f756e640000000000000000000000600082015250565b600061231f601583611fa5565b915061232a826122e9565b602082019050919050565b6000602082019050818103600083015261234e81612312565b9050919050565b7f41756374696f6e206e6f74206f76657220796574000000000000000000000000600082015250565b600061238b601483611fa5565b915061239682612355565b602082019050919050565b600060208201905081810360008301526123ba8161237e565b9050919050565b7f4e6f2077696e6e696e6720626964646572000000000000000000000000000000600082015250565b60006123f7601183611fa5565b9150612402826123c1565b602082019050919050565b60006020820190508181036000830152612426816123ea565b9050919050565b60008151905061243c81611da3565b92915050565b60006020828403121561245857612457611c1f565b5b60006124668482850161242d565b91505092915050565b7f48696464656e466f6c64657241756374696f6e20636f6e74726163742069732060008201527f6e6f7420617574686f72697a6564000000000000000000000000000000000000602082015250565b60006124cb602e83611fa5565b91506124d68261246f565b604082019050919050565b600060208201905081810360008301526124fa816124be565b9050919050565b6000819050919050565b6000819050919050565b600061253061252b61252684612501565b61250b565b611e0f565b9050919050565b61254081612515565b82525050565b600060208201905061255b6000830184612537565b92915050565b7f43616c6c657220646f6573206e6f74206f776e2074686520746f6b656e000000600082015250565b6000612597601d83611fa5565b91506125a282612561565b602082019050919050565b600060208201905081810360008301526125c68161258a565b9050919050565b60006060820190506125e26000830186611e9c565b6125ef6020830185611e9c565b6125fc6040830184612537565b949350505050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b600061263a601583611fa5565b915061264582612604565b602082019050919050565b600060208201905081810360008301526126698161262d565b9050919050565b7f5061727469636970616e74206c69737420697320656d70747900000000000000600082015250565b60006126a6601983611fa5565b91506126b182612670565b602082019050919050565b600060208201905081810360008301526126d581612699565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061271682611e0f565b915061272183611e0f565b925082612731576127306126dc565b5b828204905092915050565b7f4e6f7420656e6f7567682062616c616e636520746f2064697374726962757465600082015250565b6000612772602083611fa5565b915061277d8261273c565b602082019050919050565b600060208201905081810360008301526127a181612765565b9050919050565b7f41756374696f6e206e6f74206c69766520796574000000000000000000000000600082015250565b60006127de601483611fa5565b91506127e9826127a8565b602082019050919050565b6000602082019050818103600083015261280d816127d1565b9050919050565b7f41756374696f6e206973206f7665720000000000000000000000000000000000600082015250565b600061284a600f83611fa5565b915061285582612814565b602082019050919050565b600060208201905081810360008301526128798161283d565b9050919050565b7f42696420746f6f206c6f77000000000000000000000000000000000000000000600082015250565b60006128b6600b83611fa5565b91506128c182612880565b602082019050919050565b600060208201905081810360008301526128e5816128a9565b9050919050565b7f4661696c656420746f20726566756e642070726576696f75732068696768657360008201527f7420626964646572000000000000000000000000000000000000000000000000602082015250565b6000612948602883611fa5565b9150612953826128ec565b604082019050919050565b600060208201905081810360008301526129778161293b565b9050919050565b7f4e6f207061727469636970616e74730000000000000000000000000000000000600082015250565b60006129b4600f83611fa5565b91506129bf8261297e565b602082019050919050565b600060208201905081810360008301526129e3816129a7565b9050919050565b60006040820190506129ff6000830185611e9c565b612a0c6020830184611d47565b939250505056fea26469706673582212207d87cebc7ff44e005603b9933128e9fbd84a72fe538d345adb6b8ee6b505a20e64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fb4e63b86f0c55b90757e4426f09deb0d6e9b25f
-----Decoded View---------------
Arg [0] : hiddenFolderCoreContractAddress (address): 0xFb4E63b86F0C55b90757e4426f09deB0D6e9b25f
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fb4e63b86f0c55b90757e4426f09deb0d6e9b25f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.