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
Pending Qubit (or Accrued Qubit)
Every Qubit user accrues QBT for each second they are supplying to or borrowing from the protocol. Users may call the Qore's
accruedQubit
method at any time to get amount of accrued QBT.
Qore
1
// Get accrued QBT by holder in all markets
2
function
accruedQubit
(
address account
)
external view
returns
(
uint
);
3
4
// Get accrued QBT by holder in specific market
5
function
accruedQubit
(
address market
,
address account
)
external view
returns
(
uint
);
Copied!
Solidity
1
Qore qore
=
Qore
(
<
qoreAddress
>
);
2
uint accruedQubit
=
qore
.
accruedQubit
(
<
account
>
);
Copied!
Ethers.js
1
const
qore
=
await
ethers
.
getContractAt
(
<
qoreABI
>
,
<
qoreAddress
>
);
2
const
accruedQubit
=
await
qore
.
accruedQubit
(
<
account
>
);
Copied!
Qore - Previous
Qubit Distribution Speeds
Next - Qore
Claim Qubit
Last modified
8mo ago
Copy link
Contents
Qore
Solidity
Ethers.js