Reward module info interface


this contract defines the common interface that any reward module info must implement to be compatible with the modular Pool architecture.

tokens(address module) → address[], string[], string[], uint8[] (external)

get all token metadata


  • module: address of reward module

rewards(address module, bytes32 account, uint256 shares, bytes data) → uint256[] (external)

generic function to get pending reward balances


  • module: address of reward module

  • account: bytes32 account of interest for preview

  • shares: number of shares that would be used

  • data: additional encoded data


  • estimated reward balances