🌅
Sunrise / Gluon Docs
  • Home
    • 👋Sunrise
  • 📜Learn
    • 🌆Sunrise
      • Proof of Liquidity
      • Fee Abstraction
      • Data Availability
      • Gauges Voting
      • Liquidity Pool
      • Liquidity Incentive
      • Swap
      • TokenConverter
      • Fee
      • Lockup Account
      • Bribes
    • 💴$RISE
      • Allocations
    • 🏦Gluon
    • 💴$GLU
    • 🎓Thesis
      • App chain thesis
      • Interoperability
  • 🛠️Build
    • 🚀Quick Start
    • Client
    • L2 Blockchains
      • Rollkit
        • Sunrise Data
        • Rollkit L2 Chain
      • OP Stack
        • Sunrise Data
        • OP Stack L2 Chain
    • Validators
      • Proof of Data Availability
      • Self Delegation
  • 🏗️Run a Sunrise Node
    • Networks
    • Types of Nodes
      • Consensus
        • Full Consensus Node
        • Validator Node (Genesis)
        • Validator Node
        • Setup Cosmovisor
      • IBC Relayers
    • Resources
      • Upgrade
      • Environment
  • 🏗️Run a Gluon Node
    • Networks
    • Node
      • Validator Node
  • 🔗Links
    • GitHub
    • Discord
    • X (Twitter)
    • Medium
    • dev.to
  • 📓Deprecated (UnUniFi)
    • IBC Channels
    • Security
    • CosmWasm
      • Tutorial
      • Create Project
    • IYA Strategy
      • Interface
      • External CosmWasm chain with IBCHooks
      • External EVM chain with Axelar
    • Frontend
      • Cosmos Client TS
    • Resources
    • Setup ununifid
    • ununifid
      • Basic Commands
      • Module Commands
        • wasm
    • Build a Node
    • Build a Validator Node
    • Setup Cosmovisor
    • Mainnet Upgrades
    • IBC Relayer
Powered by GitBook
On this page
  • Basic idea
  • Interchain Strategy
  • Combination with contract on external CosmWasm chain
  • Combination with contract on external EVM chain
  • Only with CosmWasm Strategy contract on UnUniFi
  • Proposal to register strategy
  1. Deprecated (UnUniFi)

IYA Strategy

PreviousCreate ProjectNextInterface

Last updated 8 months ago

This feature is available on the mainnet!

Basic idea

The yieldaggregator module on UnUniFi can call a functionality of the smart contracts that are registered as a Strategy. When users deposit their funds into the Vault on yieldaggregator module, the module will automatically allocate the funds to strategies that are contained in the Vault. Strategy contracts satisfies the specific interface described .

Example source codes are .

Interchain Strategy

Strategies that can completely run only on UnUniFi chain without interoperability, can be developed easily by the way described .

However, developing interchain strategy only with CosmWasm smart contract on UnUniFi is not impossible but difficult. It is because Strategy contracts need to manage Interchain Account and Interchain Query, or something like that on EVM chains.

To mitigate the difficulty, you can combine some ways to develop strategy contracts.

  • Developing contract on external CosmWasm chain with IBC Hooks

  • Developing contract on external EVM chain with Axelar

Combination with contract on external CosmWasm chain

This way can be used for CosmWasm chains that is not requiring governance gate for deploying CosmWasm contracts, and supporting IBC Hooks module. For example, Neutron.

Development of IYA Strategy requires the knowledge of .

Details are described in .

Combination with contract on external EVM chain

This way can be used for EVM chains. For example, Ethereum, Arbitrum, Avalanche c-chain, and Polygon.

Only with CosmWasm Strategy contract on UnUniFi

This way will be used for the strategy contracts that can't choose other ways. For example, Osmosis chain needs governance gate for deploying CosmWasm contracts. To avoid it, Osmosis LP farming strategy contract is developed with this way.

For example, Sei chain doesn't support IBC Hooks. So, for example, Astroport LP farming strategy contract will be developed with this way.

Osmosis LP farming Strategy

Proposal to register strategy

Under construction.

If it is urgent, please contact us directly.

Details are described in .

Source codes are .

📓
here
here
here
CosmWasm
here
here
here