LogoLogo
  • ❄️Introducing Flurry Finance
  • πŸͺ™Yield Farming
    • The rhoToken
      • πŸ’²Supported Stablecoins
      • πŸ€Έβ€β™‚οΈElastic Supply & Rebasing
    • Yield Generation Mechanism
      • βš™οΈLending Protocols
      • 🏦Interest APR
      • 🎁Bonus Rewards & APR
    • How to get rhoTokens?
    • Supporting Strategies
  • πŸ‘οΈβ€πŸ—¨οΈGovernance
    • FLURRY Governance Token
      • πŸ“ŠFLURRY Token Metrics
      • πŸ”„Trading FLURRY token
    • Governance Approach
    • Admin Privileges
    • Fund Management
    • API
  • πŸ‚User Guide
    • πŸ’°Earn
    • β˜ƒοΈSnowball
    • πŸ§‘β€πŸŒΎFarms
    • πŸŒ‰Bridge
    • ⏩Troubleshoot
  • πŸ”Security
    • Risks
    • Audits
  • πŸ“³Smart Contract Address
    • πŸ”·Ethereum
    • 🟨BNB Chain (BSC)
    • 🟣Polygon (MATIC)
    • πŸ”ΊAvalanche (AVAX)
  • ⁉️FAQ
    • Frequently Asked Questions
  • Links
  • ❄️Flurry Finance
  • πŸ’»Flurry DApp
  • πŸ—£οΈAnnouncement
  • πŸ“³Telegram
  • 🐱Github
  • πŸ€–Reddit
  • 🎭Discord
Powered by GitBook
On this page

Was this helpful?

  1. Governance

API

Opting In to receive interest on smart contract addresses

Use setRebasingOption() on the IRhoToken interface to selectively Opt-In/Opt-Out or isRebasingAccount() to check if a particular account address rebases or not.

/**
 * @notice Interface for yield farming strategies to integrate with various DeFi Protocols like Compound, Aave, dYdX.. etc
 */
interface IRhoToken is IERC20MetadataUpgradeable {
    ...

    /**
     * @notice switches the account type of `msg.sender` between rebasing and non-rebasing
     * @param isRebasing true if setting to rebasing, false if setting to non-rebasing
     * NOTE: this function does nothing if caller is already in the same option
     */
    function setRebasingOption(bool isRebasing) external;

    /**
     * @param account address of account to check
     * @return true if `account` is a rebasing account
     */
    function isRebasingAccount(address account) external view returns (bool);
    
    ...
}
PreviousFund ManagementNextUser Guide

Last updated 3 years ago

Was this helpful?

πŸ‘οΈβ€πŸ—¨οΈ