Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pooltogether/yield-source-interface

Open more actions menu

Repository files navigation

PoolTogether Yield Source Specification

PoolTogether would like to integrate any protocol that serves as a yield source. The PoolTogether 3.3.0 contracts introduce a Yield Source Prize Pool, that is bound to a contract that implements the Yield Source Interface. This is a generic interface that allows a Yield Source Prize Pool to use an external contract for yield. As long as a contract supports the Yield Source Interface, it can be plugged into the Yield Source Prize Pool. This makes it easy to add new yield sources.

Yield Source Interface

The Yield Source Interface is defined in the IYieldSource.sol file.

Keep in mind:

  • All deposits are denominated in the depositToken() ERC20.
  • The balanceOfToken(address) function is similar to the Aave aToken, in that the balance must always increase.

Implementations

Note: these implementations may or may not have been audited. They should be considered experimental until proven otherwise.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.