keep-starknet-strange / satoru

Synthetics platform for Starknet, inspired by GMX v2 design.
https://book.satoru.run/
MIT License
110 stars 74 forks source link

feat: use library calls in handlers dependencies #649

Open zarboq opened 2 months ago

zarboq commented 2 months ago

Feature Request

Describe the Feature Request

Because of size issues on contracts we're deploying dependencies as contracts (IncreaseOrderUtils, DecreaseOrderUtils...). We're adding those contracts in storage and calling them instead of importing their functions as we were doing before.

But best way to do it would be using Library Calls