// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title IXBurn /// @notice Dividend share token (SushiBar model) interface IXBurn is IERC20 { event Entered(address indexed user, uint256 burnAmount, uint256 xBurnMinted); event Claimed(address indexed user, uint256 xBurnBurned, uint256 dividendOut); event DividendReceived(uint256 amount, uint256 newDividendPool); /// @notice Burn BURN to receive xBURN shares function enter(uint256 burnAmount) external; /// @notice Burn xBURN to redeem the corresponding dividend token (WETH/WBNB) function claim(uint256 xBurnAmount) external; /// @notice Called by the hook during a swap to inject the captured fee into the dividend pool function notifyDividend(uint256 amount) external; /// @notice The paired/dividend token address (WETH or WBNB) function dividendToken() external view returns (IERC20); /// @notice The total amount currently available in the dividend pool for distribution function dividendPool() external view returns (uint256); /// @notice The dividend amount corresponding to the user's current xBURN holdings function pendingDividend(address user) external view returns (uint256); /// @notice The amount of dividend token per xBURN share (wei, 18-digit precision) function dividendPerShare() external view returns (uint256); }