AstariaXYZ/astaria-core

Reused ClearingHouse test

dangerousfood opened this issue · 0 comments

  1. Bid and transfer 2x
    • CommitToLien with an NFT
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • Bid and transfer the NFT
    • CommitToLien with the same NFT (because this reuses the same ClearingHouse contract)
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • Bid and transfer the NFT
  2. No bid and then a bid
    • CommitToLien with an NFT
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • No bid
    • Liquidator withdraws
    • CommitToLien with the same NFT (because this reuses the same ClearingHouse contract)
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • Bid and transfer the NFT
  3. Bid and then no bid
    • CommitToLien with an NFT
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • Bid and transfer the NFT
    • CommitToLien with the same NFT (because this reuses the same ClearingHouse contract)
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • No bid
    • Liquidator withdraws
  4. No bid and transfer 2x
    • CommitToLien with an NFT
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • No bid
    • Liquidator withdraws
    • CommitToLien with the same NFT (because this reuses the same ClearingHouse contract)
    • Let the NFT reach liquidation
    • Ship to the clearing house
    • No bid
    • Liquidator withdraws