Skip to content

v2.4.0

Choose a tag to compare

@robrigo robrigo released this 17 Aug 21:55
· 9 commits to main since this release
2c91723

Reads the settled royalty ledger, so a consumer no longer has to page the payout logs itself.

Breaking changes

  • IRoyaltyConfig, IRoyaltyTemplateRule, and IRoyaltyAttributeRule gain required market_contract, collection_name, and timestamp fields, and the attribute rule gains lookup_hash. Reading a response is unaffected. Code that builds one of these rows by hand, such as a test mock, must supply the added fields. (#23)

Features

  • getRoyaltyPayouts, countRoyaltyPayouts, and getRoyaltyAccount cover the AtomicMarket v2 payout ledger: every settled royalty, the count behind it, and one account's totals per token symbol. Payout filters travel as RoyaltyPayoutApiParams, whose primary boundary ranges over log_global_sequence. The account totals take the date window alone, because that route groups the boundary column away. (#23)
  • IRoyaltyPayout and IRoyaltyAccountTotal type the two new row shapes, and RoyaltyListingType, RoyaltyPayoutCategory, and RoyaltyPayoutSort pin the strings the indexer serves and filters on. (#23)
  • IRoyaltyConfig, IRoyaltyTemplateRule, and IRoyaltyAttributeRule carry the market_contract, collection_name, and four timestamps of their rows, and the attribute rule also carries its lookup_hash. (#23)

Commits

  • fd43a58 docs: add the release checklist and the script that composes a Release body (#21)
  • e0fab60 docs: list a stable release since the last stable tag and read the entry for the base version (#22)
  • 62c6663 feat: read the settled royalty ledger so consumers stop paging payouts by hand (#23)
  • 2c91723 chore(release): 2.4.0

Full changelog: v2.3.0...v2.4.0