Commit Graph

18 Commits

Author SHA1 Message Date
Kostyan 24555d0448
Fix typo (#19) 2022-07-16 15:07:11 -04:00
Anoushk Kharangate 302b6ac59d
feat: Sysvar address check example added (#15) 2022-07-14 12:25:41 -04:00
nheingit 7dc2f407f1
duplicate-mutable-accoutns: Renamed secure to recommended, and added secure example (#16) 2022-07-12 17:06:31 -04:00
nheingit 4bd537cc73
cleaned up recommended, and fixed secure (#14) 2022-07-07 18:54:02 -04:00
Armani Ferrante 4d92e266f5 add comment 2022-07-03 10:41:38 -04:00
Arjun ea2952b5d7
7 datawithbump never used in example (#12) 2022-07-03 10:35:20 -04:00
Konstantinos Demartinos 2b7067421e
remove bump from find_program_address (#10) 2022-07-03 10:34:33 -04:00
johnzhu0907 d0698880fd
Update lib.rs (#6)
`destination` should be declared as `mut` in order to receiver lamports from `account`.
2022-07-03 10:32:35 -04:00
Han Yang 609e5ade22
force_defund should run if the discriminator is CLOSED_ACCOUNT_DISCRIMINATOR (#5) 2022-02-11 10:48:42 -05:00
Soteria 2902c7976a
fix a logic error in "secure" example (#2) 2022-01-25 14:01:20 -05:00
Armani Ferrante 2c42f122fc
Fixes for presentation 2022-01-13 17:16:04 -05:00
Armani Ferrante 3dd253f8b8
Update examples 2022-01-12 20:00:21 -05:00
Armani Ferrante 244d8ce5dc
Implement close examples 2022-01-12 18:02:09 -05:00
Armani Ferrante d92ebdd14c
Fix some builds issue 2022-01-12 16:24:02 -05:00
Armani Ferrante f3495712b3
README 2022-01-12 16:12:32 -05:00
Armani Ferrante 05a865c5e8
Split out cases into different crates 2022-01-12 16:08:49 -05:00
Armani Ferrante 049997684f
Add more examples 2022-01-12 12:46:29 -05:00
Armani Ferrante 5069145267
Init 2022-01-10 18:19:48 -05:00