tokamak-network / tokyo

tokyo monorepo
Apache License 2.0
4 stars 5 forks source link

priority between purchase_limit in <stages> and <valid_purchase> #19

Closed ggs134 closed 6 years ago

ggs134 commented 6 years ago

In terms of min/max purchase_limit,

which one is prioritized between in stages and valid_purchase?

4000D commented 6 years ago

It is based on the sequence of inheritance.

4000D commented 6 years ago

https://github.com/Onther-Tech/tokyo/blob/64af30deec8a1cbc632d3d26e7d724899a0d6de5/packages/tokyo-reusable-crowdsale/audit/full-features/contracts/AuditFullFeaturesCrowdsale.sol#L12

4000D commented 6 years ago

tokyo has similar inheriting model with openzeppelin-solidity