4.3.1 Create SPV
Create SVP Step-by-Step test guide
Create Special Purpose Vehicle (SPV). Requires SpvConfirmation role. Ensures property fully sold, registers SPV, sets claim window, updates listing, emits SpvCreated.
Expected:
Must be called after sold-out (
listed_token_amount == 0).
Action:
Developer → Extrinsics → pallet
marketplace→createSpvorigin: Dave (sign). This needs to be someone with SpvConfirmation role.
listingid:
7. The screenshot is illustrative and may not reflect the exact state following the described attempts in 4.2.1 Buy Property Token. This is the listing where the last token has been purchased. This is when the listed token amount inmarketplace→OngoingObjectListingin Chain State becomes zero.
Submit & sign.

Post-checks:
Developer → Chain State
marketplace → OngoingObjectListing :
PropertyToken::register_spv(asset_id)executed,claim_expiryset tocurrent + ClaimWindow. Claim expiry shown in green font below.Event
SpvCreated.

{ realEstateDeveloper: 14Gjs1TD93gnwEBfDMHoCgsuf1s2TVKUP6Z1qKmAZnZ8cW5q tokenPrice: 100 collectedFunds: { 1337: 0 1984: 0 } collectedTax: { 1337: 0 1984: 0 } collectedFees: { 1337: 0 1984: 0 } assetId: 7 itemId: 7 collectionId: 0 tokenAmount: 100 listedTokenAmount: 0 taxPaidByDeveloper: true tax: 0.20% listingExpiry: 8,768 investorFunds: {} claimExpiry: 8,737 relistCount: 0 unclaimedTokenAmount: 100 }
Last updated