nim-codex/codex/purchasing
Eric Mastro 437036a9a6
[marketplace] align with contract changes
- getState / state > requestState
- getSlot > getRequestFromSlotId
- support MarketplaceConfig
- support slotState, remove unneeded Slot type
- collateral > config.collateral.initialAmount
- remove proofPeriod contract call
- Revert reason “Slot empty” > “Slot is free”
- getProofEnd > read SlotState

Tests for changes
2023-02-14 13:47:52 +01:00
..
states [marketplace] align with contract changes 2023-02-14 13:47:52 +01:00
purchase.nim Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
purchaseid.nim [purchasing] move Purchase and PurchaseId into separate modules 2022-10-25 15:10:35 +11:00
statemachine.nim Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00