Skip to content
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

[Credix] Update to 0.9.1 #57

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uxd-protocol/uxd-client",
"version": "8.1.4-rc7",
"version": "8.2.0-rc2",
"description": "JavaScript Client for the UXD Solana Program",
"keywords": [
"solana",
Expand Down
17 changes: 7 additions & 10 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
ConfirmOptions,
TransactionInstruction,
PublicKey,
SYSVAR_CLOCK_PUBKEY,
} from '@solana/web3.js';
import { Controller } from './controller';
import { MercurialVaultDepository } from './mercurial/depository';
Expand Down Expand Up @@ -654,9 +653,9 @@ export class UXDClient {
credixLiquidityCollateral: depository.credixLiquidityCollateral,
credixSharesMint: depository.credixSharesMint,
credixPass: depository.credixPass,
credixTreasuryPoolCollateral: depository.credixTreasuryPoolCollateral,
credixTreasury: depository.credixTreasury,
credixTreasuryCollateral: depository.credixTreasuryCollateral,
credixMultisigKey: depository.credixMultisigKey,
credixMultisigCollateral: depository.credixMultisigCollateral,
systemProgram: SystemProgram.programId,
associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
tokenProgram: TOKEN_PROGRAM_ID,
Expand Down Expand Up @@ -689,9 +688,9 @@ export class UXDClient {
credixLiquidityCollateral: depository.credixLiquidityCollateral,
credixSharesMint: depository.credixSharesMint,
credixPass: depository.credixPass,
credixTreasuryPoolCollateral: depository.credixTreasuryPoolCollateral,
credixTreasury: depository.credixTreasury,
credixTreasuryCollateral: depository.credixTreasuryCollateral,
credixMultisigKey: depository.credixMultisigKey,
credixMultisigCollateral: depository.credixMultisigCollateral,
profitsBeneficiaryCollateral: profitsBeneficiaryCollateral,
systemProgram: SystemProgram.programId,
associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
Expand Down Expand Up @@ -730,7 +729,6 @@ export class UXDClient {
credixSharesMint: credixLpDepository.credixSharesMint,
credixPass: credixLpDepository.credixPass,
credixWithdrawEpoch: credixLpDepository.credixWithdrawEpoch,
credixWithdrawRequest: credixLpDepository.credixWithdrawRequest,
systemProgram: SystemProgram.programId,
credixProgram: credixLpDepository.credixProgramId,
},
Expand Down Expand Up @@ -769,11 +767,11 @@ export class UXDClient {
credixLpDepository.credixLiquidityCollateral,
credixSharesMint: credixLpDepository.credixSharesMint,
credixPass: credixLpDepository.credixPass,
credixTreasuryPoolCollateral:
credixLpDepository.credixTreasuryPoolCollateral,
credixTreasury: credixLpDepository.credixTreasury,
credixTreasuryCollateral: credixLpDepository.credixTreasuryCollateral,
credixMultisigKey: credixLpDepository.credixMultisigKey,
credixMultisigCollateral: credixLpDepository.credixMultisigCollateral,
credixWithdrawEpoch: credixLpDepository.credixWithdrawEpoch,
credixWithdrawRequest: credixLpDepository.credixWithdrawRequest,
profitsBeneficiaryCollateral: profitsBeneficiaryCollateral,
systemProgram: SystemProgram.programId,
tokenProgram: TOKEN_PROGRAM_ID,
Expand Down Expand Up @@ -926,7 +924,6 @@ export class UXDClient {
mercurialVaultProgram: MercurialVaultDepository.mercurialVaultProgramId,
uxdProgram: controller.uxdProgramId,
rent: SYSVAR_RENT_PUBKEY,
clock: SYSVAR_CLOCK_PUBKEY,
},
options,
});
Expand Down
Loading