Jordan Sexton
|
0cd82ce775
|
fix default arg
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
537bfe3efe
|
add checked + unchecked decode functions
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
6e7b7d7faa
|
InitializeAccount doesn't have multisigners
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
1844efe298
|
fix comments
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
0db9c3dc00
|
fix decoded type
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
8ca7381402
|
fix argument order
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
931befabb0
|
add more decode functions, refactor
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
8cca13cecf
|
add initial instruction decoding functions
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
7f8d04cdeb
|
add instruction errors
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
e97f51031f
|
fix doc comments
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
3dc18b2f19
|
strictly type and expose instruction data layouts
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
20463a7a6b
|
change get*Info method names
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
d7d3f08a5e
|
AccountInfo::data should already be a Buffer
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
da6c573b0c
|
organize imports
|
2021-12-27 20:03:13 -06:00 |
Jordan Sexton
|
4179acbf8b
|
Rewrite spl-token-js in TypeScript (#2539)
* first draft
* restructuring
* fix imports
* move errors to constants
* fmt
* fix ata
* finish core implementation
* don't export internal utils
* rename internal util files
* token account is owned by token program
* docs
* docs
* port example
* add basic tests from current implementation
* enable es6 features in lint config
* don't build tests into lib dir
* doc tweaks
* add preinstall script
* add types, don't postinstall
* allow keypairs to create accounts, and default to using ATAs
* add explicit enum values
* remove unused dependency
* expose allowOwnerOffCurve option to getOrCreateAssociatedTokenAccount action
* make multisigners optional
* WIP, undo
* update buffer-layout and buffer-layout-utils from npm
* update dev dependencies
|
2021-12-14 16:47:57 -06:00 |