github.com/cryptotooltop/go-ethereum@v0.0.0-20231103184714-151d1922f3e5/rollup/rcfg/config.go (about) 1 package rcfg 2 3 import ( 4 "math/big" 5 6 "github.com/scroll-tech/go-ethereum/common" 7 ) 8 9 // TODO: 10 // verify in consensus layer when decentralizing sequencer 11 12 var ( 13 // L2MessageQueueAddress is the address of the L2MessageQueue 14 // predeploy 15 // see contracts/src/L2/predeploys/L2MessageQueue.sol 16 L2MessageQueueAddress = common.HexToAddress("0x5300000000000000000000000000000000000000") 17 WithdrawTrieRootSlot = common.BigToHash(big.NewInt(0)) 18 19 // ScrollFeeVaultAddress is the address of the L2TxFeeVault 20 // predeploy 21 // see scroll-tech/scroll/contracts/src/L2/predeploys/L2TxFeeVault.sol 22 ScrollFeeVaultAddress = common.HexToAddress("0x5300000000000000000000000000000000000005") 23 24 // L1GasPriceOracleAddress is the address of the L1GasPriceOracle 25 // predeploy 26 // see scroll-tech/scroll/contracts/src/L2/predeploys/L1GasPriceOracle.sol 27 L1GasPriceOracleAddress = common.HexToAddress("0x5300000000000000000000000000000000000002") 28 Precision = new(big.Int).SetUint64(1e9) 29 L1BaseFeeSlot = common.BigToHash(big.NewInt(1)) 30 OverheadSlot = common.BigToHash(big.NewInt(2)) 31 ScalarSlot = common.BigToHash(big.NewInt(3)) 32 )