Skip to main content

Interface: BoolSettingLike

A typed view of a 0x2::config::Setting<bool> held in a dynamic field of a [Config] object — the shape used by the deny list for its per-address and global-pause entries.

A setting carries the value for the epoch it was last written in plus the value that preceded it, so a reader can tell which one applies to the epoch it cares about.

Methods

newerValue()

newerValue(): boolean | undefined;

The value written in newer_value_epoch.

Returns

boolean | undefined


newerValueEpoch()

newerValueEpoch(): bigint | undefined;

The epoch newer_value was written in, if the setting holds data.

Returns

bigint | undefined


olderValue()

olderValue(): boolean | undefined;

The value that applied before newer_value_epoch.

Returns

boolean | undefined