Skip to content

Contract: Implement Non-Transferable Loan NFT Restrictions (SBT Mode)#1168

Description

@ONEONUORA

馃搶 Target Component

contracts/loan-nft/src/lib.rs

馃摑 Description

Loan NFTs can currently be transferred between arbitrary wallet addresses, bypassing collateral ownership verification.

馃搵 Implementation Requirements

  1. Restrict NFT transfer function to only allow transfer to lending contract vault during liquidation or repayment.
  2. Revert arbitrary wallet-to-wallet transfer attempts with Error::TokenNonTransferable.

馃幆 Testnet Goal

Prevent unauthorized loan position transfers on testnet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions