ETH Price: $3,392.87 (+6.20%)
 

Overview

ETH Balance

11,539.5 ETH

Eth Value

$39,152,036.37 (@ $3,392.87/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Project Fu...166064892023-02-11 15:43:35712 days ago1676130215IN
0xF42c318d...Fa01a961d
0 ETH0.0004344418.47201784
Transfer158497632022-10-28 23:12:23818 days ago1666998743IN
0xF42c318d...Fa01a961d
0.01 ETH0.0002170910.33791347
Transfer158497592022-10-28 23:11:35818 days ago1666998695IN
0xF42c318d...Fa01a961d
0.01 ETH0.0002318711.04171321
Emergency Withdr...151925022022-07-22 13:00:25916 days ago1658494825IN
0xF42c318d...Fa01a961d
0 ETH0.0003386412
Claim Project Fu...151925022022-07-22 13:00:25916 days ago1658494825IN
0xF42c318d...Fa01a961d
0 ETH0.0002822212
Bid146745422022-04-28 18:54:241001 days ago1651172064IN
0xF42c318d...Fa01a961d
6.6 ETH0.001154448.5453169
Bid146694012022-04-27 23:28:311002 days ago1651102111IN
0xF42c318d...Fa01a961d
2.2 ETH0.0012601552.99242536
Emergency Withdr...146579922022-04-26 4:13:081004 days ago1650946388IN
0xF42c318d...Fa01a961d
0 ETH0.0018625266
Emergency Withdr...146579842022-04-26 4:10:451004 days ago1650946245IN
0xF42c318d...Fa01a961d
0 ETH0.0013826848.99676432
Load Mint Pass O...146453862022-04-24 4:39:161006 days ago1650775156IN
0xF42c318d...Fa01a961d
0 ETH0.0006122524.34319855
Claim Project Fu...146453752022-04-24 4:36:181006 days ago1650774978IN
0xF42c318d...Fa01a961d
0 ETH0.0004817120.48213334
Process Refunds146453582022-04-24 4:32:281006 days ago1650774748IN
0xF42c318d...Fa01a961d
0 ETH0.0005791920.88475984
Bid146388712022-04-23 4:07:491007 days ago1650686869IN
0xF42c318d...Fa01a961d
0.000001 ETH0.0010027942.19102858
0x8855039d146384782022-04-23 2:36:261007 days ago1650681386IN
0xF42c318d...Fa01a961d
0 ETH0.000798137.51197719
Lol146384142022-04-23 2:22:521007 days ago1650680572IN
0xF42c318d...Fa01a961d
0 ETH0.0011421853.73704986
Rekt146384072022-04-23 2:19:231007 days ago1650680363IN
0xF42c318d...Fa01a961d
0 ETH0.0008413339.54393966
0x50656e69146384062022-04-23 2:19:041007 days ago1650680344IN
0xF42c318d...Fa01a961d
0 ETH0.0007626735.81827801
Gm146384022022-04-23 2:17:231007 days ago1650680243IN
0xF42c318d...Fa01a961d
0 ETH0.0009671745.45863008
Liquidate146384012022-04-23 2:17:051007 days ago1650680225IN
0xF42c318d...Fa01a961d
0 ETH0.0008955942.13357345
Emergency Withdr...146383982022-04-23 2:15:591007 days ago1650680159IN
0xF42c318d...Fa01a961d
0 ETH0.0012989955
Rip146383952022-04-23 2:14:381007 days ago1650680078IN
0xF42c318d...Fa01a961d
0 ETH0.0006655431.28283018
Hello146383942022-04-23 2:14:141007 days ago1650680054IN
0xF42c318d...Fa01a961d
0 ETH0.000617629.05566633
Stop146383812022-04-23 2:11:211007 days ago1650679881IN
0xF42c318d...Fa01a961d
0 ETH0.0006175729.05433386
Rug Pull All146383772022-04-23 2:10:271007 days ago1650679827IN
0xF42c318d...Fa01a961d
0 ETH0.0005801227.26554094
Rug Pull All146383622022-04-23 2:07:251007 days ago1650679645IN
0xF42c318d...Fa01a961d
0 ETH0.0008844841.56978283
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.2 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.2 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.2 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.3 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
146380732022-04-23 1:04:511007 days ago1650675891
0xF42c318d...Fa01a961d
0.1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AkuAuction

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-22
*/

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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);
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: workspaces/default_workspace/samuraisanta.sol

/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2022 WYE Company
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 */

pragma solidity 0.8.13;





interface akuNFT {
    function airdropProgress() external view returns(uint256);
}

