ETH Price: $2,902.11 (+0.43%)

Contract

0xDcCC1Dc6c3518dC160F7D2ec72Dac1A6eE9a7B4f

Overview

ETH Balance

Linea Mainnet LogoLinea Mainnet LogoLinea Mainnet Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Transaction Hash
Block
From
To
Set Prices And E...33780292024-04-03 20:10:20663 days ago1712175020IN
LogX : Pricefeed
0 ETH0.000066840.56282489
Set Prices And E...33708062024-04-03 13:54:00663 days ago1712152440IN
LogX : Pricefeed
0 ETH0.000267390.25255614
Set Prices And E...33693172024-04-03 12:32:33663 days ago1712147553IN
LogX : Pricefeed
0 ETH0.000208630.39173674
Set Prices And E...33693042024-04-03 12:31:48663 days ago1712147508IN
LogX : Pricefeed
0 ETH0.000399370.39173674
Set Prices And E...33692992024-04-03 12:31:30663 days ago1712147490IN
LogX : Pricefeed
0 ETH0.000050240.44388459
Set Prices And E...33692422024-04-03 12:28:22663 days ago1712147302IN
LogX : Pricefeed
0 ETH0.000168290.36119042
Set Prices And E...33692352024-04-03 12:28:00663 days ago1712147280IN
LogX : Pricefeed
0 ETH0.00036620.36119042
Set Prices And E...33690612024-04-03 12:19:08663 days ago1712146748IN
LogX : Pricefeed
0 ETH0.000152640.30766657
Set Prices And E...33690222024-04-03 12:17:09663 days ago1712146629IN
LogX : Pricefeed
0 ETH0.00032450.31305198
Set Prices And E...33688902024-04-03 12:10:33663 days ago1712146233IN
LogX : Pricefeed
0 ETH0.000035910.30241022
Set Prices And E...33687402024-04-03 12:02:57663 days ago1712145777IN
LogX : Pricefeed
0 ETH0.000125970.29871135
Set Prices And E...33687262024-04-03 12:02:12663 days ago1712145732IN
LogX : Pricefeed
0 ETH0.000317440.31309846
Set Prices And E...33686942024-04-03 12:00:34663 days ago1712145634IN
LogX : Pricefeed
0 ETH0.000168490.34038357
Set Prices And E...33686772024-04-03 11:59:41663 days ago1712145581IN
LogX : Pricefeed
0 ETH0.000343950.33924589
Set Prices And E...33686132024-04-03 11:56:20663 days ago1712145380IN
LogX : Pricefeed
0 ETH0.000230240.41464282
Set Prices And E...33686022024-04-03 11:55:45663 days ago1712145345IN
LogX : Pricefeed
0 ETH0.000422720.41464282
Set Prices And E...33685812024-04-03 11:54:35663 days ago1712145275IN
LogX : Pricefeed
0 ETH0.000050050.44232581
Set Prices And E...33685622024-04-03 11:53:30663 days ago1712145210IN
LogX : Pricefeed
0 ETH0.000188350.45511516
Set Prices And E...33685502024-04-03 11:52:48663 days ago1712145168IN
LogX : Pricefeed
0 ETH0.000054110.45558975
Set Prices And E...33685452024-04-03 11:52:32663 days ago1712145152IN
LogX : Pricefeed
0 ETH0.000465250.45990997
Set Prices And E...33685302024-04-03 11:51:40663 days ago1712145100IN
LogX : Pricefeed
0 ETH0.000264420.46247483
Set Prices And E...33685132024-04-03 11:50:41663 days ago1712145041IN
LogX : Pricefeed
0 ETH0.000474840.46834235
Set Prices And E...33684622024-04-03 11:47:58663 days ago1712144878IN
LogX : Pricefeed
0 ETH0.000222110.47191618
Set Prices And E...33684602024-04-03 11:47:51663 days ago1712144871IN
LogX : Pricefeed
0 ETH0.00005340.47191618
Set Prices And E...33684532024-04-03 11:47:30663 days ago1712144850IN
LogX : Pricefeed
0 ETH0.000492090.48269495
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
33780292024-04-03 20:10:20663 days ago1712175020
LogX : Pricefeed
0 ETH
33780292024-04-03 20:10:20663 days ago1712175020
LogX : Pricefeed
0 ETH
33708062024-04-03 13:54:00663 days ago1712152440
LogX : Pricefeed
0 ETH
33708062024-04-03 13:54:00663 days ago1712152440
LogX : Pricefeed
0 ETH
33708062024-04-03 13:54:00663 days ago1712152440
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693722024-04-03 12:35:34663 days ago1712147734
LogX : Pricefeed
0 ETH
33693172024-04-03 12:32:33663 days ago1712147553
LogX : Pricefeed
0 ETH
33693172024-04-03 12:32:33663 days ago1712147553
LogX : Pricefeed
0 ETH
33693172024-04-03 12:32:33663 days ago1712147553
LogX : Pricefeed
0 ETH
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LineaPriceFeed

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at lineascan.build/ on 2023-12-10
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

interface IPriceFeed {
    function getMaxPriceOfToken(address _token) external view returns (uint256);
    function getMinPriceOfToken(address _token) external view returns (uint256);
}

contract Governable {
    address public gov;

    constructor() {
        gov = msg.sender;
    }

    modifier onlyGov() {
        require(msg.sender == gov, "Governable: forbidden");
        _;
    }

    function setGov(address _gov) external onlyGov {
        gov = _gov;
    }
}

library StructsUtils {
    struct IncreasePositionRequest {
        address account;
        address _collateralToken;
        address indexToken;
        uint256 amountIn;
        uint256 sizeDelta;
        bool isLong;
        uint256 acceptablePrice;
        uint256 executionFee;
        uint256 blockNumber;
        uint256 blockTime;    
    }
    struct DecreasePositionRequest {
        address account;
        address _collateralToken;
        address indexToken;
        uint256 sizeDelta;
        bool isLong;
        address receiver;
        uint256 acceptablePrice;
        uint256 executionFee;
        uint256 blockNumber;
        uint256 blockTime;
    }
    struct Order {
        address account;
        address collateralToken;
        address indexToken;
        uint256 collateralDelta;
        uint256 sizeDelta;
        uint256 triggerPrice;
        uint256 executionFee;
        bool isLong;
        bool triggerAboveThreshold;
        bool isIncreaseOrder;
        bool isMaxOrder;
    }
    struct Position {
        address account;
        address collateralToken;
        address indexToken;
        bool isLong;
        uint256 size;
        uint256 collateral;
        uint256 averagePrice;
        uint256 entryBorrowingRate;
        int256 entryFundingRate;
        int256 realisedPnl;
        uint256 lastIncreasedTime;
    }

    struct MintLLPRequest {
        address account;
        uint256 amount;
        address collateralToken;
        uint256 executionFee;
        uint256 minUsdl;
        uint256 minLLP;
    }

    struct BurnLLPRequest {
        address account;
        uint256 amount;
        address collateralToken;
        uint256 minOut;
        address receiver;
        uint256 executionFee;
    }
}

interface IOrderManager{
    function increasePositionRequestKeysStart() external returns (uint256);
    function decreasePositionRequestKeysStart() external returns (uint256);
    function executeIncreasePositions(uint256 _count, address payable _executionFeeReceiver) external returns(uint256);
    function executeDecreasePositions(uint256 _count, address payable _executionFeeReceiver) external returns(uint256);

    function executeOrder(address, uint256, address payable) external;
    function setOrderKeeper(address _account, bool _isActive) external;
    function setPriceFeed(address _priceFeed) external;
    function executeMultipleOrders(address[] calldata accountAddresses, uint[] calldata orderIndices, address payable _feeReceiver) external;
    function liquidateMultiplePositions(bytes32[] calldata keys, address payable _feeReceiver) external;
}

interface IPriceEvents {
    function emitPriceEvent(address _token, uint256 _price) external;
}

contract PythStructs {
    // A price with a degree of uncertainty, represented as a price +- a confidence interval.
    //
    // The confidence interval roughly corresponds to the standard error of a normal distribution.
    // Both the price and confidence are stored in a fixed-point numeric representation,
    // `x * (10^expo)`, where `expo` is the exponent.
    //
    // Please refer to the documentation at https://docs.pyth.network/consumers/best-practices for how
    // to how this price safely.
    struct Price {
        // Price
        int64 price;
        // Confidence interval around the price
        uint64 conf;
        // Price exponent
        int32 expo;
        // Unix timestamp describing when the price was published
        uint publishTime;
    }

    // PriceFeed represents a current aggregate price from pyth publisher feeds.
    struct PriceFeed {
        // The price ID.
        bytes32 id;
        // Latest available price
        Price price;
        // Latest available exponentially-weighted moving average price
        Price emaPrice;
    }
}

/// @title IPythEvents contains the events that Pyth contract emits.
/// @dev This interface can be used for listening to the updates for off-chain and testing purposes.
interface IPythEvents {
    /// @dev Emitted when the price feed with `id` has received a fresh update.
    /// @param id The Pyth Price Feed ID.
    /// @param publishTime Publish time of the given price update.
    /// @param price Price of the given price update.
    /// @param conf Confidence interval of the given price update.
    event PriceFeedUpdate(
        bytes32 indexed id,
        uint64 publishTime,
        int64 price,
        uint64 conf
    );

    /// @dev Emitted when a batch price update is processed successfully.
    /// @param chainId ID of the source chain that the batch price update comes from.
    /// @param sequenceNumber Sequence number of the batch price update.
    event BatchPriceFeedUpdate(uint16 chainId, uint64 sequenceNumber);
}

/// @title Consume prices from the Pyth Network (https://pyth.network/).
/// @dev Please refer to the guidance at https://docs.pyth.network/consumers/best-practices for how to consume prices safely.
/// @author Pyth Data Association
interface IPyth is IPythEvents {
    /// @notice Returns the period (in seconds) that a price feed is considered valid since its publish time
    function getValidTimePeriod() external view returns (uint validTimePeriod);

