{"version":3,"file":"getUnstakeInstruction.cjs","sources":["../../../../src/staking/getUnstakeInstruction.ts"],"sourcesContent":["import { Address, TransactionSigner } from \"@solana/kit\";\nimport { getDeactivateInstruction } from \"@solana-program/stake\";\nimport { SYSVAR_CLOCK } from \"./types\";\n\nexport const makeGetUnstakeInstruction =\n  () => (owner: TransactionSigner<string> | Address, stakeAccount: Address) =>\n    getDeactivateInstruction({\n      stake: stakeAccount,\n      stakeAuthority: owner as any,\n      clockSysvar: SYSVAR_CLOCK,\n    });\n"],"names":["getDeactivateInstruction","SYSVAR_CLOCK"],"mappings":";;;;;AAIO,MAAM,yBAAyB,GACpC,MAAM,CAAC,KAA0C,EAAE,YAAqB,KACtEA,8BAAwB,CAAC;AACvB,IAAA,KAAK,EAAE,YAAY;AACnB,IAAA,cAAc,EAAE,KAAY;AAC5B,IAAA,WAAW,EAAEC,kBAAY;AAC1B,CAAA;;;;"}