4.10.1 Lawyer Confirm Documents

Lawyer Confirm Documents Step-by-Step test guide

Enables either the developer’s lawyer or the SPV’s lawyer to approve or reject the legal documents for a property listing. It determines whether:

  • The deal proceeds to execution (if both approve),

  • The transaction is refunded (if both reject), or

  • A second attempt is allowed (if only one side rejects).

Action:

  1. Developer → Extrinsics → pallet marketplacelawyerConfirmDocuments

    • origin: Lawyer.

    • listingId: 18 . 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.

  2. Submit & sign.

Post-checks:

Developer → Chain State

marketplacepropertyLawyer :

  • u32: 18 - this should match the listingId above. In this example, Eve is the developer lawyer. The following screenshot return null for the developer lawyer as Ferdie removed lawyer claim.

{ realEstateDeveloperLawyer: 16D2eVuK5SWfwvtFD3gVdBC2nc2BafK31BY6PrbZHBAGew7L spvLawyer: null realEstateDeveloperStatus: Approved spvStatus: Pending realEstateDeveloperLawyerCosts: { 1337: 0 1984: 10,000,000 } spvLawyerCosts: { 1337: 0 1984: 0 } legalProcessExpiry: 7,994 secondAttempt: false }

Repeat the action for Ferdie being the Spv lawyer.

Repeat the post-checks, the property has moved away from marketplace pallet to realEstateAsset pallet

realEstateAssetpropertyOwnerToken :

  • u32: 0 - If this is the first property went through the lawyers confirming documents, it will be 0, not 18.

realEstateAssetpropertyAssetInfo :

  • u32: 0 - If this is the first property went through the lawyers confirming documents, it will be 0, not 18.

Last updated