Commit Graph

59 Commits

Author SHA1 Message Date
Matthew Callens 7101ece803
spl: import TokenMetadataAccount (#2123) 2022-08-13 15:27:10 -04:00
Armani Ferrante e134cce3f3
spl: import deref (#2122) 2022-08-13 14:59:49 -04:00
Kevin Rodríguez d3ee9b529a
spl: adding metadata account type (#2014) 2022-08-13 14:44:38 -04:00
Matthew Callens 000e74ed48
spl: add create metadata v3 and set collection size ix (#2119)
* add create metadata v3 and set collection size ix

* update changelog
2022-08-12 12:11:43 -04:00
Armani Ferrante 9b61bbc626
bump solana-program version (#2027) 2022-07-04 23:58:31 -04:00
mkrs 1490d5f129
spa: adds update metadata instruction cpi wrapper (#1897) 2022-05-16 12:27:02 -04:00
Armani Ferrante ef178e5217
token metadata and accounts resolver update (#1896) 2022-05-15 18:28:11 -04:00
Pierre 282c394666
feat: add sync native to anchor_spl::token (#1833) 2022-04-25 13:39:35 -04:00
Paul 9a48f40e3d
spl: add more derives for `TokenAccount` and `Mint` (#1818) 2022-04-20 17:50:30 -04:00
Paul 4d9bd6adc6
spl: change "to" to "from" in token::burn (#1729)
Co-authored-by: Thomas Moussajee <thomas.moussajee@gmail.com>
2022-04-11 13:00:04 -04:00
Matthew Callens 4e4ca55c57
spl: re-export `spl-token` crate (#1665) 2022-03-22 23:33:34 -04:00
mgild 552789a072
Update governance.rs: Fixup anchor return types (#1582) 2022-03-10 15:30:49 -05:00
Rohan Kapur 4e8bb08cc4
spl: Add support for the spl_token revoke (#1493) 2022-03-03 15:46:17 -05:00
Paul febb0d07ba
spl: atoken error redesign (#1507) 2022-02-22 17:38:16 -05:00
Paul 40596824bf
error redesign (#1462) 2022-02-20 17:28:24 -05:00
Paul 2390a4f167
lang: fix error mod exports (#1426) 2022-02-10 15:54:12 -05:00
S1nus a662577018
spl: update voter weight wrapper for governance (#1402) 2022-02-07 13:26:57 -05:00
Blas Rodriguez Irizar ba131265f8
cli, spl: fix compilation for tests with --all-features (#1389) 2022-02-03 19:15:23 -05:00
Paul a830644203
lang: export accounts module, re-export its types in the prelude (#1208) 2022-01-06 15:26:43 -05:00
Paul 22c2c30ef4
lang: use phantomdata in account type instead of '_account: T' (#1155) 2021-12-27 13:01:46 -05:00
Paul b5827c1b24
lang: add default impls for AccountSerialize and AccountDeserialize (#1156) 2021-12-27 10:36:29 -05:00
Henry-E ed85c9b3de
spl: Remove token program account infos (#1123) 2021-12-18 13:11:43 -05:00
Christian Kamm 512bb95808
spl: Fix governance try_deserialize_unchecked to not check discriminator (#1105) 2021-12-07 15:24:21 -05:00
Armani Ferrante be4e946040
spl: Move permissioned market proxy (#962) 2021-11-30 12:44:15 -08:00
Armani Ferrante 62fcd75401
spl, tests: Use feature flag for dex (#985) 2021-11-11 14:12:50 +00:00
Paul 54f24e5596
spl: Feature gate modules and only enable token, mint, and associated token by default (#973) 2021-11-06 13:49:06 +00:00
Armani Ferrante 6ab714a5a5
Bump solana-program v1.8.0 (#886) 2021-10-24 17:42:52 -07:00
jpbogle 8e52242b8c
spl: Add thaw_account token utility (#867) 2021-10-10 17:18:17 -07:00
jpbogle 5e9cede699
spl: Add freeze_account token utility (#865) 2021-10-10 14:14:38 -07:00
Alan O'Donnell 9d33e13465
lang: Remove mandatory init when using associated_token constraints (#843) 2021-10-07 13:57:47 -07:00
Armani Ferrante 2c827bc839
lang, spl, cli: Add associated_token keyword (#790) 2021-09-23 17:06:38 -07:00
Tommy Johnson 8eec4d3e3d
spl: Update middleware settle funds log (#738) 2021-09-14 20:11:58 -05:00
suscd e763b721c3
spl: Add token `close_account` instruction (#714) 2021-09-11 17:35:21 -07:00
Armani Ferrante b1ef7431ec
lang, spl: Program and Signer types (#705) 2021-09-11 14:43:12 -07:00
Armani Ferrante 3958533750
Static owner and program ID checks (#686) 2021-09-07 13:06:15 -07:00
Henry-E fef207dc83
lang, examples: Add mint initialization constraints (#562) 2021-08-14 18:18:28 -07:00
Zorro 48a2e4ad0e
spl: Add rent sysvar to initialize_market cpi accounts (#582) 2021-08-05 17:09:11 -07:00
Zorro 0b077c4b34
spl: Add initialize_market instruction to dex cpi (#576) 2021-08-05 11:14:46 -07:00
Armani Ferrante 1bea1bcbfc
Prune ix and solana version pinning (#569) 2021-08-03 12:50:43 -07:00
Armani Ferrante d9a39cdf09
spl: Fix clippy (#561) 2021-07-29 17:55:06 -07:00
Armani Ferrante 0998422348
spl: Add prune ix to dex middleware (#543) 2021-07-21 22:01:13 -07:00
Armani Ferrante 615764b9c8
examples, spl: Permissioned markets via proxy middleware (#519) 2021-07-18 11:39:56 -07:00
Armani Ferrante bb89cc3f72
spl: Fmt (#535) 2021-07-18 01:06:34 -07:00
suscd 255adef839
spl: Add cpi helper for token `intitialize_mint` (#529) 2021-07-16 16:07:07 -07:00
Henry-E f26e0f7499
spl: Add cancel orders (#484) 2021-07-06 09:41:45 -07:00
Kirill Fomichev 1aa019cb0f
Apply clippy rules (#431) 2021-06-27 17:09:46 -07:00
Armani Ferrante f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
Dana Hanna 96c898ddb4
spl: Fix rent required on InitializeAccount (#430) 2021-06-27 09:59:26 -07:00
Armani Ferrante 265eedc5a3
spl: Add init and close open orders instructions to the dex (#245) 2021-05-31 11:52:46 -07:00
Armani Ferrante 6b5ed789fc
lang, spl, cli: Refactor to preserve span information (#341) 2021-05-30 12:59:33 -07:00