updateInterest
nat -> op(InterestRate.getBorrowRate) -> op(yToken.accrueInterest)
Types
type tokenId of nat // yToken tokenId related to marketUsage
const tokenId = 0; // or new BigNumber(0) or "0"
const yupana = await tezos.contract.at(yTokenAddress);
const operation = await yupana.methods.updateInterest(tokenId).send();
await operation.confirmation();token_id = 0
yupana = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = yupana.updateInterest(token_id)
opg = call.inject()Errors
Last updated