Skip to content

Commit

Permalink
fatcat: minor fixes for new program
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ece committed Feb 2, 2025
1 parent fda35d1 commit 6d3adf0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion apps/fatcat/src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ export class Client extends GlamClient {
name,
assets: [JUP],
enabled: true,
accountType: { vault: {} },
//@ts-ignore
integrationAcls: [{ name: { jupiterVote: {} }, features: [] }],
integrations: [{ jupiterVote: {} }],
delegateAcls: [
{
pubkey: FATCAT_SERVICE,
Expand Down Expand Up @@ -71,6 +72,14 @@ export class Client extends GlamClient {
.instruction();

preInstructions.push(initStateIx);

// preInstructions.push(
// SystemProgram.transfer({
// fromPubkey: this.getSigner(),
// toPubkey: vault,
// lamports: 10_000_000,
// }),
// );
}

// add instrustions to create vault ATA and transfer JUP to vault
Expand Down
2 changes: 1 addition & 1 deletion playground/src/components/access/data/permissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const vaultTreeDataPermissions: TreeNodeData = {
},
{
id: "liquidUnstake",
label: "Liquid unstake (not recommended)",
label: "Liquid unstake",
description: "",
},
],
Expand Down

0 comments on commit 6d3adf0

Please sign in to comment.