diff --git a/sims/arbcore-omnibus-aug-2025.sim.ts b/sims/arbcore-omnibus-aug-2025.sim.ts new file mode 100644 index 00000000000..0c6e07fb895 --- /dev/null +++ b/sims/arbcore-omnibus-aug-2025.sim.ts @@ -0,0 +1,41 @@ +/** + * @notice Simulation configuration file for AIP 7 + */ +import { ethers } from 'ethers' +import { SimulationConfigNew } from '../types' + +const ARBSYS = '0x0000000000000000000000000000000000000064' + + +// from https://github.com/ArbitrumFoundation/governance/blob/47582832ceb69ae02e666ee645f092ff6318c314/scripts/proposals/OmnibusAug25/data.json +const aip4 = { + arbSysSendTxToL1Args: { + l1Timelock: '0xE6841D92B0C345144506576eC13ECf5103aC7f49', + calldata: + '0x8f2a0bb000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000000c5ff9861695a76cf2a5e13e763525e6354e6ad949c4704d32dc4950bb63b6938000000000000000000000000000000000000000000000000000000000003f48000000000000000000000000000000000000000000000000000000000000000050000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd000000000000000000000000a723c008e76e379c55599d2e4d93879beafda79c000000000000000000000000a723c008e76e379c55599d2e4d93879beafda79c0000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd000000000000000000000000a723c008e76e379c55599d2e4d93879beafda79c00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000000e41cff79cd000000000000000000000000e03e930d661a729595ecc77f9e692a32beed426000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064e17f52e90000000000000000000000005613af0474eb9c528a34701a5b1662e3c8fa06780000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd0000000000000000000000003d745b8815f9be5bf053858165f8ab1f58c77932000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000004dbd4fc535ac27206064b68ffcf827b0a60bab3f000000000000000000000000cf57572261c7c2bcf21ffd220ea7d1a27d40a82700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e41cff79cd000000000000000000000000e03e930d661a729595ecc77f9e692a32beed426000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064e17f52e9000000000000000000000000db216562328215e010f819b5abe947bad4ca961e000000000000000000000000cf57572261c7c2bcf21ffd220ea7d1a27d40a8270000000000000000000000003d745b8815f9be5bf053858165f8ab1f58c77932000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000c4448b71118c9071bcb9734a0eac55d18a15394900000000000000000000000086a02dd71363c440b21f4c0e5b2ad01ffe1a748200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e41cff79cd000000000000000000000000e03e930d661a729595ecc77f9e692a32beed426000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064e17f52e9000000000000000000000000f58ea15b20983116c21b05c876cc8e6cdae5c2b900000000000000000000000086a02dd71363c440b21f4c0e5b2ad01ffe1a74820000000000000000000000003d745b8815f9be5bf053858165f8ab1f58c77932000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001441cff79cd0000000000000000000000008d3425f7039645223517f6f6e60ef04c28f4188f000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c4a49870870000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000c4448b71118c9071bcb9734a0eac55d18a15394900000000000000000000000086a02dd71363c440b21f4c0e5b2ad01ffe1a748200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000a4bca8c7b500000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002456191cc300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', + }, +} +const iface = new ethers.utils.Interface(['function sendTxToL1(address,bytes)']) +const calldata = iface.encodeFunctionData('sendTxToL1', [ + aip4.arbSysSendTxToL1Args.l1Timelock, + aip4.arbSysSendTxToL1Args.calldata, +]) + +const call1 = { + target: ARBSYS, + calldata: calldata, + value: 0, + signature: '', +} + +export const config: SimulationConfigNew = { + type: 'new', + daoName: 'ArbCore', + governorType: 'arb', + governorAddress: '0xf07ded9dc292157749b6fd268e37df6ea38395b9', + targets: [call1.target], // Array of targets to call. + values: [call1.value], // Array of values with each call. + signatures: [call1.signature], // Array of function signatures. Leave empty if generating calldata with ethers like we do here. + calldatas: [call1.calldata], // Array of encoded calldatas. + description: 'Omnibus Aug 2025 Sim', +}