Skip to content

While in partial liquidation, mint will fail because of enterMarket check. #114

@yaronvel

Description

@yaronvel

The following is a workaround for user who wants to deposit while in partial liquidation:
The example is for ZRX deposit.
Two calls:

  1. ZRX.approve
  2. special function call on contract which will call:
    a) cZRX.mint
    b) cZRX.approve
    c) avatar1.collectCToken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions