mschneider / solcpp

A fast Solana and Mango Markets C++ SDK
Other
40 stars 13 forks source link

mango_v3.hpp, todos re using scoped enum class #22

Open papadpickle opened 2 years ago

papadpickle commented 2 years ago

scoped enums are preferred for type safety. please change. most probably will affect any example using these, so have to correct them as well.

_Originally posted by @mschneider in https://github.com/mschneider/solcpp/pull/19#discussion_r817104583_