Spaces:
Runtime error
Runtime error
Create JBO3Token.sol
Browse files- JBO3Token.sol +14 -0
JBO3Token.sol
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// SPDX-License-Identifier: MIT
|
| 2 |
+
pragma solidity ^0.8.0;
|
| 3 |
+
|
| 4 |
+
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
| 5 |
+
|
| 6 |
+
contract JBO3Token is ERC20 {
|
| 7 |
+
constructor(uint256 initialSupply) ERC20("JBO3Token", "JBO3") {
|
| 8 |
+
_mint(msg.sender, initialSupply);
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
function mint(address to, uint256 amount) public {
|
| 12 |
+
_mint(to, amount);
|
| 13 |
+
}
|
| 14 |
+
}
|