Commit Graph

50 Commits

Author SHA1 Message Date
Kirill Fomichev 1aa019cb0f
Apply clippy rules (#431) 2021-06-27 17:09:46 -07:00
Armani Ferrante f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
Kirill Fomichev 609c836d63
lang: Optimize associated constraint check (#425) 2021-06-27 10:03:26 -07:00
Kirill Fomichev e14fec0c46
lang: Add deprecation warning for constraint (#429) 2021-06-27 09:50:54 -07:00
Armani Ferrante b3b33f63f3
lang: Remove mut from dispatch arg (#387) 2021-06-15 17:19:13 -07:00
Armani Ferrante a6ebaabac4
lang: Initialize program derived addresses with instruction data (#386) 2021-06-15 17:15:51 -07:00
Ian Macalinao 4ce26d5531
lang: Render event IDL fields as mixed case (#379) 2021-06-15 10:52:13 -07:00
Armani Ferrante df51a27a48
lang, ts: Account close constraint (#371) 2021-06-09 15:40:43 -07:00
Armani Ferrante ba99c9c920
lang: Framework defined error codes (#354) 2021-06-09 13:02:50 -07:00
Armani Ferrante c23a5dfa29
lang: Implement ToAccountMetas for CpiContext (#351) 2021-05-31 16:41:21 -07:00
Armani Ferrante 571a96515e
lang: Rename some idl types (#344) 2021-05-30 23:21:09 -07:00
Armani Ferrante 2f5a9fcc7d
lang: Change context error span and add constraint docs (#342) 2021-05-30 13:31:28 -07:00
Armani Ferrante 6b5ed789fc
lang, spl, cli: Refactor to preserve span information (#341) 2021-05-30 12:59:33 -07:00
Armani Ferrante 21fc2d15f4
lang, ts: Consistent domain delimiters (#321) 2021-05-25 11:26:12 -07:00
Armani Ferrante 68c601ab22
lang: Add associated init constraint (#318) 2021-05-24 22:31:48 -07:00
Han Yang 74424fed7b
lang: Fix Recentblockhashes spelling (#302) 2021-05-21 22:22:54 -07:00
Stanisław Drozd d08ec0326e
lang: Add anchor-debug feature flag for logging (#253) 2021-05-07 11:47:21 -07:00
Armani Ferrante d796cee091
client, lang: Add client support for state instructions (#248) 2021-05-06 14:48:22 -07:00
Lucio M. Tato 71873a77a3
lang: Add debug-log feature flag (#240) 2021-05-04 22:24:08 -07:00
Armani Ferrante a1464d14d5
examples: Swap on the serum orderbook (#224) 2021-04-28 14:08:53 -07:00
Armani Ferrante a8aa84a3d1
lang: Zero copy state structs (#206) 2021-04-18 09:54:18 -07:00
Armani Ferrante b6afb30474
lang: Zero copy deserialization (#202) 2021-04-17 12:07:48 -07:00
Armani Ferrante 512604b85e
lang: Allow multiple with targets for associated accounts (#197) 2021-04-14 17:29:52 -07:00
Armani Ferrante a1aa705c64
lang: Log errors on exit (#194) 2021-04-13 18:52:14 -07:00
Armani Ferrante b498b99f96
lang: Associated program account attributes (#186) 2021-04-13 11:47:54 -07:00
Armani Ferrante 3d661cdc66
lang: Rename StateCpiContext to CpiStateContext 2021-04-12 13:37:58 +08:00
Armani Ferrante a94e24aea4
lang: Add owner constraint (#178) 2021-04-12 12:54:35 +08:00
Armani Ferrante 290e342ade
lang: Parse unused accounts into the IDL (#177) 2021-04-11 20:05:19 -07:00
Armani Ferrante c7c322a306
State struct cpi code generation (#43) 2021-04-11 17:23:43 -07:00
Armani Ferrante 60b1c87224
lang: Simplify codegen (#171) 2021-04-11 13:04:43 -07:00
Armani Ferrante 81e03c5e37
lang: Cleanup private apis and documentation (#169) 2021-04-10 17:47:14 -07:00
Armani Ferrante fe2ada85b7
lang/syn: Log errors on exit (#158) 2021-04-08 11:49:54 -07:00
Armani Ferrante d6d41eee59
lang: Add executable account constraint (#140) 2021-04-03 15:13:12 -07:00
Armani Ferrante 3cbc227491
Events (#89) 2021-03-24 20:19:29 -07:00
Armani Ferrante b7cafcda0e
lang: Add state size override (#121) 2021-03-24 10:35:51 -07:00
Armani Ferrante 4c5771d008
lang, cli: Idl write buffers (#107) 2021-03-12 12:43:26 -08:00
Armani Ferrante a7b092a611
docker, cli, lang: Deterministic and verifiable builds (#100) 2021-03-09 05:40:09 -08:00
Armani Ferrante 53f0e4673c
lang/syn: Remove features not on stable rust 2021-02-16 15:03:47 +08:00
Armani Ferrante 08f5a0e243
Clippy fixes 2021-02-16 13:57:09 +08:00
Armani Ferrante 3a282b2fce
lang/syn: Complete change from rpc -> ix 2021-02-11 19:15:14 +08:00
Armani Ferrante 16c998ab43
lang/syn: Simplify accounts parsing 2021-02-11 15:45:45 +08:00
Armani Ferrante 4980d8ab3f
lang/syn: Rename rpc -> ix 2021-02-11 14:59:29 +08:00
Armani Ferrante 5aeb288b51
lang/syn: Simplify program parsing 2021-02-11 14:24:18 +08:00
Armani Ferrante c67dabd1f9
Add support for u128 and i128 (#83) 2021-02-11 13:24:29 +08:00
Armani Ferrante 2499195523
examples/lockup: Specify start date of vesting schedule 2021-02-10 21:39:57 +08:00
Armani Ferrante a780002683
lang/syn: Allow state structs with no ctor or impl block 2021-02-10 21:28:59 +08:00
Armani Ferrante 1f31770c83
Program interfaces 2021-02-08 12:54:52 +08:00
Armani Ferrante 48b27e6943
Migrate to sighash based method dispatch (#64) 2021-02-06 16:28:33 +08:00
Armani Ferrante 170e6f18d4
lang: Hash at compile time (#63) 2021-02-05 19:17:40 +08:00
Armani Ferrante f0297012c6
Create lang dir 2021-01-30 05:23:23 -08:00