duality-labs / duality

Apache License 2.0
10 stars 5 forks source link

Use separate files for calculation methods and setters #307

Closed jcompagni10 closed 1 year ago

jcompagni10 commented 1 year ago

Initial comments was this: Also GetOrInitLimitOrderTranche() exists in limit_order_tranche.go - should be moved to core_helper, and leave only storage update calls in limit_order_tranche.go file.

Not directly relevant anymore, but there are other places we violate this paradigm