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

IRewardVaultTokenProbe

Git Source

Minimal probe interface for reading the active reward token from a Berachain RewardVault. Neither the legacy nor vnext upstream interface declares this view, but both concrete contracts expose it (legacy ABI IERC20 public rewardToken; vnext function rewardToken() returns (IERC20)). Used to discriminate the BGT-paying vs WBERA-paying path in the unified harvest view.

Functions

rewardToken

function rewardToken() external view returns (address);