Claim STRK
// Claim all the STRK accrued by holder in all markets
function claimStrike(address holder) public
// Claim all the STRK accrued by holder in specific markets
function claimStrike(address holder, SToken[] memory sTokens) public
// Claim all the STRK accrued by specific holders in specific markets for their supplies and/or borrows
function claimStrike(address[] memory holders, SToken[] memory sTokens, bool borrowers, bool suppliers) publicComptroller troll = Comptroller(0xABCD...);
troll.claimStrike(0x1234...);const comptroller = new web3.eth.Contract(comptrollerAbi, comptrollerAddress);
await comptroller.methods.claimStrike("0x1234...").send({ from: sender });Last updated
Was this helpful?