Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.18;
- contract MinInvest {
- function validPurchase() internal returns (bool) {
- bool moreThanMinimalInvestment = msg.value >= 0.1 ether; // change the value to whatever you need
- return super.validPurchase() && moreThanMinimalInvestment;
- }
- }
Add Comment
Please, Sign In to add comment