Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ArbGasInfoAddress is the address of the "Precompiled contract that exists in every Arbitrum chain." // https://github.com/OffchainLabs/nitro/blob/f7645453cfc77bf3e3644ea1ac031eff629df325/contracts/src/precompiles/ArbGasInfo.sol ArbGasInfoAddress = "0x000000000000000000000000000000000000006C" // ArbGasInfo_getL1BaseFeeEstimate is the a hex encoded call to: // `function getL1BaseFeeEstimate() external view returns (uint256);` ArbGasInfo_getL1BaseFeeEstimate = "f5d6ded7" // GasOracleAddress is the address of the precompiled contract that exists on OP stack chain. // This is the case for Optimism and Base. OPGasOracleAddress = "0x420000000000000000000000000000000000000F" // GasOracle_l1BaseFee is the a hex encoded call to: // `function l1BaseFee() external view returns (uint256);` OPGasOracle_l1BaseFee = "519b4bd3" // GasOracleAddress is the address of the precompiled contract that exists on Kroma chain. // This is the case for Kroma. KromaGasOracleAddress = "0x4200000000000000000000000000000000000005" // GasOracle_l1BaseFee is the a hex encoded call to: // `function l1BaseFee() external view returns (uint256);` KromaGasOracle_l1BaseFee = "519b4bd3" // Interval at which to poll for L1BaseFee. A good starting point is the L1 block time. PollPeriod = 12 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func IsRollupWithL1Support ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.