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.

oracle

function oracle() external view returns (address);

Returns the address of the Oracle contract.

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.

Last updated