This file contains hidden or 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 | |
| // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) | |
| pragma solidity ^0.8.20; | |
| import {Context} from "../utils/Context.sol"; | |
| /** | |
| * @dev Contract module which provides a basic access control mechanism, where | |
| * there is an account (an owner) that can be granted exclusive access to |
This file contains hidden or 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
| // File: @openzeppelin/contracts/token/ERC20/IERC20.sol | |
| // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) | |
| pragma solidity ^0.8.20; | |
| /** | |
| * @dev Interface of the ERC20 standard as defined in the EIP. |
This file contains hidden or 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.0; | |
| import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| /** | |
| * @title CargoCoin | |
| * @dev Implementation of the CargoCoin ERC20 Token with an initial supply and minting capabilities. | |
| */ |