* forbid confidential transfer if nontransferable mint
* add a note about nontransferable mint in the transfer instruction
* disable deposit and withdraw if mint nontransferable
* suport for amountToUiAmount instruction
* support for uiamount to amount instruction
* upgrade @solana/web3.js to 1.47.4
* move amount.test from e2e-2022 to e2e
* fix and sort imports
Co-authored-by: Jordan Sexton <jordan@jordansexton.com>
* cli: add --enable-close flag to create-token which sets its close authority to mint authority
* cli: add support to changing a mint close authority to authorize
* cli: add close-mint, a new command for closing a mint
* cli: update authorize and close-account to go through the token client
* client: change set_authority and close_account to support multisigners
* Fix Memo program ESM exports
* fix repository link
* Fix Token program ESM exports
* web3.js is a peer dependency
* memo/ts -> memo/js (same as token)
* add gh-pages dev dep
* add explicit js extensions
* use explicit js imports
* lint fixes for type imports
* fix version
* check in package-lock.json
* check in package-lock.json
* update spl-memo dep
* reorg imports
* move spl-memo to dev deps
* remove editorconfig
* update spl-memo
* update node version in CI
* memo and token use npm now
* use npm ci commands
* reorder imports
* cli: remove offline args from commands that create accounts
* cli: implement finish_tx, to be a replacement for handle_tx, which branches on the client return
* client: validate a transaction is fully signed before sending over rpc
* client: convert payer from Signer to Arc<dyn Signer> to support cli signers
* client: support nonce mode
* client: change create_mint to be an object method that returns SendTransaction::Output
* client: rename S2 to S everywhere that Token<T, S> is Token<T>
* make argument order and comments consistent for unpack functions
* add function to unpack multisig for parity
* update spl-memo version
* patch version bump
* run prettier
* fix comment
* update lockfile
* check that unpack is tolerant of small sizes (#3416)
* Refactor unpack and make test more robust (#3417)
* Refactor hasty fix to match token-2022
* Make test exhaustive
* cargo fmt
Co-authored-by: Michael Vines <mvines@gmail.com>
* Readd proptests without losing unit test, #3421
Co-authored-by: anatoly yakovenko <anatoly@solana.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
* token: Reassign and reallocate accounts on close
* Revert "Refactor unpack and make test more robust (#3417)"
This reverts commit c618de374e.
* Revert "check that unpack is tolerant of small sizes (#3416)"
This reverts commit 22faa05f18.
* Also revert d7f352bd78
* token-cli: Split out CI into separate step, run tests in serial
* Remove dependency on cargo-test-bpf to speed things up
* Don't download programs since they won't be available
* ci: Separate twoxtx build step, match Rust version
* Make a change to trigger CI
* Really trigger CI this time
* Fixup yaml issue
* Also set RUST_STABLE_VERSION
* Define env variable earlier