Skip to content

v2.1.0

Choose a tag to compare

@robrigo robrigo released this 31 Jul 21:35
· 21 commits to main since this release
30b49b7

Adds the sale lifecycle and RAM payment actions, plus the /v2/sales routes.

Features

  • Adds the sale lifecycle actions to MarketActionBuilder and MarketActionGenerator: announcesale, cancelsale, assertsale, purchasesale. The uint64 fields, the listing ids and intended_delphi_median, are strings, so 64-bit values pass through without precision loss. (#14)
  • RAM payment actions paysaleram, payauctram and paybuyoram move the RAM cost of a listing's table row onto the payer. Any account may pay, signing as the payer. (#14)
  • Adds getSalesV2 and countSalesV2 for the /v2/sales route, a newer materialized index with the same row shape as /v1/sales. /v2/sales omits Waiting sales, so a state filter that includes Waiting belongs on the v1 route. (#14)
  • countOffers joins getOffers, both taking the new MarketOfferApiParams, which widens the state filter to comma-joined multi-state queries like the sale and auction params already allow. (#14)

Commits

  • 30b49b7 feat: cover the sale lifecycle, RAM payments, and v2 sales so consumers stop hand-rolling them (#14)

Full changelog: v2.0.1...v2.1.0