setBorrowPause
params of borrowPauseParams -> storage with [ tokens[tokenId] with [ borrowPause ] ]
(Un)Pauses borrowing token from the market.
Types
Usage
Errors
yToken/not-admin
-sender
is not contract admin.
Last updated
params of borrowPauseParams -> storage with [ tokens[tokenId] with [ borrowPause ] ]
(Un)Pauses borrowing token from the market.
yToken/not-admin
- sender
is not contract admin.
Last updated
Parameter | Type | Description |
---|---|---|
tokenId
nat
token identifier
condition
bool
True to pause else False