I'm trying to create a crowdsale contract with open-zeppelin. I'm using SampleCrowdsale.sol. I believe the following line of code creates a token contract and mints the token upon receiving ether.
function createTokenContract() internal returns (MintableToken) { return new SampleCrowdsaleToken(); }
However, I rather want the crowdsale contract to mint a token in another mintable token contract. Is there any way the crowdsale contract can interact with an external token contract? Any suggestion or code snippet would be really helpful.