    /// @notice Returns the price and confidence interval.
    /// @dev Reverts if the price has not been updated within the last `getValidTimePeriod()` seconds.
    /// @param id The Pyth Price Feed ID of which to fetch the price and confidence interval.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getPrice(
        bytes32 id
    ) external view returns (PythStructs.Price memory price);

    /// @notice Returns the exponentially-weighted moving average price and confidence interval.
    /// @dev Reverts if the EMA price is not available.
    /// @param id The Pyth Price Feed ID of which to fetch the EMA price and confidence interval.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getEmaPrice(
        bytes32 id
    ) external view returns (PythStructs.Price memory price);

    /// @notice Returns the price of a price feed without any sanity checks.
    /// @dev This function returns the most recent price update in this contract without any recency checks.
    /// This function is unsafe as the returned price update may be arbitrarily far in the past.
    ///
    /// Users of this function should check the `publishTime` in the price to ensure that the returned price is
    /// sufficiently recent for their application. If you are considering using this function, it may be
    /// safer / easier to use either `getPrice` or `getPriceNoOlderThan`.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getPriceUnsafe(
        bytes32 id
    ) external view returns (PythStructs.Price memory price);

    /// @notice Returns the price that is no older than `age` seconds of the current time.
    /// @dev This function is a sanity-checked version of `getPriceUnsafe` which is useful in
    /// applications that require a sufficiently-recent price. Reverts if the price wasn't updated sufficiently
    /// recently.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getPriceNoOlderThan(
        bytes32 id,
        uint age
    ) external view returns (PythStructs.Price memory price);

    /// @notice Returns the exponentially-weighted moving average price of a price feed without any sanity checks.
    /// @dev This function returns the same price as `getEmaPrice` in the case where the price is available.
    /// However, if the price is not recent this function returns the latest available price.
    ///
    /// The returned price can be from arbitrarily far in the past; this function makes no guarantees that
    /// the returned price is recent or useful for any particular application.
    ///
    /// Users of this function should check the `publishTime` in the price to ensure that the returned price is
    /// sufficiently recent for their application. If you are considering using this function, it may be
    /// safer / easier to use either `getEmaPrice` or `getEmaPriceNoOlderThan`.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getEmaPriceUnsafe(
        bytes32 id
    ) external view returns (PythStructs.Price memory price);

    /// @notice Returns the exponentially-weighted moving average price that is no older than `age` seconds
    /// of the current time.
    /// @dev This function is a sanity-checked version of `getEmaPriceUnsafe` which is useful in
    /// applications that require a sufficiently-recent price. Reverts if the price wasn't updated sufficiently
    /// recently.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getEmaPriceNoOlderThan(
        bytes32 id,
        uint age
    ) external view returns (PythStructs.Price memory price);

    /// @notice Update price feeds with given update messages.
    /// This method requires the caller to pay a fee in wei; the required fee can be computed by calling
    /// `getUpdateFee` with the length of the `updateData` array.
    /// Prices will be updated if they are more recent than the current stored prices.
    /// The call will succeed even if the update is not the most recent.
    /// @dev Reverts if the transferred fee is not sufficient or the updateData is invalid.
    /// @param updateData Array of price update data.
    function updatePriceFeeds(bytes[] calldata updateData) external payable;

    /// @notice Wrapper around updatePriceFeeds that rejects fast if a price update is not necessary. A price update is
    /// necessary if the current on-chain publishTime is older than the given publishTime. It relies solely on the
    /// given `publishTimes` for the price feeds and does not read the actual price update publish time within `updateData`.
    ///
    /// This method requires the caller to pay a fee in wei; the required fee can be computed by calling
    /// `getUpdateFee` with the length of the `updateData` array.
    ///
    /// `priceIds` and `publishTimes` are two arrays with the same size that correspond to senders known publishTime
    /// of each priceId when calling this method. If all of price feeds within `priceIds` have updated and have
    /// a newer or equal publish time than the given publish time, it will reject the transaction to save gas.
    /// Otherwise, it calls updatePriceFeeds method to update the prices.
    ///
    /// @dev Reverts if update is not needed or the transferred fee is not sufficient or the updateData is invalid.
    /// @param updateData Array of price update data.
    /// @param priceIds Array of price ids.
    /// @param publishTimes Array of publishTimes. `publishTimes[i]` corresponds to known `publishTime` of `priceIds[i]`
    function updatePriceFeedsIfNecessary(
        bytes[] calldata updateData,
        bytes32[] calldata priceIds,
        uint64[] calldata publishTimes
    ) external payable;

    /// @notice Returns the required fee to update an array of price updates.
    /// @param updateData Array of price update data.
    /// @return feeAmount The required fee in Wei.
    function getUpdateFee(
        bytes[] calldata updateData
    ) external view returns (uint feeAmount);

    /// @notice Parse `updateData` and return price feeds of the given `priceIds` if they are all published
    /// within `minPublishTime` and `maxPublishTime`.
    ///
    /// You can use this method if you want to use a Pyth price at a fixed time and not the most recent price;
    /// otherwise, please consider using `updatePriceFeeds`. This method does not store the price updates on-chain.
    ///
    /// This method requires the caller to pay a fee in wei; the required fee can be computed by calling
    /// `getUpdateFee` with the length of the `updateData` array.
    ///
    ///
    /// @dev Reverts if the transferred fee is not sufficient or the updateData is invalid or there is
    /// no update for any of the given `priceIds` within the given time range.
    /// @param updateData Array of price update data.
    /// @param priceIds Array of price ids.
    /// @param minPublishTime minimum acceptable publishTime for the given `priceIds`.
    /// @param maxPublishTime maximum acceptable publishTime for the given `priceIds`.
    /// @return priceFeeds Array of the price feeds corresponding to the given `priceIds` (with the same order).
    function parsePriceFeedUpdates(
        bytes[] calldata updateData,
        bytes32[] calldata priceIds,
        uint64 minPublishTime,
        uint64 maxPublishTime
    ) external payable returns (PythStructs.PriceFeed[] memory priceFeeds);
}

interface IRewardRouter {
    function feeLlpTracker() external view returns (address);
    function executeMintRequests(uint endIndex, address payable feeReceiver ) external returns(uint);
    function executeBurnRequests(uint endIndex, address payable feeReceiver ) external returns (uint);
    function mintAccountIdx(address user) external returns (uint);
    function burnAccountIdx(address user) external returns (uint);
}

