Skip to content

Commit

Permalink
[Credix] Update to 0.9.1 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-vincent authored Sep 20, 2023
1 parent 807dd3f commit ed41975
Show file tree
Hide file tree
Showing 5 changed files with 1,438 additions and 600 deletions.
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

0 comments on commit ed41975

Please sign in to comment.