Yield+ is a Rewards system that incentivizes DeFi protocols to retain long-term TVL within their application.
- Apply to Yield+
- Claim Yield+ rewards
- Update rewards by TVL Oracle
# register protocol
$ cleos push action eosio.yield regprotocol '[protocol, [{"key": "url", "value": "https://myprotocol.com"}]]' -p protocol
# set additional protocol contracts
# > action can only be called during [status="pending"]
$ cleos push action eosio.yield setcontracts '[protocol, [a.protocol, b.protocol]]' -p protocol -p a.protocol -p b.protocol
# claim rewards
# > after 24 hours of being approved
# > claimable every 10 minutes interval
$ cleos push action eosio.yield claim '[protocol, receiver]' -p protocol
# approve protocol
$ cleos push action eosio.yield approve '[protocol]' -p eosio.yield@admin
# notifies => oracle.yield
# report protocol TVL to Yield+
$ cleos push action oracle.yield report '[protocol, "2021-04-12T12:20:00", <TVL USD>, <TVL EOS>]' -p oracle.yield