4.11.2 (Option) Withdraw Legal Process Expired

(Option) Withdraw Legal Process Expired Step-by-Step test guide

Investor withdraws funds after legal process expiry.

Action:

  1. Developer → Extrinsics → pallet marketplacewithdrawLegalProcessExpired

    • origin: Real Estate Investor and have sufficient funds.

    • listingId: 4 . 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. This is the listing that the investor wants to withdraw from.

  1. Submit & sign.

Post-checks:

Developer → Chain State

marketplacerefundLegalExpired :

  • u32: 4 - In this example, as all investors withdraw legal process expired, the result in the screenshot showing refund of all 100 tokens. Therefore, none left.

marketplacepropertyLawyer :

  • u32: 4 - this should match the listingId above. No property lawyer is expected.

marketplaceongoingObjectListing :

  • u32: 4 - this should match the listingId above. The listing will become none.

Last updated