LogoLogo
  • Bloom V2
  • Bloom Basics
    • Why Bloom?
    • How Bloom V2 Works
    • Participants
      • Lenders
      • Borrowers
      • Market Makers
    • Fee Structure
  • Tokenized RWA
    • Backed Finance's bIb01
    • TBYs
  • Technical Docs
    • Smart Contracts
      • BloomPool
        • Orderbook
        • PoolStorage
      • TBY
      • BloomErrors
    • API
    • Audits
  • Legal
    • Risk
    • Terms of Service
    • Privacy Policy
    • FAQs
Powered by GitBook
On this page
  • Overview
  • Contract API
  • tby
  • asset
  • assetDecimals
  • rwa
  • rwaDecimals
  • isKYCedBorrower
  • isKYCedMarketMaker
  1. Technical Docs
  2. Smart Contracts
  3. BloomPool

PoolStorage

Overview

PoolStorage contains the global state variables that are accessed throughout all components of the BloomPool.

Contract API

tby

function tby() external view returns (address);

Returns the address of the TBY token.

asset

function asset() external view returns (address);

Returns the address of the underlying asset of the pool.

assetDecimals

function assetDecimals() external view returns (uint8);

Returns the number of decimals for the underlying asset of the pool.

rwa

function rwa() external view returns (address);

Returns the address of the RWA token of the pool.

rwaDecimals

function rwaDecimals() external view returns (uint8);

Returns the number of decimals for the RWA token of the pool.

isKYCedBorrower

function isKYCedBorrower(address account) external view returns (bool);

Returns true if the account is a valid borrower and false if it is not.

isKYCedMarketMaker

function isKYCedMarketMaker(address account) external view returns (bool);

Returns true if the account is a valid market maker and false if it is not.

PreviousOrderbookNextTBY

Last updated 7 months ago