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
hanako mumei
7b86fc9038
token-cli: remove handle_tx
2022-10-06 17:33:34 -07:00
hanako mumei
7847f35f1e
token-cli: convert transfer to client
2022-10-06 17:33:34 -07:00
hanako mumei
e6739b5bae
token-cli: convert gc to client
...
add new client function empty_and_close_auxiliary_account which does what it says
also remove sign-only mode from command_close to permit client close behave more sensibly
2022-10-06 17:33:34 -07:00
hanako mumei
186303a9d2
token-cli: convert create_multisig to client
2022-10-06 17:33:34 -07:00
hanako mumei
37168db058
token-cli: convert required memos and interest rate to client
2022-10-06 17:33:34 -07:00
hanako mumei
7e3a62473b
token-client: convert extended functions to new interface
...
covers all extensions except confidential transfers
2022-10-06 17:33:34 -07:00
Jon Cinque
96ce922727
token-cli: Add directions for building and running tests ( #3673 )
2022-10-06 19:37:22 +02:00
Noah Gundotra
b0d84fc44d
Account Compression: 0.1.2 release ( #3672 )
...
* ac: expose wrap_application_data_v1, hide wrap_event
* ac: separate event deserialization methods, update IDL
* ac: add test for deserializing application data event
* ac: add crate READMEs, update top-level README
* ac: bump version to 0.1.2
2022-10-06 11:58:16 -05:00
mwrites
f61af23932
[token-js] : JS binding for CreateIdempotent instruction ( #3558 )
...
* JS binding for CreateIdempotent instruction
* revert
* newline
* Removed Idempotent flag and extracted Idempotent logic to its own set of functions
* Conventions
2022-10-06 16:56:32 +02:00
Noah Gundotra
c84f65c5ff
account-compression: update program ids in 0.1.1 ( #3670 )
2022-10-05 15:27:59 -05:00
timkoopmans
4e09bd54fb
typo
2022-10-04 15:59:29 -07:00
hanako mumei
065e62922a
token-cli: load config if exists without -C
2022-09-29 14:34:05 -07:00
Sebastian Bor
aaaf537be3
Governance: Move reserved space to GovernanceConfig ( #3628 )
...
* chore: move reserved space to GovernanceConfig
* chore: fix build
2022-09-27 21:23:43 +01:00
Noah Gundotra
271c13b20c
Account Compression: Add Close Tree Instruction ( #3641 )
...
* ac: add close tree instruction
* ac: update sdk with close tree instruction
* ac: test close tree instruction
2022-09-26 09:52:51 -04:00
samkim-crypto
50abadd819
token-2022: integrate memo into confidential extension ( #3587 )
...
* resolve conflict
* add test for confidential extension with memo
* add test for confidential transfer with memo
* change proof instruction order for memo
* resolve conflict
* minor
* rename new_with_memo to new_with_required_memo_transfers
* fix failing tests due to rebase
* fix failing tests due to rebase
2022-09-26 12:27:44 +09:00
IDrawCharts
1f6e9262a8
Fixed typo ( #3643 )
2022-09-25 10:35:20 -04:00
Alexander Meißner
7172b329a2
Same thing as in #3637 but for with_upgrade_program_transaction(). ( #3642 )
2022-09-24 13:23:45 +02:00
Noah Gundotra
410390b301
cmt: add method to check if the tree is empty ( #3640 )
2022-09-23 16:30:50 -04:00
Alexander Meißner
aa5fdee00a
Refactor `test_create_program_governance` ( #3637 )
...
* Splits the unrealistically large transaction generated by with_governed_program() into many.
* Update apt packet list before attempting install in CI.
2022-09-23 21:36:34 +02:00
Noah Gundotra
dad3fbaf1c
Account Compression: Version ChangeLog + Test ( #3632 )
...
* AC: export idl in SDK, add cmt helper functions
* AC: remove unnecessary events, emit statements
* AC: update noop program id
* AC: make events a typed struct (remove anchor event attr)
* AC: update AC program id, only emit events via cpi
* AC: update TS sdk
* AC: add event tests
* AC: update Anchor.toml
* AC: remove old program ids
2022-09-22 15:05:24 -04:00
Sebastian Bor
7fdb082445
Governance: Implement Absolute max voter weight source ( #3627 )
...
* feat: Implement Absolute max voter weight source
* chore: Rename max_vote_weight to max_voter_weight
* chore: update comments
* chore: test_try_tip_vote_with_reduced_absolute_mint_max_vote_weight_and_vote_overflow
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-09-22 09:40:44 -04:00
hanako mumei
e988b163bb
token-cli: constrain program id input
2022-09-21 10:37:53 -07:00
hanako mumei
2ae2a6bdf3
token-cli: test --immutable, final cleanups
2022-09-21 10:37:53 -07:00
hanako mumei
304e1bd0f7
token-cli: implement --immutable for wrap
2022-09-21 10:37:53 -07:00
hanako mumei
5756e7f9b7
token-cli: convert unwrap and sync_native to client
...
also allow client to control its own nativeness (nativity?)
2022-09-21 10:37:53 -07:00
hanako mumei
953e06b3a2
token-client: support wrap
...
also convert cli to use client for wrap
2022-09-21 10:37:53 -07:00
hanako mumei
6b05f02be7
token-cli: implement --immutable for create-account
2022-09-21 10:37:53 -07:00
hanako mumei
697a9e3d5e
token-cli: convert create-account to use client
2022-09-21 10:37:53 -07:00
Noah Gundotra
9205a61a3f
AC: version on-chain accounts ( #3619 )
2022-09-21 09:16:11 -04:00
Jarry Xiao
318ced195f
Added prototype for managed-token program ( #3573 )
...
* Added prototype from managed-token program
2022-09-20 19:03:51 -04:00
Lucio M. Tato
54695b2334
Governance: add notes to ease collaboration ( #3617 )
2022-09-19 10:30:10 +01:00
hanako mumei
e5d4b824b7
token-cli: remove unnecessary fetch for memo transfers
2022-09-16 13:24:16 -07:00
Noah Gundotra
8528f92f07
SPL Account Compression JS Package ( #3609 )
...
* AC: fix tsconfig json files for publishing js package
* AC: fix package.json module exporting, move mpl to peerDeps
* AC: rename program ids and addresses to match crate
2022-09-16 15:56:31 -04:00
Andrii Tretyakov
feeda6a61e
token-cli: Memo transfer extension ( #3525 )
...
token-cli: Add support for required transfer memos
2022-09-16 11:17:42 -07:00
Jon Cinque
6099f41dd3
farms: Update docs to build-bpf instead of build-sbf ( #3612 )
2022-09-16 01:25:57 +02:00
Jon Cinque
8636eb3270
token-upgrade-cli: Use test-validator instead of validator ( #3611 )
2022-09-15 22:59:14 +02:00
Jon Cinque
98c6d3be82
ci: Add clap-v3-utils to patch and update scripts ( #3610 )
2022-09-15 22:20:41 +02:00
Jon Cinque
fa534e987a
token-upgrade: Add CLI and docs ( #3593 )
...
* token-upgrade: Add CLI and docs
* Remove build.rs and build by hand
* Exclude token-upgrade-cli from cargo-build-test
* Use user-friendly token-client response printing
* Make docs consistent with implementation + other feedback
* Remove integer arithmetic
* Make required parameters `required()`
2022-09-15 20:25:40 +02:00