* associated-token-account: Add transfer / close nested accounts
* Swap wallet and wrong_wallet in test
* Use new error
* Force destination to wallet and ATA
* Fix merge conflicts
* Add more vanilla spl-token tests
* Improve test, fix instruction comments
* Address feedback
* Rename CloseNested -> RecoverNested, add comment
* Fix typo in comment
* token: Support both token programs in associated-token-account
* Rename spl-token -> spl-token-2022, spl-token-legacy -> spl-token
* Use spl-token by default
* Check mint in get_account_data_len
* Add checks for either token program
* Rebase fix
* Update version comments in tests
* Pass by ref
* Dedupe ExtensionTypes in length apis
* Depend on deduplication in ExtensionType::get_account_len
* Add Reallocate instruction
* Remove unneeded api
* Add set_account_type helper and remove unneeded StateWithExtensionsMut api
* Use token-2022 in ProgramTest
* Add get_account_len() helper with CPI to spl_token::get_account_data_size()
* Add test for extended mints/accounts using transfer_fee
* feat: create explicit CreateAssociatedTokenAccount instruction
* feat: add create_associated_token_account for explicit instruction
* chore: update comments and make clippy happy
* chore: redirect legacy instruction creator to new instruction
* chore: update comments
* wip: scaffold mint to instruction creator and test
* Revert "wip: scaffold mint to instruction creator and test"
This reverts commit f8254050f8dd0c1b3d103277697be3d1037c8a5e.
* chore: flag legacy create_associated_token_account as deprecated
* chore: rename CreateAssociatedTokenAccount to Create
* chore: move create_pda_account to tools:account
* chore: comment deprecated attribute to prevent warnings until 1.0.4 is released
* chore: fix test name
* feat: remove Rent account from explicit instruction
* chore: use current spl_token for implicit instruction test
* chore: replicate legacy implicit instruction in test
* chore: remove program name from instruction msg
* create account in one cpi call unless already has lamports
* move create PDA account to its own function
* clippy
Co-authored-by: = <nonsense>
Co-authored-by: Michael Vines <mvines@gmail.com>
* Update all dependencies to 1.7.3, fix issues
* Remove esm from mocha
* Fix missed token test
* Also update rust version
* token-swap: update tolerance on sim test
* Run `cargo clippy --fix` for needless_borrow errors
* Rerun cargo fmt
* Implement some js helpers for associated tokens
* Create integration test and fix hard-coding in spl-associated-token
* Run lint:fix and pretty:fix
* Run flow as well...
* More robust test fixture setup
* Revert api breaking part
* Fix tests...
* Populate ts/flow type definitions
* Improve test a bit
* More consistent arg order; docs; more tests
* lints and pretty
* type definition updates and test tweaks
* More simplification...
* More cleanup
* Address review comments and small cleanings
* Bump the version