Alluo Explained
  • Welcome
    • 🧭 The Basics
  • Getting Started
    • πŸ’» The DeFi Web App
      • ❓ Connecting to the app
      • 🚜 Depositing into the farms
      • πŸ™Œ Other basics
      • 🏦 Importing your Mobile app wallet to Metamask
      • 🧬 Add the polygon network manually in Metamask.
      • ⛓️ Bridging Stablecoins from another chain
    • πŸ“±The Mobile app
      • πŸ—οΈ Setting up your account
      • 🏦 Depositing money into the app
      • πŸ™Œ Other basics
      • πŸ” Exporting your private key
    • πŸ“–Tech deep dive: Contract Address Library
  • Understanding Alluo
    • πŸ’΅ How does Alluo get the yield?
      • 🐰 Going deeper into the Alluo protocol rabbit hole
    • 🧐 FAQ
  • Tokens & Tokenomics
    • πŸͺ™ The tokens
    • πŸ‘¨β€πŸ”¬Tech deep dive: Interest Bearing {asset} token
      • Depositing
      • Withdrawals
      • IbAlluo on different chains
      • StIbAlluo and Superfluid
        • A closer look at the integration between IbAlluo and StIbAlluo
      • Using the IbAlluo contract directly to create streams
      • Liquidity Handler and adapters
        • Deposit process with the Liquidity Handler
        • Withdraw process with the Liquidity Handler
    • πŸ“ˆ Tokenomics
    • πŸ‘¨β€πŸ”¬Tech deep dive: Boosting yield by compounding rewards
      • Deposit into the Vault
      • Withdraw from the Vault
      • Redeem rewards
      • Automatic boosting with Alluo
      • FraxConvex Vaults
      • Managing withdrawal requests in IERC4626
  • Decentralisation and Trust
    • πŸ—³οΈ Trustless governance and execution
    • πŸ‘¨β€πŸ”¬Tech deep dive: Vote Executor Architecture
      • Off chain votes to on chain data
      • Onchain data verifcation
      • Automated execution of votes
        • Tokenomics
        • Liquidity Direction
        • Setting APYs on farms
      • Cross chain execution of votes
      • Manually submitting vote results onchain
    • ↔️Alluo Exchange
      • Interacting with the Exchange
    • vlAlluo Architecture
    • Contracts upgrades
    • Investment strategies
      • πŸ“ˆFrax Convex Finance
        • Adding new pools into the strategy
        • Investing into a pool
  • More Advanced Features
    • πŸ” Repeat payments, streaming IbAlluo
  • Product Updates
    • πŸ‘Œ Product Roadmap: Building the right products
    • πŸ’» Web App releases
    • πŸ“± Mobile App releases
    • 🏎️ Alluo Boost
  • tutorial projects
    • Example: USDC to streaming 1 IbAlluo per second
    • Example: Using IbAlluoUSD and Ricochet to do capital efficient DCA into ETH
Powered by GitBook
On this page
  1. Tokens & Tokenomics
  2. Tech deep dive: Interest Bearing {asset} token

StIbAlluo and Superfluid

PreviousIbAlluo on different chainsNextA closer look at the integration between IbAlluo and StIbAlluo

Last updated 2 years ago

This guide makes extensive reference to the Superfluid Protocol: It is highly recommended that you are familiar with the architecture and design of Superfluid contracts.

The StIbAlluo (Streaming Interest Bearing Alluo) is a wrapper contract for the IbAlluo to allow integration with Superfluid features such as Constant Flow Agreements and Instant Distribution Agreements.

The token fully implements all of Superfluid’s interfaces for Super tokens, Superfluid tokens and custom Superfluid tokens.

While it is fully possible to interact with the StIbAlluo contract and carry out all the logic of upgrading and downgrading tokens as well as any other superfluid implementation you would expect from a super token., it adds an extra layer of complexity.

Therefore, we have added custom functionality so that most developers will only need to interact with the main IbAlluo contracts. All the unwrapping is handled directly in the IbAlluo contract.

IbAlluo vs StIbAlluo? What should I use?

Feature
IbAlluo
StIbAlluo

Type

Main token contract

Wrapper contract

Streamable?

No

Yes

Interfaces

AlluoERC20Upgradable

AlluoSuperfluidToken, IAlluoSuperToken

Most developers can interact directly with the IbAlluo contract but for finer control with Superfluid integration, you may find using the StIbAlluo directly to be easier.

πŸ‘¨β€πŸ”¬
https://docs.superfluid.finance/superfluid/
liquidity-direction-protocol/StIbAlluo.sol at StIbAlluo Β· GetAlluo/liquidity-direction-protocolGitHub
To read the latest StIbAlluo code
liquidity-direction-protocol/IbAlluo.sol at StIbAlluo Β· GetAlluo/liquidity-direction-protocolGitHub
To read the latest IbAlluo code
Logo
Logo