Skip to main content

ConfigTimelockKeyLib

Git Source

Title: ConfigTimelockKeyLib

Derives destination-scoped configuration keys used by ConfigTimelockBatchQueue.

Functions​

scope​

Returns the destination-scoped key for a local configuration key.

function scope(address destination_, bytes32 localKey_) internal pure returns (bytes32 key);

Parameters

NameTypeDescription
destination_addressThe configuration destination.
localKey_bytes32The key within that destination.

Returns

NameTypeDescription
keybytes32The hash of the destination and local key.