Jon Cinque
f2056358b7
token: Add checks for mixed type initialization ( #2723 )
...
* token: Add checks for mixed type initialization
* Address feedback
2022-01-12 01:33:02 +01:00
Michael Vines
991eb83a67
Confidential transfer extension
2022-01-11 13:22:20 -08:00
Michael Vines
2caec406bc
Rename StateWithExtensionsMut::get_extension()
2022-01-10 13:15:02 -08:00
Michael Vines
7f0e86cc0f
Harden StateWithExtensions unpacking
2022-01-08 09:20:02 -08:00
Tyera Eulberg
d166e28836
Strip extension account-type prefixes ( #2715 )
...
* Strip account-type prefixes
* Edit comment
2022-01-07 16:46:01 -07:00
Michael Vines
3cc92d294a
How about ConfidentialTransferState and ConfidentialTransferAuditor?
2022-01-07 14:58:41 -08:00
Michael Vines
5fe1eb6a9d
Add Confidential Transfer Extension boilerplate
2022-01-07 14:58:41 -08:00
Michael Vines
7cc9bd7013
Move each extension into its own module
2022-01-06 09:41:06 -08:00
Jon Cinque
eedcbd8602
token: Extension state packing ( #2642 )
...
* token: Extension state packing
* Move to bytemuck
* Cleanup a bit
* Remove all unsafe, address feedback
* Address feedback
* Add test for multisig-length account
* Add tests for Account and multi-extension
* Remove last todo
* Add more tests
2022-01-04 17:55:51 -05:00
Jon Cinque
6ee008d256
Update SDK to 1.9.2, fix warnings ( #2674 )
...
* Update SDK to 1.9.2, fix warnings
* Upgrade honggfuzz
* Use `get_latest_blockhash` correctly
2021-12-28 23:02:47 -05:00
Dmitri Makarov
e039957fc4
Increase compute max units in program-2022 assert_instruction_count ( #2655 )
2021-12-21 10:59:44 -08:00
Jon Cinque
2cd68d3f5c
token-2022: Add transfer fee types and instructions ( #2608 )
...
* token-2022: Add transfer fee accounts and instructions
* Address feedback
* More feedback
* Move to mixins
* Separate instructions for mixin initialization
* Feedback again again again!
* Getting there...
* More more feedback again again
* Add `WithdrawWithheldTokensFromAccounts` instruction
* Add instruction serde, fix all errors
2021-12-14 23:36:02 +01:00
Michael Vines
1a0155e34b
Update to Rust 1.57.0
2021-12-09 23:56:47 -08:00
Jon Cinque
7764a9d5c7
token: Transition perf-monitor to solana-program-test ( #2586 )
...
* token: Transition perf-monitor to solana-program-test
* fmt
* Refactor for clarity
2021-11-16 23:15:45 +01:00
Michael Vines
9acb082dc3
Upgrade to Solana v1.8.1
2021-10-20 22:52:19 -07:00
Michael Vines
1c417ffa4f
Fork Token 2022 program
2021-10-12 10:43:58 -07:00