-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSLPRcoin.sol
27 lines (20 loc) · 880 Bytes
/
SLPRcoin.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pragma solidity ^0.5.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20Mintable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol";
import "@openzeppelin/contracts/access/roles/MinterRole.sol";
contract SLPRcoin is MinterRole, ERC20Detailed, ERC20Mintable, ERC20Pausable {
// Create a constructor that gets run whenever the contract is migrated. This constructor takes arguments
// that customize the token. These arguments get passed into the DetailedERC20contract.
constructor(
string memory _name,
string memory _symbol,
uint initial_supply
)
ERC20Detailed(_name, _symbol, 18)
public
{
}
}