Closed gorgos closed 1 year ago
We currently pass in i32 for chain enum types like the order type or cancellation strategy. Wonder if we instead could use a Rust enum type or use some kind of alias to actually know what the i32 stands for.
i32
Order type was changed in https://github.com/InjectiveLabs/cw-injective/pull/105, now cancellation strategy is still missing and maybe a few others. Worth checking all the code.
We currently pass in
i32
for chain enum types like the order type or cancellation strategy. Wonder if we instead could use a Rust enum type or use some kind of alias to actually know what the i32 stands for.