Jellyverse Docs
WebsiteApp
English
English
  • Overview
    • How to Connect to SEI
    • How to get SEI Devnet Funds
    • How to make your first Swap
  • Protocol Library
    • JellySwap
      • Liquidity Management
        • Swaps
      • Pools
        • Weighted Pools
        • Stable Pools
          • Composable Stable Pools
        • Setting up a Pool Configuration
      • Impermanent Loss
        • 50/50 Pools
        • 80/20 Pools
        • Multitoken Pools
      • Preminted JPT
      • Relayers
      • Smart Order Router (SOR)
    • JellyStake
      • Staking Chests
      • Voting power
    • jAssets by BLKSWN
      • Liquidation and the Stability Pool
      • Liquidation Logic
      • Recovery Mode
      • jUSD Redemption
      • Expected User Behaviors
      • Core Smart Contracts
      • PriceFeed and Oracle
      • Contract Ownership and Function Permissions
      • Keeping a sorted list of Vaults ordered by LACR
      • Supplying Hints to Vault operations
      • Gas compensation
      • The Stability Pool
      • Swap Pools
      • Protocol System Fees
      • Governance
      • Audits
  • Jellyverse Architecture
    • Governance
    • Rewards
    • Reward Distributor
    • Tokenomics
    • Whitepaper
    • Contract Addresses
  • Audit
  • Community
    • Socials
  • COMMUNITY PROTOCOLS
    • Introduction
Powered by GitBook
On this page
  1. Protocol Library
  2. jAssets by BLKSWN

Governance

The protocol includes several critical management functions essential for integrating future collateral and jAsset tokens. These functions leverage the foundational Ownable concept, which transfers ownership to the governance contract upon deployment.

Contract
Function

TokenManager

setEnableMinting(bool _enable)

addDebtToken(address _debtTokenAddress, bytes32 _oracleId)

addCollToken(address _tokenAddress, uint _supportedCollateralRatio, bytes32 _oracleId, bool _isGovToken)

setCollTokenSupportedCollateralRatio(address _collTokenAddress, uint _supportedCollateralRatio)

setStockExchange(address _debtTokenAddress, address _exchangeForStock, int _exchangeRate)

setNextStockSplitRelative(address _debtTokenAddress, int32 _relativeSplit)

setSymbolAndName(address _debtTokenAddress, string memory _symbol, string memory _name)

ReservePool

setRelativeStableCap(uint _relativeStableCap)

setGovReserveCap(uint _govReserveCap)

TroveManager

setEnableLiquidationAndRedeeming(bool _enable)

SwapOperations

createPair(address _plainSwapPair, address tokenA, address tokenB)

Additionally, the PriceFeed incorporates a fallback price storage mechanism to handle situations where the Pyth network becomes unavailable. These fallback prices can be updated using the PriceFeed.setFallbackPrices() function.

Last updated 10 months ago