Claim Qubit

Every Qubit user accrues QBT for each second they are supplying to or borrowing from the protocol. Users may call the Qore's claimQubit method at any time to transfer QBT accrued to their address.

Qore

// Claim all the QBT accrued by holder in all markets
function claimQubit() external;

// Claim all the QBT accrued by holder in specific market
function claimQubit(address market) external;

Solidity

Qore qore = Qore(<qoreAddress>);
qore.claimQubit();

Ethers.js

const qore = await ethers.getContractAt(<qoreABI>, <qoreAddress>);
await qore.claimQubit();

Last updated