Skip to content

Commit

Permalink
new group
Browse files Browse the repository at this point in the history
  • Loading branch information
riordanp committed May 15, 2024
1 parent 9a4686b commit f47828e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/api/tokentiers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default async function handler(
try {
const client = await buildClient()
const group = await client.getGroup(
new PublicKey('7SDejCUPsF3g59GgMsmvxw8dJkkJbT3exoH4RZirwnkM'),
new PublicKey('7s3eedfgJmqdsnxu5oqKiUwAU1BqWaX2iYmhCZyye6RY'),
)

const banks = Array.from(group.banksMapByTokenIndex.values())
Expand Down
2 changes: 1 addition & 1 deletion store/mangoStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const initMangoClient = (
new PublicKey('E4v1BBgoso9s64TQvmyownAVJbhbEPGyzA3qn4n46qj9'), //mSol
],
multipleConnections: opts.multipleConnections,
idsSource: 'api',
idsSource: 'get-program-accounts',
prependedGlobalAdditionalInstructions:
opts.prependedGlobalAdditionalInstructions,
postSendTxCallback: (txCallbackOptions: TxCallbackOptions) => {
Expand Down
2 changes: 1 addition & 1 deletion test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ export const getGroupForClient = async (
}

export const MAINNET_MANGO_GROUP = new PublicKey(
'7SDejCUPsF3g59GgMsmvxw8dJkkJbT3exoH4RZirwnkM',
'7s3eedfgJmqdsnxu5oqKiUwAU1BqWaX2iYmhCZyye6RY',
)
2 changes: 1 addition & 1 deletion utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export enum TOKEN_REDUCE_ONLY_OPTIONS {
export const PRIVATE_MODE_STRING = '****'

export const MANGO_MAINNET_GROUP = new PublicKey(
'7SDejCUPsF3g59GgMsmvxw8dJkkJbT3exoH4RZirwnkM',
'7s3eedfgJmqdsnxu5oqKiUwAU1BqWaX2iYmhCZyye6RY',
)

export const MAX_PERP_SLIPPAGE = 0.025
Expand Down

0 comments on commit f47828e

Please sign in to comment.