synapsecns/sanguine

View on GitHub
packages/contracts-core/contracts/events/GasOracleEvents.sol

Summary

Maintainability
Test Coverage
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

/// @notice A collection of events emitted by the GasOracle contract
abstract contract GasOracleEvents {
    /**
     * @notice Emitted when gas data is updated for the domain
     * @param domain        Domain of chain the gas data is for
     * @param paddedGasData Padded encoded gas data
     */
    event GasDataUpdated(uint32 domain, uint256 paddedGasData);

    /**
     * @notice Emitted when the value of the summit tip is updated
     * @param summitTipWei  The new value of the summit tip in Mainnet wei
     */
    event SummitTipUpdated(uint256 summitTipWei);
}