Lock
The Lock contract is responsible for locking up UST returned from shorting a mAsset through Mirror Mint operation.
InitMsg
HandleMsg
UpdateConfig
UpdateConfig
Updates the configuration of Lock contract. Can only be issued by the owner of the Mirror Lock.
*= optional
LockPositionFundsHook
LockPositionFundsHook
Locks the UST from shorting mAsset when short CDP is successfully created on Mirror Mint.
UnlockPositionFunds
UnlockPositionFunds
Locked UST fromLockPositionFundsHook
is unlocked by sending this message afterlockup_period
has passed. Can only be issued by the owner of the position (receiver
).
ReleasePositionFunds
ReleasePositionFunds
Locked funds will be released and sent to the CDP creator upon closing of the position. This message unlocks funds even whenlock_period
has not ended yet. Can only be issued by the mint contract when the position is being closed.
QueryMsg
Config
Config
Returns the configuration of Mirror Lock.
Response
PositionLockInfo
PositionLockInfo
Returns information about locked funds of a specific CDP.
Response
Last updated