contract LineaPriceFeed is IPriceFeed, Governable {
    struct PriceArgs {
        uint256 price;
        int32 expo;
        uint256 publishTime;
    }

    struct TokenPrice {
        uint256 maxPrice;
        uint256 minPrice;
        int32 maxPriceExpo;
        int32 minPriceExpo;
        uint256 publishTime;
    }

    uint256 public maxAllowedDelay;
    mapping(address => bool) public updater;
    uint256 public constant PRICE_PRECISION = 30;
    uint256 public constant BASIS_POINTS_DIVISOR = 10000;

    mapping(address => bytes32) public tokenPriceIdMapping;
    mapping(address => TokenPrice) public tokenToPrice;
    address[] public supportedTokens;
    uint256 public maxAllowedDelta;
    IOrderManager public orderManager;
    IRewardRouter public rewardRouter;

    event PriceSet(
        TokenPrice priceSet
    );

    constructor(
        uint _maxAllowedDelay,
        address _updater,
        uint256 _maxAllowedDelta
    ) {
        maxAllowedDelay = _maxAllowedDelay;
        updater[_updater] = true;
        maxAllowedDelta = _maxAllowedDelta;
    }

    modifier onlyUpdater() {
        require(updater[msg.sender], "PriceFeed: sender does not have entitlements to update price");
        _;
    }

    function setOrderManager(address _orderManager) external onlyGov{
        orderManager = IOrderManager(_orderManager);
    }

    function setRewardRouter(address _rewardRouter) external onlyGov{
        rewardRouter = IRewardRouter(_rewardRouter);
    }

    function setUpdater(address _updater) external onlyGov {
        updater[_updater] = true;
    }
    function removeUpdater(address _updater) external onlyGov {
        updater[_updater] = false;
    }

    function setMaxAllowedDelay(uint256 _maxAllowedDelay) external onlyGov {
        maxAllowedDelay = _maxAllowedDelay;
    }

    function setMaxAllowedDelta(uint256 _maxAllowedDelta) external onlyGov {
        maxAllowedDelta = _maxAllowedDelta;
    }

    function updateTokenIdMapping(
        address _token,
        bytes32 _priceId
    ) external onlyGov {
        if (tokenPriceIdMapping[_token] != bytes32(0)) {
            tokenPriceIdMapping[_token] = _priceId;
        } else {
            tokenPriceIdMapping[_token] = _priceId;
            supportedTokens.push(_token);
        }
    }

    function validateData(uint256 _publishTime) internal view {
        require(
            _publishTime + maxAllowedDelay > block.timestamp,
            "PriceFeed: current price data not available!"
        );
    }

    function setPricesAndExecute(
        PriceArgs[] calldata _darkOraclePrices,
        uint256 _endIndexForIncreasePositions,
        uint256 _endIndexForDecreasePositions
    ) external payable onlyUpdater returns(uint256, uint256){
        setPrices(_darkOraclePrices);
        return executePositions(_endIndexForIncreasePositions, _endIndexForDecreasePositions);
    }
    
    function setPricesAndExecuteOrders(
        PriceArgs[] calldata _darkOraclePrices,
        address[] calldata _accounts,
        uint[] calldata _orderIndices,
        address payable _feeReceiver
    ) external payable onlyUpdater{
        setPrices(_darkOraclePrices);
        executeOrders(_accounts, _orderIndices, _feeReceiver);
    }

    function setPricesAndLiqudidate(
        PriceArgs[] calldata _darkOraclePrices,
        bytes32[] calldata _keys, 
        address payable _feeReceiver
    ) external payable onlyUpdater{
        setPrices(_darkOraclePrices);
        liquidatePositions(_keys, _feeReceiver);
    }

    function setPricesAndExecuteLPRequests(
        PriceArgs[] calldata _darkOraclePrices,
        uint256 _endIndexForMintRequests,
        uint256 _endIndexForBurnRequests
    ) external payable onlyUpdater returns(uint, uint){
        setPrices(_darkOraclePrices);
        return executeLPRequests(_endIndexForMintRequests, _endIndexForBurnRequests);
    }
    
    function _setPrice(address _tokenAddress,  PriceArgs memory _darkOraclePrice) public onlyUpdater {
        validateData(_darkOraclePrice.publishTime);
        TokenPrice memory priceObject = TokenPrice(_darkOraclePrice.price, _darkOraclePrice.price, _darkOraclePrice.expo, _darkOraclePrice.expo, _darkOraclePrice.publishTime);
        tokenToPrice[_tokenAddress] = priceObject;
        emit PriceSet(priceObject);
    }
    
    function setPrices(PriceArgs[] calldata _darkOraclePrices) public onlyUpdater {
        uint alltokens = supportedTokens.length;
        for (uint i = 0; i < alltokens; i++) {
            address currToken = supportedTokens[i];
            _setPrice(currToken, _darkOraclePrices[i]);
        }
    }

    function executePositions(uint _endIndexForIncreasePositions, uint _endIndexForDecreasePositions) public onlyUpdater returns(uint256, uint256){
        uint256 increaseNextStart = orderManager.executeIncreasePositions(_endIndexForIncreasePositions, payable(msg.sender));
        uint256 decreaseNextStart = orderManager.executeDecreasePositions(_endIndexForDecreasePositions, payable(msg.sender));
        return (increaseNextStart, decreaseNextStart);
    }

    function executeOrders(address[] calldata _accounts, uint[] calldata _orderIndices, address payable _feeReceiver) public onlyUpdater {
        orderManager.executeMultipleOrders(_accounts, _orderIndices, _feeReceiver);
    }

    function liquidatePositions(bytes32[] calldata _keys, address payable _feeReceiver) public onlyUpdater {
        orderManager.liquidateMultiplePositions(_keys, _feeReceiver);
    }

    function getMaxPriceOfToken(
        address _token
    ) external view override returns (uint256) {
        TokenPrice memory price = tokenToPrice[_token];
        validateData(price.publishTime);
        return getFinalPrice(price.maxPrice, price.maxPriceExpo);
    }

    function getMinPriceOfToken(
        address _token
    ) external view override returns (uint256) {
        TokenPrice memory price = tokenToPrice[_token];
        validateData(price.publishTime);
        return getFinalPrice(price.minPrice, price.minPriceExpo);
    }

    function getFinalPrice(
        uint256 price,
        int32 exponent
    ) private pure returns (uint256) {
        uint256 adjustment = PRICE_PRECISION - uint32(-1 * exponent);
        return price * (10 ** adjustment);
    }

    function withdrawFunds(uint256 _amount, address payable _receiver) public onlyGov{
        require(address(this).balance >= _amount, "PriceFeed: requested amount exceeds contract balance");
        (bool sent,) = _receiver.call{value: _amount}("");
        require(sent, "PriceFeed: Failed to send Ether");
    }

    function executeLPRequests(uint _endIndexForMintRequests, uint _endIndexForBurnRequests) public onlyUpdater returns(uint, uint) {
        uint mintNextStart = rewardRouter.executeMintRequests(_endIndexForMintRequests, payable(msg.sender));
        uint burnNextStart = rewardRouter.executeBurnRequests(_endIndexForBurnRequests, payable(msg.sender));
        return(mintNextStart, burnNextStart);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_maxAllowedDelay","type":"uint256"},{"internalType":"address","name":"_updater","type":"address"},{"internalType":"uint256","name":"_maxAllowedDelta","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint256","name":"maxPrice","type":"uint256"},{"internalType":"uint256","name":"minPrice","type":"uint256"},{"internalType":"int32","name":"maxPriceExpo","type":"int32"},{"internalType":"int32","name":"minPriceExpo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"indexed":false,"internalType":"struct LineaPriceFeed.TokenPrice","name":"priceSet","type":"tuple"}],"name":"PriceSet","type":"event"},{"inputs":[],"name":"BASIS_POINTS_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"int32","name":"expo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"internalType":"struct LineaPriceFeed.PriceArgs","name":"_darkOraclePrice","type":"tuple"}],"name":"_setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endIndexForMintRequests","type":"uint256"},{"internalType":"uint256","name":"_endIndexForBurnRequests","type":"uint256"}],"name":"executeLPRequests","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_orderIndices","type":"uint256[]"},{"internalType":"address payable","name":"_feeReceiver","type":"address"}],"name":"executeOrders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endIndexForIncreasePositions","type":"uint256"},{"internalType":"uint256","name":"_endIndexForDecreasePositions","type":"uint256"}],"name":"executePositions","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"getMaxPriceOfToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"getMinPriceOfToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_keys","type":"bytes32[]"},{"internalType":"address payable","name":"_feeReceiver","type":"address"}],"name":"liquidatePositions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxAllowedDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedDelta","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orderManager","outputs":[{"internalType":"contract IOrderManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_updater","type":"address"}],"name":"removeUpdater","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardRouter","outputs":[{"internalType":"contract IRewardRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAllowedDelay","type":"uint256"}],"name":"setMaxAllowedDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAllowedDelta","type":"uint256"}],"name":"setMaxAllowedDelta","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_orderManager","type":"address"}],"name":"setOrderManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"int32","name":"expo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"internalType":"struct LineaPriceFeed.PriceArgs[]","name":"_darkOraclePrices","type":"tuple[]"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"int32","name":"expo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"internalType":"struct LineaPriceFeed.PriceArgs[]","name":"_darkOraclePrices","type":"tuple[]"},{"internalType":"uint256","name":"_endIndexForIncreasePositions","type":"uint256"},{"internalType":"uint256","name":"_endIndexForDecreasePositions","type":"uint256"}],"name":"setPricesAndExecute","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"int32","name":"expo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"internalType":"struct LineaPriceFeed.PriceArgs[]","name":"_darkOraclePrices","type":"tuple[]"},{"internalType":"uint256","name":"_endIndexForMintRequests","type":"uint256"},{"internalType":"uint256","name":"_endIndexForBurnRequests","type":"uint256"}],"name":"setPricesAndExecuteLPRequests","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"int32","name":"expo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"internalType":"struct LineaPriceFeed.PriceArgs[]","name":"_darkOraclePrices","type":"tuple[]"},{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_orderIndices","type":"uint256[]"},{"internalType":"address payable","name":"_feeReceiver","type":"address"}],"name":"setPricesAndExecuteOrders","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"int32","name":"expo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"internalType":"struct LineaPriceFeed.PriceArgs[]","name":"_darkOraclePrices","type":"tuple[]"},{"internalType":"bytes32[]","name":"_keys","type":"bytes32[]"},{"internalType":"address payable","name":"_feeReceiver","type":"address"}],"name":"setPricesAndLiqudidate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardRouter","type":"address"}],"name":"setRewardRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_updater","type":"address"}],"name":"setUpdater","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supportedTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenPriceIdMapping","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenToPrice","outputs":[{"internalType":"uint256","name":"maxPrice","type":"uint256"},{"internalType":"uint256","name":"minPrice","type":"uint256"},{"internalType":"int32","name":"maxPriceExpo","type":"int32"},{"internalType":"int32","name":"minPriceExpo","type":"int32"},{"internalType":"uint256","name":"publishTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bytes32","name":"_priceId","type":"bytes32"}],"name":"updateTokenIdMapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"updater","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_receiver","type":"address"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051611b08380380611b0883398101604081905261002f91610072565b600080546001600160a01b0319163317815560019384556001600160a01b0392909216825260026020526040909120805460ff19169092179091556006556100b8565b60008060006060848603121561008757600080fd5b835160208501519093506001600160a01b03811681146100a657600080fd5b80925050604084015190509250925092565b611a41806100c76000396000f3fe6080604052600436106101e35760003560e01c8063757a020111610102578063b57587be11610095578063dd8e3a0f11610064578063dd8e3a0f146105f3578063e3a2169514610613578063ec0da45314610626578063f9b6117f1461063c57600080fd5b8063b57587be14610573578063c0da840d14610593578063c6255626146105b3578063cfad57a2146105d357600080fd5b80639d54f419116100d15780639d54f419146104f3578063add8f26014610513578063b053579e14610533578063b15a4f831461054657600080fd5b8063757a02011461047e5780637a5a75281461049e57806395082d25146104be578063977b91d7146104d357600080fd5b80632b0134e81161017a5780634744589211610149578063474458921461040857806350dab35a1461041e5780635a3bb9891461043e578063744bfe611461045e57600080fd5b80632b0134e814610333578063363856461461034657806339305db6146103665780633a0fbec0146103e857600080fd5b8063126082cf116101b6578063126082cf1461028f57806312d43a51146102b357806318618f95146102eb57806323d55254146102fe57600080fd5b8063022ce9b5146101e857806304b07a5e1461020a5780630fa375921461022a5780631181324b1461024a575b600080fd5b3480156101f457600080fd5b50610208610203366004611287565b61065c565b005b34801561021657600080fd5b506102086102253660046112b5565b610694565b34801561023657600080fd5b50610208610245366004611287565b6106df565b34801561025657600080fd5b5061027a6102653660046112b5565b60026020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102a561271081565b604051908152602001610286565b3480156102bf57600080fd5b506000546102d3906001600160a01b031681565b6040516001600160a01b039091168152602001610286565b6102086102f936600461135c565b61070e565b34801561030a57600080fd5b5061031e61031936600461140a565b61075d565b60408051928352602083019190915201610286565b61020861034136600461142c565b61088f565b34801561035257600080fd5b506102a56103613660046112b5565b6108da565b34801561037257600080fd5b506103b96103813660046112b5565b60046020526000908152604090208054600182015460028301546003938401549293919281830b9264010000000090920490910b9085565b604080519586526020860194909452600392830b93850193909352900b6060830152608082015260a001610286565b3480156103f457600080fd5b5061031e61040336600461140a565b610958565b34801561041457600080fd5b506102a560015481565b34801561042a57600080fd5b506102a56104393660046112b5565b610a3b565b34801561044a57600080fd5b506008546102d3906001600160a01b031681565b34801561046a57600080fd5b506102086104793660046114b0565b610ab2565b34801561048a57600080fd5b50610208610499366004611558565b610bf1565b3480156104aa57600080fd5b506102086104b936600461158e565b610d3d565b3480156104ca57600080fd5b506102a5601e81565b3480156104df57600080fd5b506102086104ee3660046112b5565b610deb565b3480156104ff57600080fd5b5061020861050e3660046112b5565b610e37565b34801561051f57600080fd5b5061020861052e3660046115d0565b610e85565b61031e6105413660046115fc565b610f48565b34801561055257600080fd5b506102a56105613660046112b5565b60036020526000908152604090205481565b34801561057f57600080fd5b5061020861058e36600461164d565b610f9a565b34801561059f57600080fd5b506102086105ae3660046112b5565b61103a565b3480156105bf57600080fd5b506102d36105ce366004611287565b611086565b3480156105df57600080fd5b506102086105ee3660046112b5565b6110b0565b3480156105ff57600080fd5b5061020861060e366004611689565b6110fc565b61031e6106213660046115fc565b61118d565b34801561063257600080fd5b506102a560065481565b34801561064857600080fd5b506007546102d3906001600160a01b031681565b6000546001600160a01b0316331461068f5760405162461bcd60e51b8152600401610686906116e0565b60405180910390fd5b600155565b6000546001600160a01b031633146106be5760405162461bcd60e51b8152600401610686906116e0565b6001600160a01b03166000908152600260205260409020805460ff19169055565b6000546001600160a01b031633146107095760405162461bcd60e51b8152600401610686906116e0565b600655565b3360009081526002602052604090205460ff1661073d5760405162461bcd60e51b81526004016106869061170f565b6107478787610d3d565b6107548585858585610f9a565b50505050505050565b33600090815260026020526040812054819060ff1661078e5760405162461bcd60e51b81526004016106869061170f565b600854604051634569254360e11b8152600481018690523360248201526000916001600160a01b031690638ad24a86906044016020604051808303816000875af11580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610804919061176c565b60085460405163d54eefaf60e01b8152600481018790523360248201529192506000916001600160a01b039091169063d54eefaf906044015b6020604051808303816000875af115801561085c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610880919061176c565b919350909150505b9250929050565b3360009081526002602052604090205460ff166108be5760405162461bcd60e51b81526004016106869061170f565b6108c88585610d3d565b6108d38383836110fc565b5050505050565b6001600160a01b0381166000908152600460209081526040808320815160a081018352815481526001820154938101939093526002810154600381810b938501939093526401000000009004820b606084015201546080820181905261093f906111d2565b61095181602001518260600151611246565b9392505050565b33600090815260026020526040812054819060ff166109895760405162461bcd60e51b81526004016106869061170f565b600754604051629a208160e81b8152600481018690523360248201526000916001600160a01b031690639a208100906044016020604051808303816000875af11580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe919061176c565b60075460405163f3883d8b60e01b8152600481018790523360248201529192506000916001600160a01b039091169063f3883d8b9060440161083d565b6001600160a01b0381166000908152600460209081526040808320815160a081018352815481526001820154938101939093526002810154600381810b938501939093526401000000009004820b6060840152015460808201819052610aa0906111d2565b61095181600001518260400151611246565b6000546001600160a01b03163314610adc5760405162461bcd60e51b8152600401610686906116e0565b81471015610b495760405162461bcd60e51b815260206004820152603460248201527f5072696365466565643a2072657175657374656420616d6f756e74206578636560448201527365647320636f6e74726163742062616c616e636560601b6064820152608401610686565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114610b96576040519150601f19603f3d011682016040523d82523d6000602084013e610b9b565b606091505b5050905080610bec5760405162461bcd60e51b815260206004820152601f60248201527f5072696365466565643a204661696c656420746f2073656e64204574686572006044820152606401610686565b505050565b3360009081526002602052604090205460ff16610c205760405162461bcd60e51b81526004016106869061170f565b610c2d81604001516111d2565b6040805160a08101825282518152825160208083019182528085018051600390810b8587019081529151810b6060860190815287870151608087019081526001600160a01b038a16600090815260049095529387902086518155945160018601559151600285018054935163ffffffff9081166401000000000267ffffffffffffffff1990951692169190911792909217909155905191015590517fda2ff638025f43541e86f9e14aebefb0a960c29049c7dc2974da072b2c4b166e90610d30908390600060a0820190508251825260208301516020830152604083015160030b6040830152606083015160030b60608301526080830151608083015292915050565b60405180910390a1505050565b3360009081526002602052604090205460ff16610d6c5760405162461bcd60e51b81526004016106869061170f565b60055460005b81811015610de557600060058281548110610d8f57610d8f611785565b6000918252602090912001546001600160a01b03169050610dd281868685818110610dbc57610dbc611785565b905060600201803603810190610499919061179b565b5080610ddd816117cd565b915050610d72565b50505050565b6000546001600160a01b03163314610e155760405162461bcd60e51b8152600401610686906116e0565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e615760405162461bcd60e51b8152600401610686906116e0565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b6000546001600160a01b03163314610eaf5760405162461bcd60e51b8152600401610686906116e0565b6001600160a01b03821660009081526003602052604090205415610eea576001600160a01b0391909116600090815260036020526040902055565b6001600160a01b03821660008181526003602052604081208390556005805460018101825591527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555050565b33600090815260026020526040812054819060ff16610f795760405162461bcd60e51b81526004016106869061170f565b610f838686610d3d565b610f8d848461075d565b9150915094509492505050565b3360009081526002602052604090205460ff16610fc95760405162461bcd60e51b81526004016106869061170f565b60075460405163ae5efa2b60e01b81526001600160a01b039091169063ae5efa2b906110019088908890889088908890600401611818565b600060405180830381600087803b15801561101b57600080fd5b505af115801561102f573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146110645760405162461bcd60e51b8152600401610686906116e0565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005818154811061109657600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146110da5760405162461bcd60e51b8152600401610686906116e0565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526002602052604090205460ff1661112b5760405162461bcd60e51b81526004016106869061170f565b600754604051631c9b1eed60e31b81526001600160a01b039091169063e4d8f7689061115f9086908690869060040161188b565b600060405180830381600087803b15801561117957600080fd5b505af1158015610754573d6000803e3d6000fd5b33600090815260026020526040812054819060ff166111be5760405162461bcd60e51b81526004016106869061170f565b6111c88686610d3d565b610f8d8484610958565b42600154826111e191906118b7565b116112435760405162461bcd60e51b815260206004820152602c60248201527f5072696365466565643a2063757272656e742070726963652064617461206e6f60448201526b7420617661696c61626c652160a01b6064820152608401610686565b50565b600080611255836000196118ca565b6112669063ffffffff16601e6118f1565b905061127381600a6119e8565b61127d90856119f4565b9150505b92915050565b60006020828403121561129957600080fd5b5035919050565b6001600160a01b038116811461124357600080fd5b6000602082840312156112c757600080fd5b8135610951816112a0565b60008083601f8401126112e457600080fd5b50813567ffffffffffffffff8111156112fc57600080fd5b60208301915083602060608302850101111561088857600080fd5b60008083601f84011261132957600080fd5b50813567ffffffffffffffff81111561134157600080fd5b6020830191508360208260051b850101111561088857600080fd5b60008060008060008060006080888a03121561137757600080fd5b873567ffffffffffffffff8082111561138f57600080fd5b61139b8b838c016112d2565b909950975060208a01359150808211156113b457600080fd5b6113c08b838c01611317565b909750955060408a01359150808211156113d957600080fd5b506113e68a828b01611317565b90945092505060608801356113fa816112a0565b8091505092959891949750929550565b6000806040838503121561141d57600080fd5b50508035926020909101359150565b60008060008060006060868803121561144457600080fd5b853567ffffffffffffffff8082111561145c57600080fd5b61146889838a016112d2565b9097509550602088013591508082111561148157600080fd5b5061148e88828901611317565b90945092505060408601356114a2816112a0565b809150509295509295909350565b600080604083850312156114c357600080fd5b8235915060208301356114d5816112a0565b809150509250929050565b6000606082840312156114f257600080fd5b6040516060810181811067ffffffffffffffff8211171561152357634e487b7160e01b600052604160045260246000fd5b604052823581529050806020830135600381900b811461154257600080fd5b6020820152604092830135920191909152919050565b6000806080838503121561156b57600080fd5b8235611576816112a0565b915061158584602085016114e0565b90509250929050565b600080602083850312156115a157600080fd5b823567ffffffffffffffff8111156115b857600080fd5b6115c4858286016112d2565b90969095509350505050565b600080604083850312156115e357600080fd5b82356115ee816112a0565b946020939093013593505050565b6000806000806060858703121561161257600080fd5b843567ffffffffffffffff81111561162957600080fd5b611635878288016112d2565b90989097506020870135966040013595509350505050565b60008060008060006060868803121561166557600080fd5b853567ffffffffffffffff8082111561167d57600080fd5b61146889838a01611317565b60008060006040848603121561169e57600080fd5b833567ffffffffffffffff8111156116b557600080fd5b6116c186828701611317565b90945092505060208401356116d5816112a0565b809150509250925092565b60208082526015908201527423b7bb32b93730b136329d103337b93134b23232b760591b604082015260600190565b6020808252603c908201527f5072696365466565643a2073656e64657220646f6573206e6f7420686176652060408201527f656e7469746c656d656e747320746f2075706461746520707269636500000000606082015260800190565b60006020828403121561177e57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000606082840312156117ad57600080fd5b61095183836114e0565b634e487b7160e01b600052601160045260246000fd5b6000600182016117df576117df6117b7565b5060010190565b81835260006001600160fb1b038311156117ff57600080fd5b8260051b80836020870137939093016020019392505050565b6060808252810185905260008660808301825b8881101561185b57823561183e816112a0565b6001600160a01b031682526020928301929091019060010161182b565b50838103602085015261186f8187896117e6565b9250505060018060a01b03831660408301529695505050505050565b60408152600061189f6040830185876117e6565b905060018060a01b0383166020830152949350505050565b80820180821115611281576112816117b7565b60008260030b8260030b028060030b91508082146118ea576118ea6117b7565b5092915050565b81810381811115611281576112816117b7565b600181815b8085111561193f578160001904821115611925576119256117b7565b8085161561193257918102915b93841c9390800290611909565b509250929050565b60008261195657506001611281565b8161196357506000611281565b816001811461197957600281146119835761199f565b6001915050611281565b60ff841115611994576119946117b7565b50506001821b611281565b5060208310610133831016604e8410600b84101617156119c2575081810a611281565b6119cc8383611904565b80600019048211156119e0576119e06117b7565b029392505050565b60006109518383611947565b8082028115828204841417611281576112816117b756fea26469706673582212201334b27a6f3cac4ee77b0e2b6ccb81995fdba31dc5d375fd62bb887c0cf407d264736f6c63430008130033000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000818484227abf04550c6c242b6119b7c94d2e72b30000000000000000000000000000000000000000000000000000000000000096

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063757a020111610102578063b57587be11610095578063dd8e3a0f11610064578063dd8e3a0f146105f3578063e3a2169514610613578063ec0da45314610626578063f9b6117f1461063c57600080fd5b8063b57587be14610573578063c0da840d14610593578063c6255626146105b3578063cfad57a2146105d357600080fd5b80639d54f419116100d15780639d54f419146104f3578063add8f26014610513578063b053579e14610533578063b15a4f831461054657600080fd5b8063757a02011461047e5780637a5a75281461049e57806395082d25146104be578063977b91d7146104d357600080fd5b80632b0134e81161017a5780634744589211610149578063474458921461040857806350dab35a1461041e5780635a3bb9891461043e578063744bfe611461045e57600080fd5b80632b0134e814610333578063363856461461034657806339305db6146103665780633a0fbec0146103e857600080fd5b8063126082cf116101b6578063126082cf1461028f57806312d43a51146102b357806318618f95146102eb57806323d55254146102fe57600080fd5b8063022ce9b5146101e857806304b07a5e1461020a5780630fa375921461022a5780631181324b1461024a575b600080fd5b3480156101f457600080fd5b50610208610203366004611287565b61065c565b005b34801561021657600080fd5b506102086102253660046112b5565b610694565b34801561023657600080fd5b50610208610245366004611287565b6106df565b34801561025657600080fd5b5061027a6102653660046112b5565b60026020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102a561271081565b604051908152602001610286565b3480156102bf57600080fd5b506000546102d3906001600160a01b031681565b6040516001600160a01b039091168152602001610286565b6102086102f936600461135c565b61070e565b34801561030a57600080fd5b5061031e61031936600461140a565b61075d565b60408051928352602083019190915201610286565b61020861034136600461142c565b61088f565b34801561035257600080fd5b506102a56103613660046112b5565b6108da565b34801561037257600080fd5b506103b96103813660046112b5565b60046020526000908152604090208054600182015460028301546003938401549293919281830b9264010000000090920490910b9085565b604080519586526020860194909452600392830b93850193909352900b6060830152608082015260a001610286565b3480156103f457600080fd5b5061031e61040336600461140a565b610958565b34801561041457600080fd5b506102a560015481565b34801561042a57600080fd5b506102a56104393660046112b5565b610a3b565b34801561044a57600080fd5b506008546102d3906001600160a01b031681565b34801561046a57600080fd5b506102086104793660046114b0565b610ab2565b34801561048a57600080fd5b50610208610499366004611558565b610bf1565b3480156104aa57600080fd5b506102086104b936600461158e565b610d3d565b3480156104ca57600080fd5b506102a5601e81565b3480156104df57600080fd5b506102086104ee3660046112b5565b610deb565b3480156104ff57600080fd5b5061020861050e3660046112b5565b610e37565b34801561051f57600080fd5b5061020861052e3660046115d0565b610e85565b61031e6105413660046115fc565b610f48565b34801561055257600080fd5b506102a56105613660046112b5565b60036020526000908152604090205481565b34801561057f57600080fd5b5061020861058e36600461164d565b610f9a565b34801561059f57600080fd5b506102086105ae3660046112b5565b61103a565b3480156105bf57600080fd5b506102d36105ce366004611287565b611086565b3480156105df57600080fd5b506102086105ee3660046112b5565b6110b0565b3480156105ff57600080fd5b5061020861060e366004611689565b6110fc565b61031e6106213660046115fc565b61118d565b34801561063257600080fd5b506102a560065481565b34801561064857600080fd5b506007546102d3906001600160a01b031681565b6000546001600160a01b0316331461068f5760405162461bcd60e51b8152600401610686906116e0565b60405180910390fd5b600155565b6000546001600160a01b031633146106be5760405162461bcd60e51b8152600401610686906116e0565b6001600160a01b03166000908152600260205260409020805460ff19169055565b6000546001600160a01b031633146107095760405162461bcd60e51b8152600401610686906116e0565b600655565b3360009081526002602052604090205460ff1661073d5760405162461bcd60e51b81526004016106869061170f565b6107478787610d3d565b6107548585858585610f9a565b50505050505050565b33600090815260026020526040812054819060ff1661078e5760405162461bcd60e51b81526004016106869061170f565b600854604051634569254360e11b8152600481018690523360248201526000916001600160a01b031690638ad24a86906044016020604051808303816000875af11580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610804919061176c565b60085460405163d54eefaf60e01b8152600481018790523360248201529192506000916001600160a01b039091169063d54eefaf906044015b6020604051808303816000875af115801561085c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610880919061176c565b919350909150505b9250929050565b3360009081526002602052604090205460ff166108be5760405162461bcd60e51b81526004016106869061170f565b6108c88585610d3d565b6108d38383836110fc565b5050505050565b6001600160a01b0381166000908152600460209081526040808320815160a081018352815481526001820154938101939093526002810154600381810b938501939093526401000000009004820b606084015201546080820181905261093f906111d2565b61095181602001518260600151611246565b9392505050565b33600090815260026020526040812054819060ff166109895760405162461bcd60e51b81526004016106869061170f565b600754604051629a208160e81b8152600481018690523360248201526000916001600160a01b031690639a208100906044016020604051808303816000875af11580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe919061176c565b60075460405163f3883d8b60e01b8152600481018790523360248201529192506000916001600160a01b039091169063f3883d8b9060440161083d565b6001600160a01b0381166000908152600460209081526040808320815160a081018352815481526001820154938101939093526002810154600381810b938501939093526401000000009004820b6060840152015460808201819052610aa0906111d2565b61095181600001518260400151611246565b6000546001600160a01b03163314610adc5760405162461bcd60e51b8152600401610686906116e0565b81471015610b495760405162461bcd60e51b815260206004820152603460248201527f5072696365466565643a2072657175657374656420616d6f756e74206578636560448201527365647320636f6e74726163742062616c616e636560601b6064820152608401610686565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114610b96576040519150601f19603f3d011682016040523d82523d6000602084013e610b9b565b606091505b5050905080610bec5760405162461bcd60e51b815260206004820152601f60248201527f5072696365466565643a204661696c656420746f2073656e64204574686572006044820152606401610686565b505050565b3360009081526002602052604090205460ff16610c205760405162461bcd60e51b81526004016106869061170f565b610c2d81604001516111d2565b6040805160a08101825282518152825160208083019182528085018051600390810b8587019081529151810b6060860190815287870151608087019081526001600160a01b038a16600090815260049095529387902086518155945160018601559151600285018054935163ffffffff9081166401000000000267ffffffffffffffff1990951692169190911792909217909155905191015590517fda2ff638025f43541e86f9e14aebefb0a960c29049c7dc2974da072b2c4b166e90610d30908390600060a0820190508251825260208301516020830152604083015160030b6040830152606083015160030b60608301526080830151608083015292915050565b60405180910390a1505050565b3360009081526002602052604090205460ff16610d6c5760405162461bcd60e51b81526004016106869061170f565b60055460005b81811015610de557600060058281548110610d8f57610d8f611785565b6000918252602090912001546001600160a01b03169050610dd281868685818110610dbc57610dbc611785565b905060600201803603810190610499919061179b565b5080610ddd816117cd565b915050610d72565b50505050565b6000546001600160a01b03163314610e155760405162461bcd60e51b8152600401610686906116e0565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e615760405162461bcd60e51b8152600401610686906116e0565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b6000546001600160a01b03163314610eaf5760405162461bcd60e51b8152600401610686906116e0565b6001600160a01b03821660009081526003602052604090205415610eea576001600160a01b0391909116600090815260036020526040902055565b6001600160a01b03821660008181526003602052604081208390556005805460018101825591527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555050565b33600090815260026020526040812054819060ff16610f795760405162461bcd60e51b81526004016106869061170f565b610f838686610d3d565b610f8d848461075d565b9150915094509492505050565b3360009081526002602052604090205460ff16610fc95760405162461bcd60e51b81526004016106869061170f565b60075460405163ae5efa2b60e01b81526001600160a01b039091169063ae5efa2b906110019088908890889088908890600401611818565b600060405180830381600087803b15801561101b57600080fd5b505af115801561102f573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146110645760405162461bcd60e51b8152600401610686906116e0565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005818154811061109657600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146110da5760405162461bcd60e51b8152600401610686906116e0565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526002602052604090205460ff1661112b5760405162461bcd60e51b81526004016106869061170f565b600754604051631c9b1eed60e31b81526001600160a01b039091169063e4d8f7689061115f9086908690869060040161188b565b600060405180830381600087803b15801561117957600080fd5b505af1158015610754573d6000803e3d6000fd5b33600090815260026020526040812054819060ff166111be5760405162461bcd60e51b81526004016106869061170f565b6111c88686610d3d565b610f8d8484610958565b42600154826111e191906118b7565b116112435760405162461bcd60e51b815260206004820152602c60248201527f5072696365466565643a2063757272656e742070726963652064617461206e6f60448201526b7420617661696c61626c652160a01b6064820152608401610686565b50565b600080611255836000196118ca565b6112669063ffffffff16601e6118f1565b905061127381600a6119e8565b61127d90856119f4565b9150505b92915050565b60006020828403121561129957600080fd5b5035919050565b6001600160a01b038116811461124357600080fd5b6000602082840312156112c757600080fd5b8135610951816112a0565b60008083601f8401126112e457600080fd5b50813567ffffffffffffffff8111156112fc57600080fd5b60208301915083602060608302850101111561088857600080fd5b60008083601f84011261132957600080fd5b50813567ffffffffffffffff81111561134157600080fd5b6020830191508360208260051b850101111561088857600080fd5b60008060008060008060006080888a03121561137757600080fd5b873567ffffffffffffffff8082111561138f57600080fd5b61139b8b838c016112d2565b909950975060208a01359150808211156113b457600080fd5b6113c08b838c01611317565b909750955060408a01359150808211156113d957600080fd5b506113e68a828b01611317565b90945092505060608801356113fa816112a0565b8091505092959891949750929550565b6000806040838503121561141d57600080fd5b50508035926020909101359150565b60008060008060006060868803121561144457600080fd5b853567ffffffffffffffff8082111561145c57600080fd5b61146889838a016112d2565b9097509550602088013591508082111561148157600080fd5b5061148e88828901611317565b90945092505060408601356114a2816112a0565b809150509295509295909350565b600080604083850312156114c357600080fd5b8235915060208301356114d5816112a0565b809150509250929050565b6000606082840312156114f257600080fd5b6040516060810181811067ffffffffffffffff8211171561152357634e487b7160e01b600052604160045260246000fd5b604052823581529050806020830135600381900b811461154257600080fd5b6020820152604092830135920191909152919050565b6000806080838503121561156b57600080fd5b8235611576816112a0565b915061158584602085016114e0565b90509250929050565b600080602083850312156115a157600080fd5b823567ffffffffffffffff8111156115b857600080fd5b6115c4858286016112d2565b90969095509350505050565b600080604083850312156115e357600080fd5b82356115ee816112a0565b946020939093013593505050565b6000806000806060858703121561161257600080fd5b843567ffffffffffffffff81111561162957600080fd5b611635878288016112d2565b90989097506020870135966040013595509350505050565b60008060008060006060868803121561166557600080fd5b853567ffffffffffffffff8082111561167d57600080fd5b61146889838a01611317565b60008060006040848603121561169e57600080fd5b833567ffffffffffffffff8111156116b557600080fd5b6116c186828701611317565b90945092505060208401356116d5816112a0565b809150509250925092565b60208082526015908201527423b7bb32b93730b136329d103337b93134b23232b760591b604082015260600190565b6020808252603c908201527f5072696365466565643a2073656e64657220646f6573206e6f7420686176652060408201527f656e7469746c656d656e747320746f2075706461746520707269636500000000606082015260800190565b60006020828403121561177e57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000606082840312156117ad57600080fd5b61095183836114e0565b634e487b7160e01b600052601160045260246000fd5b6000600182016117df576117df6117b7565b5060010190565b81835260006001600160fb1b038311156117ff57600080fd5b8260051b80836020870137939093016020019392505050565b6060808252810185905260008660808301825b8881101561185b57823561183e816112a0565b6001600160a01b031682526020928301929091019060010161182b565b50838103602085015261186f8187896117e6565b9250505060018060a01b03831660408301529695505050505050565b60408152600061189f6040830185876117e6565b905060018060a01b0383166020830152949350505050565b80820180821115611281576112816117b7565b60008260030b8260030b028060030b91508082146118ea576118ea6117b7565b5092915050565b81810381811115611281576112816117b7565b600181815b8085111561193f578160001904821115611925576119256117b7565b8085161561193257918102915b93841c9390800290611909565b509250929050565b60008261195657506001611281565b8161196357506000611281565b816001811461197957600281146119835761199f565b6001915050611281565b60ff841115611994576119946117b7565b50506001821b611281565b5060208310610133831016604e8410600b84101617156119c2575081810a611281565b6119cc8383611904565b80600019048211156119e0576119e06117b7565b029392505050565b60006109518383611947565b8082028115828204841417611281576112816117b756fea26469706673582212201334b27a6f3cac4ee77b0e2b6ccb81995fdba31dc5d375fd62bb887c0cf407d264736f6c63430008130033

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

