Supply
Qore
function supply(address qToken, uint underlyingAmount) external payable returns (uint);Solidity
// BNB
Qore qore = Qore(<qoreAddress>);
uint qBNBAmount = qore.supply{ value: <underlyingAmount> }(<qBNBAddress>, <underlyingAmount>);
// Others
Qore qore = Qore(<qoreAddress>);
uint qTokenAmount = qore.supply(<qTokenAddress>, <underlyingAmount>);Ethers.js
Last updated
Was this helpful?