Commit Graph

109 Commits

Author SHA1 Message Date
Jack May 449d74ba90 backport #433 to v2 2020-09-21 17:08:37 -07:00
Tyera Eulberg 70009b3bc3
Bump spl-token v2 (#480) 2020-09-19 00:37:21 +00:00
Jack May 80ea6ff536
Fix multisign check (#479) 2020-09-18 15:53:26 -07:00
Michael Vines b89b0c81d2 Nit: add current 2020-09-16 08:55:03 -07:00
dependabot[bot] 9d9545c98d
Bump solana-sdk from 1.3.9 to 1.3.11 (#454)
Bumps [solana-sdk](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases)
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md)
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 09:22:53 +00:00
Justin Starry 708bb430ab
Bump dependencies from 1.3.8 to 1.3.9 (#415) 2020-09-10 17:25:43 +08:00
Trent Nelson 9eb10d9144 Unrelated clippy... 2020-09-04 01:18:44 -06:00
Trent Nelson e00a6f1add Bump Token version to 2.0.4 2020-09-04 01:18:44 -06:00
Trent Nelson b15eb09cfb Bump solana crates to 1.3.8 2020-09-04 01:18:44 -06:00
Michael Vines 1247e539a7 Fix up doc quotes 2020-08-29 21:59:35 -07:00
Michael Vines 9e23bc94cb Update to Solana 1.3.6 2020-08-29 22:12:00 +00:00
Tyera Eulberg 510d34198b
Bump token program id, version (#361) 2020-08-29 02:44:03 -06:00
Jack May 7b5eb2a2a5
Fix account size comparisons (#359) 2020-08-28 23:21:57 +00:00
Tyera Eulberg d11dbba955
Bump version (#357) 2020-08-28 19:34:29 +00:00
Jack May 815cca3cb8
Don't repack if not needed (#355) 2020-08-28 12:03:10 -07:00
Jack May 64a9e151e0
Remove last unsafes (#354) 2020-08-28 12:12:12 -06:00
Tyera Eulberg b4a3674437
s/AccountHolder/AccountOwner (#356) 2020-08-28 12:11:57 -06:00
Greg Fitzgerald 6761f440ab
Token nits (#353) 2020-08-28 10:12:05 -06:00
Michael Vines 81ac32e3be Update token.h 2020-08-27 23:32:07 -07:00
Michael Vines 0a47a3127c Move c header generation out of build.rs 2020-08-27 23:32:07 -07:00
Tyera Eulberg 13a279c0b4
Bump spl-token to v2 (#352) 2020-08-28 00:29:55 -06:00
Michael Vines 68660c8011 Fix various quotes in documentation 2020-08-27 22:41:34 -07:00
Jack May 2a5acff2d8
Safer pack/unpack (#349)
* Safer pack/unpack

* fix cli

* clippy

* fix swap

* nit

* clippy

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-08-27 21:19:15 -07:00
Tyera Eulberg 74bf8a1f58
New spl-token v1.1 program id (#348) 2020-08-27 19:41:14 -06:00
Michael Vines 18a380cb50 Update token.h 2020-08-28 00:47:35 +00:00
Michael Vines 12f941d7fc Adjust native mint 2020-08-28 00:47:35 +00:00
Michael Vines b60eb8fbee Add Transfer2/Approve2/MintTo2/Burn2 instructions for improved hardware wallet support 2020-08-28 00:47:35 +00:00
Tyera Eulberg 2e6162abbd C headers doc 2020-08-27 16:17:38 -07:00
Tyera Eulberg b2b20444e5 Require valid Mint for InitializeAccount 2020-08-27 16:17:38 -07:00
Tyera Eulberg 0b71752d45
Use checked math everywhere (#346) 2020-08-27 14:31:59 -06:00
Tyera Eulberg 49e6e4a589
Reinstate Mint supply (#342)
* Reinstate Mint supply, and adjust with Minto & Burn

* C headers

* Patch token-cli

* Patch token-swap
2020-08-27 13:06:23 -06:00
Tyera Eulberg fec5717d2a More C headers 2020-08-27 09:40:31 -07:00
Tyera Eulberg 8d0ba35407 Combine Account is_native and rent_exempt_reserve fields; wrapped SOL amount reflects only amoutn over rent_exempt_reserve 2020-08-27 09:40:31 -07:00
Tyera Eulberg 181cdfa170 C headers 2020-08-27 09:40:31 -07:00
Tyera Eulberg 2e5056f70d Add Account.rent_exempt_reserve 2020-08-27 09:40:31 -07:00
Tyera Eulberg a5c1bb470d Pass rent_sysvar into init Instructions and check rent-exempt 2020-08-27 09:40:31 -07:00
Michael Vines 81d18e590d InitializeMint's mint authority is no longer optional 2020-08-26 23:43:45 -07:00
Michael Vines b62c2721fa Update token.h 2020-08-26 23:10:18 -07:00
Michael Vines 2815165c14 Relocate program2 into program 2020-08-26 23:10:18 -07:00
Michael Vines 20b6ee04a3 Remove token 1.0 2020-08-26 23:10:18 -07:00
dependabot[bot] 036cca36b6 Bump solana-sdk from 1.3.2 to 1.3.4
Bumps [solana-sdk](https://github.com/solana-labs/solana) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/solana-labs/solana/releases)
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md)
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.2...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 09:05:29 -07:00
Jack May 9df7b22087
Fix overflow when amounts are u64::MAX (#310) 2020-08-25 08:48:26 -07:00
Michael Vines 62cb0e2dd9 Remove duplicate 2020-08-20 17:47:49 -07:00
Michael Vines c64f29e0d8 Update version 2020-08-20 13:41:27 -07:00
Michael Vines b619da32ae Bump version to 1.0.8 2020-08-14 18:08:46 -07:00
Michael Vines db6f414589 Back out 'Add support for self transfers (#210)' 2020-08-14 22:50:18 +00:00
Michael Vines e440466311 Add token program2 2020-08-14 22:50:18 +00:00
Michael Vines 480c88ceaf Exclude DECIMALS 2020-08-14 17:57:46 +00:00
Michael Vines e345b1cb17 Remove extra whitespace 2020-08-14 17:57:46 +00:00
Michael Vines e2ac634c3e Bump token version 2020-08-14 08:48:12 -07:00
Michael Vines 69ec1d7ca7 clippy 2020-08-14 08:48:12 -07:00
Michael Vines bf1b3259b9 Bump version to v1.0.7 2020-08-14 01:22:11 +00:00
Michael Vines 77e43016f1 clippy 2020-08-14 01:22:11 +00:00
Jack May 706e619bdd
cbindgen does not produce deterministic header files (#261) 2020-08-11 16:09:36 -07:00
Trent Nelson d279eb48e5
Truncate SPL Token instruction data field (#260) 2020-08-11 16:41:56 -06:00
Michael Vines d37626e360 Move program READMEs back 2020-08-08 23:04:16 +00:00
Michael Vines 7225f8d35c Update token.h 2020-08-08 15:25:47 -07:00
Michael Vines a22908bbd9 Relocate js 2020-08-08 15:25:47 -07:00
Michael Vines 26ab9bb26a Reorganize crates based on program 2020-08-08 15:25:47 -07:00