4.4.2 Finalize Claim Window

Finalize Claim Window Step-by-Step test guide

Handle expired claim window. If unclaimed tokens remain: (1) cancel sale + refund if max relists reached, or (2) relist unclaimed tokens and reset claim window. Emits SaleCancelledUnclaimed / UnclaimedRelisted.

Action:

  1. Developer → Extrinsics → pallet marketplacefinalizeClaimWindow

    • origin: any signed account.

    • 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 consistent with 4.3.1 Create SPV. This is the listing that the investor wants to finalize the claim window from.

  2. Submit & sign.

Post-checks:

Developer → Chain State

marketplaceongoingObjectListing :

  • ongoingObjectListing values (relist_count, claim_expiry reset, listed_token_amount updated).

  • u32: 7 - this should match the listingId above.

{ realEstateDeveloper: 14Gjs1TD93gnwEBfDMHoCgsuf1s2TVKUP6Z1qKmAZnZ8cW5q tokenPrice: 100 collectedFunds: { 1337: 0 1984: 10,000 } collectedTax: { 1337: 0 1984: 21 } collectedFees: { 1337: 0 1984: 100 } assetId: 7 itemId: 7 collectionId: 0 tokenAmount: 100 listedTokenAmount: 0 taxPaidByDeveloper: true tax: 0.20% listingExpiry: 8,768 investorFunds: { 126TwBzBM4jUEK2gTphmW4oLoBWWnYvPp8hygmduTr4uds57: { paidFunds: { 1984: 3,300 } paidFee: { 1984: 33 } } 14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3: { paidFunds: { 1984: 3,300 } paidFee: { 1984: 33 } } 15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5: { paidFunds: { 1984: 3,400 } paidFee: { 1984: 34 } } } claimExpiry: null relistCount: 0 unclaimedTokenAmount: 0 }

Last updated