Skip to content

Commit fa660bc

Browse files
committed
Allow the owner to update the wallet address.
1 parent f55b1fb commit fa660bc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

contracts/crowdsale.sol

+11
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ contract ExposureCrowdSale is Crowdsale, Ownable {
2121
token.transfer(owner, _amount);
2222
}
2323

24+
/**
25+
* @dev Allows the owner to change the funds wallet address
26+
* @param _wallet The new funds wallet address
27+
*/
28+
function updateWallet(address _wallet)
29+
onlyOwner
30+
external
31+
{
32+
wallet = _wallet;
33+
}
34+
2435
/**
2536
* @dev Allows the owner to change the exchange rate
2637
* @param _rate The new rate of the crowdsale

0 commit comments

Comments
 (0)