https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/crowdsale/Crowdsale.sol
I am trying to implement a presale contract, I saw the above link. I am confused by this line -
event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);
I cannot find TokenPurchase coded anywhere except here -
TokenPurchase(msg.sender, beneficiary, weiAmount, tokens);
I cannot find where TokenPurchase is implemented. Has anyone any ideas?