Closed odcheung closed 1 year ago
@yugure-orca - apologies! I forgot to update the tests after making further changes when making the whirlpools changes. I've updated them, ran prettier on the test folder (the script doesn't run automatically) and added an additional test to verify the order for the account-requests methods
@odcheung no problem, now it works!
Last part is about the data type of FetchedAccountMap: https://github.com/orca-so/orca-sdks/pull/44#discussion_r1231745916
Map also works, but Record seems more consistent with other parts. 🤔
https://app.asana.com/0/1202413563699470/1204278477629625/f
Token
methods, replaced with newer alternativesBreaking Changes
Percentage
,DecimalUtil
,Ata-utils
deriveATA
- use spl-token'sgetAssociatedTokenAddressSync
insteadTokenUtil
functions to use better spl-token alternativescreateWSOLAccountInstructions
toTokenUtil.createWrappedNativeAccountInstruction
address: PublicKey
field during parsinggetMultipleAccounts
,getMultipleAccountsInMap
,getMultipleParsedAccounts
Verification