4.6.1 Vote On Spv Lawyer

Vote On Spv Lawyer Step-by-Step test guide

Allows real estate investors (token holders of a property’s SPV asset) to vote on whether to approve (Vote::Yes) or reject (Vote::No) or abstain (Vote::Abstain) a lawyer proposal for the SPV side.

This vote uses token-weighted governance, the number of tokens held defines an investor’s voting power.

Action:

  1. Developer → Extrinsics → pallet marketplacevoteOnSpvLawyer

    • origin: Investor

    • listingId: 0 . 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 estae developer at 4.1.1 List Property.

    • Vote: choose between Yes or No or Abstain.

    • Amount: 33 . This is the token that the investor has purchased of the listed property at 4.2.1 Buy Property Token. The screenshots below are showing examples. For example, Bob owned 33 tokens and vote with all his 33 tokens.

  2. Submit & sign.

Post-checks:

Developer → Chain State

marketplaceuserLawyerVote :

  • u64: 0 - this should match the listingId above.

[ [ [ 0 14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3 ] { vote: Yes assetId: 0 power: 33 } ] [ [ 0 15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5 ] { vote: No assetId: 0 power: 34 } ] [ [ 0 126TwBzBM4jUEK2gTphmW4oLoBWWnYvPp8hygmduTr4uds57 ] { vote: Yes assetId: 0 power: 20 } ] ]

Last updated