Skip to content
ONLINE
--:--:-- UTC
Protocols
SMART CONTRACTETHEREUMCOMPLETED

Hydromotion ICO

Presale-gated ERC-20 with React front end

This is a standard ERC-20 contract following the OpenZeppelin standard, with the additional change that the transfer and transferFrom functions are overridden so they can only be called by the PRESALE contract. The presale contract's address is set through a custom function into a new variable, and that variable is used to check whether the transfer functions are being called by that contract address. Interaction is through a React-based front end.