Repository navigation
v2.2.0
Composes the purchase and listing flows and adds the delphi settlement helpers.
Features
purchaseSaleActionscomposesassertsale, the deposit transfer, andpurchasesale.announceSaleActionscomposesannouncesaleand the atomicassetscreateoffercarrying the sale memo. Both emit authorization-free action data in the order the market contract expects. (#16)purchaseSaleActionsthrows when a delphi-priced sale arrives without asettlement_quantity, because that omission pays the wrong amount rather than failing the transaction. (#16)deriveSettlementAmountreproduces the market contract's settlement math withBigInt, the float formula losing precision at on-chain magnitudes.formatQuantityrenders raw integer amounts as chain quantities. (#16)DelphiPairSpecprojects a supported pair fromgetConfigand rejects a non-positive median or a precision outside the chain's 0 to 18, naming the field in the error. (#16)IMarketPair.data.quote_precisionis typednumberrather than the literal2, so a pair read from the API feeds aDelphiPairSpecdirectly. (#16)regmarketandwithdrawaction builders cover marketplace registration and market-balance withdrawal. (#15)
Commits
- 5a2028d feat: add regmarket and withdraw action builders (#15)
- d9051b0 feat: compose the purchase and listing flows so integrators stop hand-rolling them (#16)
- 1c0bf0e chore(release): 2.2.0
Full changelog: v2.1.0...v2.2.0