As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
/** | |
* Smart contract enabling funding and exchanging of DevCoin. | |
* The rate is defined by the owner of the contract, but it will never be less than ICO price. | |
* The price of token in ETH is 1/rate. Eg for 1 Eth the sender will get rate number of tokens. | |
*/ | |
contract Exchange { | |
using SafeMath for uint256; | |
address public owner; | |
uint public creationTime = now; |