Commit Graph

192 Commits

Author SHA1 Message Date
Slavomir efad3e9472 Add doc comments to existing rpc methods 2021-06-30 14:12:35 +02:00
Slavomir f9a70e2b21 go mod tidy 2021-06-29 16:49:37 +02:00
Julien Cassis 12dfaa0b17 serum: export side 2021-02-18 09:42:56 -05:00
Julien Cassis 091447277e serum: added order helper function 2021-02-18 09:32:37 -05:00
Julien Cassis 3bc141743d Added GetOrder support for open orders 2021-02-18 09:03:36 -05:00
billettc f2f4f3d4b2 fix optional account in new order 2021-02-16 13:23:11 -05:00
Julien Cassis 176c084277 Bumped binary lib 2021-02-15 21:50:33 -05:00
Julien Cassis 7405c0c399 Fix order ID 2021-02-15 13:08:45 -05:00
Matthieu Vachon b9803f04ba Added more state types for Serum DEX v3 support 2021-02-09 11:55:06 -05:00
Matthieu Vachon 09bfb86b98 Added support for Serum DEX v3 instructions 2021-02-08 17:45:37 -05:00
Matthieu Vachon d15a17d86f Disable failing tests, remove playground code 2021-02-08 17:08:37 -05:00
Julien Cassis be9990a714 Add serum math helper, and cleaned up test 2021-01-26 18:43:42 -05:00
Julien Cassis a56b6892bb bumped binary, fix uint128 Little endian decoded 2021-01-25 18:45:46 -05:00
Julien Cassis 38880c3785 serum: added custom decoder for request queue and event queue 2021-01-22 13:41:28 -05:00
billettc 000b72b169 Refactor instruction that was not complying to AccountsSettable 2021-01-22 07:48:34 -05:00
Julien Cassis 2fb4cfbfd6 Merge branch 'new-decode-interface' 2021-01-21 18:50:36 -05:00
Julien Cassis 282082e39e Fix request queue read offset 2021-01-21 14:20:12 -05:00
Julien Cassis c74839cba4 added RequestFlag helpers 2021-01-21 12:22:38 -05:00
Julien Cassis 5f131587b6 Fixed and cleaned up tests! 2021-01-20 13:42:10 -05:00
Alexandre Bourget 890b7817e8 Rework the decode interface. 2021-01-20 13:21:09 -05:00
Julien Cassis 57bebed0da added clarification comment 2021-01-19 14:02:42 -05:00
billettc cf6b272245 wip `bin:"sliceoffsetof` on event queue events list 2021-01-19 14:02:02 -05:00
billettc 040197a631 Added string func to EventFlag 2021-01-19 08:53:17 -05:00
Julien Cassis cf5d0cb965 standard serum instruction side 2020-12-21 11:51:15 -05:00
Julien Cassis 2f318c9fcc Added event fill helper 2020-12-21 11:25:43 -05:00
Julien Cassis 75188a766b added sides 2020-12-21 10:20:32 -05:00
Julien Cassis fd950b41cc Added new instructions 2020-12-21 09:59:46 -05:00
Matthieu Vachon ffd9fc2e14 Added PublicKeyFromBytes and improved Equals (a fixed size slice on Go called an array can be compared with ==) 2020-12-18 14:58:49 -05:00
Julien Cassis 50f5fc54dd fix request type 2020-12-16 21:16:08 -05:00
Julien Cassis 3a46cefc5f Added serum request flag 2020-12-16 21:06:21 -05:00
Julien Cassis 4718a0c39b Added Account flag decoding support 2020-12-16 17:54:18 -05:00
Matthieu Vachon 2c248b4b00 Refactoring around Transaction, fixed all tests, skip WS tests for now 2020-12-16 15:34:07 -05:00
Matthieu Vachon 6866ad89e2 Refactored differ to use go-cmp instead of custom logic and make the API much nicer to use
Still a lot of cases that will not `.Match(...)` correctly but the first one for `EventQueue`
works.
2020-12-16 14:44:27 -05:00
Matthieu Vachon 7add73860d Added key for hand crafted market 2020-12-15 19:44:16 -05:00
Matthieu Vachon ad6597971a Initial version of a quick & and not so dirty structual changes for solana structure
Still really verbose for struct implementors, will soften that probably by using a pure
reflection based diffing algo to start with.
2020-12-15 18:07:11 -05:00
Matthieu Vachon 98efad3ab0 Added capabilities to read private key generated by `solana-keygen new` command line 2020-12-11 01:01:55 -05:00
billettc 4e3f16df71 GetSlot is no more returning a pointer 2020-12-09 09:21:23 -05:00
billettc e0f5cbae99 GetSlot not return a pointer 2020-12-09 09:19:04 -05:00
billettc c1302ccafd fix pub key json binding 2020-12-08 12:28:42 -05:00
billettc e66b80ff28 Merge branch 'master' of github.com:dfuse-io/solana-go 2020-12-07 13:36:36 -05:00
billettc b78592564e fix account subscription missing data 2020-12-07 13:36:27 -05:00
Francois Proulx fa1eabd6f5 Updated rice boxes 2020-11-27 18:51:28 -05:00
Julien Cassis 8609824a48 Added todo 2020-11-27 15:42:30 -05:00
Julien Cassis d64d73f579 Add program id for token registry mainnet 2020-11-27 15:23:23 -05:00
billettc 66e0575af9 Merge branch 'master' of github.com:dfuse-io/solana-go 2020-11-27 13:57:47 -05:00
billettc 1a6dcbd1b5 logo is not 64 byte long 2020-11-27 13:57:37 -05:00
Julien Cassis ea1c459f64 fix program entry 2020-11-27 11:31:02 -05:00
billettc a5195991ae added website to register token instruction and fix cmd 2020-11-27 10:28:01 -05:00
billettc c6668030bf added website resize symbol and fix meta data size 2020-11-27 10:23:45 -05:00
billettc 5069128e64 Fix missing signature on the new create account instruction 2020-11-27 07:44:56 -05:00