Jon Cinque
8d0a2e1000
token-2022: Add PermanentDelegate extension ( #3725 )
...
* token-2022: Add PermanentDelegate extension
* Address feedback
* Refactor getting permanent delegate
* Rename function
* More cleanup
* Fix ATA
2022-11-15 14:10:59 +01:00
hanako mumei
0ddbd71302
token-cli: test close account
2022-11-14 12:57:08 -08:00
Jon Cinque
d50f2745f8
token-cli: Support transfer fee extension ( #3792 )
...
* token-cli: Add transfer fee to create-token
* Add `expected-fee` arg to transfer
* Add withdraw-withheld-tokens implementation
* Add optional `Harvest` call while closing account
* Add `set-transfer-fee` command
* Fix rebase issues
2022-11-11 19:16:51 +01:00
samkim-crypto
da05275176
temporarily disable fees for downstream ci ( #3798 )
2022-11-07 11:17:31 +00:00
Jon Cinque
374f5283ec
token-cli: Specify that `default-account-state` takes a value ( #3800 )
2022-11-04 17:06:40 +00:00
Jon Cinque
25817cbf08
token-cli: Support DefaultAccountState extension ( #3785 )
...
* token-cli: Support DefaultAccountState extension
* Switch to `default-account-state` flag
* Change error to assert
* Rebase fix
2022-11-03 00:50:51 +00:00
Jon Cinque
8e98905a8c
token-cli: Add non-transferable mint creation ( #3795 )
...
* token-cli: Add non-transferable mint creation
* Add alias
2022-11-03 00:35:30 +01:00
Tyera Eulberg
574fe73465
Fix CpiGuard typo, but actually DRY processor methods ( #3791 )
...
* Fix typo
* DRY CpiGuard
* DRY RequiredMemoTransfers
2022-11-02 10:33:37 -06:00
samkim-crypto
edac3c50f0
Disable confidential transfer tests ( #3786 )
...
* disable confidential transfer tests
* featurize additional parts of the code
2022-10-31 11:53:12 +09:00
samkim-crypto
abc77af1d9
Require pubkey validity proof when initializing confidential account ( #3784 )
2022-10-30 14:51:22 +09:00
hanako mumei
0bc2a02f00
token-cli: support cpi guard enable/disable
2022-10-29 00:07:33 -07:00
Jon Cinque
9610bed534
token-js: Bump version to 0.3.6 for release ( #3778 )
2022-10-28 18:24:00 -04:00
Jon Cinque
9db366cfb7
token: Fix some spelling mistakes ( #3777 )
2022-10-28 18:03:20 -04:00
samkim-crypto
16384e2f00
add destination confidential account test for withdraw withheld instructions ( #3774 )
2022-10-29 05:49:32 +09:00
samkim-crypto
1c3af5e53d
[token-2022] Add doc regarding the ability of withdraw withheld authority [ZELLIC-3.4] ( #3773 )
...
* Mention the corresponding proof instruction in the token instruction doc
* add warning about withheld fees authority
2022-10-29 04:11:47 +09:00
hanako mumei
fcb44af0f9
token-cli: more better errors in command_transfer
...
* check if the user needs to provide a memo
* dont let the user create ata accounts belonging to other token-owned accounts
* also, define valid program ids in one place and use for all tests
2022-10-27 11:18:54 -07:00
samkim-crypto
94b912a2b2
Add pubkey consistency check on account and proof data ( #3768 )
2022-10-27 16:49:55 +09:00
samkim-crypto
d6a72ebfe4
Add pubkey consistency check on account and proof data ( #3767 )
2022-10-27 12:40:26 +09:00
samkim-crypto
7a2702936d
remove transfer with fee instruction ( #3766 )
2022-10-27 10:26:33 +09:00
samkim-crypto
0c8fb24d47
upgrade solana-program to 1.14.6 ( #3765 )
2022-10-27 07:59:25 +09:00
Jon Cinque
aaabce2035
token-2022: Return errors for malformed extension data ( #3762 )
2022-10-26 11:16:00 -04:00
Jon Cinque
d331f47c52
token-2022: Remove redundant mint initialization check ( #3763 )
2022-10-26 11:15:32 -04:00
Jon Cinque
0ff8fe1546
token-2022: Error sooner when searching for an extension in TLV data ( #3761 )
2022-10-26 11:15:08 -04:00
hanako mumei
836c9e67a6
token-2022: implement CpiGuard
...
(this is a reversion of a previous reversion of the original CpiGuard commit)
2022-10-25 19:31:15 -07:00
Jon Cinque
b45641f634
token-2022: Clarify `decode_instruction_data` ( #3760 )
2022-10-25 21:57:26 -04:00
Jon Cinque
8d79d85969
token-2022: Add unnecessary owner checks for more clarity ( #3759 )
2022-10-25 21:31:34 -04:00
samkim-crypto
12c11f6f9c
let error propagate instead of panicking ( #3754 )
2022-10-26 09:37:37 +09:00
samkim-crypto
02b1265ec8
fix minor test data description ( #3752 )
2022-10-26 09:37:04 +09:00
samkim-crypto
bf10dfddf4
fix possible panic from short data length ( #3751 )
2022-10-26 09:36:46 +09:00
Athar Mohammad
94f78b2dcf
[token-js]: new overload of confirm tx in examples ( #3685 )
2022-10-25 19:52:33 -04:00
J
e69c7706fb
`spl-token` cli - use default config file ( #3738 )
...
* add missing load from CONFIG_FILE default path
2022-10-25 14:41:37 -07:00
Trent Nelson
2c28eaa036
Revert "token-2022: implement CpiGuard ( #3712 )"
...
This reverts commit 126fb93be2
.
2022-10-25 00:46:00 -06:00
hana
126fb93be2
token-2022: implement CpiGuard ( #3712 )
...
token-2022: implement CPI Guard
CPI Guard is an extension to block certain unsafe token operations from being done by programs through CPI
2022-10-24 18:36:57 -07:00
Jon Cinque
17b63e96b9
ci: Update twotx.patch to apply properly ( #3748 )
2022-10-24 20:58:47 -04:00
hanako mumei
d02d49e267
fix comment, remove allow dead code
2022-10-17 16:09:41 -07:00
bji
a7f6f8811e
token-cli: Only require default signer for commands which use it ( #3293 )
2022-10-14 17:50:33 +02:00
hanako mumei
88b147506d
bump token-cli to 2.1.1 and token-client to 0.2.1
2022-10-12 10:48:23 -07:00
hanako mumei
3a87c8fc0a
update solana to 1.14.4
2022-10-12 10:48:23 -07:00
hanako mumei
5f189d1fc0
bump token-client to 0.2.0 and token-cli to 2.1.0
2022-10-10 17:36:34 -07:00
hanako mumei
c5a6d0ae31
token-cli: dont push fee_payer to bulk_signers
2022-10-08 21:41:21 -07:00
hanako mumei
51f5e93e4e
token-client: clean up useless temp vecs
2022-10-07 14:08:27 -07:00
hanako mumei
a5a565b56c
token-client: move decimals from Token methods to struct
2022-10-07 12:24:36 -07:00
hanako mumei
4842217611
token-cli: final accounts command cleanups
2022-10-07 10:18:55 -07:00
hanako mumei
7583907f10
token-cli: display delegate and close for accounts
2022-10-07 10:18:55 -07:00
hanako mumei
61bee36db6
token-cli: fliter accounts display by delegate or close
...
also add ability to print only account addresses
2022-10-07 10:18:55 -07:00
hanako mumei
4b4bbb3959
token-cli: improve accounts header display
2022-10-07 10:18:55 -07:00
hanako mumei
b0903340b9
token-cli: support multiple programs for `spl-token accounts`
...
also remove decimals from CliTokenAccount, which turns out to be extraneous
2022-10-07 10:18:55 -07:00
hanako mumei
200b2acab4
token-cli: final fixes for client conversion
2022-10-06 17:33:34 -07:00
hanako mumei
2c6fbf7c67
token-cli: make gc transfer tokens from uncloseable
...
also change client transfer to use idempotent associated account instruction
2022-10-06 17:33:34 -07:00
hanako mumei
f8d82e5dbd
token-cli: safer behavior for transfer decimals
2022-10-06 17:33:34 -07:00