-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKaseiCoin.sol
23 lines (20 loc) · 889 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.0;
// Importing 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";
// Creating a constructor for the KaseiCoin contract. Inheriting the libraries that were imported from OpenZeppelin.
contract KaseiCoin is ERC20, ERC20Detailed, ERC20Mintable{
constructor(
string memory name,
string memory symbol,
uint initial_supply
)
ERC20Detailed(name, symbol, 18)
public
{
}
}