4.11.1 (Option) Withdraw Rejected

(Option) Withdraw Rejected Step-by-Step test guide

Investor withdraws funds + returns tokens after sale rejection.

Action:

  1. Developer → Extrinsics → pallet marketplacewithdrawRejected

    • origin: Real Estate Investor, who have sufficient funds.

    • listingId: 5 . 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, that the investor wants to withdraw from.

  1. Submit & sign.

  1. Repeat the action on the other investors.

Post-checks:

Developer → Chain State

marketplacerefundToken :

  • u32: 5 - this should match the listingId above. In this example, as all investors withdraw rejected, the result in the screnshot showing refund of all 100 tokens.

Last updated