TempusControlleris the main entry point to the Tempus Protocol. It is used to trigger all user actions in the protocol, such as deposit and redeem. It is also used to simplify the interface for users, especially those that want to carry out atomic transactions. It is an
Ownablecontract where the owner can whitelist and blacklist the pools that can be used with the particular TempusController.
targetPool:The Tempus Pool to which tokens will be deposited
yieldTokenAmount:amount of Yield Bearing Tokens to be deposited in yield-bearing token precision
recipient:The address which will receive Tempus Capital Tokens and Tempus Yield Tokens
msg.senderneeds to approve the controller for spending a particular yield-bearing token before calling this method.