Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions KIPs/kip-290.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ interface IAddressBookV2 {
event NodeCreated(address indexed nodeId, uint256 gcId);
event NodeDeleted(address indexed nodeId);
event SystemTransitionProcessed(address[] nodeIds, State[] newStates);
event EpochTransitionProcessed(uint256 epochValCount);
event EpochTransitionProcessed(uint256 slotFactor);

// ── User Functions (called by node manager) ──

Expand Down Expand Up @@ -175,7 +175,8 @@ interface IAddressBookV2 {

/// @notice Batch state transitions computed by the core client
function processSystemTransition(
address[] calldata nodeIds, State[] calldata newStates, uint256[] calldata timeoutAts
address[] calldata nodeIds, State[] calldata newStates, uint256[] calldata timeoutAts,
uint256 epochSlotFactor
) external;

// ── Admin Functions (called by contract owner) ──
Expand All @@ -184,8 +185,9 @@ interface IAddressBookV2 {
function unsuspendValidator(address nodeId) external;
function updatePauseTimeout(uint256 newPauseTimeout) external;
function updateIdleTimeout(uint256 newIdleTimeout) external;
function updateMaxValidatorCount(uint256 newMaxValidatorCount) external;
function updateMaxReadyCandidateCount(uint256 newMaxReadyCandidateCount) external;
function updateMaxNodeCount(uint256 newMaxNodeCount) external;
function updateMaxValActivePausedCount(uint256 newMaxValActivePausedCount) external;
function updateMaxCandReadyCount(uint256 newMaxCandReadyCount) external;
function updatePfsThreshold(uint256 newPfsThreshold) external;
function updateCfsThreshold(uint256 newCfsThreshold) external;

Expand All @@ -199,11 +201,14 @@ interface IAddressBookV2 {
function getStateCount(State state) external view returns (uint256);
function getSlotFactor() external view returns (uint256);
function getSlotLimits() external view returns (uint256 maxSlot, uint256 minActive);
function getSlotLimitsFor(uint256 sf) external pure returns (uint256 maxSlot, uint256 minActive);
function getRegisteredNodes() external view returns (address[] memory);
function getSuspendedValidators() external view returns (address[] memory);
function epochBlockInterval() external view returns (uint256);
function currentEpoch() external view returns (uint256);
function getTimeouts() external view returns (uint256 pauseTimeout, uint256 idleTimeout);
function getMaxCounts() external view returns (uint256 maxValidatorCount, uint256 maxReadyCandidateCount);
function getMaxCounts() external view returns (uint256 maxNodeCount, uint256 maxCandReadyCount);
function getMaxValActivePausedCount() external view returns (uint256);
function getPfsThreshold() external view returns (uint256);
function getCfsThreshold() external view returns (uint256);
}
Expand Down
Loading