Commit Graph

78 Commits

Author SHA1 Message Date
Matthew Callens 5e13431aca
spl: update mpl metadata crate and add more wrappers (#2430)
* update mpl metadata crate and add more wrappers

* update changelog
2023-03-09 14:36:31 -05:00
Kyle Espinola 6f4f32a9c5
feat: add master edition account deserialization to spl metadata (#2393) 2023-02-27 17:29:13 +00:00
Tristyn Stimpson e1fd686ef2
Idempotent typo (#2406) 2023-02-27 17:27:53 +00:00
Jon Cinque 777f2eace1
interface: Support multiple programs with the same interface via token-2022 (#2386) 2023-02-27 10:55:08 +00:00
Matthew Callens 9044b9b8cd
spl: add spl token approve checked wrapper (#2401)
* add spl token approve checked wrapper

* update changelog
2023-02-21 02:49:07 -05:00
nojob1 872d084e00
--fix clippy (#2388) 2023-02-06 11:16:23 +00:00
Henry-E 11642929ac
Spl token transfer checked (#2353) 2023-01-05 10:02:36 +00:00
Henry-E 8f3291a1f5
Revert "Added token::transfer_checked wrapper to token (#2351)" (#2352)
This reverts commit a068171aee.
2023-01-04 16:39:18 +00:00
Barebox a068171aee
Added token::transfer_checked wrapper to token (#2351) 2023-01-04 16:19:40 +00:00
Jean Marchand (Exotic Markets) fad05805d8
spl: change serum-dex to openbook-dex (#2308)
* Change serum-dex by openbook-dex

* Change serum-dex by openbook-dex in tests

* Fix swap

* Fix cfo

* Downgrade openbook

* Disable cfo and update changelog

* Revert lock file

* minor grammar

* update the pubkey to open dex

* Remove @solana/web3.js from ts package.json

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:12:33 +00:00
Pierre 98f26ce8cf
feat: ata create idempotent and drop rent (#2153)
* feat: ata create idempotent and drop rent

* add the token program id

* cargo fmt

Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
Co-authored-by: henrye <henry@notanemail>
2022-12-05 17:11:42 +00:00
Jean Marchand (Exotic Markets) 8ce18c36db
spl: Update instructions and remove rent from constraints (#2265)
* Update spl instructions and remove the rent sys_var from constraints

* Fix initialize mint

* Update changelog and fix examples

* Remove oversights
2022-11-19 12:59:14 +00:00
Henry-E 7a0a37e0f8
Update solana to version 1.13.3 (#2239)
* upgrade solana version to 1.13.3

* get everything to compile correctly

* update to using struct constructor to avoid deprecated field usage

* update deprecated functions

* more fixes to pass tests

* update auction-house submodule commit

* update the swap submodule

Co-authored-by: henrye <henry@notanemail>
2022-10-29 15:23:13 +01:00
Han Yang 3970847e75
stake (#2195) 2022-09-24 14:11:12 -04:00
Gajesh Naik 2a07d841c6
implemented more token_metadata wrappers (#2179) 2022-09-13 22:27:14 -04:00
0xWoo e019ba2199
metadata: verify_collection & refactor results (#2151) 2022-09-13 18:05:24 -04:00
Matthew Callens f155996c3c
add wrappers for mpl `sign_metadata` and `remove_creator_verification` (#2175)
* add wrappers for mpl creator verification ix

* update changelog
2022-09-10 16:32:29 -04:00
Matthew Callens 4c24c5d7b1
add `update_primary_sale_happened_via_token` ix wrapper for `metadata` (#2173)
* add update_primary_sale_happened_via_token ix wrapper

* update changelog
2022-09-10 15:57:27 -04:00
surfertas 0c70d183ef
add freeze and thaw delegated account instructions (#2164) 2022-09-06 10:30:50 -04:00
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