mergify[bot]
64b6372f9c
cli-output: Add CliTokenAccount type (bp #12466 ) ( #12468 )
...
* account-decoder: Add string format helpers to UiTokenAmount
(cherry picked from commit bb144bf758 )
* cli-output: Add CliTokenAccount type
(cherry picked from commit d95bce2600 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-09-25 06:05:19 +00:00
mergify[bot]
e545bdcb51
Bump spl-token (bp #12395 ) ( #12400 )
...
* Bump spl-token (#12395 )
(cherry picked from commit e1a212fb79 )
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-09-23 01:08:20 +00:00
mergify[bot]
bad0709ff1
Update to token pack/unpack changes (bp #11900 ) ( #11903 )
...
* Update to token pack/unpack changes (#11900 )
(cherry picked from commit 2eff9a19c3 )
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-29 05:46:07 +00:00
mergify[bot]
2a649e990d
Update spl-token to v2.0 (bp #11884 ) ( #11897 )
...
* Update spl-token to v2.0 (#11884 )
* Update account-decoder to spl-token v2.0
* Update transaction-status to spl-token v2.0
* Update rpc to spl-token v2.0
* Update getTokenSupply to pull from Mint directly
* Fixup to spl-token v2.0.1
(cherry picked from commit 76be36c9ce )
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-28 23:36:53 +00:00
mergify[bot]
6a60d7bf8e
Adapt RpcClient to recent token method changes ( #11519 ) ( #11548 )
...
* Avoid skip_serializing_if since that breaks deserialization
* Adapt RpcClient to recent token method changes
(cherry picked from commit 17645ee20c )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-11 17:31:57 +00:00
mergify[bot]
a1b238280b
Return delegated amount as UiTokenAmount ( #11475 ) ( #11477 )
...
* Return delegated amount as UiTokenAmount
* Omit delegate and delegatedAmount when none
(cherry picked from commit 88d8d3d02a )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-09 00:01:01 +00:00
mergify[bot]
fa9aa0a1d7
Token Accounts: return ui_amount, decimals with decoded account ( #11407 ) ( #11453 )
...
* Return ui_amount, decimals from token client methods
* Return ui_amount, decimals in RPC jsonParsed token accounts
* Fixup docs
* Return ui_amount, decimals in pubsub jsonParsed token accounts
* Remove unnecessary duplicate struct
* StringAmount rename
(cherry picked from commit b7c2681903 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-07 19:05:35 +00:00
Tyera Eulberg
308186da79
Rework parsed account format ( #11372 )
...
* Rework parsed account format
* Serialize as type
2020-08-05 00:59:10 -06:00
Tyera Eulberg
86e3f96f16
Return token amounts as floats ( #11370 )
...
* Return token amounts as floats
* Floating-point equality
* Return float and raw token amounts
* Fix decimals and token rpcs for native-mint tokens
* Fixup docs and review comments
2020-08-05 06:48:09 +00:00
Michael Vines
ffbd859c42
Update spl-token and spl-memo
2020-08-02 07:53:42 -07:00
Tyera Eulberg
0f551d4f75
Decode token instructions ( #11281 )
...
* Token->SplToken
* Add spl_token instruction parsing
* Rebase on master
* Gracefully fail key len mismatches
2020-07-31 13:26:09 -06:00
Michael Vines
c78e12a262
Avoid spl-sdk dependency, which inhibits crate publishing
2020-07-30 23:47:26 +00:00
Tyera Eulberg
b45ac5d4db
Add SPL Token-specific rpc endpoints ( #11231 )
...
* Simplify account-decoder program ids + spl_token helper
* Spl program namespace version
* Add getTokenAccountBalance endpoint
* Remove token program id from getTokenAccountBalance request
* Add getTokenSupply endpoint
* Remove token program id from getTokenSupply request
* Add getTokenAccountsByOwner/Delegate endpoints
* Remove token program id from getTokenAccountsByOwner/Delegate requests
* Named parameter
2020-07-28 23:00:48 -06:00
Tyera Eulberg
32fea0496e
Add token account decoding ( #11136 )
...
* Add token decoding
* Bump versions
2020-07-24 17:45:21 -06:00