Skip to main content
Version: v1.11

MERKLE_DISTRIBUTOR_RUNTIME

const MERKLE_DISTRIBUTOR_RUNTIME: object

Defined in: constants.ts:312

Reference runtime code of MerkleDistributorWithDeadline from ObolNetwork/merkle-distributor (solc 0.8.17, via-IR, 200 runs, london).

Each incentives round is a separate deployment whose runtime code embeds its own token, merkleRoot and endTime immutables, and the CBOR metadata trailer depends on build paths. codeHash is the keccak256 of the runtime code with the immutableOffsets (32 bytes each) and the metadata trailer (all but its 2-byte length suffix) zeroed.

Type Declaration​

NameTypeDefault valueDefined in
codeLength24372437constants.ts:313
metadataLength5151constants.ts:314
immutableOffsetsreadonly [155, 656, 715, 893, 952, 1103, 1386, 1496]-constants.ts:315
codeHash"0x24b74a2b834aa0d14e312af3a4d4be7e62ceb7fc67c822bc3612cff4329d04c8"'0x24b74a2b834aa0d14e312af3a4d4be7e62ceb7fc67c822bc3612cff4329d04c8'constants.ts:316