OpenZeppelin / openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development.
https://openzeppelin.com/contracts
MIT License
24.74k stars 11.75k forks source link

Crowdsale.sol updated to Solidity 0.8.1 #3922

Open Alexander-Herranz opened 1 year ago

Alexander-Herranz commented 1 year ago

🧐 Motivation Useful contract that should be updated to latest solidity versions.

📝 Details I implemented the needed changes to use this contract with latest solidity versions. https://github.com/Alexander-Herranz/OpenZeppelin-updated/blob/main/Crowdsale-v8.sol

frangio commented 1 year ago

We are not particularly interested in reintroducing the Crowdsale contracts. There are many issues with ICOs as implemented by that contract. For an analysis of it and alternative models please see Analyzing Token Sale Models by Vitalik.

Feel free to use this issue for discussion.