This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
did:3:kjzl6cwe1jw14av3hqmfc3qtxcqup2axixtqqx7ywhulg7cn0cb7fmh62t1q9v8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract Ico2 is ERC20, Ownable { | |
uint256 public trusteeCount; | |
uint256 public goal = 1111 ether; | |
uint256 public priceToken = 0.01 ether; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let | |
"CandyPrice" | |
(ConstantParam "CandyPrice") | |
(When | |
[Case | |
(Deposit | |
(Role "Machine") | |
(Role "Machine") | |
(Token "" "CANDY") | |
(Constant 10000000) |