ameliatastic / seahorse-lang

Write Anchor-compatible Solana programs in Python
Apache License 2.0
313 stars 43 forks source link

Update token program API #76

Closed orvioconge closed 1 year ago

orvioconge commented 1 year ago

Noticed a few gaps in the token program's API, seemed like simple fixes that I might want in the future so I just did them. Just adds a few getter functions:

All were pretty simple, but I did of course check to make sure they compiled to the right thing.

Also there was an unrelated typo that I fixed, looks like a copy-paste error. Was just something small in the .py documentation file for TokenMint, no actual effect to anyone's code.

ameliatastic commented 1 year ago

Looks good!