Developers
Search…
Developers
Introduction
QTokens
Transfer
Total Supply
Underlying Balance
Exchange Rate
Get Cash
Total Borrow
Borrow Balance
Borrow Rate
Supply Rate
Total Reserve
Reserve Factor
Key Events
Qore
Market List
Enter Markets
Exit Markets
Get Markets In
Supply
Redeem with QToken
Redeem with Underlying
Borrow
Repay Borrow
Repay Borrow Behalf
Liquidate Borrow
Get Account Liquidity
Market Information
Close Factor
Liquidation Incentive
Qubit Distribution Speeds
Pending Qubit (or Accrued Qubit)
Claim Qubit
Key Events
Qubit Locker
qScore
Total qScore
Deposit
Locked Balance
Locked Period
Extend Lock Period
Unlocked Balance
Withdraw
Powered By
GitBook
Market List
Get all markets listed in Qubit Protocol.
Qore
1
function
allMarkets
()
external view
returns
(
address
[]
memory
);
Copied!
RETURN: The addresses of all markets.
Solidity
1
Qore qore
=
Qore
(
<
qoreAddress
>
);
2
address
[]
memory markets
=
qore
.
allMarkets
();
Copied!
Ethers.js
1
const
qore
=
await
ethers
.
getContractAt
(
<
qoreABI
>
,
<
qoreAddress
>
);
2
const
markets
=
await
qore
.
allMarkets
();
Copied!
QTokens - Previous
Key Events
Next - Qore
Enter Markets
Last modified
8mo ago
Copy link
Contents
Qore
Solidity
Ethers.js