Ellipsis-Labs / phoenix-sdk

SDK for interacting with the Phoenix DEX.
83 stars 41 forks source link

Refactor SDK to minimize network calls and properly create interface boundaries #94

Closed jarry-xiao closed 1 year ago

jarry-xiao commented 1 year ago

Given that we're in SDK land, I think that the default should be to use the MarketMetadata object as opposed to the MarketHeader object. There were previously a lot of areas where we seem to be indecisive on which object to use when grabbing market metadata, and now I think every case is disambiguated.

There should be 0 interface changes that arise from this PR.

Changes:

Notes: