IERC7787

Git Source

Functions

stablePeriod

Returns the grace period duration before the voting units begins decaying. This period is fixed to 90 days. But it can be overridden in derived contracts.

function stablePeriod() external view returns (uint256);

Returns

NameTypeDescription
<none>uint256The duration of the grace period in seconds.

decayPeriod

Returns the duration of the decay period during which the voting units decreases. This period is fixed to 90 days. But it can be overridden in derived contracts.

function decayPeriod() external view returns (uint256);

Returns

NameTypeDescription
<none>uint256The duration of the decay period in seconds.

accountStats

Returns the raw last participation timestamp of an account without any decay adjustments.

function accountStats(address account) external view returns (uint32);

Errors

TokenSoulbound

Error thrown when attempting to transfer a soulbound token

error TokenSoulbound();