Commit Graph

823 Commits

Author SHA1 Message Date
dependabot[bot] 92457f774c
Bump cbindgen from 0.14.2 to 0.14.4 (#372)
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.14.2 to 0.14.4.
- [Release notes](https://github.com/eqrion/cbindgen/releases)
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES)
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.14.2...v0.14.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 08:26:09 +00:00
Justin Starry 8e1bff0a72
Fix token-js CI tests (#371) 2020-08-30 14:31:58 +08: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
Michael Vines 858dd64f6b Update to solana 1.3.6 2020-08-29 14:37:10 -07:00
Michael Vines eb1f41c4b6 Adapt to LEN 2020-08-29 14:37:10 -07:00
Michael Vines 51b3465b17 Bump spl-token-cli version 2020-08-29 08:41:25 -07:00
Justin Starry f9c3dd1f67 Bump @solana/spl-token to v0.0.7 2020-08-29 17:04:59 +08:00
Justin Starry 05cc84ea64
Remove extra account padding (#363) 2020-08-29 17:03:24 +08:00
Justin Starry cbba9b3d6c
Fix isInitialized when account is frozen (#362) 2020-08-29 16:44:57 +08:00
Tyera Eulberg 510d34198b
Bump token program id, version (#361) 2020-08-29 02:44:03 -06:00
Jack May 05999a91ed
Update token docs (#360) 2020-08-29 00:16:55 +00:00
Michael Vines 0c8981731b Bump version 2020-08-28 16:25:59 -07:00
Jack May 7b5eb2a2a5
Fix account size comparisons (#359) 2020-08-28 23:21:57 +00:00
Michael Vines dc8dcc0222 Disable token-swap flow 2020-08-28 16:16:24 -07:00
Justin Starry 3691b14a01 Update token js bindings 2020-08-28 16:02:32 -07:00
Michael Vines aa1489df2e Disable C header generation in CI 2020-08-28 16:01:58 -07: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
Michael Vines 73e2455d60 Relocate test-client 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 142e8e2ea6 Temporarly disable C header checks 2020-08-28 00:47:35 +00: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 c63e1f0f97 Cargo.lock 2020-08-27 09:40:15 -07:00
Michael Vines b58677f554 Bump some crate versions 2020-08-27 09:39:35 -07:00
dependabot[bot] 4893198a68 Bump solana-account-decoder from 1.3.2 to 1.3.4
Bumps [solana-account-decoder](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-27 09:38:45 -07:00
dependabot[bot] d42eda8d68
Bump @babel/core from 7.11.1 to 7.11.4 in /token-swap/js (#337)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.1 to 7.11.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.4/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 23:55:23 +08:00
Michael Vines 81d18e590d InitializeMint's mint authority is no longer optional 2020-08-26 23:43:45 -07:00
Michael Vines 5fccbc5ac8 Disable token/js tests pending resolution of #332 2020-08-26 23:10:18 -07:00
Michael Vines c671fdcd3a Update token-swap for token2 2020-08-26 23:10:18 -07:00
Michael Vines b62c2721fa Update token.h 2020-08-26 23:10:18 -07:00