-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[token-cli] Add support for transfer-hook account resolution for tran…
…sfers with the transfer-fee extension. (#7171) * Added transfer_fee extension * added create_transfer_checked_with_fee_instruction_with_extra_metas * add support for transfer-hook account resolution in transfer_with_fee * add offchain helper `invoke_transfer_checked_with_fee` * Nit: Added better description to function * add test for offchain helper `create_transfer_checked_with_fee_instruction_with_extra_metas` * add `success_transfer_with_fee` test * add test `success_transfers_with_fee_using_onchain_helper` * Add cli test `transfer_hook_with_transfer_fee` * fix: correctly use the new onchain helper in test * Remove unneeded helpers
- Loading branch information
1 parent
3522730
commit 9842992
Showing
5 changed files
with
699 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.