4.17.1 (Option) Cancel Property Purchase

(Option) Cancel Property Purchase Step-by-Step test guide

Investor cancels their investment during active sale. Refunds principal + taxes, restores tokens into sale pool, emits InvestmentCancelled.

Action:

  1. Developer → Extrinsics → pallet marketplacecancelPropertyPurchase

    • origin: Investor

    • listingId: 12 . The screenshot is illustrative and may not reflect the exact state following the previous steps. The listingId needs to match the listed property by the real estate developer at 4.1.1 List Property.

  1. Submit & sign.

Post-checks:

Developer → Chain State

marketplaceongoingObjectListing :

  • u32: 12 - this should match the listingId above.

{ realEstateDeveloper: 14Gjs1TD93gnwEBfDMHoCgsuf1s2TVKUP6Z1qKmAZnZ8cW5q tokenPrice: 10,000,000 collectedFunds: { 1337: 0 1984: 0 } collectedTax: { 1337: 0 1984: 0 } collectedFees: { 1337: 0 1984: 0 } assetId: 3 itemId: 3 collectionId: 0 tokenAmount: 100 listedTokenAmount: 100 taxPaidByDeveloper: false tax: 0.02% listingExpiry: 6,172 investorFunds: {} claimExpiry: null relistCount: 0 unclaimedTokenAmount: 66 }

Last updated