Extension of Crowdsale where tokens are held by a wallet, which approves an allowance to the crowdsale.
function _deliverTokens(address beneficiary, uint256 tokenAmount) internal
Overrides parent behavior by transferring tokens from wallet.
beneficiary- Token purchaser
tokenAmount- Amount of tokens purchased
function (address tokenWallet) public
Constructor, takes token wallet address.
tokenWallet- Address holding the tokens, which has approved allowance to the crowdsale
function remainingTokens() public view returns (uint256)
Checks the amount of tokens left in the allowance.
- Amount of tokens left in the allowance
function tokenWallet() public view returns (address)
- the address of the wallet that will hold the tokens.