Cancelled the Account Information (You don't need that, do it yourself lol)

This commit is contained in:
L0STE
2023-11-28 14:33:22 +01:00
parent d077286333
commit ce42be1e99
8 changed files with 8 additions and 56 deletions

View File

@@ -30,10 +30,7 @@ const vaultState = new PublicKey("<address>");
// const signature = await program.methods
// .closeAccount()
// .accounts({
// owner: ,
// vaultState: ,
// closeVaultState: ,
// systemProgram: ,
// ???
// })
// .signers([
// keypair

View File

@@ -34,11 +34,7 @@ const vaultState = new PublicKey("<address>")
// const signature = await program.methods
// .deposit(new BN(<number>) )
// .accounts({
// owner: ,
// vaultState: ,
// vaultAuth: ,
// vault: ,
// systemProgram: SystemProgram.programId,
// ???
// })
// .signers([
// keypair

View File

@@ -53,18 +53,7 @@ const mint = new PublicKey("<address>");
// const signature = await program.methods
// .depositNft()
// .accounts({
// owner: ,
// ownerAta: ,
// vaultState: ,
// vaultAuth: ,
// vaultAta: ,
// tokenMint: ,
// nftMetadata: ,
// nftMasterEdition: ,
// tokenProgram: TOKEN_PROGRAM_ID,
// associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
// metadataProgram: metadataProgram,
// systemProgram: SystemProgram.programId,
// ???
// })
// .signers([
// keypair

View File

@@ -50,14 +50,7 @@ const mint = new PublicKey("<address>");
// const signature = await program.methods
// .depositSpl(new BN(<number>))
// .accounts({
// owner: ,
// ownerAta: ,
// vaultState: ,
// vaultAuth: ,
// vaultAta: ,
// tokenMint: ,
// tokenProgram: TOKEN_PROGRAM_ID,
// systemProgram: SystemProgram.programId,
// ???
// })
// .signers([
// keypair

View File

@@ -35,11 +35,7 @@ console.log(`Vault public key: ${vaultState.publicKey.toBase58()}`);
// const signature = await program.methods.initialize()
// .accounts({
// owner:
// vaultState:
// vaultAuth: ,
// vault: ,
// systemProgram: SystemProgram.programId
// ???
// }).signers([keypair, vaultState]).rpc();
// console.log(`Init success! Check out your TX here:\n\nhttps://explorer.solana.com/tx/${signature}?cluster=devnet`);

View File

@@ -34,11 +34,7 @@ const vaultState = new PublicKey("<address>")
// const signature = await program.methods
// .withdraw(new BN(<number>))
// .accounts({
// owner: ,
// vaultState: ,
// vaultAuth: ,
// vault: ,
// systemProgram: SystemProgram.programId,
// ???
// })
// .signers([
// keypair

View File

@@ -52,18 +52,7 @@ const mint = new PublicKey("<address>");
// const signature = await program.methods
// .withdrawNft()
// .accounts({
// owner: ,
// ownerAta: ,
// vaultState: ,
// vaultAuth: ,
// vaultAta: ,
// tokenMint: ,
// nftMetadata: ,
// nftMasterEdition: ,
// tokenProgram: TOKEN_PROGRAM_ID,
// associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
// metadataProgram: metadataProgram,
// systemProgram: SystemProgram.programId,
// ???
// })
// .signers([
// keypair

View File

@@ -34,11 +34,7 @@ const vaultState = new PublicKey("<address>")
// const signature = await program.methods
// .withdraw(new BN(<number>))
// .accounts({
// owner: ,
// vaultState: ,
// vaultAuth: ,
// vault: ,
// systemProgram: SystemProgram.programId,
// ???
// })
// .signers([
// keypair