(Option) Cancel Offer Step-by-Step test guide
Investor cancels their pending offer and gets refund.
Action (the cancel offer can only happen after make offer):
Developer → Extrinsics → pallet marketplace → makeOffer
marketplace
makeOffer
4.18.1 (Option) Make Offer.
Submit & sign.
The transaction can also be seen in Network → Explorer
Post-checks:
Developer → Chain State
assetsHolder → balancesOnHold :
assetsHolder
balancesOnHold
u32: paymentAsset accepted id ( 1337 or 1984 ).
1337
1984
Action:
Developer → Extrinsics → pallet marketplace → cancelOffer
cancelOffer
origin: Real Estate Investor
listingId: 3 . This listingId needs to be the same as the one used to make offer, like above. In this case, to cancel.
3
Balances on hold will disappear after the investor cancel offer.
Last updated 3 months ago