contract AkuAuction is Ownable {
    using Strings for uint256;

    address payable immutable project;

    uint256 public maxNFTs = 15000;
    uint256 public totalForAuction = 5495; //529 + 2527 + 6449

    struct bids {
        address bidder;
        uint80 price;
        uint8 bidsPlaced;
        uint8 finalProcess; //0: Not processed, 1: refunded, 2: withdrawn
    }

    uint256 private constant DURATION = 126 minutes;
    uint256 public immutable startingPrice;
    uint256 public immutable startAt;
    uint256 public expiresAt;
    uint256 public immutable discountRate;
    mapping(address=>uint256) public mintPassOwner;
    uint256 public constant mintPassDiscount = 0.5 ether;
    mapping(address => uint256) public personalBids;
    mapping(uint256 => bids) public allBids;
    uint256 public bidIndex = 1;
    uint256 public totalBids;
    uint256 public totalBidValue;
    uint256 public maxBids = 3;
    uint256 public refundProgress = 1;

    akuNFT public akuNFTs;

    constructor(address _project, 
        uint256 startingTime,
        uint256 _startingPrice,
        uint256 _discountRate)
    {
        project = payable(_project);

        startingPrice = _startingPrice;
        startAt = startingTime;
        expiresAt = startAt + DURATION;
        discountRate = _discountRate;

        require(_startingPrice >= _discountRate * (DURATION/6 minutes), "Starting price less than minimum");
    }

    function getPrice() public view returns (uint80) {
        uint256 currentTime = block.timestamp;
        if(currentTime > expiresAt) currentTime = expiresAt;
        uint256 timeElapsed = (currentTime - startAt) / 6 minutes;
        uint256 discount = discountRate * timeElapsed;
        return uint80(startingPrice - discount);
    }

    function bid(uint8 amount) external payable {
        _bid(amount, msg.value);
    }

    receive() external payable {
        revert("Please use the bid function");
    }

    function _bid(uint8 amount, uint256 value) internal {
        require(block.timestamp > startAt, "Auction not started yet");
        require(block.timestamp < expiresAt, "Auction expired");
        uint80 price = getPrice();
        uint256 totalPrice = price * amount;
        if (value < totalPrice) {
            revert("Bid not high enough");
        }
        
        uint256 myBidIndex = personalBids[msg.sender];
        bids memory myBids;
        uint256 refund;

        if (myBidIndex > 0) {
            myBids = allBids[myBidIndex];
            refund = myBids.bidsPlaced * (myBids.price - price);
        }
        uint256 _totalBids = totalBids + amount;
        myBids.bidsPlaced += amount;

        if (myBids.bidsPlaced > maxBids) {
            revert("Bidding limits exceeded");
        }

        if(_totalBids > totalForAuction) {
            revert("Auction Full");
        } else if (_totalBids == totalForAuction) {
            expiresAt = block.timestamp; //Auction filled
        }

        myBids.price = price;

        if (myBidIndex > 0) {
            allBids[myBidIndex] = myBids;
        } else {
            myBids.bidder = msg.sender;
            personalBids[msg.sender] = bidIndex;
            allBids[bidIndex] = myBids;
            bidIndex++;
        }
        
        totalBids = _totalBids;
        totalBidValue += totalPrice;

        refund += value - totalPrice;
        if (refund > 0) {
            (bool sent, ) = msg.sender.call{value: refund}("");
            require(sent, "Failed to refund bidder");
        }
    }

    function loadMintPassOwners(address[] calldata owners, uint256[] calldata amounts) external onlyOwner {
        for (uint256 i = 0; i < owners.length; i++) {
            mintPassOwner[owners[i]] = amounts[i];
        }
    }

    function myBidCount(address user) public view returns(uint256) {
        return allBids[personalBids[user]].bidsPlaced;
    }
    function myBidData(address user) external view returns(bids memory) {
        return allBids[personalBids[user]];
    }

    function setNFTContract(address _contract) external onlyOwner {
        akuNFTs = akuNFT(_contract);
    }

    function emergencyWithdraw() external {
        require(block.timestamp > expiresAt + 3 days, "Please wait for airdrop period.");
        
        bids memory bidData = allBids[personalBids[msg.sender]];
        require(bidData.bidsPlaced > 0, "No bids placed");
        require(bidData.finalProcess == 0, "Refund already processed");

        allBids[personalBids[msg.sender]].finalProcess = 2;
        (bool sent, ) = bidData.bidder.call{value: bidData.price * bidData.bidsPlaced}("");
        require(sent, "Failed to refund bidder");
    }

    function processRefunds() external {
      require(block.timestamp > expiresAt, "Auction still in progress");
      uint256 _refundProgress = refundProgress;
      uint256 _bidIndex = bidIndex;
      require(_refundProgress < _bidIndex, "Refunds already processed");
      
      uint256 gasUsed;
      uint256 gasLeft = gasleft();
      uint256 price = getPrice();
      
      for (uint256 i=_refundProgress; gasUsed < 5000000 && i < _bidIndex; i++) {
          bids memory bidData = allBids[i];
          if (bidData.finalProcess == 0) {
            uint256 refund = (bidData.price - price) * bidData.bidsPlaced;
            uint256 passes = mintPassOwner[bidData.bidder];
            if (passes > 0) {
                refund += mintPassDiscount * (bidData.bidsPlaced < passes ? bidData.bidsPlaced : passes);
            }
            allBids[i].finalProcess = 1;
            if (refund > 0) {
                (bool sent, ) = bidData.bidder.call{value: refund}("");
                require(sent, "Failed to refund bidder");
            }
          }
          
          gasUsed += gasLeft - gasleft();
          gasLeft = gasleft();
          _refundProgress++;
      }

      refundProgress = _refundProgress;
    }

    function claimProjectFunds() external onlyOwner {
        require(block.timestamp > expiresAt, "Auction still in progress");
        require(refundProgress >= totalBids, "Refunds not yet processed");
        require(akuNFTs.airdropProgress() >= totalBids, "Airdrop not complete");

        (bool sent, ) = project.call{value: address(this).balance}("");
        require(sent, "Failed to withdraw");        
    }

    function getAuctionDetails(address user) external view returns(uint256 remainingNFTs, uint256 expires, uint256 currentPrice, uint256 userBids) {
        remainingNFTs =  totalForAuction - totalBids;
        expires = expiresAt;
        currentPrice = getPrice();
        if(user != address(0))
            userBids = allBids[personalBids[user]].bidsPlaced;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_project","type":"address"},{"internalType":"uint256","name":"startingTime","type":"uint256"},{"internalType":"uint256","name":"_startingPrice","type":"uint256"},{"internalType":"uint256","name":"_discountRate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"akuNFTs","outputs":[{"internalType":"contract akuNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allBids","outputs":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint80","name":"price","type":"uint80"},{"internalType":"uint8","name":"bidsPlaced","type":"uint8"},{"internalType":"uint8","name":"finalProcess","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"bid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"bidIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimProjectFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discountRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"expiresAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getAuctionDetails","outputs":[{"internalType":"uint256","name":"remainingNFTs","type":"uint256"},{"internalType":"uint256","name":"expires","type":"uint256"},{"internalType":"uint256","name":"currentPrice","type":"uint256"},{"internalType":"uint256","name":"userBids","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"loadMintPassOwners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPassDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintPassOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"myBidCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"myBidData","outputs":[{"components":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint80","name":"price","type":"uint80"},{"internalType":"uint8","name":"bidsPlaced","type":"uint8"},{"internalType":"uint8","name":"finalProcess","type":"uint8"}],"internalType":"struct AkuAuction.bids","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"personalBids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"processRefunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"refundProgress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setNFTContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBidValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalForAuction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

610100604052613a9860015561157760025560016007556003600a556001600b553480156200002d57600080fd5b5060405162001be838038062001be8833981016040819052620000509162000152565b6200005b3362000102565b6001600160a01b03841660805260a082905260c083905262000080611d8884620001b5565b60035560e081905262000098610168611d88620001d0565b620000a49082620001f3565b821015620000f85760405162461bcd60e51b815260206004820181905260248201527f5374617274696e67207072696365206c657373207468616e206d696e696d756d604482015260640160405180910390fd5b5050505062000215565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080608085870312156200016957600080fd5b84516001600160a01b03811681146200018157600080fd5b60208601516040870151606090970151919890975090945092505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115620001cb57620001cb6200019f565b500190565b600082620001ee57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156200021057620002106200019f565b500290565b60805160a05160c05160e05161197d6200026b600039600081816106c50152610b540152600081816105ff01528181610b1b01526111630152600081816106330152610b8001526000610a49015261197d6000f3fe6080604052600436106101c65760003560e01c80638e1764f4116100f7578063c744656511610095578063dea9b64611610064578063dea9b64614610697578063e6c0e6d5146106b3578063f2fde38b146106e7578063f5eebfc71461070757600080fd5b8063c7446565146105ed578063d6fbf20214610621578063db00206114610655578063db2e21bc1461068257600080fd5b8063a7ccabdf116100d1578063a7ccabdf146104b1578063a8feda51146104d1578063b4f055be146104e6578063ba8834fd146105d757600080fd5b80638e1764f41461045957806398d5fdca1461046e5780639f235ccd1461049b57600080fd5b8063715018a6116101645780638622a6891161013e5780638622a689146103ef5780638a4e3ee1146104055780638b034136146104255780638da5cb5b1461043b57600080fd5b8063715018a6146103625780637f593d9e1461037757806380d0feaa146103b757600080fd5b80633294cd0b116101a05780633294cd0b1461030b57806333500e26146103215780634e9e1ec61461033657806361f04c101461034c57600080fd5b8063072c1ba51461021d578063106587c21461025d5780632fb5eac21461027357600080fd5b366102185760405162461bcd60e51b815260206004820152601b60248201527f506c656173652075736520746865206269642066756e6374696f6e000000000060448201526064015b60405180910390fd5b600080fd5b34801561022957600080fd5b5061024a61023836600461166d565b60046020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561026957600080fd5b5061024a60095481565b34801561027f57600080fd5b506102d061028e36600461169d565b6006602052600090815260409020546001600160a01b038116906001600160501b03600160a01b8204169060ff600160f01b8204811691600160f81b90041684565b604080516001600160a01b0390951685526001600160501b03909316602085015260ff91821692840192909252166060820152608001610254565b34801561031757600080fd5b5061024a60025481565b61033461032f3660046116b6565b610754565b005b34801561034257600080fd5b5061024a60015481565b34801561035857600080fd5b5061024a60075481565b34801561036e57600080fd5b50610334610761565b34801561038357600080fd5b5061039761039236600461166d565b610797565b604080519485526020850193909352918301526060820152608001610254565b3480156103c357600080fd5b50600c546103d7906001600160a01b031681565b6040516001600160a01b039091168152602001610254565b3480156103fb57600080fd5b5061024a60035481565b34801561041157600080fd5b50610334610420366004611725565b61080f565b34801561043157600080fd5b5061024a60085481565b34801561044757600080fd5b506000546001600160a01b03166103d7565b34801561046557600080fd5b506103346108bb565b34801561047a57600080fd5b50610483610afd565b6040516001600160501b039091168152602001610254565b3480156104a757600080fd5b5061024a600a5481565b3480156104bd57600080fd5b506103346104cc36600461166d565b610bac565b3480156104dd57600080fd5b50610334610bf8565b3480156104f257600080fd5b5061058b61050136600461166d565b60408051608080820183526000808352602080840182905283850182905260609384018290526001600160a01b039586168252600581528482205482526006815290849020845192830185525494851682526001600160501b03600160a01b8604169082015260ff600160f01b8504811693820193909352600160f81b9093049091169082015290565b6040805182516001600160a01b031681526020808401516001600160501b0316908201528282015160ff9081169282019290925260609283015190911691810191909152608001610254565b3480156105e357600080fd5b5061024a600b5481565b3480156105f957600080fd5b5061024a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561062d57600080fd5b5061024a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561066157600080fd5b5061024a61067036600461166d565b60056020526000908152604090205481565b34801561068e57600080fd5b50610334610ea6565b3480156106a357600080fd5b5061024a6706f05b59d3b2000081565b3480156106bf57600080fd5b5061024a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106f357600080fd5b5061033461070236600461166d565b6110c9565b34801561071357600080fd5b5061024a61072236600461166d565b6001600160a01b031660009081526005602090815260408083205483526006909152902054600160f01b900460ff1690565b61075e8134611161565b50565b6000546001600160a01b0316331461078b5760405162461bcd60e51b815260040161020f90611791565b610795600061161d565b565b6000806000806008546002546107ad91906117dc565b935060035492506107bc610afd565b6001600160501b031691506001600160a01b0385161561080857506001600160a01b03841660009081526005602090815260408083205483526006909152902054600160f01b900460ff165b9193509193565b6000546001600160a01b031633146108395760405162461bcd60e51b815260040161020f90611791565b60005b838110156108b457828282818110610856576108566117f3565b9050602002013560046000878785818110610873576108736117f3565b9050602002016020810190610888919061166d565b6001600160a01b03168152602081019190915260400160002055806108ac81611809565b91505061083c565b5050505050565b6000546001600160a01b031633146108e55760405162461bcd60e51b815260040161020f90611791565b60035442116109325760405162461bcd60e51b815260206004820152601960248201527841756374696f6e207374696c6c20696e2070726f677265737360381b604482015260640161020f565b600854600b5410156109865760405162461bcd60e51b815260206004820152601960248201527f526566756e6473206e6f74207965742070726f63657373656400000000000000604482015260640161020f565b600854600c60009054906101000a90046001600160a01b03166001600160a01b03166332063f526040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a009190611822565b1015610a455760405162461bcd60e51b815260206004820152601460248201527341697264726f70206e6f7420636f6d706c65746560601b604482015260640161020f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ab2576040519150601f19603f3d011682016040523d82523d6000602084013e610ab7565b606091505b505090508061075e5760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b604482015260640161020f565b6003546000904290811115610b1157506003545b6000610168610b407f0000000000000000000000000000000000000000000000000000000000000000846117dc565b610b4a919061183b565b90506000610b78827f000000000000000000000000000000000000000000000000000000000000000061185d565b9050610ba4817f00000000000000000000000000000000000000000000000000000000000000006117dc565b935050505090565b6000546001600160a01b03163314610bd65760405162461bcd60e51b815260040161020f90611791565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6003544211610c455760405162461bcd60e51b815260206004820152601960248201527841756374696f6e207374696c6c20696e2070726f677265737360381b604482015260640161020f565b600b54600754808210610c9a5760405162461bcd60e51b815260206004820152601960248201527f526566756e647320616c72656164792070726f63657373656400000000000000604482015260640161020f565b6000805a90506000610caa610afd565b6001600160501b03169050845b624c4b4084108015610cc857508481105b15610e99576000818152600660209081526040808320815160808101835290546001600160a01b03811682526001600160501b03600160a01b8204169382019390935260ff600160f01b8404811692820192909252600160f81b9092041660608201819052909103610e5e576000816040015160ff168483602001516001600160501b0316610d5791906117dc565b610d61919061185d565b82516001600160a01b03166000908152600460205260409020549091508015610dc05780836040015160ff1610610d985780610da1565b826040015160ff165b610db3906706f05b59d3b2000061185d565b610dbd908361187c565b91505b600084815260066020526040902080546001600160f81b0316600160f81b1790558115610e5b5782516040516000916001600160a01b03169084908381818185875af1925050503d8060008114610e33576040519150601f19603f3d011682016040523d82523d6000602084013e610e38565b606091505b5050905080610e595760405162461bcd60e51b815260040161020f90611894565b505b50505b5a610e6990856117dc565b610e73908661187c565b94505a935086610e8281611809565b975050508080610e9190611809565b915050610cb7565b505050600b929092555050565b600354610eb6906203f48061187c565b4211610f045760405162461bcd60e51b815260206004820152601f60248201527f506c65617365207761697420666f722061697264726f7020706572696f642e00604482015260640161020f565b3360009081526005602090815260408083205483526006825291829020825160808101845290546001600160a01b03811682526001600160501b03600160a01b8204169282019290925260ff600160f01b83048116938201849052600160f81b909204909116606082015290610fad5760405162461bcd60e51b815260206004820152600e60248201526d139bc8189a591cc81c1b1858d95960921b604482015260640161020f565b606081015160ff16156110025760405162461bcd60e51b815260206004820152601860248201527f526566756e6420616c72656164792070726f6365737365640000000000000000604482015260640161020f565b3360009081526005602090815260408083205483526006825280832080546001600160f81b0316600160f91b179055835190840151918401516001600160a01b03909116916110569160ff909116906118cb565b6001600160501b031660405160006040518083038185875af1925050503d806000811461109f576040519150601f19603f3d011682016040523d82523d6000602084013e6110a4565b606091505b50509050806110c55760405162461bcd60e51b815260040161020f90611894565b5050565b6000546001600160a01b031633146110f35760405162461bcd60e51b815260040161020f90611791565b6001600160a01b0381166111585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161020f565b61075e8161161d565b7f000000000000000000000000000000000000000000000000000000000000000042116111d05760405162461bcd60e51b815260206004820152601760248201527f41756374696f6e206e6f74207374617274656420796574000000000000000000604482015260640161020f565b60035442106112135760405162461bcd60e51b815260206004820152600f60248201526e105d58dd1a5bdb88195e1c1a5c9959608a1b604482015260640161020f565b600061121d610afd565b9050600061122e60ff8516836118cb565b6001600160501b031690508083101561127f5760405162461bcd60e51b8152602060048201526013602482015272084d2c840dcdee840d0d2ced040cadcdeeaced606b1b604482015260640161020f565b336000908152600560205260409020546112b960408051608081018252600080825260208201819052918101829052606081019190915290565b6000821561134c57600083815260066020908152604091829020825160808101845290546001600160a01b03811682526001600160501b03600160a01b82041692820183905260ff600160f01b8204811694830194909452600160f81b9004909216606083015290925061132e9086906118fa565b826040015160ff1661134091906118cb565b6001600160501b031690505b60008760ff1660085461135f919061187c565b905087836040018181516113739190611922565b60ff908116909152600a546040860151909116111590506113d65760405162461bcd60e51b815260206004820152601760248201527f42696464696e67206c696d697473206578636565646564000000000000000000604482015260640161020f565b6002548111156114175760405162461bcd60e51b815260206004820152600c60248201526b105d58dd1a5bdb88119d5b1b60a21b604482015260640161020f565b600254810361142557426003555b6001600160501b038616602084015283156114c357600084815260066020908152604091829020855181549287015193870151606088015160ff908116600160f81b026001600160f81b0391909216600160f01b02166001600160f01b036001600160501b03909616600160a01b026001600160f01b03199095166001600160a01b039093169290921793909317939093169290921717905561156e565b338084526007805460009283526005602090815260408085208390559184526006815281842087518154928901519389015160608a015160ff908116600160f81b026001600160f81b0391909216600160f01b02166001600160f01b036001600160501b03909616600160a01b026001600160f01b03199095166001600160a01b03939093169290921793909317939093169290921717905580549161156883611809565b91905055505b806008819055508460096000828254611587919061187c565b90915550611597905085886117dc565b6115a1908361187c565b9150811561161357604051600090339084908381818185875af1925050503d80600081146115eb576040519150601f19603f3d011682016040523d82523d6000602084013e6115f0565b606091505b50509050806116115760405162461bcd60e51b815260040161020f90611894565b505b5050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561167f57600080fd5b81356001600160a01b038116811461169657600080fd5b9392505050565b6000602082840312156116af57600080fd5b5035919050565b6000602082840312156116c857600080fd5b813560ff8116811461169657600080fd5b60008083601f8401126116eb57600080fd5b50813567ffffffffffffffff81111561170357600080fd5b6020830191508360208260051b850101111561171e57600080fd5b9250929050565b6000806000806040858703121561173b57600080fd5b843567ffffffffffffffff8082111561175357600080fd5b61175f888389016116d9565b9096509450602087013591508082111561177857600080fd5b50611785878288016116d9565b95989497509550505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156117ee576117ee6117c6565b500390565b634e487b7160e01b600052603260045260246000fd5b60006001820161181b5761181b6117c6565b5060010190565b60006020828403121561183457600080fd5b5051919050565b60008261185857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611877576118776117c6565b500290565b6000821982111561188f5761188f6117c6565b500190565b60208082526017908201527f4661696c656420746f20726566756e6420626964646572000000000000000000604082015260600190565b60006001600160501b03808316818516818304811182151516156118f1576118f16117c6565b02949350505050565b60006001600160501b038381169083168181101561191a5761191a6117c6565b039392505050565b600060ff821660ff84168060ff0382111561193f5761193f6117c6565b01939250505056fea2646970667358221220d6dd7bf6fd6036d6e1f56bedc38948dedcdd794e7fb736fd98677ff32c9a6bfa64736f6c634300080d0033000000000000000000000000cc0ecd808ce4fed81f0552b3889656b28aa2bae9000000000000000000000000000000000000000000000000000000006263118000000000000000000000000000000000000000000000000030927f74c9de0000000000000000000000000000000000000000000000000000016345785d8a0000

Deployed Bytecode

0x6080604052600436106101c65760003560e01c80638e1764f4116100f7578063c744656511610095578063dea9b64611610064578063dea9b64614610697578063e6c0e6d5146106b3578063f2fde38b146106e7578063f5eebfc71461070757600080fd5b8063c7446565146105ed578063d6fbf20214610621578063db00206114610655578063db2e21bc1461068257600080fd5b8063a7ccabdf116100d1578063a7ccabdf146104b1578063a8feda51146104d1578063b4f055be146104e6578063ba8834fd146105d757600080fd5b80638e1764f41461045957806398d5fdca1461046e5780639f235ccd1461049b57600080fd5b8063715018a6116101645780638622a6891161013e5780638622a689146103ef5780638a4e3ee1146104055780638b034136146104255780638da5cb5b1461043b57600080fd5b8063715018a6146103625780637f593d9e1461037757806380d0feaa146103b757600080fd5b80633294cd0b116101a05780633294cd0b1461030b57806333500e26146103215780634e9e1ec61461033657806361f04c101461034c57600080fd5b8063072c1ba51461021d578063106587c21461025d5780632fb5eac21461027357600080fd5b366102185760405162461bcd60e51b815260206004820152601b60248201527f506c656173652075736520746865206269642066756e6374696f6e000000000060448201526064015b60405180910390fd5b600080fd5b34801561022957600080fd5b5061024a61023836600461166d565b60046020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561026957600080fd5b5061024a60095481565b34801561027f57600080fd5b506102d061028e36600461169d565b6006602052600090815260409020546001600160a01b038116906001600160501b03600160a01b8204169060ff600160f01b8204811691600160f81b90041684565b604080516001600160a01b0390951685526001600160501b03909316602085015260ff91821692840192909252166060820152608001610254565b34801561031757600080fd5b5061024a60025481565b61033461032f3660046116b6565b610754565b005b34801561034257600080fd5b5061024a60015481565b34801561035857600080fd5b5061024a60075481565b34801561036e57600080fd5b50610334610761565b34801561038357600080fd5b5061039761039236600461166d565b610797565b604080519485526020850193909352918301526060820152608001610254565b3480156103c357600080fd5b50600c546103d7906001600160a01b031681565b6040516001600160a01b039091168152602001610254565b3480156103fb57600080fd5b5061024a60035481565b34801561041157600080fd5b50610334610420366004611725565b61080f565b34801561043157600080fd5b5061024a60085481565b34801561044757600080fd5b506000546001600160a01b03166103d7565b34801561046557600080fd5b506103346108bb565b34801561047a57600080fd5b50610483610afd565b6040516001600160501b039091168152602001610254565b3480156104a757600080fd5b5061024a600a5481565b3480156104bd57600080fd5b506103346104cc36600461166d565b610bac565b3480156104dd57600080fd5b50610334610bf8565b3480156104f257600080fd5b5061058b61050136600461166d565b60408051608080820183526000808352602080840182905283850182905260609384018290526001600160a01b039586168252600581528482205482526006815290849020845192830185525494851682526001600160501b03600160a01b8604169082015260ff600160f01b8504811693820193909352600160f81b9093049091169082015290565b6040805182516001600160a01b031681526020808401516001600160501b0316908201528282015160ff9081169282019290925260609283015190911691810191909152608001610254565b3480156105e357600080fd5b5061024a600b5481565b3480156105f957600080fd5b5061024a7f000000000000000000000000000000000000000000000000000000006263118081565b34801561062d57600080fd5b5061024a7f00000000000000000000000000000000000000000000000030927f74c9de000081565b34801561066157600080fd5b5061024a61067036600461166d565b60056020526000908152604090205481565b34801561068e57600080fd5b50610334610ea6565b3480156106a357600080fd5b5061024a6706f05b59d3b2000081565b3480156106bf57600080fd5b5061024a7f000000000000000000000000000000000000000000000000016345785d8a000081565b3480156106f357600080fd5b5061033461070236600461166d565b6110c9565b34801561071357600080fd5b5061024a61072236600461166d565b6001600160a01b031660009081526005602090815260408083205483526006909152902054600160f01b900460ff1690565b61075e8134611161565b50565b6000546001600160a01b0316331461078b5760405162461bcd60e51b815260040161020f90611791565b610795600061161d565b565b6000806000806008546002546107ad91906117dc565b935060035492506107bc610afd565b6001600160501b031691506001600160a01b0385161561080857506001600160a01b03841660009081526005602090815260408083205483526006909152902054600160f01b900460ff165b9193509193565b6000546001600160a01b031633146108395760405162461bcd60e51b815260040161020f90611791565b60005b838110156108b457828282818110610856576108566117f3565b9050602002013560046000878785818110610873576108736117f3565b9050602002016020810190610888919061166d565b6001600160a01b03168152602081019190915260400160002055806108ac81611809565b91505061083c565b5050505050565b6000546001600160a01b031633146108e55760405162461bcd60e51b815260040161020f90611791565b60035442116109325760405162461bcd60e51b815260206004820152601960248201527841756374696f6e207374696c6c20696e2070726f677265737360381b604482015260640161020f565b600854600b5410156109865760405162461bcd60e51b815260206004820152601960248201527f526566756e6473206e6f74207965742070726f63657373656400000000000000604482015260640161020f565b600854600c60009054906101000a90046001600160a01b03166001600160a01b03166332063f526040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a009190611822565b1015610a455760405162461bcd60e51b815260206004820152601460248201527341697264726f70206e6f7420636f6d706c65746560601b604482015260640161020f565b60007f000000000000000000000000cc0ecd808ce4fed81f0552b3889656b28aa2bae96001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ab2576040519150601f19603f3d011682016040523d82523d6000602084013e610ab7565b606091505b505090508061075e5760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b604482015260640161020f565b6003546000904290811115610b1157506003545b6000610168610b407f0000000000000000000000000000000000000000000000000000000062631180846117dc565b610b4a919061183b565b90506000610b78827f000000000000000000000000000000000000000000000000016345785d8a000061185d565b9050610ba4817f00000000000000000000000000000000000000000000000030927f74c9de00006117dc565b935050505090565b6000546001600160a01b03163314610bd65760405162461bcd60e51b815260040161020f90611791565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6003544211610c455760405162461bcd60e51b815260206004820152601960248201527841756374696f6e207374696c6c20696e2070726f677265737360381b604482015260640161020f565b600b54600754808210610c9a5760405162461bcd60e51b815260206004820152601960248201527f526566756e647320616c72656164792070726f63657373656400000000000000604482015260640161020f565b6000805a90506000610caa610afd565b6001600160501b03169050845b624c4b4084108015610cc857508481105b15610e99576000818152600660209081526040808320815160808101835290546001600160a01b03811682526001600160501b03600160a01b8204169382019390935260ff600160f01b8404811692820192909252600160f81b9092041660608201819052909103610e5e576000816040015160ff168483602001516001600160501b0316610d5791906117dc565b610d61919061185d565b82516001600160a01b03166000908152600460205260409020549091508015610dc05780836040015160ff1610610d985780610da1565b826040015160ff165b610db3906706f05b59d3b2000061185d565b610dbd908361187c565b91505b600084815260066020526040902080546001600160f81b0316600160f81b1790558115610e5b5782516040516000916001600160a01b03169084908381818185875af1925050503d8060008114610e33576040519150601f19603f3d011682016040523d82523d6000602084013e610e38565b606091505b5050905080610e595760405162461bcd60e51b815260040161020f90611894565b505b50505b5a610e6990856117dc565b610e73908661187c565b94505a935086610e8281611809565b975050508080610e9190611809565b915050610cb7565b505050600b929092555050565b600354610eb6906203f48061187c565b4211610f045760405162461bcd60e51b815260206004820152601f60248201527f506c65617365207761697420666f722061697264726f7020706572696f642e00604482015260640161020f565b3360009081526005602090815260408083205483526006825291829020825160808101845290546001600160a01b03811682526001600160501b03600160a01b8204169282019290925260ff600160f01b83048116938201849052600160f81b909204909116606082015290610fad5760405162461bcd60e51b815260206004820152600e60248201526d139bc8189a591cc81c1b1858d95960921b604482015260640161020f565b606081015160ff16156110025760405162461bcd60e51b815260206004820152601860248201527f526566756e6420616c72656164792070726f6365737365640000000000000000604482015260640161020f565b3360009081526005602090815260408083205483526006825280832080546001600160f81b0316600160f91b179055835190840151918401516001600160a01b03909116916110569160ff909116906118cb565b6001600160501b031660405160006040518083038185875af1925050503d806000811461109f576040519150601f19603f3d011682016040523d82523d6000602084013e6110a4565b606091505b50509050806110c55760405162461bcd60e51b815260040161020f90611894565b5050565b6000546001600160a01b031633146110f35760405162461bcd60e51b815260040161020f90611791565b6001600160a01b0381166111585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161020f565b61075e8161161d565b7f000000000000000000000000000000000000000000000000000000006263118042116111d05760405162461bcd60e51b815260206004820152601760248201527f41756374696f6e206e6f74207374617274656420796574000000000000000000604482015260640161020f565b60035442106112135760405162461bcd60e51b815260206004820152600f60248201526e105d58dd1a5bdb88195e1c1a5c9959608a1b604482015260640161020f565b600061121d610afd565b9050600061122e60ff8516836118cb565b6001600160501b031690508083101561127f5760405162461bcd60e51b8152602060048201526013602482015272084d2c840dcdee840d0d2ced040cadcdeeaced606b1b604482015260640161020f565b336000908152600560205260409020546112b960408051608081018252600080825260208201819052918101829052606081019190915290565b6000821561134c57600083815260066020908152604091829020825160808101845290546001600160a01b03811682526001600160501b03600160a01b82041692820183905260ff600160f01b8204811694830194909452600160f81b9004909216606083015290925061132e9086906118fa565b826040015160ff1661134091906118cb565b6001600160501b031690505b60008760ff1660085461135f919061187c565b905087836040018181516113739190611922565b60ff908116909152600a546040860151909116111590506113d65760405162461bcd60e51b815260206004820152601760248201527f42696464696e67206c696d697473206578636565646564000000000000000000604482015260640161020f565b6002548111156114175760405162461bcd60e51b815260206004820152600c60248201526b105d58dd1a5bdb88119d5b1b60a21b604482015260640161020f565b600254810361142557426003555b6001600160501b038616602084015283156114c357600084815260066020908152604091829020855181549287015193870151606088015160ff908116600160f81b026001600160f81b0391909216600160f01b02166001600160f01b036001600160501b03909616600160a01b026001600160f01b03199095166001600160a01b039093169290921793909317939093169290921717905561156e565b338084526007805460009283526005602090815260408085208390559184526006815281842087518154928901519389015160608a015160ff908116600160f81b026001600160f81b0391909216600160f01b02166001600160f01b036001600160501b03909616600160a01b026001600160f01b03199095166001600160a01b03939093169290921793909317939093169290921717905580549161156883611809565b91905055505b806008819055508460096000828254611587919061187c565b90915550611597905085886117dc565b6115a1908361187c565b9150811561161357604051600090339084908381818185875af1925050503d80600081146115eb576040519150601f19603f3d011682016040523d82523d6000602084013e6115f0565b606091505b50509050806116115760405162461bcd60e51b815260040161020f90611894565b505b5050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561167f57600080fd5b81356001600160a01b038116811461169657600080fd5b9392505050565b6000602082840312156116af57600080fd5b5035919050565b6000602082840312156116c857600080fd5b813560ff8116811461169657600080fd5b60008083601f8401126116eb57600080fd5b50813567ffffffffffffffff81111561170357600080fd5b6020830191508360208260051b850101111561171e57600080fd5b9250929050565b6000806000806040858703121561173b57600080fd5b843567ffffffffffffffff8082111561175357600080fd5b61175f888389016116d9565b9096509450602087013591508082111561177857600080fd5b50611785878288016116d9565b95989497509550505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156117ee576117ee6117c6565b500390565b634e487b7160e01b600052603260045260246000fd5b60006001820161181b5761181b6117c6565b5060010190565b60006020828403121561183457600080fd5b5051919050565b60008261185857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611877576118776117c6565b500290565b6000821982111561188f5761188f6117c6565b500190565b60208082526017908201527f4661696c656420746f20726566756e6420626964646572000000000000000000604082015260600190565b60006001600160501b03808316818516818304811182151516156118f1576118f16117c6565b02949350505050565b60006001600160501b038381169083168181101561191a5761191a6117c6565b039392505050565b600060ff821660ff84168060ff0382111561193f5761193f6117c6565b01939250505056fea2646970667358221220d6dd7bf6fd6036d6e1f56bedc38948dedcdd794e7fb736fd98677ff32c9a6bfa64736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000cc0ecd808ce4fed81f0552b3889656b28aa2bae9000000000000000000000000000000000000000000000000000000006263118000000000000000000000000000000000000000000000000030927f74c9de0000000000000000000000000000000000000000000000000000016345785d8a0000

-----Decoded View---------------
Arg [0] : _project (address): 0xCc0eCD808Ce4fEd81f0552b3889656B28aa2BAe9
Arg [1] : startingTime (uint256): 1650659712
Arg [2] : _startingPrice (uint256): 3500000000000000000
Arg [3] : _discountRate (uint256): 100000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000cc0ecd808ce4fed81f0552b3889656b28aa2bae9
Arg [1] : 0000000000000000000000000000000000000000000000000000000062631180
Arg [2] : 00000000000000000000000000000000000000000000000030927f74c9de0000
Arg [3] : 000000000000000000000000000000000000000000000000016345785d8a0000


Deployed Bytecode Sourcemap

15409:6870:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17369:37;;-1:-1:-1;;;17369:37:0;;216:2:1;17369:37:0;;;198:21:1;255:2;235:18;;;228:30;294:29;274:18;;;267:57;341:18;;17369:37:0;;;;;;;;15409:6870;;;;16017:46;;;;;;;;;;-1:-1:-1;16017:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;807:25:1;;;795:2;780:18;16017:46:0;;;;;;;;16294:28;;;;;;;;;;;;;;;;16183:39;;;;;;;;;;-1:-1:-1;16183:39:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;16183:39:0;;;-1:-1:-1;;;;;;;;16183:39:0;;;;;-1:-1:-1;;;16183:39:0;;;;;-1:-1:-1;;;16183:39:0;;;;;;;;;-1:-1:-1;;;;;1267:32:1;;;1249:51;;-1:-1:-1;;;;;1336:35:1;;;1331:2;1316:18;;1309:63;1420:4;1408:17;;;1388:18;;;1381:45;;;;1462:17;1457:2;1442:18;;1435:45;1236:3;1221:19;16183:39:0;1028:458:1;15560:37:0;;;;;;;;;;;;;;;;17237:86;;;;;;:::i;:::-;;:::i;:::-;;15523:30;;;;;;;;;;;;;;;;16229:27;;;;;;;;;;;;;;;;4730:103;;;;;;;;;;;;;:::i;21908:368::-;;;;;;;;;;-1:-1:-1;21908:368:0;;;;;:::i;:::-;;:::i;:::-;;;;1996:25:1;;;2052:2;2037:18;;2030:34;;;;2080:18;;;2073:34;2138:2;2123:18;;2116:34;1983:3;1968:19;21908:368:0;1765:391:1;16404:21:0;;;;;;;;;;-1:-1:-1;16404:21:0;;;;-1:-1:-1;;;;;16404:21:0;;;;;;-1:-1:-1;;;;;2339:32:1;;;2321:51;;2309:2;2294:18;16404:21:0;2161:217:1;15942:24:0;;;;;;;;;;;;;;;;19047:228;;;;;;;;;;-1:-1:-1;19047:228:0;;;;;:::i;:::-;;:::i;16263:24::-;;;;;;;;;;;;;;;;4079:87;;;;;;;;;;-1:-1:-1;4125:7:0;4152:6;-1:-1:-1;;;;;4152:6:0;4079:87;;21481:419;;;;;;;;;;;;;:::i;16888:341::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;3903:35:1;;;3885:54;;3873:2;3858:18;16888:341:0;3741:204:1;16329:26:0;;;;;;;;;;;;;;;;19545:108;;;;;;;;;;-1:-1:-1;19545:108:0;;;;;:::i;:::-;;:::i;20222:1251::-;;;;;;;;;;;;;:::i;19416:121::-;;;;;;;;;;-1:-1:-1;19416:121:0;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19510:18:0;;;;;:12;:18;;;;;;19502:27;;:7;:27;;;;;;19495:34;;;;;;;;;;;;;-1:-1:-1;;;;;;;;19495:34:0;;;;;;;;-1:-1:-1;;;19495:34:0;;;;;;;;;;;-1:-1:-1;;;19495:34:0;;;;;;;;;;;19416:121;;;;;4161:13:1;;-1:-1:-1;;;;;4157:39:1;4139:58;;4257:4;4245:17;;;4239:24;-1:-1:-1;;;;;4235:53:1;4213:20;;;4206:83;4337:17;;;4331:24;4357:4;4327:35;;;4305:20;;;4298:65;;;;4423:4;4411:17;;;4405:24;4401:35;;;4379:20;;;4372:65;;;;4126:3;4111:19;19416:121:0;3950:493:1;16362:33:0;;;;;;;;;;;;;;;;15903:32;;;;;;;;;;;;;;;15858:38;;;;;;;;;;;;;;;16129:47;;;;;;;;;;-1:-1:-1;16129:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;19661:553;;;;;;;;;;;;;:::i;16070:52::-;;;;;;;;;;;;16113:9;16070:52;;15973:37;;;;;;;;;;;;;;;4988:201;;;;;;;;;;-1:-1:-1;4988:201:0;;;;;:::i;:::-;;:::i;19283:127::-;;;;;;;;;;-1:-1:-1;19283:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;19372:18:0;19337:7;19372:18;;;:12;:18;;;;;;;;;19364:27;;:7;:27;;;;;:38;-1:-1:-1;;;19364:38:0;;;;;19283:127;17237:86;17292:23;17297:6;17305:9;17292:4;:23::i;:::-;17237:86;:::o;4730:103::-;4125:7;4152:6;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;4795:30:::1;4822:1;4795:18;:30::i;:::-;4730:103::o:0;21908:368::-;21971:21;21994:15;22011:20;22033:16;22097:9;;22079:15;;:27;;;;:::i;:::-;22062:44;;22127:9;;22117:19;;22162:10;:8;:10::i;:::-;-1:-1:-1;;;;;22147:25:0;;-1:-1:-1;;;;;;22186:18:0;;;22183:85;;-1:-1:-1;;;;;;22238:18:0;;22230:27;22238:18;;;:12;:18;;;;;;;;;22230:27;;:7;:27;;;;;:38;-1:-1:-1;;;22230:38:0;;;;22183:85;21908:368;;;;;:::o;19047:228::-;4125:7;4152:6;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;19165:9:::1;19160:108;19180:17:::0;;::::1;19160:108;;;19246:7;;19254:1;19246:10;;;;;;;:::i;:::-;;;;;;;19219:13;:24;19233:6;;19240:1;19233:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;19219:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;19219:24:0;:37;19199:3;::::1;::::0;::::1;:::i;:::-;;;;19160:108;;;;19047:228:::0;;;;:::o;21481:419::-;4125:7;4152:6;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;21566:9:::1;;21548:15;:27;21540:65;;;::::0;-1:-1:-1;;;21540:65:0;;5545:2:1;21540:65:0::1;::::0;::::1;5527:21:1::0;5584:2;5564:18;;;5557:30;-1:-1:-1;;;5603:18:1;;;5596:55;5668:18;;21540:65:0::1;5343:349:1::0;21540:65:0::1;21642:9;;21624:14;;:27;;21616:65;;;::::0;-1:-1:-1;;;21616:65:0;;5899:2:1;21616:65:0::1;::::0;::::1;5881:21:1::0;5938:2;5918:18;;;5911:30;5977:27;5957:18;;;5950:55;6022:18;;21616:65:0::1;5697:349:1::0;21616:65:0::1;21729:9;;21700:7;;;;;;;;;-1:-1:-1::0;;;;;21700:7:0::1;-1:-1:-1::0;;;;;21700:23:0::1;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;21692:71;;;::::0;-1:-1:-1;;;21692:71:0;;6442:2:1;21692:71:0::1;::::0;::::1;6424:21:1::0;6481:2;6461:18;;;6454:30;-1:-1:-1;;;6500:18:1;;;6493:50;6560:18;;21692:71:0::1;6240:344:1::0;21692:71:0::1;21777:9;21792:7;-1:-1:-1::0;;;;;21792:12:0::1;21812:21;21792:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21776:62;;;21857:4;21849:35;;;::::0;-1:-1:-1;;;21849:35:0;;7001:2:1;21849:35:0::1;::::0;::::1;6983:21:1::0;7040:2;7020:18;;;7013:30;-1:-1:-1;;;7059:18:1;;;7052:48;7117:18;;21849:35:0::1;6799:342:1::0;16888:341:0;17013:9;;16929:6;;16970:15;;16999:23;;16996:51;;;-1:-1:-1;17038:9:0;;16996:51;17058:19;17106:9;17081:21;17095:7;17081:11;:21;:::i;:::-;17080:35;;;;:::i;:::-;17058:57;-1:-1:-1;17126:16:0;17145:26;17058:57;17145:12;:26;:::i;:::-;17126:45;-1:-1:-1;17196:24:0;17126:45;17196:13;:24;:::i;:::-;17182:39;;;;;16888:341;:::o;19545:108::-;4125:7;4152:6;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;19618:7:::1;:27:::0;;-1:-1:-1;;;;;;19618:27:0::1;-1:-1:-1::0;;;;;19618:27:0;;;::::1;::::0;;;::::1;::::0;;19545:108::o;20222:1251::-;20292:9;;20274:15;:27;20266:65;;;;-1:-1:-1;;;20266:65:0;;5545:2:1;20266:65:0;;;5527:21:1;5584:2;5564:18;;;5557:30;-1:-1:-1;;;5603:18:1;;;5596:55;5668:18;;20266:65:0;5343:349:1;20266:65:0;20366:14;;20409:8;;20434:27;;;20426:65;;;;-1:-1:-1;;;20426:65:0;;7743:2:1;20426:65:0;;;7725:21:1;7782:2;7762:18;;;7755:30;7821:27;7801:18;;;7794:55;7866:18;;20426:65:0;7541:349:1;20426:65:0;20508:15;20532;20550:9;20532:27;;20568:13;20584:10;:8;:10::i;:::-;-1:-1:-1;;;;;20568:26:0;;-1:-1:-1;20626:15:0;20611:812;20653:7;20643;:17;:34;;;;;20668:9;20664:1;:13;20643:34;20611:812;;;20697:19;20719:10;;;:7;:10;;;;;;;;20697:32;;;;;;;;;-1:-1:-1;;;;;20697:32:0;;;;-1:-1:-1;;;;;;;;20697:32:0;;;;;;;;;;;-1:-1:-1;;;20697:32:0;;;;;;;;;;;-1:-1:-1;;;20697:32:0;;;;;;;;;;;;20746:25;20742:555;;20788:14;20831:7;:18;;;20805:44;;20822:5;20806:7;:13;;;-1:-1:-1;;;;;20806:21:0;;;;;:::i;:::-;20805:44;;;;:::i;:::-;20895:14;;-1:-1:-1;;;;;20881:29:0;20864:14;20881:29;;;:13;:29;;;;;;20788:61;;-1:-1:-1;20929:10:0;;20925:139;;21011:6;20990:7;:18;;;:27;;;:57;;21041:6;20990:57;;;21020:7;:18;;;20990:57;;;20970:78;;16113:9;20970:78;:::i;:::-;20960:88;;;;:::i;:::-;;;20925:139;21078:10;;;;:7;:10;;;;;:27;;-1:-1:-1;;;;;21078:27:0;-1:-1:-1;;;21078:27:0;;;21124:10;;21120:164;;21171:14;;:38;;21156:9;;-1:-1:-1;;;;;21171:19:0;;21198:6;;21156:9;21171:38;21156:9;21171:38;21198:6;21171:19;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21155:54;;;21236:4;21228:40;;;;-1:-1:-1;;;21228:40:0;;;;;;;:::i;:::-;21136:148;21120:164;20773:524;;20742:555;21342:9;21332:19;;:7;:19;:::i;:::-;21321:30;;;;:::i;:::-;;;21374:9;21364:19;-1:-1:-1;21396:17:0;;;;:::i;:::-;;;;20684:739;20679:3;;;;;:::i;:::-;;;;20611:812;;;-1:-1:-1;;;21433:14:0;:32;;;;-1:-1:-1;;20222:1251:0:o;19661:553::-;19736:9;;:18;;19748:6;19736:18;:::i;:::-;19718:15;:36;19710:80;;;;-1:-1:-1;;;19710:80:0;;8582:2:1;19710:80:0;;;8564:21:1;8621:2;8601:18;;;8594:30;8660:33;8640:18;;;8633:61;8711:18;;19710:80:0;8380:355:1;19710:80:0;19854:10;19811:19;19841:24;;;:12;:24;;;;;;;;;19833:33;;:7;:33;;;;;;19811:55;;;;;;;;;-1:-1:-1;;;;;19811:55:0;;;;-1:-1:-1;;;;;;;;19811:55:0;;;;;;;;;;;-1:-1:-1;;;19811:55:0;;;;;;;;;;-1:-1:-1;;;19811:55:0;;;;;;;;;;;19877:49;;;;-1:-1:-1;;;19877:49:0;;8942:2:1;19877:49:0;;;8924:21:1;8981:2;8961:18;;;8954:30;-1:-1:-1;;;9000:18:1;;;8993:44;9054:18;;19877:49:0;8740:338:1;19877:49:0;19945:20;;;;:25;;;19937:62;;;;-1:-1:-1;;;19937:62:0;;9285:2:1;19937:62:0;;;9267:21:1;9324:2;9304:18;;;9297:30;9363:26;9343:18;;;9336:54;9407:18;;19937:62:0;9083:348:1;19937:62:0;20033:10;20012:33;20020:24;;;:12;:24;;;;;;;;;20012:33;;:7;:33;;;;;:50;;-1:-1:-1;;;;;20012:50:0;-1:-1:-1;;;20012:50:0;;;20089:14;;20132:18;;;;20116:13;;;;-1:-1:-1;;;;;20089:19:0;;;;20116:34;;20012:50;20116:34;;;;;:::i;:::-;-1:-1:-1;;;;;20089:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20073:82;;;20174:4;20166:40;;;;-1:-1:-1;;;20166:40:0;;;;;;;:::i;:::-;19699:515;;19661:553::o;4988:201::-;4125:7;4152:6;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5077:22:0;::::1;5069:73;;;::::0;-1:-1:-1;;;5069:73:0;;9917:2:1;5069:73:0::1;::::0;::::1;9899:21:1::0;9956:2;9936:18;;;9929:30;9995:34;9975:18;;;9968:62;-1:-1:-1;;;10046:18:1;;;10039:36;10092:19;;5069:73:0::1;9715:402:1::0;5069:73:0::1;5153:28;5172:8;5153:18;:28::i;17422:1617::-:0;17511:7;17493:15;:25;17485:61;;;;-1:-1:-1;;;17485:61:0;;10324:2:1;17485:61:0;;;10306:21:1;10363:2;10343:18;;;10336:30;10402:25;10382:18;;;10375:53;10445:18;;17485:61:0;10122:347:1;17485:61:0;17583:9;;17565:15;:27;17557:55;;;;-1:-1:-1;;;17557:55:0;;10676:2:1;17557:55:0;;;10658:21:1;10715:2;10695:18;;;10688:30;-1:-1:-1;;;10734:18:1;;;10727:45;10789:18;;17557:55:0;10474:339:1;17557:55:0;17623:12;17638:10;:8;:10::i;:::-;17623:25;-1:-1:-1;17659:18:0;17680:14;;;;17623:25;17680:14;:::i;:::-;-1:-1:-1;;;;;17659:35:0;;;17717:10;17709:5;:18;17705:80;;;17744:29;;-1:-1:-1;;;17744:29:0;;11020:2:1;17744:29:0;;;11002:21:1;11059:2;11039:18;;;11032:30;-1:-1:-1;;;11078:18:1;;;11071:49;11137:18;;17744:29:0;10818:343:1;17705:80:0;17839:10;17805:18;17826:24;;;:12;:24;;;;;;17861:18;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17861:18:0;17890:14;17921;;17917:141;;17961:19;;;;:7;:19;;;;;;;;;17952:28;;;;;;;;;-1:-1:-1;;;;;17952:28:0;;;;-1:-1:-1;;;;;;;;17952:28:0;;;;;;;;;;-1:-1:-1;;;17952:28:0;;;;;;;;;;;-1:-1:-1;;;17952:28:0;;;;;;;;;;;-1:-1:-1;18025:20:0;;18040:5;;18025:20;:::i;:::-;18004:6;:17;;;:42;;;;;;:::i;:::-;-1:-1:-1;;;;;17995:51:0;;;17917:141;18068:18;18101:6;18089:18;;:9;;:18;;;;:::i;:::-;18068:39;;18139:6;18118;:17;;:27;;;;;;;:::i;:::-;;;;;;;;18182:7;;18162:17;;;;:27;;;;18158:93;;-1:-1:-1;18158:93:0;;18206:33;;-1:-1:-1;;;18206:33:0;;11815:2:1;18206:33:0;;;11797:21:1;11854:2;11834:18;;;11827:30;11893:25;11873:18;;;11866:53;11936:18;;18206:33:0;11613:347:1;18158:93:0;18279:15;;18266:10;:28;18263:194;;;18311:22;;-1:-1:-1;;;18311:22:0;;12167:2:1;18311:22:0;;;12149:21:1;12206:2;12186:18;;;12179:30;-1:-1:-1;;;12225:18:1;;;12218:42;12277:18;;18311:22:0;11965:336:1;18263:194:0;18369:15;;18355:10;:29;18351:106;;18413:15;18401:9;:27;18351:106;-1:-1:-1;;;;;18469:20:0;;:12;;;:20;18506:14;;18502:250;;18537:19;;;;:7;:19;;;;;;;;;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18537:28:0;-1:-1:-1;;;;;18537:28:0;;;;-1:-1:-1;;;18537:28:0;;-1:-1:-1;;;;;;;;;;18537:28:0;;;-1:-1:-1;;;18537:28:0;-1:-1:-1;;;;;;18537:28:0;;;-1:-1:-1;;;;;18537:28:0;;;;;;;;;;;;;;;;;;;;;;18502:250;;;18614:10;18598:26;;;18666:8;;;18598:13;18639:24;;;:12;:24;;;;;;;;:35;;;18689:17;;;:7;:17;;;;;:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18689:26:0;-1:-1:-1;;;;;18689:26:0;;;;-1:-1:-1;;;18689:26:0;;-1:-1:-1;;;;;;;;;;18689:26:0;;;-1:-1:-1;;;18689:26:0;-1:-1:-1;;;;;;18689:26:0;;;-1:-1:-1;;;;;18689:26:0;;;;;;;;;;;;;;;;;;;;;;;18730:10;;;;;;:::i;:::-;;;;;;18502:250;18784:10;18772:9;:22;;;;18822:10;18805:13;;:27;;;;;;;:::i;:::-;;;;-1:-1:-1;18855:18:0;;-1:-1:-1;18863:10:0;18855:5;:18;:::i;:::-;18845:28;;;;:::i;:::-;;-1:-1:-1;18888:10:0;;18884:148;;18931:34;;18916:9;;18931:10;;18954:6;;18916:9;18931:34;18916:9;18931:34;18954:6;18931:10;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18915:50;;;18988:4;18980:40;;;;-1:-1:-1;;;18980:40:0;;;;;;;:::i;:::-;18900:132;18884:148;17474:1565;;;;;;17422:1617;;:::o;5349:191::-;5423:16;5442:6;;-1:-1:-1;;;;;5459:17:0;;;-1:-1:-1;;;;;;5459:17:0;;;;;;5492:40;;5442:6;;;;;;;5492:40;;5423:16;5492:40;5412:128;5349:191;:::o;370:286:1:-;429:6;482:2;470:9;461:7;457:23;453:32;450:52;;;498:1;495;488:12;450:52;524:23;;-1:-1:-1;;;;;576:31:1;;566:42;;556:70;;622:1;619;612:12;556:70;645:5;370:286;-1:-1:-1;;;370:286:1:o;843:180::-;902:6;955:2;943:9;934:7;930:23;926:32;923:52;;;971:1;968;961:12;923:52;-1:-1:-1;994:23:1;;843:180;-1:-1:-1;843:180:1:o;1491:269::-;1548:6;1601:2;1589:9;1580:7;1576:23;1572:32;1569:52;;;1617:1;1614;1607:12;1569:52;1656:9;1643:23;1706:4;1699:5;1695:16;1688:5;1685:27;1675:55;;1726:1;1723;1716:12;2383:367;2446:8;2456:6;2510:3;2503:4;2495:6;2491:17;2487:27;2477:55;;2528:1;2525;2518:12;2477:55;-1:-1:-1;2551:20:1;;2594:18;2583:30;;2580:50;;;2626:1;2623;2616:12;2580:50;2663:4;2655:6;2651:17;2639:29;;2723:3;2716:4;2706:6;2703:1;2699:14;2691:6;2687:27;2683:38;2680:47;2677:67;;;2740:1;2737;2730:12;2677:67;2383:367;;;;;:::o;2755:773::-;2877:6;2885;2893;2901;2954:2;2942:9;2933:7;2929:23;2925:32;2922:52;;;2970:1;2967;2960:12;2922:52;3010:9;2997:23;3039:18;3080:2;3072:6;3069:14;3066:34;;;3096:1;3093;3086:12;3066:34;3135:70;3197:7;3188:6;3177:9;3173:22;3135:70;:::i;:::-;3224:8;;-1:-1:-1;3109:96:1;-1:-1:-1;3312:2:1;3297:18;;3284:32;;-1:-1:-1;3328:16:1;;;3325:36;;;3357:1;3354;3347:12;3325:36;;3396:72;3460:7;3449:8;3438:9;3434:24;3396:72;:::i;:::-;2755:773;;;;-1:-1:-1;3487:8:1;-1:-1:-1;;;;2755:773:1:o;4448:356::-;4650:2;4632:21;;;4669:18;;;4662:30;4728:34;4723:2;4708:18;;4701:62;4795:2;4780:18;;4448:356::o;4809:127::-;4870:10;4865:3;4861:20;4858:1;4851:31;4901:4;4898:1;4891:15;4925:4;4922:1;4915:15;4941:125;4981:4;5009:1;5006;5003:8;5000:34;;;5014:18;;:::i;:::-;-1:-1:-1;5051:9:1;;4941:125::o;5071:127::-;5132:10;5127:3;5123:20;5120:1;5113:31;5163:4;5160:1;5153:15;5187:4;5184:1;5177:15;5203:135;5242:3;5263:17;;;5260:43;;5283:18;;:::i;:::-;-1:-1:-1;5330:1:1;5319:13;;5203:135::o;6051:184::-;6121:6;6174:2;6162:9;6153:7;6149:23;6145:32;6142:52;;;6190:1;6187;6180:12;6142:52;-1:-1:-1;6213:16:1;;6051:184;-1:-1:-1;6051:184:1:o;7146:217::-;7186:1;7212;7202:132;;7256:10;7251:3;7247:20;7244:1;7237:31;7291:4;7288:1;7281:15;7319:4;7316:1;7309:15;7202:132;-1:-1:-1;7348:9:1;;7146:217::o;7368:168::-;7408:7;7474:1;7470;7466:6;7462:14;7459:1;7456:21;7451:1;7444:9;7437:17;7433:45;7430:71;;;7481:18;;:::i;:::-;-1:-1:-1;7521:9:1;;7368:168::o;7895:128::-;7935:3;7966:1;7962:6;7959:1;7956:13;7953:39;;;7972:18;;:::i;:::-;-1:-1:-1;8008:9:1;;7895:128::o;8028:347::-;8230:2;8212:21;;;8269:2;8249:18;;;8242:30;8308:25;8303:2;8288:18;;8281:53;8366:2;8351:18;;8028:347::o;9436:274::-;9475:7;-1:-1:-1;;;;;9556:2:1;9553:1;9549:10;9586:2;9583:1;9579:10;9642:3;9638:2;9634:12;9629:3;9626:21;9619:3;9612:11;9605:19;9601:47;9598:73;;;9651:18;;:::i;:::-;9691:13;;9436:274;-1:-1:-1;;;;9436:274:1:o;11166:233::-;11205:4;-1:-1:-1;;;;;11306:10:1;;;;11276;;11328:12;;;11325:38;;;11343:18;;:::i;:::-;11380:13;;11166:233;-1:-1:-1;;;11166:233:1:o;11404:204::-;11442:3;11478:4;11475:1;11471:12;11510:4;11507:1;11503:12;11545:3;11539:4;11535:14;11530:3;11527:23;11524:49;;;11553:18;;:::i;:::-;11589:13;;11404:204;-1:-1:-1;;;11404:204:1:o

Swarm Source

ipfs://d6dd7bf6fd6036d6e1f56bedc38948dedcdd794e7fb736fd98677ff32c9a6bfa

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.