000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000818484227abf04550c6c242b6119b7c94d2e72b30000000000000000000000000000000000000000000000000000000000000096

-----Decoded View---------------
Arg [0] : _maxAllowedDelay (uint256): 300
Arg [1] : _updater (address): 0x818484227ABF04550c6c242B6119B7c94d2E72b3
Arg [2] : _maxAllowedDelta (uint256): 150

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [1] : 000000000000000000000000818484227abf04550c6c242b6119b7c94d2e72b3
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000096


Deployed Bytecode Sourcemap

14258:7210:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16020:124;;;;;;;;;;-1:-1:-1;16020:124:0;;;;;:::i;:::-;;:::i;:::-;;15910:102;;;;;;;;;;-1:-1:-1;15910:102:0;;;;;:::i;:::-;;:::i;16152:124::-;;;;;;;;;;-1:-1:-1;16152:124:0;;;;;:::i;:::-;;:::i;14636:39::-;;;;;;;;;;-1:-1:-1;14636:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;752:14:1;;745:22;727:41;;715:2;700:18;14636:39:0;;;;;;;;14733:52;;;;;;;;;;;;14780:5;14733:52;;;;;925:25:1;;;913:2;898:18;14733:52:0;779:177:1;282:18:0;;;;;;;;;;-1:-1:-1;282:18:0;;;;-1:-1:-1;;;;;282:18:0;;;;;;-1:-1:-1;;;;;1125:32:1;;;1107:51;;1095:2;1080:18;282::0;961:203:1;17259:348:0;;;;;;:::i;:::-;;:::i;21060:405::-;;;;;;;;;;-1:-1:-1;21060:405:0;;;;;:::i;:::-;;:::i;:::-;;;;3644:25:1;;;3700:2;3685:18;;3678:34;;;;3617:18;21060:405:0;3470:248:1;17615:288:0;;;;;;:::i;:::-;;:::i;20212:275::-;;;;;;;;;;-1:-1:-1;20212:275:0;;;;;:::i;:::-;;:::i;14855:50::-;;;;;;;;;;-1:-1:-1;14855:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4941:25:1;;;4997:2;4982:18;;4975:34;;;;5056:1;5045:21;;;5025:18;;;5018:49;;;;5103:21;;5098:2;5083:18;;5076:49;5156:3;5141:19;;5134:35;4928:3;4913:19;14855:50:0;4690:485:1;19035:462:0;;;;;;;;;;-1:-1:-1;19035:462:0;;;;;:::i;:::-;;:::i;14599:30::-;;;;;;;;;;;;;;;;19929:275;;;;;;;;;;-1:-1:-1;19929:275:0;;;;;:::i;:::-;;:::i;15028:33::-;;;;;;;;;;-1:-1:-1;15028:33:0;;;;-1:-1:-1;;;;;15028:33:0;;;20736:316;;;;;;;;;;-1:-1:-1;20736:316:0;;;;;:::i;:::-;;:::i;18286:424::-;;;;;;;;;;-1:-1:-1;18286:424:0;;;;;:::i;:::-;;:::i;18722:305::-;;;;;;;;;;-1:-1:-1;18722:305:0;;;;;:::i;:::-;;:::i;14682:44::-;;;;;;;;;;;;14724:2;14682:44;;15672:126;;;;;;;;;;-1:-1:-1;15672:126:0;;;;;:::i;:::-;;:::i;15806:98::-;;;;;;;;;;-1:-1:-1;15806:98:0;;;;;:::i;:::-;;:::i;16284:350::-;;;;;;;;;;-1:-1:-1;16284:350:0;;;;;:::i;:::-;;:::i;17911:363::-;;;;;;:::i;:::-;;:::i;14794:54::-;;;;;;;;;;-1:-1:-1;14794:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;19505:226;;;;;;;;;;-1:-1:-1;19505:226:0;;;;;:::i;:::-;;:::i;15538:126::-;;;;;;;;;;-1:-1:-1;15538:126:0;;;;;:::i;:::-;;:::i;14912:32::-;;;;;;;;;;-1:-1:-1;14912:32:0;;;;;:::i;:::-;;:::i;475:76::-;;;;;;;;;;-1:-1:-1;475:76:0;;;;;:::i;:::-;;:::i;19739:182::-;;;;;;;;;;-1:-1:-1;19739:182:0;;;;;:::i;:::-;;:::i;16869:378::-;;;;;;:::i;:::-;;:::i;14951:30::-;;;;;;;;;;;;;;;;14988:33;;;;;;;;;;-1:-1:-1;14988:33:0;;;;-1:-1:-1;;;;;14988:33:0;;;16020:124;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;;;;;;;;;16102:15:::1;:34:::0;16020:124::o;15910:102::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15979:17:0::1;15999:5;15979:17:::0;;;:7:::1;:17;::::0;;;;:25;;-1:-1:-1;;15979:25:0::1;::::0;;15910:102::o;16152:124::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;16234:15:::1;:34:::0;16152:124::o;17259:348::-;15434:10;15426:19;;;;:7;:19;;;;;;;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;17507:28:::1;17517:17;;17507:9;:28::i;:::-;17546:53;17560:9;;17571:13;;17586:12;17546:13;:53::i;:::-;17259:348:::0;;;;;;;:::o;21060:405::-;15434:10;21176:4;15426:19;;;:7;:19;;;;;;21176:4;;15426:19;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;21220:12:::1;::::0;:79:::1;::::0;-1:-1:-1;;;21220:79:0;;::::1;::::0;::::1;11171:25:1::0;;;21287:10:0::1;11212:18:1::0;;;11205:60;21199:18:0::1;::::0;-1:-1:-1;;;;;21220:12:0::1;::::0;:32:::1;::::0;11144:18:1;;21220:79:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21331:12;::::0;:79:::1;::::0;-1:-1:-1;;;21331:79:0;;::::1;::::0;::::1;11171:25:1::0;;;21398:10:0::1;11212:18:1::0;;;11205:60;21199:100:0;;-1:-1:-1;21310:18:0::1;::::0;-1:-1:-1;;;;;21331:12:0;;::::1;::::0;:32:::1;::::0;11144:18:1;;21331:79:0::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21428:13:::0;;-1:-1:-1;21310:100:0;;-1:-1:-1;;15521:1:0::1;21060:405:::0;;;;;:::o;17615:288::-;15434:10;15426:19;;;;:7;:19;;;;;;;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;17817:28:::1;17827:17;;17817:9;:28::i;:::-;17856:39;17875:5;;17882:12;17856:18;:39::i;:::-;17615:288:::0;;;;;:::o;20212:275::-;-1:-1:-1;;;;;20350:20:0;;20304:7;20350:20;;;:12;:20;;;;;;;;20324:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20381:31;;:12;:31::i;:::-;20430:49;20444:5;:14;;;20460:5;:18;;;20430:13;:49::i;:::-;20423:56;20212:275;-1:-1:-1;;;20212:275:0:o;19035:462::-;15434:10;19160:7;15426:19;;;:7;:19;;;;;;19160:7;;15426:19;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;19216:12:::1;::::0;:89:::1;::::0;-1:-1:-1;;;19216:89:0;;::::1;::::0;::::1;11171:25:1::0;;;19293:10:0::1;11212:18:1::0;;;11205:60;19188:25:0::1;::::0;-1:-1:-1;;;;;19216:12:0::1;::::0;:37:::1;::::0;11144:18:1;;19216:89:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19344:12;::::0;:89:::1;::::0;-1:-1:-1;;;19344:89:0;;::::1;::::0;::::1;11171:25:1::0;;;19421:10:0::1;11212:18:1::0;;;11205:60;19188:117:0;;-1:-1:-1;19316:25:0::1;::::0;-1:-1:-1;;;;;19344:12:0;;::::1;::::0;:37:::1;::::0;11144:18:1;;19344:89:0::1;10981:290:1::0;19929:275:0;-1:-1:-1;;;;;20067:20:0;;20021:7;20067:20;;;:12;:20;;;;;;;;20041:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20098:31;;:12;:31::i;:::-;20147:49;20161:5;:14;;;20177:5;:18;;;20147:13;:49::i;20736:316::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;20861:7:::1;20836:21;:32;;20828:97;;;::::0;-1:-1:-1;;;20828:97:0;;11667:2:1;20828:97:0::1;::::0;::::1;11649:21:1::0;11706:2;11686:18;;;11679:30;11745:34;11725:18;;;11718:62;-1:-1:-1;;;11796:18:1;;;11789:50;11856:19;;20828:97:0::1;11465:416:1::0;20828:97:0::1;20937:9;20951;-1:-1:-1::0;;;;;20951:14:0::1;20973:7;20951:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20936:49;;;21004:4;20996:48;;;::::0;-1:-1:-1;;;20996:48:0;;12298:2:1;20996:48:0::1;::::0;::::1;12280:21:1::0;12337:2;12317:18;;;12310:30;12376:33;12356:18;;;12349:61;12427:18;;20996:48:0::1;12096:355:1::0;20996:48:0::1;20817:235;20736:316:::0;;:::o;18286:424::-;15434:10;15426:19;;;;:7;:19;;;;;;;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;18394:42:::1;18407:16;:28;;;18394:12;:42::i;:::-;18479:134;::::0;;::::1;::::0;::::1;::::0;;18490:22;;18479:134;;18514:22;;18479:134:::1;::::0;;::::1;::::0;;;18538:21;;::::1;::::0;;18479:134:::1;::::0;;::::1;::::0;;;;;;18561:21;;18479:134;::::1;::::0;;;;;;18584:28;;::::1;::::0;18479:134;;;;;;-1:-1:-1;;;;;18624:27:0;::::1;18447:29;18624:27:::0;;;:12:::1;:27:::0;;;;;;;:41;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;::::1;-1:-1:-1::0;;18624:41:0;;;;;;;;;;;;::::1;::::0;;;;;;::::1;::::0;18681:21;;::::1;::::0;::::1;::::0;18479:134;;12602:4:1;12644:3;12633:9;12629:19;12621:27;;12681:6;12675:13;12664:9;12657:32;12745:4;12737:6;12733:17;12727:24;12720:4;12709:9;12705:20;12698:54;12822:4;12814:6;12810:17;12804:24;12801:1;12790:39;12783:4;12772:9;12768:20;12761:69;12900:4;12892:6;12888:17;12882:24;12879:1;12868:39;12861:4;12850:9;12846:20;12839:69;12964:4;12956:6;12952:17;12946:24;12939:4;12928:9;12924:20;12917:54;12456:521;;;;;18681:21:0::1;;;;;;;;18383:327;18286:424:::0;;:::o;18722:305::-;15434:10;15426:19;;;;:7;:19;;;;;;;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;18828:15:::1;:22:::0;18811:14:::1;18861:159;18882:9;18878:1;:13;18861:159;;;18913:17;18933:15;18949:1;18933:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;18933:18:0::1;::::0;-1:-1:-1;18966:42:0::1;18933:18:::0;18987:17;;19005:1;18987:20;;::::1;;;;;:::i;:::-;;;;;;18966:42;;;;;;;;;;:::i;:::-;-1:-1:-1::0;18893:3:0;::::1;::::0;::::1;:::i;:::-;;;;18861:159;;;;18800:227;18722:305:::0;;:::o;15672:126::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;15747:12:::1;:43:::0;;-1:-1:-1;;;;;;15747:43:0::1;-1:-1:-1::0;;;;;15747:43:0;;;::::1;::::0;;;::::1;::::0;;15672:126::o;15806:98::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15872:17:0::1;;::::0;;;:7:::1;:17;::::0;;;;:24;;-1:-1:-1;;15872:24:0::1;15892:4;15872:24;::::0;;15806:98::o;16284:350::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16405:27:0;::::1;16444:1;16405:27:::0;;;:19:::1;:27;::::0;;;;;:41;16401:226:::1;;-1:-1:-1::0;;;;;16463:27:0;;;::::1;;::::0;;;:19:::1;:27;::::0;;;;:38;16284:350::o;16401:226::-:1;-1:-1:-1::0;;;;;16534:27:0;::::1;;::::0;;;:19:::1;:27;::::0;;;;:38;;;16587:15:::1;:28:::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;-1:-1:-1;;;;;;16587:28:0::1;::::0;;::::1;::::0;;16284:350;;:::o;17911:363::-;15434:10;18129:4;15426:19;;;:7;:19;;;;;;18129:4;;15426:19;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;18151:28:::1;18161:17;;18151:9;:28::i;:::-;18197:69;18215:24;18241;18197:17;:69::i;:::-;18190:76;;;;17911:363:::0;;;;;;;:::o;19505:226::-;15434:10;15426:19;;;;:7;:19;;;;;;;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;19649:12:::1;::::0;:74:::1;::::0;-1:-1:-1;;;19649:74:0;;-1:-1:-1;;;;;19649:12:0;;::::1;::::0;:34:::1;::::0;:74:::1;::::0;19684:9;;;;19695:13;;;;19710:12;;19649:74:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;19505:226:::0;;;;;:::o;15538:126::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;15613:12:::1;:43:::0;;-1:-1:-1;;;;;;15613:43:0::1;-1:-1:-1::0;;;;;15613:43:0;;;::::1;::::0;;;::::1;::::0;;15538:126::o;14912:32::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14912:32:0;;-1:-1:-1;14912:32:0;:::o;475:76::-;418:3;;-1:-1:-1;;;;;418:3:0;404:10;:17;396:51;;;;-1:-1:-1;;;396:51:0;;;;;;;:::i;:::-;533:3:::1;:10:::0;;-1:-1:-1;;;;;;533:10:0::1;-1:-1:-1::0;;;;;533:10:0;;;::::1;::::0;;;::::1;::::0;;475:76::o;19739:182::-;15434:10;15426:19;;;;:7;:19;;;;;;;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;19853:12:::1;::::0;:60:::1;::::0;-1:-1:-1;;;19853:60:0;;-1:-1:-1;;;;;19853:12:0;;::::1;::::0;:39:::1;::::0;:60:::1;::::0;19893:5;;;;19900:12;;19853:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;16869:378:::0;15434:10;17087:7;15426:19;;;:7;:19;;;;;;17087:7;;15426:19;;15418:92;;;;-1:-1:-1;;;15418:92:0;;;;;;;:::i;:::-;17115:28:::1;17125:17;;17115:9;:28::i;:::-;17161:78;17178:29;17209;17161:16;:78::i;16642:219::-:0;16766:15;16748;;16733:12;:30;;;;:::i;:::-;:48;16711:142;;;;-1:-1:-1;;;16711:142:0;;15706:2:1;16711:142:0;;;15688:21:1;15745:2;15725:18;;;15718:30;15784:34;15764:18;;;15757:62;-1:-1:-1;;;15835:18:1;;;15828:42;15887:19;;16711:142:0;15504:408:1;16711:142:0;16642:219;:::o;20495:233::-;20596:7;;20662:13;20667:8;-1:-1:-1;;20662:13:0;:::i;:::-;20637:39;;;;14724:2;20637:39;:::i;:::-;20616:60;-1:-1:-1;20703:16:0;20616:60;20703:2;:16;:::i;:::-;20694:26;;:5;:26;:::i;:::-;20687:33;;;20495:233;;;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;274:31:1;;264:42;;254:70;;320:1;317;310:12;335:247;394:6;447:2;435:9;426:7;422:23;418:32;415:52;;;463:1;460;453:12;415:52;502:9;489:23;521:31;546:5;521:31;:::i;1169:388::-;1250:8;1260:6;1314:3;1307:4;1299:6;1295:17;1291:27;1281:55;;1332:1;1329;1322:12;1281:55;-1:-1:-1;1355:20:1;;1398:18;1387:30;;1384:50;;;1430:1;1427;1420:12;1384:50;1467:4;1459:6;1455:17;1443:29;;1530:3;1523:4;1515;1507:6;1503:17;1495:6;1491:30;1487:41;1484:50;1481:70;;;1547:1;1544;1537:12;1562:367;1625:8;1635:6;1689:3;1682:4;1674:6;1670:17;1666:27;1656:55;;1707:1;1704;1697:12;1656:55;-1:-1:-1;1730:20:1;;1773:18;1762:30;;1759:50;;;1805:1;1802;1795:12;1759:50;1842:4;1834:6;1830:17;1818:29;;1902:3;1895:4;1885:6;1882:1;1878:14;1870:6;1866:27;1862:38;1859:47;1856:67;;;1919:1;1916;1909:12;1934:1278;2137:6;2145;2153;2161;2169;2177;2185;2238:3;2226:9;2217:7;2213:23;2209:33;2206:53;;;2255:1;2252;2245:12;2206:53;2295:9;2282:23;2324:18;2365:2;2357:6;2354:14;2351:34;;;2381:1;2378;2371:12;2351:34;2420:88;2500:7;2491:6;2480:9;2476:22;2420:88;:::i;:::-;2527:8;;-1:-1:-1;2394:114:1;-1:-1:-1;2615:2:1;2600:18;;2587:32;;-1:-1:-1;2631:16:1;;;2628:36;;;2660:1;2657;2650:12;2628:36;2699:72;2763:7;2752:8;2741:9;2737:24;2699:72;:::i;:::-;2790:8;;-1:-1:-1;2673:98:1;-1:-1:-1;2878:2:1;2863:18;;2850:32;;-1:-1:-1;2894:16:1;;;2891:36;;;2923:1;2920;2913:12;2891:36;;2962:72;3026:7;3015:8;3004:9;3000:24;2962:72;:::i;:::-;3053:8;;-1:-1:-1;2936:98:1;-1:-1:-1;;3138:2:1;3123:18;;3110:32;3151:31;3110:32;3151:31;:::i;:::-;3201:5;3191:15;;;1934:1278;;;;;;;;;;:::o;3217:248::-;3285:6;3293;3346:2;3334:9;3325:7;3321:23;3317:32;3314:52;;;3362:1;3359;3352:12;3314:52;-1:-1:-1;;3385:23:1;;;3455:2;3440:18;;;3427:32;;-1:-1:-1;3217:248:1:o;3723:962::-;3890:6;3898;3906;3914;3922;3975:2;3963:9;3954:7;3950:23;3946:32;3943:52;;;3991:1;3988;3981:12;3943:52;4031:9;4018:23;4060:18;4101:2;4093:6;4090:14;4087:34;;;4117:1;4114;4107:12;4087:34;4156:88;4236:7;4227:6;4216:9;4212:22;4156:88;:::i;:::-;4263:8;;-1:-1:-1;4130:114:1;-1:-1:-1;4351:2:1;4336:18;;4323:32;;-1:-1:-1;4367:16:1;;;4364:36;;;4396:1;4393;4386:12;4364:36;;4435:72;4499:7;4488:8;4477:9;4473:24;4435:72;:::i;:::-;4526:8;;-1:-1:-1;4409:98:1;-1:-1:-1;;4611:2:1;4596:18;;4583:32;4624:31;4583:32;4624:31;:::i;:::-;4674:5;4664:15;;;3723:962;;;;;;;;:::o;5409:323::-;5485:6;5493;5546:2;5534:9;5525:7;5521:23;5517:32;5514:52;;;5562:1;5559;5552:12;5514:52;5598:9;5585:23;5575:33;;5658:2;5647:9;5643:18;5630:32;5671:31;5696:5;5671:31;:::i;:::-;5721:5;5711:15;;;5409:323;;;;;:::o;5737:740::-;5793:5;5841:4;5829:9;5824:3;5820:19;5816:30;5813:50;;;5859:1;5856;5849:12;5813:50;5892:2;5886:9;5934:4;5926:6;5922:17;6005:6;5993:10;5990:22;5969:18;5957:10;5954:34;5951:62;5948:185;;;6055:10;6050:3;6046:20;6043:1;6036:31;6090:4;6087:1;6080:15;6118:4;6115:1;6108:15;5948:185;6149:2;6142:22;6212:23;;6197:39;;6182:6;-1:-1:-1;6182:6:1;6288:2;6273:18;;6260:32;6334:1;6323:22;;;6311:35;;6301:63;;6360:1;6357;6350:12;6301:63;6392:2;6380:15;;6373:32;6466:2;6451:18;;;6438:32;6421:15;;6414:57;;;;5737:740;;-1:-1:-1;5737:740:1:o;6482:366::-;6576:6;6584;6637:3;6625:9;6616:7;6612:23;6608:33;6605:53;;;6654:1;6651;6644:12;6605:53;6693:9;6680:23;6712:31;6737:5;6712:31;:::i;:::-;6762:5;-1:-1:-1;6786:56:1;6834:7;6829:2;6814:18;;6786:56;:::i;:::-;6776:66;;6482:366;;;;;:::o;6853:483::-;6967:6;6975;7028:2;7016:9;7007:7;7003:23;6999:32;6996:52;;;7044:1;7041;7034:12;6996:52;7084:9;7071:23;7117:18;7109:6;7106:30;7103:50;;;7149:1;7146;7139:12;7103:50;7188:88;7268:7;7259:6;7248:9;7244:22;7188:88;:::i;:::-;7295:8;;7162:114;;-1:-1:-1;6853:483:1;-1:-1:-1;;;;6853:483:1:o;7341:315::-;7409:6;7417;7470:2;7458:9;7449:7;7445:23;7441:32;7438:52;;;7486:1;7483;7476:12;7438:52;7525:9;7512:23;7544:31;7569:5;7544:31;:::i;:::-;7594:5;7646:2;7631:18;;;;7618:32;;-1:-1:-1;;;7341:315:1:o;7661:619::-;7793:6;7801;7809;7817;7870:2;7858:9;7849:7;7845:23;7841:32;7838:52;;;7886:1;7883;7876:12;7838:52;7926:9;7913:23;7959:18;7951:6;7948:30;7945:50;;;7991:1;7988;7981:12;7945:50;8030:88;8110:7;8101:6;8090:9;8086:22;8030:88;:::i;:::-;8137:8;;8004:114;;-1:-1:-1;8219:2:1;8204:18;;8191:32;;8270:2;8255:18;8242:32;;-1:-1:-1;7661:619:1;-1:-1:-1;;;;7661:619:1:o;8467:916::-;8606:6;8614;8622;8630;8638;8691:2;8679:9;8670:7;8666:23;8662:32;8659:52;;;8707:1;8704;8697:12;8659:52;8747:9;8734:23;8776:18;8817:2;8809:6;8806:14;8803:34;;;8833:1;8830;8823:12;8803:34;8872:70;8934:7;8925:6;8914:9;8910:22;8872:70;:::i;9388:580::-;9491:6;9499;9507;9560:2;9548:9;9539:7;9535:23;9531:32;9528:52;;;9576:1;9573;9566:12;9528:52;9616:9;9603:23;9649:18;9641:6;9638:30;9635:50;;;9681:1;9678;9671:12;9635:50;9720:70;9782:7;9773:6;9762:9;9758:22;9720:70;:::i;:::-;9809:8;;-1:-1:-1;9694:96:1;-1:-1:-1;;9894:2:1;9879:18;;9866:32;9907:31;9866:32;9907:31;:::i;:::-;9957:5;9947:15;;;9388:580;;;;;:::o;10202:345::-;10404:2;10386:21;;;10443:2;10423:18;;;10416:30;-1:-1:-1;;;10477:2:1;10462:18;;10455:51;10538:2;10523:18;;10202:345::o;10552:424::-;10754:2;10736:21;;;10793:2;10773:18;;;10766:30;10832:34;10827:2;10812:18;;10805:62;10903:30;10898:2;10883:18;;10876:58;10966:3;10951:19;;10552:424::o;11276:184::-;11346:6;11399:2;11387:9;11378:7;11374:23;11370:32;11367:52;;;11415:1;11412;11405:12;11367:52;-1:-1:-1;11438:16:1;;11276:184;-1:-1:-1;11276:184:1:o;12982:127::-;13043:10;13038:3;13034:20;13031:1;13024:31;13074:4;13071:1;13064:15;13098:4;13095:1;13088:15;13114:230;13199:6;13252:2;13240:9;13231:7;13227:23;13223:32;13220:52;;;13268:1;13265;13258:12;13220:52;13291:47;13330:7;13319:9;13291:47;:::i;13349:127::-;13410:10;13405:3;13401:20;13398:1;13391:31;13441:4;13438:1;13431:15;13465:4;13462:1;13455:15;13481:135;13520:3;13541:17;;;13538:43;;13561:18;;:::i;:::-;-1:-1:-1;13608:1:1;13597:13;;13481:135::o;13621:311::-;13709:19;;;13691:3;-1:-1:-1;;;;;13740:31:1;;13737:51;;;13784:1;13781;13774:12;13737:51;13820:6;13817:1;13813:14;13872:8;13865:5;13858:4;13853:3;13849:14;13836:45;13901:18;;;;13921:4;13897:29;;13621:311;-1:-1:-1;;;13621:311:1:o;13937:1026::-;14269:2;14281:21;;;14254:18;;14337:22;;;14221:4;14417:6;14390:3;14375:19;;14221:4;14451:304;14465:6;14462:1;14459:13;14451:304;;;14540:6;14527:20;14560:31;14585:5;14560:31;:::i;:::-;-1:-1:-1;;;;;14616:31:1;14604:44;;14671:4;14730:15;;;;14695:12;;;;14644:1;14480:9;14451:304;;;14455:3;14802:9;14797:3;14793:19;14786:4;14775:9;14771:20;14764:49;14830:58;14884:3;14876:6;14868;14830:58;:::i;:::-;14822:66;;;;14953:1;14949;14944:3;14940:11;14936:19;14928:6;14924:32;14919:2;14908:9;14904:18;14897:60;13937:1026;;;;;;;;:::o;14968:401::-;15201:2;15190:9;15183:21;15164:4;15221:73;15290:2;15279:9;15275:18;15267:6;15259;15221:73;:::i;:::-;15213:81;;15359:1;15355;15350:3;15346:11;15342:19;15334:6;15330:32;15325:2;15314:9;15310:18;15303:60;14968:401;;;;;;:::o;15374:125::-;15439:9;;;15460:10;;;15457:36;;;15473:18;;:::i;15917:237::-;15955:7;16032:1;16029;16018:16;16014:1;16011;16000:16;15996:39;16069:11;16066:1;16055:26;16044:37;;16112:11;16103:7;16100:24;16090:58;;16128:18;;:::i;:::-;16090:58;15917:237;;;;:::o;16159:128::-;16226:9;;;16247:11;;;16244:37;;;16261:18;;:::i;16292:422::-;16381:1;16424:5;16381:1;16438:270;16459:7;16449:8;16446:21;16438:270;;;16518:4;16514:1;16510:6;16506:17;16500:4;16497:27;16494:53;;;16527:18;;:::i;:::-;16577:7;16567:8;16563:22;16560:55;;;16597:16;;;;16560:55;16676:22;;;;16636:15;;;;16438:270;;;16442:3;16292:422;;;;;:::o;16719:806::-;16768:5;16798:8;16788:80;;-1:-1:-1;16839:1:1;16853:5;;16788:80;16887:4;16877:76;;-1:-1:-1;16924:1:1;16938:5;;16877:76;16969:4;16987:1;16982:59;;;;17055:1;17050:130;;;;16962:218;;16982:59;17012:1;17003:10;;17026:5;;;17050:130;17087:3;17077:8;17074:17;17071:43;;;17094:18;;:::i;:::-;-1:-1:-1;;17150:1:1;17136:16;;17165:5;;16962:218;;17264:2;17254:8;17251:16;17245:3;17239:4;17236:13;17232:36;17226:2;17216:8;17213:16;17208:2;17202:4;17199:12;17195:35;17192:77;17189:159;;;-1:-1:-1;17301:19:1;;;17333:5;;17189:159;17380:34;17405:8;17399:4;17380:34;:::i;:::-;17450:6;17446:1;17442:6;17438:19;17429:7;17426:32;17423:58;;;17461:18;;:::i;:::-;17499:20;;16719:806;-1:-1:-1;;;16719:806:1:o;17530:131::-;17590:5;17619:36;17646:8;17640:4;17619:36;:::i;17666:168::-;17739:9;;;17770;;17787:15;;;17781:22;;17767:37;17757:71;;17808:18;;:::i

Swarm Source

ipfs://1334b27a6f3cac4ee77b0e2b6ccb81995fdba31dc5d375fd62bb887c0cf407d2

Block Transaction Gas Used Reward
view all blocks sequenced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.