project-serum / serum-js

JavaScript client library for interacting with the Project Serum DEX.
82 stars 33 forks source link

No instruction index for token `approve` #11

Closed michaelhly closed 4 years ago

michaelhly commented 4 years ago

How does the instruction index for approve get encoded?

https://github.com/project-serum/serum-js/blob/70cef9534555645e64b663acb106f52f657b184c/src/token-instructions.js#L17