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