Commit Graph

102 Commits

Author SHA1 Message Date
gagliardetto ffe95d7199 token program: Fix token account parsing 2022-02-15 14:01:16 +01:00
gagliardetto d6faff4a4d Upgrade `github.com/gagliardetto/binary` to `v0.6.0` 2022-02-01 14:29:42 +01:00
gagliardetto 35288edc3c Upgrade github.com/gagliardetto/binary to `v0.5.2` 2022-01-05 20:54:02 +01:00
gagliardetto 04b5b33f18 Add more tests 2022-01-05 17:56:17 +01:00
gagliardetto 73311b0b87 Upgrade github.com/gagliardetto/binary to v0.5.1 2022-01-05 17:56:05 +01:00
gagliardetto aa18caeb47 Move bpf-loader to programs folder 2022-01-05 15:36:49 +01:00
gagliardetto be618d9fcf token program: fix Mint decoding/encoding (optional = uint32 0 or 1) 2021-12-30 22:26:38 +01:00
gagliardetto 843d863a52 Fix string len encoding 2021-12-24 14:55:23 +01:00
gagliardetto e5f3c23fae system program: add NonceAccount 2021-11-22 17:21:51 +01:00
Slavomir ac739d89fe Upgrade to v1.0.1 2021-10-10 20:52:56 +02:00
Slavomir 2acfcf2684 Add/update license/copyright headers inside files. 2021-10-07 19:54:11 +02:00
Slavomir 8b5fc25380 Add changes notice 2021-10-07 19:28:16 +02:00
Slavomir d18ccab37f Associated token account: update comments 2021-09-10 17:17:15 +02:00
Slavomir f1dd807654 Add associated token account program 2021-09-10 17:13:46 +02:00
Slavomir d20a34fd6d Tree formatter: align params and accounts 2021-09-06 14:00:09 +02:00
Slavomir 10ca07c7a5 system: improve tree visualization formatting 2021-09-06 13:22:17 +02:00
Slavomir 143da1bc65 token: instruction ID type is uint8 2021-09-05 00:25:15 +02:00
Slavomir ab7ee9202a Merge branch 'token' 2021-09-04 21:11:43 +02:00
Slavomir 6f8c2e3c1b Simplify program ID names 2021-09-04 19:01:32 +02:00
Slavomir 34ec1cb535 token: add multisign signers handling 2021-09-04 17:41:00 +02:00
Slavomir ee20853c74 Upgrade token prog code 2021-09-04 16:51:19 +02:00
Slavomir e3feb5237c token: refactor InitializeMultisig, Transfer instructions 2021-09-04 16:13:57 +02:00
Slavomir 28104b6342 Use github.com/gagliardetto/binary 2021-09-04 14:03:55 +02:00
Slavomir 172364e353 Use github.com/gagliardetto/gofuzz@v1.2.2 2021-09-04 13:55:15 +02:00
Slavomir d7fb81af08 Handle signers 2021-09-04 13:51:24 +02:00
Slavomir c860699d32 token: regenerate with new comments 2021-09-04 01:55:23 +02:00
Slavomir 54f848ef5a Stub token program 2021-09-04 00:43:43 +02:00
Slavomir bf6835c6bf system: Fix CreateAccountWithSeed 2021-09-01 17:12:31 +02:00
Slavomir a2871bc5ce Fix system program client; add SOL transfer example 2021-09-01 12:55:18 +02:00
Slavomir 3853032c9c Upgrade bin package; use generated system program client. 2021-08-31 16:27:21 +02:00
Slavomir f4fb6389da Use int64 for SeedSize param in the CreateAccountWithSeed instruction 2021-08-25 22:39:08 +02:00
Slavomir 1ff7831043 Upgrade binary package 2021-08-21 17:53:13 +02:00
Slavomir fa2a3ae003 Move sysvars to solana package 2021-08-11 18:59:15 +02:00
Slavomir 90b6f910bc Clean up formatting 2021-08-11 18:21:35 +02:00
Slavomir 9a0d5212b1 Cleanup 2021-08-09 16:18:05 +02:00
Slavomir fca589f28f Add EncodeToTree 2021-08-09 15:44:34 +02:00
Slavomir bbd8092267 Fix typo 2021-08-08 17:51:50 +02:00
Slavomir 26a30a354b System program: refactor AdvanceNonceAccount 2021-08-03 00:54:36 +02:00
Slavomir dceb00918c system program: add getters 2021-08-02 16:56:12 +02:00
Slavomir fa21149f16 Start adding builders 2021-07-30 19:23:34 +02:00
Slavomir 1c2f65df8e Add utility methods to AccountMeta 2021-07-29 20:18:19 +02:00
Slavomir 0cfb1b0760 Fix typos 2021-07-29 19:36:32 +02:00
Slavomir 493f9907e5 Complete system program 2021-07-29 17:58:03 +02:00
Slavomir 2778e313ab Refactor system program 2021-07-29 17:19:13 +02:00
Slavomir 5803edc014 Add system.Transfer instruction func 2021-07-27 21:10:13 +02:00
Slavomir 77eda9cd62 Run tests 100 times 2021-07-25 19:52:49 +02:00
Slavomir d2b3d86f51 Use github.com/json-iterator/go instead of encoding/json 2021-07-21 18:05:20 +02:00
Slavomir f0f399ab57 Refactor HTTP clients 2021-07-20 21:29:06 +02:00
Slavomir 7fbcc82f87 RPC: Refactor data methods 2021-07-12 16:00:27 +02:00
Slavomir 4add6ee371 Refactor Account data decoding/encoding 2021-07-11 23:49:42 +02:00