cryptonative-ch / aqua-smartcontracts

⛓️ Aqua Smart Contracts
GNU Lesser General Public License v3.0
4 stars 5 forks source link

tokensSold is tokenInAmount #82

Closed martinkrung closed 3 years ago

martinkrung commented 3 years ago

amount of tokenIn (DAI) is transferred to the contract and then added to tokensSold, but this must be tokenInAmount?

Screenshot at 2021-06-23 12-39-27.png

https://github.com/cryptonative-ch/mesa-smartcontracts/blob/26a59272a7014c41dbb88616b9fa0736ef1a94b8/contracts/sales/FixedPriceSale.sol#L188

denciu commented 3 years ago

Closed by #86