-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKaseiCoin.sol
23 lines (21 loc) · 938 Bytes
/
KaseiCoin.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pragma solidity ^0.5.5;
// Import the following contracts from the OpenZeppelin library:
// * `ERC20`
// * `ERC20Detailed`
// * `ERC20Mintable`
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/token/ERC20/ERC20Detailed.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/token/ERC20/ERC20Mintable.sol";
// Create a constructor for the KaseiCoin contract and have the contract inherit the libraries that you imported from OpenZeppelin.
contract KaseiCoin is ERC20, ERC20Detailed, ERC20Mintable {
constructor(
string memory name,
string memory symbol,
uint initial_supply
)
ERC20Detailed(name, symbol, 18)
public
{
// mint(msg.sender, initial_supply);
}
}