Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IBeraChefVaultCheck

Git Source

Minimal BeraChef interface for vault whitelist and allocation checking

Used by CuttingBoardManager, CuttingBoardSyndicate and CuttingBoardDutchAuction

Functions

isWhitelistedVault

function isWhitelistedVault(address vault) external view returns (bool);

rewardAllocationBlockDelay

function rewardAllocationBlockDelay() external view returns (uint64);

maxNumWeightsPerRewardAllocation

function maxNumWeightsPerRewardAllocation() external view returns (uint8);

maxWeightPerVault

function maxWeightPerVault() external view returns (uint96);

getQueuedRewardAllocation

function getQueuedRewardAllocation(bytes calldata valPubkey)
    external
    view
    returns (IBeraChef.RewardAllocation memory);

getActiveRewardAllocation

function getActiveRewardAllocation(bytes calldata valPubkey)
    external
    view
    returns (IBeraChef.RewardAllocation memory);

getSetActiveRewardAllocation

function getSetActiveRewardAllocation(bytes calldata valPubkey)
    external
    view
    returns (IBeraChef.RewardAllocation memory);

rewardAllocationInactivityBlockSpan

function rewardAllocationInactivityBlockSpan()
    external
    view
    returns (uint256);