fixing pubkeys

This commit is contained in:
jordansexton 2021-06-22 19:12:17 -05:00
parent 29b352aec3
commit f39b03ef1f
2 changed files with 6 additions and 4 deletions

View File

@ -99,7 +99,7 @@ export const PROGRAM_IDS = [
},
legacy: [],
}),
lending: () => new PublicKey('LendXXX'),
lending: () => new PublicKey('6TvznH3B2e3p2mbhufNBpgSrLx6UkgvxtVQvopEZ2kuH'),
},
{
name: 'devnet',
@ -118,7 +118,7 @@ export const PROGRAM_IDS = [
},
legacy: [new PublicKey('BSfTAcBdqmvX5iE2PW88WFNNp2DHhLUaBKk5WrnxVkcJ')],
}),
lending: () => new PublicKey('LendXXX'),
lending: () => new PublicKey('6TvznH3B2e3p2mbhufNBpgSrLx6UkgvxtVQvopEZ2kuH'),
},
{
name: 'localnet',
@ -137,7 +137,7 @@ export const PROGRAM_IDS = [
},
legacy: [],
}),
lending: () => new PublicKey('LendXXX'),
lending: () => new PublicKey('6TvznH3B2e3p2mbhufNBpgSrLx6UkgvxtVQvopEZ2kuH'),
},
];

View File

@ -18,8 +18,10 @@ export const OrderBookParser = (id: PublicKey, acc: AccountInfo<Buffer>) => {
return details;
};
// Mainnet Beta: 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin
const DEFAULT_DEX_ID = new PublicKey(
'EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o',
'DESVgJVGajEgKGXhb6XmqDHGz3VjdgP7rEVESBgxmroY',
);
export const DexMarketParser = (