-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add PoolCreated event #109
base: staging
Are you sure you want to change the base?
Conversation
3de5ba7
to
75b4066
Compare
bc7cfa7
to
15ef218
Compare
15ef218
to
d351ada
Compare
ts-client/src/amm/index.ts
Outdated
@@ -63,7 +63,7 @@ type Opt = { | |||
}; | |||
|
|||
const getAllPoolState = async (poolMints: Array<PublicKey>, program: AmmProgram) => { | |||
const poolStates = (await chunkedFetchMultiplePoolAccount(program, poolMints)) as Array<PoolState>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need to convert to any first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like an outdated thing i added to bypass typescript compile error. It's not happened again then i'm gonna remove it.
|
would you mind running |
Attempt to add
PoolCreated
event into the SDK IDL typesTasks:
PoolCreated
event type.