Commit Graph

3 Commits

Author SHA1 Message Date
Jon Cinque f97a3dc7cf
clippy: Deny integer arithmetic, add allows where needed (#3606) 2022-09-15 13:16:53 +02:00
Dmitri Makarov 791cc8a776
Use target_os instead of target_arch for Solana conditional compilation (#3148) 2022-05-17 12:25:24 -07:00
Jarry Xiao f7286134bb
Binary Option (#2056)
* Initial version of betting pool primitive

* Added instructions for settle and collect

* Added additional test case to confirm my intuition

* Update README.md

* update version in Cargo.toml

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* mc

* Scrubbed all mentions of betting pools

* Update binary-option/program/src/processor.rs

Co-authored-by: Jordan Sexton <jordan@jordansexton.com>

* Addressed some PR Comments

* Update binary-option/program/src/instruction.rs

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>

* cleaned up files

* change program_id.md

* Update binary-option/program/Cargo.toml

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>

* removed lamport transfer in collect

* Applied clippy and fmt

* fix some formatting

* Fixed clippy format

Co-authored-by: Jordan Sexton <jordan@jordansexton.com>
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-08-02 16:18:25 -05:00