crystalai's picture
Upload 52 files
3959fbd verified
{"version":"0.1.0","name":"token_vault","instructions":[{"name":"initialize","accounts":[{"name":"tokenAccountOwnerPda","isMut":true,"isSigner":false},{"name":"vaultTokenAccount","isMut":true,"isSigner":false},{"name":"mintOfTokenBeingSent","isMut":false,"isSigner":false},{"name":"signer","isMut":true,"isSigner":true},{"name":"systemProgram","isMut":false,"isSigner":false},{"name":"tokenProgram","isMut":false,"isSigner":false},{"name":"rent","isMut":false,"isSigner":false}],"args":[]},{"name":"transferIn","accounts":[{"name":"tokenAccountOwnerPda","isMut":true,"isSigner":false},{"name":"vaultTokenAccount","isMut":true,"isSigner":false},{"name":"senderTokenAccount","isMut":true,"isSigner":false},{"name":"mintOfTokenBeingSent","isMut":false,"isSigner":false},{"name":"signer","isMut":true,"isSigner":true},{"name":"systemProgram","isMut":false,"isSigner":false},{"name":"tokenProgram","isMut":false,"isSigner":false},{"name":"rent","isMut":false,"isSigner":false}],"args":[{"name":"amount","type":"u64"}]},{"name":"transferOut","accounts":[{"name":"tokenAccountOwnerPda","isMut":true,"isSigner":false},{"name":"vaultTokenAccount","isMut":true,"isSigner":false},{"name":"senderTokenAccount","isMut":true,"isSigner":false},{"name":"mintOfTokenBeingSent","isMut":false,"isSigner":false},{"name":"signer","isMut":true,"isSigner":true},{"name":"systemProgram","isMut":false,"isSigner":false},{"name":"tokenProgram","isMut":false,"isSigner":false},{"name":"rent","isMut":false,"isSigner":false}],"args":[{"name":"amount","type":"u64"}]}]}