blockful-io / swaplace-contracts

Swaplace is an open-source, ownerless and feeless token swap protocol
https://app.swaplace.xyz/
MIT License
33 stars 33 forks source link

feat: add `src` route for all base smart contracts #158

Closed luislucena16 closed 8 months ago

luislucena16 commented 8 months ago

@0xneves please assign this to me!

0xneves commented 8 months ago

Yoo @luislucena16

It's not much of a practice to create src folder following hardhat standards, as some features already have hardcoded paths to test, scripts and contracts folders.

I'll close this issue as it doesn't fit the current schedule.

luislucena16 commented 8 months ago

hey @0xneves I understand what you are saying, I think I didn't explain myself very well! What I mean is to add src inside contracts, where there are different contracts but inside src are the main ones, for example:

All this inside contracts:

- contracts:
   src: Swaplace.sol, SwaplaceFactory.sol
   mock: SwaplaceMock.sol 
   examples: SwaplaceExamples.sol
   poc: SwaplacePoC.sol

for me it's more modular and clearer!