4.12.1 (Option) Upgrade Object

(Option) Upgrade Object Step-by-Step test guide

Developer update token price for active listing.

Action:

  1. Developer → Extrinsics → pallet marketplaceupgradeObject

    • origin: Real Estate Developer and have sufficient funds.

    • listingId: 11 . 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 and needs to be the property that the developer wants to update.

    • newPrice: In this example the price changed from 10000000 to 15000000.

  1. Submit & sign.

Post-checks:

Developer → Chain State

marketplacelistingDeposits :

  • u32: 11 - this should match the listingId above. Deposit does not change. Only the tokenPrice will change.

marketplaceongoingObjectListing :

  • u32: 11 - this should match the listingId above. The screenshot below was taken after the above. Hence showing tokenPrice: 15,000,000.

{ realEstateDeveloper: 14Gjs1TD93gnwEBfDMHoCgsuf1s2TVKUP6Z1qKmAZnZ8cW5q tokenPrice: 15,000,000 collectedFunds: { 1337: 0 1984: 0 } collectedTax: { 1337: 0 1984: 0 } collectedFees: { 1337: 0 1984: 0 } assetId: 2 itemId: 2 collectionId: 0 tokenAmount: 100 listedTokenAmount: 100 taxPaidByDeveloper: false tax: 0.02% listingExpiry: 5,688 investorFunds: {} claimExpiry: null relistCount: 0 unclaimedTokenAmount: 0 }

Last updated