Fix up spl-token docs (#379)
* Fixup spl-token docs * Apply suggestions from code review Co-authored-by: Michael Vines <mvines@gmail.com> Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
parent
0637e358bc
commit
07dcf3a1ec
|
@ -24,12 +24,12 @@ The Token Program's source is available on
|
||||||
|
|
||||||
The on-chain Token Program is written in Rust and available on crates.io as
|
The on-chain Token Program is written in Rust and available on crates.io as
|
||||||
[spl-token](https://docs.rs/spl-token). The program's [instruction interface
|
[spl-token](https://docs.rs/spl-token). The program's [instruction interface
|
||||||
documentation](https://docs.rs/spl-token/2.0.1/spl_token/instruction/enum.TokenInstruction.html)
|
documentation](https://docs.rs/spl-token/2.0.3/spl_token/instruction/enum.TokenInstruction.html)
|
||||||
can also be found there.
|
can also be found there.
|
||||||
|
|
||||||
Auto-generated C bindings are also available for the on-chain Token Program and
|
Auto-generated C bindings are also available for the on-chain Token Program and
|
||||||
available
|
available
|
||||||
[here](https://github.com/solana-labs/solana-program-library/blob/master/token/inc/token.h)
|
[here](https://github.com/solana-labs/solana-program-library/blob/master/token/program/inc/token.h)
|
||||||
|
|
||||||
[Javascript
|
[Javascript
|
||||||
bindings](https://github.com/solana-labs/solana-program-library/blob/master/token/js/client/token.js)
|
bindings](https://github.com/solana-labs/solana-program-library/blob/master/token/js/client/token.js)
|
||||||
|
@ -254,6 +254,9 @@ These accounts have a few unique behaviors
|
||||||
- Burning is not supported
|
- Burning is not supported
|
||||||
- When closing an Account the balance may be non-zero.
|
- When closing an Account the balance may be non-zero.
|
||||||
|
|
||||||
|
In spl-token v2, the Native Mint supply will always report 0, regardless of
|
||||||
|
how much SOL is currently wrapped.
|
||||||
|
|
||||||
### Rent-exemption
|
### Rent-exemption
|
||||||
|
|
||||||
To ensure a reliable calculation of supply, a consistency valid Mint, and
|
To ensure a reliable calculation of supply, a consistency valid Mint, and
|
||||||
|
|
Loading…
Reference in New Issue