Skip to content

feat: split out client account types#237

Open
eoin-betdex wants to merge 5 commits intoMonacoProtocol:developfrom
BetDexLabs:feat/split-out-client-account-types
Open

feat: split out client account types#237
eoin-betdex wants to merge 5 commits intoMonacoProtocol:developfrom
BetDexLabs:feat/split-out-client-account-types

Conversation

@eoin-betdex
Copy link
Contributor

Splits out the TS types for protocol accounts into a new package with minimal dependencies. Useful for downstream consumers of protocol data, as well as removing some duplication between the client and admin-client packages.

Also added AccountNamePrimitive versions of the interfaces, where web3/solana specific types are replaced with JS primitives. BN becomes number or Date, PublicKey becomes string (base58), enums records become string (PascalCase is the intention).

obi-ewan
obi-ewan previously approved these changes Oct 4, 2024
pawel-betdex
pawel-betdex previously approved these changes Oct 4, 2024
@eoin-betdex eoin-betdex dismissed stale reviews from pawel-betdex and obi-ewan via c8c71db October 9, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants